@govtechsg/sgds-web-component 3.26.0 → 3.26.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base/option-element.d.ts +1 -0
- package/base/option-element.js +8 -0
- package/base/option-element.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 +1 -0
- package/components/Checkbox/sgds-checkbox.js +6 -1
- 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/DataTable/data-table.js +6 -0
- package/components/DataTable/data-table.js.map +1 -0
- package/components/DataTable/index.d.ts +12 -0
- package/components/DataTable/index.js +11 -0
- package/components/DataTable/index.js.map +1 -0
- package/components/DataTable/index.umd.min.js +2634 -0
- package/components/DataTable/index.umd.min.js.map +1 -0
- package/components/DataTable/sgds-data-table-cell.d.ts +15 -0
- package/components/DataTable/sgds-data-table-cell.js +32 -0
- package/components/DataTable/sgds-data-table-cell.js.map +1 -0
- package/components/DataTable/sgds-data-table-head.d.ts +28 -0
- package/components/DataTable/sgds-data-table-head.js +69 -0
- package/components/DataTable/sgds-data-table-head.js.map +1 -0
- package/components/DataTable/sgds-data-table-row.d.ts +76 -0
- package/components/DataTable/sgds-data-table-row.js +333 -0
- package/components/DataTable/sgds-data-table-row.js.map +1 -0
- package/components/DataTable/sgds-data-table.d.ts +82 -0
- package/components/DataTable/sgds-data-table.js +405 -0
- package/components/DataTable/sgds-data-table.js.map +1 -0
- package/components/Datepicker/index.umd.min.js +86 -86
- package/components/Datepicker/index.umd.min.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/Modal/index.umd.min.js +1 -1
- package/components/Modal/index.umd.min.js.map +1 -1
- package/components/Modal/sgds-modal.js +1 -1
- package/components/Modal/sgds-modal.js.map +1 -1
- package/components/QuantityToggle/index.umd.min.js +23 -23
- package/components/QuantityToggle/index.umd.min.js.map +1 -1
- package/components/Select/index.umd.min.js +29 -29
- package/components/Select/index.umd.min.js.map +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/index.d.ts +4 -0
- package/components/index.js +4 -0
- package/components/index.js.map +1 -1
- package/components/index.umd.min.js +574 -480
- package/components/index.umd.min.js.map +1 -1
- package/css/fouc.css +4 -0
- package/custom-elements.json +1556 -183
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/index.umd.min.js +404 -310
- package/index.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/react/base/option-element.cjs.js +8 -0
- package/react/base/option-element.cjs.js.map +1 -1
- package/react/base/option-element.js +8 -0
- package/react/base/option-element.js.map +1 -1
- package/react/components/Checkbox/sgds-checkbox.cjs.js +6 -1
- package/react/components/Checkbox/sgds-checkbox.cjs.js.map +1 -1
- package/react/components/Checkbox/sgds-checkbox.js +6 -1
- package/react/components/Checkbox/sgds-checkbox.js.map +1 -1
- package/react/components/DataTable/data-table.cjs.js +11 -0
- package/react/components/DataTable/data-table.cjs.js.map +1 -0
- package/react/components/DataTable/data-table.js +7 -0
- package/react/components/DataTable/data-table.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-cell.cjs.js +38 -0
- package/react/components/DataTable/sgds-data-table-cell.cjs.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-cell.js +33 -0
- package/react/components/DataTable/sgds-data-table-cell.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-head.cjs.js +75 -0
- package/react/components/DataTable/sgds-data-table-head.cjs.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-head.js +70 -0
- package/react/components/DataTable/sgds-data-table-head.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-row.cjs.js +339 -0
- package/react/components/DataTable/sgds-data-table-row.cjs.js.map +1 -0
- package/react/components/DataTable/sgds-data-table-row.js +334 -0
- package/react/components/DataTable/sgds-data-table-row.js.map +1 -0
- package/react/components/DataTable/sgds-data-table.cjs.js +411 -0
- package/react/components/DataTable/sgds-data-table.cjs.js.map +1 -0
- package/react/components/DataTable/sgds-data-table.js +406 -0
- package/react/components/DataTable/sgds-data-table.js.map +1 -0
- package/react/components/Input/input.cjs.js +1 -1
- package/react/components/Input/input.js +1 -1
- package/react/components/Modal/sgds-modal.cjs.js +1 -1
- package/react/components/Modal/sgds-modal.cjs.js.map +1 -1
- package/react/components/Modal/sgds-modal.js +1 -1
- package/react/components/Modal/sgds-modal.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/data-table/index.cjs.js +44 -0
- package/react/data-table/index.cjs.js.map +1 -0
- package/react/data-table/index.d.ts +4 -0
- package/react/data-table/index.js +20 -0
- package/react/data-table/index.js.map +1 -0
- package/react/data-table-cell/index.cjs.js +40 -0
- package/react/data-table-cell/index.cjs.js.map +1 -0
- package/react/data-table-cell/index.d.ts +4 -0
- package/react/data-table-cell/index.js +16 -0
- package/react/data-table-cell/index.js.map +1 -0
- package/react/data-table-head/index.cjs.js +40 -0
- package/react/data-table-head/index.cjs.js.map +1 -0
- package/react/data-table-head/index.d.ts +4 -0
- package/react/data-table-head/index.js +16 -0
- package/react/data-table-head/index.js.map +1 -0
- package/react/data-table-row/index.cjs.js +45 -0
- package/react/data-table-row/index.cjs.js.map +1 -0
- package/react/data-table-row/index.d.ts +4 -0
- package/react/data-table-row/index.js +21 -0
- package/react/data-table-row/index.js.map +1 -0
- package/react/index.cjs.js +126 -118
- package/react/index.cjs.js.map +1 -1
- package/react/index.d.ts +4 -0
- package/react/index.js +4 -0
- 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/types/react.d.ts +93 -0
package/index.umd.min.js
CHANGED
|
@@ -10,7 +10,7 @@ const t=globalThis,s=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow
|
|
|
10
10
|
* Copyright 2017 Google LLC
|
|
11
11
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
12
12
|
*/
|
|
13
|
-
const $=globalThis,S=e=>{$.emitLitDebugLogEvents&&$.dispatchEvent(new CustomEvent("lit-debug",{detail:e}))};let M,Z=0;$.litIssuedWarnings??=new Set,M=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",$.litIssuedWarnings.has(t)||$.litIssuedWarnings.has(e)||(console.warn(t),$.litIssuedWarnings.add(t))},queueMicrotask(()=>{M("dev-mode","Lit is in dev mode. Not recommended for production!")});const z=$.ShadyDOM?.inUse&&!0===$.ShadyDOM?.noPatch?$.ShadyDOM.wrap:e=>e,V=$.trustedTypes,A=V?V.createPolicy("lit-html",{createHTML:e=>e}):void 0,L=e=>e,I=(e,t,s)=>L,P=e=>{if(ne!==I)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");ne=e},D=()=>{ne=I},E=(e,t,s)=>ne(e,t,s),H="$lit$",B=`lit$${Math.random().toFixed(9).slice(2)}$`,O="?"+B,T=`<${O}>`,F=document,j=()=>F.createComment(""),N=e=>null===e||"object"!=typeof e&&"function"!=typeof e,R=Array.isArray,U=e=>R(e)||"function"==typeof e?.[Symbol.iterator],q="[ \t\n\f\r]",Y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,K=/>/g,G=new RegExp(`>|${q}(?:([^\\s"'>=/]+)(${q}*=${q}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),J=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,ee=(te=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$)&&M("","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$:te,strings:e,values:t}));var te;const se=Symbol.for("lit-noChange"),ie=Symbol.for("lit-nothing"),ae=new WeakMap,oe=F.createTreeWalker(F,129);let ne=I;function re(e,t){if(!R(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!==A?A.createHTML(t):t}const le=(e,t)=>{const s=e.length-1,i=[];let a,o=2===t?"<svg>":3===t?"<math>":"",n=Y;for(let t=0;t<s;t++){const s=e[t];let r,l,d=-1,c=0;for(;c<s.length&&(n.lastIndex=c,l=n.exec(s),null!==l);)if(c=n.lastIndex,n===Y){if("!--"===l[1])n=W;else if(void 0!==l[1])n=K;else if(void 0!==l[2])Q.test(l[2])&&(a=new RegExp(`</${l[2]}`,"g")),n=G;else if(void 0!==l[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===G?">"===l[0]?(n=a??Y,d=-1):void 0===l[1]?d=-2:(d=n.lastIndex-l[2].length,r=l[1],n=void 0===l[3]?G:'"'===l[3]?X:J):n===X||n===J?n=G:n===W||n===K?n=Y:(n=G,a=void 0);console.assert(-1===d||n===G||n===J||n===X,"unexpected parse state B");const h=n===G&&e[t+1].startsWith("/>")?" ":"";o+=n===Y?s+T:d>=0?(i.push(r),s.slice(0,d)+H+s.slice(d)+B+h):s+B+(-2===d?t:h)}return[re(e,o+(e[s]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),i]};class de{constructor({strings:e,_$litType$:t},s){let i;this.parts=[];let a=0,o=0;const n=e.length-1,r=this.parts,[l,d]=le(e,t);if(this.el=de.createElement(l,s),oe.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(i=oe.nextNode())&&r.length<n;){if(1===i.nodeType){{const e=i.localName;if(/^(?:textarea|template)$/i.test(e)&&i.innerHTML.includes(B)){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);M("",t)}}if(i.hasAttributes())for(const e of i.getAttributeNames())if(e.endsWith(H)){const t=d[o++],s=i.getAttribute(e).split(B),n=/([.?@])?(.*)/.exec(t);r.push({type:1,index:a,name:n[2],strings:s,ctor:"."===n[1]?ge:"?"===n[1]?ve:"@"===n[1]?me:ue}),i.removeAttribute(e)}else e.startsWith(B)&&(r.push({type:6,index:a}),i.removeAttribute(e));if(Q.test(i.tagName)){const e=i.textContent.split(B),t=e.length-1;if(t>0){i.textContent=V?V.emptyScript:"";for(let s=0;s<t;s++)i.append(e[s],j()),oe.nextNode(),r.push({type:2,index:++a});i.append(e[t],j())}}}else if(8===i.nodeType){if(i.data===O)r.push({type:2,index:a});else{let e=-1;for(;-1!==(e=i.data.indexOf(B,e+1));)r.push({type:7,index:a}),e+=B.length-1}}a++}if(d.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("${...}")+"`");S&&S({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:e})}static createElement(e,t){const s=F.createElement("template");return s.innerHTML=e,s}}function ce(e,t,s=e,i){if(t===se)return t;let a=void 0!==i?s.__directives?.[i]:s.__directive;const o=N(t)?void 0:t._$litDirective$;return a?.constructor!==o&&(a?._$notifyDirectiveConnectionChanged?.(!1),void 0===o?a=void 0:(a=new o(e),a._$initialize(e,s,i)),void 0!==i?(s.__directives??=[])[i]=a:s.__directive=a),void 0!==a&&(t=ce(e,a._$resolve(e,t.values),a,i)),t}class he{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:s}=this._$template,i=(e?.creationScope??F).importNode(t,!0);oe.currentNode=i;let a=oe.nextNode(),o=0,n=0,r=s[0];for(;void 0!==r;){if(o===r.index){let t;2===r.type?t=new pe(a,a.nextSibling,this,e):1===r.type?t=new r.ctor(a,r.name,r.strings,this,e):6===r.type&&(t=new fe(a,this,e)),this._$parts.push(t),r=s[++n]}o!==r?.index&&(a=oe.nextNode(),o++)}return oe.currentNode=F,i}_update(e){let t=0;for(const s of this._$parts)void 0!==s&&(S&&S({kind:"set part",part:s,value:e[t],valueIndex:t,values:e,templateInstance:this}),void 0!==s.strings?(s._$setValue(e,s,t),t+=s.strings.length-2):s._$setValue(e[t])),t++}}class pe{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(e,t,s,i){this.type=2,this._$committedValue=ie,this._$disconnectableChildren=void 0,this._$startNode=e,this._$endNode=t,this._$parent=s,this.options=i,this.__isConnected=i?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let e=z(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=ce(this,e,t),N(e))e===ie||null==e||""===e?(this._$committedValue!==ie&&(S&&S({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=ie):e!==this._$committedValue&&e!==se&&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 U(e)?this._commitIterable(e):this._commitText(e)}_insert(e){return z(z(this._$startNode).parentNode).insertBefore(e,this._$endNode)}_commitNode(e){if(this._$committedValue!==e){if(this._$clear(),ne!==I){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)}}S&&S({kind:"commit node",start:this._$startNode,parent:this._$parent,value:e,options:this.options}),this._$committedValue=this._insert(e)}}_commitText(e){if(this._$committedValue!==ie&&N(this._$committedValue)){const t=z(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=E(t,"data","property")),e=this._textSanitizer(e),S&&S({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}else{const t=F.createTextNode("");this._commitNode(t),void 0===this._textSanitizer&&(this._textSanitizer=E(t,"data","property")),e=this._textSanitizer(e),S&&S({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}this._$committedValue=e}_commitTemplateResult(e){const{values:t,_$litType$:s}=e,i="number"==typeof s?this._$getTemplate(e):(void 0===s.el&&(s.el=de.createElement(re(s.h,s.h[0]),this.options)),s);if(this._$committedValue?._$template===i)S&&S({kind:"template updating",template:i,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:t}),this._$committedValue._update(t);else{const e=new he(i,this),s=e._clone(this.options);S&&S({kind:"template instantiated",template:i,instance:e,parts:e._$parts,options:this.options,fragment:s,values:t}),e._update(t),S&&S({kind:"template instantiated and updated",template:i,instance:e,parts:e._$parts,options:this.options,fragment:s,values:t}),this._commitNode(s),this._$committedValue=e}}_$getTemplate(e){let t=ae.get(e.strings);return void 0===t&&ae.set(e.strings,t=new de(e)),t}_commitIterable(e){R(this._$committedValue)||(this._$committedValue=[],this._$clear());const t=this._$committedValue;let s,i=0;for(const a of e)i===t.length?t.push(s=new pe(this._insert(j()),this._insert(j()),this,this.options)):s=t[i],s._$setValue(a),i++;i<t.length&&(this._$clear(s&&z(s._$endNode).nextSibling,i),t.length=i)}_$clear(e=z(this._$startNode).nextSibling,t){for(this._$notifyConnectionChanged?.(!1,!0,t);e!==this._$endNode;){const t=z(e).nextSibling;z(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 ue{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(e,t,s,i,a){this.type=1,this._$committedValue=ie,this._$disconnectableChildren=void 0,this.element=e,this.name=t,this._$parent=i,this.options=a,s.length>2||""!==s[0]||""!==s[1]?(this._$committedValue=new Array(s.length-1).fill(new String),this.strings=s):this._$committedValue=ie,this._sanitizer=void 0}_$setValue(e,t=this,s,i){const a=this.strings;let o=!1;if(void 0===a)e=ce(this,e,t,0),o=!N(e)||e!==this._$committedValue&&e!==se,o&&(this._$committedValue=e);else{const i=e;let n,r;for(e=a[0],n=0;n<a.length-1;n++)r=ce(this,i[s+n],t,n),r===se&&(r=this._$committedValue[n]),o||=!N(r)||r!==this._$committedValue[n],r===ie?e=ie:e!==ie&&(e+=(r??"")+a[n+1]),this._$committedValue[n]=r}o&&!i&&this._commitValue(e)}_commitValue(e){e===ie?z(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=ne(this.element,this.name,"attribute")),e=this._sanitizer(e??""),S&&S({kind:"commit attribute",element:this.element,name:this.name,value:e,options:this.options}),z(this.element).setAttribute(this.name,e??""))}}class ge extends ue{constructor(){super(...arguments),this.type=3}_commitValue(e){void 0===this._sanitizer&&(this._sanitizer=ne(this.element,this.name,"property")),e=this._sanitizer(e),S&&S({kind:"commit property",element:this.element,name:this.name,value:e,options:this.options}),this.element[this.name]=e===ie?void 0:e}}class ve extends ue{constructor(){super(...arguments),this.type=4}_commitValue(e){S&&S({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!e||e===ie),options:this.options}),z(this.element).toggleAttribute(this.name,!!e&&e!==ie)}}class me extends ue{constructor(e,t,s,i,a){if(super(e,t,s,i,a),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=ce(this,e,t,0)??ie)===se)return;const s=this._$committedValue,i=e===ie&&s!==ie||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,a=e!==ie&&(s===ie||i);S&&S({kind:"commit event listener",element:this.element,name:this.name,value:e,options:this.options,removeListener:i,addListener:a,oldListener:s}),i&&this.element.removeEventListener(this.name,this,s),a&&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 fe{constructor(e,t,s){this.element=e,this.type=6,this._$disconnectableChildren=void 0,this._$parent=t,this.options=s}get _$isConnected(){return this._$parent._$isConnected}_$setValue(e){S&&S({kind:"commit to element binding",element:this.element,value:e,options:this.options}),ce(this,e)}}const be={_boundAttributeSuffix:H,_marker:B,_markerMatch:O,_HTML_RESULT:1,_getTemplateHtml:le,_TemplateInstance:he,_isIterable:U,_resolveDirective:ce,_ChildPart:pe,_AttributePart:ue,_BooleanAttributePart:ve,_EventPart:me,_PropertyPart:ge,_ElementPart:fe},we=$.litHtmlPolyfillSupportDevMode;we?.(de,pe),($.litHtmlVersions??=[]).push("3.3.2"),$.litHtmlVersions.length>1&&queueMicrotask(()=>{M("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const ye=(e,t,s)=>{if(null==t)throw new TypeError(`The container to render into may not be ${t}`);const i=Z++,a=s?.renderBefore??t;let o=a._$litPart$;if(S&&S({kind:"begin render",id:i,value:e,container:t,options:s,part:o}),void 0===o){const e=s?.renderBefore??null;a._$litPart$=o=new pe(t.insertBefore(j(),e),e,void 0,s??{})}return o._$setValue(e),S&&S({kind:"end render",id:i,value:e,container:t,options:s,part:o}),o};ye.setSanitizer=P,ye.createSanitizer=E,ye._testOnlyClearSanitizerFactoryDoNotCallOrElse=D;
|
|
13
|
+
const $=globalThis,S=e=>{$.emitLitDebugLogEvents&&$.dispatchEvent(new CustomEvent("lit-debug",{detail:e}))};let M,Z=0;$.litIssuedWarnings??=new Set,M=(e,t)=>{t+=e?` See https://lit.dev/msg/${e} for more information.`:"",$.litIssuedWarnings.has(t)||$.litIssuedWarnings.has(e)||(console.warn(t),$.litIssuedWarnings.add(t))},queueMicrotask(()=>{M("dev-mode","Lit is in dev mode. Not recommended for production!")});const V=$.ShadyDOM?.inUse&&!0===$.ShadyDOM?.noPatch?$.ShadyDOM.wrap:e=>e,z=$.trustedTypes,P=z?z.createPolicy("lit-html",{createHTML:e=>e}):void 0,A=e=>e,L=(e,t,s)=>A,I=e=>{if(ne!==L)throw new Error("Attempted to overwrite existing lit-html security policy. setSanitizeDOMValueFactory should be called at most once.");ne=e},D=()=>{ne=L},E=(e,t,s)=>ne(e,t,s),H="$lit$",B=`lit$${Math.random().toFixed(9).slice(2)}$`,O="?"+B,T=`<${O}>`,F=document,R=()=>F.createComment(""),N=e=>null===e||"object"!=typeof e&&"function"!=typeof e,j=Array.isArray,U=e=>j(e)||"function"==typeof e?.[Symbol.iterator],q="[ \t\n\f\r]",Y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,W=/-->/g,K=/>/g,G=new RegExp(`>|${q}(?:([^\\s"'>=/]+)(${q}*=${q}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),J=/'/g,X=/"/g,Q=/^(?:script|style|textarea|title)$/i,ee=(te=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$)&&M("","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$:te,strings:e,values:t}));var te;const se=Symbol.for("lit-noChange"),ie=Symbol.for("lit-nothing"),ae=new WeakMap,oe=F.createTreeWalker(F,129);let ne=L;function re(e,t){if(!j(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!==P?P.createHTML(t):t}const le=(e,t)=>{const s=e.length-1,i=[];let a,o=2===t?"<svg>":3===t?"<math>":"",n=Y;for(let t=0;t<s;t++){const s=e[t];let r,l,d=-1,c=0;for(;c<s.length&&(n.lastIndex=c,l=n.exec(s),null!==l);)if(c=n.lastIndex,n===Y){if("!--"===l[1])n=W;else if(void 0!==l[1])n=K;else if(void 0!==l[2])Q.test(l[2])&&(a=new RegExp(`</${l[2]}`,"g")),n=G;else if(void 0!==l[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===G?">"===l[0]?(n=a??Y,d=-1):void 0===l[1]?d=-2:(d=n.lastIndex-l[2].length,r=l[1],n=void 0===l[3]?G:'"'===l[3]?X:J):n===X||n===J?n=G:n===W||n===K?n=Y:(n=G,a=void 0);console.assert(-1===d||n===G||n===J||n===X,"unexpected parse state B");const h=n===G&&e[t+1].startsWith("/>")?" ":"";o+=n===Y?s+T:d>=0?(i.push(r),s.slice(0,d)+H+s.slice(d)+B+h):s+B+(-2===d?t:h)}return[re(e,o+(e[s]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),i]};class de{constructor({strings:e,_$litType$:t},s){let i;this.parts=[];let a=0,o=0;const n=e.length-1,r=this.parts,[l,d]=le(e,t);if(this.el=de.createElement(l,s),oe.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(i=oe.nextNode())&&r.length<n;){if(1===i.nodeType){{const e=i.localName;if(/^(?:textarea|template)$/i.test(e)&&i.innerHTML.includes(B)){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);M("",t)}}if(i.hasAttributes())for(const e of i.getAttributeNames())if(e.endsWith(H)){const t=d[o++],s=i.getAttribute(e).split(B),n=/([.?@])?(.*)/.exec(t);r.push({type:1,index:a,name:n[2],strings:s,ctor:"."===n[1]?ge:"?"===n[1]?ve:"@"===n[1]?me:ue}),i.removeAttribute(e)}else e.startsWith(B)&&(r.push({type:6,index:a}),i.removeAttribute(e));if(Q.test(i.tagName)){const e=i.textContent.split(B),t=e.length-1;if(t>0){i.textContent=z?z.emptyScript:"";for(let s=0;s<t;s++)i.append(e[s],R()),oe.nextNode(),r.push({type:2,index:++a});i.append(e[t],R())}}}else if(8===i.nodeType){if(i.data===O)r.push({type:2,index:a});else{let e=-1;for(;-1!==(e=i.data.indexOf(B,e+1));)r.push({type:7,index:a}),e+=B.length-1}}a++}if(d.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("${...}")+"`");S&&S({kind:"template prep",template:this,clonableTemplate:this.el,parts:this.parts,strings:e})}static createElement(e,t){const s=F.createElement("template");return s.innerHTML=e,s}}function ce(e,t,s=e,i){if(t===se)return t;let a=void 0!==i?s.__directives?.[i]:s.__directive;const o=N(t)?void 0:t._$litDirective$;return a?.constructor!==o&&(a?._$notifyDirectiveConnectionChanged?.(!1),void 0===o?a=void 0:(a=new o(e),a._$initialize(e,s,i)),void 0!==i?(s.__directives??=[])[i]=a:s.__directive=a),void 0!==a&&(t=ce(e,a._$resolve(e,t.values),a,i)),t}class he{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:s}=this._$template,i=(e?.creationScope??F).importNode(t,!0);oe.currentNode=i;let a=oe.nextNode(),o=0,n=0,r=s[0];for(;void 0!==r;){if(o===r.index){let t;2===r.type?t=new pe(a,a.nextSibling,this,e):1===r.type?t=new r.ctor(a,r.name,r.strings,this,e):6===r.type&&(t=new fe(a,this,e)),this._$parts.push(t),r=s[++n]}o!==r?.index&&(a=oe.nextNode(),o++)}return oe.currentNode=F,i}_update(e){let t=0;for(const s of this._$parts)void 0!==s&&(S&&S({kind:"set part",part:s,value:e[t],valueIndex:t,values:e,templateInstance:this}),void 0!==s.strings?(s._$setValue(e,s,t),t+=s.strings.length-2):s._$setValue(e[t])),t++}}class pe{get _$isConnected(){return this._$parent?._$isConnected??this.__isConnected}constructor(e,t,s,i){this.type=2,this._$committedValue=ie,this._$disconnectableChildren=void 0,this._$startNode=e,this._$endNode=t,this._$parent=s,this.options=i,this.__isConnected=i?.isConnected??!0,this._textSanitizer=void 0}get parentNode(){let e=V(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=ce(this,e,t),N(e))e===ie||null==e||""===e?(this._$committedValue!==ie&&(S&&S({kind:"commit nothing to child",start:this._$startNode,end:this._$endNode,parent:this._$parent,options:this.options}),this._$clear()),this._$committedValue=ie):e!==this._$committedValue&&e!==se&&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 U(e)?this._commitIterable(e):this._commitText(e)}_insert(e){return V(V(this._$startNode).parentNode).insertBefore(e,this._$endNode)}_commitNode(e){if(this._$committedValue!==e){if(this._$clear(),ne!==L){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)}}S&&S({kind:"commit node",start:this._$startNode,parent:this._$parent,value:e,options:this.options}),this._$committedValue=this._insert(e)}}_commitText(e){if(this._$committedValue!==ie&&N(this._$committedValue)){const t=V(this._$startNode).nextSibling;void 0===this._textSanitizer&&(this._textSanitizer=E(t,"data","property")),e=this._textSanitizer(e),S&&S({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}else{const t=F.createTextNode("");this._commitNode(t),void 0===this._textSanitizer&&(this._textSanitizer=E(t,"data","property")),e=this._textSanitizer(e),S&&S({kind:"commit text",node:t,value:e,options:this.options}),t.data=e}this._$committedValue=e}_commitTemplateResult(e){const{values:t,_$litType$:s}=e,i="number"==typeof s?this._$getTemplate(e):(void 0===s.el&&(s.el=de.createElement(re(s.h,s.h[0]),this.options)),s);if(this._$committedValue?._$template===i)S&&S({kind:"template updating",template:i,instance:this._$committedValue,parts:this._$committedValue._$parts,options:this.options,values:t}),this._$committedValue._update(t);else{const e=new he(i,this),s=e._clone(this.options);S&&S({kind:"template instantiated",template:i,instance:e,parts:e._$parts,options:this.options,fragment:s,values:t}),e._update(t),S&&S({kind:"template instantiated and updated",template:i,instance:e,parts:e._$parts,options:this.options,fragment:s,values:t}),this._commitNode(s),this._$committedValue=e}}_$getTemplate(e){let t=ae.get(e.strings);return void 0===t&&ae.set(e.strings,t=new de(e)),t}_commitIterable(e){j(this._$committedValue)||(this._$committedValue=[],this._$clear());const t=this._$committedValue;let s,i=0;for(const a of e)i===t.length?t.push(s=new pe(this._insert(R()),this._insert(R()),this,this.options)):s=t[i],s._$setValue(a),i++;i<t.length&&(this._$clear(s&&V(s._$endNode).nextSibling,i),t.length=i)}_$clear(e=V(this._$startNode).nextSibling,t){for(this._$notifyConnectionChanged?.(!1,!0,t);e!==this._$endNode;){const t=V(e).nextSibling;V(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 ue{get tagName(){return this.element.tagName}get _$isConnected(){return this._$parent._$isConnected}constructor(e,t,s,i,a){this.type=1,this._$committedValue=ie,this._$disconnectableChildren=void 0,this.element=e,this.name=t,this._$parent=i,this.options=a,s.length>2||""!==s[0]||""!==s[1]?(this._$committedValue=new Array(s.length-1).fill(new String),this.strings=s):this._$committedValue=ie,this._sanitizer=void 0}_$setValue(e,t=this,s,i){const a=this.strings;let o=!1;if(void 0===a)e=ce(this,e,t,0),o=!N(e)||e!==this._$committedValue&&e!==se,o&&(this._$committedValue=e);else{const i=e;let n,r;for(e=a[0],n=0;n<a.length-1;n++)r=ce(this,i[s+n],t,n),r===se&&(r=this._$committedValue[n]),o||=!N(r)||r!==this._$committedValue[n],r===ie?e=ie:e!==ie&&(e+=(r??"")+a[n+1]),this._$committedValue[n]=r}o&&!i&&this._commitValue(e)}_commitValue(e){e===ie?V(this.element).removeAttribute(this.name):(void 0===this._sanitizer&&(this._sanitizer=ne(this.element,this.name,"attribute")),e=this._sanitizer(e??""),S&&S({kind:"commit attribute",element:this.element,name:this.name,value:e,options:this.options}),V(this.element).setAttribute(this.name,e??""))}}class ge extends ue{constructor(){super(...arguments),this.type=3}_commitValue(e){void 0===this._sanitizer&&(this._sanitizer=ne(this.element,this.name,"property")),e=this._sanitizer(e),S&&S({kind:"commit property",element:this.element,name:this.name,value:e,options:this.options}),this.element[this.name]=e===ie?void 0:e}}class ve extends ue{constructor(){super(...arguments),this.type=4}_commitValue(e){S&&S({kind:"commit boolean attribute",element:this.element,name:this.name,value:!(!e||e===ie),options:this.options}),V(this.element).toggleAttribute(this.name,!!e&&e!==ie)}}class me extends ue{constructor(e,t,s,i,a){if(super(e,t,s,i,a),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=ce(this,e,t,0)??ie)===se)return;const s=this._$committedValue,i=e===ie&&s!==ie||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,a=e!==ie&&(s===ie||i);S&&S({kind:"commit event listener",element:this.element,name:this.name,value:e,options:this.options,removeListener:i,addListener:a,oldListener:s}),i&&this.element.removeEventListener(this.name,this,s),a&&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 fe{constructor(e,t,s){this.element=e,this.type=6,this._$disconnectableChildren=void 0,this._$parent=t,this.options=s}get _$isConnected(){return this._$parent._$isConnected}_$setValue(e){S&&S({kind:"commit to element binding",element:this.element,value:e,options:this.options}),ce(this,e)}}const be={_boundAttributeSuffix:H,_marker:B,_markerMatch:O,_HTML_RESULT:1,_getTemplateHtml:le,_TemplateInstance:he,_isIterable:U,_resolveDirective:ce,_ChildPart:pe,_AttributePart:ue,_BooleanAttributePart:ve,_EventPart:me,_PropertyPart:ge,_ElementPart:fe},we=$.litHtmlPolyfillSupportDevMode;we?.(de,pe),($.litHtmlVersions??=[]).push("3.3.2"),$.litHtmlVersions.length>1&&queueMicrotask(()=>{M("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")});const ye=(e,t,s)=>{if(null==t)throw new TypeError(`The container to render into may not be ${t}`);const i=Z++,a=s?.renderBefore??t;let o=a._$litPart$;if(S&&S({kind:"begin render",id:i,value:e,container:t,options:s,part:o}),void 0===o){const e=s?.renderBefore??null;a._$litPart$=o=new pe(t.insertBefore(R(),e),e,void 0,s??{})}return o._$setValue(e),S&&S({kind:"end render",id:i,value:e,container:t,options:s,part:o}),o};ye.setSanitizer=I,ye.createSanitizer=E,ye._testOnlyClearSanitizerFactoryDoNotCallOrElse=D;
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
16
16
|
* Copyright 2017 Google LLC
|
|
@@ -22,52 +22,52 @@ const _e=globalThis;let xe;_e.litIssuedWarnings??=new Set,xe=(e,t)=>{t+=` See ht
|
|
|
22
22
|
* Copyright 2017 Google LLC
|
|
23
23
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
24
24
|
*/
|
|
25
|
-
let Se;$e?.({LitElement:ke}),(_e.litElementVersions??=[]).push("4.2.2"),_e.litElementVersions.length>1&&queueMicrotask(()=>{xe("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")}),globalThis.litIssuedWarnings??=new Set,Se=(e,t)=>{t+=` 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 Me={attribute:!0,type:String,converter:_,reflect:!1,hasChanged:x},Ze=(e=Me,t,s)=>{const{kind:i,metadata:a}=s;null==a&&Se("missing-class-metadata",`The class ${t} is missing decorator metadata. This could mean that you're using a compiler that supports decorators but doesn't support decorator metadata, such as TypeScript 5.1. Please update your compiler.`);let o=globalThis.litPropertyMetadata.get(a);if(void 0===o&&globalThis.litPropertyMetadata.set(a,o=new Map),"setter"===i&&((e=Object.create(e)).wrapped=!0),o.set(s.name,e),"accessor"===i){const{name:i}=s;return{set(s){const a=t.get.call(this);t.set.call(this,s),this.requestUpdate(i,a,e,!0,s)},init(t){return void 0!==t&&this._$changeProperty(i,void 0,e,t),t}}}if("setter"===i){const{name:i}=s;return function(s){const a=this[i];t.call(this,s),this.requestUpdate(i,a,e,!0,s)}}throw new Error(`Unsupported decorator location: ${i}`)};function
|
|
25
|
+
let Se;$e?.({LitElement:ke}),(_e.litElementVersions??=[]).push("4.2.2"),_e.litElementVersions.length>1&&queueMicrotask(()=>{xe("multiple-versions","Multiple versions of Lit loaded. Loading multiple versions is not recommended.")}),globalThis.litIssuedWarnings??=new Set,Se=(e,t)=>{t+=` 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 Me={attribute:!0,type:String,converter:_,reflect:!1,hasChanged:x},Ze=(e=Me,t,s)=>{const{kind:i,metadata:a}=s;null==a&&Se("missing-class-metadata",`The class ${t} is missing decorator metadata. This could mean that you're using a compiler that supports decorators but doesn't support decorator metadata, such as TypeScript 5.1. Please update your compiler.`);let o=globalThis.litPropertyMetadata.get(a);if(void 0===o&&globalThis.litPropertyMetadata.set(a,o=new Map),"setter"===i&&((e=Object.create(e)).wrapped=!0),o.set(s.name,e),"accessor"===i){const{name:i}=s;return{set(s){const a=t.get.call(this);t.set.call(this,s),this.requestUpdate(i,a,e,!0,s)},init(t){return void 0!==t&&this._$changeProperty(i,void 0,e,t),t}}}if("setter"===i){const{name:i}=s;return function(s){const a=this[i];t.call(this,s),this.requestUpdate(i,a,e,!0,s)}}throw new Error(`Unsupported decorator location: ${i}`)};function Ve(e){return(t,s)=>"object"==typeof s?Ze(e,t,s):((e,t,s)=>{const i=t.hasOwnProperty(s);return t.constructor.createProperty(s,e),i?Object.getOwnPropertyDescriptor(t,s):void 0})(e,t,s)}
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
-
*/function
|
|
30
|
+
*/function ze(e){return Ve({...e,state:!0,attribute:!1})}
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright 2017 Google LLC
|
|
34
34
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
-
*/const
|
|
35
|
+
*/const Pe=(e,t,s)=>(s.configurable=!0,s.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,s),s);
|
|
36
36
|
/**
|
|
37
37
|
* @license
|
|
38
38
|
* Copyright 2017 Google LLC
|
|
39
39
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
40
|
-
*/let
|
|
40
|
+
*/let Ae;function Le(e,t){return(s,i,a)=>{const o=s=>{const a=s.renderRoot?.querySelector(e)??null;if(null===a&&t&&!s.hasUpdated){const t="object"==typeof i?i.name:i;Ae("",`@query'd field ${JSON.stringify(String(t))} with the 'cache' flag set for selector '${e}' has been accessed before the first update and returned null. This is expected if the renderRoot tree has not been provided beforehand (e.g. via Declarative Shadow DOM). Therefore the value hasn't been cached.`)}return a};if(t){const{get:e,set:t}="object"==typeof i?s:a??(()=>{const e=Symbol(`${String(i)} (@query() cache)`);return{get(){return this[e]},set(t){this[e]=t}}})();return Pe(s,i,{get(){let s=e.call(this);return void 0===s&&(s=o(this),(null!==s||this.hasUpdated)&&t.call(this,s)),s}})}return Pe(s,i,{get(){return o(this)}})}}
|
|
41
41
|
/**
|
|
42
42
|
* @license
|
|
43
43
|
* Copyright 2017 Google LLC
|
|
44
44
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
45
|
-
*/function
|
|
45
|
+
*/function Ie(e){return(t,s)=>Pe(t,s,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}
|
|
46
46
|
/**
|
|
47
47
|
* @license
|
|
48
48
|
* Copyright 2021 Google LLC
|
|
49
49
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
50
|
-
*/function De(e){return(t,s)=>{const{slot:i,selector:a}=e??{},o="slot"+(i?`[name=${i}]`:":not([name])");return
|
|
50
|
+
*/function De(e){return(t,s)=>{const{slot:i,selector:a}=e??{},o="slot"+(i?`[name=${i}]`:":not([name])");return Pe(t,s,{get(){const t=this.renderRoot?.querySelector(o),s=t?.assignedElements(e)??[];return void 0===a?s:s.filter(e=>e.matches(a))}})}}
|
|
51
51
|
/**
|
|
52
52
|
* @license
|
|
53
53
|
* Copyright 2017 Google LLC
|
|
54
54
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
55
|
-
*/function Ee(e){return(t,s)=>{const{slot:i}=e??{},a="slot"+(i?`[name=${i}]`:":not([name])");return
|
|
55
|
+
*/function Ee(e){return(t,s)=>{const{slot:i}=e??{},a="slot"+(i?`[name=${i}]`:":not([name])");return Pe(t,s,{get(){const t=this.renderRoot?.querySelector(a);return t?.assignedNodes(e)??[]}})}}globalThis.litIssuedWarnings??=new Set,Ae=(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))};var He=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 Be extends ke{emit(e,t){const s=new CustomEvent(e,Object.assign({bubbles:!0,cancelable:!1,composed:!0,detail:{}},t));return this.dispatchEvent(s),s}static define(e,t=this,s={}){if(customElements.get(e));else try{customElements.define(e,t,s)}catch(i){customElements.define(e,class extends t{},s)}}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}))}))}}Be.styles=[He],Be.dependencies={},e([Ve({type:Boolean,reflect:!0})],Be.prototype,"ssr",void 0);var Oe=n`:host([variant=border]) .accordion{border:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);border-radius:var(--sgds-border-radius-md)}`;const Te=["Enter","ArrowUp","ArrowLeft","ArrowDown","ArrowRight"];class Fe extends Be{constructor(){super(...arguments),this.allowMultiple=!1,this.variant="default",this.density="default"}get items(){return[...this.defaultNodes||[]].filter(e=>void 0!==e.tagName)}_handleSlotChange(){const e=[...this.items];e.forEach((t,s)=>{if(e.length>1)switch(s){case 0:t.setAttribute("first-of-type","");break;case e.length-1:t.setAttribute("last-of-type","");break;default:t.setAttribute("nth-of-type","")}t.setAttribute("variant",this.variant),t.setAttribute("density",this.density)})}async _onToggle(e){if(this.allowMultiple)return;const t=[...this.items];t&&!t.length||t.forEach(t=>{e.composedPath().includes(t)||(t.open=!1)})}async _onKeyboardToggle(e){if(Te.includes(e.key))return this._onToggle(e)}render(){return ee`
|
|
56
56
|
<div class="accordion">
|
|
57
57
|
<slot @slotchange=${this._handleSlotChange} @click=${this._onToggle} @keydown=${this._onKeyboardToggle}></slot>
|
|
58
58
|
</div>
|
|
59
|
-
`}}Fe.styles=[...Be.styles,Oe],e([
|
|
59
|
+
`}}Fe.styles=[...Be.styles,Oe],e([Ve({type:Boolean,reflect:!0})],Fe.prototype,"allowMultiple",void 0),e([Ve({type:String,reflect:!0})],Fe.prototype,"variant",void 0),e([Ve({type:String,reflect:!0})],Fe.prototype,"density",void 0),e([De()],Fe.prototype,"defaultNodes",void 0);
|
|
60
60
|
/**
|
|
61
61
|
* @license
|
|
62
62
|
* Copyright 2017 Google LLC
|
|
63
63
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64
64
|
*/
|
|
65
|
-
const
|
|
65
|
+
const Re=1,Ne=2,je=3,Ue=4,qe=e=>(...t)=>({_$litDirective$:e,values:t});class Ye{constructor(e){}get _$isConnected(){return this._$parent._$isConnected}_$initialize(e,t,s){this.__part=e,this._$parent=t,this.__attributeIndex=s}_$resolve(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}
|
|
66
66
|
/**
|
|
67
67
|
* @license
|
|
68
68
|
* Copyright 2018 Google LLC
|
|
69
69
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
70
|
-
*/const We=qe(class extends Ye{constructor(e){if(super(e),e.type!==
|
|
70
|
+
*/const We=qe(class extends Ye{constructor(e){if(super(e),e.type!==Re||"class"!==e.name||e.strings?.length>2)throw new Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(void 0===this._previousClasses){this._previousClasses=new Set,void 0!==e.strings&&(this._staticClasses=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e)));for(const e in t)t[e]&&!this._staticClasses?.has(e)&&this._previousClasses.add(e);return this.render(t)}const s=e.element.classList;for(const e of this._previousClasses)e in t||(s.remove(e),this._previousClasses.delete(e));for(const e in t){const i=!!t[e];i===this._previousClasses.has(e)||this._staticClasses?.has(e)||(i?(s.add(e),this._previousClasses.add(e)):(s.remove(e),this._previousClasses.delete(e)))}return se}}),Ke=e=>e??ie;
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
73
73
|
* Copyright 2018 Google LLC
|
|
@@ -101,7 +101,7 @@ const je=1,Ne=2,Re=3,Ue=4,qe=e=>(...t)=>({_$litDirective$:e,values:t});class Ye{
|
|
|
101
101
|
<slot id="content" name="content" class="content" role="region" aria-labelledby="header"></slot>
|
|
102
102
|
</div>
|
|
103
103
|
</div>
|
|
104
|
-
`}}function lt(e,t){customElements.get(e)||customElements.define(e,t)}function dt(e){return!!function(e){return!!customElements.get(e)}(e)||(console.error(`Custom element of name : ${e} is not registered. Remember to import the component file for custom element registration`),!1)}rt.styles=[...Be.styles,nt],e([
|
|
104
|
+
`}}function lt(e,t){customElements.get(e)||customElements.define(e,t)}function dt(e){return!!function(e){return!!customElements.get(e)}(e)||(console.error(`Custom element of name : ${e} is not registered. Remember to import the component file for custom element registration`),!1)}rt.styles=[...Be.styles,nt],e([Le(".accordion-item")],rt.prototype,"accordion",void 0),e([Le(".accordion-btn")],rt.prototype,"header",void 0),e([Le(".accordion-body")],rt.prototype,"body",void 0),e([Ve({type:Boolean,reflect:!0})],rt.prototype,"open",void 0),e([Ve({type:Boolean,reflect:!0})],rt.prototype,"disabled",void 0),e([Ve({type:String,reflect:!0})],rt.prototype,"density",void 0),e([Ve({type:String})],rt.prototype,"ariaLabel",void 0),e([ot("open",{waitUntilFirstUpdate:!0})],rt.prototype,"handleOpenChange",null),it("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:350,easing:"ease-in-out"}}),it("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:350,easing:"ease-in-out"}}),lt("sgds-accordion",Fe),lt("sgds-accordion-item",rt);
|
|
105
105
|
/**
|
|
106
106
|
* @license
|
|
107
107
|
* Copyright 2020 Google LLC
|
|
@@ -111,7 +111,7 @@ const ct=Symbol.for(""),ht=e=>{if(e?.r===ct)return e?._$litStatic$},pt=(e,...t)=
|
|
|
111
111
|
<button class="btn-close" aria-label="Close button" ?disabled=${this.disabled} @click=${this._handleClick}>
|
|
112
112
|
<sgds-icon name="cross" size="sm"></sgds-icon>
|
|
113
113
|
</button>
|
|
114
|
-
`}}ft.styles=[...Be.styles,mt],e([ze({type:String,reflect:!0})],ft.prototype,"size",void 0),e([ze({type:String,reflect:!0})],ft.prototype,"tone",void 0),e([ze({type:Boolean,reflect:!0})],ft.prototype,"disabled",void 0);const bt={announcement:()=>Promise.resolve().then(function(){return Ir}),archive:()=>Promise.resolve().then(function(){return Dr}),"arrow-bar-down":()=>Promise.resolve().then(function(){return Hr}),"arrow-bar-left":()=>Promise.resolve().then(function(){return Or}),"arrow-bar-right":()=>Promise.resolve().then(function(){return Fr}),"arrow-bar-up":()=>Promise.resolve().then(function(){return Nr}),"arrow-circle-down":()=>Promise.resolve().then(function(){return Ur}),"arrow-circle-left":()=>Promise.resolve().then(function(){return Yr}),"arrow-circle-right":()=>Promise.resolve().then(function(){return Kr}),"arrow-circle-up":()=>Promise.resolve().then(function(){return Jr}),"arrow-clockwise":()=>Promise.resolve().then(function(){return Qr}),"arrow-down":()=>Promise.resolve().then(function(){return tl}),"arrow-left":()=>Promise.resolve().then(function(){return il}),"arrow-repeat":()=>Promise.resolve().then(function(){return ol}),"arrow-right":()=>Promise.resolve().then(function(){return rl}),"arrow-square-down":()=>Promise.resolve().then(function(){return dl}),"arrow-square-left":()=>Promise.resolve().then(function(){return hl}),"arrow-square-right":()=>Promise.resolve().then(function(){return ul}),"arrow-square-up":()=>Promise.resolve().then(function(){return vl}),"arrow-up":()=>Promise.resolve().then(function(){return fl}),"bank-fill":()=>Promise.resolve().then(function(){return wl}),"bell-slash":()=>Promise.resolve().then(function(){return _l}),bell:()=>Promise.resolve().then(function(){return kl}),"bi-funnel":()=>Promise.resolve().then(function(){return $l}),"bookmark-fill":()=>Promise.resolve().then(function(){return Ml}),bookmark:()=>Promise.resolve().then(function(){return zl}),"box-arrow-up-right":()=>Promise.resolve().then(function(){return Al}),"box-seam":()=>Promise.resolve().then(function(){return Il}),building:()=>Promise.resolve().then(function(){return Dl}),bus:()=>Promise.resolve().then(function(){return Hl}),calculator:()=>Promise.resolve().then(function(){return Ol}),"calendar-check":()=>Promise.resolve().then(function(){return Fl}),"calendar-heart":()=>Promise.resolve().then(function(){return Nl}),"calendar-x":()=>Promise.resolve().then(function(){return Ul}),calendar:()=>Promise.resolve().then(function(){return Yl}),camera:()=>Promise.resolve().then(function(){return Kl}),car:()=>Promise.resolve().then(function(){return Jl}),"chat-dots":()=>Promise.resolve().then(function(){return Ql}),"chat-left-text":()=>Promise.resolve().then(function(){return td}),chat:()=>Promise.resolve().then(function(){return id}),"check-circle-fill":()=>Promise.resolve().then(function(){return od}),"check-circle":()=>Promise.resolve().then(function(){return rd}),check:()=>Promise.resolve().then(function(){return dd}),"chevron-down":()=>Promise.resolve().then(function(){return hd}),"chevron-left":()=>Promise.resolve().then(function(){return ud}),"chevron-right":()=>Promise.resolve().then(function(){return vd}),"chevron-selector-vertical":()=>Promise.resolve().then(function(){return fd}),"chevron-up":()=>Promise.resolve().then(function(){return wd}),clock:()=>Promise.resolve().then(function(){return _d}),"cloud-check":()=>Promise.resolve().then(function(){return kd}),"cloud-download":()=>Promise.resolve().then(function(){return $d}),"cloud-upload":()=>Promise.resolve().then(function(){return Md}),cloud:()=>Promise.resolve().then(function(){return zd}),"code-square":()=>Promise.resolve().then(function(){return Ad}),"coins-hand":()=>Promise.resolve().then(function(){return Id}),compass:()=>Promise.resolve().then(function(){return Dd}),copy:()=>Promise.resolve().then(function(){return Hd}),"cpu-chip-ai":()=>Promise.resolve().then(function(){return Od}),cross:()=>Promise.resolve().then(function(){return Fd}),"cursor-fill":()=>Promise.resolve().then(function(){return Nd}),cursor:()=>Promise.resolve().then(function(){return Ud}),"dash-circle":()=>Promise.resolve().then(function(){return Yd}),"dash-square":()=>Promise.resolve().then(function(){return Kd}),dash:()=>Promise.resolve().then(function(){return Jd}),database:()=>Promise.resolve().then(function(){return Qd}),dataflow:()=>Promise.resolve().then(function(){return tc}),download:()=>Promise.resolve().then(function(){return ic}),edit:()=>Promise.resolve().then(function(){return oc}),"exclamation-circle-fill":()=>Promise.resolve().then(function(){return rc}),"exclamation-circle":()=>Promise.resolve().then(function(){return dc}),"exclamation-triangle-fill":()=>Promise.resolve().then(function(){return hc}),"exclamation-triangle":()=>Promise.resolve().then(function(){return uc}),exclamation:()=>Promise.resolve().then(function(){return vc}),"eye-fill":()=>Promise.resolve().then(function(){return fc}),"eye-slash-fill":()=>Promise.resolve().then(function(){return wc}),"eye-slash":()=>Promise.resolve().then(function(){return _c}),eye:()=>Promise.resolve().then(function(){return kc}),"face-smile-fill":()=>Promise.resolve().then(function(){return $c}),"face-smile":()=>Promise.resolve().then(function(){return Mc}),facebook:()=>Promise.resolve().then(function(){return zc}),"file-earmark-text":()=>Promise.resolve().then(function(){return Ac}),"file-pdf":()=>Promise.resolve().then(function(){return Ic}),"file-plus":()=>Promise.resolve().then(function(){return Dc}),"file-text":()=>Promise.resolve().then(function(){return Hc}),file:()=>Promise.resolve().then(function(){return Oc}),files:()=>Promise.resolve().then(function(){return Fc}),fingerprint:()=>Promise.resolve().then(function(){return Nc}),flash:()=>Promise.resolve().then(function(){return Uc}),"folder-check":()=>Promise.resolve().then(function(){return Yc}),"folder-minus":()=>Promise.resolve().then(function(){return Kc}),"folder-plus":()=>Promise.resolve().then(function(){return Jc}),folder:()=>Promise.resolve().then(function(){return Qc}),gear:()=>Promise.resolve().then(function(){return th}),"geo-alt":()=>Promise.resolve().then(function(){return ih}),"geo-fill":()=>Promise.resolve().then(function(){return oh}),geo:()=>Promise.resolve().then(function(){return rh}),"globe-alt":()=>Promise.resolve().then(function(){return dh}),globe:()=>Promise.resolve().then(function(){return hh}),google:()=>Promise.resolve().then(function(){return uh}),"grid-alt":()=>Promise.resolve().then(function(){return vh}),"grid-fill":()=>Promise.resolve().then(function(){return fh}),"hand-thumbs-down":()=>Promise.resolve().then(function(){return wh}),"hand-thumbs-up":()=>Promise.resolve().then(function(){return _h}),"hard-drive":()=>Promise.resolve().then(function(){return kh}),heart:()=>Promise.resolve().then(function(){return $h}),"house-door":()=>Promise.resolve().then(function(){return Mh}),house:()=>Promise.resolve().then(function(){return zh}),image:()=>Promise.resolve().then(function(){return Ah}),"in-box":()=>Promise.resolve().then(function(){return Ih}),"info-circle-fill":()=>Promise.resolve().then(function(){return Dh}),"info-circle":()=>Promise.resolve().then(function(){return Hh}),instagram:()=>Promise.resolve().then(function(){return Oh}),key:()=>Promise.resolve().then(function(){return Fh}),"laptop-gear":()=>Promise.resolve().then(function(){return Nh}),laptop:()=>Promise.resolve().then(function(){return Uh}),layers:()=>Promise.resolve().then(function(){return Yh}),"layout-text-window-reverse":()=>Promise.resolve().then(function(){return Kh}),"layout-text-window":()=>Promise.resolve().then(function(){return Jh}),layout:()=>Promise.resolve().then(function(){return Qh}),"life-buoy":()=>Promise.resolve().then(function(){return tp}),lightbulb:()=>Promise.resolve().then(function(){return ip}),link:()=>Promise.resolve().then(function(){return op}),linkedin:()=>Promise.resolve().then(function(){return rp}),list:()=>Promise.resolve().then(function(){return dp}),"lock-fill":()=>Promise.resolve().then(function(){return hp}),lock:()=>Promise.resolve().then(function(){return up}),login:()=>Promise.resolve().then(function(){return vp}),logout:()=>Promise.resolve().then(function(){return fp}),luggage:()=>Promise.resolve().then(function(){return wp}),"mail-open":()=>Promise.resolve().then(function(){return _p}),mail:()=>Promise.resolve().then(function(){return kp}),map:()=>Promise.resolve().then(function(){return $p}),meetup:()=>Promise.resolve().then(function(){return Mp}),menu:()=>Promise.resolve().then(function(){return zp}),microphone:()=>Promise.resolve().then(function(){return Ap}),monitor:()=>Promise.resolve().then(function(){return Ip}),moon:()=>Promise.resolve().then(function(){return Dp}),move:()=>Promise.resolve().then(function(){return Hp}),paperclip:()=>Promise.resolve().then(function(){return Op}),passcode:()=>Promise.resolve().then(function(){return Fp}),passport:()=>Promise.resolve().then(function(){return Np}),pause:()=>Promise.resolve().then(function(){return Up}),pencil:()=>Promise.resolve().then(function(){return Yp}),"pending-circle":()=>Promise.resolve().then(function(){return Kp}),"person-dash":()=>Promise.resolve().then(function(){return Jp}),"person-plus":()=>Promise.resolve().then(function(){return Qp}),"person-x":()=>Promise.resolve().then(function(){return tu}),person:()=>Promise.resolve().then(function(){return iu}),phone:()=>Promise.resolve().then(function(){return ou}),"pin-map-fill":()=>Promise.resolve().then(function(){return ru}),pin:()=>Promise.resolve().then(function(){return du}),placeholder:()=>Promise.resolve().then(function(){return hu}),plane:()=>Promise.resolve().then(function(){return uu}),play:()=>Promise.resolve().then(function(){return vu}),"plus-circle":()=>Promise.resolve().then(function(){return fu}),"plus-square":()=>Promise.resolve().then(function(){return wu}),plus:()=>Promise.resolve().then(function(){return _u}),printer:()=>Promise.resolve().then(function(){return ku}),"question-circle":()=>Promise.resolve().then(function(){return $u}),rocket:()=>Promise.resolve().then(function(){return Mu}),save:()=>Promise.resolve().then(function(){return zu}),search:()=>Promise.resolve().then(function(){return Au}),send:()=>Promise.resolve().then(function(){return Iu}),"sg-crest":()=>Promise.resolve().then(function(){return Du}),share:()=>Promise.resolve().then(function(){return Hu}),"shield-tick":()=>Promise.resolve().then(function(){return Ou}),"sidebar-collapse":()=>Promise.resolve().then(function(){return Fu}),"sidebar-expand":()=>Promise.resolve().then(function(){return Nu}),"slash-circle":()=>Promise.resolve().then(function(){return Uu}),"slash-divider":()=>Promise.resolve().then(function(){return Yu}),sliders:()=>Promise.resolve().then(function(){return Ku}),"sort-ascending":()=>Promise.resolve().then(function(){return Ju}),"sort-descending":()=>Promise.resolve().then(function(){return Qu}),speedometer:()=>Promise.resolve().then(function(){return tg}),"star-ai":()=>Promise.resolve().then(function(){return ig}),"star-fill":()=>Promise.resolve().then(function(){return og}),star:()=>Promise.resolve().then(function(){return rg}),stoplights:()=>Promise.resolve().then(function(){return dg}),sun:()=>Promise.resolve().then(function(){return hg}),"switch-horizontal":()=>Promise.resolve().then(function(){return ug}),"switch-vertical":()=>Promise.resolve().then(function(){return vg}),tablet:()=>Promise.resolve().then(function(){return fg}),telegram:()=>Promise.resolve().then(function(){return wg}),telephone:()=>Promise.resolve().then(function(){return _g}),"three-dots-vertical":()=>Promise.resolve().then(function(){return kg}),"three-dots":()=>Promise.resolve().then(function(){return $g}),ticket:()=>Promise.resolve().then(function(){return Mg}),"toggle-off":()=>Promise.resolve().then(function(){return zg}),"toggle-on":()=>Promise.resolve().then(function(){return Ag}),train:()=>Promise.resolve().then(function(){return Ig}),translate:()=>Promise.resolve().then(function(){return Dg}),trash:()=>Promise.resolve().then(function(){return Hg}),"trend-down":()=>Promise.resolve().then(function(){return Og}),"trend-up":()=>Promise.resolve().then(function(){return Fg}),truck:()=>Promise.resolve().then(function(){return Ng}),"twitter-x":()=>Promise.resolve().then(function(){return Ug}),unlock:()=>Promise.resolve().then(function(){return Yg}),upload:()=>Promise.resolve().then(function(){return Kg}),"user-check":()=>Promise.resolve().then(function(){return Jg}),"user-circle":()=>Promise.resolve().then(function(){return Qg}),"user-pause":()=>Promise.resolve().then(function(){return tv}),"user-square":()=>Promise.resolve().then(function(){return iv}),users:()=>Promise.resolve().then(function(){return ov}),"video-recorder":()=>Promise.resolve().then(function(){return rv}),"volume-max":()=>Promise.resolve().then(function(){return dv}),"volume-x":()=>Promise.resolve().then(function(){return hv}),"window-dash":()=>Promise.resolve().then(function(){return uv}),"window-desktop":()=>Promise.resolve().then(function(){return vv}),"window-dock":()=>Promise.resolve().then(function(){return fv}),"window-fullscreen":()=>Promise.resolve().then(function(){return wv}),"window-plus":()=>Promise.resolve().then(function(){return _v}),"window-sidebar":()=>Promise.resolve().then(function(){return kv}),"window-split":()=>Promise.resolve().then(function(){return $v}),"window-stack":()=>Promise.resolve().then(function(){return Mv}),"window-x":()=>Promise.resolve().then(function(){return zv}),window:()=>Promise.resolve().then(function(){return Av}),"xcircle-fill":()=>Promise.resolve().then(function(){return Iv}),xcircle:()=>Promise.resolve().then(function(){return Dv}),youtube:()=>Promise.resolve().then(function(){return Hv}),"zoom-in":()=>Promise.resolve().then(function(){return Ov}),"zoom-out":()=>Promise.resolve().then(function(){return Fv})};var wt=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 yt=new Map;class _t extends Be{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(yt.has(e))return void(this._icon=yt.get(e));const t=bt[e];if(!t)return console.warn(`Icon not found: ${e}`),void(this._icon=void 0);try{const s=await t();yt.set(e,s.default),this._icon=s.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:ie}}_t.styles=[...Be.styles,wt],e([ze({type:String,reflect:!0})],_t.prototype,"name",void 0),e([ze({type:String,reflect:!0})],_t.prototype,"size",void 0),e([ze({type:String})],_t.prototype,"ariaLabel",void 0),e([Ve()],_t.prototype,"_icon",void 0);var xt=n`:host([variant=success]) .alert{background-color:var(--sgds-success-surface-default)}:host([variant=warning]) .alert{--sgds-alert-color:var(--sgds-color-fixed-dark);background-color:var(--sgds-warning-surface-default)}:host([variant=danger]) .alert{background-color:var(--sgds-danger-surface-default)}:host([variant=neutral]) .alert{background-color:var(--sgds-neutral-surface-emphasis)}:host([variant=success][outlined]) .alert{background-color:var(--sgds-success-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-success-border-color-muted)}:host([variant=warning][outlined]) .alert{background-color:var(--sgds-warning-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-warning-border-color-muted)}:host([variant=danger][outlined]) .alert{background-color:var(--sgds-danger-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-danger-border-color-muted)}:host([variant=neutral][outlined]) .alert{background-color:var(--sgds-neutral-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-neutral-border-color-muted)}:host([outlined]) .alert-icon__outlined::slotted(*){color:var(--sgds-primary-color-fixed-dark)}:host([variant=success][outlined]) .alert-icon__outlined::slotted(*){color:var(--sgds-success-color-fixed-dark)}:host([variant=warning][outlined]) .alert-icon__outlined::slotted(*){color:var(--sgds-warning-color-fixed-light)}:host([variant=danger][outlined]) .alert-icon__outlined::slotted(*){color:var(--sgds-danger-color-fixed-dark)}:host([variant=neutral][outlined]) .alert-icon__outlined::slotted(*){color:var(--sgds-color-fixed-dark)}.alert{--sgds-alert-color:var(--sgds-color-fixed-light);background-color:var(--sgds-primary-surface-default);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--sgds-border-radius-md);color:var(--sgds-alert-color);display:flex;flex-direction:row;gap:var(--sgds-gap-sm);padding:var(--sgds-padding-lg);position:relative}.alert.outlined{--sgds-alert-color:var(--sgds-color-fixed-dark);background-color:var(--sgds-primary-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-primary-border-color-muted)}.alert-content{align-items:flex-start;display:flex;flex:1 0 0;flex-direction:column;gap:var(--sgds-gap-md);padding-right:var(--sgds-padding-2-xl)}.alert-content__upper{display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs)}.alert-title{font-size:var(--sgds-font-size-subtitle-sm);font-style:normal;font-weight:var(--sgds-font-weight-semibold);line-height:var(--sgds-line-height-2-xs)}.alert-content__description{display:inline;font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-2-xs)}.alert-content__description::slotted(*){font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-2-xs)}.alert-content__description::slotted(a),.alert-content__description::slotted(a:hover){color:inherit!important}.alert-content__description::slotted(a:focus-visible){outline:var(--sgds-outline-focus)!important;outline-offset:var(--sgds-outline-offset-focus)!important}.alert sgds-close-button{position:absolute;right:14px;top:14px}`;class kt extends Be{constructor(){super(...arguments),this.show=!1,this.dismissible=!1,this.variant="info",this.outlined=!1,this.title=""}close(){this.show=!1}_handleShowChange(){this.show?this.emit("sgds-show"):this.emit("sgds-hide")}render(){return this.dismissible&&this.show||!this.dismissible?gt`
|
|
114
|
+
`}}ft.styles=[...Be.styles,mt],e([Ve({type:String,reflect:!0})],ft.prototype,"size",void 0),e([Ve({type:String,reflect:!0})],ft.prototype,"tone",void 0),e([Ve({type:Boolean,reflect:!0})],ft.prototype,"disabled",void 0);const bt={announcement:()=>Promise.resolve().then(function(){return Br}),archive:()=>Promise.resolve().then(function(){return Tr}),"arrow-bar-down":()=>Promise.resolve().then(function(){return Rr}),"arrow-bar-left":()=>Promise.resolve().then(function(){return jr}),"arrow-bar-right":()=>Promise.resolve().then(function(){return qr}),"arrow-bar-up":()=>Promise.resolve().then(function(){return Wr}),"arrow-circle-down":()=>Promise.resolve().then(function(){return Gr}),"arrow-circle-left":()=>Promise.resolve().then(function(){return Xr}),"arrow-circle-right":()=>Promise.resolve().then(function(){return el}),"arrow-circle-up":()=>Promise.resolve().then(function(){return sl}),"arrow-clockwise":()=>Promise.resolve().then(function(){return al}),"arrow-down":()=>Promise.resolve().then(function(){return nl}),"arrow-left":()=>Promise.resolve().then(function(){return ll}),"arrow-repeat":()=>Promise.resolve().then(function(){return cl}),"arrow-right":()=>Promise.resolve().then(function(){return pl}),"arrow-square-down":()=>Promise.resolve().then(function(){return gl}),"arrow-square-left":()=>Promise.resolve().then(function(){return ml}),"arrow-square-right":()=>Promise.resolve().then(function(){return bl}),"arrow-square-up":()=>Promise.resolve().then(function(){return yl}),"arrow-up":()=>Promise.resolve().then(function(){return xl}),"bank-fill":()=>Promise.resolve().then(function(){return Cl}),"bell-slash":()=>Promise.resolve().then(function(){return Sl}),bell:()=>Promise.resolve().then(function(){return Zl}),"bi-funnel":()=>Promise.resolve().then(function(){return zl}),"bookmark-fill":()=>Promise.resolve().then(function(){return Al}),bookmark:()=>Promise.resolve().then(function(){return Il}),"box-arrow-up-right":()=>Promise.resolve().then(function(){return El}),"box-seam":()=>Promise.resolve().then(function(){return Bl}),building:()=>Promise.resolve().then(function(){return Tl}),bus:()=>Promise.resolve().then(function(){return Rl}),calculator:()=>Promise.resolve().then(function(){return jl}),"calendar-check":()=>Promise.resolve().then(function(){return ql}),"calendar-heart":()=>Promise.resolve().then(function(){return Wl}),"calendar-x":()=>Promise.resolve().then(function(){return Gl}),calendar:()=>Promise.resolve().then(function(){return Xl}),camera:()=>Promise.resolve().then(function(){return ed}),car:()=>Promise.resolve().then(function(){return sd}),"chat-dots":()=>Promise.resolve().then(function(){return ad}),"chat-left-text":()=>Promise.resolve().then(function(){return nd}),chat:()=>Promise.resolve().then(function(){return ld}),"check-circle-fill":()=>Promise.resolve().then(function(){return cd}),"check-circle":()=>Promise.resolve().then(function(){return pd}),check:()=>Promise.resolve().then(function(){return gd}),"chevron-down":()=>Promise.resolve().then(function(){return md}),"chevron-left":()=>Promise.resolve().then(function(){return bd}),"chevron-right":()=>Promise.resolve().then(function(){return yd}),"chevron-selector-vertical":()=>Promise.resolve().then(function(){return xd}),"chevron-up":()=>Promise.resolve().then(function(){return Cd}),clock:()=>Promise.resolve().then(function(){return Sd}),"cloud-check":()=>Promise.resolve().then(function(){return Zd}),"cloud-download":()=>Promise.resolve().then(function(){return zd}),"cloud-upload":()=>Promise.resolve().then(function(){return Ad}),cloud:()=>Promise.resolve().then(function(){return Id}),"code-square":()=>Promise.resolve().then(function(){return Ed}),"coins-hand":()=>Promise.resolve().then(function(){return Bd}),compass:()=>Promise.resolve().then(function(){return Td}),copy:()=>Promise.resolve().then(function(){return Rd}),"cpu-chip-ai":()=>Promise.resolve().then(function(){return jd}),cross:()=>Promise.resolve().then(function(){return qd}),"cursor-fill":()=>Promise.resolve().then(function(){return Wd}),cursor:()=>Promise.resolve().then(function(){return Gd}),"dash-circle":()=>Promise.resolve().then(function(){return Xd}),"dash-square":()=>Promise.resolve().then(function(){return ec}),dash:()=>Promise.resolve().then(function(){return sc}),database:()=>Promise.resolve().then(function(){return ac}),dataflow:()=>Promise.resolve().then(function(){return nc}),download:()=>Promise.resolve().then(function(){return lc}),edit:()=>Promise.resolve().then(function(){return cc}),"exclamation-circle-fill":()=>Promise.resolve().then(function(){return pc}),"exclamation-circle":()=>Promise.resolve().then(function(){return gc}),"exclamation-triangle-fill":()=>Promise.resolve().then(function(){return mc}),"exclamation-triangle":()=>Promise.resolve().then(function(){return bc}),exclamation:()=>Promise.resolve().then(function(){return yc}),"eye-fill":()=>Promise.resolve().then(function(){return xc}),"eye-slash-fill":()=>Promise.resolve().then(function(){return Cc}),"eye-slash":()=>Promise.resolve().then(function(){return Sc}),eye:()=>Promise.resolve().then(function(){return Zc}),"face-smile-fill":()=>Promise.resolve().then(function(){return zc}),"face-smile":()=>Promise.resolve().then(function(){return Ac}),facebook:()=>Promise.resolve().then(function(){return Ic}),"file-earmark-text":()=>Promise.resolve().then(function(){return Ec}),"file-pdf":()=>Promise.resolve().then(function(){return Bc}),"file-plus":()=>Promise.resolve().then(function(){return Tc}),"file-text":()=>Promise.resolve().then(function(){return Rc}),file:()=>Promise.resolve().then(function(){return jc}),files:()=>Promise.resolve().then(function(){return qc}),fingerprint:()=>Promise.resolve().then(function(){return Wc}),flash:()=>Promise.resolve().then(function(){return Gc}),"folder-check":()=>Promise.resolve().then(function(){return Xc}),"folder-minus":()=>Promise.resolve().then(function(){return eh}),"folder-plus":()=>Promise.resolve().then(function(){return sh}),folder:()=>Promise.resolve().then(function(){return ah}),gear:()=>Promise.resolve().then(function(){return nh}),"geo-alt":()=>Promise.resolve().then(function(){return lh}),"geo-fill":()=>Promise.resolve().then(function(){return ch}),geo:()=>Promise.resolve().then(function(){return ph}),"globe-alt":()=>Promise.resolve().then(function(){return gh}),globe:()=>Promise.resolve().then(function(){return mh}),google:()=>Promise.resolve().then(function(){return bh}),"grid-alt":()=>Promise.resolve().then(function(){return yh}),"grid-fill":()=>Promise.resolve().then(function(){return xh}),"hand-thumbs-down":()=>Promise.resolve().then(function(){return Ch}),"hand-thumbs-up":()=>Promise.resolve().then(function(){return Sh}),"hard-drive":()=>Promise.resolve().then(function(){return Zh}),heart:()=>Promise.resolve().then(function(){return zh}),"house-door":()=>Promise.resolve().then(function(){return Ah}),house:()=>Promise.resolve().then(function(){return Ih}),image:()=>Promise.resolve().then(function(){return Eh}),"in-box":()=>Promise.resolve().then(function(){return Bh}),"info-circle-fill":()=>Promise.resolve().then(function(){return Th}),"info-circle":()=>Promise.resolve().then(function(){return Rh}),instagram:()=>Promise.resolve().then(function(){return jh}),key:()=>Promise.resolve().then(function(){return qh}),"laptop-gear":()=>Promise.resolve().then(function(){return Wh}),laptop:()=>Promise.resolve().then(function(){return Gh}),layers:()=>Promise.resolve().then(function(){return Xh}),"layout-text-window-reverse":()=>Promise.resolve().then(function(){return ep}),"layout-text-window":()=>Promise.resolve().then(function(){return sp}),layout:()=>Promise.resolve().then(function(){return ap}),"life-buoy":()=>Promise.resolve().then(function(){return np}),lightbulb:()=>Promise.resolve().then(function(){return lp}),link:()=>Promise.resolve().then(function(){return cp}),linkedin:()=>Promise.resolve().then(function(){return pp}),list:()=>Promise.resolve().then(function(){return gp}),"lock-fill":()=>Promise.resolve().then(function(){return mp}),lock:()=>Promise.resolve().then(function(){return bp}),login:()=>Promise.resolve().then(function(){return yp}),logout:()=>Promise.resolve().then(function(){return xp}),luggage:()=>Promise.resolve().then(function(){return Cp}),"mail-open":()=>Promise.resolve().then(function(){return Sp}),mail:()=>Promise.resolve().then(function(){return Zp}),map:()=>Promise.resolve().then(function(){return zp}),meetup:()=>Promise.resolve().then(function(){return Ap}),menu:()=>Promise.resolve().then(function(){return Ip}),microphone:()=>Promise.resolve().then(function(){return Ep}),monitor:()=>Promise.resolve().then(function(){return Bp}),moon:()=>Promise.resolve().then(function(){return Tp}),move:()=>Promise.resolve().then(function(){return Rp}),paperclip:()=>Promise.resolve().then(function(){return jp}),passcode:()=>Promise.resolve().then(function(){return qp}),passport:()=>Promise.resolve().then(function(){return Wp}),pause:()=>Promise.resolve().then(function(){return Gp}),pencil:()=>Promise.resolve().then(function(){return Xp}),"pending-circle":()=>Promise.resolve().then(function(){return eu}),"person-dash":()=>Promise.resolve().then(function(){return su}),"person-plus":()=>Promise.resolve().then(function(){return au}),"person-x":()=>Promise.resolve().then(function(){return nu}),person:()=>Promise.resolve().then(function(){return lu}),phone:()=>Promise.resolve().then(function(){return cu}),"pin-map-fill":()=>Promise.resolve().then(function(){return pu}),pin:()=>Promise.resolve().then(function(){return gu}),placeholder:()=>Promise.resolve().then(function(){return mu}),plane:()=>Promise.resolve().then(function(){return bu}),play:()=>Promise.resolve().then(function(){return yu}),"plus-circle":()=>Promise.resolve().then(function(){return xu}),"plus-square":()=>Promise.resolve().then(function(){return Cu}),plus:()=>Promise.resolve().then(function(){return Su}),printer:()=>Promise.resolve().then(function(){return Zu}),"question-circle":()=>Promise.resolve().then(function(){return zu}),rocket:()=>Promise.resolve().then(function(){return Au}),save:()=>Promise.resolve().then(function(){return Iu}),search:()=>Promise.resolve().then(function(){return Eu}),send:()=>Promise.resolve().then(function(){return Bu}),"sg-crest":()=>Promise.resolve().then(function(){return Tu}),share:()=>Promise.resolve().then(function(){return Ru}),"shield-tick":()=>Promise.resolve().then(function(){return ju}),"sidebar-collapse":()=>Promise.resolve().then(function(){return qu}),"sidebar-expand":()=>Promise.resolve().then(function(){return Wu}),"slash-circle":()=>Promise.resolve().then(function(){return Gu}),"slash-divider":()=>Promise.resolve().then(function(){return Xu}),sliders:()=>Promise.resolve().then(function(){return eg}),"sort-ascending":()=>Promise.resolve().then(function(){return sg}),"sort-descending":()=>Promise.resolve().then(function(){return ag}),speedometer:()=>Promise.resolve().then(function(){return ng}),"star-ai":()=>Promise.resolve().then(function(){return lg}),"star-fill":()=>Promise.resolve().then(function(){return cg}),star:()=>Promise.resolve().then(function(){return pg}),stoplights:()=>Promise.resolve().then(function(){return gg}),sun:()=>Promise.resolve().then(function(){return mg}),"switch-horizontal":()=>Promise.resolve().then(function(){return bg}),"switch-vertical":()=>Promise.resolve().then(function(){return yg}),tablet:()=>Promise.resolve().then(function(){return xg}),telegram:()=>Promise.resolve().then(function(){return Cg}),telephone:()=>Promise.resolve().then(function(){return Sg}),"three-dots-vertical":()=>Promise.resolve().then(function(){return Zg}),"three-dots":()=>Promise.resolve().then(function(){return zg}),ticket:()=>Promise.resolve().then(function(){return Ag}),"toggle-off":()=>Promise.resolve().then(function(){return Ig}),"toggle-on":()=>Promise.resolve().then(function(){return Eg}),train:()=>Promise.resolve().then(function(){return Bg}),translate:()=>Promise.resolve().then(function(){return Tg}),trash:()=>Promise.resolve().then(function(){return Rg}),"trend-down":()=>Promise.resolve().then(function(){return jg}),"trend-up":()=>Promise.resolve().then(function(){return qg}),truck:()=>Promise.resolve().then(function(){return Wg}),"twitter-x":()=>Promise.resolve().then(function(){return Gg}),unlock:()=>Promise.resolve().then(function(){return Xg}),upload:()=>Promise.resolve().then(function(){return ev}),"user-check":()=>Promise.resolve().then(function(){return sv}),"user-circle":()=>Promise.resolve().then(function(){return av}),"user-pause":()=>Promise.resolve().then(function(){return nv}),"user-square":()=>Promise.resolve().then(function(){return lv}),users:()=>Promise.resolve().then(function(){return cv}),"video-recorder":()=>Promise.resolve().then(function(){return pv}),"volume-max":()=>Promise.resolve().then(function(){return gv}),"volume-x":()=>Promise.resolve().then(function(){return mv}),"window-dash":()=>Promise.resolve().then(function(){return bv}),"window-desktop":()=>Promise.resolve().then(function(){return yv}),"window-dock":()=>Promise.resolve().then(function(){return xv}),"window-fullscreen":()=>Promise.resolve().then(function(){return Cv}),"window-plus":()=>Promise.resolve().then(function(){return Sv}),"window-sidebar":()=>Promise.resolve().then(function(){return Zv}),"window-split":()=>Promise.resolve().then(function(){return zv}),"window-stack":()=>Promise.resolve().then(function(){return Av}),"window-x":()=>Promise.resolve().then(function(){return Iv}),window:()=>Promise.resolve().then(function(){return Ev}),"xcircle-fill":()=>Promise.resolve().then(function(){return Bv}),xcircle:()=>Promise.resolve().then(function(){return Tv}),youtube:()=>Promise.resolve().then(function(){return Rv}),"zoom-in":()=>Promise.resolve().then(function(){return jv}),"zoom-out":()=>Promise.resolve().then(function(){return qv})};var wt=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 yt=new Map;class _t extends Be{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(yt.has(e))return void(this._icon=yt.get(e));const t=bt[e];if(!t)return console.warn(`Icon not found: ${e}`),void(this._icon=void 0);try{const s=await t();yt.set(e,s.default),this._icon=s.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:ie}}_t.styles=[...Be.styles,wt],e([Ve({type:String,reflect:!0})],_t.prototype,"name",void 0),e([Ve({type:String,reflect:!0})],_t.prototype,"size",void 0),e([Ve({type:String})],_t.prototype,"ariaLabel",void 0),e([ze()],_t.prototype,"_icon",void 0);var xt=n`:host([variant=success]) .alert{background-color:var(--sgds-success-surface-default)}:host([variant=warning]) .alert{--sgds-alert-color:var(--sgds-color-fixed-dark);background-color:var(--sgds-warning-surface-default)}:host([variant=danger]) .alert{background-color:var(--sgds-danger-surface-default)}:host([variant=neutral]) .alert{background-color:var(--sgds-neutral-surface-emphasis)}:host([variant=success][outlined]) .alert{background-color:var(--sgds-success-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-success-border-color-muted)}:host([variant=warning][outlined]) .alert{background-color:var(--sgds-warning-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-warning-border-color-muted)}:host([variant=danger][outlined]) .alert{background-color:var(--sgds-danger-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-danger-border-color-muted)}:host([variant=neutral][outlined]) .alert{background-color:var(--sgds-neutral-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-neutral-border-color-muted)}:host([outlined]) .alert-icon__outlined::slotted(*){color:var(--sgds-primary-color-fixed-dark)}:host([variant=success][outlined]) .alert-icon__outlined::slotted(*){color:var(--sgds-success-color-fixed-dark)}:host([variant=warning][outlined]) .alert-icon__outlined::slotted(*){color:var(--sgds-warning-color-fixed-light)}:host([variant=danger][outlined]) .alert-icon__outlined::slotted(*){color:var(--sgds-danger-color-fixed-dark)}:host([variant=neutral][outlined]) .alert-icon__outlined::slotted(*){color:var(--sgds-color-fixed-dark)}.alert{--sgds-alert-color:var(--sgds-color-fixed-light);background-color:var(--sgds-primary-surface-default);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--sgds-border-radius-md);color:var(--sgds-alert-color);display:flex;flex-direction:row;gap:var(--sgds-gap-sm);padding:var(--sgds-padding-lg);position:relative}.alert.outlined{--sgds-alert-color:var(--sgds-color-fixed-dark);background-color:var(--sgds-primary-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-primary-border-color-muted)}.alert-content{align-items:flex-start;display:flex;flex:1 0 0;flex-direction:column;gap:var(--sgds-gap-md);padding-right:var(--sgds-padding-2-xl)}.alert-content__upper{display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs)}.alert-title{font-size:var(--sgds-font-size-subtitle-sm);font-style:normal;font-weight:var(--sgds-font-weight-semibold);line-height:var(--sgds-line-height-2-xs)}.alert-content__description{display:inline;font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-2-xs)}.alert-content__description::slotted(*){font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-2-xs)}.alert-content__description::slotted(a),.alert-content__description::slotted(a:hover){color:inherit!important}.alert-content__description::slotted(a:focus-visible){outline:var(--sgds-outline-focus)!important;outline-offset:var(--sgds-outline-offset-focus)!important}.alert sgds-close-button{position:absolute;right:14px;top:14px}`;class kt extends Be{constructor(){super(...arguments),this.show=!1,this.dismissible=!1,this.variant="info",this.outlined=!1,this.title=""}close(){this.show=!1}_handleShowChange(){this.show?this.emit("sgds-show"):this.emit("sgds-hide")}render(){return this.dismissible&&this.show||!this.dismissible?gt`
|
|
115
115
|
<div
|
|
116
116
|
class="${We({alert:!0,show:this.show,"alert-dismissible":this.dismissible,outlined:this.outlined})}"
|
|
117
117
|
role="alert"
|
|
@@ -131,24 +131,24 @@ const ct=Symbol.for(""),ht=e=>{if(e?.r===ct)return e?._$litStatic$},pt=(e,...t)=
|
|
|
131
131
|
tone=${this.outlined||"warning"===this.variant?"fixed-dark":"fixed-light"}
|
|
132
132
|
></sgds-close-button>`:ie}
|
|
133
133
|
</div>
|
|
134
|
-
`:ie}}kt.styles=[...Be.styles,xt],kt.dependencies={"sgds-close-button":ft,"sgds-icon":_t},e([
|
|
134
|
+
`:ie}}kt.styles=[...Be.styles,xt],kt.dependencies={"sgds-close-button":ft,"sgds-icon":_t},e([Ve({type:Boolean,reflect:!0})],kt.prototype,"show",void 0),e([Ve({type:Boolean,reflect:!0})],kt.prototype,"dismissible",void 0),e([Ve({type:String,reflect:!0})],kt.prototype,"variant",void 0),e([Ve({type:Boolean,reflect:!0})],kt.prototype,"outlined",void 0),e([Ve({type:String,reflect:!0})],kt.prototype,"title",void 0),e([ot("show")],kt.prototype,"_handleShowChange",null);var Ct=n`:host{cursor:pointer;display:inline-block}.alert-link,.alert-link:hover{color:var(--sgds-alert-color);font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-2-xs);text-decoration-line:underline}.alert-link:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}`,$t=n`::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}`;class St extends Be{render(){return gt`
|
|
135
135
|
<a class="alert-link" href=${Ke(this.href)} target=${Ke(this.target)} tabindex="0"><slot></slot></a>
|
|
136
|
-
`}}St.styles=[...Be.styles,$t,Ct],e([
|
|
136
|
+
`}}St.styles=[...Be.styles,$t,Ct],e([Ve({type:String,reflect:!0})],St.prototype,"href",void 0),e([Ve()],St.prototype,"target",void 0),lt("sgds-alert",kt),lt("sgds-alert-link",St);var Mt=n`:host{cursor:default;display:inline-flex;max-width:100%}:host([variant=accent]) .badge{background-color:var(--sgds-accent-surface-default)}:host([variant=success]) .badge{background-color:var(--sgds-success-surface-default)}:host([variant=danger]) .badge{background-color:var(--sgds-danger-surface-default)}:host([variant=warning]) .badge{background-color:var(--sgds-warning-surface-default);color:var(--sgds-color-fixed-dark)}:host([variant=cyan]) .badge{background-color:var(--sgds-cyan-surface-default)}:host([variant=purple]) .badge{background-color:var(--sgds-purple-surface-default)}:host([variant=neutral]) .badge{background-color:var(--sgds-neutral-surface-default)}:host([variant=white]) .badge{background-color:var(--sgds-surface-fixed-light);color:var(--sgds-color-fixed-dark)}:host([variant=accent][outlined]) .badge{background-color:var(--sgds-accent-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-accent-border-color-muted);color:var(--sgds-accent-color-fixed-dark)}:host([variant=success][outlined]) .badge{background-color:var(--sgds-success-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-success-border-color-muted);color:var(--sgds-success-color-fixed-dark)}:host([variant=danger][outlined]) .badge{background-color:var(--sgds-danger-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-danger-border-color-muted);color:var(--sgds-danger-color-fixed-dark)}:host([variant=warning][outlined]) .badge{background-color:var(--sgds-warning-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-warning-border-color-muted);color:var(--sgds-warning-color-fixed-dark)}:host([variant=cyan][outlined]) .badge{background-color:var(--sgds-cyan-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-cyan-border-color-muted);color:var(--sgds-cyan-color-fixed-dark)}:host([variant=purple][outlined]) .badge{background-color:var(--sgds-purple-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-purple-border-color-muted);color:var(--sgds-purple-color-fixed-dark)}:host([variant=neutral][outlined]) .badge{background-color:var(--sgds-neutral-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-neutral-border-color-muted);color:var(--sgds-color-fixed-dark)}:host([variant=white][outlined]) .badge{background-color:var(--sgds-surface-fixed-light);border:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);color:var(--sgds-color-fixed-dark)}sgds-tooltip{display:block;max-width:100%}.badge{align-items:center;background-color:var(--sgds-primary-surface-default);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--sgds-border-radius-sm);color:var(--sgds-color-fixed-light);display:inline-flex;font-size:var(--sgds-font-size-label-xs);height:var(--sgds-dimension-24,24px);justify-content:center;line-height:var(--sgds-line-height-3-xs);max-width:var(--sgds-dimension-192,192px);min-width:var(--sgds-dimension-24);padding:var(--sgds-padding-none) var(--sgds-padding-xs)}.badge.outlined{background-color:var(--sgds-primary-surface-muted);border:var(--sgds-border-width-1) solid var(--sgds-primary-border-color-muted);color:var(--sgds-primary-color-fixed-dark)}.badge.full-width{max-width:100%}.badge-label{overflow:hidden;padding:var(--sgds-padding-none) var(--sgds-padding-3-xs);text-overflow:ellipsis;white-space:nowrap}.badge-dismissible{padding-right:0}.badge-dimissible sgds-close-button{--sgds-close-btn-border-radius:var(--sgds-border-radius-sm)}slot::slotted(*){color:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;margin:inherit!important}`
|
|
137
137
|
/**
|
|
138
138
|
* @license
|
|
139
139
|
* Copyright 2020 Google LLC
|
|
140
140
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
141
|
-
*/;const{_ChildPart:Zt}=be,
|
|
141
|
+
*/;const{_ChildPart:Zt}=be,Vt=window.ShadyDOM?.inUse&&!0===window.ShadyDOM?.noPatch?window.ShadyDOM.wrap:e=>e,zt=e=>void 0===e.strings,Pt=()=>document.createComment(""),At=(e,t,s)=>{const i=Vt(e._$startNode).parentNode,a=void 0===t?e._$endNode:t._$startNode;if(void 0===s){const t=Vt(i).insertBefore(Pt(),a),o=Vt(i).insertBefore(Pt(),a);s=new Zt(t,o,e,e.options)}else{const t=Vt(s._$endNode).nextSibling,o=s._$parent,n=o!==e;if(n){let t;s._$reparentDisconnectables?.(e),s._$parent=e,void 0!==s._$notifyConnectionChanged&&(t=e._$isConnected)!==o._$isConnected&&s._$notifyConnectionChanged(t)}if(t!==a||n){let e=s._$startNode;for(;e!==t;){const t=Vt(e).nextSibling;Vt(i).insertBefore(e,a),e=t}}}return s},Lt=(e,t,s=e)=>(e._$setValue(t,s),e),It={},Dt=(e,t=It)=>e._$committedValue=t,Et=e=>{e._$clear(),e._$startNode.remove()},Ht=(e,t)=>{const s=e._$disconnectableChildren;if(void 0===s)return!1;for(const e of s)e._$notifyDirectiveConnectionChanged?.(t,!1),Ht(e,t);return!0},Bt=e=>{let t,s;do{if(void 0===(t=e._$parent))break;s=t._$disconnectableChildren,s.delete(e),e=t}while(0===s?.size)},Ot=e=>{for(let t;t=e._$parent;e=t){let s=t._$disconnectableChildren;if(void 0===s)t._$disconnectableChildren=s=new Set;else if(s.has(e))break;s.add(e),Rt(t)}};function Tt(e){void 0!==this._$disconnectableChildren?(Bt(this),this._$parent=e,Ot(this)):this._$parent=e}function Ft(e,t=!1,s=0){const i=this._$committedValue,a=this._$disconnectableChildren;if(void 0!==a&&0!==a.size)if(t)if(Array.isArray(i))for(let e=s;e<i.length;e++)Ht(i[e],!1),Bt(i[e]);else null!=i&&(Ht(i,!1),Bt(i));else Ht(this,e)}const Rt=e=>{e.type==Ne&&(e._$notifyConnectionChanged??=Ft,e._$reparentDisconnectables??=Tt)};class Nt extends Ye{constructor(){super(...arguments),this._$disconnectableChildren=void 0}_$initialize(e,t,s){super._$initialize(e,t,s),Ot(this),this.isConnected=e._$isConnected}_$notifyDirectiveConnectionChanged(e,t=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),t&&(Ht(this,e),Bt(this))}setValue(e){if(zt(this.__part))this.__part._$setValue(e,this);else{if(void 0===this.__attributeIndex)throw new Error("Expected this.__attributeIndex to be a number");const t=[...this.__part._$committedValue];t[this.__attributeIndex]=e,this.__part._$setValue(t,this,0)}}disconnected(){}reconnected(){}}
|
|
142
142
|
/**
|
|
143
143
|
* @license
|
|
144
144
|
* Copyright 2020 Google LLC
|
|
145
145
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
146
|
-
*/const Rt=()=>new Ut;class Ut{}const qt=new WeakMap;const Yt=qe(class extends Nt{render(e){return ie}update(e,[t]){const s=t!==this._ref;return s&&void 0!==this._ref&&this._updateRefValue(void 0),(s||this._lastElementForRef!==this._element)&&(this._ref=t,this._context=e.options?.host,this._updateRefValue(this._element=e.element)),ie}_updateRefValue(e){if(this.isConnected||(e=void 0),"function"==typeof this._ref){const t=this._context??globalThis;let s=qt.get(t);void 0===s&&(s=new WeakMap,qt.set(t,s)),void 0!==s.get(this._ref)&&this._ref.call(this._context,void 0),s.set(this._ref,e),void 0!==e&&this._ref.call(this._context,e)}else this._ref.value=e}get _lastElementForRef(){return"function"==typeof this._ref?qt.get(this._context??globalThis)?.get(this._ref):this._ref?.value}disconnected(){this._lastElementForRef===this._element&&this._updateRefValue(void 0)}reconnected(){this._updateRefValue(this._element)}}),Wt=["top","right","bottom","left"],Kt=Math.min,Gt=Math.max,Jt=Math.round,Xt=Math.floor,Qt=e=>({x:e,y:e}),es={left:"right",right:"left",bottom:"top",top:"bottom"},ts={start:"end",end:"start"};function ss(e,t,s){return Gt(e,Kt(t,s))}function is(e,t){return"function"==typeof e?e(t):e}function as(e){return e.split("-")[0]}function os(e){return e.split("-")[1]}function ns(e){return"x"===e?"y":"x"}function rs(e){return"y"===e?"height":"width"}const ls=new Set(["top","bottom"]);function ds(e){return ls.has(as(e))?"y":"x"}function cs(e){return ns(ds(e))}function hs(e,t,s){void 0===s&&(s=!1);const i=os(e),a=cs(e),o=rs(a);let n="x"===a?i===(s?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[o]>t.floating[o]&&(n=bs(n)),[n,bs(n)]}function ps(e){return e.replace(/start|end/g,e=>ts[e])}const us=["left","right"],gs=["right","left"],vs=["top","bottom"],ms=["bottom","top"];function fs(e,t,s,i){const a=os(e);let o=function(e,t,s){switch(e){case"top":case"bottom":return s?t?gs:us:t?us:gs;case"left":case"right":return t?vs:ms;default:return[]}}(as(e),"start"===s,i);return a&&(o=o.map(e=>e+"-"+a),t&&(o=o.concat(o.map(ps)))),o}function bs(e){return e.replace(/left|right|bottom|top/g,e=>es[e])}function ws(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function ys(e){const{x:t,y:s,width:i,height:a}=e;return{width:i,height:a,top:s,left:t,right:t+i,bottom:s+a,x:t,y:s}}function _s(e,t,s){let{reference:i,floating:a}=e;const o=ds(t),n=cs(t),r=rs(n),l=as(t),d="y"===o,c=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2,p=i[r]/2-a[r]/2;let u;switch(l){case"top":u={x:c,y:i.y-a.height};break;case"bottom":u={x:c,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:h};break;case"left":u={x:i.x-a.width,y:h};break;default:u={x:i.x,y:i.y}}switch(os(t)){case"start":u[n]-=p*(s&&d?-1:1);break;case"end":u[n]+=p*(s&&d?-1:1)}return u}async function xs(e,t){var s;void 0===t&&(t={});const{x:i,y:a,platform:o,rects:n,elements:r,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:p=!1,padding:u=0}=is(t,e),g=ws(u),v=r[p?"floating"===h?"reference":"floating":h],m=ys(await o.getClippingRect({element:null==(s=await(null==o.isElement?void 0:o.isElement(v)))||s?v:v.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(r.floating)),boundary:d,rootBoundary:c,strategy:l})),f="floating"===h?{x:i,y:a,width:n.floating.width,height:n.floating.height}:n.reference,b=await(null==o.getOffsetParent?void 0:o.getOffsetParent(r.floating)),w=await(null==o.isElement?void 0:o.isElement(b))&&await(null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},y=ys(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:f,offsetParent:b,strategy:l}):f);return{top:(m.top-y.top+g.top)/w.y,bottom:(y.bottom-m.bottom+g.bottom)/w.y,left:(m.left-y.left+g.left)/w.x,right:(y.right-m.right+g.right)/w.x}}function ks(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Cs(e){return Wt.some(t=>e[t]>=0)}const $s=new Set(["left","top"]);function Ss(){return"undefined"!=typeof window}function Ms(e){return Vs(e)?(e.nodeName||"").toLowerCase():"#document"}function Zs(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function zs(e){var t;return null==(t=(Vs(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Vs(e){return!!Ss()&&(e instanceof Node||e instanceof Zs(e).Node)}function As(e){return!!Ss()&&(e instanceof Element||e instanceof Zs(e).Element)}function Ls(e){return!!Ss()&&(e instanceof HTMLElement||e instanceof Zs(e).HTMLElement)}function Is(e){return!(!Ss()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Zs(e).ShadowRoot)}const Ps=new Set(["inline","contents"]);function Ds(e){const{overflow:t,overflowX:s,overflowY:i,display:a}=Ys(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+s)&&!Ps.has(a)}const Es=new Set(["table","td","th"]);function Hs(e){return Es.has(Ms(e))}const Bs=[":popover-open",":modal"];function Os(e){return Bs.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const Ts=["transform","translate","scale","rotate","perspective"],Fs=["transform","translate","scale","rotate","perspective","filter"],js=["paint","layout","strict","content"];function Ns(e){const t=Rs(),s=As(e)?Ys(e):e;return Ts.some(e=>!!s[e]&&"none"!==s[e])||!!s.containerType&&"normal"!==s.containerType||!t&&!!s.backdropFilter&&"none"!==s.backdropFilter||!t&&!!s.filter&&"none"!==s.filter||Fs.some(e=>(s.willChange||"").includes(e))||js.some(e=>(s.contain||"").includes(e))}function Rs(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Us=new Set(["html","body","#document"]);function qs(e){return Us.has(Ms(e))}function Ys(e){return Zs(e).getComputedStyle(e)}function Ws(e){return As(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ks(e){if("html"===Ms(e))return e;const t=e.assignedSlot||e.parentNode||Is(e)&&e.host||zs(e);return Is(t)?t.host:t}function Gs(e){const t=Ks(e);return qs(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ls(t)&&Ds(t)?t:Gs(t)}function Js(e,t,s){var i;void 0===t&&(t=[]),void 0===s&&(s=!0);const a=Gs(e),o=a===(null==(i=e.ownerDocument)?void 0:i.body),n=Zs(a);if(o){const e=Xs(n);return t.concat(n,n.visualViewport||[],Ds(a)?a:[],e&&s?Js(e):[])}return t.concat(a,Js(a,[],s))}function Xs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Qs(e){const t=Ys(e);let s=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const a=Ls(e),o=a?e.offsetWidth:s,n=a?e.offsetHeight:i,r=Jt(s)!==o||Jt(i)!==n;return r&&(s=o,i=n),{width:s,height:i,$:r}}function ei(e){return As(e)?e:e.contextElement}function ti(e){const t=ei(e);if(!Ls(t))return Qt(1);const s=t.getBoundingClientRect(),{width:i,height:a,$:o}=Qs(t);let n=(o?Jt(s.width):s.width)/i,r=(o?Jt(s.height):s.height)/a;return n&&Number.isFinite(n)||(n=1),r&&Number.isFinite(r)||(r=1),{x:n,y:r}}const si=Qt(0);function ii(e){const t=Zs(e);return Rs()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:si}function ai(e,t,s,i){void 0===t&&(t=!1),void 0===s&&(s=!1);const a=e.getBoundingClientRect(),o=ei(e);let n=Qt(1);t&&(i?As(i)&&(n=ti(i)):n=ti(e));const r=function(e,t,s){return void 0===t&&(t=!1),!(!s||t&&s!==Zs(e))&&t}(o,s,i)?ii(o):Qt(0);let l=(a.left+r.x)/n.x,d=(a.top+r.y)/n.y,c=a.width/n.x,h=a.height/n.y;if(o){const e=Zs(o),t=i&&As(i)?Zs(i):i;let s=e,a=Xs(s);for(;a&&i&&t!==s;){const e=ti(a),t=a.getBoundingClientRect(),i=Ys(a),o=t.left+(a.clientLeft+parseFloat(i.paddingLeft))*e.x,n=t.top+(a.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,d*=e.y,c*=e.x,h*=e.y,l+=o,d+=n,s=Zs(a),a=Xs(s)}}return ys({width:c,height:h,x:l,y:d})}function oi(e,t){const s=Ws(e).scrollLeft;return t?t.left+s:ai(zs(e)).left+s}function ni(e,t){const s=e.getBoundingClientRect();return{x:s.left+t.scrollLeft-oi(e,s),y:s.top+t.scrollTop}}const ri=new Set(["absolute","fixed"]);function li(e,t,s){let i;if("viewport"===t)i=function(e,t){const s=Zs(e),i=zs(e),a=s.visualViewport;let o=i.clientWidth,n=i.clientHeight,r=0,l=0;if(a){o=a.width,n=a.height;const e=Rs();(!e||e&&"fixed"===t)&&(r=a.offsetLeft,l=a.offsetTop)}const d=oi(i);if(d<=0){const e=i.ownerDocument,t=e.body,s=getComputedStyle(t),a="CSS1Compat"===e.compatMode&&parseFloat(s.marginLeft)+parseFloat(s.marginRight)||0,n=Math.abs(i.clientWidth-t.clientWidth-a);n<=25&&(o-=n)}else d<=25&&(o+=d);return{width:o,height:n,x:r,y:l}}(e,s);else if("document"===t)i=function(e){const t=zs(e),s=Ws(e),i=e.ownerDocument.body,a=Gt(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=Gt(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let n=-s.scrollLeft+oi(e);const r=-s.scrollTop;return"rtl"===Ys(i).direction&&(n+=Gt(t.clientWidth,i.clientWidth)-a),{width:a,height:o,x:n,y:r}}(zs(e));else if(As(t))i=function(e,t){const s=ai(e,!0,"fixed"===t),i=s.top+e.clientTop,a=s.left+e.clientLeft,o=Ls(e)?ti(e):Qt(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:a*o.x,y:i*o.y}}(t,s);else{const s=ii(e);i={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return ys(i)}function di(e,t){const s=Ks(e);return!(s===t||!As(s)||qs(s))&&("fixed"===Ys(s).position||di(s,t))}function ci(e,t,s){const i=Ls(t),a=zs(t),o="fixed"===s,n=ai(e,!0,o,t);let r={scrollLeft:0,scrollTop:0};const l=Qt(0);function d(){l.x=oi(a)}if(i||!i&&!o)if(("body"!==Ms(t)||Ds(a))&&(r=Ws(t)),i){const e=ai(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&d();o&&!i&&a&&d();const c=!a||i||o?Qt(0):ni(a,r);return{x:n.left+r.scrollLeft-l.x-c.x,y:n.top+r.scrollTop-l.y-c.y,width:n.width,height:n.height}}function hi(e){return"static"===Ys(e).position}function pi(e,t){if(!Ls(e)||"fixed"===Ys(e).position)return null;if(t)return t(e);let s=e.offsetParent;return zs(e)===s&&(s=s.ownerDocument.body),s}function ui(e,t){const s=Zs(e);if(Os(e))return s;if(!Ls(e)){let t=Ks(e);for(;t&&!qs(t);){if(As(t)&&!hi(t))return t;t=Ks(t)}return s}let i=pi(e,t);for(;i&&Hs(i)&&hi(i);)i=pi(i,t);return i&&qs(i)&&hi(i)&&!Ns(i)?s:i||function(e){let t=Ks(e);for(;Ls(t)&&!qs(t);){if(Ns(t))return t;if(Os(t))return null;t=Ks(t)}return null}(e)||s}const gi={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:s,offsetParent:i,strategy:a}=e;const o="fixed"===a,n=zs(i),r=!!t&&Os(t.floating);if(i===n||r&&o)return s;let l={scrollLeft:0,scrollTop:0},d=Qt(1);const c=Qt(0),h=Ls(i);if((h||!h&&!o)&&(("body"!==Ms(i)||Ds(n))&&(l=Ws(i)),Ls(i))){const e=ai(i);d=ti(i),c.x=e.x+i.clientLeft,c.y=e.y+i.clientTop}const p=!n||h||o?Qt(0):ni(n,l);return{width:s.width*d.x,height:s.height*d.y,x:s.x*d.x-l.scrollLeft*d.x+c.x+p.x,y:s.y*d.y-l.scrollTop*d.y+c.y+p.y}},getDocumentElement:zs,getClippingRect:function(e){let{element:t,boundary:s,rootBoundary:i,strategy:a}=e;const o=[..."clippingAncestors"===s?Os(t)?[]:function(e,t){const s=t.get(e);if(s)return s;let i=Js(e,[],!1).filter(e=>As(e)&&"body"!==Ms(e)),a=null;const o="fixed"===Ys(e).position;let n=o?Ks(e):e;for(;As(n)&&!qs(n);){const t=Ys(n),s=Ns(n);s||"fixed"!==t.position||(a=null),(o?!s&&!a:!s&&"static"===t.position&&a&&ri.has(a.position)||Ds(n)&&!s&&di(e,n))?i=i.filter(e=>e!==n):a=t,n=Ks(n)}return t.set(e,i),i}(t,this._c):[].concat(s),i],n=o[0],r=o.reduce((e,s)=>{const i=li(t,s,a);return e.top=Gt(i.top,e.top),e.right=Kt(i.right,e.right),e.bottom=Kt(i.bottom,e.bottom),e.left=Gt(i.left,e.left),e},li(t,n,a));return{width:r.right-r.left,height:r.bottom-r.top,x:r.left,y:r.top}},getOffsetParent:ui,getElementRects:async function(e){const t=this.getOffsetParent||ui,s=this.getDimensions,i=await s(e.floating);return{reference:ci(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:s}=Qs(e);return{width:t,height:s}},getScale:ti,isElement:As,isRTL:function(e){return"rtl"===Ys(e).direction}};function vi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mi(e,t,s,i){void 0===i&&(i={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:n="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,d=ei(e),c=a||o?[...d?Js(d):[],...Js(t)]:[];c.forEach(e=>{a&&e.addEventListener("scroll",s,{passive:!0}),o&&e.addEventListener("resize",s)});const h=d&&r?function(e,t){let s,i=null;const a=zs(e);function o(){var e;clearTimeout(s),null==(e=i)||e.disconnect(),i=null}return function n(r,l){void 0===r&&(r=!1),void 0===l&&(l=1),o();const d=e.getBoundingClientRect(),{left:c,top:h,width:p,height:u}=d;if(r||t(),!p||!u)return;const g={rootMargin:-Xt(h)+"px "+-Xt(a.clientWidth-(c+p))+"px "+-Xt(a.clientHeight-(h+u))+"px "+-Xt(c)+"px",threshold:Gt(0,Kt(1,l))||1};let v=!0;function m(t){const i=t[0].intersectionRatio;if(i!==l){if(!v)return n();i?n(!1,i):s=setTimeout(()=>{n(!1,1e-7)},1e3)}1!==i||vi(d,e.getBoundingClientRect())||n(),v=!1}try{i=new IntersectionObserver(m,{...g,root:a.ownerDocument})}catch(e){i=new IntersectionObserver(m,g)}i.observe(e)}(!0),o}(d,s):null;let p,u=-1,g=null;n&&(g=new ResizeObserver(e=>{let[i]=e;i&&i.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),s()}),d&&!l&&g.observe(d),g.observe(t));let v=l?ai(e):null;return l&&function t(){const i=ai(e);v&&!vi(v,i)&&s();v=i,p=requestAnimationFrame(t)}(),s(),()=>{var e;c.forEach(e=>{a&&e.removeEventListener("scroll",s),o&&e.removeEventListener("resize",s)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,l&&cancelAnimationFrame(p)}}const fi=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var s,i;const{x:a,y:o,placement:n,middlewareData:r}=t,l=await async function(e,t){const{placement:s,platform:i,elements:a}=e,o=await(null==i.isRTL?void 0:i.isRTL(a.floating)),n=as(s),r=os(s),l="y"===ds(s),d=$s.has(n)?-1:1,c=o&&l?-1:1,h=is(t,e);let{mainAxis:p,crossAxis:u,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return r&&"number"==typeof g&&(u="end"===r?-1*g:g),l?{x:u*c,y:p*d}:{x:p*d,y:u*c}}(t,e);return n===(null==(s=r.offset)?void 0:s.placement)&&null!=(i=r.arrow)&&i.alignmentOffset?{}:{x:a+l.x,y:o+l.y,data:{...l,placement:n}}}}},bi=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:s,y:i,placement:a}=t,{mainAxis:o=!0,crossAxis:n=!1,limiter:r={fn:e=>{let{x:t,y:s}=e;return{x:t,y:s}}},...l}=is(e,t),d={x:s,y:i},c=await xs(t,l),h=ds(as(a)),p=ns(h);let u=d[p],g=d[h];if(o){const e="y"===p?"bottom":"right";u=ss(u+c["y"===p?"top":"left"],u,u-c[e])}if(n){const e="y"===h?"bottom":"right";g=ss(g+c["y"===h?"top":"left"],g,g-c[e])}const v=r.fn({...t,[p]:u,[h]:g});return{...v,data:{x:v.x-s,y:v.y-i,enabled:{[p]:o,[h]:n}}}}}},wi=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var s,i;const{placement:a,middlewareData:o,rects:n,initialPlacement:r,platform:l,elements:d}=t,{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...m}=is(e,t);if(null!=(s=o.arrow)&&s.alignmentOffset)return{};const f=as(a),b=ds(r),w=as(r)===r,y=await(null==l.isRTL?void 0:l.isRTL(d.floating)),_=p||(w||!v?[bs(r)]:function(e){const t=bs(e);return[ps(e),t,ps(t)]}(r)),x="none"!==g;!p&&x&&_.push(...fs(r,v,g,y));const k=[r,..._],C=await xs(t,m),$=[];let S=(null==(i=o.flip)?void 0:i.overflows)||[];if(c&&$.push(C[f]),h){const e=hs(a,n,y);$.push(C[e[0]],C[e[1]])}if(S=[...S,{placement:a,overflows:$}],!$.every(e=>e<=0)){var M,Z;const e=((null==(M=o.flip)?void 0:M.index)||0)+1,t=k[e];if(t){if(!("alignment"===h&&b!==ds(t))||S.every(e=>ds(e.placement)!==b||e.overflows[0]>0))return{data:{index:e,overflows:S},reset:{placement:t}}}let s=null==(Z=S.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:Z.placement;if(!s)switch(u){case"bestFit":{var z;const e=null==(z=S.filter(e=>{if(x){const t=ds(e.placement);return t===b||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:z[0];e&&(s=e);break}case"initialPlacement":s=r}if(a!==s)return{reset:{placement:s}}}return{}}}},yi=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var s,i;const{placement:a,rects:o,platform:n,elements:r}=t,{apply:l=()=>{},...d}=is(e,t),c=await xs(t,d),h=as(a),p=os(a),u="y"===ds(a),{width:g,height:v}=o.floating;let m,f;"top"===h||"bottom"===h?(m=h,f=p===(await(null==n.isRTL?void 0:n.isRTL(r.floating))?"start":"end")?"left":"right"):(f=h,m="end"===p?"top":"bottom");const b=v-c.top-c.bottom,w=g-c.left-c.right,y=Kt(v-c[m],b),_=Kt(g-c[f],w),x=!t.middlewareData.shift;let k=y,C=_;if(null!=(s=t.middlewareData.shift)&&s.enabled.x&&(C=w),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(k=b),x&&!p){const e=Gt(c.left,0),t=Gt(c.right,0),s=Gt(c.top,0),i=Gt(c.bottom,0);u?C=g-2*(0!==e||0!==t?e+t:Gt(c.left,c.right)):k=v-2*(0!==s||0!==i?s+i:Gt(c.top,c.bottom))}await l({...t,availableWidth:C,availableHeight:k});const $=await n.getDimensions(r.floating);return g!==$.width||v!==$.height?{reset:{rects:!0}}:{}}}},_i=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:s}=t,{strategy:i="referenceHidden",...a}=is(e,t);switch(i){case"referenceHidden":{const e=ks(await xs(t,{...a,elementContext:"reference"}),s.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Cs(e)}}}case"escaped":{const e=ks(await xs(t,{...a,altBoundary:!0}),s.floating);return{data:{escapedOffsets:e,escaped:Cs(e)}}}default:return{}}}}},xi=(e,t,s)=>{const i=new Map,a={platform:gi,...s},o={...a.platform,_c:i};return(async(e,t,s)=>{const{placement:i="bottom",strategy:a="absolute",middleware:o=[],platform:n}=s,r=o.filter(Boolean),l=await(null==n.isRTL?void 0:n.isRTL(t));let d=await n.getElementRects({reference:e,floating:t,strategy:a}),{x:c,y:h}=_s(d,i,l),p=i,u={},g=0;for(let s=0;s<r.length;s++){const{name:o,fn:v}=r[s],{x:m,y:f,data:b,reset:w}=await v({x:c,y:h,initialPlacement:i,placement:p,strategy:a,middlewareData:u,rects:d,platform:n,elements:{reference:e,floating:t}});c=null!=m?m:c,h=null!=f?f:h,u={...u,[o]:{...u[o],...b}},w&&g<=50&&(g++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(d=!0===w.rects?await n.getElementRects({reference:e,floating:t,strategy:a}):w.rects),({x:c,y:h}=_s(d,p,l))),s=-1)}return{x:c,y:h,placement:p,strategy:a,middlewareData:u}})(e,t,{...a,platform:o})};var ki=n`:host{display:contents}.tooltip-placeholder{display:inline-block;max-width:100%}.tooltip{word-wrap:break-word;background-color:var(--sgds-surface-fixed-dark);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 2px 0 rgba(0,0,0,.12),0 8px 16px 0 rgba(0,0,0,.14);color:var(--sgds-color-fixed-light);display:block;font-size:var(--sgds-font-size-label-sm);line-break:auto;max-width:var(--sgds-dimension-320);padding:var(--sgds-padding-xs) var(--sgds-padding-sm);text-align:left;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;z-index:var(--sgds-z-index-overlay)}div{max-width:fit-content}`;class Ci extends Be{constructor(){super(...arguments),this._myTooltip=Rt(),this._tooltipBubble=Rt(),this.content="",this.placement="top",this.trigger="hover focus",this.open=!1,this._handleClickOutOfElement=e=>{this.open&&(e.composedPath().includes(this)||this.hide())}}connectedCallback(){super.connectedCallback(),this.trigger.includes("click")&&document.addEventListener("click",this._handleClickOutOfElement)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleClickOutOfElement),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}firstUpdated(e){super.firstUpdated(e),this._tooltipTargetElements.forEach(e=>{e.setAttribute("data-sgds-tooltip",this.content),this.trigger.includes("hover")&&(e.addEventListener("mouseenter",()=>this.show()),e.addEventListener("mouseleave",()=>this.hide())),this.trigger.includes("focus")&&(e.addEventListener("focus",()=>this.show()),e.addEventListener("blur",()=>this.hide())),"click"===this.trigger&&e.addEventListener("click",()=>this.toggle())})}_handleSlotChange(){this._tooltipTargetElements.forEach(e=>e.setAttribute("data-sgds-tooltip",this.content))}async updateFloatingPosition(){if(!this._myTooltip.value||!this._tooltipBubble.value)return;const{x:e,y:t,placement:s,strategy:i,middlewareData:a}=await xi(this._tooltipTargetElements[0],this._tooltipBubble.value,{strategy:"fixed",placement:this.placement,middleware:[fi(8),wi(),bi(),_i()]});this._tooltipBubble.value.setAttribute("data-placement",s),Object.assign(this._tooltipBubble.value.style,{position:i,left:`${e}px`,top:`${t}px`});const{referenceHidden:o,escaped:n}=a.hide||{};this._tooltipBubble.value.style.visibility=o||n?"hidden":"visible"}async show(){this.open||(this.open=!0,this.emit("sgds-show"),await this.updateComplete,await this.updateFloatingPosition(),this._myTooltip.value&&this._tooltipBubble.value&&(this._cleanupAutoUpdate=mi(this._tooltipTargetElements[0],this._tooltipBubble.value,()=>this.updateFloatingPosition())),this.emit("sgds-after-show"))}hide(){this.open&&(this.emit("sgds-hide"),this.open=!1,this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0),setTimeout(()=>this.emit("sgds-after-hide"),0))}toggle(){this.open?this.hide():this.show()}render(){return ee`
|
|
146
|
+
*/const jt=()=>new Ut;class Ut{}const qt=new WeakMap;const Yt=qe(class extends Nt{render(e){return ie}update(e,[t]){const s=t!==this._ref;return s&&void 0!==this._ref&&this._updateRefValue(void 0),(s||this._lastElementForRef!==this._element)&&(this._ref=t,this._context=e.options?.host,this._updateRefValue(this._element=e.element)),ie}_updateRefValue(e){if(this.isConnected||(e=void 0),"function"==typeof this._ref){const t=this._context??globalThis;let s=qt.get(t);void 0===s&&(s=new WeakMap,qt.set(t,s)),void 0!==s.get(this._ref)&&this._ref.call(this._context,void 0),s.set(this._ref,e),void 0!==e&&this._ref.call(this._context,e)}else this._ref.value=e}get _lastElementForRef(){return"function"==typeof this._ref?qt.get(this._context??globalThis)?.get(this._ref):this._ref?.value}disconnected(){this._lastElementForRef===this._element&&this._updateRefValue(void 0)}reconnected(){this._updateRefValue(this._element)}}),Wt=["top","right","bottom","left"],Kt=Math.min,Gt=Math.max,Jt=Math.round,Xt=Math.floor,Qt=e=>({x:e,y:e}),es={left:"right",right:"left",bottom:"top",top:"bottom"},ts={start:"end",end:"start"};function ss(e,t,s){return Gt(e,Kt(t,s))}function is(e,t){return"function"==typeof e?e(t):e}function as(e){return e.split("-")[0]}function os(e){return e.split("-")[1]}function ns(e){return"x"===e?"y":"x"}function rs(e){return"y"===e?"height":"width"}const ls=new Set(["top","bottom"]);function ds(e){return ls.has(as(e))?"y":"x"}function cs(e){return ns(ds(e))}function hs(e,t,s){void 0===s&&(s=!1);const i=os(e),a=cs(e),o=rs(a);let n="x"===a?i===(s?"end":"start")?"right":"left":"start"===i?"bottom":"top";return t.reference[o]>t.floating[o]&&(n=bs(n)),[n,bs(n)]}function ps(e){return e.replace(/start|end/g,e=>ts[e])}const us=["left","right"],gs=["right","left"],vs=["top","bottom"],ms=["bottom","top"];function fs(e,t,s,i){const a=os(e);let o=function(e,t,s){switch(e){case"top":case"bottom":return s?t?gs:us:t?us:gs;case"left":case"right":return t?vs:ms;default:return[]}}(as(e),"start"===s,i);return a&&(o=o.map(e=>e+"-"+a),t&&(o=o.concat(o.map(ps)))),o}function bs(e){return e.replace(/left|right|bottom|top/g,e=>es[e])}function ws(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function ys(e){const{x:t,y:s,width:i,height:a}=e;return{width:i,height:a,top:s,left:t,right:t+i,bottom:s+a,x:t,y:s}}function _s(e,t,s){let{reference:i,floating:a}=e;const o=ds(t),n=cs(t),r=rs(n),l=as(t),d="y"===o,c=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2,p=i[r]/2-a[r]/2;let u;switch(l){case"top":u={x:c,y:i.y-a.height};break;case"bottom":u={x:c,y:i.y+i.height};break;case"right":u={x:i.x+i.width,y:h};break;case"left":u={x:i.x-a.width,y:h};break;default:u={x:i.x,y:i.y}}switch(os(t)){case"start":u[n]-=p*(s&&d?-1:1);break;case"end":u[n]+=p*(s&&d?-1:1)}return u}async function xs(e,t){var s;void 0===t&&(t={});const{x:i,y:a,platform:o,rects:n,elements:r,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:c="viewport",elementContext:h="floating",altBoundary:p=!1,padding:u=0}=is(t,e),g=ws(u),v=r[p?"floating"===h?"reference":"floating":h],m=ys(await o.getClippingRect({element:null==(s=await(null==o.isElement?void 0:o.isElement(v)))||s?v:v.contextElement||await(null==o.getDocumentElement?void 0:o.getDocumentElement(r.floating)),boundary:d,rootBoundary:c,strategy:l})),f="floating"===h?{x:i,y:a,width:n.floating.width,height:n.floating.height}:n.reference,b=await(null==o.getOffsetParent?void 0:o.getOffsetParent(r.floating)),w=await(null==o.isElement?void 0:o.isElement(b))&&await(null==o.getScale?void 0:o.getScale(b))||{x:1,y:1},y=ys(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:f,offsetParent:b,strategy:l}):f);return{top:(m.top-y.top+g.top)/w.y,bottom:(y.bottom-m.bottom+g.bottom)/w.y,left:(m.left-y.left+g.left)/w.x,right:(y.right-m.right+g.right)/w.x}}function ks(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Cs(e){return Wt.some(t=>e[t]>=0)}const $s=new Set(["left","top"]);function Ss(){return"undefined"!=typeof window}function Ms(e){return zs(e)?(e.nodeName||"").toLowerCase():"#document"}function Zs(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Vs(e){var t;return null==(t=(zs(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function zs(e){return!!Ss()&&(e instanceof Node||e instanceof Zs(e).Node)}function Ps(e){return!!Ss()&&(e instanceof Element||e instanceof Zs(e).Element)}function As(e){return!!Ss()&&(e instanceof HTMLElement||e instanceof Zs(e).HTMLElement)}function Ls(e){return!(!Ss()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Zs(e).ShadowRoot)}const Is=new Set(["inline","contents"]);function Ds(e){const{overflow:t,overflowX:s,overflowY:i,display:a}=Ys(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+s)&&!Is.has(a)}const Es=new Set(["table","td","th"]);function Hs(e){return Es.has(Ms(e))}const Bs=[":popover-open",":modal"];function Os(e){return Bs.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const Ts=["transform","translate","scale","rotate","perspective"],Fs=["transform","translate","scale","rotate","perspective","filter"],Rs=["paint","layout","strict","content"];function Ns(e){const t=js(),s=Ps(e)?Ys(e):e;return Ts.some(e=>!!s[e]&&"none"!==s[e])||!!s.containerType&&"normal"!==s.containerType||!t&&!!s.backdropFilter&&"none"!==s.backdropFilter||!t&&!!s.filter&&"none"!==s.filter||Fs.some(e=>(s.willChange||"").includes(e))||Rs.some(e=>(s.contain||"").includes(e))}function js(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Us=new Set(["html","body","#document"]);function qs(e){return Us.has(Ms(e))}function Ys(e){return Zs(e).getComputedStyle(e)}function Ws(e){return Ps(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ks(e){if("html"===Ms(e))return e;const t=e.assignedSlot||e.parentNode||Ls(e)&&e.host||Vs(e);return Ls(t)?t.host:t}function Gs(e){const t=Ks(e);return qs(t)?e.ownerDocument?e.ownerDocument.body:e.body:As(t)&&Ds(t)?t:Gs(t)}function Js(e,t,s){var i;void 0===t&&(t=[]),void 0===s&&(s=!0);const a=Gs(e),o=a===(null==(i=e.ownerDocument)?void 0:i.body),n=Zs(a);if(o){const e=Xs(n);return t.concat(n,n.visualViewport||[],Ds(a)?a:[],e&&s?Js(e):[])}return t.concat(a,Js(a,[],s))}function Xs(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Qs(e){const t=Ys(e);let s=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const a=As(e),o=a?e.offsetWidth:s,n=a?e.offsetHeight:i,r=Jt(s)!==o||Jt(i)!==n;return r&&(s=o,i=n),{width:s,height:i,$:r}}function ei(e){return Ps(e)?e:e.contextElement}function ti(e){const t=ei(e);if(!As(t))return Qt(1);const s=t.getBoundingClientRect(),{width:i,height:a,$:o}=Qs(t);let n=(o?Jt(s.width):s.width)/i,r=(o?Jt(s.height):s.height)/a;return n&&Number.isFinite(n)||(n=1),r&&Number.isFinite(r)||(r=1),{x:n,y:r}}const si=Qt(0);function ii(e){const t=Zs(e);return js()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:si}function ai(e,t,s,i){void 0===t&&(t=!1),void 0===s&&(s=!1);const a=e.getBoundingClientRect(),o=ei(e);let n=Qt(1);t&&(i?Ps(i)&&(n=ti(i)):n=ti(e));const r=function(e,t,s){return void 0===t&&(t=!1),!(!s||t&&s!==Zs(e))&&t}(o,s,i)?ii(o):Qt(0);let l=(a.left+r.x)/n.x,d=(a.top+r.y)/n.y,c=a.width/n.x,h=a.height/n.y;if(o){const e=Zs(o),t=i&&Ps(i)?Zs(i):i;let s=e,a=Xs(s);for(;a&&i&&t!==s;){const e=ti(a),t=a.getBoundingClientRect(),i=Ys(a),o=t.left+(a.clientLeft+parseFloat(i.paddingLeft))*e.x,n=t.top+(a.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,d*=e.y,c*=e.x,h*=e.y,l+=o,d+=n,s=Zs(a),a=Xs(s)}}return ys({width:c,height:h,x:l,y:d})}function oi(e,t){const s=Ws(e).scrollLeft;return t?t.left+s:ai(Vs(e)).left+s}function ni(e,t){const s=e.getBoundingClientRect();return{x:s.left+t.scrollLeft-oi(e,s),y:s.top+t.scrollTop}}const ri=new Set(["absolute","fixed"]);function li(e,t,s){let i;if("viewport"===t)i=function(e,t){const s=Zs(e),i=Vs(e),a=s.visualViewport;let o=i.clientWidth,n=i.clientHeight,r=0,l=0;if(a){o=a.width,n=a.height;const e=js();(!e||e&&"fixed"===t)&&(r=a.offsetLeft,l=a.offsetTop)}const d=oi(i);if(d<=0){const e=i.ownerDocument,t=e.body,s=getComputedStyle(t),a="CSS1Compat"===e.compatMode&&parseFloat(s.marginLeft)+parseFloat(s.marginRight)||0,n=Math.abs(i.clientWidth-t.clientWidth-a);n<=25&&(o-=n)}else d<=25&&(o+=d);return{width:o,height:n,x:r,y:l}}(e,s);else if("document"===t)i=function(e){const t=Vs(e),s=Ws(e),i=e.ownerDocument.body,a=Gt(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=Gt(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let n=-s.scrollLeft+oi(e);const r=-s.scrollTop;return"rtl"===Ys(i).direction&&(n+=Gt(t.clientWidth,i.clientWidth)-a),{width:a,height:o,x:n,y:r}}(Vs(e));else if(Ps(t))i=function(e,t){const s=ai(e,!0,"fixed"===t),i=s.top+e.clientTop,a=s.left+e.clientLeft,o=As(e)?ti(e):Qt(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:a*o.x,y:i*o.y}}(t,s);else{const s=ii(e);i={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return ys(i)}function di(e,t){const s=Ks(e);return!(s===t||!Ps(s)||qs(s))&&("fixed"===Ys(s).position||di(s,t))}function ci(e,t,s){const i=As(t),a=Vs(t),o="fixed"===s,n=ai(e,!0,o,t);let r={scrollLeft:0,scrollTop:0};const l=Qt(0);function d(){l.x=oi(a)}if(i||!i&&!o)if(("body"!==Ms(t)||Ds(a))&&(r=Ws(t)),i){const e=ai(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else a&&d();o&&!i&&a&&d();const c=!a||i||o?Qt(0):ni(a,r);return{x:n.left+r.scrollLeft-l.x-c.x,y:n.top+r.scrollTop-l.y-c.y,width:n.width,height:n.height}}function hi(e){return"static"===Ys(e).position}function pi(e,t){if(!As(e)||"fixed"===Ys(e).position)return null;if(t)return t(e);let s=e.offsetParent;return Vs(e)===s&&(s=s.ownerDocument.body),s}function ui(e,t){const s=Zs(e);if(Os(e))return s;if(!As(e)){let t=Ks(e);for(;t&&!qs(t);){if(Ps(t)&&!hi(t))return t;t=Ks(t)}return s}let i=pi(e,t);for(;i&&Hs(i)&&hi(i);)i=pi(i,t);return i&&qs(i)&&hi(i)&&!Ns(i)?s:i||function(e){let t=Ks(e);for(;As(t)&&!qs(t);){if(Ns(t))return t;if(Os(t))return null;t=Ks(t)}return null}(e)||s}const gi={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:s,offsetParent:i,strategy:a}=e;const o="fixed"===a,n=Vs(i),r=!!t&&Os(t.floating);if(i===n||r&&o)return s;let l={scrollLeft:0,scrollTop:0},d=Qt(1);const c=Qt(0),h=As(i);if((h||!h&&!o)&&(("body"!==Ms(i)||Ds(n))&&(l=Ws(i)),As(i))){const e=ai(i);d=ti(i),c.x=e.x+i.clientLeft,c.y=e.y+i.clientTop}const p=!n||h||o?Qt(0):ni(n,l);return{width:s.width*d.x,height:s.height*d.y,x:s.x*d.x-l.scrollLeft*d.x+c.x+p.x,y:s.y*d.y-l.scrollTop*d.y+c.y+p.y}},getDocumentElement:Vs,getClippingRect:function(e){let{element:t,boundary:s,rootBoundary:i,strategy:a}=e;const o=[..."clippingAncestors"===s?Os(t)?[]:function(e,t){const s=t.get(e);if(s)return s;let i=Js(e,[],!1).filter(e=>Ps(e)&&"body"!==Ms(e)),a=null;const o="fixed"===Ys(e).position;let n=o?Ks(e):e;for(;Ps(n)&&!qs(n);){const t=Ys(n),s=Ns(n);s||"fixed"!==t.position||(a=null),(o?!s&&!a:!s&&"static"===t.position&&a&&ri.has(a.position)||Ds(n)&&!s&&di(e,n))?i=i.filter(e=>e!==n):a=t,n=Ks(n)}return t.set(e,i),i}(t,this._c):[].concat(s),i],n=o[0],r=o.reduce((e,s)=>{const i=li(t,s,a);return e.top=Gt(i.top,e.top),e.right=Kt(i.right,e.right),e.bottom=Kt(i.bottom,e.bottom),e.left=Gt(i.left,e.left),e},li(t,n,a));return{width:r.right-r.left,height:r.bottom-r.top,x:r.left,y:r.top}},getOffsetParent:ui,getElementRects:async function(e){const t=this.getOffsetParent||ui,s=this.getDimensions,i=await s(e.floating);return{reference:ci(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:s}=Qs(e);return{width:t,height:s}},getScale:ti,isElement:Ps,isRTL:function(e){return"rtl"===Ys(e).direction}};function vi(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mi(e,t,s,i){void 0===i&&(i={});const{ancestorScroll:a=!0,ancestorResize:o=!0,elementResize:n="function"==typeof ResizeObserver,layoutShift:r="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,d=ei(e),c=a||o?[...d?Js(d):[],...Js(t)]:[];c.forEach(e=>{a&&e.addEventListener("scroll",s,{passive:!0}),o&&e.addEventListener("resize",s)});const h=d&&r?function(e,t){let s,i=null;const a=Vs(e);function o(){var e;clearTimeout(s),null==(e=i)||e.disconnect(),i=null}return function n(r,l){void 0===r&&(r=!1),void 0===l&&(l=1),o();const d=e.getBoundingClientRect(),{left:c,top:h,width:p,height:u}=d;if(r||t(),!p||!u)return;const g={rootMargin:-Xt(h)+"px "+-Xt(a.clientWidth-(c+p))+"px "+-Xt(a.clientHeight-(h+u))+"px "+-Xt(c)+"px",threshold:Gt(0,Kt(1,l))||1};let v=!0;function m(t){const i=t[0].intersectionRatio;if(i!==l){if(!v)return n();i?n(!1,i):s=setTimeout(()=>{n(!1,1e-7)},1e3)}1!==i||vi(d,e.getBoundingClientRect())||n(),v=!1}try{i=new IntersectionObserver(m,{...g,root:a.ownerDocument})}catch(e){i=new IntersectionObserver(m,g)}i.observe(e)}(!0),o}(d,s):null;let p,u=-1,g=null;n&&(g=new ResizeObserver(e=>{let[i]=e;i&&i.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),s()}),d&&!l&&g.observe(d),g.observe(t));let v=l?ai(e):null;return l&&function t(){const i=ai(e);v&&!vi(v,i)&&s();v=i,p=requestAnimationFrame(t)}(),s(),()=>{var e;c.forEach(e=>{a&&e.removeEventListener("scroll",s),o&&e.removeEventListener("resize",s)}),null==h||h(),null==(e=g)||e.disconnect(),g=null,l&&cancelAnimationFrame(p)}}const fi=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var s,i;const{x:a,y:o,placement:n,middlewareData:r}=t,l=await async function(e,t){const{placement:s,platform:i,elements:a}=e,o=await(null==i.isRTL?void 0:i.isRTL(a.floating)),n=as(s),r=os(s),l="y"===ds(s),d=$s.has(n)?-1:1,c=o&&l?-1:1,h=is(t,e);let{mainAxis:p,crossAxis:u,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return r&&"number"==typeof g&&(u="end"===r?-1*g:g),l?{x:u*c,y:p*d}:{x:p*d,y:u*c}}(t,e);return n===(null==(s=r.offset)?void 0:s.placement)&&null!=(i=r.arrow)&&i.alignmentOffset?{}:{x:a+l.x,y:o+l.y,data:{...l,placement:n}}}}},bi=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:s,y:i,placement:a}=t,{mainAxis:o=!0,crossAxis:n=!1,limiter:r={fn:e=>{let{x:t,y:s}=e;return{x:t,y:s}}},...l}=is(e,t),d={x:s,y:i},c=await xs(t,l),h=ds(as(a)),p=ns(h);let u=d[p],g=d[h];if(o){const e="y"===p?"bottom":"right";u=ss(u+c["y"===p?"top":"left"],u,u-c[e])}if(n){const e="y"===h?"bottom":"right";g=ss(g+c["y"===h?"top":"left"],g,g-c[e])}const v=r.fn({...t,[p]:u,[h]:g});return{...v,data:{x:v.x-s,y:v.y-i,enabled:{[p]:o,[h]:n}}}}}},wi=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var s,i;const{placement:a,middlewareData:o,rects:n,initialPlacement:r,platform:l,elements:d}=t,{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...m}=is(e,t);if(null!=(s=o.arrow)&&s.alignmentOffset)return{};const f=as(a),b=ds(r),w=as(r)===r,y=await(null==l.isRTL?void 0:l.isRTL(d.floating)),_=p||(w||!v?[bs(r)]:function(e){const t=bs(e);return[ps(e),t,ps(t)]}(r)),x="none"!==g;!p&&x&&_.push(...fs(r,v,g,y));const k=[r,..._],C=await xs(t,m),$=[];let S=(null==(i=o.flip)?void 0:i.overflows)||[];if(c&&$.push(C[f]),h){const e=hs(a,n,y);$.push(C[e[0]],C[e[1]])}if(S=[...S,{placement:a,overflows:$}],!$.every(e=>e<=0)){var M,Z;const e=((null==(M=o.flip)?void 0:M.index)||0)+1,t=k[e];if(t){if(!("alignment"===h&&b!==ds(t))||S.every(e=>ds(e.placement)!==b||e.overflows[0]>0))return{data:{index:e,overflows:S},reset:{placement:t}}}let s=null==(Z=S.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:Z.placement;if(!s)switch(u){case"bestFit":{var V;const e=null==(V=S.filter(e=>{if(x){const t=ds(e.placement);return t===b||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:V[0];e&&(s=e);break}case"initialPlacement":s=r}if(a!==s)return{reset:{placement:s}}}return{}}}},yi=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var s,i;const{placement:a,rects:o,platform:n,elements:r}=t,{apply:l=()=>{},...d}=is(e,t),c=await xs(t,d),h=as(a),p=os(a),u="y"===ds(a),{width:g,height:v}=o.floating;let m,f;"top"===h||"bottom"===h?(m=h,f=p===(await(null==n.isRTL?void 0:n.isRTL(r.floating))?"start":"end")?"left":"right"):(f=h,m="end"===p?"top":"bottom");const b=v-c.top-c.bottom,w=g-c.left-c.right,y=Kt(v-c[m],b),_=Kt(g-c[f],w),x=!t.middlewareData.shift;let k=y,C=_;if(null!=(s=t.middlewareData.shift)&&s.enabled.x&&(C=w),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(k=b),x&&!p){const e=Gt(c.left,0),t=Gt(c.right,0),s=Gt(c.top,0),i=Gt(c.bottom,0);u?C=g-2*(0!==e||0!==t?e+t:Gt(c.left,c.right)):k=v-2*(0!==s||0!==i?s+i:Gt(c.top,c.bottom))}await l({...t,availableWidth:C,availableHeight:k});const $=await n.getDimensions(r.floating);return g!==$.width||v!==$.height?{reset:{rects:!0}}:{}}}},_i=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:s}=t,{strategy:i="referenceHidden",...a}=is(e,t);switch(i){case"referenceHidden":{const e=ks(await xs(t,{...a,elementContext:"reference"}),s.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:Cs(e)}}}case"escaped":{const e=ks(await xs(t,{...a,altBoundary:!0}),s.floating);return{data:{escapedOffsets:e,escaped:Cs(e)}}}default:return{}}}}},xi=(e,t,s)=>{const i=new Map,a={platform:gi,...s},o={...a.platform,_c:i};return(async(e,t,s)=>{const{placement:i="bottom",strategy:a="absolute",middleware:o=[],platform:n}=s,r=o.filter(Boolean),l=await(null==n.isRTL?void 0:n.isRTL(t));let d=await n.getElementRects({reference:e,floating:t,strategy:a}),{x:c,y:h}=_s(d,i,l),p=i,u={},g=0;for(let s=0;s<r.length;s++){const{name:o,fn:v}=r[s],{x:m,y:f,data:b,reset:w}=await v({x:c,y:h,initialPlacement:i,placement:p,strategy:a,middlewareData:u,rects:d,platform:n,elements:{reference:e,floating:t}});c=null!=m?m:c,h=null!=f?f:h,u={...u,[o]:{...u[o],...b}},w&&g<=50&&(g++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(d=!0===w.rects?await n.getElementRects({reference:e,floating:t,strategy:a}):w.rects),({x:c,y:h}=_s(d,p,l))),s=-1)}return{x:c,y:h,placement:p,strategy:a,middlewareData:u}})(e,t,{...a,platform:o})};var ki=n`:host{display:contents}.tooltip-placeholder{display:inline-block;max-width:100%}.tooltip{word-wrap:break-word;background-color:var(--sgds-surface-fixed-dark);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 2px 0 rgba(0,0,0,.12),0 8px 16px 0 rgba(0,0,0,.14);color:var(--sgds-color-fixed-light);display:block;font-size:var(--sgds-font-size-label-sm);line-break:auto;max-width:var(--sgds-dimension-320);padding:var(--sgds-padding-xs) var(--sgds-padding-sm);text-align:left;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;z-index:var(--sgds-z-index-overlay)}div{max-width:fit-content}`;class Ci extends Be{constructor(){super(...arguments),this._myTooltip=jt(),this._tooltipBubble=jt(),this.content="",this.placement="top",this.trigger="hover focus",this.open=!1,this._handleClickOutOfElement=e=>{this.open&&(e.composedPath().includes(this)||this.hide())}}connectedCallback(){super.connectedCallback(),this.trigger.includes("click")&&document.addEventListener("click",this._handleClickOutOfElement)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleClickOutOfElement),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}firstUpdated(e){super.firstUpdated(e),this._tooltipTargetElements.forEach(e=>{e.setAttribute("data-sgds-tooltip",this.content),this.trigger.includes("hover")&&(e.addEventListener("mouseenter",()=>this.show()),e.addEventListener("mouseleave",()=>this.hide())),this.trigger.includes("focus")&&(e.addEventListener("focus",()=>this.show()),e.addEventListener("blur",()=>this.hide())),"click"===this.trigger&&e.addEventListener("click",()=>this.toggle())})}_handleSlotChange(){this._tooltipTargetElements.forEach(e=>e.setAttribute("data-sgds-tooltip",this.content))}async updateFloatingPosition(){if(!this._myTooltip.value||!this._tooltipBubble.value)return;const{x:e,y:t,placement:s,strategy:i,middlewareData:a}=await xi(this._tooltipTargetElements[0],this._tooltipBubble.value,{strategy:"fixed",placement:this.placement,middleware:[fi(8),wi(),bi(),_i()]});this._tooltipBubble.value.setAttribute("data-placement",s),Object.assign(this._tooltipBubble.value.style,{position:i,left:`${e}px`,top:`${t}px`});const{referenceHidden:o,escaped:n}=a.hide||{};this._tooltipBubble.value.style.visibility=o||n?"hidden":"visible"}async show(){this.open||(this.open=!0,this.emit("sgds-show"),await this.updateComplete,await this.updateFloatingPosition(),this._myTooltip.value&&this._tooltipBubble.value&&(this._cleanupAutoUpdate=mi(this._tooltipTargetElements[0],this._tooltipBubble.value,()=>this.updateFloatingPosition())),this.emit("sgds-after-show"))}hide(){this.open&&(this.emit("sgds-hide"),this.open=!1,this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0),setTimeout(()=>this.emit("sgds-after-hide"),0))}toggle(){this.open?this.hide():this.show()}render(){return ee`
|
|
147
147
|
<div ${Yt(this._myTooltip)} class="tooltip-placeholder">
|
|
148
148
|
<slot @slotchange=${()=>this._handleSlotChange()}></slot>
|
|
149
149
|
${this.open?ee`<div ${Yt(this._tooltipBubble)} class="tooltip" role="tooltip">${this.content}</div>`:null}
|
|
150
150
|
</div>
|
|
151
|
-
`}}Ci.styles=[...Be.styles,ki],e([
|
|
151
|
+
`}}Ci.styles=[...Be.styles,ki],e([Ve({type:String})],Ci.prototype,"content",void 0),e([Ve({type:String})],Ci.prototype,"placement",void 0),e([Ve({type:String})],Ci.prototype,"trigger",void 0),e([ze()],Ci.prototype,"open",void 0),e([De()],Ci.prototype,"_tooltipTargetElements",void 0);class $i{constructor(e,...t){this.slotNames=[],(this.host=e).addController(this),this.slotNames=t,this.handleSlotChange=this.handleSlotChange.bind(this)}hasDefaultSlot(){return[...this.host.childNodes].some(e=>{var t;if(e.nodeType===e.TEXT_NODE&&""!==(null===(t=e.textContent)||void 0===t?void 0:t.trim()))return!0;if(e.nodeType===e.ELEMENT_NODE){const t=e;if("sl-visually-hidden"===t.tagName.toLowerCase())return!1;if(!t.hasAttribute("slot"))return!0}return!1})}hasNamedSlot(e){return null!==this.host.querySelector(`:scope > [slot="${e}"]`)}test(e){return"[default]"===e?this.hasDefaultSlot():this.hasNamedSlot(e)}hostConnected(){var e;null===(e=this.host.shadowRoot)||void 0===e||e.addEventListener("slotchange",this.handleSlotChange)}hostDisconnected(){var e;null===(e=this.host.shadowRoot)||void 0===e||e.removeEventListener("slotchange",this.handleSlotChange)}handleSlotChange(e){const t=e.target;(this.slotNames.includes("[default]")&&!t.name||t.name&&this.slotNames.includes(t.name))&&this.host.requestUpdate()}}class Si extends Be{constructor(){super(...arguments),this.show=!1,this.variant="primary",this.outlined=!1,this.dismissible=!1,this.fullWidth=!1,this.truncated=!1,this.text=""}close(){this.show=!1}_handleShowChange(){if(this.show){if(this.emit("sgds-show",{cancelable:!0}).defaultPrevented)return void(this.show=!1);this.emit("sgds-after-show")}else{if(this.emit("sgds-hide",{cancelable:!0}).defaultPrevented)return void(this.show=!0);this.emit("sgds-after-hide")}}_handleTruncation(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".badge-label");t&&(this.truncated=t.scrollWidth>t.clientWidth)}_handleLabelSlotChange(e){this.text=function(e){if(!e)return"";const t=e.assignedNodes({flatten:!0});let s="";return[...t].forEach(e=>{e.nodeType===Node.TEXT_NODE&&(s+=e.textContent.trim())}),s}(e.target)}_renderBadge(){const e=this.outlined||"warning"===this.variant||"white"===this.variant;return ee`<div
|
|
152
152
|
class="
|
|
153
153
|
${We({"badge-dismissible":this.dismissible,badge:!0,outlined:this.outlined,"full-width":this.fullWidth})}"
|
|
154
154
|
aria-hidden=${this.show?"false":"true"}
|
|
@@ -167,7 +167,7 @@ const ct=Symbol.for(""),ht=e=>{if(e?.r===ct)return e?._$litStatic$},pt=(e,...t)=
|
|
|
167
167
|
></sgds-close-button>`:ie}
|
|
168
168
|
</div>`}render(){return this.dismissible&&this.show||!this.dismissible?this.truncated?ee`<sgds-tooltip content=${this.text} @sgds-hide=${e=>e.stopPropagation()}
|
|
169
169
|
>${this._renderBadge()}</sgds-tooltip
|
|
170
|
-
>`:this._renderBadge():ie}}Si.styles=[...Be.styles,Mt],Si.dependencies={"sgds-close-button":ft,"sgds-tooltip":Ci},e([ze({type:Boolean,reflect:!0})],Si.prototype,"show",void 0),e([ze({reflect:!0})],Si.prototype,"variant",void 0),e([ze({type:Boolean,reflect:!0})],Si.prototype,"outlined",void 0),e([ze({type:Boolean,reflect:!0})],Si.prototype,"dismissible",void 0),e([ze({type:Boolean,reflect:!0})],Si.prototype,"fullWidth",void 0),e([Ve()],Si.prototype,"truncated",void 0),e([Ve()],Si.prototype,"text",void 0),e([ot("show")],Si.prototype,"_handleShowChange",null),e([ot("text",{waitUntilFirstUpdate:!0})],Si.prototype,"_handleTruncation",null),lt("sgds-badge",Si);var Mi=n`:host([size=sm]) .overflow-btn{height:var(--sgds-dimension-24);width:var(--sgds-dimension-24)}.overflow-btn{align-items:center;background-color:var(--sgds-bg-transparent);border:0;border-radius:var(--sgds-border-radius-sm);cursor:pointer;display:flex;height:var(--sgds-dimension-32);justify-content:center;padding:0;position:relative;width:var(--sgds-dimension-32)}.overflow-btn:hover{background-color:var(--sgds-bg-translucent-subtle)}.overflow-btn:focus-visible{background-color:var(--sgds-bg-translucent-subtle);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}`;function Zi(e="",t=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${e}-${t}`}class zi extends Be{constructor(){super(...arguments),this.myDropdown=Rt(),this.dropdownMenuId=Zi("dropdown-menu","div"),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.floatingOpts={},this.menuIsOpen=!1,this.close="default",this.disabled=!1,this.readonly=!1,this.menuRef=Rt(),this._handleClickOutOfElement=e=>{this.menuIsOpen&&(e.composedPath().includes(this)||this.hideMenu(!0))}}connectedCallback(){super.connectedCallback(),"inside"!==this.close&&document.addEventListener("click",this._handleClickOutOfElement),this.addEventListener("keydown",this._handleKeyboardMenuEvent)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleClickOutOfElement),this.removeEventListener("keydown",this._handleKeyboardMenuEvent),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&requestAnimationFrame(async()=>{await this.updateFloatingPosition(),this._startAutoUpdate()})}async showMenu(){if(!this.disabled&&!this.menuIsOpen){if(this.menuIsOpen=!0,this.emit("sgds-show"),await this.updateFloatingPosition(),this._startAutoUpdate(),this.menuRef.value){const e=(this.menuRef.value.getAttribute("data-placement")||"").startsWith("top")?"4px":"-4px",{options:t}=st(this,"dropdown.show");await Ge(this.menuRef.value,[{opacity:0,transform:`translateY(${e})`},{opacity:1,transform:"translateY(0)"}],t)}this.emit("sgds-after-show")}}_startAutoUpdate(){this.myDropdown.value&&this.menuRef.value&&(this._cleanupAutoUpdate=mi(this.myDropdown.value,this.menuRef.value,()=>this.updateFloatingPosition()))}async hideMenu(e){if(this.menuIsOpen){if(this.emit("sgds-hide",{detail:{isOutside:e}}),this.menuRef.value){const e=(this.menuRef.value.getAttribute("data-placement")||"").startsWith("top")?"4px":"-4px",{options:t}=st(this,"dropdown.hide");await Ge(this.menuRef.value,[{opacity:1,transform:"translateY(0)"},{opacity:0,transform:`translateY(${e})`}],t)}this.menuIsOpen=!1,this.emit("sgds-after-hide"),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}}toggleMenu(){this.menuIsOpen?this.hideMenu():this.showMenu()}_handleKeyboardMenuEvent(e){if(!this.readonly)switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.menuIsOpen||this.showMenu();break;case"Escape":this.hideMenu()}}mergeMiddleware(e,t){const s=e=>{var t;return(null==e?void 0:e.name)||(null===(t=null==e?void 0:e.constructor)||void 0===t?void 0:t.name)},i=t.map(s),a=e.map(e=>{const a=s(e),o=i.indexOf(a);return-1!==o?t[o]:e}).concat(t.filter(t=>!e.some(e=>s(e)===s(t))));return a}async updateFloatingPosition(){if(!this.myDropdown.value||!this.menuRef.value)return;let e="bottom-start";switch(this.drop){case"up":e=this.menuAlignRight?"top-end":"top-start";break;case"right":e="right-start";break;case"left":e="left-start";break;case"down":e=this.menuAlignRight?"bottom-end":"bottom-start";break;default:e="bottom-start"}const t=[fi(8),this.noFlip?void 0:wi(),bi()].filter(Boolean);let s=t;Array.isArray(this.floatingOpts.middleware)&&this.floatingOpts.middleware.length>0&&(s=this.mergeMiddleware(t,this.floatingOpts.middleware.filter(Boolean)));const i=Object.assign(Object.assign({strategy:"fixed",placement:e},this.floatingOpts),{middleware:s}),{x:a,y:o,strategy:n,placement:r}=await xi(this.myDropdown.value,this.menuRef.value,i);this.menuRef.value.setAttribute("data-placement",r),Object.assign(this.menuRef.value.style,{position:n,left:`${a}px`,top:`${o}px`})}}e([ze({type:Boolean,state:!0})],zi.prototype,"noFlip",void 0),e([ze({type:Boolean,reflect:!0,state:!0})],zi.prototype,"menuAlignRight",void 0),e([ze({type:String,reflect:!0,state:!0})],zi.prototype,"drop",void 0),e([ze({type:Object})],zi.prototype,"floatingOpts",void 0),e([ze({type:Boolean,reflect:!0})],zi.prototype,"menuIsOpen",void 0),e([ze({type:Boolean,reflect:!0})],zi.prototype,"disabled",void 0),e([ze({type:Boolean,reflect:!0})],zi.prototype,"readonly",void 0),it("dropdown.show",{keyframes:[],options:{duration:200,easing:"cubic-bezier(0.1, 0, 0.5, 0)"}}),it("dropdown.hide",{keyframes:[],options:{duration:200,easing:"cubic-bezier(0.15, 0.6, 0.6, 1)"}});class Vi extends zi{constructor(){super(...arguments),this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1,this.hidden=!1}connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._resetMenu)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sgds-hide",this._resetMenu)}firstUpdated(e){super.firstUpdated(e),this.addEventListener("keydown",this._handleKeyboardMenuItemsEvent)}handleSelectSlot(e){const t=this._getActiveMenuItems(),s=t.find(t=>e.composedPath().includes(t));if(!s)return;const i=t.indexOf(s);this.nextDropdownItemNo=i+1,this.prevDropdownItemNo=i<=0?t.length-1:i-1,s.disabled||(this.emit("sgds-select",{detail:{item:s}}),"outside"!==this.close&&this.hideMenu())}_resetMenu(){this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1;this._getMenuItems().forEach(e=>{var t;const s=null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.querySelector(".dropdown-item");s&&s.removeAttribute("tabindex")})}_handleKeyboardMenuItemsEvent(e){if(this.readonly)return;const t=this._getActiveMenuItems();if(0!==t.length)switch(e.key){case"ArrowDown":e.preventDefault(),this._setMenuItem(this.nextDropdownItemNo);break;case"ArrowUp":e.preventDefault(),this._setMenuItem(this.prevDropdownItemNo);break;case"Tab":if(!this.menuIsOpen)return;e.preventDefault(),e.shiftKey?this._setMenuItem(this.prevDropdownItemNo):this._setMenuItem(this.nextDropdownItemNo);break;case"Enter":t.find(t=>e.composedPath().includes(t))&&this.handleSelectSlot(e);break}}_getMenuItems(){var e,t;if(this.shadowRoot.querySelector("slot#default")){return null===(e=this.shadowRoot.querySelector("slot#default"))||void 0===e?void 0:e.assignedElements({flatten:!0}).filter(e=>!e.classList.contains("empty-menu")&&!e.hasAttribute("hidden"))}if(null===(t=this.menu)||void 0===t?void 0:t.hasChildNodes()){return[...Array.from(this.menu.children)]}return[]}_getActiveMenuItems(){return this._getMenuItems().filter(e=>!e.disabled&&!e.hidden)}_setMenuItem(e){const t=this._getActiveMenuItems();if(0===t.length)return;const s=(e%t.length+t.length)%t.length,i=t[s];this.emit("i-sgds-option-focus",{detail:{option:i}}),this.nextDropdownItemNo=(s+1)%t.length,this.prevDropdownItemNo=(s-1+t.length)%t.length,t.forEach(e=>{const t=e.shadowRoot.querySelector(".dropdown-item");t.setAttribute("tabindex",e===i?"0":"-1"),e===i&&t.focus()})}}Vi.styles=zi.styles,e([Ie("ul.dropdown-menu")],Vi.prototype,"menu",void 0),e([Ve()],Vi.prototype,"nextDropdownItemNo",void 0),e([Ve()],Vi.prototype,"prevDropdownItemNo",void 0),e([ze({type:Boolean,reflect:!0})],Vi.prototype,"hidden",void 0);var Ai=n`:host([menuisopen]:not([disabled]):not([readonly])) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-192);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:var(--sgds-z-index-floating)}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:512px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1024px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1280px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1440px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,Li=n`.dropdown{display:flex;height:inherit;position:relative}.dropdown-menu{max-width:var(--sgds-dimension-320)}.toggler-container{flex:1;pointer-events:none}.toggler-container ::slotted(*){pointer-events:auto}`;class Ii extends Vi{constructor(){super(),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.close="default",this.menuRef=Yt()}async _handleClick(e){if(this.disabled)return;const t=this._toggler[0];if(!t)return void this.toggleMenu();if(e.composedPath().includes(t))return void this.toggleMenu();if(!this.menuIsOpen)return;const s=this.menuRef.value;s&&e.composedPath().includes(s)||this.hideMenu()}_handleCloseMenu(){const e=this._toggler[0];null==e||e.focus()}async connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._handleCloseMenu)}async disconnectedCallback(){this.removeEventListener("sgds-hide",this._handleCloseMenu)}async firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&await this.updateFloatingPosition(),this._handleDisabled()}_handleTogglerSlotChange(e){const t=e.target.assignedElements({flatten:!0})[0];t&&(t.setAttribute("aria-haspopup","menu"),t.setAttribute("aria-expanded",String(this.menuIsOpen)))}_handleMenuIsOpenChange(){const e=this._toggler[0];e&&e.setAttribute("aria-expanded",String(this.menuIsOpen))}_handleDisabled(){const e=this._toggler[0];e&&(this.disabled?e.setAttribute("disabled","true"):e.hasAttribute("disabled")&&e.removeAttribute("disabled"))}render(){return ee`
|
|
170
|
+
>`:this._renderBadge():ie}}Si.styles=[...Be.styles,Mt],Si.dependencies={"sgds-close-button":ft,"sgds-tooltip":Ci},e([Ve({type:Boolean,reflect:!0})],Si.prototype,"show",void 0),e([Ve({reflect:!0})],Si.prototype,"variant",void 0),e([Ve({type:Boolean,reflect:!0})],Si.prototype,"outlined",void 0),e([Ve({type:Boolean,reflect:!0})],Si.prototype,"dismissible",void 0),e([Ve({type:Boolean,reflect:!0})],Si.prototype,"fullWidth",void 0),e([ze()],Si.prototype,"truncated",void 0),e([ze()],Si.prototype,"text",void 0),e([ot("show")],Si.prototype,"_handleShowChange",null),e([ot("text",{waitUntilFirstUpdate:!0})],Si.prototype,"_handleTruncation",null),lt("sgds-badge",Si);var Mi=n`:host([size=sm]) .overflow-btn{height:var(--sgds-dimension-24);width:var(--sgds-dimension-24)}.overflow-btn{align-items:center;background-color:var(--sgds-bg-transparent);border:0;border-radius:var(--sgds-border-radius-sm);cursor:pointer;display:flex;height:var(--sgds-dimension-32);justify-content:center;padding:0;position:relative;width:var(--sgds-dimension-32)}.overflow-btn:hover{background-color:var(--sgds-bg-translucent-subtle)}.overflow-btn:focus-visible{background-color:var(--sgds-bg-translucent-subtle);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}`;function Zi(e="",t=""){return`id-${Math.random().toString().substring(2,6)}-sgds-${e}-${t}`}class Vi extends Be{constructor(){super(...arguments),this.myDropdown=jt(),this.dropdownMenuId=Zi("dropdown-menu","div"),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.floatingOpts={},this.menuIsOpen=!1,this.close="default",this.disabled=!1,this.readonly=!1,this.menuRef=jt(),this._handleClickOutOfElement=e=>{this.menuIsOpen&&(e.composedPath().includes(this)||this.hideMenu(!0))}}connectedCallback(){super.connectedCallback(),"inside"!==this.close&&document.addEventListener("click",this._handleClickOutOfElement),this.addEventListener("keydown",this._handleKeyboardMenuEvent)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleClickOutOfElement),this.removeEventListener("keydown",this._handleKeyboardMenuEvent),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&requestAnimationFrame(async()=>{await this.updateFloatingPosition(),this._startAutoUpdate()})}async showMenu(){if(!this.disabled&&!this.menuIsOpen){if(this.menuIsOpen=!0,this.emit("sgds-show"),await this.updateFloatingPosition(),this._startAutoUpdate(),this.menuRef.value){const e=(this.menuRef.value.getAttribute("data-placement")||"").startsWith("top")?"4px":"-4px",{options:t}=st(this,"dropdown.show");await Ge(this.menuRef.value,[{opacity:0,transform:`translateY(${e})`},{opacity:1,transform:"translateY(0)"}],t)}this.emit("sgds-after-show")}}_startAutoUpdate(){this.myDropdown.value&&this.menuRef.value&&(this._cleanupAutoUpdate=mi(this.myDropdown.value,this.menuRef.value,()=>this.updateFloatingPosition()))}async hideMenu(e){if(this.menuIsOpen){if(this.emit("sgds-hide",{detail:{isOutside:e}}),this.menuRef.value){const e=(this.menuRef.value.getAttribute("data-placement")||"").startsWith("top")?"4px":"-4px",{options:t}=st(this,"dropdown.hide");await Ge(this.menuRef.value,[{opacity:1,transform:"translateY(0)"},{opacity:0,transform:`translateY(${e})`}],t)}this.menuIsOpen=!1,this.emit("sgds-after-hide"),this._cleanupAutoUpdate&&(this._cleanupAutoUpdate(),this._cleanupAutoUpdate=void 0)}}toggleMenu(){this.menuIsOpen?this.hideMenu():this.showMenu()}_handleKeyboardMenuEvent(e){if(!this.readonly)switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.menuIsOpen||this.showMenu();break;case"Escape":this.hideMenu()}}mergeMiddleware(e,t){const s=e=>{var t;return(null==e?void 0:e.name)||(null===(t=null==e?void 0:e.constructor)||void 0===t?void 0:t.name)},i=t.map(s),a=e.map(e=>{const a=s(e),o=i.indexOf(a);return-1!==o?t[o]:e}).concat(t.filter(t=>!e.some(e=>s(e)===s(t))));return a}async updateFloatingPosition(){if(!this.myDropdown.value||!this.menuRef.value)return;let e="bottom-start";switch(this.drop){case"up":e=this.menuAlignRight?"top-end":"top-start";break;case"right":e="right-start";break;case"left":e="left-start";break;case"down":e=this.menuAlignRight?"bottom-end":"bottom-start";break;default:e="bottom-start"}const t=[fi(8),this.noFlip?void 0:wi(),bi()].filter(Boolean);let s=t;Array.isArray(this.floatingOpts.middleware)&&this.floatingOpts.middleware.length>0&&(s=this.mergeMiddleware(t,this.floatingOpts.middleware.filter(Boolean)));const i=Object.assign(Object.assign({strategy:"fixed",placement:e},this.floatingOpts),{middleware:s}),{x:a,y:o,strategy:n,placement:r}=await xi(this.myDropdown.value,this.menuRef.value,i);this.menuRef.value.setAttribute("data-placement",r),Object.assign(this.menuRef.value.style,{position:n,left:`${a}px`,top:`${o}px`})}}e([Ve({type:Boolean,state:!0})],Vi.prototype,"noFlip",void 0),e([Ve({type:Boolean,reflect:!0,state:!0})],Vi.prototype,"menuAlignRight",void 0),e([Ve({type:String,reflect:!0,state:!0})],Vi.prototype,"drop",void 0),e([Ve({type:Object})],Vi.prototype,"floatingOpts",void 0),e([Ve({type:Boolean,reflect:!0})],Vi.prototype,"menuIsOpen",void 0),e([Ve({type:Boolean,reflect:!0})],Vi.prototype,"disabled",void 0),e([Ve({type:Boolean,reflect:!0})],Vi.prototype,"readonly",void 0),it("dropdown.show",{keyframes:[],options:{duration:200,easing:"cubic-bezier(0.1, 0, 0.5, 0)"}}),it("dropdown.hide",{keyframes:[],options:{duration:200,easing:"cubic-bezier(0.15, 0.6, 0.6, 1)"}});class zi extends Vi{constructor(){super(...arguments),this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1,this.hidden=!1}connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._resetMenu)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sgds-hide",this._resetMenu)}firstUpdated(e){super.firstUpdated(e),this.addEventListener("keydown",this._handleKeyboardMenuItemsEvent)}handleSelectSlot(e){const t=this._getActiveMenuItems(),s=t.find(t=>e.composedPath().includes(t));if(!s)return;const i=t.indexOf(s);this.nextDropdownItemNo=i+1,this.prevDropdownItemNo=i<=0?t.length-1:i-1,s.disabled||(this.emit("sgds-select",{detail:{item:s}}),"outside"!==this.close&&this.hideMenu())}_resetMenu(){this.nextDropdownItemNo=0,this.prevDropdownItemNo=-1;this._getMenuItems().forEach(e=>{var t;const s=null===(t=null==e?void 0:e.shadowRoot)||void 0===t?void 0:t.querySelector(".dropdown-item");s&&s.removeAttribute("tabindex")})}_handleKeyboardMenuItemsEvent(e){if(this.readonly)return;const t=this._getActiveMenuItems();if(0!==t.length)switch(e.key){case"ArrowDown":e.preventDefault(),this._setMenuItem(this.nextDropdownItemNo);break;case"ArrowUp":e.preventDefault(),this._setMenuItem(this.prevDropdownItemNo);break;case"Tab":if(!this.menuIsOpen)return;e.preventDefault(),e.shiftKey?this._setMenuItem(this.prevDropdownItemNo):this._setMenuItem(this.nextDropdownItemNo);break;case"Enter":t.find(t=>e.composedPath().includes(t))&&this.handleSelectSlot(e);break}}_getMenuItems(){var e,t;if(this.shadowRoot.querySelector("slot#default")){return null===(e=this.shadowRoot.querySelector("slot#default"))||void 0===e?void 0:e.assignedElements({flatten:!0}).filter(e=>!e.classList.contains("empty-menu")&&!e.hasAttribute("hidden"))}if(null===(t=this.menu)||void 0===t?void 0:t.hasChildNodes()){return[...Array.from(this.menu.children)]}return[]}_getActiveMenuItems(){return this._getMenuItems().filter(e=>!e.disabled&&!e.hidden)}_setMenuItem(e){const t=this._getActiveMenuItems();if(0===t.length)return;const s=(e%t.length+t.length)%t.length,i=t[s];this.emit("i-sgds-option-focus",{detail:{option:i}}),this.nextDropdownItemNo=(s+1)%t.length,this.prevDropdownItemNo=(s-1+t.length)%t.length,t.forEach(e=>{const t=e.shadowRoot.querySelector(".dropdown-item");t.setAttribute("tabindex",e===i?"0":"-1"),e===i&&t.focus()})}}zi.styles=Vi.styles,e([Le("ul.dropdown-menu")],zi.prototype,"menu",void 0),e([ze()],zi.prototype,"nextDropdownItemNo",void 0),e([ze()],zi.prototype,"prevDropdownItemNo",void 0),e([Ve({type:Boolean,reflect:!0})],zi.prototype,"hidden",void 0);var Pi=n`:host([menuisopen]:not([disabled]):not([readonly])) .dropdown-menu{display:block}.dropdown-menu{background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 4px 8px 0 hsla(0,0%,5%,.12);color:var(--sgds-color-default);display:none;list-style:none;margin:0;max-height:var(--sgds-dimension-480);min-width:var(--sgds-dimension-192);overflow-y:auto;padding:var(--sgds-padding-xs) 0;position:absolute;text-align:left;z-index:var(--sgds-z-index-floating)}.nav-tabs .dropdown-menu{border-top-left-radius:0;border-top-right-radius:0;margin-top:calc(var(--sgds-nav-tabs-border-width)*-1)}@media (min-width:512px){.navbar-expand-sm .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:768px){.navbar-expand-md .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1024px){.navbar-expand-lg .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1280px){.navbar-expand-xl .navbar-nav .dropdown-menu{position:absolute}}@media (min-width:1440px){.navbar-expand-xxl .navbar-nav .dropdown-menu{position:absolute}}.navbar-expand .navbar-nav .dropdown-menu{position:absolute}.sgds.navbar .dropdown-menu.megamenu{left:0;right:0;width:100%}.sgds.combobox>.dropdown-menu{min-width:100%}`,Ai=n`.dropdown{display:flex;height:inherit;position:relative}.dropdown-menu{max-width:var(--sgds-dimension-320)}.toggler-container{flex:1;pointer-events:none}.toggler-container ::slotted(*){pointer-events:auto}`;class Li extends zi{constructor(){super(),this.noFlip=!1,this.menuAlignRight=!1,this.drop="down",this.close="default",this.menuRef=Yt()}async _handleClick(e){if(this.disabled)return;const t=this._toggler[0];if(!t)return void this.toggleMenu();if(e.composedPath().includes(t))return void this.toggleMenu();if(!this.menuIsOpen)return;const s=this.menuRef.value;s&&e.composedPath().includes(s)||this.hideMenu()}_handleCloseMenu(){const e=this._toggler[0];null==e||e.focus()}async connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",this._handleCloseMenu)}async disconnectedCallback(){this.removeEventListener("sgds-hide",this._handleCloseMenu)}async firstUpdated(e){super.firstUpdated(e),this.menuIsOpen&&await this.updateFloatingPosition(),this._handleDisabled()}_handleTogglerSlotChange(e){const t=e.target.assignedElements({flatten:!0})[0];t&&(t.setAttribute("aria-haspopup","menu"),t.setAttribute("aria-expanded",String(this.menuIsOpen)))}_handleMenuIsOpenChange(){const e=this._toggler[0];e&&e.setAttribute("aria-expanded",String(this.menuIsOpen))}_handleDisabled(){const e=this._toggler[0];e&&(this.disabled?e.setAttribute("disabled","true"):e.hasAttribute("disabled")&&e.removeAttribute("disabled"))}render(){return ee`
|
|
171
171
|
<div class="dropdown" @click=${this._handleClick}>
|
|
172
172
|
<div class="toggler-container" ${Yt(this.myDropdown)}>
|
|
173
173
|
<slot name="toggler" @slotchange=${this._handleTogglerSlotChange}></slot>
|
|
@@ -176,7 +176,7 @@ const ct=Symbol.for(""),ht=e=>{if(e?.r===ct)return e?._$litStatic$},pt=(e,...t)=
|
|
|
176
176
|
<slot id="default" @click=${this.handleSelectSlot}></slot>
|
|
177
177
|
</div>
|
|
178
178
|
</div>
|
|
179
|
-
`}}
|
|
179
|
+
`}}Li.styles=[...zi.styles,Ai,Pi],e([Ve({type:Boolean,reflect:!0,state:!1})],Li.prototype,"noFlip",void 0),e([Ve({type:Boolean,reflect:!0,state:!1})],Li.prototype,"menuAlignRight",void 0),e([Ve({type:String,reflect:!0,state:!1})],Li.prototype,"drop",void 0),e([Ve({type:String,reflect:!0,state:!1})],Li.prototype,"close",void 0),e([De({slot:"toggler",flatten:!0})],Li.prototype,"_toggler",void 0),e([ot("menuIsOpen")],Li.prototype,"_handleMenuIsOpenChange",null),e([ot("disabled",{waitUntilFirstUpdate:!0})],Li.prototype,"_handleDisabled",null);var Ii=n`:host([disabled]){cursor:not-allowed}.dropdown-item{align-items:center;background-color:var(--sgds-bg-transparent);clear:both;color:var(--sgds-color-default);cursor:pointer;display:flex;font-size:var(--sgds-font-size-label-sm);gap:var(--sgds-gap-sm);padding:var(--sgds-padding-sm) var(--sgds-padding-lg);text-align:inherit}.dropdown-item:hover{background-color:var(--sgds-bg-translucent-subtle)}.dropdown-item:focus,.dropdown-item:focus-visible{background-color:var(--sgds-bg-translucent-subtle)}.dropdown-item:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.dropdown-item.active{background-color:var(--sgds-bg-translucent-subtle);color:var(--sgds-primary-color-default);text-decoration:none}.dropdown-item.disabled,.dropdown-item:disabled{opacity:var(--sgds-opacity-40);pointer-events:none}::slotted(*){color:inherit!important;display:flex;gap:var(--sgds-gap-sm);text-decoration:none!important}::slotted(a),::slotted(sgds-checkbox){flex:1;margin:calc(var(--sgds-padding-sm)*-1) calc(var(--sgds-padding-lg)*-1);padding:var(--sgds-padding-sm) var(--sgds-padding-lg)}.dropdown-item.mainnav-dropdown-link{padding:var(--sgds-padding-none)}.dropdown-item.mainnav-dropdown-link ::slotted(*){box-sizing:border-box;margin:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}@media screen and (min-width:1024px){.dropdown-item.mainnav-dropdown-link ::slotted(*){padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}}`;class Di extends Be{constructor(){super(...arguments),this.active=!1,this.disabled=!1,this.ariaLabel=""}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",e=>{"Enter"===e.key&&this.anchor.length>0&&this.anchor[0].click()}),this.setAttribute("role","menuitem"),this.setAttribute("aria-disabled",`${this.disabled}`)}render(){return ee`
|
|
180
180
|
<div
|
|
181
181
|
class="dropdown-item ${We({disabled:this.disabled,active:this.active})}"
|
|
182
182
|
tabindex=${this.disabled?"-1":"0"}
|
|
@@ -184,25 +184,25 @@ const ct=Symbol.for(""),ht=e=>{if(e?.r===ct)return e?._$litStatic$},pt=(e,...t)=
|
|
|
184
184
|
>
|
|
185
185
|
<slot></slot>
|
|
186
186
|
</div>
|
|
187
|
-
`}}Di.styles=[
|
|
187
|
+
`}}Di.styles=[Ai,Ii],Di.dependencies={"sgds-icon":_t},e([De({flatten:!0})],Di.prototype,"anchor",void 0),e([Ve({type:Boolean})],Di.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],Di.prototype,"disabled",void 0),e([Ve({type:String})],Di.prototype,"ariaLabel",void 0);class Ei extends Be{constructor(){super(...arguments),this.size="md"}render(){return ee`
|
|
188
188
|
<sgds-dropdown>
|
|
189
189
|
<button slot="toggler" class="overflow-btn" aria-label="More options">
|
|
190
190
|
<sgds-icon name="three-dots" size=${this.size}></sgds-icon>
|
|
191
191
|
</button>
|
|
192
192
|
<slot></slot>
|
|
193
193
|
</sgds-dropdown>
|
|
194
|
-
`}}Ei.styles=[...Be.styles,Mi],Ei.dependencies={"sgds-dropdown":
|
|
194
|
+
`}}Ei.styles=[...Be.styles,Mi],Ei.dependencies={"sgds-dropdown":Li,"sgds-dropdown-item":Di,"sgds-icon":_t},e([Ve({type:String,reflect:!0})],Ei.prototype,"size",void 0);var Hi=n`.breadcrumb{display:flex;gap:var(--sgds-gap-xs)}.breadcrumb sgds-breadcrumb-item:first-child,.breadcrumb slot::slotted(sgds-breadcrumb-item:first-child){flex:0 0 auto}`;class Bi extends Be{constructor(){super(...arguments),this.ariaLabel="breadcrumb"}_replaceExcessItemsWithDropdown(e){const t=document.createElement("sgds-breadcrumb-item"),s=document.createElement("sgds-overflow-menu");s.setAttribute("aria-haspopup","menu"),s.setAttribute("size","sm");const i=e.filter((t,i)=>{if(i>0&&i<e.length-2){const e=t.querySelector("a").cloneNode(!0),i=document.createElement("sgds-dropdown-item");return i.appendChild(e),void s.appendChild(i)}return t});t.classList.add("overflow-menu"),t.appendChild(s),i.splice(1,0,t),this.defaultSlot.replaceWith(...i)}_handleSlotChange(e){const t=e.target.assignedElements({flatten:!0}).filter(e=>"sgds-breadcrumb-item"===e.tagName.toLowerCase());t.forEach((e,s)=>{s===t.length-1?(e.setAttribute("aria-current","page"),e.active=!0):e.removeAttribute("aria-current")}),t.length>=5&&this._replaceExcessItemsWithDropdown(t)}render(){return gt`
|
|
195
195
|
<div aria-label=${Ke(this.ariaLabel)}>
|
|
196
196
|
<div class="breadcrumb">
|
|
197
197
|
<slot @slotchange=${this._handleSlotChange}></slot>
|
|
198
198
|
</div>
|
|
199
199
|
</div>
|
|
200
|
-
`}}Bi.styles=[...Be.styles,Hi],Bi.dependencies={"sgds-overflow-menu":Ei},e([ze({type:String})],Bi.prototype,"ariaLabel",void 0),e([Ie("slot")],Bi.prototype,"defaultSlot",void 0);var Oi=n`:host{--color-emphasis:var(--sgds-link-color-emphasis);display:inline-flex;vertical-align:middle}:host([tone=danger]),:host([variant=danger]){--color-emphasis:var(--sgds-danger-color-emphasis)}:host([tone=neutral]),:host([variant=neutral]){--color-emphasis:var(--sgds-color-default)}:host([tone=fixed-light]),:host([variant=light]){--color-emphasis:var(--sgds-color-fixed-light)}:host([variant=dark]) :host([tone=fixed-dark]){--color-emphasis:var(--sgds-color-fixed-dark)}:host([tone=danger]) .nav-link::slotted(a),:host([variant=danger]) .nav-link::slotted(a){--sgds-link-color-default:var(--sgds-danger-color-default);color:var(--sgds-link-color-default,--sgds-danger-color-default)}:host([tone=danger]) .nav-link::slotted(a:focus),:host([tone=danger]) .nav-link::slotted(a:focus-visible),:host([tone=danger]) .nav-link::slotted(a:hover),:host([variant=danger]) .nav-link::slotted(a:focus),:host([variant=danger]) .nav-link::slotted(a:focus-visible),:host([variant=danger]) .nav-link::slotted(a:hover){--color-emphasis:var(--sgds-danger-color-emphasis);color:var(--color-emphasis,--sgds-danger-color-emphasis)}:host([tone=neutral]) .nav-link::slotted(a),:host([variant=neutral]) .nav-link::slotted(a){--sgds-link-color-default:var(--sgds-color-default);color:var(--sgds-link-color-default,--sgds-color-default)}:host([tone=neutral]) .nav-link::slotted(a:focus),:host([tone=neutral]) .nav-link::slotted(a:focus-visible),:host([tone=neutral]) .nav-link::slotted(a:hover),:host([variant=neutral]) .nav-link::slotted(a:focus),:host([variant=neutral]) .nav-link::slotted(a:focus-visible),:host([variant=neutral]) .nav-link::slotted(a:hover){--color-emphasis:var(--sgds-color-default);color:var(--color-emphasis,--sgds-color-default)}:host([tone=fixed-light]) .nav-link::slotted(a),:host([variant=light]) .nav-link::slotted(a){--sgds-link-color-default:var(--sgds-color-fixed-light);color:var(--sgds-link-color-default,--sgds-color-fixed-light)}:host([tone=fixed-light]) .nav-link::slotted(a:focus),:host([tone=fixed-light]) .nav-link::slotted(a:focus-visible),:host([tone=fixed-light]) .nav-link::slotted(a:hover),:host([variant=light]) .nav-link::slotted(a:focus),:host([variant=light]) .nav-link::slotted(a:focus-visible),:host([variant=light]) .nav-link::slotted(a:hover){--color-emphasis:var(--sgds-color-fixed-light);color:var(--color-emphasis,--sgds-color-fixed-light)}:host([tone=fixed-dark]) .nav-link::slotted(a),:host([variant=dark]) .nav-link::slotted(a){--sgds-link-color-default:var(--sgds-color-fixed-dark);color:var(--sgds-link-color-default,--sgds-color-fixed-dark)}:host([tone=fixed-dark]) .nav-link::slotted(a:focus),:host([tone=fixed-dark]) .nav-link::slotted(a:focus-visible),:host([tone=fixed-dark]) .nav-link::slotted(a:hover),:host([variant=dark]) .nav-link::slotted(a:focus),:host([variant=dark]) .nav-link::slotted(a:focus-visible),:host([variant=dark]) .nav-link::slotted(a:hover){--color-emphasis:var(--sgds-color-fixed-dark);color:var(--color-emphasis,--sgds-color-fixed-dark)}:host([size=md]) .nav-link::slotted(a){--text-underline-offset:3px;font-size:var(--sgds-font-size-link-md)!important;line-height:var(--sgds-line-height-xs)!important}:host([size=lg]) .nav-link::slotted(a){--text-underline-offset:4px;font-size:var(--sgds-font-size-link-lg)!important;line-height:var(--sgds-line-height-md)!important}:host([size=sm]) .nav-link::slotted(a){--text-underline-offset:2.8px;font-size:var(--sgds-font-size-link-sm)!important;line-height:var(--sgds-line-height-2-xs)!important}:host([size=xs]) .nav-link::slotted(a){--text-underline-offset:2.2px;font-size:var(--sgds-font-size-link-xs)!important;line-height:var(--sgds-line-height-3-xs)!important}.nav-link::slotted(a):after{-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.145 3.667h.021a.5.5 0 1 1 0 1c-.708 0-1.209 0-1.6.032-.387.032-.622.091-.807.186a2 2 0 0 0-.875.874c-.094.185-.154.42-.185.806-.032.392-.032.893-.032 1.602v3.666c0 .709 0 1.21.032 1.602.031.386.091.621.185.806a2 2 0 0 0 .875.874c.185.095.42.154.806.186.392.032.893.032 1.601.032h3.667c.708 0 1.21 0 1.601-.032.386-.032.622-.091.807-.186a2 2 0 0 0 .874-.874c.095-.185.154-.42.186-.806.032-.392.032-.893.032-1.602a.5.5 0 1 1 1 0v.022c0 .682 0 1.224-.036 1.661-.036.448-.113.83-.29 1.18a3 3 0 0 1-1.312 1.31c-.35.178-.731.255-1.18.292-.436.035-.978.035-1.66.035h-3.71c-.682 0-1.224 0-1.661-.035-.448-.037-.83-.113-1.18-.292a3 3 0 0 1-1.31-1.31c-.179-.35-.255-.732-.292-1.18-.035-.437-.035-.98-.035-1.66V8.144c0-.682 0-1.224.035-1.661.037-.448.113-.83.291-1.18a3 3 0 0 1 1.312-1.31c.35-.178.731-.255 1.179-.292.437-.035.98-.035 1.66-.035Zm2.188.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0V5.374l-4.98 4.98a.5.5 0 0 1-.707-.708l4.98-4.98h-3.793a.5.5 0 0 1-.5-.5Z' fill='%230E0E0E'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.145 3.667h.021a.5.5 0 1 1 0 1c-.708 0-1.209 0-1.6.032-.387.032-.622.091-.807.186a2 2 0 0 0-.875.874c-.094.185-.154.42-.185.806-.032.392-.032.893-.032 1.602v3.666c0 .709 0 1.21.032 1.602.031.386.091.621.185.806a2 2 0 0 0 .875.874c.185.095.42.154.806.186.392.032.893.032 1.601.032h3.667c.708 0 1.21 0 1.601-.032.386-.032.622-.091.807-.186a2 2 0 0 0 .874-.874c.095-.185.154-.42.186-.806.032-.392.032-.893.032-1.602a.5.5 0 1 1 1 0v.022c0 .682 0 1.224-.036 1.661-.036.448-.113.83-.29 1.18a3 3 0 0 1-1.312 1.31c-.35.178-.731.255-1.18.292-.436.035-.978.035-1.66.035h-3.71c-.682 0-1.224 0-1.661-.035-.448-.037-.83-.113-1.18-.292a3 3 0 0 1-1.31-1.31c-.179-.35-.255-.732-.292-1.18-.035-.437-.035-.98-.035-1.66V8.144c0-.682 0-1.224.035-1.661.037-.448.113-.83.291-1.18a3 3 0 0 1 1.312-1.31c.35-.178.731-.255 1.179-.292.437-.035.98-.035 1.66-.035Zm2.188.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0V5.374l-4.98 4.98a.5.5 0 0 1-.707-.708l4.98-4.98h-3.793a.5.5 0 0 1-.5-.5Z' fill='%230E0E0E'/%3E%3C/svg%3E")!important}:host([size=xs]) .nav-link::slotted(a):after{height:var(--sgds-icon-size-sm)!important;width:var(--sgds-icon-size-sm)!important}:host([size=sm]) .nav-link::slotted(a):after{height:var(--sgds-icon-size-md)!important;width:var(--sgds-icon-size-md)!important}:host([size=md]) .nav-link::slotted(a):after{height:var(--sgds-icon-size-lg)!important;width:var(--sgds-icon-size-lg)!important}:host([size=lg]) .nav-link::slotted(a):after{height:var(--sgds-icon-size-xl)!important;width:var(--sgds-icon-size-xl)!important}::slotted(*){align-items:center;display:flex}.nav-link::slotted(a:focus-visible:not([disabled])){outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.nav-link::slotted(a[disabled]){cursor:not-allowed;opacity:var(--sgds-opacity-40)}.nav-link::slotted(a){color:var(--sgds-link-color-default)!important;cursor:pointer}:host(:not([active])) .nav-link::slotted(a:not(:hover)){text-decoration:underline solid transparent!important;text-underline-offset:0;transition:text-underline-offset var(--sgds-motion-duration-standard) var(--sgds-motion-easing-enter),text-decoration-color var(--sgds-motion-duration-standard) var(--sgds-motion-easing-enter)}.nav-link::slotted(a:focus),.nav-link::slotted(a:focus-visible),.nav-link::slotted(a:hover),:host([active]) .nav-link::slotted(a){color:var(--color-emphasis)!important}.nav-link::slotted(a:hover),:host([active]) .nav-link::slotted(a){text-decoration-color:var(--color-emphasis)!important;text-underline-offset:var(--text-underline-offset);transition:text-underline-offset var(--sgds-motion-duration-standard) var(--sgds-motion-easing-enter),text-decoration-color var(--sgds-motion-duration-standard) var(--sgds-motion-easing-enter)}.nav-link::slotted(a[disabled]),:host([disabled]) .nav-link::slotted(a){pointer-events:none;text-decoration:none!important}`;class Ti extends Be{constructor(){super(...arguments),this.size="md",this.variant="primary",this.tone="primary",this.active=!1,this.disabled=!1}_processAnchor(e){this.disabled&&e.setAttribute("disabled","true"),e.hasAttribute("disabled")?(e.setAttribute("href","javascript:void(0)"),e.setAttribute("tabindex","-1")):e.setAttribute("tabindex","0")}_processIcon(e){const t={xs:"sm",sm:"md",md:"lg",lg:"xl"};e.querySelectorAll("sgds-icon").forEach(e=>{e.setAttribute("size",t[this.size]),e.classList.remove("icon-left","icon-right"),e.previousElementSibling||e.previousSibling||e.classList.add("icon-left"),e.nextElementSibling||e.nextSibling||e.classList.add("icon-right")})}_handleSlotChange(e){const t=e.target.assignedElements().find(e=>"a"===e.tagName.toLowerCase());t&&(this._processAnchor(t),this._processIcon(t))}firstUpdated(e){super.firstUpdated(e);const t=this.querySelector("a");t&&(this._processAnchor(t),this._processIcon(t))}render(){return ee`<slot class="nav-link " @slotchange=${this._handleSlotChange}></slot> `}}Ti.styles=[...Be.styles,Oi],e([ze({type:String,reflect:!0})],Ti.prototype,"size",void 0),e([ze({type:String,reflect:!0})],Ti.prototype,"variant",void 0),e([ze({type:String,reflect:!0})],Ti.prototype,"tone",void 0),e([ze({type:Boolean,reflect:!0})],Ti.prototype,"active",void 0),e([ze({type:Boolean,reflect:!0})],Ti.prototype,"disabled",void 0);var Fi=n`:host{align-items:center;display:flex;font-size:var(--sgds-font-size-link-md);gap:var(--sgds-gap-xs);min-width:0}:host .nav-link::slotted(*){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([active]) .nav-link::slotted(*){--sgds-link-color-default:var(--sgds-color-default);color:var(--sgds-link-color-default,--sgds-color-default);overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}:host([active]) .nav-link::slotted(:focus),:host([active]) .nav-link::slotted(:focus-visible),:host([active]) .nav-link::slotted(:hover){--sgds-link-color-emphasis:var(--sgds-color-default);color:var(--sgds-link-color-emphasis,--sgds-color-default)}:host(.overflow-menu){flex-shrink:0}sgds-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.separator{color:var(--sgds-color-subtle);display:flex}:host(:last-of-type) .separator{display:none}`;class ji extends Be{constructor(){super(...arguments),this.active=!1,this._preventNavigation=e=>e.preventDefault()}updated(e){if(super.updated(e),e.has("active")){const e=this.querySelector("a");e&&(this.active?(e.setAttribute("tabindex","-1"),e.addEventListener("click",this._preventNavigation)):e.removeEventListener("click",this._preventNavigation))}}render(){return ee`
|
|
200
|
+
`}}Bi.styles=[...Be.styles,Hi],Bi.dependencies={"sgds-overflow-menu":Ei},e([Ve({type:String})],Bi.prototype,"ariaLabel",void 0),e([Le("slot")],Bi.prototype,"defaultSlot",void 0);var Oi=n`:host{--color-emphasis:var(--sgds-link-color-emphasis);display:inline-flex;vertical-align:middle}:host([tone=danger]),:host([variant=danger]){--color-emphasis:var(--sgds-danger-color-emphasis)}:host([tone=neutral]),:host([variant=neutral]){--color-emphasis:var(--sgds-color-default)}:host([tone=fixed-light]),:host([variant=light]){--color-emphasis:var(--sgds-color-fixed-light)}:host([variant=dark]) :host([tone=fixed-dark]){--color-emphasis:var(--sgds-color-fixed-dark)}:host([tone=danger]) .nav-link::slotted(a),:host([variant=danger]) .nav-link::slotted(a){--sgds-link-color-default:var(--sgds-danger-color-default);color:var(--sgds-link-color-default,--sgds-danger-color-default)}:host([tone=danger]) .nav-link::slotted(a:focus),:host([tone=danger]) .nav-link::slotted(a:focus-visible),:host([tone=danger]) .nav-link::slotted(a:hover),:host([variant=danger]) .nav-link::slotted(a:focus),:host([variant=danger]) .nav-link::slotted(a:focus-visible),:host([variant=danger]) .nav-link::slotted(a:hover){--color-emphasis:var(--sgds-danger-color-emphasis);color:var(--color-emphasis,--sgds-danger-color-emphasis)}:host([tone=neutral]) .nav-link::slotted(a),:host([variant=neutral]) .nav-link::slotted(a){--sgds-link-color-default:var(--sgds-color-default);color:var(--sgds-link-color-default,--sgds-color-default)}:host([tone=neutral]) .nav-link::slotted(a:focus),:host([tone=neutral]) .nav-link::slotted(a:focus-visible),:host([tone=neutral]) .nav-link::slotted(a:hover),:host([variant=neutral]) .nav-link::slotted(a:focus),:host([variant=neutral]) .nav-link::slotted(a:focus-visible),:host([variant=neutral]) .nav-link::slotted(a:hover){--color-emphasis:var(--sgds-color-default);color:var(--color-emphasis,--sgds-color-default)}:host([tone=fixed-light]) .nav-link::slotted(a),:host([variant=light]) .nav-link::slotted(a){--sgds-link-color-default:var(--sgds-color-fixed-light);color:var(--sgds-link-color-default,--sgds-color-fixed-light)}:host([tone=fixed-light]) .nav-link::slotted(a:focus),:host([tone=fixed-light]) .nav-link::slotted(a:focus-visible),:host([tone=fixed-light]) .nav-link::slotted(a:hover),:host([variant=light]) .nav-link::slotted(a:focus),:host([variant=light]) .nav-link::slotted(a:focus-visible),:host([variant=light]) .nav-link::slotted(a:hover){--color-emphasis:var(--sgds-color-fixed-light);color:var(--color-emphasis,--sgds-color-fixed-light)}:host([tone=fixed-dark]) .nav-link::slotted(a),:host([variant=dark]) .nav-link::slotted(a){--sgds-link-color-default:var(--sgds-color-fixed-dark);color:var(--sgds-link-color-default,--sgds-color-fixed-dark)}:host([tone=fixed-dark]) .nav-link::slotted(a:focus),:host([tone=fixed-dark]) .nav-link::slotted(a:focus-visible),:host([tone=fixed-dark]) .nav-link::slotted(a:hover),:host([variant=dark]) .nav-link::slotted(a:focus),:host([variant=dark]) .nav-link::slotted(a:focus-visible),:host([variant=dark]) .nav-link::slotted(a:hover){--color-emphasis:var(--sgds-color-fixed-dark);color:var(--color-emphasis,--sgds-color-fixed-dark)}:host([size=md]) .nav-link::slotted(a){--text-underline-offset:3px;font-size:var(--sgds-font-size-link-md)!important;line-height:var(--sgds-line-height-xs)!important}:host([size=lg]) .nav-link::slotted(a){--text-underline-offset:4px;font-size:var(--sgds-font-size-link-lg)!important;line-height:var(--sgds-line-height-md)!important}:host([size=sm]) .nav-link::slotted(a){--text-underline-offset:2.8px;font-size:var(--sgds-font-size-link-sm)!important;line-height:var(--sgds-line-height-2-xs)!important}:host([size=xs]) .nav-link::slotted(a){--text-underline-offset:2.2px;font-size:var(--sgds-font-size-link-xs)!important;line-height:var(--sgds-line-height-3-xs)!important}.nav-link::slotted(a):after{-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.145 3.667h.021a.5.5 0 1 1 0 1c-.708 0-1.209 0-1.6.032-.387.032-.622.091-.807.186a2 2 0 0 0-.875.874c-.094.185-.154.42-.185.806-.032.392-.032.893-.032 1.602v3.666c0 .709 0 1.21.032 1.602.031.386.091.621.185.806a2 2 0 0 0 .875.874c.185.095.42.154.806.186.392.032.893.032 1.601.032h3.667c.708 0 1.21 0 1.601-.032.386-.032.622-.091.807-.186a2 2 0 0 0 .874-.874c.095-.185.154-.42.186-.806.032-.392.032-.893.032-1.602a.5.5 0 1 1 1 0v.022c0 .682 0 1.224-.036 1.661-.036.448-.113.83-.29 1.18a3 3 0 0 1-1.312 1.31c-.35.178-.731.255-1.18.292-.436.035-.978.035-1.66.035h-3.71c-.682 0-1.224 0-1.661-.035-.448-.037-.83-.113-1.18-.292a3 3 0 0 1-1.31-1.31c-.179-.35-.255-.732-.292-1.18-.035-.437-.035-.98-.035-1.66V8.144c0-.682 0-1.224.035-1.661.037-.448.113-.83.291-1.18a3 3 0 0 1 1.312-1.31c.35-.178.731-.255 1.179-.292.437-.035.98-.035 1.66-.035Zm2.188.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0V5.374l-4.98 4.98a.5.5 0 0 1-.707-.708l4.98-4.98h-3.793a.5.5 0 0 1-.5-.5Z' fill='%230E0E0E'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.145 3.667h.021a.5.5 0 1 1 0 1c-.708 0-1.209 0-1.6.032-.387.032-.622.091-.807.186a2 2 0 0 0-.875.874c-.094.185-.154.42-.185.806-.032.392-.032.893-.032 1.602v3.666c0 .709 0 1.21.032 1.602.031.386.091.621.185.806a2 2 0 0 0 .875.874c.185.095.42.154.806.186.392.032.893.032 1.601.032h3.667c.708 0 1.21 0 1.601-.032.386-.032.622-.091.807-.186a2 2 0 0 0 .874-.874c.095-.185.154-.42.186-.806.032-.392.032-.893.032-1.602a.5.5 0 1 1 1 0v.022c0 .682 0 1.224-.036 1.661-.036.448-.113.83-.29 1.18a3 3 0 0 1-1.312 1.31c-.35.178-.731.255-1.18.292-.436.035-.978.035-1.66.035h-3.71c-.682 0-1.224 0-1.661-.035-.448-.037-.83-.113-1.18-.292a3 3 0 0 1-1.31-1.31c-.179-.35-.255-.732-.292-1.18-.035-.437-.035-.98-.035-1.66V8.144c0-.682 0-1.224.035-1.661.037-.448.113-.83.291-1.18a3 3 0 0 1 1.312-1.31c.35-.178.731-.255 1.179-.292.437-.035.98-.035 1.66-.035Zm2.188.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0V5.374l-4.98 4.98a.5.5 0 0 1-.707-.708l4.98-4.98h-3.793a.5.5 0 0 1-.5-.5Z' fill='%230E0E0E'/%3E%3C/svg%3E")!important}:host([size=xs]) .nav-link::slotted(a):after{height:var(--sgds-icon-size-sm)!important;width:var(--sgds-icon-size-sm)!important}:host([size=sm]) .nav-link::slotted(a):after{height:var(--sgds-icon-size-md)!important;width:var(--sgds-icon-size-md)!important}:host([size=md]) .nav-link::slotted(a):after{height:var(--sgds-icon-size-lg)!important;width:var(--sgds-icon-size-lg)!important}:host([size=lg]) .nav-link::slotted(a):after{height:var(--sgds-icon-size-xl)!important;width:var(--sgds-icon-size-xl)!important}::slotted(*){align-items:center;display:flex}.nav-link::slotted(a:focus-visible:not([disabled])){outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.nav-link::slotted(a[disabled]){cursor:not-allowed;opacity:var(--sgds-opacity-40)}.nav-link::slotted(a){color:var(--sgds-link-color-default)!important;cursor:pointer}:host(:not([active])) .nav-link::slotted(a:not(:hover)){text-decoration:underline solid transparent!important;text-underline-offset:0;transition:text-underline-offset var(--sgds-motion-duration-standard) var(--sgds-motion-easing-enter),text-decoration-color var(--sgds-motion-duration-standard) var(--sgds-motion-easing-enter)}.nav-link::slotted(a:focus),.nav-link::slotted(a:focus-visible),.nav-link::slotted(a:hover),:host([active]) .nav-link::slotted(a){color:var(--color-emphasis)!important}.nav-link::slotted(a:hover),:host([active]) .nav-link::slotted(a){text-decoration-color:var(--color-emphasis)!important;text-underline-offset:var(--text-underline-offset);transition:text-underline-offset var(--sgds-motion-duration-standard) var(--sgds-motion-easing-enter),text-decoration-color var(--sgds-motion-duration-standard) var(--sgds-motion-easing-enter)}.nav-link::slotted(a[disabled]),:host([disabled]) .nav-link::slotted(a){pointer-events:none;text-decoration:none!important}`;class Ti extends Be{constructor(){super(...arguments),this.size="md",this.variant="primary",this.tone="primary",this.active=!1,this.disabled=!1}_processAnchor(e){this.disabled&&e.setAttribute("disabled","true"),e.hasAttribute("disabled")?(e.setAttribute("href","javascript:void(0)"),e.setAttribute("tabindex","-1")):e.setAttribute("tabindex","0")}_processIcon(e){const t={xs:"sm",sm:"md",md:"lg",lg:"xl"};e.querySelectorAll("sgds-icon").forEach(e=>{e.setAttribute("size",t[this.size]),e.classList.remove("icon-left","icon-right"),e.previousElementSibling||e.previousSibling||e.classList.add("icon-left"),e.nextElementSibling||e.nextSibling||e.classList.add("icon-right")})}_handleSlotChange(e){const t=e.target.assignedElements().find(e=>"a"===e.tagName.toLowerCase());t&&(this._processAnchor(t),this._processIcon(t))}firstUpdated(e){super.firstUpdated(e);const t=this.querySelector("a");t&&(this._processAnchor(t),this._processIcon(t))}render(){return ee`<slot class="nav-link " @slotchange=${this._handleSlotChange}></slot> `}}Ti.styles=[...Be.styles,Oi],e([Ve({type:String,reflect:!0})],Ti.prototype,"size",void 0),e([Ve({type:String,reflect:!0})],Ti.prototype,"variant",void 0),e([Ve({type:String,reflect:!0})],Ti.prototype,"tone",void 0),e([Ve({type:Boolean,reflect:!0})],Ti.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],Ti.prototype,"disabled",void 0);var Fi=n`:host{align-items:center;display:flex;font-size:var(--sgds-font-size-link-md);gap:var(--sgds-gap-xs);min-width:0}:host .nav-link::slotted(*){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([active]) .nav-link::slotted(*){--sgds-link-color-default:var(--sgds-color-default);color:var(--sgds-link-color-default,--sgds-color-default);overflow:hidden;pointer-events:none;text-overflow:ellipsis;white-space:nowrap}:host([active]) .nav-link::slotted(:focus),:host([active]) .nav-link::slotted(:focus-visible),:host([active]) .nav-link::slotted(:hover){--sgds-link-color-emphasis:var(--sgds-color-default);color:var(--sgds-link-color-emphasis,--sgds-color-default)}:host(.overflow-menu){flex-shrink:0}sgds-link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.separator{color:var(--sgds-color-subtle);display:flex}:host(:last-of-type) .separator{display:none}`;class Ri extends Be{constructor(){super(...arguments),this.active=!1,this._preventNavigation=e=>e.preventDefault()}updated(e){if(super.updated(e),e.has("active")){const e=this.querySelector("a");e&&(this.active?(e.setAttribute("tabindex","-1"),e.addEventListener("click",this._preventNavigation)):e.removeEventListener("click",this._preventNavigation))}}render(){return ee`
|
|
201
201
|
<sgds-link><slot class="nav-link"></slot></sgds-link>
|
|
202
202
|
<div class="separator">
|
|
203
203
|
<sgds-icon name="chevron-right" size="sm"></sgds-icon>
|
|
204
204
|
</div>
|
|
205
|
-
`}}
|
|
205
|
+
`}}Ri.styles=[Fi],Ri.dependencies={"sgds-link":Ti,"sgds-icon":_t},e([Ve({type:Boolean,reflect:!0})],Ri.prototype,"active",void 0),lt("sgds-breadcrumb",Bi),lt("sgds-breadcrumb-item",Ri);var Ni=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 ji extends Be{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"}}ji.styles=[...Be.styles,Ni],e([Le(".btn")],ji.prototype,"button",void 0),e([Ve({reflect:!0})],ji.prototype,"variant",void 0),e([Ve({reflect:!0})],ji.prototype,"tone",void 0),e([Ve({reflect:!0})],ji.prototype,"size",void 0),e([Ve({type:Boolean,reflect:!0})],ji.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],ji.prototype,"disabled",void 0),e([Ve({type:String,reflect:!0})],ji.prototype,"href",void 0),e([Ve({type:String,reflect:!0})],ji.prototype,"target",void 0),e([Ve({type:String,reflect:!0})],ji.prototype,"download",void 0),e([Ve({type:String})],ji.prototype,"ariaLabel",void 0),e([Ve({type:Boolean})],ji.prototype,"loading",void 0);class Ui{constructor(e,t){(this.host=e).addController(this),this.options=Object.assign({form:e=>e.closest("form")},t)}hostConnected(){this.form=this.options.form(this.host)}hostDisconnected(){this.form&&(this.form=void 0)}doAction(e,t){if(this.form){const s=document.createElement("button");s.type=e,s.style.position="absolute",s.style.width="0",s.style.height="0",s.style.clipPath="inset(50%)",s.style.overflow="hidden",s.style.whiteSpace="nowrap",t&&(["formaction","formmethod","formnovalidate","formtarget"].forEach(e=>{t.hasAttribute(e)&&s.setAttribute(e,t.getAttribute(e))}),"submit"===e&&t.hasAttribute("name")&&(s.name=t.getAttribute("name"),s.value=t.getAttribute("value")||"")),this.form.append(s),s.click(),s.remove()}}reset(e){this.doAction("reset",e)}submit(e){this.doAction("submit",e)}}var qi=n`:host{display:inline-block}:host([fullWidth]),:host([fullWidth]) .btn{width:100%}:host([fullWidth]) .btn.has-left-icon{justify-content:flex-start}:host([fullWidth]) .btn.has-right-icon{justify-content:space-between}:host([fullWidth]) .btn.has-left-icon.has-right-icon{justify-content:center}.btn span{padding:0 var(--sgds-padding-2-xs)}.btn.no-icon{gap:var(--sgds-gap-none)}.loading{cursor:default}`;class Yi extends ji{constructor(){super(...arguments),this.formSubmitController=new Ui(this,{form:e=>{if(e.hasAttribute("form")){const t=e.getRootNode(),s=e.getAttribute("form");return t.getElementById(s)}return e.closest("form")}}),this.type="button",this.fullWidth=!1,this.hasLeftIconSlot=!1,this.hasRightIconSlot=!1,this.hasSlotController=new $i(this,"leftIcon","rightIcon"),this._clickHandler=()=>{"submit"===this.type&&this.formSubmitController.submit(this),"reset"===this.type&&this.formSubmitController.reset(this)}}updated(){this.hasLeftIconSlot||(this.hasLeftIconSlot=this.hasSlotController.test("leftIcon")),this.hasRightIconSlot||(this.hasRightIconSlot=this.hasSlotController.test("rightIcon"))}_handleClick(e){if(this.disabled||this.loading)return e.preventDefault(),void e.stopPropagation();this.removeEventListener("click",this._clickHandler),this.addEventListener("click",this._clickHandler)}render(){const e=this.href,t=e?pt`a`:pt`button`,s=!this.hasLeftIconSlot&&!this.hasRightIconSlot;return gt`
|
|
206
206
|
<${t}
|
|
207
207
|
class="btn ${We({disabled:this.disabled,active:this.active,"has-left-icon":this.hasLeftIconSlot,"has-right-icon":this.hasRightIconSlot,"no-icon":s,loading:this.loading})}"
|
|
208
208
|
?disabled=${Ke(e?void 0:this.disabled)}
|
|
@@ -230,7 +230,7 @@ const ct=Symbol.for(""),ht=e=>{if(e?.r===ct)return e?._$litStatic$},pt=(e,...t)=
|
|
|
230
230
|
<slot name="rightIcon"></slot>`}
|
|
231
231
|
|
|
232
232
|
</${t}>
|
|
233
|
-
`}}Yi.styles=[...Ri.styles,$t,qi],e([ze({type:String,reflect:!0})],Yi.prototype,"name",void 0),e([ze({type:String,reflect:!0})],Yi.prototype,"value",void 0),e([ze({type:String,reflect:!0})],Yi.prototype,"type",void 0),e([ze({type:String,reflect:!0})],Yi.prototype,"form",void 0),e([ze({type:String,reflect:!0,attribute:"formaction"})],Yi.prototype,"formAction",void 0),e([ze({type:String,reflect:!0,attribute:"formmethod"})],Yi.prototype,"formMethod",void 0),e([ze({attribute:"formnovalidate",type:Boolean,reflect:!0})],Yi.prototype,"formNoValidate",void 0),e([ze({type:String,reflect:!0,attribute:"formtarget"})],Yi.prototype,"formTarget",void 0),e([ze({type:Boolean,reflect:!0})],Yi.prototype,"fullWidth",void 0),e([ze({type:Boolean})],Yi.prototype,"hasLeftIconSlot",void 0),e([ze({type:Boolean})],Yi.prototype,"hasRightIconSlot",void 0),lt("sgds-button",Yi);var Wi=n`:host{height:100%}:host([disabled]){cursor:not-allowed}:host([stretchedLink]:not([noPadding])) .card:not(.disabled):hover{box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 8px 16px 0 hsla(0,0%,5%,.12)}:host([stretchedLink]) slot[name=footer]::slotted(a),:host([stretchedLink]) slot[name=footer]::slotted(sgds-link),:host([stretchedLink]) slot[name=link]::slotted(a),:host([stretchedLink]) slot[name=link]::slotted(sgds-link){display:none}:host([stretchedLink]) .card:after{display:none}:host([orientation=horizontal]) .card{flex-direction:row}:host(:not([hideBorder])) .card{border:var(--sgds-border-width-1) solid var(--sgds-border-color-muted)}:host([orientation=horizontal]) .card-body{flex:1}:host([orientation=horizontal]) .card-media{padding:var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-xl)}:host([orientation=horizontal]) .card-image{width:40%}:host([imagePosition=after]) .card-image{order:1}:host([orientation=vertical][imagePosition=after]) slot[name=image]::slotted(img){border-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1));border-top-left-radius:var(--sgds-border-radius-none);border-top-right-radius:var(--sgds-border-radius-none)}:host([orientation=horizontal][imagePosition=after]) slot[name=image]::slotted(img){border-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1));border-bottom-left-radius:var(--sgds-border-radius-none);border-top-left-radius:var(--sgds-border-radius-none)}:host([orientation=horizontal]) slot[name=image]::slotted(img){border-bottom-left-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1));border-top-right-radius:var(--sgds-border-radius-none);height:100%;object-fit:cover}:host([orientation=vertical][imageAdjustment="padding around"]) .card-image{margin:var(--sgds-margin-xl) var(--sgds-margin-xl) var(--sgds-padding-none)}:host([orientation=vertical][imageAdjustment="padding around"][imagePosition=after]) .card-image{margin:var(--sgds-margin-none) var(--sgds-margin-xl) var(--sgds-margin-xl)}:host([orientation=horizontal][imageAdjustment="padding around"]) .card-image{margin:var(--sgds-margin-xl) var(--sgds-margin-none) var(--sgds-margin-xl) var(--sgds-margin-xl)}:host([orientation=horizontal][imageAdjustment="padding around"][imagePosition=after]) .card-image{margin:var(--sgds-margin-xl) var(--sgds-margin-xl) var(--sgds-margin-xl) var(--sgds-margin-none)}:host([orientation][imageAdjustment="padding around"]) slot[name=image]::slotted(img){border-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1))}:host([orientation=vertical]:not([imageAdjustment="aspect ratio"])) slot[name=image]::slotted(img){height:auto}:host([orientation=vertical][imageAdjustment="aspect ratio"]) slot[name=image]::slotted(img){object-fit:cover}.card{word-wrap:break-word;background-clip:border-box;background-color:var(--sgds-surface-default);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--sgds-border-radius-md);box-shadow:none;display:flex;flex-direction:column;height:100%;min-width:0;position:relative;transition:box-shadow .3s ease}a.card{color:initial;text-decoration:none}.card.disabled{opacity:var(--sgds-opacity-40);pointer-events:none}a.card:not(.disabled):focus-visible{--sgds-outline-offset-focus:-1px;outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.card-tinted-bg{border-radius:var(--sgds-border-radius-md);bottom:0;left:0;opacity:var(--sgds-opacity-0);position:absolute;right:0;top:0}.card-image{flex:1;position:relative}.card-media{align-items:flex-start;display:flex;justify-content:space-between;line-height:0;padding:var(--sgds-padding-xl) var(--sgds-padding-xl) var(--sgds-padding-none)}.card-body{color:var(--sgds-body-color-default);display:flex;flex:1 1 auto;flex-direction:column;gap:var(--sgds-gap-lg);padding:var(--sgds-padding-xl);z-index:1}.card-header-container{display:flex;flex-direction:column;gap:var(--sgds-gap-xs)}.card-header{display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs)}.card-title,slot[name=title]::slotted(*){color:var(--sgds-color-default);font-size:var(--sgds-font-size-heading-sm)!important;font-weight:var(--sgds-font-weight-semibold)!important;letter-spacing:var(--sgds-letter-spacing-tight)!important;line-height:var(--sgds-line-height-sm)!important;margin-bottom:var(--sgds-margin-none)!important}slot[name=subtitle]::slotted(*){color:var(--sgds-color-subtle);font-size:var(--sgds-font-size-overline-md)!important;font-weight:var(--sgds-font-weight-semibold)!important;letter-spacing:var(--sgds-letter-spacing-wide)!important;line-height:var(--sgds-line-height-2-xs)!important;margin:var(--sgds-margin-none)!important;text-transform:uppercase}slot[name=title]::slotted(a){color:var(--sgds-link-color-default);text-decoration:none!important}slot[name=description]::slotted(*){color:var(--sgds-color-subtle);margin-bottom:var(--sgds-margin-none)!important}slot[name=image]::slotted(img){border-top-left-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1));border-top-right-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1));display:block;width:100%}slot[name=footer]::slotted(*),slot[name=link]::slotted(*){margin-top:auto;padding-top:var(--sgds-padding-2-xs);width:fit-content}slot[name=footer]::slotted(a),slot[name=link]::slotted(a){color:var(--sgds-link-color-default);height:auto!important;text-decoration:none!important}slot[name=footer]::slotted(a:focus),slot[name=footer]::slotted(a:hover),slot[name=link]::slotted(a:focus),slot[name=link]::slotted(a:hover),slot[name=title]::slotted(a:focus),slot[name=title]::slotted(a:hover){color:var(--sgds-link-color-emphasis)}slot[name=footer]::slotted(a:focus-visible),slot[name=link]::slotted(a:focus-visible),slot[name=title]::slotted(a:focus-visible){outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}`,Ki=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}`,Gi=n`.bg-primary{background-color:var(--sgds-primary)!important}.bg-secondary{background-color:var(--sgds-secondary)!important}.bg-success{background-color:var(--sgds-success)!important}.bg-info{background-color:var(--sgds-info)!important}.bg-warning{background-color:var(--sgds-warning)!important}.bg-danger{background-color:var(--sgds-danger)!important}.bg-light{background-color:var(--sgds-light)!important}.bg-dark{background-color:var(--sgds-dark)!important}`,Ji=n`.border-primary{border-color:var(--sgds-primary)!important}.border-secondary{border-color:var(--sgds-secondary)!important}.border-success{border-color:var(--sgds-success)!important}.border-info{border-color:var(--sgds-info)!important}.border-warning{border-color:var(--sgds-warning)!important}.border-danger{border-color:var(--sgds-danger)!important}.border-light{border-color:var(--sgds-light)!important}.border-dark{border-color:var(--sgds-dark)!important}`,Xi=n`.h1,.h2,.h3,.h4,.h5,.h6 ::slotted(h6),::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),h1,h2,h3,h4,h5,h6{color:var(--sgds-heading-color);font-weight:700;line-height:1.2;margin-bottom:.5rem;margin-top:0}.h1,::slotted(h1),h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,::slotted(h1),h1{font-size:2.5rem}}.h2,::slotted(h2),h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,::slotted(h2),h2{font-size:2rem}}.h3,::slotted(h3),h3{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h3,::slotted(h3),h3{font-size:1.5rem}}.h4,::slotted(h4),h4{font-size:1.125rem}.h5,.h6 ::slotted(h6),::slotted(h5),h5,h6{font-size:1rem}.h1,::slotted(h1),h1{line-height:1.2}.h2,::slotted(h2),h2{line-height:1.25}.h3,::slotted(h3),h3{line-height:1.33}.h4,::slotted(h4),h4{line-height:1.78}.h5,.h6 ::slotted(h6),::slotted(h5),h5,h6{line-height:1.2}`,Qi=n`p{margin-bottom:1.5rem;margin-top:0}`;class ea extends Be{constructor(){super(...arguments),this.stretchedLink=!1,this.disabled=!1,this.hideBorder=!1,this.tinted=!1,this.orientation="vertical"}handleTitleSlotChange(e){const t=e.target.assignedNodes({flatten:!0});if(this.stretchedLink&&t[0]instanceof HTMLAnchorElement){(t[0].querySelector("a")||t[0]).removeAttribute("href")}}_forwardAnchorAttributes(e){const t=new Set(["class","style","id","slot","tabindex"]);if((null==e?void 0:e.href)&&!e.href.startsWith("javascript:")&&!e.href.startsWith("data:")&&!e.href.startsWith("vbscript:"))for(const{name:s,value:i}of Array.from(e.attributes))t.has(s)||s.startsWith("on")||this.card.setAttribute(s,i)}warnLinkSlotMisused(e){if(e.target.assignedNodes({flatten:!0}).length>1)return console.error("Multiple elements passed into SgdsCard's link slot")}}ea.styles=[...Be.styles,Ki,Gi,Ji,Xi,Qi,Wi],e([Ie("a.card")],ea.prototype,"card",void 0),e([ze({type:Boolean,reflect:!0})],ea.prototype,"stretchedLink",void 0),e([ze({type:Boolean,reflect:!0})],ea.prototype,"disabled",void 0),e([ze({type:Boolean,reflect:!0})],ea.prototype,"hideBorder",void 0),e([ze({type:Boolean,reflect:!0})],ea.prototype,"tinted",void 0),e([ze({type:String,reflect:!0})],ea.prototype,"orientation",void 0);var ta=n`:host([noPadding]) .card{background-color:inherit;border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent)}:host([orientation=vertical][noPadding]) .card-body{padding:var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-none)}:host([orientation=vertical][imagePosition=after][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-none)}:host([orientation=horizontal][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-xl)}:host([orientation=horizontal][imagePosition=after][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-none)}:host([tinted]:not([noPadding])) .card-tinted-bg{background-color:var(--sgds-bg-translucent-subtle);opacity:var(--sgds-opacity-50)}:host([orientation][noPadding]) .card-media{padding:var(--sgds-padding-none)}slot[name=menu]::slotted(*){position:absolute;right:20px;top:20px;z-index:10}`;class sa extends ea{constructor(){super(...arguments),this.imagePosition="before",this.imageAdjustment="default",this.hasImageSlot=!1,this.hasIconSlot=!1,this.hasUpperSlot=!1,this.noPadding=!1,this.hasSlotController=new $i(this,"image","icon","upper")}get linkSlotItems(){if(!this.linkNode||0===this.linkNode.length)return null;const e=this.linkNode[0];return e.querySelector("a")||e}get footerSlotItems(){if(!this.footerNode||0===this.footerNode.length)return null;const e=this.footerNode[0];return e.querySelector("a")||e}firstUpdated(e){var t;if(super.firstUpdated(e),!this.hasSlotController.test("image")&&!this.hasSlotController.test("icon")&&!this.hasSlotController.test("upper")&&this.noPadding){const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(".card-body");e&&(e.style.padding="0px")}if(this.stretchedLink){const e=this.footerSlotItems,t=this.linkSlotItems;this._forwardAnchorAttributes((null==e?void 0:e.href)?e:t)}}updated(){this.hasImageSlot||(this.hasImageSlot=this.hasSlotController.test("image")),this.hasIconSlot||(this.hasIconSlot=this.hasSlotController.test("icon")),this.hasUpperSlot||(this.hasUpperSlot=this.hasSlotController.test("upper"))}handleImgSlotChange(e){e.target.assignedNodes({flatten:!0}).length>1&&console.error("Multiple elements passed into SgdsCard's image slot"),this.hasSlotController.test("image")&&this.hasSlotController.test("icon")&&console.error("Both image and icon slots cannot be used together in SgdsCard")}render(){const e=this.stretchedLink?pt`a`:pt`div`,t=!this.stretchedLink||this.disabled?-1:0;return gt`
|
|
233
|
+
`}}Yi.styles=[...ji.styles,$t,qi],e([Ve({type:String,reflect:!0})],Yi.prototype,"name",void 0),e([Ve({type:String,reflect:!0})],Yi.prototype,"value",void 0),e([Ve({type:String,reflect:!0})],Yi.prototype,"type",void 0),e([Ve({type:String,reflect:!0})],Yi.prototype,"form",void 0),e([Ve({type:String,reflect:!0,attribute:"formaction"})],Yi.prototype,"formAction",void 0),e([Ve({type:String,reflect:!0,attribute:"formmethod"})],Yi.prototype,"formMethod",void 0),e([Ve({attribute:"formnovalidate",type:Boolean,reflect:!0})],Yi.prototype,"formNoValidate",void 0),e([Ve({type:String,reflect:!0,attribute:"formtarget"})],Yi.prototype,"formTarget",void 0),e([Ve({type:Boolean,reflect:!0})],Yi.prototype,"fullWidth",void 0),e([Ve({type:Boolean})],Yi.prototype,"hasLeftIconSlot",void 0),e([Ve({type:Boolean})],Yi.prototype,"hasRightIconSlot",void 0),lt("sgds-button",Yi);var Wi=n`:host{height:100%}:host([disabled]){cursor:not-allowed}:host([stretchedLink]:not([noPadding])) .card:not(.disabled):hover{box-shadow:0 0 1px 0 hsla(0,0%,5%,.12),0 8px 16px 0 hsla(0,0%,5%,.12)}:host([stretchedLink]) slot[name=footer]::slotted(a),:host([stretchedLink]) slot[name=footer]::slotted(sgds-link),:host([stretchedLink]) slot[name=link]::slotted(a),:host([stretchedLink]) slot[name=link]::slotted(sgds-link){display:none}:host([stretchedLink]) .card:after{display:none}:host([orientation=horizontal]) .card{flex-direction:row}:host(:not([hideBorder])) .card{border:var(--sgds-border-width-1) solid var(--sgds-border-color-muted)}:host([orientation=horizontal]) .card-body{flex:1}:host([orientation=horizontal]) .card-media{padding:var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-xl)}:host([orientation=horizontal]) .card-image{width:40%}:host([imagePosition=after]) .card-image{order:1}:host([orientation=vertical][imagePosition=after]) slot[name=image]::slotted(img){border-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1));border-top-left-radius:var(--sgds-border-radius-none);border-top-right-radius:var(--sgds-border-radius-none)}:host([orientation=horizontal][imagePosition=after]) slot[name=image]::slotted(img){border-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1));border-bottom-left-radius:var(--sgds-border-radius-none);border-top-left-radius:var(--sgds-border-radius-none)}:host([orientation=horizontal]) slot[name=image]::slotted(img){border-bottom-left-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1));border-top-right-radius:var(--sgds-border-radius-none);height:100%;object-fit:cover}:host([orientation=vertical][imageAdjustment="padding around"]) .card-image{margin:var(--sgds-margin-xl) var(--sgds-margin-xl) var(--sgds-padding-none)}:host([orientation=vertical][imageAdjustment="padding around"][imagePosition=after]) .card-image{margin:var(--sgds-margin-none) var(--sgds-margin-xl) var(--sgds-margin-xl)}:host([orientation=horizontal][imageAdjustment="padding around"]) .card-image{margin:var(--sgds-margin-xl) var(--sgds-margin-none) var(--sgds-margin-xl) var(--sgds-margin-xl)}:host([orientation=horizontal][imageAdjustment="padding around"][imagePosition=after]) .card-image{margin:var(--sgds-margin-xl) var(--sgds-margin-xl) var(--sgds-margin-xl) var(--sgds-margin-none)}:host([orientation][imageAdjustment="padding around"]) slot[name=image]::slotted(img){border-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1))}:host([orientation=vertical]:not([imageAdjustment="aspect ratio"])) slot[name=image]::slotted(img){height:auto}:host([orientation=vertical][imageAdjustment="aspect ratio"]) slot[name=image]::slotted(img){object-fit:cover}.card{word-wrap:break-word;background-clip:border-box;background-color:var(--sgds-surface-default);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--sgds-border-radius-md);box-shadow:none;display:flex;flex-direction:column;height:100%;min-width:0;position:relative;transition:box-shadow .3s ease}a.card{color:initial;text-decoration:none}.card.disabled{opacity:var(--sgds-opacity-40);pointer-events:none}a.card:not(.disabled):focus-visible{--sgds-outline-offset-focus:-1px;outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.card-tinted-bg{border-radius:var(--sgds-border-radius-md);bottom:0;left:0;opacity:var(--sgds-opacity-0);position:absolute;right:0;top:0}.card-image{flex:1;position:relative}.card-media{align-items:flex-start;display:flex;justify-content:space-between;line-height:0;padding:var(--sgds-padding-xl) var(--sgds-padding-xl) var(--sgds-padding-none)}.card-body{color:var(--sgds-body-color-default);display:flex;flex:1 1 auto;flex-direction:column;gap:var(--sgds-gap-lg);padding:var(--sgds-padding-xl);z-index:1}.card-header-container{display:flex;flex-direction:column;gap:var(--sgds-gap-xs)}.card-header{display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs)}.card-title,slot[name=title]::slotted(*){color:var(--sgds-color-default);font-size:var(--sgds-font-size-heading-sm)!important;font-weight:var(--sgds-font-weight-semibold)!important;letter-spacing:var(--sgds-letter-spacing-tight)!important;line-height:var(--sgds-line-height-sm)!important;margin-bottom:var(--sgds-margin-none)!important}slot[name=subtitle]::slotted(*){color:var(--sgds-color-subtle);font-size:var(--sgds-font-size-overline-md)!important;font-weight:var(--sgds-font-weight-semibold)!important;letter-spacing:var(--sgds-letter-spacing-wide)!important;line-height:var(--sgds-line-height-2-xs)!important;margin:var(--sgds-margin-none)!important;text-transform:uppercase}slot[name=title]::slotted(a){color:var(--sgds-link-color-default);text-decoration:none!important}slot[name=description]::slotted(*){color:var(--sgds-color-subtle);margin-bottom:var(--sgds-margin-none)!important}slot[name=image]::slotted(img){border-top-left-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1));border-top-right-radius:calc(var(--sgds-border-radius-md) - var(--sgds-border-width-1));display:block;width:100%}slot[name=footer]::slotted(*),slot[name=link]::slotted(*){margin-top:auto;padding-top:var(--sgds-padding-2-xs);width:fit-content}slot[name=footer]::slotted(a),slot[name=link]::slotted(a){color:var(--sgds-link-color-default);height:auto!important;text-decoration:none!important}slot[name=footer]::slotted(a:focus),slot[name=footer]::slotted(a:hover),slot[name=link]::slotted(a:focus),slot[name=link]::slotted(a:hover),slot[name=title]::slotted(a:focus),slot[name=title]::slotted(a:hover){color:var(--sgds-link-color-emphasis)}slot[name=footer]::slotted(a:focus-visible),slot[name=link]::slotted(a:focus-visible),slot[name=title]::slotted(a:focus-visible){outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}`,Ki=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}`,Gi=n`.bg-primary{background-color:var(--sgds-primary)!important}.bg-secondary{background-color:var(--sgds-secondary)!important}.bg-success{background-color:var(--sgds-success)!important}.bg-info{background-color:var(--sgds-info)!important}.bg-warning{background-color:var(--sgds-warning)!important}.bg-danger{background-color:var(--sgds-danger)!important}.bg-light{background-color:var(--sgds-light)!important}.bg-dark{background-color:var(--sgds-dark)!important}`,Ji=n`.border-primary{border-color:var(--sgds-primary)!important}.border-secondary{border-color:var(--sgds-secondary)!important}.border-success{border-color:var(--sgds-success)!important}.border-info{border-color:var(--sgds-info)!important}.border-warning{border-color:var(--sgds-warning)!important}.border-danger{border-color:var(--sgds-danger)!important}.border-light{border-color:var(--sgds-light)!important}.border-dark{border-color:var(--sgds-dark)!important}`,Xi=n`.h1,.h2,.h3,.h4,.h5,.h6 ::slotted(h6),::slotted(h1),::slotted(h2),::slotted(h3),::slotted(h4),::slotted(h5),h1,h2,h3,h4,h5,h6{color:var(--sgds-heading-color);font-weight:700;line-height:1.2;margin-bottom:.5rem;margin-top:0}.h1,::slotted(h1),h1{font-size:calc(1.375rem + 1.5vw)}@media (min-width:1200px){.h1,::slotted(h1),h1{font-size:2.5rem}}.h2,::slotted(h2),h2{font-size:calc(1.325rem + .9vw)}@media (min-width:1200px){.h2,::slotted(h2),h2{font-size:2rem}}.h3,::slotted(h3),h3{font-size:calc(1.275rem + .3vw)}@media (min-width:1200px){.h3,::slotted(h3),h3{font-size:1.5rem}}.h4,::slotted(h4),h4{font-size:1.125rem}.h5,.h6 ::slotted(h6),::slotted(h5),h5,h6{font-size:1rem}.h1,::slotted(h1),h1{line-height:1.2}.h2,::slotted(h2),h2{line-height:1.25}.h3,::slotted(h3),h3{line-height:1.33}.h4,::slotted(h4),h4{line-height:1.78}.h5,.h6 ::slotted(h6),::slotted(h5),h5,h6{line-height:1.2}`,Qi=n`p{margin-bottom:1.5rem;margin-top:0}`;class ea extends Be{constructor(){super(...arguments),this.stretchedLink=!1,this.disabled=!1,this.hideBorder=!1,this.tinted=!1,this.orientation="vertical"}handleTitleSlotChange(e){const t=e.target.assignedNodes({flatten:!0});if(this.stretchedLink&&t[0]instanceof HTMLAnchorElement){(t[0].querySelector("a")||t[0]).removeAttribute("href")}}_forwardAnchorAttributes(e){const t=new Set(["class","style","id","slot","tabindex"]);if((null==e?void 0:e.href)&&!e.href.startsWith("javascript:")&&!e.href.startsWith("data:")&&!e.href.startsWith("vbscript:"))for(const{name:s,value:i}of Array.from(e.attributes))t.has(s)||s.startsWith("on")||this.card.setAttribute(s,i)}warnLinkSlotMisused(e){if(e.target.assignedNodes({flatten:!0}).length>1)return console.error("Multiple elements passed into SgdsCard's link slot")}}ea.styles=[...Be.styles,Ki,Gi,Ji,Xi,Qi,Wi],e([Le("a.card")],ea.prototype,"card",void 0),e([Ve({type:Boolean,reflect:!0})],ea.prototype,"stretchedLink",void 0),e([Ve({type:Boolean,reflect:!0})],ea.prototype,"disabled",void 0),e([Ve({type:Boolean,reflect:!0})],ea.prototype,"hideBorder",void 0),e([Ve({type:Boolean,reflect:!0})],ea.prototype,"tinted",void 0),e([Ve({type:String,reflect:!0})],ea.prototype,"orientation",void 0);var ta=n`:host([noPadding]) .card{background-color:inherit;border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent)}:host([orientation=vertical][noPadding]) .card-body{padding:var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-none)}:host([orientation=vertical][imagePosition=after][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-none)}:host([orientation=horizontal][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-xl)}:host([orientation=horizontal][imagePosition=after][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-none)}:host([tinted]:not([noPadding])) .card-tinted-bg{background-color:var(--sgds-bg-translucent-subtle);opacity:var(--sgds-opacity-50)}:host([orientation][noPadding]) .card-media{padding:var(--sgds-padding-none)}slot[name=menu]::slotted(*){position:absolute;right:20px;top:20px;z-index:10}`;class sa extends ea{constructor(){super(...arguments),this.imagePosition="before",this.imageAdjustment="default",this.hasImageSlot=!1,this.hasIconSlot=!1,this.hasUpperSlot=!1,this.noPadding=!1,this.hasSlotController=new $i(this,"image","icon","upper")}get linkSlotItems(){if(!this.linkNode||0===this.linkNode.length)return null;const e=this.linkNode[0];return e.querySelector("a")||e}get footerSlotItems(){if(!this.footerNode||0===this.footerNode.length)return null;const e=this.footerNode[0];return e.querySelector("a")||e}firstUpdated(e){var t;if(super.firstUpdated(e),!this.hasSlotController.test("image")&&!this.hasSlotController.test("icon")&&!this.hasSlotController.test("upper")&&this.noPadding){const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(".card-body");e&&(e.style.padding="0px")}if(this.stretchedLink){const e=this.footerSlotItems,t=this.linkSlotItems;this._forwardAnchorAttributes((null==e?void 0:e.href)?e:t)}}updated(){this.hasImageSlot||(this.hasImageSlot=this.hasSlotController.test("image")),this.hasIconSlot||(this.hasIconSlot=this.hasSlotController.test("icon")),this.hasUpperSlot||(this.hasUpperSlot=this.hasSlotController.test("upper"))}handleImgSlotChange(e){e.target.assignedNodes({flatten:!0}).length>1&&console.error("Multiple elements passed into SgdsCard's image slot"),this.hasSlotController.test("image")&&this.hasSlotController.test("icon")&&console.error("Both image and icon slots cannot be used together in SgdsCard")}render(){const e=this.stretchedLink?pt`a`:pt`div`,t=!this.stretchedLink||this.disabled?-1:0;return gt`
|
|
234
234
|
<${e}
|
|
235
235
|
class="card ${We({disabled:this.disabled})}"
|
|
236
236
|
tabindex=${t}
|
|
@@ -259,13 +259,13 @@ const ct=Symbol.for(""),ht=e=>{if(e?.r===ct)return e?._$litStatic$},pt=(e,...t)=
|
|
|
259
259
|
</slot>
|
|
260
260
|
</div>
|
|
261
261
|
</${e}>
|
|
262
|
-
`}}sa.styles=[...ea.styles,ta],e([De({slot:"footer"})],sa.prototype,"footerNode",void 0),e([De({slot:"link"})],sa.prototype,"linkNode",void 0),e([
|
|
262
|
+
`}}sa.styles=[...ea.styles,ta],e([De({slot:"footer"})],sa.prototype,"footerNode",void 0),e([De({slot:"link"})],sa.prototype,"linkNode",void 0),e([Ve({type:String,reflect:!0})],sa.prototype,"imagePosition",void 0),e([Ve({type:String,reflect:!0})],sa.prototype,"imageAdjustment",void 0),e([Ve({type:Boolean})],sa.prototype,"hasImageSlot",void 0),e([Ve({type:Boolean})],sa.prototype,"hasIconSlot",void 0),e([Ve({type:Boolean})],sa.prototype,"hasUpperSlot",void 0),e([Ve({type:Boolean,reflect:!0})],sa.prototype,"noPadding",void 0),lt("sgds-card",sa);const ia=qe(
|
|
263
263
|
/**
|
|
264
264
|
* @license
|
|
265
265
|
* Copyright 2020 Google LLC
|
|
266
266
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
267
267
|
*/
|
|
268
|
-
class extends Ye{constructor(e){if(super(e),e.type!==
|
|
268
|
+
class extends Ye{constructor(e){if(super(e),e.type!==je&&e.type!==Re&&e.type!==Ue)throw new Error("The `live` directive is not allowed on child or event bindings");if(!zt(e))throw new Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===se||t===ie)return t;const s=e.element,i=e.name;if(e.type===je){if(t===s[i])return se}else if(e.type===Ue){if(!!t===s.hasAttribute(i))return se}else if(e.type===Re&&s.getAttribute(i)===String(t))return se;return Dt(e),t}});var aa=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)}`,oa=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)}`,na=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-xl);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)}`;const ra=(e="value")=>(t,s)=>{const i=t.constructor,a=i.prototype.attributeChangedCallback;i.prototype.attributeChangedCallback=function(t,o,n){var r;const l=i.getPropertyOptions(e);if(t===("string"==typeof l.attribute?l.attribute:e).toLowerCase()){const t=l.converter||_,i=("function"==typeof t?t:null!==(r=null==t?void 0:t.fromAttribute)&&void 0!==r?r:_.fromAttribute)(n,l.type);this[e]!==i&&(this[s]=i)}a.call(this,t,o,n)}};class la{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,s){return this._internals.setValidity(e,t,s)}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 s in t)t[s]&&(this.validationError=s.toString(),this._internals.setValidity({[this.validationError]:!0},e.validationMessage,e))}}const da=t=>{class s 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 la(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,s){if(!this._mixinShouldSkipSgdsValidation())return this.inputValidationController.setValidity(e,t,s)}_mixinShouldSkipSgdsValidation(){const e=this.closest("form");return(null==e?void 0:e.noValidate)||this.noValidate}}return s.formAssociated=!0,e([Ie("sgds-input")],s.prototype,"sgdsInput",void 0),e([Ie("sgds-datepicker-input")],s.prototype,"sgdsDatepickerInput",void 0),s};var ca=n`.empty-menu,.loading-menu{padding:var(--sgds-padding-sm) var(--sgds-padding-lg,20px);pointer-events:none}.loading-menu{align-items:center;display:flex;gap:var(--sgds-gap-xs)}`;class ha extends(da(zi)){setInvalid(e){this.invalid=e,e?this.emit("sgds-invalid"):this.emit("sgds-valid")}constructor(){super(),this.label="",this.hintText="",this.autofocus=!1,this.disabled=!1,this.required=!1,this.loading=!1,this.value="",this.displayValue="",this.defaultValue="",this.hasFeedback=!1,this.invalidFeedback="",this.invalid=!1,this.autocomplete="on",this.menuList=[],this.selectedItems=[],this.filteredList=[],this._isTouched=!1,this._controlId=Zi("input"),this._labelId=Zi("label"),this.floatingOpts={middleware:[yi({apply({rects:e,elements:t}){t.floating.style.width=`${e.reference.width}px`}})]}}connectedCallback(){super.connectedCallback(),this.addEventListener("blur",async e=>{var t;if(this._mixinShouldSkipSgdsValidation())return;const s=this.constructor.childName,i=(null===(t=e.relatedTarget)||void 0===t?void 0:t.tagName.toLowerCase())===s;this.invalid=!i&&!this._mixinReportValidity()})}reportValidity(){return this._mixinReportValidity()}setValidity(e,t,s){return this._mixinSetValidity(e,t,s)}checkValidity(){return this._mixinCheckValidity()}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}_renderFeedback(){return this.invalid&&this.hasFeedback?ee` <div class="invalid-feedback-container">
|
|
269
269
|
<slot name="invalidIcon">
|
|
270
270
|
<sgds-icon name="exclamation-circle-fill" size="md"></sgds-icon>
|
|
271
271
|
</slot>
|
|
@@ -279,11 +279,11 @@ class extends Ye{constructor(e){if(super(e),e.type!==Re&&e.type!==je&&e.type!==U
|
|
|
279
279
|
class=${We({"form-label":!0,required:this.required})}
|
|
280
280
|
>${this.label}</label
|
|
281
281
|
>
|
|
282
|
-
`;return this.label&&e}_handleClick(){if(this.readonly)return null;this.menuIsOpen?this.hideMenu():this.showMenu()}async _getMenuListFromOptions(e){const t=e.map(async e=>(await e.updateComplete,e)),s=await Promise.all(t);return null==s?void 0:s.map(e=>{var t;return{label:e.innerText,value:e.getAttribute("value"),disabled:null!==(t=e.disabled)&&void 0!==t?t:void 0}})}_renderEmptyMenu(){return ee` <div class="empty-menu">No options</div> `}_renderLoadingMenu(){return ee`<div class="loading-menu"><sgds-spinner size="xs" tone="brand"></sgds-spinner>Loading...</div>`}}ha.styles=[...
|
|
282
|
+
`;return this.label&&e}_handleClick(){if(this.readonly)return null;this.menuIsOpen?this.hideMenu():this.showMenu()}async _getMenuListFromOptions(e){const t=e.map(async e=>(await e.updateComplete,e)),s=await Promise.all(t);return null==s?void 0:s.map(e=>{var t;return{label:e.innerText,value:e.getAttribute("value"),disabled:null!==(t=e.disabled)&&void 0!==t?t:void 0}})}_renderEmptyMenu(){return ee` <div class="empty-menu">No options</div> `}_renderLoadingMenu(){return ee`<div class="loading-menu"><sgds-spinner size="xs" tone="brand"></sgds-spinner>Loading...</div>`}}ha.styles=[...zi.styles,Pi,oa,aa,na,ca],e([Ve({reflect:!0})],ha.prototype,"label",void 0),e([Ve({reflect:!0})],ha.prototype,"hintText",void 0),e([Ve({reflect:!0})],ha.prototype,"name",void 0),e([Ve({type:String,reflect:!0})],ha.prototype,"placeholder",void 0),e([Ve({type:Boolean,reflect:!0})],ha.prototype,"autofocus",void 0),e([Ve({type:Boolean,reflect:!0})],ha.prototype,"disabled",void 0),e([Ve({type:Boolean,reflect:!0})],ha.prototype,"required",void 0),e([Ve({type:Boolean,reflect:!0})],ha.prototype,"loading",void 0),e([Ve({type:String,reflect:!0})],ha.prototype,"value",void 0),e([ze()],ha.prototype,"displayValue",void 0),e([ra()],ha.prototype,"defaultValue",void 0),e([Ve({type:Boolean,reflect:!0})],ha.prototype,"hasFeedback",void 0),e([Ve({type:String,reflect:!0})],ha.prototype,"invalidFeedback",void 0),e([Ve({type:Boolean,reflect:!0})],ha.prototype,"invalid",void 0),e([Ve({type:String,reflect:!0})],ha.prototype,"autocomplete",void 0),e([Ve({type:Array})],ha.prototype,"menuList",void 0),e([ze()],ha.prototype,"selectedItems",void 0),e([ze()],ha.prototype,"filteredList",void 0),e([Ie("input.form-control")],ha.prototype,"_input",void 0);var pa=n`:host{display:block;position:relative}.dropdown{display:flex;height:100%}.dropdown-menu{box-sizing:border-box;max-height:10rem;overflow-x:hidden;overflow-y:auto}.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}.combobox .form-control-group{height:unset;min-height:var(--sgds-dimension-48)}.combobox-input-container{align-items:center;display:flex;flex-wrap:wrap;gap:var(--sgds-gap-xs);padding:calc(var(--sgds-form-padding-y) - var(--sgds-form-border-width-default)) 0;width:calc(100% - var(--sgds-icon-size-md, 1.25rem))}.combobox-input-container .form-control{flex:1 1 0;min-width:10ch}slot[id=default].d-none,slot[id=default].d-none::slotted(*){display:none}.form-clearable:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}`,ua=n`:host([active]) .dropdown-item{background-color:var(--sgds-bg-translucent-subtle)}.dropdown-item{background-color:var(--sgds-bg-transparent);clear:both;color:var(--sgds-form-color-default);cursor:pointer;font-size:var(--sgds-font-size-label-md);height:100%;overflow-wrap:anywhere;padding:var(--sgds-padding-sm) var(--sgds-padding-md);text-align:inherit;white-space:normal}.dropdown-item.disabled{opacity:var(--sgds-opacity-40);pointer-events:none}.dropdown-item .normal-item-content{align-items:center;display:flex;justify-content:space-between}:host([active]) .dropdown-item .normal-item-content{color:var(--sgds-form-primary-color-default)}.dropdown-item:hover{background:var(--sgds-bg-translucent-subtle)}.dropdown-item:focus-visible{background:var(--sgds-bg-translucent-subtle);outline:var(--sgds-form-outline-focus);outline-offset:var(--sgds-form-outline-offset-focus)}`;class ga extends Be{constructor(){super(...arguments),this.active=!1,this.disabled=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menuitem"),this.setAttribute("aria-disabled",`${this.disabled}`),this._updateAriaLabel()}_updateAriaLabel(){var e;const t=null===(e=this.textContent)||void 0===e?void 0:e.trim();t&&this.setAttribute("aria-label",t)}render(){const e={disabled:this.disabled,active:this.active};return ee`
|
|
283
283
|
<div class="dropdown-item ${We(e)}" tabindex=${this.disabled?"-1":"0"}>
|
|
284
284
|
${this._renderItemContent()}
|
|
285
285
|
</div>
|
|
286
|
-
`}}ga.styles=[ua],e([
|
|
286
|
+
`}}ga.styles=[ua],e([Ve({type:Boolean,reflect:!0})],ga.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],ga.prototype,"disabled",void 0),e([Ve({type:String,reflect:!0})],ga.prototype,"value",void 0);var va=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}`,ma=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)}`;class fa extends Be{constructor(){super(...arguments),this.label="",this.hintText="",this.disabled=!1,this.invalid=!1,this._controlId=Zi("input"),this._labelId=Zi("label")}setInvalid(e){this.invalid=e,e?this.emit("sgds-invalid"):this.emit("sgds-valid")}}fa.styles=[...Be.styles,aa,oa,va,ma],e([Ve({reflect:!0})],fa.prototype,"label",void 0),e([Ve({reflect:!0})],fa.prototype,"hintText",void 0),e([Ve({reflect:!0})],fa.prototype,"name",void 0),e([Ve({type:Boolean,reflect:!0})],fa.prototype,"disabled",void 0),e([Ve({type:Boolean,reflect:!0})],fa.prototype,"invalid",void 0);var ba=n`.form-check-input[type=checkbox]{border-radius:var(--sgds-form-border-radius-md)}.form-check-input[checked]{--sgds-radio-bg-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" fill="none"><path d="M14.347 3.979a.522.522 0 0 1 0 .739L7.043 12.02a.521.521 0 0 1-.738 0L2.653 8.369a.522.522 0 1 1 .739-.738l3.282 3.283 6.934-6.935a.52.52 0 0 1 .739 0Z" fill="%23fff"/></svg>')}.form-check-input:indeterminate,.form-check-input[indeterminate]{--sgds-radio-bg-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.5 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5Z" fill="%23fff"/></svg>');background-color:var(--sgds-form-primary-surface-default);border:var(--sgds-form-border-width-default) solid var(--sgds-border-color-transparent)}.form-check-input:indeterminate:focus,.form-check-input:indeterminate:hover,.form-check-input[indeterminate]:focus-visible,.form-check-input[indeterminate]:hover{background-color:var(--sgds-form-primary-surface-emphasis)}.form-check-input:indeterminate.is-invalid,.form-check-input[checked].is-invalid,.form-check-input[indeterminate].is-invalid{background-color:var(--sgds-form-danger-surface-default)}.form-check-label{flex:1;font-size:var(--sgds-font-size-label-md)}.form-check{margin:var(--sgds-form-padding-inline-sm) 0;padding:0}`,wa=n`input{margin:0}.form-check{display:flex;gap:var(--sgds-form-gap-md);padding:var(--sgds-form-padding-inline-sm) 0}.form-check-input{appearance:none;background-color:var(--sgds-form-surface-default);background-image:var(--sgds-radio-bg-image);background-position:50%;background-repeat:no-repeat;background-size:auto;border:var(--sgds-form-border-width-default) solid var(--sgds-border-color-default);flex-shrink:0;height:var(--sgds-form-height-sm);width:var(--sgds-form-width-xs)}.form-check-input[checked]{background-color:var(--sgds-form-primary-surface-default);border:var(--sgds-form-border-width-default) solid var(--sgds-border-color-transparent)}.form-check-input:focus-visible{outline:var(--sgds-form-outline-focus);outline-offset:var(--sgds-form-outline-offset-focus)}.form-check-input:not([disabled]):not(.is-invalid):not([aria-checked=true]):not(:focus-visible):hover{outline:var(--sgds-form-border-width-thick) solid var(--sgds-border-color-emphasis);outline-offset:var(--sgds-form-outline-offset-focus)}.form-check-input:not([disabled]):not(.is-invalid)[checked]:focus-visible,.form-check-input:not([disabled]):not(.is-invalid)[checked]:hover{background-color:var(--sgds-form-primary-surface-emphasis)}:host([disabled]) .form-check{cursor:not-allowed;opacity:var(--sgds-opacity-40)}.form-check-input:not([disabled]).is-invalid{border:var(--sgds-form-border-width-default) solid var(--sgds-form-danger-border-color-default)}.form-check-input:not([disabled]).is-invalid:focus-visible{outline:var(--sgds-border-width-2) solid var(--sgds-form-danger-color-default);outline-offset:var(--sgds-form-outline-offset-focus)}`;class ya extends(da(fa)){constructor(){super(...arguments),this.hasSlotController=new $i(this,"[default]"),this.checked=!1,this.defaultChecked=!1,this.indeterminate=!1,this.required=!1,this.noValidate=!1,this.invalidFeedback="",this._isTouched=!1,this._handleHostClick=e=>{e.composedPath()[0]===this&&(e.stopPropagation(),this.input.click())}}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}_handleChange(e){this.indeterminate&&(this.indeterminate=!this.indeterminate),this.checked=!this.checked,super._mixinHandleChange(e),this.emit("sgds-change",{detail:{checked:this.checked,value:this.value}}),this.checked?this.emit("sgds-check",{detail:{value:this.value}}):this.emit("sgds-uncheck",{detail:{value:this.value}})}_handleKeyDown(e){const t=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;"Enter"!==e.key||t||this.click()}_handleBlur(){this._isTouched=!0,this.emit("sgds-blur")}_handleFocus(){this.emit("sgds-focus")}_handleInvalid(e){e.preventDefault(),this.invalid=!0}_handleDisabledChange(){this.setInvalid(!1)}_handleIsTouched(){this._mixinShouldSkipSgdsValidation()||this._isTouched&&(this.invalid=!this.input.checkValidity())}_mixinResetFormControl(){this._isTouched=!1,this.checked=this.input.checked=this.defaultChecked,this.input.dispatchEvent(new InputEvent("reset")),this._mixinResetValidity(this.input)}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}firstUpdated(e){super.firstUpdated(e),this.checked&&this.emit("sgds-check",{detail:{value:this.value}})}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this._handleHostClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this._handleHostClick)}render(){const e="both"===this.hasFeedback||"style"===this.hasFeedback,t="both"===this.hasFeedback||"text"===this.hasFeedback,s=this.hasSlotController.test("[default]");return ee`
|
|
287
287
|
<div class="form-check">
|
|
288
288
|
<input
|
|
289
289
|
class=${We({"form-check-input":!0,"is-invalid":e&&this.invalid})}
|
|
@@ -304,7 +304,7 @@ class extends Ye{constructor(e){if(super(e),e.type!==Re&&e.type!==je&&e.type!==U
|
|
|
304
304
|
@blur=${this._handleBlur}
|
|
305
305
|
@focus=${this._handleFocus}
|
|
306
306
|
/>
|
|
307
|
-
|
|
307
|
+
${s?ee`<label for="${this._controlId}" class="form-check-label" id="${this._labelId}"><slot></slot></label>`:ie}
|
|
308
308
|
</div>
|
|
309
309
|
${t&&this.invalid?ee`
|
|
310
310
|
<div class="invalid-feedback-container">
|
|
@@ -316,7 +316,7 @@ class extends Ye{constructor(e){if(super(e),e.type!==Re&&e.type!==je&&e.type!==U
|
|
|
316
316
|
</div>
|
|
317
317
|
</div>
|
|
318
318
|
`:ie}
|
|
319
|
-
`}}ya.styles=[...fa.styles,wa,ba],ya.dependencies={"sgds-icon":_t},e([
|
|
319
|
+
`}}ya.styles=[...fa.styles,wa,ba],ya.dependencies={"sgds-icon":_t},e([Ve({type:String,reflect:!0})],ya.prototype,"value",void 0),e([Ve({type:Boolean,reflect:!0})],ya.prototype,"checked",void 0),e([Ve({type:String,reflect:!0})],ya.prototype,"hasFeedback",void 0),e([ra("checked")],ya.prototype,"defaultChecked",void 0),e([Ve({type:Boolean,reflect:!0})],ya.prototype,"indeterminate",void 0),e([Ve({type:Boolean,reflect:!0})],ya.prototype,"required",void 0),e([Ve({type:Boolean,reflect:!0})],ya.prototype,"noValidate",void 0),e([Ve({type:String,reflect:!0})],ya.prototype,"invalidFeedback",void 0),e([ze()],ya.prototype,"_isTouched",void 0),e([ot("disabled",{waitUntilFirstUpdate:!0})],ya.prototype,"_handleDisabledChange",null),e([ot("_isTouched",{waitUntilFirstUpdate:!0})],ya.prototype,"_handleIsTouched",null);class _a extends ga{constructor(){super(...arguments),this.checkbox=!1,this._renderItemContent=()=>this.checkbox?ee`
|
|
320
320
|
<sgds-checkbox .checked=${this.active} .disabled=${this.disabled}>
|
|
321
321
|
<slot></slot>
|
|
322
322
|
</sgds-checkbox>
|
|
@@ -325,13 +325,13 @@ class extends Ye{constructor(e){if(super(e),e.type!==Re&&e.type!==je&&e.type!==U
|
|
|
325
325
|
<slot></slot>
|
|
326
326
|
${this.active?ee` <sgds-icon name="check"></sgds-icon> `:ie}
|
|
327
327
|
</div>
|
|
328
|
-
`}connectedCallback(){super.connectedCallback()}firstUpdated(e){super.firstUpdated(e);const t=this.parentElement;(null==t?void 0:t.multiSelect)&&(this.checkbox=!0)}}_a.dependencies={"sgds-icon":_t,"sgds-checkbox":ya},e([
|
|
328
|
+
`}connectedCallback(){super.connectedCallback()}firstUpdated(e){super.firstUpdated(e);const t=this.parentElement;(null==t?void 0:t.multiSelect)&&(this.checkbox=!0)}}_a.dependencies={"sgds-icon":_t,"sgds-checkbox":ya},e([Ve({type:Boolean,reflect:!0})],_a.prototype,"checkbox",void 0);
|
|
329
329
|
/**
|
|
330
330
|
* @license
|
|
331
331
|
* Copyright 2017 Google LLC
|
|
332
332
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
333
333
|
*/
|
|
334
|
-
const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};const ka=qe(class extends Ye{constructor(e){if(super(e),e.type!==Ne)throw new Error("repeat() can only be used in text expressions")}_getValuesAndKeys(e,t,s){let i;void 0===s?s=t:void 0!==t&&(i=t);const a=[],o=[];let n=0;for(const t of e)a[n]=i?i(t,n):n,o[n]=s(t,n),n++;return{values:o,keys:a}}render(e,t,s){return this._getValuesAndKeys(e,t,s).values}update(e,[t,s,i]){const a=e._$committedValue;const{values:o,keys:n}=this._getValuesAndKeys(t,s,i);if(!Array.isArray(a))return this._itemKeys=n,o;const r=this._itemKeys??=[],l=[];let d,c,h=0,p=a.length-1,u=0,g=o.length-1;for(;h<=p&&u<=g;)if(null===a[h])h++;else if(null===a[p])p--;else if(r[h]===n[u])l[u]=
|
|
334
|
+
const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};const ka=qe(class extends Ye{constructor(e){if(super(e),e.type!==Ne)throw new Error("repeat() can only be used in text expressions")}_getValuesAndKeys(e,t,s){let i;void 0===s?s=t:void 0!==t&&(i=t);const a=[],o=[];let n=0;for(const t of e)a[n]=i?i(t,n):n,o[n]=s(t,n),n++;return{values:o,keys:a}}render(e,t,s){return this._getValuesAndKeys(e,t,s).values}update(e,[t,s,i]){const a=e._$committedValue;const{values:o,keys:n}=this._getValuesAndKeys(t,s,i);if(!Array.isArray(a))return this._itemKeys=n,o;const r=this._itemKeys??=[],l=[];let d,c,h=0,p=a.length-1,u=0,g=o.length-1;for(;h<=p&&u<=g;)if(null===a[h])h++;else if(null===a[p])p--;else if(r[h]===n[u])l[u]=Lt(a[h],o[u]),h++,u++;else if(r[p]===n[g])l[g]=Lt(a[p],o[g]),p--,g--;else if(r[h]===n[g])l[g]=Lt(a[h],o[g]),At(e,l[g+1],a[h]),h++,g--;else if(r[p]===n[u])l[u]=Lt(a[p],o[u]),At(e,a[h],a[p]),p--,u++;else if(void 0===d&&(d=xa(n,u,g),c=xa(r,h,p)),d.has(r[h]))if(d.has(r[p])){const t=c.get(n[u]),s=void 0!==t?a[t]:null;if(null===s){const t=At(e,a[h]);Lt(t,o[u]),l[u]=t}else l[u]=Lt(s,o[u]),At(e,a[h],s),a[t]=null;u++}else Et(a[p]),p--;else Et(a[h]),h++;for(;u<=g;){const t=At(e,l[g+1]);Lt(t,o[u]),l[u++]=t}for(;h<=p;){const e=a[h++];null!==e&&Et(e)}return this._itemKeys=n,Dt(e,l),se}});var Ca=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)}
|
|
335
335
|
|
|
336
336
|
|
|
337
337
|
/*! 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}`;class $a extends Be{constructor(){super(...arguments),this.variant="primary",this.tone="brand",this.size="md",this.orientation="vertical"}render(){return gt`
|
|
@@ -346,7 +346,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
346
346
|
</div>
|
|
347
347
|
${this.label?gt`<span class="spinner-label">${this.label}</span>`:ie}
|
|
348
348
|
</div>
|
|
349
|
-
`}}$a.styles=[...Be.styles,Ki,Ca],e([
|
|
349
|
+
`}}$a.styles=[...Be.styles,Ki,Ca],e([Ve({type:String,reflect:!0})],$a.prototype,"variant",void 0),e([Ve({type:String,reflect:!0})],$a.prototype,"tone",void 0),e([Ve({type:String,reflect:!0})],$a.prototype,"size",void 0),e([Ve({reflect:!0,type:String})],$a.prototype,"label",void 0),e([Ve({type:String,reflect:!0})],$a.prototype,"orientation",void 0);class Sa extends ha{constructor(){super(...arguments),this.multiSelect=!1,this.badgeFullWidth=!1,this.clearable=!1,this.noValidate=!1,this.async=!1,this.emptyMenuAsync=!1,this.scrollBottomOffset=0,this.filterFunction=(e,t)=>t.label.toLowerCase().startsWith(e.toLowerCase()),this.optionList=[],this.emptyMenuAfterFiltering=!1,this.isFocused=!1,this.isScrollEnd=!1,this.suffixIconTemplate=ee`<sgds-icon
|
|
350
350
|
name=${this.menuIsOpen?"chevron-up":"chevron-down"}
|
|
351
351
|
size="md"
|
|
352
352
|
></sgds-icon>`,this.prefixIconTemplate=ee`${ie}`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",async()=>{this.isFocused=!0}),this.addEventListener("blur",async()=>{this.isFocused=!1}),this.addEventListener("keydown",e=>{var t,s;"Enter"===e.key&&(null===(s=null===(t=e.target.shadowRoot)||void 0===t?void 0:t.querySelector(".form-clearable"))||void 0===s?void 0:s.matches(":focus"))&&this._handleClear()}),this.addEventListener("sgds-hide",async e=>{if(!e.detail.isOutside){(await this._input).focus()}this.options.forEach(e=>e.removeAttribute("hidden")),this.emptyMenuAfterFiltering=!1})}async firstUpdated(e){super.firstUpdated(e),this.async&&(this.filterFunction=()=>!0),this.menuList.forEach(e=>{const t=document.createElement("sgds-combo-box-option");t.innerText=e.label,t.value=e.value,t.checkbox=this.multiSelect,t.active=this.value.includes(e.value),this.appendChild(t)}),this._setupValidation(this.menuList),this.menuIsOpen&&await this.updateFloatingPosition()}async _handleDefaultSlotChange(e){const t=e.target.assignedElements({flatten:!0});t.forEach(e=>!e.hasAttribute("disabled")&&(!e.clickEventAdded&&(e.addEventListener("click",e=>{e.preventDefault();const t=e.target;return this.multiSelect&&t.active?this._handleItemUnselect(e):this._handleItemSelected(e),!1}),e.clickEventAdded=!0,void e.addEventListener("keydown",e=>{if("Enter"===e.key){this.close="outside";e.target.click()}})))),await this.updateComplete,this.optionList=await this._getMenuListFromOptions(t),this._setupValidation(this.optionList)}async _setupValidation(e){var t;if(this.value&&e.length>0){const s=this.value.split(";"),i=e.filter(({value:e})=>s.includes(e));this.selectedItems=[...i,...this.selectedItems],this.multiSelect||(this.displayValue=null===(t=i[0])||void 0===t?void 0:t.label)}this.multiSelect?this.input=await this._multiSelectInput:this.input=await this._input,this._mixinValidate(this.input)}async _handleValueChange(){this.options.forEach(e=>e.removeAttribute("hidden"));const e=await this._input;this._mixinSetFormValue(),this.multiSelect?this._mixinValidate(this.input):this._mixinValidate(e);this.selectedItems.map(e=>e.value).join(";")!==this.value&&this._updateValueAndDisplayValue(this.optionList),(this._isTouched||""!==this.value)&&(this._mixinShouldSkipSgdsValidation()||(this.invalid=!this._mixinReportValidity()))}_emitChangeEvents(){this._mixinSetFormValue(),this.emit("sgds-change"),this.value&&this.emit("sgds-select")}_handleOptionListChange(){this._updateValueAndDisplayValue(this.optionList)}_handleMenuListChange(){const e=this.menuList.map(e=>{const t=document.createElement("sgds-combo-box-option");return t.innerText=e.label,t.value=e.value,t.checkbox=this.multiSelect,t.active=this.value.includes(e.value),t});this.replaceChildren(...e)}_updateValueAndDisplayValue(e){var t;const s=this.value.split(";"),i=e.filter(({value:e})=>s.includes(e));this.selectedItems=[...i];const a=i.map(e=>e.value).join(";");a!==this.value&&(this.value=a),this.multiSelect||this.async||(this.displayValue=(null===(t=i[0])||void 0===t?void 0:t.label)||""),this.options.forEach(e=>e.active=s.includes(e.value))}async _handleInputChange(e){const t=e.target;this.displayValue=t.value,this.emit("sgds-input",{detail:{displayValue:this.displayValue}}),this.invalid=!1,this.showMenu(),""!==this.displayValue||this.multiSelect||(this.selectedItems=[],this.value=this.selectedItems.join(";"),this.options.forEach(e=>e.active=!1),this._emitChangeEvents());const s=this.options.map(e=>({value:e.value,label:e.textContent.trim()}));this.filteredList=s.filter(e=>this.filterFunction(this.displayValue,e)),this.emptyMenuAfterFiltering=0===this.filteredList.length;const i=this.filteredList.map(e=>e.value);this.options.forEach(e=>{i.includes(e.value)?e.hidden=!1:e.hidden=!0})}async _handleItemSelected(e){var t,s,i;const a=e.target;if(a.disabled)return;const o=null!==(s=null===(t=a.textContent)||void 0===t?void 0:t.trim())&&void 0!==s?s:"",n=null!==(i=a.getAttribute("value"))&&void 0!==i?i:o,r=this.filteredList.find(e=>e.value.toString()===n)||{label:o,value:n};this.multiSelect?(this.selectedItems.some(e=>e.value===r.value)||(this.selectedItems=[...this.selectedItems,r]),this.value=this.selectedItems.map(e=>e.value).join(";"),a.active=!0):0!==this.selectedItems.length&&this.selectedItems[0].value===r.value||(this.options.forEach(e=>e.active=!1),a.active=!0,this.selectedItems=[r],this.value=r.value.toString(),this.displayValue=r.label,this.hideMenu()),this._emitChangeEvents()}_handleItemUnselect(e){var t,s,i;const a=e.target;if(a.disabled)return;a.removeAttribute("active");const o=null!==(s=null===(t=a.textContent)||void 0===t?void 0:t.trim())&&void 0!==s?s:"",n=null!==(i=a.getAttribute("value"))&&void 0!==i?i:o,r=this.filteredList.find(e=>e.value.toString()===n)||{label:o,value:n};this.selectedItems=this.selectedItems.filter(e=>e.value!==r.value),this.value=this.selectedItems.map(e=>e.value).join(";"),this._emitChangeEvents()}async _handleBadgeDismissed(e,t){var s;e.preventDefault();const i=t.value;null===(s=this.options)||void 0===s||s.forEach(e=>e.value===i?e.active=!1:null),this.selectedItems=this.selectedItems.filter(e=>e.value!==t.value),this.value=this.selectedItems.map(e=>e.value).join(";"),this._emitChangeEvents()}async _handleMultiSelectKeyDown(e){var t;if(this.multiSelect&&"Backspace"===e.key&&this.multiSelect&&""===this.displayValue.trim()&&this.selectedItems.length>0){const e=this.selectedItems[this.selectedItems.length-1].value;null===(t=this.options)||void 0===t||t.forEach(t=>t.value===e?t.active=!1:null),this.selectedItems=this.selectedItems.slice(0,-1),this.value=this.selectedItems.map(e=>e.value).join(";"),this._emitChangeEvents()}}_handleFocus(){this.emit("sgds-focus")}async _handleInputBlur(e){if(e.preventDefault(),this.emit("sgds-blur"),this.multiSelect){this.selectedItems.filter(({label:e})=>this.displayValue===e).length<=0&&(this.displayValue="")}else this.selectedItems.length>0?this.displayValue=this.selectedItems[0].label:this.displayValue=""}async _handleClear(){var e;this.value=this.displayValue="",null===(e=this.options)||void 0===e||e.forEach(e=>e.active=!1),this._emitChangeEvents();(await this._input).focus(),this.showMenu()}async _mixinResetFormControl(){if(this.value=this.defaultValue,this.multiSelect){const e=this.value.split(";");this.options.forEach(t=>{t.active=e.includes(t.value)});const t=this.options.filter(t=>e.includes(t.value));this.selectedItems=t.map(e=>({value:e.value,label:e.textContent.trim()})),this._mixinResetValidity(await this._multiSelectInput)}else{this.options.forEach(e=>{e.active=e.value===this.value});const e=this.options.filter(e=>e.value===this.value);e.length<=0?this.displayValue="":this.displayValue=e[0].textContent.trim(),this._mixinResetValidity(await this._input)}}async _handleScroll(e){const t=e.target;if(t){const e=t.scrollHeight-t.clientHeight,s=Math.max(0,this.scrollBottomOffset);t.scrollTop>=e-s?(this.isScrollEnd||this.emit("sgds-scroll-end"),this.isScrollEnd=!0):this.isScrollEnd=!1}}_renderInput(e){const t=this.hasFeedback,s=e;return ee`
|
|
@@ -440,7 +440,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
440
440
|
aria-hidden="true"
|
|
441
441
|
.autocomplete=${this.autocomplete}
|
|
442
442
|
/>`:ie}
|
|
443
|
-
`}}Sa.styles=[...ha.styles,na,pa],Sa.childName="sgds-combo-box-option",Sa.dependencies={[Sa.childName]:_a,"sgds-icon":_t,"sgds-badge":Si,"sgds-spinner":$a},e([
|
|
443
|
+
`}}Sa.styles=[...ha.styles,na,pa],Sa.childName="sgds-combo-box-option",Sa.dependencies={[Sa.childName]:_a,"sgds-icon":_t,"sgds-badge":Si,"sgds-spinner":$a},e([Ve({type:Boolean,reflect:!0})],Sa.prototype,"multiSelect",void 0),e([Ve({type:Boolean,reflect:!0})],Sa.prototype,"badgeFullWidth",void 0),e([Ve({type:Boolean,reflect:!0})],Sa.prototype,"clearable",void 0),e([Ve({type:Boolean,reflect:!0})],Sa.prototype,"noValidate",void 0),e([Ve({type:Boolean,reflect:!0})],Sa.prototype,"async",void 0),e([Ve({type:Boolean,reflect:!0})],Sa.prototype,"emptyMenuAsync",void 0),e([Ve({type:Number,reflect:!0})],Sa.prototype,"scrollBottomOffset",void 0),e([Ve()],Sa.prototype,"filterFunction",void 0),e([Ie("input#multi-select-input-tracker")],Sa.prototype,"_multiSelectInput",void 0),e([De({flatten:!0,selector:"sgds-combo-box-option"})],Sa.prototype,"options",void 0),e([ze()],Sa.prototype,"optionList",void 0),e([ze()],Sa.prototype,"emptyMenuAfterFiltering",void 0),e([ze()],Sa.prototype,"isFocused",void 0),e([ze()],Sa.prototype,"isScrollEnd",void 0),e([ot("value",{waitUntilFirstUpdate:!0})],Sa.prototype,"_handleValueChange",null),e([ot("optionList",{waitUntilFirstUpdate:!0})],Sa.prototype,"_handleOptionListChange",null),e([ot("menuList",{waitUntilFirstUpdate:!0})],Sa.prototype,"_handleMenuListChange",null),lt("sgds-combo-box",Sa),lt("sgds-combo-box-option",_a);var Ma=n`:host{--sgds-checkbox-group-gap:var(--sgds-spacer-2)}fieldset{border:0;gap:var(--sgds-form-gap-md);margin:0;min-width:0;padding:0}.label-hint-container,fieldset{display:flex;flex-direction:column}.label-hint-container{gap:var(--sgds-form-gap-sm)}.label-hint-container .form-label{color:var(--sgds-form-color-default);font-size:var(--sgds-font-size-label-md);font-weight:var(--sgds-font-weight-semibold)}.checkbox-container{display:flex;flex-direction:column;gap:var(--sgds-form-gap-md);padding:var(--sgds-form-padding-inline-sm) 0}.checkbox-group-validation-input{display:none}:host([disabled]) .label-hint-container{cursor:not-allowed;opacity:var(--sgds-opacity-40)}`;class Za extends(da(fa)){constructor(){super(...arguments),this.label="",this.invalidFeedback="Please tick at least one box if you want to proceed",this.hasFeedback=!1,this.hintText="",this.required=!1,this.noValidate=!1,this.value="",this._isTouched=!1,this.defaultValue="",this._blurredCheckboxes=new Set}connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-check",e=>{const{value:t}=e.detail;!this.value.includes(t)&&this._addValue(t)}),this.addEventListener("sgds-uncheck",e=>{const{value:t}=e.detail;this._removeValue(t)}),this.addEventListener("sgds-blur",e=>{const t=e.target;this._blurredCheckboxes.add(t),Array.from(this._blurredCheckboxes).length===this._checkboxes.length&&(this._isTouched=!0,this._blurredCheckboxes.clear())})}firstUpdated(e){super.firstUpdated(e),this.value&&this._updateInputValue(),this.invalid&&this._updateInvalid()}_renderHintText(){const e=ee` <div class="form-text" id="${this._controlId}Help">${this.hintText}</div> `;return this.hintText&&e}_addValue(e){const t=this.value?this.value.split(";"):[];t.push(e),this.value=t.join(";"),this._updateInputValue(),this.emit("sgds-change",{detail:{value:this.value}})}_removeValue(e){const t=(this.value?this.value.split(";"):[]).filter(t=>t!==e);this.value=t.join(";"),this._updateInputValue(),this.emit("sgds-change",{detail:{value:this.value}})}_sanitizeSlot(){this._checkboxes.forEach(e=>{e.checked=e.defaultChecked=this.value.includes(e.value),e.hasFeedback=this.hasFeedback?"style":null,e.required&&(console.error("Checkboxes in a group cannot have required or hasFeedback prop set to true"),e.remove())}),this._disabledChildCheckboxes()}_disabledChildCheckboxes(){if(this.disabled){this._checkboxes.forEach(e=>e.disabled=this.disabled)}}_handleValueChange(){this._checkboxes.forEach(e=>{e.checked=this.value.includes(e.value)}),this._updateInputValue(),this._updateInvalid()}_handleIsTouched(){this._mixinShouldSkipSgdsValidation()||this._isTouched&&(this.invalid=!this.input.checkValidity(),this._updateInvalid())}_updateInvalid(){this._checkboxes.forEach(e=>e.invalid=this.invalid)}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}_mixinResetFormControl(){this.value=this.input.value=this.defaultValue,this._updateInputValue("reset"),this._mixinResetValidity(this.input)}async _updateInputValue(e="change"){this.input.value=this.value,this.input.dispatchEvent(new InputEvent(e))}render(){return ee`
|
|
444
444
|
<fieldset>
|
|
445
445
|
<div class="label-hint-container">
|
|
446
446
|
<label class="form-label">${this.label}</label>
|
|
@@ -469,7 +469,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
469
469
|
</div>
|
|
470
470
|
`:ie}
|
|
471
471
|
</fieldset>
|
|
472
|
-
`}}function za(e,t){const s=e.getDate(),i=e.getMonth()+1,a=e.getFullYear(),o=s<10?"0"+s:String(s),n=i<10?"0"+i:String(i),r=String(a);switch(t){case"dd/MM/yyyy":default:return`${o}/${n}/${r}`;case"MM/dd/yyyy":return`${n}/${o}/${r}`;case"yyyy/MM/dd":return`${r}/${n}/${o}`;case"PPPP":{const t=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(e),s=new Intl.DateTimeFormat("en-US",{month:"long"}).format(e),i=function(e){if(e>=11&&e<=13)return e+"th";switch(e%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd";default:return e+"th"}}(e.getDate());return`${t}, ${s} ${i}, ${e.getFullYear()}`}}}function Va(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function Aa(e,t){return e.getTime()>t.getTime()}function La(e,t){return e.getTime()<t.getTime()}function Ia(e,t){return e.getTime()===t.getTime()}function Pa(e){return e.getDate()===Va(e)}function Da(e){return e instanceof Date&&!isNaN(e.getTime())}function Ea(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function Ha(e,t){const s=e.split("/");let i,a,o;switch(t){case"dd/MM/yyyy":i=parseInt(s[0],10),a=parseInt(s[1],10)-1,o=parseInt(s[2],10);break;case"MM/dd/yyyy":a=parseInt(s[0],10)-1,i=parseInt(s[1],10),o=parseInt(s[2],10);break;case"yyyy/MM/dd":o=parseInt(s[0],10),a=parseInt(s[1],10)-1,i=parseInt(s[2],10);break;default:return new Date(NaN)}if(isNaN(i)||isNaN(a)||isNaN(o))return new Date(NaN);const n=new Date(o,a,i,12,0,0,0);return n.getFullYear()!==o||n.getMonth()!==a||n.getDate()!==i?new Date(NaN):n}Za.styles=[...fa.styles,Ma],Za.dependencies={"sgds-icon":_t},e([ze({reflect:!0})],Za.prototype,"label",void 0),e([ze({type:String,reflect:!0})],Za.prototype,"invalidFeedback",void 0),e([ze({type:Boolean,reflect:!0})],Za.prototype,"hasFeedback",void 0),e([ze({reflect:!0})],Za.prototype,"hintText",void 0),e([ze({type:Boolean,reflect:!0})],Za.prototype,"required",void 0),e([ze({type:Boolean,reflect:!0})],Za.prototype,"noValidate",void 0),e([ze({reflect:!0})],Za.prototype,"value",void 0),e([Ve()],Za.prototype,"_isTouched",void 0),e([ra()],Za.prototype,"defaultValue",void 0),e([Ve()],Za.prototype,"_blurredCheckboxes",void 0),e([De()],Za.prototype,"_checkboxes",void 0),e([ot("value",{waitUntilFirstUpdate:!0})],Za.prototype,"_handleValueChange",null),e([ot("_isTouched",{waitUntilFirstUpdate:!0})],Za.prototype,"_handleIsTouched",null),e([ot("invalid",{waitUntilFirstUpdate:!0})],Za.prototype,"_updateInvalid",null),lt("sgds-checkbox",ya),lt("sgds-checkbox-group",Za),lt("sgds-close-button",ft);const Ba={"DD/MM/YYYY":{imPattern:"`dd{/}`mm{/}`yyyy",imRangePattern:"`dd{/}`mm{/}`yyyy - `DD{/}`MM{/}`YYYY",fnsPattern:"dd/MM/yyyy"},"MM/DD/YYYY":{imPattern:"`mm{/}`dd{/}`yyyy",imRangePattern:"`mm{/}`dd{/}`yyyy - `MM{/}`DD{/}`YYYY",fnsPattern:"MM/dd/yyyy"},"YYYY/MM/DD":{imPattern:"`yyyy{/}`mm{/}`dd",imRangePattern:"`yyyy{/}`mm{/}`dd - `YYYY{/}`MM{/}`DD",fnsPattern:"yyyy/MM/dd"}},Oa=e=>{const t=e.getMonth(),s=e.getFullYear(),i=e.getDate(),a=new Date(s,t+1),o=Va(a);return Pa(e)&&o<i?Ea(a):new Date(s,t+1,i)},Ta=e=>{const t=e.getMonth(),s=e.getFullYear(),i=e.getDate(),a=new Date(s,t-1),o=Va(a);return Pa(e)&&o<i?Ea(a):new Date(s,t-1,i)},Fa=e=>{const t=new Date(e);return t.setHours(12),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t};var ja=n`.datepicker-body{color:var(--sgds-form-color-default);display:flex;justify-content:center}table{border-collapse:collapse;text-align:center}.monthpicker,.yearpicker{display:grid;grid-template-columns:repeat(3,6rem);grid-template-rows:repeat(4,2.5rem)}.monthpicker [role=row],.yearpicker [role=row]{display:contents}button.month,button.year{background-color:transparent;border:0;border-radius:var(--sgds-form-border-radius-sm);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs);padding:0;position:relative}button.month.active:not(.selected-ends),button.year.active:not(.selected-ends),td[data-day].active:not(.selected-ends){background-color:var(--sgds-primary-surface-translucent);border-radius:0;cursor:pointer}button.month:hover:not(.active),button.year:hover:not(.active),td[data-day]:hover:not(.disabled):not(.selected-ends):not(.active){background-color:var(--sgds-bg-translucent-subtle);cursor:pointer}button.month:focus:not(.active),button.year:focus:not(.active),td[data-day]:focus:not(.disabled):not(.selected-ends):not(.active){background-color:var(--sgds-bg-translucent-subtle)}button.month:focus-visible,button.year:focus-visible,td[data-day]:focus-visible{outline:var(--sgds-form-outline-focus);outline-offset:var(--sgds-form-outline-offset-focus)}button.month.active:not(.selected-ends):focus,button.year.active:not(.selected-ends):focus,td[data-day].active:not(.selected-ends):focus{border-radius:var(--sgds-form-border-radius-sm)}button.year.active{background-color:var(--sgds-primary-surface-translucent);cursor:pointer}td,th{border-radius:var(--sgds-form-border-radius-sm);font-size:var(--sgds-font-size-label-sm);height:var(--sgds-form-height-lg);line-height:var(--sgds-line-height-2-xs);padding:0;position:relative;width:var(--sgds-form-width-md)}th{font-weight:var(--sgds-font-weight-semibold)}td[data-day]{cursor:pointer}button.month.active.selected-ends,button.year.active.selected-ends,td[data-day].active.selected-ends{background-color:var(--sgds-form-primary-surface-default);color:var(--sgds-form-color-fixed-light)}button.month.active.selected-ends:focus,button.month.active.selected-ends:hover,button.year.active.selected-ends:focus,button.year.active.selected-ends:hover,td[data-day].active.selected-ends:focus,td[data-day].active.selected-ends:hover{background-color:var(--sgds-form-primary-surface-emphasis)}td[data-day].disabled{cursor:not-allowed;opacity:var(--sgds-opacity-40)}.today{align-items:center;display:flex;flex-direction:column;justify-content:center}.today:after{background-color:var(--sgds-form-primary-surface-default);bottom:6px;content:".";line-height:4px;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' fill='none'%3E%3Ccircle cx='2' cy='2' r='2' fill='%235A42C0'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' fill='none'%3E%3Ccircle cx='2' cy='2' r='2' fill='%235A42C0'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;position:absolute;width:4px}.today.active.selected-ends:after{background-color:var(--sgds-form-color-inverse)}`;const Na=new Date,Ra={ArrowUp:{days:-7,months:-3,years:-3},ArrowDown:{days:7,months:3,years:3},ArrowRight:{days:1,months:1,years:1},ArrowLeft:{days:-1,months:-1,years:-1}};class Ua extends Be{constructor(){super(...arguments),this.selectedDate=[],this.mode="single"}focusOnCalendar(e){e.blur(),this._focusOnCalendarCell()}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this._handleKeyPress),this.addEventListener("blur",e=>e.stopPropagation())}updated(){3===this.focusedTabIndex&&this._focusOnCalendarCell()}_updateFocusedDate(){this.focusedDate=Fa(this.displayDate),this.focusedDate.getFullYear()<1900&&this.focusedDate.setFullYear(1900)}_setFocusedDate(e){const t=this.focusedDate.getDate(),s=this.focusedDate.getMonth(),i=this.focusedDate.getFullYear();switch(this.view){case"days":{const a=Fa(new Date(i,s,t+e));(Aa(a,new Date(0,0,1,12))||Ia(a,new Date(0,0,1,12)))&&(this.focusedDate=a);break}case"months":{const a=Fa(new Date(i,s+e,t));(Aa(a,new Date(0,0,1,12))||Ia(a,new Date(0,0,1,12)))&&(this.focusedDate=a);break}case"years":{const a=Fa(new Date(i+e,s,t));a.getFullYear()>=1900&&(this.focusedDate=a);break}}}_handleEnterDateKeyboard(e){const t=e.composedPath()[0];if(!t.classList.contains("disabled"))switch(this.view){case"days":this._onClickDay(e);break;case"months":{const{month:e}=t.dataset;this._onClickMonth(parseInt(e));break}case"years":{const{year:e}=t.dataset;this._onClickYear(parseInt(e))}}}_handleKeyPress(e){if("Enter"===e.key)return e.preventDefault(),void this._handleEnterDateKeyboard(e);if("Tab"===e.key){const e=this._getFocusedTarget();return void(3!==this.focusedTabIndex&&e.blur())}if(e.key.includes("Arrow")){e.preventDefault(),this._blurCalendarCell();const t=Ra[e.key][this.view];this._setFocusedDate(t),this._focusOnCalendarCell()}}_generateIncrementDates(){const e=Fa(this.selectedDate[0]);if(this.selectedDate.length<2)return[e];const t=Fa(this.selectedDate[1]),s=[];if(e.getTime()<t.getTime())for(let i=e;i<=t;i.setDate(i.getDate()+1))s.push(new Date(i));else for(let i=t;i<=e;i.setDate(i.getDate()+1))s.push(new Date(i));return s}_onClickDay(e){const{day:t,date:s}=e.composedPath()[0].dataset,i=new Date(this.displayDate);if(i.setDate(parseInt(t)),"click"===e.type&&(this.focusedDate=Fa(new Date(s))),"single"===this.mode)this.selectedDate=[i],this.emit("sgds-selectdates",{detail:this.selectedDate});else if("range"===this.mode){const e=[...this.selectedDate];0!==e.length&&2!==e.length||(e.length=0),e.push(i),this.selectedDate=e,this.emit("sgds-selectdates",{detail:this.selectedDate})}const a=this.minDate?Fa(new Date(this.minDate)):null,o=this.maxDate?Fa(new Date(this.maxDate)):null,n=Fa(i);(a&&n<a||o&&n>o)&&(e.stopPropagation(),e.preventDefault())}_onClickMonth(e,t=this.focusedDate.getFullYear()){const s=new Date(this.displayDate);this.view="days",s.setMonth(e),s.setFullYear(t),this.displayDate=s,this.emit("sgds-view",{detail:this.view}),this.emit("sgds-selectmonth",{detail:this.displayDate})}_onClickYear(e){const t=new Date(this.displayDate);t.setFullYear(e),this.displayDate=t,this.view="months",this.emit("sgds-view",{detail:this.view}),this.emit("sgds-selectyear",{detail:this.displayDate})}_getFocusedTarget(){const e={days:`td[data-date="${this.focusedDate.toISOString()}"]`,months:`button[data-month="${this.focusedDate.getMonth()}"][data-year="${this.focusedDate.getFullYear()}"]`,years:`button[data-year="${this.focusedDate.getFullYear()}"]`}[this.view];return this.shadowRoot.querySelector(`${e}`)}_blurCalendarCell(){const e=this._getFocusedTarget();e.setAttribute("tabindex","-1"),e.blur()}_focusOnCalendarCell(){const e=this._getFocusedTarget();e?(e.setAttribute("tabindex","0"),e.focus(),this.emit("sgds-update-focus",{detail:this.focusedDate})):this.emit("sgds-change-calendar",{detail:this.focusedDate})}_generateDays(){const e=this.selectedDate.map(e=>Fa(e)),t=this._generateIncrementDates(),s=this.minDate?Fa(new Date(this.minDate)):null,i=this.maxDate?Fa(new Date(this.maxDate)):null,a=this.displayDate.getFullYear(),o=this.displayDate.getMonth(),n=new Date(a,o,1).getDay();let r=Ua.daysInMonth[o];1===o&&(a%4==0&&a%100!=0||a%400==0)&&(r=29);const l=[];let d=1;for(let c=0;c<9;c++){const h=[];for(let l=0;l<=6;l++)if(d<=r&&(c>0||l>=n)){const n=new Date(a,o,d,12,0,0,0),r=n.toISOString(),c=s&&Date.parse(r)<Date.parse(s.toISOString()),p=i&&Date.parse(r)>Date.parse(i.toISOString()),u=c||p?void 0:this._onClickDay,g=Na.getMonth()===this.displayDate.getMonth(),v=Na.getFullYear()===this.displayDate.getFullYear(),m=Na.getDate()===d,f=e.length>0&&t.some(e=>Date.parse(r)===Date.parse(e.toISOString())),b=e.length>0&&t[0].toISOString()===r,w=e.length>1&&t[t.length-1].toISOString()===r,y=""+(m&&g&&v?"Today's date, ":"")+za(n,"PPPP");h.push(ee`<td
|
|
472
|
+
`}}function Va(e,t){const s=e.getDate(),i=e.getMonth()+1,a=e.getFullYear(),o=s<10?"0"+s:String(s),n=i<10?"0"+i:String(i),r=String(a);switch(t){case"dd/MM/yyyy":default:return`${o}/${n}/${r}`;case"MM/dd/yyyy":return`${n}/${o}/${r}`;case"yyyy/MM/dd":return`${r}/${n}/${o}`;case"PPPP":{const t=new Intl.DateTimeFormat("en-US",{weekday:"long"}).format(e),s=new Intl.DateTimeFormat("en-US",{month:"long"}).format(e),i=function(e){if(e>=11&&e<=13)return e+"th";switch(e%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd";default:return e+"th"}}(e.getDate());return`${t}, ${s} ${i}, ${e.getFullYear()}`}}}function za(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function Pa(e,t){return e.getTime()>t.getTime()}function Aa(e,t){return e.getTime()<t.getTime()}function La(e,t){return e.getTime()===t.getTime()}function Ia(e){return e.getDate()===za(e)}function Da(e){return e instanceof Date&&!isNaN(e.getTime())}function Ea(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function Ha(e,t){const s=e.split("/");let i,a,o;switch(t){case"dd/MM/yyyy":i=parseInt(s[0],10),a=parseInt(s[1],10)-1,o=parseInt(s[2],10);break;case"MM/dd/yyyy":a=parseInt(s[0],10)-1,i=parseInt(s[1],10),o=parseInt(s[2],10);break;case"yyyy/MM/dd":o=parseInt(s[0],10),a=parseInt(s[1],10)-1,i=parseInt(s[2],10);break;default:return new Date(NaN)}if(isNaN(i)||isNaN(a)||isNaN(o))return new Date(NaN);const n=new Date(o,a,i,12,0,0,0);return n.getFullYear()!==o||n.getMonth()!==a||n.getDate()!==i?new Date(NaN):n}Za.styles=[...fa.styles,Ma],Za.dependencies={"sgds-icon":_t},e([Ve({reflect:!0})],Za.prototype,"label",void 0),e([Ve({type:String,reflect:!0})],Za.prototype,"invalidFeedback",void 0),e([Ve({type:Boolean,reflect:!0})],Za.prototype,"hasFeedback",void 0),e([Ve({reflect:!0})],Za.prototype,"hintText",void 0),e([Ve({type:Boolean,reflect:!0})],Za.prototype,"required",void 0),e([Ve({type:Boolean,reflect:!0})],Za.prototype,"noValidate",void 0),e([Ve({reflect:!0})],Za.prototype,"value",void 0),e([ze()],Za.prototype,"_isTouched",void 0),e([ra()],Za.prototype,"defaultValue",void 0),e([ze()],Za.prototype,"_blurredCheckboxes",void 0),e([De()],Za.prototype,"_checkboxes",void 0),e([ot("value",{waitUntilFirstUpdate:!0})],Za.prototype,"_handleValueChange",null),e([ot("_isTouched",{waitUntilFirstUpdate:!0})],Za.prototype,"_handleIsTouched",null),e([ot("invalid",{waitUntilFirstUpdate:!0})],Za.prototype,"_updateInvalid",null),lt("sgds-checkbox",ya),lt("sgds-checkbox-group",Za),lt("sgds-close-button",ft);const Ba={"DD/MM/YYYY":{imPattern:"`dd{/}`mm{/}`yyyy",imRangePattern:"`dd{/}`mm{/}`yyyy - `DD{/}`MM{/}`YYYY",fnsPattern:"dd/MM/yyyy"},"MM/DD/YYYY":{imPattern:"`mm{/}`dd{/}`yyyy",imRangePattern:"`mm{/}`dd{/}`yyyy - `MM{/}`DD{/}`YYYY",fnsPattern:"MM/dd/yyyy"},"YYYY/MM/DD":{imPattern:"`yyyy{/}`mm{/}`dd",imRangePattern:"`yyyy{/}`mm{/}`dd - `YYYY{/}`MM{/}`DD",fnsPattern:"yyyy/MM/dd"}},Oa=e=>{const t=e.getMonth(),s=e.getFullYear(),i=e.getDate(),a=new Date(s,t+1),o=za(a);return Ia(e)&&o<i?Ea(a):new Date(s,t+1,i)},Ta=e=>{const t=e.getMonth(),s=e.getFullYear(),i=e.getDate(),a=new Date(s,t-1),o=za(a);return Ia(e)&&o<i?Ea(a):new Date(s,t-1,i)},Fa=e=>{const t=new Date(e);return t.setHours(12),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t};var Ra=n`.datepicker-body{color:var(--sgds-form-color-default);display:flex;justify-content:center}table{border-collapse:collapse;text-align:center}.monthpicker,.yearpicker{display:grid;grid-template-columns:repeat(3,6rem);grid-template-rows:repeat(4,2.5rem)}.monthpicker [role=row],.yearpicker [role=row]{display:contents}button.month,button.year{background-color:transparent;border:0;border-radius:var(--sgds-form-border-radius-sm);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs);padding:0;position:relative}button.month.active:not(.selected-ends),button.year.active:not(.selected-ends),td[data-day].active:not(.selected-ends){background-color:var(--sgds-primary-surface-translucent);border-radius:0;cursor:pointer}button.month:hover:not(.active),button.year:hover:not(.active),td[data-day]:hover:not(.disabled):not(.selected-ends):not(.active){background-color:var(--sgds-bg-translucent-subtle);cursor:pointer}button.month:focus:not(.active),button.year:focus:not(.active),td[data-day]:focus:not(.disabled):not(.selected-ends):not(.active){background-color:var(--sgds-bg-translucent-subtle)}button.month:focus-visible,button.year:focus-visible,td[data-day]:focus-visible{outline:var(--sgds-form-outline-focus);outline-offset:var(--sgds-form-outline-offset-focus)}button.month.active:not(.selected-ends):focus,button.year.active:not(.selected-ends):focus,td[data-day].active:not(.selected-ends):focus{border-radius:var(--sgds-form-border-radius-sm)}button.year.active{background-color:var(--sgds-primary-surface-translucent);cursor:pointer}td,th{border-radius:var(--sgds-form-border-radius-sm);font-size:var(--sgds-font-size-label-sm);height:var(--sgds-form-height-lg);line-height:var(--sgds-line-height-2-xs);padding:0;position:relative;width:var(--sgds-form-width-md)}th{font-weight:var(--sgds-font-weight-semibold)}td[data-day]{cursor:pointer}button.month.active.selected-ends,button.year.active.selected-ends,td[data-day].active.selected-ends{background-color:var(--sgds-form-primary-surface-default);color:var(--sgds-form-color-fixed-light)}button.month.active.selected-ends:focus,button.month.active.selected-ends:hover,button.year.active.selected-ends:focus,button.year.active.selected-ends:hover,td[data-day].active.selected-ends:focus,td[data-day].active.selected-ends:hover{background-color:var(--sgds-form-primary-surface-emphasis)}td[data-day].disabled{cursor:not-allowed;opacity:var(--sgds-opacity-40)}.today{align-items:center;display:flex;flex-direction:column;justify-content:center}.today:after{background-color:var(--sgds-form-primary-surface-default);bottom:6px;content:".";line-height:4px;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' fill='none'%3E%3Ccircle cx='2' cy='2' r='2' fill='%235A42C0'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' fill='none'%3E%3Ccircle cx='2' cy='2' r='2' fill='%235A42C0'/%3E%3C/svg%3E");-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;position:absolute;width:4px}.today.active.selected-ends:after{background-color:var(--sgds-form-color-inverse)}`;const Na=new Date,ja={ArrowUp:{days:-7,months:-3,years:-3},ArrowDown:{days:7,months:3,years:3},ArrowRight:{days:1,months:1,years:1},ArrowLeft:{days:-1,months:-1,years:-1}};class Ua extends Be{constructor(){super(...arguments),this.selectedDate=[],this.mode="single"}focusOnCalendar(e){e.blur(),this._focusOnCalendarCell()}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this._handleKeyPress),this.addEventListener("blur",e=>e.stopPropagation())}updated(){3===this.focusedTabIndex&&this._focusOnCalendarCell()}_updateFocusedDate(){this.focusedDate=Fa(this.displayDate),this.focusedDate.getFullYear()<1900&&this.focusedDate.setFullYear(1900)}_setFocusedDate(e){const t=this.focusedDate.getDate(),s=this.focusedDate.getMonth(),i=this.focusedDate.getFullYear();switch(this.view){case"days":{const a=Fa(new Date(i,s,t+e));(Pa(a,new Date(0,0,1,12))||La(a,new Date(0,0,1,12)))&&(this.focusedDate=a);break}case"months":{const a=Fa(new Date(i,s+e,t));(Pa(a,new Date(0,0,1,12))||La(a,new Date(0,0,1,12)))&&(this.focusedDate=a);break}case"years":{const a=Fa(new Date(i+e,s,t));a.getFullYear()>=1900&&(this.focusedDate=a);break}}}_handleEnterDateKeyboard(e){const t=e.composedPath()[0];if(!t.classList.contains("disabled"))switch(this.view){case"days":this._onClickDay(e);break;case"months":{const{month:e}=t.dataset;this._onClickMonth(parseInt(e));break}case"years":{const{year:e}=t.dataset;this._onClickYear(parseInt(e))}}}_handleKeyPress(e){if("Enter"===e.key)return e.preventDefault(),void this._handleEnterDateKeyboard(e);if("Tab"===e.key){const e=this._getFocusedTarget();return void(3!==this.focusedTabIndex&&e.blur())}if(e.key.includes("Arrow")){e.preventDefault(),this._blurCalendarCell();const t=ja[e.key][this.view];this._setFocusedDate(t),this._focusOnCalendarCell()}}_generateIncrementDates(){const e=Fa(this.selectedDate[0]);if(this.selectedDate.length<2)return[e];const t=Fa(this.selectedDate[1]),s=[];if(e.getTime()<t.getTime())for(let i=e;i<=t;i.setDate(i.getDate()+1))s.push(new Date(i));else for(let i=t;i<=e;i.setDate(i.getDate()+1))s.push(new Date(i));return s}_onClickDay(e){const{day:t,date:s}=e.composedPath()[0].dataset,i=new Date(this.displayDate);if(i.setDate(parseInt(t)),"click"===e.type&&(this.focusedDate=Fa(new Date(s))),"single"===this.mode)this.selectedDate=[i],this.emit("sgds-selectdates",{detail:this.selectedDate});else if("range"===this.mode){const e=[...this.selectedDate];0!==e.length&&2!==e.length||(e.length=0),e.push(i),this.selectedDate=e,this.emit("sgds-selectdates",{detail:this.selectedDate})}const a=this.minDate?Fa(new Date(this.minDate)):null,o=this.maxDate?Fa(new Date(this.maxDate)):null,n=Fa(i);(a&&n<a||o&&n>o)&&(e.stopPropagation(),e.preventDefault())}_onClickMonth(e,t=this.focusedDate.getFullYear()){const s=new Date(this.displayDate);this.view="days",s.setMonth(e),s.setFullYear(t),this.displayDate=s,this.emit("sgds-view",{detail:this.view}),this.emit("sgds-selectmonth",{detail:this.displayDate})}_onClickYear(e){const t=new Date(this.displayDate);t.setFullYear(e),this.displayDate=t,this.view="months",this.emit("sgds-view",{detail:this.view}),this.emit("sgds-selectyear",{detail:this.displayDate})}_getFocusedTarget(){const e={days:`td[data-date="${this.focusedDate.toISOString()}"]`,months:`button[data-month="${this.focusedDate.getMonth()}"][data-year="${this.focusedDate.getFullYear()}"]`,years:`button[data-year="${this.focusedDate.getFullYear()}"]`}[this.view];return this.shadowRoot.querySelector(`${e}`)}_blurCalendarCell(){const e=this._getFocusedTarget();e.setAttribute("tabindex","-1"),e.blur()}_focusOnCalendarCell(){const e=this._getFocusedTarget();e?(e.setAttribute("tabindex","0"),e.focus(),this.emit("sgds-update-focus",{detail:this.focusedDate})):this.emit("sgds-change-calendar",{detail:this.focusedDate})}_generateDays(){const e=this.selectedDate.map(e=>Fa(e)),t=this._generateIncrementDates(),s=this.minDate?Fa(new Date(this.minDate)):null,i=this.maxDate?Fa(new Date(this.maxDate)):null,a=this.displayDate.getFullYear(),o=this.displayDate.getMonth(),n=new Date(a,o,1).getDay();let r=Ua.daysInMonth[o];1===o&&(a%4==0&&a%100!=0||a%400==0)&&(r=29);const l=[];let d=1;for(let c=0;c<9;c++){const h=[];for(let l=0;l<=6;l++)if(d<=r&&(c>0||l>=n)){const n=new Date(a,o,d,12,0,0,0),r=n.toISOString(),c=s&&Date.parse(r)<Date.parse(s.toISOString()),p=i&&Date.parse(r)>Date.parse(i.toISOString()),u=c||p?void 0:this._onClickDay,g=Na.getMonth()===this.displayDate.getMonth(),v=Na.getFullYear()===this.displayDate.getFullYear(),m=Na.getDate()===d,f=e.length>0&&t.some(e=>Date.parse(r)===Date.parse(e.toISOString())),b=e.length>0&&t[0].toISOString()===r,w=e.length>1&&t[t.length-1].toISOString()===r,y=""+(m&&g&&v?"Today's date, ":"")+Va(n,"PPPP");h.push(ee`<td
|
|
473
473
|
key=${l}
|
|
474
474
|
data-date=${r}
|
|
475
475
|
data-day=${d}
|
|
@@ -537,7 +537,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
537
537
|
</div>
|
|
538
538
|
`)}
|
|
539
539
|
</div>
|
|
540
|
-
`}render(){let e;switch(this.view){case"days":default:e=ee` ${this._generateDays()} `;break;case"months":e=ee` ${this._generateMonths()} `;break;case"years":e=ee` ${this._generateYears()} `}return ee` <div class="datepicker-body">${e}</div> `}}Ua.styles=[
|
|
540
|
+
`}render(){let e;switch(this.view){case"days":default:e=ee` ${this._generateDays()} `;break;case"months":e=ee` ${this._generateMonths()} `;break;case"years":e=ee` ${this._generateYears()} `}return ee` <div class="datepicker-body">${e}</div> `}}Ua.styles=[Ra],Ua.DAY_LABELS=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Ua.daysInMonth=[31,28,31,30,31,30,31,31,30,31,30,31],Ua.MONTHVIEW_LABELS=["January","February","March","April","May","June","July","August","September","October","November","December"],e([Ve({type:Array})],Ua.prototype,"selectedDate",void 0),e([Ve({attribute:!1})],Ua.prototype,"displayDate",void 0),e([Ve({type:String})],Ua.prototype,"minDate",void 0),e([Ve({type:String})],Ua.prototype,"maxDate",void 0),e([Ve({type:String,reflect:!0})],Ua.prototype,"mode",void 0),e([Ve()],Ua.prototype,"view",void 0),e([Ve({type:Boolean})],Ua.prototype,"show",void 0),e([Ve()],Ua.prototype,"focusedTabIndex",void 0),e([ot("displayDate")],Ua.prototype,"_updateFocusedDate",null);var qa=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 Ya extends ji{_assignIconSize(e){return"xs"===e?"sm":"sm"===e?"md":"md"===e?"lg":"lg"===e?"xl":void 0}render(){const e=this.href,t=e?pt`a`:pt`button`;return gt`
|
|
541
541
|
<${t}
|
|
542
542
|
class="btn btn-icon${We({disabled:this.disabled,active:this.active,[`btn-${this.variant}`]:this.variant,[`btn-${this.size}`]:this.size,loading:this.loading})}"
|
|
543
543
|
?disabled=${Ke(e?void 0:this.disabled)}
|
|
@@ -563,7 +563,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
563
563
|
size=${Ke(this._assignIconSize(this.size))}
|
|
564
564
|
></sgds-icon>`}
|
|
565
565
|
</${t}>
|
|
566
|
-
`}}Ya.styles=[...
|
|
566
|
+
`}}Ya.styles=[...ji.styles,qa],Ya.dependencies={"sgds-icon":_t,"sgds-spinner":$a},e([Ve({type:String,reflect:!0})],Ya.prototype,"name",void 0);var Wa=n`.datepicker-header{display:flex;gap:var(--sgds-form-gap-md)}sgds-button{--btn-font-weight:var(--sgds-font-weight-semibold)}`;class Ka extends Be{constructor(){super(...arguments),this.selectedDate=[]}_handleFocusedTabIndexChange(){let e;switch(this.focusedTabIndex){case 0:e=this.shadowRoot.querySelector("sgds-icon-button[name='arrow-left']");break;case 1:e=this.shadowRoot.querySelector("sgds-button");break;case 2:e=this.shadowRoot.querySelector("sgds-icon-button[name='arrow-right']");break;default:return}e.focus()}_changeView(){switch(this.view){case"days":this.view="months";break;case"months":this.view="years"}this.emit("sgds-view",{detail:this.view})}renderHeader(e=this.displayDate,t=this.view){if("months"===t)return e.getFullYear();if("years"===t){const t=(new Date).getFullYear(),s=e.getFullYear(),i=(s-t)%12,a=i<0?12+i:i;return`${s-a} - ${s-a+12-1}`}return`${Ga[e.getMonth()]} ${e.getFullYear()}`}_renderHeaderTemplate(){return ee`${this.renderHeader()}`}handleClickPrevious(){const{view:e,displayDate:t,focusedDate:s}=this;let i=new Date(t);"months"===e?i.setFullYear(i.getFullYear()-1):"years"===this.view?i.setFullYear(i.getFullYear()-12):i=s.getDate()!==t.getDate()?Ta(s):Ta(i),this.displayDate=i,this.emit("sgds-change-calendar",{detail:this.displayDate})}_handleClickNext(){const{view:e,displayDate:t,focusedDate:s}=this;let i=new Date(t);"months"===e?i.setFullYear(i.getFullYear()+1):"years"===this.view?i.setFullYear(i.getFullYear()+12):i=s.getDate()!==t.getDate()?Oa(s):Oa(i),this.displayDate=i,this.emit("sgds-change-calendar",{detail:this.displayDate})}_removeCaret(){const e=this.displayDate.getFullYear(),t=this.displayDate.getMonth(),s=new Date(e,t);return"months"===this.view?e<=1900:"years"===this.view?e<1904:La(s,new Date(0,0,1))||Aa(s,new Date(0,0,1))}_ariaLabelForNextBtn(){return{days:"Show next month",months:"Show next year",years:"Show next 12 years"}[this.view]}_ariaLabelForPrevBtn(){return{days:"Show previous month",months:"Show previous year",years:"Show previous 12 years"}[this.view]}_ariaLabelForHeaderBtn(){const e={days:`Current view is days, click to show months in ${this.displayDate.getFullYear()}`,months:`Current view is months, click to show years between ${this.renderHeader(this.displayDate,"years")}`,years:"Current view is years"};return`${this.renderHeader()}. ${e[this.view]}`}render(){return ee`
|
|
567
567
|
<div class="datepicker-header dropdown-header">
|
|
568
568
|
<sgds-icon-button
|
|
569
569
|
name="arrow-left"
|
|
@@ -595,7 +595,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
595
595
|
>
|
|
596
596
|
</sgds-icon-button>
|
|
597
597
|
</div>
|
|
598
|
-
`}}Ka.styles=[Wa],Ka.dependencies={"sgds-icon":_t,"sgds-icon-button":Ya,"sgds-button":Yi},e([
|
|
598
|
+
`}}Ka.styles=[Wa],Ka.dependencies={"sgds-icon":_t,"sgds-icon-button":Ya,"sgds-button":Yi},e([Ve({attribute:!1})],Ka.prototype,"displayDate",void 0),e([Ve({attribute:!1})],Ka.prototype,"focusedDate",void 0),e([Ve({attribute:!1})],Ka.prototype,"selectedDate",void 0),e([Ve()],Ka.prototype,"view",void 0),e([Ve()],Ka.prototype,"focusedTabIndex",void 0),e([ot("focusedTabIndex",{waitUntilFirstUpdate:!0})],Ka.prototype,"_handleFocusedTabIndexChange",null);const Ga=["January","February","March","April","May","June","July","August","September","October","November","December"];class Ja{constructor(e,t){this.listeners=new Map,this.input=e,this.placeholderStr=this._buildPlaceholder(t.pattern),this._state=this.placeholderStr,this.listeners.set("accept",[]),this.listeners.set("complete",[]);const s={value:"",isComplete:!1};Object.defineProperties(s,{value:{get:()=>this._state,enumerable:!0},isComplete:{get:()=>this._state.length>0&&!/[DMY]/.test(this._state),enumerable:!0}}),this.masked=s,this.input.value&&this.input.value.length===this._state.length&&!/[DMY]/.test(this.input.value)?this._state=this.input.value:this.input.value=this._state,this._boundHandleBeforeInput=this._handleBeforeInput.bind(this),this._boundHandleInput=this._handleInput.bind(this),this._boundHandleKeydown=this._handleKeydown.bind(this),this._boundHandleFocus=this._handleFocus.bind(this),this._boundHandleBlur=this._handleBlur.bind(this),this._valueAtFocus=this._state,this.input.addEventListener("beforeinput",this._boundHandleBeforeInput),this.input.addEventListener("input",this._boundHandleInput),this.input.addEventListener("keydown",this._boundHandleKeydown),this.input.addEventListener("focus",this._boundHandleFocus),this.input.addEventListener("blur",this._boundHandleBlur)}get value(){return this._state}set value(e){this._state=e&&""!==e?e:this.placeholderStr,this.input.value=this._state,this._emit("accept")}on(e,t){var s;null===(s=this.listeners.get(e))||void 0===s||s.push(t)}updateValue(){this._state=this.input.value}destroy(){this.input.removeEventListener("beforeinput",this._boundHandleBeforeInput),this.input.removeEventListener("input",this._boundHandleInput),this.input.removeEventListener("keydown",this._boundHandleKeydown),this.input.removeEventListener("focus",this._boundHandleFocus),this.input.removeEventListener("blur",this._boundHandleBlur),this.listeners.clear()}_handleFocus(){this._valueAtFocus=this._state}_handleBlur(){this._state!==this._valueAtFocus&&this.input.dispatchEvent(new Event("change",{bubbles:!0}))}_buildPlaceholder(e){return e.replace(/`/g,"").replace(/\{(\/)\}/g,"$1").replace(/d/g,"D").replace(/m/g,"M").replace(/y/g,"Y")}_getDigitPositions(){const e=[];for(let t=0;t<this.placeholderStr.length;t++){const s=this.placeholderStr[t];"D"!==s&&"M"!==s&&"Y"!==s||e.push(t)}return e}_handleBeforeInput(e){e.preventDefault()}_handleInput(){this.input.value!==this._state&&(this.input.value=this._state)}_handleKeydown(e){"Backspace"===e.key?(e.preventDefault(),this._backspace()):"Delete"===e.key?(e.preventDefault(),this._deleteForward()):1===e.key.length&&/\d/.test(e.key)&&(e.preventDefault(),this._insertDigit(e.key))}_insertDigit(e){const t=this._getDigitPositions(),s=this._state.split("");let i=-1;for(const e of t)if(/[DMY]/.test(s[e])){i=e;break}if(-1===i)return;s[i]=e,this._state=s.join(""),this.input.value=this._state;const a=this._findNextInputPos(i);this.input.setSelectionRange(a,a),this._emit("accept"),this.masked.isComplete&&this._emit("complete")}_backspace(){var e;const t=null!==(e=this.input.selectionStart)&&void 0!==e?e:this._state.length,s=this._state.split("");let i=t-1;for(;i>=0&&!/\d/.test(s[i]);)i--;i>=0&&(s[i]=this.placeholderStr[i],this._state=s.join(""),this.input.value=this._state,this.input.setSelectionRange(i,i),this._emit("accept"))}_deleteForward(){var e;const t=null!==(e=this.input.selectionStart)&&void 0!==e?e:0,s=this._state.split("");let i=t;for(;i<s.length&&!/\d/.test(s[i]);)i++;i<s.length&&(s[i]=this.placeholderStr[i],this._state=s.join(""),this.input.value=this._state,this.input.setSelectionRange(t,t),this._emit("accept"))}_findNextInputPos(e){for(let t=e+1;t<this._state.length;t++)if(/[DMY]/.test(this._state[t]))return t;return this._state.length}_emit(e){const t=this.listeners.get(e);if(t)for(const e of t)e()}}var Xa=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{align-items:center;color:var(--sgds-form-color-subtle);display:flex;flex-shrink:0;font-weight:var(--sgds-font-weight-semibold);gap:var(--sgds-gap-xs);height:100%;justify-content:center}.form-control-prefix{border-right:var(--sgds-form-border-width-default) solid var(--sgds-border-color-muted);padding-right:var(--sgds-form-padding-x)}.form-control-suffix{border-left:var(--sgds-form-border-width-default) solid var(--sgds-border-color-muted);padding-left:var(--sgds-form-padding-x)}.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 Qa extends(da(fa)){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,s){return this._mixinSetValidity(e,t,s)}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,s=[this.hintText?`${this._controlId}Help`:"",this.invalid&&t?`${this._controlId}-invalid`:""].filter(Boolean).join(" ")||void 0;return gt`
|
|
599
599
|
<div
|
|
600
600
|
class="form-control-group ${We({disabled:this.disabled,readonly:this.readonly,"is-invalid":this.invalid&&e})}"
|
|
601
601
|
@click=${this._handleClick}
|
|
@@ -663,7 +663,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
663
663
|
</div>
|
|
664
664
|
${this._renderFeedback()}
|
|
665
665
|
</div>
|
|
666
|
-
`}}Qa.styles=[...fa.styles,na,ma,Xa],Qa.dependencies={"sgds-spinner":$a,"sgds-icon":_t},e([
|
|
666
|
+
`}}Qa.styles=[...fa.styles,na,ma,Xa],Qa.dependencies={"sgds-spinner":$a,"sgds-icon":_t},e([Ve({reflect:!0})],Qa.prototype,"type",void 0),e([Ve({type:String})],Qa.prototype,"prefix",void 0),e([Ve({type:String})],Qa.prototype,"suffix",void 0),e([Ve({type:Number,reflect:!0})],Qa.prototype,"minlength",void 0),e([Ve({type:Number,reflect:!0})],Qa.prototype,"maxlength",void 0),e([Ve()],Qa.prototype,"min",void 0),e([Ve()],Qa.prototype,"max",void 0),e([Ve({type:String,reflect:!0})],Qa.prototype,"placeholder",void 0),e([Ve({type:String})],Qa.prototype,"pattern",void 0),e([Ve({type:Boolean,reflect:!0})],Qa.prototype,"autofocus",void 0),e([Ve({type:Boolean,reflect:!0})],Qa.prototype,"readonly",void 0),e([Ve({type:String,reflect:!0})],Qa.prototype,"autocomplete",void 0),e([Ve()],Qa.prototype,"step",void 0),e([Ve({type:String,reflect:!0})],Qa.prototype,"hasFeedback",void 0),e([Ve({type:String,reflect:!0})],Qa.prototype,"invalidFeedback",void 0),e([ra()],Qa.prototype,"defaultValue",void 0),e([Ve({type:Boolean,reflect:!0})],Qa.prototype,"valid",void 0),e([Ve({type:Boolean,reflect:!0})],Qa.prototype,"loading",void 0),e([Ve({type:Boolean,reflect:!0})],Qa.prototype,"required",void 0),e([Ve({type:Boolean,reflect:!0})],Qa.prototype,"noValidate",void 0),e([Ve({reflect:!0})],Qa.prototype,"value",void 0),e([ze()],Qa.prototype,"_isTouched",void 0),e([ze()],Qa.prototype,"_showPassword",void 0),e([ot("_isTouched",{waitUntilFirstUpdate:!0})],Qa.prototype,"_handleIsTouched",null),e([ot("disabled",{waitUntilFirstUpdate:!0})],Qa.prototype,"_handleDisabledChange",null);var eo=n`.datepicker-input-container{display:flex;flex-direction:row;width:-webkit-fill-available;width:-moz-available}.datepicker-input-container .form-control-group{border-right:0}.calendar-btn{all:unset}`;class to extends Qa{constructor(){super(),this.dateFormat="DD/MM/YYYY",this.mode="single",this._validateInput=async()=>{const e=this.mask.value.split(" - ").filter(e=>e!==this.dateFormat),t=e.map(e=>Fa(Ha(e,Ba[this.dateFormat].fnsPattern))),s=t.filter(e=>!Da(e)||Aa(e,new Date(0,0,1))||Aa(e,Fa(new Date(this.minDate)))||Pa(e,Fa(new Date(this.maxDate))));return s.length>0||"range"===this.mode&&1===t.length?(this.setInvalid(!0),this.emit("i-sgds-invalid-input")):0===s.length&&t.length>0?(this.setInvalid(!1),this.emit("i-sgds-selectdates-input",{detail:t})):0===t.length&&0===s.length?(this.setInvalid(!1),this.emit("i-sgds-empty-input")):void 0},this.type="text"}_handleBlur(){const e=this.mask.value.split(" - ").filter(e=>e!==this.dateFormat),t=e.map(e=>Fa(Ha(e,Ba[this.dateFormat].fnsPattern))),s=t.filter(e=>!Da(e)||Aa(e,new Date(0,0,1))||Aa(e,Fa(new Date(this.minDate)))||Pa(e,Fa(new Date(this.maxDate))));this.mask.masked.isComplete&&s.length>0&&t.length>0&&(this.value="",this.mask.value="",this.setInvalid(!1)),this.emit("sgds-blur")}async _handleChange(e){this.value=this.input.value,this.emit("sgds-change"),super._mixinHandleChange(e),await this._validateInput()}async firstUpdated(e){super.firstUpdated(e),this._applyInputMask(this.dateFormat)}async _applyInputMask(e){const t=await this.shadowInput,s="single"===this.mode?Ba[e].imPattern:Ba[e].imRangePattern;this.mask=new Ja(t,{pattern:s}),this.mask.on("accept",()=>{this.value=this.mask.masked.value,this.emit("i-sgds-mask-input-change",{detail:this.value})}),this.mask.on("complete",this._validateInput)}updateMaskValue(){var e;null===(e=this.mask)||void 0===e||e.updateValue()}destroyInputMask(){var e;null===(e=this.mask)||void 0===e||e.destroy()}async applyInputMask(){return await this._applyInputMask(this.dateFormat)}async focus(){return(await this.shadowInput).focus()}render(){return ee`
|
|
667
667
|
<div
|
|
668
668
|
class="form-control-container ${We({disabled:this.disabled})}"
|
|
669
669
|
>
|
|
@@ -674,7 +674,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
674
674
|
</div>
|
|
675
675
|
${this._renderFeedback()}
|
|
676
676
|
</div>
|
|
677
|
-
`}}to.styles=[...Qa.styles,eo],e([
|
|
677
|
+
`}}to.styles=[...Qa.styles,eo],e([Ve({type:String})],to.prototype,"minDate",void 0),e([Ve({type:String})],to.prototype,"maxDate",void 0),e([Ve({type:String,reflect:!0})],to.prototype,"mode",void 0),e([Ie("input")],to.prototype,"shadowInput",void 0);var so=n`:host{--datepicker-theme-color:var(--sgds-primary);--datepicker-hover-bg:var(--sgds-primary-100);--datepicker-bg:#fff;--datepicker-close-btn-bg:var(--datepicker-theme-color);--datepicker-close-btn-hover-bg:var(--sgds-primary-700);--datepicker-close-btn-color:#fff;--datepicker-selected-date-bg:var(--sgds-primary);--datepicker-selected-date-color:#fff}:host([menuisopen]:not([disabled]):not([readonly])) .dropdown-menu{background-color:var(--sgds-form-surface-default);display:flex;flex-direction:column;gap:var(--sgds-form-gap-sm);overflow:unset;padding:var(--sgds-form-padding-y) var(--sgds-form-padding-x);width:var(--sgds-dimension-320)}.dropdown{display:flex;height:100%}sgds-datepicker-input{--input-border-radius:var(--sgds-form-border-radius-md) 0 0 var(--sgds-form-border-radius-md);flex:1;margin-right:0}sgds-icon-button{--btn-border-radius:0 var(--sgds-form-border-radius-md) var(--sgds-form-border-radius-md) 0}.m-width-160{min-width:var(--sgds-dimension-160)}`;class io extends(da(Vi)){constructor(){super(),this.required=!1,this.disabled=!1,this.noValidate=!1,this.value="",this.initialValue=[],this.dateFormat="DD/MM/YYYY",this.minDate="",this.maxDate="",this.mode="single",this.hasFeedback=!1,this.label="",this.hintText="",this.noFlip=!1,this.drop="down",this.defaultValue="",this.invalid=!1,this.view="days",this.selectedDateRange=[],this.focusedTabIndex=3,this.initialDisplayDate=new Date,this._makeInputValueString=(e,t,s)=>{if(!e&&!t)return this.value;const i=e=>Va(e,Ba[s].fnsPattern);switch(this.mode){case"single":e&&(this.value=i(e));break;case"range":e&&t&&(this.value=`${i(e)} - ${i(t)}`),e&&!t&&(this.value=`${i(e)} - ${this.dateFormat}`)}return this.value},this._dialogAriaLabels={days:"Choose date",months:"Choose month",years:"Choose year"},this.floatingOpts={placement:"bottom-end"}}isValueEmpty(){return""===this.value||"DD/MM/YYYY"===this.value||"DD/MM/YYYY - DD/MM/YYYY"===this.value}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}setInvalid(e){this.invalid=e,this.datepickerInput&&this.datepickerInput.setInvalid(e)}setValidity(e,t,s){return this._mixinSetValidity(e,t,s)}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}async connectedCallback(){if(super.connectedCallback(),this.addEventListener("sgds-view",this._handleViewChanged),this.addEventListener("sgds-change-calendar",this._handleDateChanged),this.addEventListener("sgds-update-focus",this._handleFocusDateChanged),this.addEventListener("sgds-selectmonth",this._handleSelectMonth),this.addEventListener("sgds-selectyear",this._handleSelectYear),this.addEventListener("sgds-selectdates",this._handleSelectDatesAndClose),this.addEventListener("i-sgds-selectdates-input",this._handleSelectDatesInput),this.addEventListener("i-sgds-empty-input",this._handleEmptyInput),this.addEventListener("keydown",this._handleTab),this.addEventListener("sgds-hide",this._handleCloseMenu),this.addEventListener("sgds-show",this._handleOpenMenu),this.addEventListener("blur",this._mixinCheckValidity),this.initialValue=this.value?this.value.split(" - ").map(e=>e.trim()):this.initialValue,this.initialDisplayDate=this.displayDate||new Date,this.initialValue&&this.initialValue.length>0){const e=new RegExp(this._getDateFormatRegex()),t=this.initialValue.filter(t=>!e.test(t));if(t.length>0)return console.error("Invalid date format in initialValue:",t);{const e=this.initialValue.map(e=>Fa(Ha(e,Ba[this.dateFormat].fnsPattern)));this._handleSelectDates(e)}}else this.displayDate=this.initialDisplayDate;(await this.datepickerInputAsync).setInvalid(this.invalid)}async firstUpdated(e){if(super.firstUpdated(e),this.menuIsOpen){const e=await this.datepickerInputAsync;await this.updateFloatingPosition();(await this.calendar).focusOnCalendar(e)}}_getDateFormatRegex(){return this.dateFormat.replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace("MM","\\d{2}").replace("DD","\\d{2}").replace("YYYY","\\d{4}").replace("/","\\/")}_handleTab(e){if(!this.menuIsOpen)return;const t=Array(4);e.shiftKey&&"Tab"===e.key?(e.preventDefault(),this.focusedTabIndex=(this.focusedTabIndex-1+t.length)%t.length):"Tab"===e.key&&(e.preventDefault(),this.focusedTabIndex=(this.focusedTabIndex+1+t.length)%t.length)}_handleValueChange(){this.emit("sgds-change-date")}async _handleCloseMenu(){if(0===this.selectedDateRange.length)this.displayDate=this.initialDisplayDate;else{const e=this.selectedDateRange.length;this.displayDate=this.selectedDateRange[e-1];(await this.calendar)._updateFocusedDate()}await this.updateComplete;(await this.datepickerInputAsync).focus()}async _handleOpenMenu(){const e=await this.calendar,t=await this.datepickerInputAsync;e.focusOnCalendar(t)}_handleSelectDatesInput(e){this._handleSelectDates(e.detail)}async _handleSelectDates(e){e.sort((e,t)=>e.getTime()-t.getTime()),this.displayDate=e[0],this.focusedDate=e[0],this.selectedDateRange=e;const t=this._makeInputValueString(this.selectedDateRange[0],this.selectedDateRange[1],this.dateFormat);this.value=t;(await this.datepickerInputAsync).updateMaskValue(),this._manageInternalsValid()}async _handleSelectDatesAndClose(e){await this._handleSelectDates(e.detail),("range"===this.mode&&2===this.selectedDateRange.length||"single"===this.mode&&1===this.selectedDateRange.length)&&this.hideMenu()}_handleViewChanged(e){this.view=e.detail}_handleDateChanged(e){this.displayDate=e.detail}_handleFocusDateChanged(e){this.focusedDate=e.detail}_handleSelectMonth(e){this.displayDate=e.detail}_handleSelectYear(e){this.displayDate=e.detail}async _handleInvalidInput(){this.selectedDateRange=[],this.displayDate=this.initialDisplayDate,this._mixinShouldSkipSgdsValidation()||(this.invalid=!0,this._manageInternalsBadInput())}async _handleEmptyInput(){this.required&&this._manageEmptyInput()}async _resetDatepicker(e=""){this.displayDate=this.initialDisplayDate,this.selectedDateRange=[],this.value=e,this.view="days";const t=await this.datepickerInputAsync;t.setInvalid(this.invalid),t.destroyInputMask(),await t.applyInputMask(),this._mixinResetValidity(t),this.isValueEmpty()&&this._handleEmptyInput()}_manageInternalsBadInput(){this._mixinSetValidity({badInput:!0},"Invalid date input",this.datepickerInput)}_manageEmptyInput(){this._mixinSetValidity({valueMissing:!0},"Please fill in this field",this.datepickerInput)}_manageInternalsValid(){this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||(this._mixinSetValidity({}),this.invalid=this.datepickerInput.invalid=!1)}async _mixinResetFormControl(){this._resetDatepicker(this.defaultValue)}async _handleInputMaskChange(e){this.value=e.detail,this.isValueEmpty()&&this._resetDatepicker()}render(){return ee`
|
|
678
678
|
<div class="datepicker-container m-width-160">
|
|
679
679
|
<sgds-datepicker-input
|
|
680
680
|
.value=${ia(this.value)}
|
|
@@ -738,7 +738,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
738
738
|
></sgds-datepicker-calendar>
|
|
739
739
|
</div>
|
|
740
740
|
</div>
|
|
741
|
-
`}}io.styles=[...
|
|
741
|
+
`}}io.styles=[...Vi.styles,Pi,so],io.dependencies={"sgds-datepicker-input":to,"sgds-datepicker-calendar":Ua,"sgds-datepicker-header":Ka,"sgds-button":Yi,"sgds-icon-button":Ya},e([Ve({type:Boolean,reflect:!0})],io.prototype,"required",void 0),e([Ve({reflect:!0})],io.prototype,"name",void 0),e([Ve({type:Boolean,reflect:!0})],io.prototype,"disabled",void 0),e([Ve({type:Boolean,reflect:!0})],io.prototype,"noValidate",void 0),e([Ve({type:String,reflect:!0})],io.prototype,"value",void 0),e([Ve({type:Array,reflect:!0})],io.prototype,"initialValue",void 0),e([Ve({type:String})],io.prototype,"minDate",void 0),e([Ve({type:String})],io.prototype,"maxDate",void 0),e([Ve({type:String,reflect:!0})],io.prototype,"mode",void 0),e([Ve({type:String,reflect:!0})],io.prototype,"invalidFeedback",void 0),e([Ve({type:Boolean,reflect:!0})],io.prototype,"hasFeedback",void 0),e([Ve({reflect:!0})],io.prototype,"label",void 0),e([Ve({reflect:!0})],io.prototype,"hintText",void 0),e([Ve({type:Boolean,reflect:!0,state:!1})],io.prototype,"noFlip",void 0),e([Ve({type:String,reflect:!0,state:!1})],io.prototype,"drop",void 0),e([Ve({attribute:!1})],io.prototype,"displayDate",void 0),e([ra()],io.prototype,"defaultValue",void 0),e([Ve({type:Boolean,reflect:!0})],io.prototype,"invalid",void 0),e([ze()],io.prototype,"view",void 0),e([ze()],io.prototype,"selectedDateRange",void 0),e([ze()],io.prototype,"focusedDate",void 0),e([ze()],io.prototype,"focusedTabIndex",void 0),e([Ie("sgds-datepicker-calendar")],io.prototype,"calendar",void 0),e([Ie("sgds-datepicker-input")],io.prototype,"datepickerInputAsync",void 0),e([Le("sgds-datepicker-input")],io.prototype,"datepickerInput",void 0),e([ot("value",{waitUntilFirstUpdate:!0})],io.prototype,"_handleValueChange",null),lt("sgds-datepicker",io);var ao=n`:host([bordered]) .container{border:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);border-radius:var(--sgds-border-radius-md)}.container{display:flex;flex-direction:column}slot[name=title]::slotted(*){color:var(--sgds-heading-color-default);font-size:var(--sgds-font-size-heading-sm);font-weight:var(--sgds-font-weight-semibold);letter-spacing:var(--sgds-letter-spacing-tight);line-height:var(--sgds-line-height-sm)}slot[name=description]::slotted(*){color:var(--sgds-color-subtle);font-size:var(--sgds-font-size-label-md);font-weight:var(--sgds-font-weight-regular);line-height:var(--sgds-line-height-xs)}.header{display:flex;flex-direction:column;gap:var(--sgds-gap-xs)}.has-header{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);padding:var(--sgds-padding-lg) var(--sgds-padding-xl)}`;class oo extends Be{constructor(){super(...arguments),this.bordered=!1,this.stacked=!1,this.hasTitleSlot=!1,this.hasDescriptionSlot=!1,this.hasSlotController=new $i(this,"title","description")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","list"),this.updateComplete.then(()=>{this._updateDescriptionLists()})}_updateDescriptionLists(){this._descriptionLists&&this._descriptionLists.forEach((e,t)=>{this.stacked?e.setAttribute("stacked",""):e.removeAttribute("stacked"),this.bordered?e.setAttribute("bordered",""):e.removeAttribute("bordered"),t===this._descriptionLists.length-1&&e.setAttribute("isLastChild","")})}updated(e){e.has("stacked")&&this._updateDescriptionLists(),e.has("bordered")&&this._updateDescriptionLists(),this.hasTitleSlot||(this.hasTitleSlot=this.hasSlotController.test("title")),this.hasDescriptionSlot||(this.hasDescriptionSlot=this.hasSlotController.test("description"))}render(){return ee`
|
|
742
742
|
<div class="container">
|
|
743
743
|
<div
|
|
744
744
|
class="${We({header:!0,"has-header":this.hasTitleSlot||this.hasDescriptionSlot})}"
|
|
@@ -750,7 +750,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
750
750
|
<slot></slot>
|
|
751
751
|
</div>
|
|
752
752
|
</div>
|
|
753
|
-
`}}oo.styles=[...Be.styles,ao],e([
|
|
753
|
+
`}}oo.styles=[...Be.styles,ao],e([Ve({type:Boolean,reflect:!0})],oo.prototype,"bordered",void 0),e([Ve({type:Boolean,reflect:!0})],oo.prototype,"stacked",void 0),e([Ve({type:Boolean})],oo.prototype,"hasTitleSlot",void 0),e([Ve({type:Boolean})],oo.prototype,"hasDescriptionSlot",void 0),e([De({flatten:!0})],oo.prototype,"_descriptionLists",void 0);var no=n`:host([bordered][islastchild]) .container:last-child{border-bottom:none}.container{align-items:flex-start;border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs);justify-content:flex-start;padding:var(--sgds-padding-lg) var(--sgds-padding-xl)}.data-container,.label-container{flex:1}.label-container{max-width:var(--sgds-dimension-280)}.label{color:var(--sgds-color-default);font-weight:var(--sgds-font-weight-semibold)}.data,.label{font-size:var(--sgds-font-size-label-md)}.data{color:var(--sgds-color-subtle);font-weight:var(--sgds-font-weight-regular);margin:0}@media (min-width:512px){:host(:not([stacked])) .container{flex-direction:row;gap:var(--sgds-gap-2-xl)}}`;let ro=0;class lo extends Be{constructor(){super(...arguments),this.attrId=++ro,this.componentId=`sgds-description-list-${this.attrId}`,this.stacked=!1,this.bordered=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","listitem")}render(){return ee`
|
|
754
754
|
<div class="container">
|
|
755
755
|
<div class="label-container">
|
|
756
756
|
<span class="label">
|
|
@@ -763,7 +763,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
763
763
|
</span>
|
|
764
764
|
</div>
|
|
765
765
|
</div>
|
|
766
|
-
`}}lo.styles=[...Be.styles,no],e([
|
|
766
|
+
`}}lo.styles=[...Be.styles,no],e([Ve({type:Boolean,reflect:!0})],lo.prototype,"stacked",void 0),e([Ve({type:Boolean,reflect:!0})],lo.prototype,"bordered",void 0),lt("sgds-description-list",lo),lt("sgds-description-list-group",oo);var co=n`:host{--container-size:8px}:host([orientation=horizontal]){border-top:var(--border-width) solid var(--sgds-border-color-muted);display:block;margin:calc((var(--container-size) - var(--border-width))/2) 0;width:100%}:host([orientation=vertical]){border-left:var(--border-width) solid var(--sgds-border-color-muted);display:inline-block;height:100%;margin:0 calc((var(--container-size) - var(--border-width))/2)}:host([thickness=thin]){--border-width:var(--sgds-border-width-1)}:host([thickness=thick]){--border-width:var(--sgds-border-width-2)}:host([thickness=thicker]){--border-width:var(--sgds-border-width-4)}`;class ho extends Be{constructor(){super(...arguments),this.orientation="horizontal",this.thickness="thin"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator"),this.setAttribute("aria-orientation",this.orientation)}}ho.styles=[co],e([Ve({type:String,reflect:!0})],ho.prototype,"orientation",void 0),e([Ve({type:String,reflect:!0})],ho.prototype,"thickness",void 0),lt("sgds-divider",ho);const po=new Set;function uo(e){po.add(e),document.body.style.overflow="hidden"}function go(e){po.delete(e),0===po.size&&(document.body.style.overflow="")}var vo=n`:host([size=md]) .drawer-end .drawer-panel,:host([size=md]) .drawer-start .drawer-panel{max-width:var(--sgds-dimension-768)}:host([size=md]) .drawer-bottom .drawer-panel,:host([size=md]) .drawer-top .drawer-panel{max-height:var(--sgds-dimension-768)}:host([size=lg]) .drawer-end .drawer-panel,:host([size=lg]) .drawer-start .drawer-panel{max-width:var(--sgds-dimension-1024)}:host([size=lg]) .drawer-bottom .drawer-panel,:host([size=lg]) .drawer-top .drawer-panel{max-height:var(--sgds-dimension-1024)}.drawer{height:100%;inset-inline-start:0;overflow:hidden;pointer-events:none;top:0;width:100%}.drawer-fixed{position:fixed;z-index:var(--sgds-z-index-modal)}.drawer-panel{background-color:var(--sgds-surface-default);display:flex;flex-direction:column;overflow:auto;pointer-events:all;position:absolute;z-index:2}.drawer-panel:focus{outline:none}.drawer-top .drawer-panel{bottom:auto;height:80%;inset-inline-end:auto;inset-inline-start:0;max-height:var(--sgds-dimension-512);top:0;width:100%}.drawer-end .drawer-panel{bottom:auto;height:100%;inset-inline-end:0;inset-inline-start:auto;max-width:var(--sgds-dimension-512);top:0;width:80%}.drawer-bottom .drawer-panel{bottom:0;height:80%;inset-inline-end:auto;inset-inline-start:0;max-height:var(--sgds-dimension-512);top:auto;width:100%}.drawer-start .drawer-panel{bottom:auto;height:100%;inset-inline-end:auto;inset-inline-start:0;max-width:var(--sgds-dimension-512);top:0;width:80%}.drawer-close-wrapper{position:sticky;top:0}sgds-close-button.drawer-close{inset-inline-end:8px;position:absolute;top:8px}.drawer-header{display:flex;flex-direction:column;gap:var(--sgds-gap-xs);padding:var(--sgds-padding-lg) var(--sgds-padding-lg) var(--sgds-padding-none)}slot[name=title]::slotted(*){color:var(--sgds-color-default)!important;font-size:var(--sgds-font-size-heading-sm)!important;margin-bottom:var(--sgds-margin-none)!important}slot[name=description]::slotted(*){color:var(--sgds-color-subtle);margin-bottom:var(--sgds-margin-none)!important}slot[name=footer]::slotted(*){background-color:var(--sgds-surface-default);bottom:0;padding:var(--sgds-padding-lg);position:sticky}.drawer-body{-webkit-overflow-scrolling:touch;display:block;flex:1 1 auto;overflow:hidden;padding:var(--sgds-padding-lg)}.drawer-overlay{background-color:var(--sgds-bg-overlay);display:block;inset:0;pointer-events:all;position:fixed}.drawer-contained .drawer-overlay{display:none}.drawer-contained{height:unset;width:unset}@media screen and (min-width:512px){.drawer-body{padding:var(--sgds-padding-2-xl)}.drawer-header{padding:var(--sgds-padding-2-xl) var(--sgds-padding-2-xl) var(--sgds-padding-none)}slot[name=footer]::slotted(*){padding:var(--sgds-padding-2-xl)}}`;class mo extends Be{constructor(){super(...arguments),this.open=!1,this.size="sm",this.placement="end",this.ariaLabel="Drawer",this.contained=!1,this.handleDocumentKeyDown=e=>{this.open&&!this.contained&&"Escape"===e.key&&(e.stopPropagation(),this.requestClose("keyboard"))}}firstUpdated(e){super.firstUpdated(e),this.open&&(this.addOpenListeners(),this.contained||uo(this))}disconnectedCallback(){super.disconnectedCallback(),go(this)}uppercaseFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}requestClose(e){if(this.emit("sgds-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){const e=st(this,"drawer.denyClose");return void Ge(this.panel,e.keyframes,e.options)}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}async handleOpenChange(){if(this.open){this.emit("sgds-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.contained||uo(this);const e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([Qe(this.drawer),Qe(this.overlay)]),this.drawer.hidden=!1,requestAnimationFrame(()=>{this.emit("sgds-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});const t=st(this,`drawer.show${this.uppercaseFirstLetter(this.placement)}`),s=st(this,"drawer.overlay.show");await Promise.all([Ge(this.panel,t.keyframes,t.options),Ge(this.overlay,s.keyframes,s.options)]),this.emit("sgds-after-show")}else{this.emit("sgds-hide"),this.removeOpenListeners(),this.contained||go(this),await Promise.all([Qe(this.drawer),Qe(this.overlay)]);const e=st(this,`drawer.hide${this.uppercaseFirstLetter(this.placement)}`),t=st(this,"drawer.overlay.hide");await Promise.all([Ge(this.overlay,t.keyframes,t.options).then(()=>{this.overlay.hidden=!0}),Ge(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.drawer.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1;const s=this.originalTrigger;"function"==typeof(null==s?void 0:s.focus)&&setTimeout(()=>s.focus()),this.emit("sgds-after-hide")}}handleNoModalChange(){this.open&&!this.contained&&uo(this),this.open&&this.contained&&go(this)}async show(){if(!this.open)return this.open=!0,at(this,"sgds-after-show")}async hide(){if(this.open)return this.open=!1,at(this,"sgds-after-hide")}render(){const e=this.hasUpdated,t=!this.open&&!e;return ee`
|
|
767
767
|
<div
|
|
768
768
|
class=${We({drawer:!0,"drawer-top":"top"===this.placement,"drawer-end":"end"===this.placement,"drawer-bottom":"bottom"===this.placement,"drawer-start":"start"===this.placement,"drawer-contained":this.contained,"drawer-fixed":!this.contained})}
|
|
769
769
|
?hidden=${t}
|
|
@@ -797,7 +797,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
797
797
|
</div>
|
|
798
798
|
</div>
|
|
799
799
|
</div>
|
|
800
|
-
`}}mo.styles=[...Be.styles,vo],mo.dependencies={"sgds-close-button":ft},e([
|
|
800
|
+
`}}mo.styles=[...Be.styles,vo],mo.dependencies={"sgds-close-button":ft},e([Le(".drawer")],mo.prototype,"drawer",void 0),e([Le(".drawer-panel")],mo.prototype,"panel",void 0),e([Le(".drawer-overlay")],mo.prototype,"overlay",void 0),e([Ve({type:Boolean,reflect:!0})],mo.prototype,"open",void 0),e([Ve({type:String,reflect:!0})],mo.prototype,"size",void 0),e([Ve({type:String,reflect:!0})],mo.prototype,"placement",void 0),e([Ve({type:String})],mo.prototype,"ariaLabel",void 0),e([Ve({type:Boolean,reflect:!0})],mo.prototype,"contained",void 0),e([ot("open",{waitUntilFirstUpdate:!0})],mo.prototype,"handleOpenChange",null),e([ot("contained",{waitUntilFirstUpdate:!0})],mo.prototype,"handleNoModalChange",null),it("drawer.showTop",{keyframes:[{opacity:0,translate:"0 -100%"},{opacity:1,translate:"0 0"}],options:{duration:250,easing:"ease"}}),it("drawer.hideTop",{keyframes:[{opacity:1,translate:"0 0"},{opacity:0,translate:"0 -100%"}],options:{duration:250,easing:"ease"}}),it("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),it("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:250,easing:"ease"}}),it("drawer.showBottom",{keyframes:[{opacity:0,translate:"0 100%"},{opacity:1,translate:"0 0"}],options:{duration:250,easing:"ease"}}),it("drawer.hideBottom",{keyframes:[{opacity:1,translate:"0 0"},{opacity:0,translate:"0 100%"}],options:{duration:250,easing:"ease"}}),it("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}}),it("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:250,easing:"ease"}}),it("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250}}),it("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:250}}),it("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:250}}),lt("sgds-drawer",mo),lt("sgds-dropdown",Li),lt("sgds-dropdown-item",Di);var fo=n`.file-upload-container{display:flex;flex-direction:column;gap:var(--sgds-form-gap-md)}.file-upload-list{display:flex;flex-direction:column;gap:var(--sgds-form-gap-xl);list-style-type:none;margin-top:0}.file-upload-list.has-files{margin-top:var(--sgds-margin-xl)}.filesize{color:var(--sgds-form-color-subtle)}@keyframes fileUploadEnter{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes fileUploadExit{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-8px)}}.file-upload-list-item-container{display:flex;flex-direction:column;gap:var(--sgds-form-gap-md);max-height:500px;overflow:hidden;transition:max-height var(--sgds-motion-duration-standard) var(--sgds-motion-easing-standard),opacity var(--sgds-motion-duration-standard) var(--sgds-motion-easing-standard)}.file-upload-list-item-container.file-upload-exit{max-height:0;opacity:0}.file-upload-list-item{align-items:center;animation:fileUploadEnter var(--sgds-motion-duration-standard) var(--sgds-motion-easing-enter);background-color:var(--sgds-form-surface-default);border:var(--sgds-form-border-width-default) solid var(--sgds-border-color-muted);border-radius:var(--sgds-form-border-radius-md);display:flex;gap:var(--sgds-form-gap-lg);padding:var(--sgds-form-padding-y) calc(var(--sgds-form-padding-x) + var(--sgds-padding-2-xl)) var(--sgds-form-padding-y) var(--sgds-form-padding-x);position:relative;transition:transform var(--sgds-motion-duration-standard) var(--sgds-motion-easing-standard)}.file-upload-list-item.file-upload-error{border:var(--sgds-form-border-width-default) solid var(--sgds-form-danger-border-color-default)}.file-upload-list-item.file-upload-exit{animation:fileUploadExit var(--sgds-motion-duration-standard) var(--sgds-motion-easing-exit)}.file-upload-list-item span:not(:first-of-type){cursor:pointer}.file-upload-item-error{align-items:flex-start;display:flex;gap:var(--sgds-form-gap-lg)}.file-upload-item-error sgds-icon{color:var(--sgds-color-muted);flex-shrink:0;margin-top:2px}.file-upload-item-error-message{color:var(--sgds-form-danger-color-default);font-size:var(--sgds-font-size-label-sm,);line-height:var(--sgds-line-height-2-xs)}ul{margin:0;padding:0}input{display:none}sgds-button{cursor:pointer;width:fit-content}sgds-close-button{position:absolute;right:8px;top:8px}sgds-icon.valid{color:var(--sgds-form-success-color-default)}sgds-icon.invalid{color:var(--sgds-color-muted)}.drag-drop-zone{align-items:center;background-color:var(--sgds-surface-raised);border:var(--sgds-border-width-1) dashed var(--sgds-border-color-default);border-radius:var(--sgds-border-radius-md);display:flex;flex-direction:column;gap:var(--sgds-gap-md);justify-content:center;padding:var(--sgds-padding-2-xl)}.drag-drop-text{font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs)}.drag-drop-zone:focus,.drag-drop-zone:focus-visible{outline:var(--sgds-form-outline-focus);outline-offset:var(--sgds-form-outline-offset-focus)}:host([disabled]) .file-upload-container>:not(sgds-button):not(.invalid-feedback-container){opacity:var(--sgds-opacity-50)}:host([disabled]){cursor:not-allowed;pointer-events:none}:host([disabled]) .drag-drop-zone:focus,:host([disabled]) .drag-drop-zone:focus-visible{outline:none}:host([invalid]:not([disabled])) .drag-drop-zone{border:var(--sgds-form-border-width-default) solid var(--sgds-form-danger-border-color-default)}:host([invalid]:not([disabled])) .drag-drop-zone:focus,:host([invalid]:not([disabled])) .drag-drop-zone:focus-visible{outline:var(--sgds-border-width-2) solid var(--sgds-form-danger-color-default);outline-offset:var(--sgds-form-outline-offset-focus)}:host(:not([disabled]):not([invalid])) .drag-drop-zone:hover{outline:var(--sgds-form-border-width-thick) solid var(--sgds-border-color-emphasis);outline-offset:var(--sgds-form-outline-offset-focus)}`;class bo extends(da(fa)){constructor(){super(...arguments),this.multiple=!1,this.accept="",this.hasFeedback=!1,this.required=!1,this.variant="default",this.ariaLabel="Choose files",this.noValidate=!1,this.selectedFiles=[],this.exitingFile=null,this.fileMetadata=new Map,this._isTouched=!1,this._isProgrammaticChange=!1,this.inputRef=jt(),this._dragZoneRef=jt(),this._dragCounter=0,this._isDialogOpen=!1}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}get files(){return this.selectedFiles}setFileUploadState(e,t,s){const i=this.selectedFiles[e];i&&(this.fileMetadata.set(i,{uploading:"loading"===t,error:s}),this.requestUpdate())}_setFileList(e,t=0,s){if(this.emit("sgds-change",{detail:e}),this.emit("sgds-files-selected",{detail:e}),e.length>t){const s=Array.from(e).slice(t),i=new DataTransfer;s.forEach(e=>i.items.add(e)),this.emit("sgds-add-files",{detail:i.files})}else if(e.length===t&&t>0&&!s){const t=new DataTransfer;Array.from(e).forEach(e=>t.items.add(e)),this.emit("sgds-add-files",{detail:t.files})}e.length<t&&s&&this.emit("sgds-remove-file",{detail:{file:s,files:e}})}_handleClick(e){if(e.preventDefault(),!this.disabled){this._isDialogOpen=!0;const e=this.inputRef.value;null==e||e.click()}}_handleCancel(){this._isDialogOpen=!1,this._isTouched=!0,this._mixinShouldSkipSgdsValidation()||this.setInvalid(!this._mixinCheckValidity())}_handleChange(e){this._isDialogOpen=!1;const t=e.target,s=t.files,i=this.selectedFiles.length,a=0===s.length&&!this._isProgrammaticChange,o=s.length>0&&!this._isProgrammaticChange,n=o&&this.multiple&&this.selectedFiles.length>0;a&&this.selectedFiles.length>0?this._restoreNativeInput(t):n?this._appendFiles(t,s):s.length>0&&(this.selectedFiles=Array.from(s)),o&&this._setFileList(t.files,i),a&&!this._isTouched||super._mixinHandleChange(e)}_restoreNativeInput(e){const t=new DataTransfer;this.selectedFiles.forEach(e=>t.items.add(e)),e.files=t.files}_appendFiles(e,t){const s=[...this.selectedFiles,...Array.from(t)];this.selectedFiles=s;const i=new DataTransfer;s.forEach(e=>i.items.add(e)),e.files=i.files}_removeFileHandler(e){const t=this.selectedFiles[e];this.exitingFile=t,this.requestUpdate(),setTimeout(()=>{const s=this.inputRef.value;if(!s)return;const i=this.selectedFiles.length,a=new DataTransfer;this.selectedFiles.forEach((t,s)=>{e!==s&&a.items.add(t)}),this._isProgrammaticChange=!0,s.files=a.files,this._setFileList(a.files,i,t),this.selectedFiles=Array.from(a.files),this.exitingFile=null,this.requestUpdate(),s.dispatchEvent(new Event("change",{bubbles:!0})),this._isProgrammaticChange=!1},300)}_clearAllFiles(){const e=this.inputRef.value,t=this.selectedFiles.length,s=new DataTransfer;e&&(e.files=s.files),this._setFileList(s.files,t),this.selectedFiles=Array.from(s.files)}_mixinResetFormControl(){this._clearAllFiles(),this._mixinResetValidity(this.input)}_handleDisabledChange(){this.setInvalid(!1)}_handleBlur(){const e=this.emit("sgds-blur",{cancelable:!0});this._mixinShouldSkipSgdsValidation()||e.defaultPrevented||this._isDialogOpen||(this.setInvalid(!this._mixinCheckValidity()),this._isTouched=!0)}_handleIsTouched(){this._mixinShouldSkipSgdsValidation()||this._isTouched&&this.setInvalid(!this._mixinCheckValidity())}_renderLabel(){const e=ee` <label id=${this._labelId} class="form-label"> ${this.label} </label> `;return this.label&&e}_renderHintText(){const e=ee` <div id="${this._controlId}Help" class="form-text">${this.hintText}</div> `;return this.hintText&&e}_renderFeedback(){return ee`
|
|
801
801
|
<div class="invalid-feedback-container">
|
|
802
802
|
<sgds-icon name="exclamation-circle-fill" size="md"></sgds-icon>
|
|
803
803
|
<div id="${this._controlId}-invalid" class="invalid-feedback">
|
|
@@ -877,7 +877,7 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
877
877
|
<ul class="file-upload-list ${this.selectedFiles.length>0?"has-files":""}">
|
|
878
878
|
${t}
|
|
879
879
|
</ul>
|
|
880
|
-
`}}bo.styles=[...fa.styles,fo],bo.dependencies={"sgds-button":Yi,"sgds-close-button":ft,"sgds-icon":_t,"sgds-spinner":$a},e([ze({type:Boolean,reflect:!0})],bo.prototype,"multiple",void 0),e([ze({type:String,reflect:!0})],bo.prototype,"accept",void 0),e([ze({type:Boolean,reflect:!0})],bo.prototype,"hasFeedback",void 0),e([ze({type:String,reflect:!0})],bo.prototype,"invalidFeedback",void 0),e([ze({type:Boolean,reflect:!0})],bo.prototype,"required",void 0),e([ze({type:String,reflect:!0})],bo.prototype,"variant",void 0),e([ze({type:String})],bo.prototype,"ariaLabel",void 0),e([ze({type:Boolean,reflect:!0})],bo.prototype,"noValidate",void 0),e([Ve()],bo.prototype,"selectedFiles",void 0),e([Ve()],bo.prototype,"exitingFile",void 0),e([Ve()],bo.prototype,"fileMetadata",void 0),e([Ve()],bo.prototype,"_isTouched",void 0),e([ot("disabled",{waitUntilFirstUpdate:!0})],bo.prototype,"_handleDisabledChange",null),e([ot("_isTouched",{waitUntilFirstUpdate:!0})],bo.prototype,"_handleIsTouched",null),lt("sgds-file-upload",bo);var wo=n`.footer{background-color:var(--sgds-bg-fixed-dark);height:auto}.footer-top{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-default);display:flex;flex-direction:column;padding:var(--sgds-padding-2-xl) var(--sgds-padding-none)}.footer-top.has-content{gap:var(--sgds-gap-2-xl)}.footer-header{display:flex;flex-direction:column;gap:var(--sgds-gap-sm)}slot[name=title]::slotted(*){color:var(--sgds-color-fixed-light)!important;font-size:var(--sgds-font-size-heading-md)!important;font-weight:var(--sgds-font-weight-semibold);letter-spacing:var(--sgds-letter-spacing-tight);line-height:var(--sgds-line-height-md)!important;margin-bottom:var(--sgds-margin-none)!important;margin-top:var(--sgds-margin-none)}slot:not([name])::slotted(*),slot[name=description]::slotted(*){color:var(--sgds-color-fixed-light);margin-bottom:var(--sgds-margin-none)!important;margin-top:var(--sgds-margin-none)}.footer-items{display:grid;gap:var(--sgds-gap-md) var(--sgds-gap-lg);grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.footer ul{margin:0;padding:0}.footer ul li{list-style-type:none}.footer-bottom{display:flex;flex-direction:column;gap:var(--sgds-gap-md);padding:var(--sgds-padding-2-xl) var(--sgds-padding-none)}.footer-mandatory-links{display:flex;flex-direction:column;flex-wrap:wrap;gap:var(--sgds-gap-xl);justify-content:space-between}.footer-mandatory-links ul{display:flex;flex-direction:column;flex-wrap:wrap;gap:var(--sgds-gap-sm)}.footer-mandatory-links ul li a,.footer-mandatory-links ul li a:focus,.footer-mandatory-links ul li a:hover{color:var(--sgds-color-fixed-light)}.footer-mandatory-links ul li a:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.footer-copyrights{color:var(--sgds-color-fixed-light);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs)}@media (min-width:768px){.footer-mandatory-links ul{flex-direction:row;gap:var(--sgds-gap-sm) var(--sgds-gap-xl)}}@media (min-width:1024px){.footer-top{padding:var(--sgds-padding-3-xl) var(--sgds-padding-none)}.footer-top.has-content{gap:var(--sgds-gap-3-xl)}slot[name=title]::slotted(*){font-size:var(--sgds-font-size-heading-md)!important;line-height:var(--sgds-line-height-md)!important}.footer-mandatory-links ul{gap:var(--sgds-gap-xl)}}@media (min-width:1280px){.footer-mandatory-links{flex-direction:row}}:host([tone=neutral]) .footer{background-color:var(--sgds-bg-default)}:host([tone=neutral]) slot[name=title]::slotted(*){color:var(--sgds-color-default)!important}:host([tone=neutral]) slot:not([name])::slotted(*),:host([tone=neutral]) slot[name=description]::slotted(*){color:var(--sgds-color-default)}:host([tone=neutral]) .footer-copyrights{color:var(--sgds-color-default)}`,yo=n`.sgds-container,.sgds-container-sidebar{margin-left:auto;margin-right:auto;max-width:calc(100% - 40px);width:100%}.sgds-container-sidebar .sgds-grid{gap:var(--sgds-gap-md)}.sgds-grid{display:grid;gap:var(--sgds-layout-gap-md);grid-template-columns:repeat(4,1fr)}.sgds-col-1{grid-column:span 1}.sgds-col-2{grid-column:span 2}.sgds-col-3{grid-column:span 3}.sgds-col-4{grid-column:span 4}.sgds-col-center-2{grid-column:2/span 2}.sgds-col-none{display:none}@media (min-width:512px){.sgds-grid{grid-template-columns:repeat(8,1fr)}.sgds-container,.sgds-container-sidebar{max-width:calc(100% - 48px)}.sgds-col-sm-1{grid-column:span 1}.sgds-col-sm-2{grid-column:span 2}.sgds-col-sm-3{grid-column:span 3}.sgds-col-sm-4{grid-column:span 4}.sgds-col-sm-5{grid-column:span 5}.sgds-col-sm-6{grid-column:span 6}.sgds-col-sm-7{grid-column:span 7}.sgds-col-sm-8{grid-column:span 8}.sgds-col-sm-center-2{grid-column:4/span 2}.sgds-col-sm-center-4{grid-column:3/span 4}.sgds-col-sm-center-6{grid-column:2/span 6}.sgds-col-none{display:revert}.sgds-col-sm-none{display:none}}@media (min-width:768px){.sgds-container{max-width:calc(100% - 56px)}.sgds-container-sidebar{max-width:calc(100% - 96px)}.sgds-container-sidebar .sgds-grid{gap:var(--sgds-gap-xl)}.sgds-col-md-1{grid-column:span 1}.sgds-col-md-2{grid-column:span 2}.sgds-col-md-3{grid-column:span 3}.sgds-col-md-4{grid-column:span 4}.sgds-col-md-5{grid-column:span 5}.sgds-col-md-6{grid-column:span 6}.sgds-col-md-7{grid-column:span 7}.sgds-col-md-8{grid-column:span 8}.sgds-col-md-center-2{grid-column:4/span 2}.sgds-col-md-center-4{grid-column:3/span 4}.sgds-col-md-center-6{grid-column:2/span 6}.sgds-col-sm-none{display:revert}.sgds-col-md-none{display:none}}@media (min-width:1024px){.sgds-grid{grid-template-columns:repeat(12,1fr)}.sgds-container-sidebar{max-width:calc(100% - 96px)}.sgds-container{max-width:var(--sgds-dimension-888)}.sgds-col-lg-1{grid-column:span 1}.sgds-col-lg-2{grid-column:span 2}.sgds-col-lg-3{grid-column:span 3}.sgds-col-lg-4{grid-column:span 4}.sgds-col-lg-5{grid-column:span 5}.sgds-col-lg-6{grid-column:span 6}.sgds-col-lg-7{grid-column:span 7}.sgds-col-lg-8{grid-column:span 8}.sgds-col-lg-9{grid-column:span 9}.sgds-col-lg-10{grid-column:span 10}.sgds-col-lg-11{grid-column:span 11}.sgds-col-lg-12{grid-column:span 12}.sgds-col-lg-center-2{grid-column:6/span 2}.sgds-col-lg-center-4{grid-column:5/span 4}.sgds-col-lg-center-6{grid-column:4/span 6}.sgds-col-lg-center-8{grid-column:3/span 8}.sgds-col-lg-center-10{grid-column:2/span 10}.sgds-col-md-none{display:revert}.sgds-col-lg-none{display:none}}@media (min-width:1280px){.sgds-container{max-width:var(--sgds-dimension-1168)}.sgds-container-sidebar{max-width:calc(100% - 96px)}.sgds-col-xl-1{grid-column:span 1}.sgds-col-xl-2{grid-column:span 2}.sgds-col-xl-3{grid-column:span 3}.sgds-col-xl-4{grid-column:span 4}.sgds-col-xl-5{grid-column:span 5}.sgds-col-xl-6{grid-column:span 6}.sgds-col-xl-7{grid-column:span 7}.sgds-col-xl-8{grid-column:span 8}.sgds-col-xl-9{grid-column:span 9}.sgds-col-xl-10{grid-column:span 10}.sgds-col-xl-11{grid-column:span 11}.sgds-col-xl-12{grid-column:span 12}.sgds-col-xl-center-2{grid-column:6/span 2}.sgds-col-xl-center-4{grid-column:5/span 4}.sgds-col-xl-center-6{grid-column:4/span 6}.sgds-col-xl-center-8{grid-column:3/span 8}.sgds-col-xl-center-10{grid-column:2/span 10}.sgds-col-lg-none{display:revert}.sgds-col-xl-none{display:none}}@media (min-width:1440px){.sgds-container{max-width:var(--sgds-dimension-1312)}.sgds-container-sidebar{max-width:calc(100% - 96px)}.sgds-col-2-xl-1{grid-column:span 1}.sgds-col-2-xl-2{grid-column:span 2}.sgds-col-2-xl-3{grid-column:span 3}.sgds-col-2-xl-4{grid-column:span 4}.sgds-col-2-xl-5{grid-column:span 5}.sgds-col-2-xl-6{grid-column:span 6}.sgds-col-2-xl-7{grid-column:span 7}.sgds-col-2-xl-8{grid-column:span 8}.sgds-col-2-xl-9{grid-column:span 9}.sgds-col-2-xl-10{grid-column:span 10}.sgds-col-2-xl-11{grid-column:span 11}.sgds-col-2-xl-12{grid-column:span 12}.sgds-col-2-xl-center-2{grid-column:6/span 2}.sgds-col-2-xl-center-4{grid-column:5/span 4}.sgds-col-2-xl-center-6{grid-column:4/span 6}.sgds-col-2-xl-center-8{grid-column:3/span 8}.sgds-col-2-xl-center-10{grid-column:2/span 10}.sgds-col-xl-none{display:revert}.sgds-col-2-xl-none{display:none}}@media (min-width:1680px){.sgds-container-sidebar{max-width:var(--sgds-dimension-1296)}.sgds-col-3-xl-1{grid-column:span 1}.sgds-col-3-xl-2{grid-column:span 2}.sgds-col-3-xl-3{grid-column:span 3}.sgds-col-3-xl-4{grid-column:span 4}.sgds-col-3-xl-5{grid-column:span 5}.sgds-col-3-xl-6{grid-column:span 6}.sgds-col-3-xl-7{grid-column:span 7}.sgds-col-3-xl-8{grid-column:span 8}.sgds-col-3-xl-9{grid-column:span 9}.sgds-col-3-xl-10{grid-column:span 10}.sgds-col-3-xl-11{grid-column:span 11}.sgds-col-3-xl-12{grid-column:span 12}.sgds-col-3-xl-center-2{grid-column:6/span 2}.sgds-col-3-xl-center-4{grid-column:5/span 4}.sgds-col-3-xl-center-6{grid-column:4/span 6}.sgds-col-3-xl-center-8{grid-column:3/span 8}.sgds-col-3-xl-center-10{grid-column:2/span 10}.sgds-col-2-xl-none{display:revert}.sgds-col-3-xl-none{display:none}}`;class _o extends Be{constructor(){super(...arguments),this.copyrightLiner="Government of Singapore",this.contactHref="#",this.feedbackHref="#",this.faqHref="",this.sitemapHref="",this.privacyHref="#",this.termsOfUseHref="#",this.layout="default",this.tone="fixed-dark",this.hasDefaultSlot=!1,this.hasTitleSlot=!1,this.hasDescriptionSlot=!1,this.hasItemsSlot=!1,this.hasSlotController=new $i(this,"[default]","title","description","items")}_handleItemsSlotChange(e){e.target.assignedElements().forEach(e=>{e.tone=this.tone})}_handleToneChange(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector('slot[name="items"]');null==t||t.assignedElements().forEach(e=>{e.tone=this.tone})}updated(){this.hasDefaultSlot||(this.hasDefaultSlot=this.hasSlotController.test("[default]")),this.hasTitleSlot||(this.hasTitleSlot=this.hasSlotController.test("title")),this.hasDescriptionSlot||(this.hasDescriptionSlot=this.hasSlotController.test("description")),this.hasItemsSlot||(this.hasItemsSlot=this.hasSlotController.test("items"))}get _linkTone(){return"neutral"===this.tone?"neutral":"fixed-light"}render(){return ee`
|
|
880
|
+
`}}bo.styles=[...fa.styles,fo],bo.dependencies={"sgds-button":Yi,"sgds-close-button":ft,"sgds-icon":_t,"sgds-spinner":$a},e([Ve({type:Boolean,reflect:!0})],bo.prototype,"multiple",void 0),e([Ve({type:String,reflect:!0})],bo.prototype,"accept",void 0),e([Ve({type:Boolean,reflect:!0})],bo.prototype,"hasFeedback",void 0),e([Ve({type:String,reflect:!0})],bo.prototype,"invalidFeedback",void 0),e([Ve({type:Boolean,reflect:!0})],bo.prototype,"required",void 0),e([Ve({type:String,reflect:!0})],bo.prototype,"variant",void 0),e([Ve({type:String})],bo.prototype,"ariaLabel",void 0),e([Ve({type:Boolean,reflect:!0})],bo.prototype,"noValidate",void 0),e([ze()],bo.prototype,"selectedFiles",void 0),e([ze()],bo.prototype,"exitingFile",void 0),e([ze()],bo.prototype,"fileMetadata",void 0),e([ze()],bo.prototype,"_isTouched",void 0),e([ot("disabled",{waitUntilFirstUpdate:!0})],bo.prototype,"_handleDisabledChange",null),e([ot("_isTouched",{waitUntilFirstUpdate:!0})],bo.prototype,"_handleIsTouched",null),lt("sgds-file-upload",bo);var wo=n`.footer{background-color:var(--sgds-bg-fixed-dark);height:auto}.footer-top{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-default);display:flex;flex-direction:column;padding:var(--sgds-padding-2-xl) var(--sgds-padding-none)}.footer-top.has-content{gap:var(--sgds-gap-2-xl)}.footer-header{display:flex;flex-direction:column;gap:var(--sgds-gap-sm)}slot[name=title]::slotted(*){color:var(--sgds-color-fixed-light)!important;font-size:var(--sgds-font-size-heading-md)!important;font-weight:var(--sgds-font-weight-semibold);letter-spacing:var(--sgds-letter-spacing-tight);line-height:var(--sgds-line-height-md)!important;margin-bottom:var(--sgds-margin-none)!important;margin-top:var(--sgds-margin-none)}slot:not([name])::slotted(*),slot[name=description]::slotted(*){color:var(--sgds-color-fixed-light);margin-bottom:var(--sgds-margin-none)!important;margin-top:var(--sgds-margin-none)}.footer-items{display:grid;gap:var(--sgds-gap-md) var(--sgds-gap-lg);grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.footer ul{margin:0;padding:0}.footer ul li{list-style-type:none}.footer-bottom{display:flex;flex-direction:column;gap:var(--sgds-gap-md);padding:var(--sgds-padding-2-xl) var(--sgds-padding-none)}.footer-mandatory-links{display:flex;flex-direction:column;flex-wrap:wrap;gap:var(--sgds-gap-xl);justify-content:space-between}.footer-mandatory-links ul{display:flex;flex-direction:column;flex-wrap:wrap;gap:var(--sgds-gap-sm)}.footer-mandatory-links ul li a,.footer-mandatory-links ul li a:focus,.footer-mandatory-links ul li a:hover{color:var(--sgds-color-fixed-light)}.footer-mandatory-links ul li a:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.footer-copyrights{color:var(--sgds-color-fixed-light);font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs)}@media (min-width:768px){.footer-mandatory-links ul{flex-direction:row;gap:var(--sgds-gap-sm) var(--sgds-gap-xl)}}@media (min-width:1024px){.footer-top{padding:var(--sgds-padding-3-xl) var(--sgds-padding-none)}.footer-top.has-content{gap:var(--sgds-gap-3-xl)}slot[name=title]::slotted(*){font-size:var(--sgds-font-size-heading-md)!important;line-height:var(--sgds-line-height-md)!important}.footer-mandatory-links ul{gap:var(--sgds-gap-xl)}}@media (min-width:1280px){.footer-mandatory-links{flex-direction:row}}:host([tone=neutral]) .footer{background-color:var(--sgds-bg-default)}:host([tone=neutral]) slot[name=title]::slotted(*){color:var(--sgds-color-default)!important}:host([tone=neutral]) slot:not([name])::slotted(*),:host([tone=neutral]) slot[name=description]::slotted(*){color:var(--sgds-color-default)}:host([tone=neutral]) .footer-copyrights{color:var(--sgds-color-default)}`,yo=n`.sgds-container,.sgds-container-sidebar{margin-left:auto;margin-right:auto;max-width:calc(100% - 40px);width:100%}.sgds-container-sidebar .sgds-grid{gap:var(--sgds-gap-md)}.sgds-grid{display:grid;gap:var(--sgds-layout-gap-md);grid-template-columns:repeat(4,1fr)}.sgds-col-1{grid-column:span 1}.sgds-col-2{grid-column:span 2}.sgds-col-3{grid-column:span 3}.sgds-col-4{grid-column:span 4}.sgds-col-center-2{grid-column:2/span 2}.sgds-col-none{display:none}@media (min-width:512px){.sgds-grid{grid-template-columns:repeat(8,1fr)}.sgds-container,.sgds-container-sidebar{max-width:calc(100% - 48px)}.sgds-col-sm-1{grid-column:span 1}.sgds-col-sm-2{grid-column:span 2}.sgds-col-sm-3{grid-column:span 3}.sgds-col-sm-4{grid-column:span 4}.sgds-col-sm-5{grid-column:span 5}.sgds-col-sm-6{grid-column:span 6}.sgds-col-sm-7{grid-column:span 7}.sgds-col-sm-8{grid-column:span 8}.sgds-col-sm-center-2{grid-column:4/span 2}.sgds-col-sm-center-4{grid-column:3/span 4}.sgds-col-sm-center-6{grid-column:2/span 6}.sgds-col-none{display:revert}.sgds-col-sm-none{display:none}}@media (min-width:768px){.sgds-container{max-width:calc(100% - 56px)}.sgds-container-sidebar{max-width:calc(100% - 96px)}.sgds-container-sidebar .sgds-grid{gap:var(--sgds-gap-xl)}.sgds-col-md-1{grid-column:span 1}.sgds-col-md-2{grid-column:span 2}.sgds-col-md-3{grid-column:span 3}.sgds-col-md-4{grid-column:span 4}.sgds-col-md-5{grid-column:span 5}.sgds-col-md-6{grid-column:span 6}.sgds-col-md-7{grid-column:span 7}.sgds-col-md-8{grid-column:span 8}.sgds-col-md-center-2{grid-column:4/span 2}.sgds-col-md-center-4{grid-column:3/span 4}.sgds-col-md-center-6{grid-column:2/span 6}.sgds-col-sm-none{display:revert}.sgds-col-md-none{display:none}}@media (min-width:1024px){.sgds-grid{grid-template-columns:repeat(12,1fr)}.sgds-container-sidebar{max-width:calc(100% - 96px)}.sgds-container{max-width:var(--sgds-dimension-888)}.sgds-col-lg-1{grid-column:span 1}.sgds-col-lg-2{grid-column:span 2}.sgds-col-lg-3{grid-column:span 3}.sgds-col-lg-4{grid-column:span 4}.sgds-col-lg-5{grid-column:span 5}.sgds-col-lg-6{grid-column:span 6}.sgds-col-lg-7{grid-column:span 7}.sgds-col-lg-8{grid-column:span 8}.sgds-col-lg-9{grid-column:span 9}.sgds-col-lg-10{grid-column:span 10}.sgds-col-lg-11{grid-column:span 11}.sgds-col-lg-12{grid-column:span 12}.sgds-col-lg-center-2{grid-column:6/span 2}.sgds-col-lg-center-4{grid-column:5/span 4}.sgds-col-lg-center-6{grid-column:4/span 6}.sgds-col-lg-center-8{grid-column:3/span 8}.sgds-col-lg-center-10{grid-column:2/span 10}.sgds-col-md-none{display:revert}.sgds-col-lg-none{display:none}}@media (min-width:1280px){.sgds-container{max-width:var(--sgds-dimension-1168)}.sgds-container-sidebar{max-width:calc(100% - 96px)}.sgds-col-xl-1{grid-column:span 1}.sgds-col-xl-2{grid-column:span 2}.sgds-col-xl-3{grid-column:span 3}.sgds-col-xl-4{grid-column:span 4}.sgds-col-xl-5{grid-column:span 5}.sgds-col-xl-6{grid-column:span 6}.sgds-col-xl-7{grid-column:span 7}.sgds-col-xl-8{grid-column:span 8}.sgds-col-xl-9{grid-column:span 9}.sgds-col-xl-10{grid-column:span 10}.sgds-col-xl-11{grid-column:span 11}.sgds-col-xl-12{grid-column:span 12}.sgds-col-xl-center-2{grid-column:6/span 2}.sgds-col-xl-center-4{grid-column:5/span 4}.sgds-col-xl-center-6{grid-column:4/span 6}.sgds-col-xl-center-8{grid-column:3/span 8}.sgds-col-xl-center-10{grid-column:2/span 10}.sgds-col-lg-none{display:revert}.sgds-col-xl-none{display:none}}@media (min-width:1440px){.sgds-container{max-width:var(--sgds-dimension-1312)}.sgds-container-sidebar{max-width:calc(100% - 96px)}.sgds-col-2-xl-1{grid-column:span 1}.sgds-col-2-xl-2{grid-column:span 2}.sgds-col-2-xl-3{grid-column:span 3}.sgds-col-2-xl-4{grid-column:span 4}.sgds-col-2-xl-5{grid-column:span 5}.sgds-col-2-xl-6{grid-column:span 6}.sgds-col-2-xl-7{grid-column:span 7}.sgds-col-2-xl-8{grid-column:span 8}.sgds-col-2-xl-9{grid-column:span 9}.sgds-col-2-xl-10{grid-column:span 10}.sgds-col-2-xl-11{grid-column:span 11}.sgds-col-2-xl-12{grid-column:span 12}.sgds-col-2-xl-center-2{grid-column:6/span 2}.sgds-col-2-xl-center-4{grid-column:5/span 4}.sgds-col-2-xl-center-6{grid-column:4/span 6}.sgds-col-2-xl-center-8{grid-column:3/span 8}.sgds-col-2-xl-center-10{grid-column:2/span 10}.sgds-col-xl-none{display:revert}.sgds-col-2-xl-none{display:none}}@media (min-width:1680px){.sgds-container-sidebar{max-width:var(--sgds-dimension-1296)}.sgds-col-3-xl-1{grid-column:span 1}.sgds-col-3-xl-2{grid-column:span 2}.sgds-col-3-xl-3{grid-column:span 3}.sgds-col-3-xl-4{grid-column:span 4}.sgds-col-3-xl-5{grid-column:span 5}.sgds-col-3-xl-6{grid-column:span 6}.sgds-col-3-xl-7{grid-column:span 7}.sgds-col-3-xl-8{grid-column:span 8}.sgds-col-3-xl-9{grid-column:span 9}.sgds-col-3-xl-10{grid-column:span 10}.sgds-col-3-xl-11{grid-column:span 11}.sgds-col-3-xl-12{grid-column:span 12}.sgds-col-3-xl-center-2{grid-column:6/span 2}.sgds-col-3-xl-center-4{grid-column:5/span 4}.sgds-col-3-xl-center-6{grid-column:4/span 6}.sgds-col-3-xl-center-8{grid-column:3/span 8}.sgds-col-3-xl-center-10{grid-column:2/span 10}.sgds-col-2-xl-none{display:revert}.sgds-col-3-xl-none{display:none}}`;class _o extends Be{constructor(){super(...arguments),this.copyrightLiner="Government of Singapore",this.contactHref="#",this.feedbackHref="#",this.faqHref="",this.sitemapHref="",this.privacyHref="#",this.termsOfUseHref="#",this.layout="default",this.tone="fixed-dark",this.hasDefaultSlot=!1,this.hasTitleSlot=!1,this.hasDescriptionSlot=!1,this.hasItemsSlot=!1,this.hasSlotController=new $i(this,"[default]","title","description","items")}_handleItemsSlotChange(e){e.target.assignedElements().forEach(e=>{e.tone=this.tone})}_handleToneChange(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector('slot[name="items"]');null==t||t.assignedElements().forEach(e=>{e.tone=this.tone})}updated(){this.hasDefaultSlot||(this.hasDefaultSlot=this.hasSlotController.test("[default]")),this.hasTitleSlot||(this.hasTitleSlot=this.hasSlotController.test("title")),this.hasDescriptionSlot||(this.hasDescriptionSlot=this.hasSlotController.test("description")),this.hasItemsSlot||(this.hasItemsSlot=this.hasSlotController.test("items"))}get _linkTone(){return"neutral"===this.tone?"neutral":"fixed-light"}render(){return ee`
|
|
881
881
|
<footer class="footer">
|
|
882
882
|
<section
|
|
883
883
|
class="${We({"footer-top":this.hasDefaultSlot||this.hasTitleSlot||this.hasDescriptionSlot||this.hasItemsSlot,"has-content":this.hasDefaultSlot||this.hasItemsSlot,"sgds-container":"default"===this.layout,"sgds-container-sidebar":"sidebar"===this.layout})}"
|
|
@@ -931,18 +931,18 @@ const xa=(e,t,s)=>{const i=new Map;for(let a=t;a<=s;a++)i.set(e[a],a);return i};
|
|
|
931
931
|
</div>
|
|
932
932
|
</section>
|
|
933
933
|
</footer>
|
|
934
|
-
`}}_o.styles=[...Be.styles,yo,wo],_o.dependencies={"sgds-link":Ti},e([
|
|
934
|
+
`}}_o.styles=[...Be.styles,yo,wo],_o.dependencies={"sgds-link":Ti},e([Ve({type:String})],_o.prototype,"copyrightLiner",void 0),e([Ve({type:String})],_o.prototype,"contactHref",void 0),e([Ve({type:String})],_o.prototype,"feedbackHref",void 0),e([Ve({type:String})],_o.prototype,"faqHref",void 0),e([Ve({type:String})],_o.prototype,"sitemapHref",void 0),e([Ve({type:String})],_o.prototype,"privacyHref",void 0),e([Ve({type:String})],_o.prototype,"termsOfUseHref",void 0),e([Ve({type:String,reflect:!0})],_o.prototype,"layout",void 0),e([Ve({type:String,reflect:!0})],_o.prototype,"tone",void 0),e([Ve({type:Boolean})],_o.prototype,"hasDefaultSlot",void 0),e([Ve({type:Boolean})],_o.prototype,"hasTitleSlot",void 0),e([Ve({type:Boolean})],_o.prototype,"hasDescriptionSlot",void 0),e([Ve({type:Boolean})],_o.prototype,"hasItemsSlot",void 0),e([ot("tone",{waitUntilFirstUpdate:!0})],_o.prototype,"_handleToneChange",null);var xo=n`.footer-item{margin-bottom:var(--sgds-margin-xs)}.footer-item,.links{display:flex;flex-direction:column;gap:var(--sgds-gap-xs)}slot[name=title]::slotted(*){--sgds-paragraph-spacing-xl:var(--sgds-margin-none);--sgds-font-weight-regular:var(--sgds-font-weight-semibold);color:var(--sgds-color-fixed-light);font-weight:var(--sgds-font-weight-regular,--sgds-font-weight-semibold);margin:var(--sgds-paragraph-spacing-xl,--sgds-margin-none)}.links{margin:0;padding:0}.links slot::slotted(a){--sgds-link-color-default:var(--sgds-color-fixed-light);color:var(--sgds-link-color-default,--sgds-fixed-light);width:fit-content}.links slot::slotted(a:focus),.links slot::slotted(a:focus-visible),slot::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-color-fixed-light);color:var(--sgds-link-color-emphasis,--sgds-color-fixed-light)}.links slot::slotted(a:focus-visible){outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}:host([tone=neutral]) slot[name=title]::slotted(*){color:var(--sgds-color-default)}:host([tone=neutral]) .links slot::slotted(a){--sgds-link-color-default:var(--sgds-color-default);color:var(--sgds-link-color-default)}:host([tone=neutral]) .links slot::slotted(a:focus),:host([tone=neutral]) .links slot::slotted(a:focus-visible),:host([tone=neutral]) .links slot::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-color-default);color:var(--sgds-link-color-emphasis)}`;class ko extends Be{constructor(){super(...arguments),this.tone="fixed-dark"}_handleToneChange(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector("slot:not([name])");null==t||t.assignedElements().forEach(e=>{"SGDS-LINK"===e.tagName&&(e.tone="neutral"===this.tone?"neutral":"fixed-light")})}_handleSlotChange(e){const t="neutral"===this.tone?"neutral":"fixed-light";e.target.assignedElements().forEach(e=>{if("SGDS-LINK"===e.tagName){const s=e;s.tone=t,s.size="sm"}})}render(){return ee`
|
|
935
935
|
<div class="footer-item">
|
|
936
936
|
<slot name="title"></slot>
|
|
937
937
|
<div class="links">
|
|
938
938
|
<slot @slotchange=${this._handleSlotChange}></slot>
|
|
939
939
|
</div>
|
|
940
940
|
</div>
|
|
941
|
-
`}}ko.styles=[...Be.styles,xo],e([
|
|
941
|
+
`}}ko.styles=[...Be.styles,xo],e([Ve({type:String,reflect:!0})],ko.prototype,"tone",void 0),e([ot("tone",{waitUntilFirstUpdate:!0})],ko.prototype,"_handleToneChange",null),lt("sgds-footer",_o),lt("sgds-footer-item",ko),lt("sgds-icon",_t),lt("sgds-icon-button",Ya);var Co=n`slot{display:flex;flex-direction:column;gap:var(--sgds-gap-xs)}slot::slotted(*){align-items:flex-start;display:flex;gap:var(--sgds-gap-xs)}.sm{font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs)}.lg{font-size:var(--sgds-font-size-label-lg);line-height:var(--sgds-line-height-md)}`;class $o extends Be{constructor(){super(...arguments),this.role="list",this.size="md"}render(){return ee`
|
|
942
942
|
<div class=${We({[this.size]:this.size})}>
|
|
943
943
|
<slot></slot>
|
|
944
944
|
</div>
|
|
945
|
-
`}}$o.styles=[...Be.styles,Co],e([
|
|
945
|
+
`}}$o.styles=[...Be.styles,Co],e([Ve({type:String,reflect:!0})],$o.prototype,"role",void 0),e([Ve({type:String,reflect:!0})],$o.prototype,"size",void 0),lt("sgds-icon-list",$o),lt("sgds-input",Qa),lt("sgds-link",Ti);
|
|
946
946
|
/**
|
|
947
947
|
* @license
|
|
948
948
|
* Copyright 2021 Google LLC
|
|
@@ -969,17 +969,17 @@ class Mo{constructor(e,t,s,i){if(this.subscribe=!1,this.provided=!1,this.value=v
|
|
|
969
969
|
* @license
|
|
970
970
|
* Copyright 2021 Google LLC
|
|
971
971
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
972
|
-
*/class
|
|
972
|
+
*/class Vo extends Event{constructor(e,t){super("context-provider",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=t}}class zo extends Zo{constructor(e,t,s){super(void 0!==t.context?t.initialValue:s),this.onContextRequest=e=>{if(e.context!==this.context)return;const t=e.contextTarget??e.composedPath()[0];t!==this.host&&(e.stopPropagation(),this.addCallback(e.callback,t,e.subscribe))},this.onProviderRequest=e=>{if(e.context!==this.context)return;if((e.contextTarget??e.composedPath()[0])===this.host)return;const t=new Set;for(const[e,{consumerHost:s}]of this.subscriptions)t.has(e)||(t.add(e),s.dispatchEvent(new So(this.context,s,e,!0)));e.stopPropagation()},this.host=e,void 0!==t.context?this.context=t.context:this.context=t,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Vo(this.context,this.host))}}
|
|
973
973
|
/**
|
|
974
974
|
* @license
|
|
975
975
|
* Copyright 2017 Google LLC
|
|
976
976
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
977
|
-
*/function
|
|
977
|
+
*/function Po({context:e}){return(t,s)=>{const i=new WeakMap;if("object"==typeof s)return{get(){return t.get.call(this)},set(e){return i.get(this).setValue(e),t.set.call(this,e)},init(t){return i.set(this,new zo(this,{context:e,initialValue:t})),t}};{t.constructor.addInitializer(t=>{i.set(t,new zo(t,{context:e}))});const a=Object.getOwnPropertyDescriptor(t,s);let o;if(void 0===a){const e=new WeakMap;o={get(){return e.get(this)},set(t){i.get(this).setValue(t),e.set(this,t)},configurable:!0,enumerable:!0}}else{const e=a.set;o={...a,set(t){i.get(this).setValue(t),e?.call(this,t)}}}return void Object.defineProperty(t,s,o)}}}
|
|
978
978
|
/**
|
|
979
979
|
* @license
|
|
980
980
|
* Copyright 2022 Google LLC
|
|
981
981
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
982
|
-
*/function
|
|
982
|
+
*/function Ao({context:e,subscribe:t}){return(s,i)=>{"object"==typeof i?i.addInitializer(function(){new Mo(this,{context:e,callback:e=>{s.set.call(this,e)},subscribe:t})}):s.constructor.addInitializer(s=>{new Mo(s,{context:e,callback:e=>{s[i]=e},subscribe:t})})}}const Lo=1024,Io=768,Do="mainnav-context",Eo="mainnav-expanded-context";var Ho=n`:host{display:block}nav{background-color:var(--sgds-surface-default);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08);position:relative;z-index:var(--sgds-z-index-floating)}.navbar{align-items:stretch;display:flex;flex-wrap:wrap;font-size:var(--sgds-font-size-label-sm);gap:var(--sgds-gap-xs);justify-content:space-between;margin:auto;max-width:var(--sgds-mainnav-max-width,1440px);min-height:80px;padding:0 var(--sgds-mainnav-mobile-padding-x);width:100%}:host([fluid]) .navbar{max-width:none}.navbar-brand{align-items:center;color:var(--sgds-color-default);display:flex;text-decoration:none;white-space:nowrap}.navbar-brand:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.navbar-nav{display:flex;flex-direction:column;height:100%;margin-bottom:0;margin-top:0;width:100%}nav>.navbar-body{background-color:var(--sgds-surface-default);border-top:var(--sgds-border-width-1) solid var(--sgds-border-color-translucent);box-shadow:0 2px 2px 0 hsla(0,0%,5%,.08);padding:var(--sgds-padding-md) 0;position:absolute;transition:transform .2s ease-in-out;width:100%;z-index:var(--sgds-z-index-floating)}nav>.navbar-body .navbar-nav{height:100dvh;margin:auto;max-width:var(--sgds-mainnav-max-width,1440px)}nav>.navbar-body slot::slotted(:not(sgds-mainnav-item):not(sgds-mainnav-dropdown)){padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x)}.navbar-collapse{align-items:center;flex-basis:100%;flex-grow:1}.navbar-toggler{align-self:center}.navbar-nav-scroll{overflow-y:auto}@media (min-width:512px){.navbar-expand-sm{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-sm .navbar-nav{flex-direction:row}.navbar-expand-sm .navbar-nav-scroll{overflow:visible}.navbar-expand-sm .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-sm .navbar-toggler{display:none}}@media (min-width:768px){.navbar-expand-md{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-md .navbar-nav{flex-direction:row}.navbar-expand-md .navbar-nav-scroll{overflow:visible}.navbar-expand-md .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-md .navbar-toggler{display:none}}@media (min-width:1024px){.navbar{padding:0 var(--sgds-mainnav-padding-x)}.navbar-expand-lg{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-lg .navbar-nav{flex-direction:row}.navbar-expand-lg .navbar-nav-scroll{overflow:visible}.navbar-expand-lg .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-lg .navbar-toggler{display:none}}@media (min-width:1280px){.navbar-expand-xl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xl .navbar-nav{flex-direction:row}.navbar-expand-xl .navbar-nav .nav-link{padding-left:var(--mainnav-nav-link-padding-x);padding-right:var(--mainnav-nav-link-padding-x)}.navbar-expand-xl .navbar-nav-scroll{overflow:visible}.navbar-expand-xl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xl .navbar-toggler{display:none}}@media (min-width:1440px){.navbar-expand-xxl{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand-xxl .navbar-nav{flex-direction:row}.navbar-expand-xxl .navbar-nav-scroll{overflow:visible}.navbar-expand-xxl .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand-xxl .navbar-toggler{display:none}}.navbar-expand{flex-wrap:nowrap;gap:var(--sgds-gap-xl);justify-content:flex-start}.navbar-expand .navbar-nav{flex-direction:row}.navbar-expand .navbar-nav-scroll{overflow:visible}.navbar-expand .navbar-collapse{display:flex!important;flex-basis:auto}.navbar-expand .navbar-toggler{display:none}slot[name=non-collapsible]{align-items:center;display:flex;gap:var(--sgds-spacer-4);margin-left:auto}slot[name=non-collapsible].non-collapsible-empty{display:none}.slot-end{align-items:stretch;display:flex;gap:var(--sgds-gap-xs);margin-left:auto}.slot-end::slotted(:not([name$=-mainnav-item]):not([name$=-mainnav-dropdown])){align-self:center}`;const Bo={sm:512,md:Io,lg:Lo,xl:1280,xxl:1440,never:1/0,always:-1};class Oo extends Be{constructor(){super(...arguments),this._breakpointReached=!1,this.expanded=!1,this.expanding=!1,this.hasNonCollapsibleSlot=!1,this.brandHref="",this.collapseId=Zi("mainnav","collapse"),this.expand="lg",this.fluid=!1,this.breakpointReached=!1,this.hasSlotController=new $i(this,"non-collapsible"),this._handleMobileNavBound=this._handleMobileNav.bind(this)}get defaultSlotItems(){return[...this.defaultNodes||[]].filter(e=>void 0!==e.tagName)}get endSlotItems(){return[...this.endNodes||[]].filter(e=>void 0!==e.tagName)}connectedCallback(){super.connectedCallback(),this._handleResize(),window.addEventListener("click",e=>this._handleClickOutOfElement(e,this.body)),window.addEventListener("resize",this._handleResize.bind(this))}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("click",e=>this._handleClickOutOfElement(e,this.body)),window.removeEventListener("resize",this._handleResize.bind(this))}firstUpdated(e){super.firstUpdated(e),this.breakpointReached&&this.body&&(this.expanded=!1,this.body.hidden=!0,this._handleMobileNav(),this._breakpointReached=!0)}updated(){this.hasNonCollapsibleSlot||(this.hasNonCollapsibleSlot=this.hasSlotController.test("non-collapsible"))}_handleClickOutOfElement(e,t){e.composedPath().includes(t)||e.composedPath().includes(this.header)||this.hide()}_handleSummaryClick(){this.expanded?this.hide():(document.body.style.overflow="hidden",this.show())}_handleResize(){const e=window.innerWidth<Bo[this.expand];e!==this.breakpointReached?this.requestUpdate():(this.body&&(this.body.hidden=!0),this.expanding=!1),e?(this._handleMobileNav(),this._breakpointReached||(this._breakpointReached=!0,window.addEventListener("scrollend",this._handleMobileNavBound))):(this._handleDesktopNav(),this._breakpointReached=!1,window.removeEventListener("scrollend",this._handleMobileNavBound))}async _handleMobileNav(){if(!this.nav)return;this.nav.appendChild(this.body),await customElements.whenDefined("sgds-masthead");const{bottom:e}=this.nav.getBoundingClientRect(),t=parseFloat(getComputedStyle(this.body).paddingTop)+parseFloat(getComputedStyle(this.body).paddingBottom);this.navScroll.style.maxHeight=`calc(100dvh - ${e}px - ${t}px)`}_handleDesktopNav(){var e;null===(e=this.navbar)||void 0===e||e.insertBefore(this.body,this.nonCollapsibleSlot)}async _animateToShow(){if(this.emit("sgds-show",{cancelable:!0}).defaultPrevented)return this.expanding=!1,void(this.expanded=!1);await Qe(this.body),this.body.hidden=!1;const{keyframes:e,options:t}=st(this,"mainnav.show");await Ge(this.body,Xe(e,this.body.scrollHeight),t),this.body.style.height="auto",this.emit("sgds-after-show")}async _animateToHide(){if(this.emit("sgds-hide",{cancelable:!0}).defaultPrevented)return this.expanding=!1,void(this.expanded=!0);await Qe(this.body);const{keyframes:e,options:t}=st(this,"mainnav.hide");await Ge(this.body,Xe(e,this.body.scrollHeight),t),this.body.hidden=!0,this.body.style.height="auto",this.emit("sgds-after-hide")}async handleOpenChange(){this.expanding?(await this._animateToShow(),this.expanded=!0):(this.header.focus(),await this._animateToHide(),this.expanded=!1)}async show(){if(!this.expanded)return this.expanding=!0,at(this,"sgds-after-show")}async hide(){if(this.expanded)return this.expanding=!1,document.body.style.removeProperty("overflow"),at(this,"sgds-after-hide")}_handleDefaultSlotChange(e){e.target.assignedElements({flatten:!0}).forEach(e=>{e.setAttribute("expand",this.expand)})}_handleSlotChange(e){e.target.assignedElements({flatten:!0}).forEach(e=>{e.setAttribute("name",e.tagName.toLowerCase()),e.setAttribute("expand",this.expand)})}render(){return this.breakpointReached=window.innerWidth<Bo[this.expand],ee`
|
|
983
983
|
<nav>
|
|
984
984
|
<div class="navbar ${this._expandClass()}">
|
|
985
985
|
<a class="navbar-brand" href=${this.brandHref} aria-label="brand-link">
|
|
@@ -1011,7 +1011,7 @@ class Mo{constructor(e,t,s,i){if(this.subscribe=!1,this.provided=!1,this.value=v
|
|
|
1011
1011
|
></sgds-icon-button>
|
|
1012
1012
|
</div>
|
|
1013
1013
|
</nav>
|
|
1014
|
-
`}_expandClass(){switch(this.expand){case"always":return"navbar-expand";case"never":break;default:return`navbar-expand-${this.expand}`}}}Oo.styles=[...Be.styles,Ho],Oo.dependencies={"sgds-icon-button":Ya},e([
|
|
1014
|
+
`}_expandClass(){switch(this.expand){case"always":return"navbar-expand";case"never":break;default:return`navbar-expand-${this.expand}`}}}Oo.styles=[...Be.styles,Ho],Oo.dependencies={"sgds-icon-button":Ya},e([Po({context:Do}),ze()],Oo.prototype,"_breakpointReached",void 0),e([Po({context:Eo}),ze()],Oo.prototype,"expanded",void 0),e([ze()],Oo.prototype,"expanding",void 0),e([Le("nav")],Oo.prototype,"nav",void 0),e([Le(".navbar")],Oo.prototype,"navbar",void 0),e([Le(".navbar-toggler")],Oo.prototype,"header",void 0),e([Le(".navbar-body")],Oo.prototype,"body",void 0),e([Le(".navbar-nav-scroll")],Oo.prototype,"navScroll",void 0),e([Le("slot[name='non-collapsible']")],Oo.prototype,"nonCollapsibleSlot",void 0),e([Ve({type:Boolean})],Oo.prototype,"hasNonCollapsibleSlot",void 0),e([Ve({type:String})],Oo.prototype,"brandHref",void 0),e([Ve({type:String})],Oo.prototype,"expand",void 0),e([Ve({type:Boolean,reflect:!0})],Oo.prototype,"fluid",void 0),e([ze()],Oo.prototype,"breakpointReached",void 0),e([De()],Oo.prototype,"defaultNodes",void 0),e([De({slot:"end"})],Oo.prototype,"endNodes",void 0),e([ot("expanding",{waitUntilFirstUpdate:!0})],Oo.prototype,"handleOpenChange",null),it("mainnav.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:200,easing:"ease-in-out"}}),it("mainnav.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:200,easing:"ease-in-out"}});var To=n`:host([expand=always]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}@media (min-width:512px){:host([expand=sm]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:768px){:host([expand=md]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1024px){:host(:not([expand])) .nav-link,:host([expand=lg]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1280px){:host([expand=xl]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}@media (min-width:1440px){:host([expand=xxl]) .nav-link{border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}}.nav-link{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--sgds-font-size-label-sm);gap:var(--sgds-gap-xs);line-height:var(--sgds-line-height-2-xs,20px);padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x);text-decoration:none}.nav-link.show,.nav-link:not(.disabled).active{border-color:var(--sgds-primary-border-color-default);color:var(--sgds-primary-color-default)}.nav-link:not(.disabled):hover{color:var(--sgds-primary-color-default)}.nav-link:not(.disabled):focus-visible{color:var(--sgds-primary-color-default);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.nav-link.disabled{cursor:not-allowed;opacity:var(--sgds-opacity-40)}.dropdown-items{background-color:var(--sgds-surface-default);height:100%;left:100%;overflow-y:auto;padding:var(--sgds-padding-md) 0;position:absolute;top:0;width:100%}.dropdown-items a{align-items:center;color:var(--sgds-color-default);cursor:pointer;display:flex;font-size:var(--sgds-font-size-label-sm);gap:var(--sgds-gap-xs);line-height:var(--sgds-line-height-2-xs,20px);margin:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x);text-decoration:none}.dropdown-items a:hover{color:var(--sgds-primary-color-default)}.dropdown-items a:focus-visible{color:var(--sgds-primary-color-default);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus);outline-offset:-5px}slot[name=toggler]::slotted(*){flex:1}sgds-dropdown{display:block;height:100%}@media screen and (min-width:1024px){.dropdown-items a,.nav-link{padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}}`;const Fo="Enter";class Ro extends Be{constructor(){super(...arguments),this._breakpointReached=!0,this.togglerId=Zi("dropdown","button"),this.active=!1,this.disabled=!1}get defaultSlotItems(){return[...this.defaultNodes||[]].filter(e=>void 0!==e.tagName)}updated(){this._breakpointReached&&(this._copyTextToMenu(),this._resetDropdownMenu(),this._hideDropdownMenuItems())}_handleSlotChange(e){e.target.assignedElements({flatten:!0}).forEach(e=>{var t;e.addEventListener("keydown",this._handleKeyboardMenuItemsEvent.bind(this));const s=e.shadowRoot.querySelector(".dropdown-item");s.classList.add("mainnav-dropdown-link");const i=(null===(t=e.shadowRoot)||void 0===t?void 0:t.querySelector("a"))||e.querySelector("a");i.tabIndex=-1,s.classList.contains("disabled")?(i.setAttribute("href","javascript:void(0)"),i.setAttribute("tabindex","-1")):i.addEventListener("click",e=>{e.target.closest("sgds-mainnav").hide()})})}_handleDesktopSlotChange(e){e.target.assignedElements({flatten:!0}).forEach(e=>{const t=e.shadowRoot.querySelector(".dropdown-item");t.classList.remove("mainnav-dropdown-link");e.shadowRoot.querySelector(".dropdown-item slot").assignedElements({flatten:!0}).forEach(e=>{t.classList.contains("disabled")&&(e.setAttribute("href","javascript:void(0)"),e.setAttribute("tabindex","-1"))})})}_handleKeyboardMenuItemsEvent(e){if(!this._breakpointReached)return;const t=this.defaultSlotItems.filter(e=>!e.hasAttribute("disabled")),s=[this.menuHeaderButton,...t],i=s.length;if(0===i)return;const a=s[0],o=s[i-1].shadowRoot.querySelector(".dropdown-item");let n=document.activeElement;if(n===this&&(n=this.shadowRoot.activeElement),"Tab"===e.key)if(e.shiftKey)n===a&&(e.preventDefault(),setTimeout(()=>{o.focus()},0));else{const t=n.shadowRoot?n.shadowRoot.querySelector(".dropdown-item"):null;t&&t===o&&(e.preventDefault(),a.focus())}}_copyTextToMenu(){this.menuHeaderText.innerHTML=this.togglerNodes[0].innerHTML}_hideDropdownMenuItems(){this.dropdownItems.style.display="none",this.dropdownItems.setAttribute("aria-hidden","true")}_resetDropdownMenu(){const e=this._getNavbarBody();return e?new Promise(t=>{const s=i=>{"transform"===i.propertyName&&(e.removeEventListener("transitionend",s),t())};getComputedStyle(e).transitionProperty.includes("transform")?(e.addEventListener("transitionend",s),e.style.removeProperty("transform")):(e.style.removeProperty("transform"),t())}):Promise.resolve()}_handleKeyboardOpen(e){this.disabled||e.key!==Fo&&" "!==e.key||(e.preventDefault(),this._openMenu())}_getNavbarBody(){const e=document.querySelector("sgds-mainnav");if(!(null==e?void 0:e.shadowRoot))return void console.warn("sgds-mainnav or its shadowRoot not found");const t=e.shadowRoot.querySelector(".navbar-body");if(t)return t;console.warn(".navbar-body not found in sgds-mainnav")}_openMenu(){this._getNavbarBody().style.transform="translateX(-100%)",this.dropdownItems.style.removeProperty("display"),this.dropdownItems.setAttribute("aria-hidden","false"),setTimeout(()=>{this.menuHeaderButton.focus()},50)}_handleHeaderKeyboardEvent(e){switch(e.key){case"Tab":this._handleKeyboardMenuItemsEvent(e);break;case Fo:case" ":e.preventDefault(),this._closeMenu()}}async _closeMenu(){await this._resetDropdownMenu(),this._hideDropdownMenuItems(),this.navLink.focus()}render(){const e=ee`
|
|
1015
1015
|
<a
|
|
1016
1016
|
class="${We({"nav-link":!0,active:this.active,disabled:this.disabled})}"
|
|
1017
1017
|
aria-disabled=${this.disabled?"true":"false"}
|
|
@@ -1048,7 +1048,7 @@ class Mo{constructor(e,t,s,i){if(this.subscribe=!1,this.provided=!1,this.value=v
|
|
|
1048
1048
|
<sgds-icon name="chevron-down" size="md"></sgds-icon>
|
|
1049
1049
|
</a>
|
|
1050
1050
|
<slot @slotchange=${this._handleDesktopSlotChange}></slot>
|
|
1051
|
-
</sgds-dropdown>`;return this._breakpointReached?e:t}}jo.styles=[...Be.styles,Li,Ai,To],jo.dependencies={"sgds-dropdown":Ii,"sgds-dropdown-item":Di,"sgds-icon":_t},e([Lo({context:Do,subscribe:!0}),Ve()],jo.prototype,"_breakpointReached",void 0),e([Lo({context:Eo,subscribe:!0}),Ve()],jo.prototype,"expanded",void 0),e([Ie(".nav-link")],jo.prototype,"navLink",void 0),e([Ie(".dropdown-items")],jo.prototype,"dropdownItems",void 0),e([Ie(".dropdown-items a")],jo.prototype,"menuHeaderButton",void 0),e([Ie(".dropdown-items span")],jo.prototype,"menuHeaderText",void 0),e([ze({type:Boolean})],jo.prototype,"active",void 0),e([ze({type:Boolean,reflect:!0})],jo.prototype,"disabled",void 0),e([ze({type:String})],jo.prototype,"ariaLabel",void 0),e([De({slot:"toggler"})],jo.prototype,"togglerNodes",void 0),e([De()],jo.prototype,"defaultNodes",void 0);var No=n`:host([expand=always]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}@media screen and (min-width:512px){:host([expand=sm]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}:host(:not([disabled])[active][expand=sm]) ::slotted(*){border-color:var(--sgds-primary-border-color-default)}}@media screen and (min-width:768px){:host([expand=md]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}:host(:not([disabled])[active][expand=md]) ::slotted(*){border-color:var(--sgds-primary-border-color-default)}}@media screen and (min-width:1024px){:host([expand=lg]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}:host(:not([disabled])[active][expand=lg]) ::slotted(*){border-color:var(--sgds-primary-border-color-default)}}@media screen and (min-width:1280px){:host([expand=xl]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}:host(:not([disabled])[active][expand=xl]) ::slotted(*){border-color:var(--sgds-primary-border-color-default)}}@media screen and (min-width:1440px){:host([expand=xxl]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}:host(:not([disabled])[active][expand=xxl]) ::slotted(*){border-color:var(--sgds-primary-border-color-default)}}@media screen and (max-width:511px){:host(:not([disabled])[active][expand=sm]) ::slotted(*){background-color:var(--sgds-bg-translucent-subtle)}}@media screen and (max-width:767px){:host(:not([disabled])[active][expand=md]) ::slotted(*){background-color:var(--sgds-bg-translucent-subtle)}}@media screen and (max-width:1023px){:host(:not([disabled])[active][expand=lg]) ::slotted(*){background-color:var(--sgds-bg-translucent-subtle)}}@media screen and (max-width:1279px){:host(:not([disabled])[active][expand=xl]) ::slotted(*){background-color:var(--sgds-bg-translucent-subtle)}}@media screen and (max-width:1439px){:host(:not([disabled])[active][expand=xxl]) ::slotted(*){background-color:var(--sgds-bg-translucent-subtle)}}::slotted(*){--sgds-link-color-default:var(--sgds-color-default);--sgds-link-color-emphasis:var(--sgds-color-default);align-items:center;box-sizing:border-box;color:var(--sgds-color-default)!important;cursor:pointer;display:flex;font-size:var(--sgds-font-size-label-sm);height:auto!important;line-height:var(--sgds-line-height-2-xs,20px);padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x);text-decoration:none!important}@media screen and (min-width:1024px){::slotted(*){padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}}:host(:not([disabled])[active]) ::slotted(*){--sgds-link-color-default:var(--sgds-primary-color-default);--sgds-link-color-emphasis:var(--sgds-primary-color-default);color:var(--sgds-primary-color-default)!important}:host(:not([disabled]):not([active])) ::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-color-default);color:var(--sgds-color-default)!important}:host(:not([disabled])[active]) ::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-primary-color-default);color:var(--sgds-primary-color-default)!important}:host([disabled]) ::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-color-default);color:var(--sgds-color-default)!important}:host(:not([disabled]):not([active])) ::slotted(a:active){color:var(--sgds-color-default)!important}:host(:not([disabled])[active]) ::slotted(a:active){color:var(--sgds-primary-color-default)!important}::slotted(a:focus-visible){--sgds-link-color-emphasis:var(--sgds-primary-color-default);color:var(--sgds-primary-color-default)!important;outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}:host([disabled]) ::slotted(*){cursor:not-allowed;opacity:var(--sgds-opacity-40)}`;class Ro extends Be{constructor(){super(...arguments),this.active=!1,this.disabled=!1}_handleDisabled(){this.setAttribute("aria-disabled",`${this.disabled}`)}_handleSlotChange(e){const t=e.target,s=t.assignedElements({flatten:!0}).filter(e=>"a"===e.tagName.toLowerCase()||"sgds-link"===e.tagName.toLowerCase());if(s.length>1)console.error("More than one anchor tag is added to sgds-mainnav-item");else{if(0===s.length){t.assignedNodes({flatten:!0}).forEach(e=>{if(e.nodeType===Node.TEXT_NODE){const t=document.createElement("a");t.textContent=e.textContent,e.parentNode.replaceChild(t,e)}})}if(1===s.length){const e=s[0];if(this.active&&e.setAttribute("aria-current","true"),this.disabled)return e.setAttribute("href","javascript:void(0)"),void e.setAttribute("tabindex","-1");e.addEventListener("click",e=>{e.target.closest("sgds-mainnav").hide()})}}}render(){return ee`<slot @slotchange=${this._handleSlotChange}></slot>`}}Ro.styles=[...Be.styles,No],e([ze({type:Boolean,reflect:!0})],Ro.prototype,"active",void 0),e([ze({type:Boolean,reflect:!0})],Ro.prototype,"disabled",void 0),e([ot("disabled")],Ro.prototype,"_handleDisabled",null),lt("sgds-mainnav",Oo),lt("sgds-mainnav-dropdown",jo),lt("sgds-mainnav-item",Ro);var Uo=n`b{font-weight:bolder}[role=button]{cursor:pointer}a{color:#0049dc;text-decoration:none!important}a[target=_blank]:after{height:var(--sgds-icon-size-sm,1rem)!important;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;width:var(--sgds-icon-size-sm,1rem)!important}a:hover{color:#0022b9}.sgds-masthead{color-scheme:var(--sgds-color-scheme,only light);font-family:Inter,system-ui,sans-serif;font-size:.875rem;line-height:1.25rem}.banner{background-color:light-dark(#f7f7f7,#1a1a1a)}.container{margin-left:auto;margin-right:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:.25rem var(--sgds-mainnav-mobile-padding-x,1.25rem);width:100%}:host([fluid]) .container{max-width:none}.sg-crest{flex-shrink:0;height:20px;width:20px}.sg-crest path{fill:#db0000}.masthead-layout{display:flex;gap:.25rem}.masthead-text-layout{align-items:center;display:flex;flex-wrap:wrap;gap:0 .75rem}.sgds-masthead-identify-icon{align-self:center;display:block;height:20px;transform:rotate(180deg);transition:transform .3s ease-in-out 0s;user-select:none;width:20px}.sgds-masthead-identify-icon.show{transform:rotate(0deg)}.sgds-masthead-button{align-items:center;color:light-dark(#0269d0,#60aaf4);cursor:pointer;display:flex;gap:4px}.sgds-masthead-button:hover{color:light-dark(#0151a0,#96c7f7)}.panel{background-color:light-dark(#f7f7f7,#1a1a1a)}.sgds-masthead .sgds-masthead-content{display:grid;grid-template-rows:0fr;opacity:0;overflow:hidden;padding-bottom:0;padding-top:0;transition:grid-template-rows .3s cubic-bezier(.25,0,.25,1),opacity .3s cubic-bezier(.25,0,.25,1),padding .3s cubic-bezier(.25,0,.25,1)}.sgds-masthead .sgds-masthead-content.show{grid-template-rows:1fr;opacity:1;padding-bottom:1rem;padding-top:1rem}.sgds-masthead .sgds-masthead-content>.content-grid{min-height:0}.content-grid{display:grid;gap:1rem;grid-template-columns:1fr}.icon{margin-top:-.1em}.wrapper{display:flex;gap:.5rem}.content{display:flex;flex-direction:column;gap:.25rem}.content .title{font-weight:600}.content article{color:light-dark(#525252,#a5a5a5)}.banner-icon,.banner-icon-inline{height:20px;width:20px}.banner-icon path,.banner-icon-inline path{fill:light-dark(#1a1a1a,#f3f3f3)}a.trusted-websites-link{color:light-dark(#0269d0,#60aaf4);text-decoration:underline;width:fit-content}a.trusted-websites-link:hover{color:light-dark(#0151a0,#96c7f7)}.sgds-masthead-button:focus-visible,a.trusted-websites-link:focus-visible{outline:4px solid #60aaf4}@media screen and (min-width:768px){.content-grid{gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}@media screen and (min-width:1024px){.container{padding:.25rem var(--sgds-mainnav-padding-x,2rem)}}`,qo=n`svg{vertical-align:middle}`;class Yo extends Be{constructor(){super(...arguments),this.fluid=!1,this.toggleVisibility=!1}_handleKeydown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this._toggleVisibility())}_toggleVisibility(){this.toggleVisibility=!this.toggleVisibility}render(){return ee`
|
|
1051
|
+
</sgds-dropdown>`;return this._breakpointReached?e:t}}Ro.styles=[...Be.styles,Ai,Pi,To],Ro.dependencies={"sgds-dropdown":Li,"sgds-dropdown-item":Di,"sgds-icon":_t},e([Ao({context:Do,subscribe:!0}),ze()],Ro.prototype,"_breakpointReached",void 0),e([Ao({context:Eo,subscribe:!0}),ze()],Ro.prototype,"expanded",void 0),e([Le(".nav-link")],Ro.prototype,"navLink",void 0),e([Le(".dropdown-items")],Ro.prototype,"dropdownItems",void 0),e([Le(".dropdown-items a")],Ro.prototype,"menuHeaderButton",void 0),e([Le(".dropdown-items span")],Ro.prototype,"menuHeaderText",void 0),e([Ve({type:Boolean})],Ro.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],Ro.prototype,"disabled",void 0),e([Ve({type:String})],Ro.prototype,"ariaLabel",void 0),e([De({slot:"toggler"})],Ro.prototype,"togglerNodes",void 0),e([De()],Ro.prototype,"defaultNodes",void 0);var No=n`:host([expand=always]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}@media screen and (min-width:512px){:host([expand=sm]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}:host(:not([disabled])[active][expand=sm]) ::slotted(*){border-color:var(--sgds-primary-border-color-default)}}@media screen and (min-width:768px){:host([expand=md]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}:host(:not([disabled])[active][expand=md]) ::slotted(*){border-color:var(--sgds-primary-border-color-default)}}@media screen and (min-width:1024px){:host([expand=lg]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}:host(:not([disabled])[active][expand=lg]) ::slotted(*){border-color:var(--sgds-primary-border-color-default)}}@media screen and (min-width:1280px){:host([expand=xl]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}:host(:not([disabled])[active][expand=xl]) ::slotted(*){border-color:var(--sgds-primary-border-color-default)}}@media screen and (min-width:1440px){:host([expand=xxl]) ::slotted(*){border-bottom:var(--sgds-border-width-4) solid transparent;min-height:100%;padding:0 var(--sgds-padding-md)}:host(:not([disabled])[active][expand=xxl]) ::slotted(*){border-color:var(--sgds-primary-border-color-default)}}@media screen and (max-width:511px){:host(:not([disabled])[active][expand=sm]) ::slotted(*){background-color:var(--sgds-bg-translucent-subtle)}}@media screen and (max-width:767px){:host(:not([disabled])[active][expand=md]) ::slotted(*){background-color:var(--sgds-bg-translucent-subtle)}}@media screen and (max-width:1023px){:host(:not([disabled])[active][expand=lg]) ::slotted(*){background-color:var(--sgds-bg-translucent-subtle)}}@media screen and (max-width:1279px){:host(:not([disabled])[active][expand=xl]) ::slotted(*){background-color:var(--sgds-bg-translucent-subtle)}}@media screen and (max-width:1439px){:host(:not([disabled])[active][expand=xxl]) ::slotted(*){background-color:var(--sgds-bg-translucent-subtle)}}::slotted(*){--sgds-link-color-default:var(--sgds-color-default);--sgds-link-color-emphasis:var(--sgds-color-default);align-items:center;box-sizing:border-box;color:var(--sgds-color-default)!important;cursor:pointer;display:flex;font-size:var(--sgds-font-size-label-sm);height:auto!important;line-height:var(--sgds-line-height-2-xs,20px);padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x);text-decoration:none!important}@media screen and (min-width:1024px){::slotted(*){padding:var(--sgds-padding-sm) var(--sgds-mainnav-padding-x)}}:host(:not([disabled])[active]) ::slotted(*){--sgds-link-color-default:var(--sgds-primary-color-default);--sgds-link-color-emphasis:var(--sgds-primary-color-default);color:var(--sgds-primary-color-default)!important}:host(:not([disabled]):not([active])) ::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-color-default);color:var(--sgds-color-default)!important}:host(:not([disabled])[active]) ::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-primary-color-default);color:var(--sgds-primary-color-default)!important}:host([disabled]) ::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-color-default);color:var(--sgds-color-default)!important}:host(:not([disabled]):not([active])) ::slotted(a:active){color:var(--sgds-color-default)!important}:host(:not([disabled])[active]) ::slotted(a:active){color:var(--sgds-primary-color-default)!important}::slotted(a:focus-visible){--sgds-link-color-emphasis:var(--sgds-primary-color-default);color:var(--sgds-primary-color-default)!important;outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}:host([disabled]) ::slotted(*){cursor:not-allowed;opacity:var(--sgds-opacity-40)}`;class jo extends Be{constructor(){super(...arguments),this.active=!1,this.disabled=!1}_handleDisabled(){this.setAttribute("aria-disabled",`${this.disabled}`)}_handleSlotChange(e){const t=e.target,s=t.assignedElements({flatten:!0}).filter(e=>"a"===e.tagName.toLowerCase()||"sgds-link"===e.tagName.toLowerCase());if(s.length>1)console.error("More than one anchor tag is added to sgds-mainnav-item");else{if(0===s.length){t.assignedNodes({flatten:!0}).forEach(e=>{if(e.nodeType===Node.TEXT_NODE){const t=document.createElement("a");t.textContent=e.textContent,e.parentNode.replaceChild(t,e)}})}if(1===s.length){const e=s[0];if(this.active&&e.setAttribute("aria-current","true"),this.disabled)return e.setAttribute("href","javascript:void(0)"),void e.setAttribute("tabindex","-1");e.addEventListener("click",e=>{e.target.closest("sgds-mainnav").hide()})}}}render(){return ee`<slot @slotchange=${this._handleSlotChange}></slot>`}}jo.styles=[...Be.styles,No],e([Ve({type:Boolean,reflect:!0})],jo.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],jo.prototype,"disabled",void 0),e([ot("disabled")],jo.prototype,"_handleDisabled",null),lt("sgds-mainnav",Oo),lt("sgds-mainnav-dropdown",Ro),lt("sgds-mainnav-item",jo);var Uo=n`b{font-weight:bolder}[role=button]{cursor:pointer}a{color:#0049dc;text-decoration:none!important}a[target=_blank]:after{height:var(--sgds-icon-size-sm,1rem)!important;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.516 2.933h.017a.4.4 0 1 1 0 .8c-.566 0-.967 0-1.28.026-.31.025-.498.073-.646.149a1.6 1.6 0 0 0-.7.699c-.075.148-.123.336-.148.645-.025.314-.026.714-.026 1.281v2.933c0 .567 0 .968.026 1.282.026.308.073.497.149.645a1.6 1.6 0 0 0 .699.699c.148.075.337.123.645.149.314.025.715.025 1.281.025h2.934c.566 0 .967 0 1.28-.025.31-.026.498-.073.646-.149a1.6 1.6 0 0 0 .7-.7c.075-.147.123-.336.148-.644.025-.314.026-.715.026-1.282a.4.4 0 0 1 .8 0v.018c0 .545 0 .979-.029 1.329-.03.358-.09.663-.233.943a2.4 2.4 0 0 1-1.049 1.049c-.28.142-.585.204-.943.233-.35.028-.784.028-1.329.028H6.516c-.545 0-.979 0-1.329-.028-.358-.03-.664-.09-.943-.233a2.4 2.4 0 0 1-1.05-1.049c-.142-.28-.203-.585-.232-.943-.029-.35-.029-.784-.029-1.33V6.517c0-.546 0-.98.029-1.33.03-.357.09-.663.233-.942a2.4 2.4 0 0 1 1.049-1.05c.28-.142.585-.203.943-.232.35-.029.784-.029 1.329-.029Zm1.75.4c0-.22.18-.4.4-.4h4c.222 0 .4.18.4.4v4a.4.4 0 0 1-.8 0V4.3L8.284 8.283a.4.4 0 0 1-.566-.566l3.984-3.984H8.667a.4.4 0 0 1-.4-.4Z' fill='%230269D0'/%3E%3C/svg%3E")!important;width:var(--sgds-icon-size-sm,1rem)!important}a:hover{color:#0022b9}.sgds-masthead{color-scheme:var(--sgds-color-scheme,only light);font-family:Inter,system-ui,sans-serif;font-size:.875rem;line-height:1.25rem}.banner{background-color:light-dark(#f7f7f7,#1a1a1a)}.container{margin-left:auto;margin-right:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding:.25rem var(--sgds-mainnav-mobile-padding-x,1.25rem);width:100%}:host([fluid]) .container{max-width:none}.sg-crest{flex-shrink:0;height:20px;width:20px}.sg-crest path{fill:#db0000}.masthead-layout{display:flex;gap:.25rem}.masthead-text-layout{align-items:center;display:flex;flex-wrap:wrap;gap:0 .75rem}.sgds-masthead-identify-icon{align-self:center;display:block;height:20px;transform:rotate(180deg);transition:transform .3s ease-in-out 0s;user-select:none;width:20px}.sgds-masthead-identify-icon.show{transform:rotate(0deg)}.sgds-masthead-button{align-items:center;color:light-dark(#0269d0,#60aaf4);cursor:pointer;display:flex;gap:4px}.sgds-masthead-button:hover{color:light-dark(#0151a0,#96c7f7)}.panel{background-color:light-dark(#f7f7f7,#1a1a1a)}.sgds-masthead .sgds-masthead-content{display:grid;grid-template-rows:0fr;opacity:0;overflow:hidden;padding-bottom:0;padding-top:0;transition:grid-template-rows .3s cubic-bezier(.25,0,.25,1),opacity .3s cubic-bezier(.25,0,.25,1),padding .3s cubic-bezier(.25,0,.25,1)}.sgds-masthead .sgds-masthead-content.show{grid-template-rows:1fr;opacity:1;padding-bottom:1rem;padding-top:1rem}.sgds-masthead .sgds-masthead-content>.content-grid{min-height:0}.content-grid{display:grid;gap:1rem;grid-template-columns:1fr}.icon{margin-top:-.1em}.wrapper{display:flex;gap:.5rem}.content{display:flex;flex-direction:column;gap:.25rem}.content .title{font-weight:600}.content article{color:light-dark(#525252,#a5a5a5)}.banner-icon,.banner-icon-inline{height:20px;width:20px}.banner-icon path,.banner-icon-inline path{fill:light-dark(#1a1a1a,#f3f3f3)}a.trusted-websites-link{color:light-dark(#0269d0,#60aaf4);text-decoration:underline;width:fit-content}a.trusted-websites-link:hover{color:light-dark(#0151a0,#96c7f7)}.sgds-masthead-button:focus-visible,a.trusted-websites-link:focus-visible{outline:4px solid #60aaf4}@media screen and (min-width:768px){.content-grid{gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}@media screen and (min-width:1024px){.container{padding:.25rem var(--sgds-mainnav-padding-x,2rem)}}`,qo=n`svg{vertical-align:middle}`;class Yo extends Be{constructor(){super(...arguments),this.fluid=!1,this.toggleVisibility=!1}_handleKeydown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this._toggleVisibility())}_toggleVisibility(){this.toggleVisibility=!this.toggleVisibility}render(){return ee`
|
|
1052
1052
|
<div id="sgds-masthead" class="sgds-masthead">
|
|
1053
1053
|
<div class="banner">
|
|
1054
1054
|
<div class="container">
|
|
@@ -1200,7 +1200,7 @@ class Mo{constructor(e,t,s,i){if(this.subscribe=!1,this.provided=!1,this.value=v
|
|
|
1200
1200
|
</div>
|
|
1201
1201
|
</div>
|
|
1202
1202
|
</div>
|
|
1203
|
-
`}}function Wo(e){const t=e.tagName.toLowerCase();return"-1"!==e.getAttribute("tabindex")&&(!e.hasAttribute("disabled")&&((!e.hasAttribute("aria-disabled")||"false"===e.getAttribute("aria-disabled"))&&(!("input"===t&&"radio"===e.getAttribute("type")&&!e.hasAttribute("checked"))&&(null!==e.offsetParent&&("hidden"!==window.getComputedStyle(e).visibility&&(!("audio"!==t&&"video"!==t||!e.hasAttribute("controls"))||(!!e.hasAttribute("tabindex")||(!(!e.hasAttribute("contenteditable")||"false"===e.getAttribute("contenteditable"))||["button","input","select","textarea","a","audio","video","summary"].includes(t)))))))))}Yo.styles=[...Be.styles,qo,$t,Uo],e([
|
|
1203
|
+
`}}function Wo(e){const t=e.tagName.toLowerCase();return"-1"!==e.getAttribute("tabindex")&&(!e.hasAttribute("disabled")&&((!e.hasAttribute("aria-disabled")||"false"===e.getAttribute("aria-disabled"))&&(!("input"===t&&"radio"===e.getAttribute("type")&&!e.hasAttribute("checked"))&&(null!==e.offsetParent&&("hidden"!==window.getComputedStyle(e).visibility&&(!("audio"!==t&&"video"!==t||!e.hasAttribute("controls"))||(!!e.hasAttribute("tabindex")||(!(!e.hasAttribute("contenteditable")||"false"===e.getAttribute("contenteditable"))||["button","input","select","textarea","a","audio","video","summary"].includes(t)))))))))}Yo.styles=[...Be.styles,qo,$t,Uo],e([Ve({type:Boolean,reflect:!0})],Yo.prototype,"fluid",void 0),e([ze()],Yo.prototype,"toggleVisibility",void 0),lt("sgds-masthead",Yo);let Ko=[];class Go{constructor(e){this.tabDirection="forward",this.element=e,this.handleFocusIn=this.handleFocusIn.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this)}activate(){Ko.push(this.element),document.addEventListener("focusin",this.handleFocusIn),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}deactivate(){Ko=Ko.filter(e=>e!==this.element),document.removeEventListener("focusin",this.handleFocusIn),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)}isActive(){return Ko[Ko.length-1]===this.element}checkFocus(){if(this.isActive()&&!this.element.matches(":focus-within")){const{start:e,end:t}=function(e){var t,s;const i=[];return function e(t){t instanceof HTMLElement&&(i.push(t),null!==t.shadowRoot&&"open"===t.shadowRoot.mode&&e(t.shadowRoot)),[...t.children].forEach(t=>e(t))}(e),{start:null!==(t=i.find(e=>Wo(e)))&&void 0!==t?t:null,end:null!==(s=i.reverse().find(e=>Wo(e)))&&void 0!==s?s:null}}(this.element),s="forward"===this.tabDirection?e:t;"function"==typeof(null==s?void 0:s.focus)&&s.focus({preventScroll:!0})}}handleFocusIn(){this.checkFocus()}handleKeyDown(e){"Tab"===e.key&&e.shiftKey&&(this.tabDirection="backward",requestAnimationFrame(()=>this.checkFocus()))}handleKeyUp(){this.tabDirection="forward"}}var Jo=n`:host(:not([size=fullscreen])) .modal-panel{background-color:var(--sgds-surface-default);max-width:var(--sgds-dimension-640);padding:var(--sgds-padding-xl)}:host([size=sm]) .modal-panel{max-width:var(--sgds-dimension-480)}:host([size=md]) .modal-panel{max-width:var(--sgds-dimension-640)}:host([size=lg]) .modal-panel{max-width:var(--sgds-dimension-800)}:host([size=xl]) .modal-panel{max-width:var(--sgds-dimension-1280)}:host([size=fullscreen]) .modal-overlay{background-color:var(--sgds-surface-default)}:host([size=fullscreen]) .modal-panel{margin:var(--sgds-margin-xl) var(--sgds-margin-lg)}.modal{align-items:start;bottom:0;display:flex;font-family:var(--sgds-body-font-family);justify-content:center;left:0;position:fixed;right:0;top:0;z-index:var(--sgds-z-index-modal)}.modal-panel{border-radius:var(--sgds-border-radius-md);display:flex;flex-direction:column;gap:var(--sgds-gap-2-xl);margin:auto;max-height:calc(100% - var(--sgds-margin-xl) - var(--sgds-margin-xl));width:100%;z-index:2}.modal-panel:focus{outline:none}.modal-content{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--sgds-gap-2-xl);min-height:0;position:relative}.modal-header__close{position:absolute;right:calc(var(--sgds-padding-md)*-1);top:calc(var(--sgds-padding-md)*-1)}@media screen and (min-width:512px){:host([size=fullscreen]) .modal-panel{margin:var(--sgds-margin-xl)}}@media screen and (min-width:768px){:host([size=fullscreen]) .modal-panel{margin:var(--sgds-margin-2-xl);max-height:calc(100% - var(--sgds-margin-2-xl) - var(--sgds-margin-2-xl))}}@media screen and (min-width:1024px){:host([size=fullscreen]) .modal-panel{margin:var(--sgds-margin-4-xl) var(--sgds-margin-lg);max-height:calc(100% - var(--sgds-margin-4-xl) - var(--sgds-margin-4-xl));max-width:var(--sgds-dimension-888)}}@media screen and (min-width:1280px){:host([size=fullscreen]) .modal-panel{max-width:var(--sgds-dimension-1168)}}@media screen and (min-width:1440px){:host([size=fullscreen]) .modal-panel{max-width:var(--sgds-dimension-1312)}}.modal.show .modal-panel{opacity:1;transform:none}.modal-header{display:flex;flex:0 0 auto;flex-direction:row;justify-content:space-between;max-width:var(--sgds-dimension-872)}.modal-header__title-description{display:flex;flex-direction:column;gap:var(--sgds-gap-sm)}:host([size=fullscreen]) .modal-header__title-description{gap:var(--sgds-gap-md)}slot[name=title]::slotted(*){align-items:center;display:flex;flex:1 1 auto;font-size:var(--sgds-font-size-heading-sm)!important;gap:1rem;line-height:var(--sgds-line-height-lg)!important;margin:var(--sgds-margin-none)!important}slot[name=description]::slotted(*){color:var(--sgds-color-subtle);line-height:var(--sgds-line-height-xs);margin:var(--sgds-margin-none)!important}.modal-body{-webkit-overflow-scrolling:touch;flex:1 1 auto;overflow:auto}.modal-body slot::slotted(*){--sgds-paragraph-spacing-xl:var(--sgds-margin-none)}.modal-footer{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:var(--sgds-gap-md);justify-content:flex-end;padding-top:var(--sgds-padding-md)}.modal:not(.has-footer) .modal-footer{display:none}.modal-overlay{background-color:var(--sgds-bg-overlay);bottom:0;left:0;position:fixed;right:0;top:0}[hidden]{display:none}`;class Xo extends Be{constructor(){super(...arguments),this.hasSlotController=new $i(this,"footer"),this.open=!1,this.noAnimation=!1,this.size="md",this.hasFooterSlot=!1,this.noCloseButton=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new Go(this),this._resizeHandler=this._debounce(this._onWindowResize.bind(this),200)}disconnectedCallback(){super.disconnectedCallback(),this._removeResizeListener(),go(this)}firstUpdated(e){super.firstUpdated(e),this._onWindowResize(),this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),uo(this))}updated(){this.hasFooterSlot||(this.hasFooterSlot=this.hasSlotController.test("footer"))}_debounce(e,t){let s;return(...i)=>{clearTimeout(s),s=window.setTimeout(()=>e(...i),t)}}_onWindowResize(){const e=this.panel.getBoundingClientRect().width,t=this.querySelectorAll("sgds-button[slot='footer']");this.panel&&(t.length<=1||(e<512||"fullscreen"===this.size&&e<Io?t.forEach(e=>{e.fullWidth=!0}):t.forEach(e=>{e.fullWidth=!1})))}_addResizeListener(){window.addEventListener("resize",this._resizeHandler)}_removeResizeListener(){window.removeEventListener("resize",this._resizeHandler)}async show(){if(!this.open)return this.open=!0,at(this,"sgds-after-show")}async hide(){if(this.open)return this.open=!1,at(this,"sgds-after-hide")}requestClose(e){if(this.emit("sgds-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){const e=st(this,"modal.denyClose");return void Ge(this.panel,e.keyframes)}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){this.open&&"Escape"===e.key&&(e.stopPropagation(),this.requestClose("keyboard"))}_overlayClickHandler(){"fullscreen"!==this.size&&this.requestClose("overlay")}async handleOpenChange(){if(this.open){this.emit("sgds-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),uo(this),await Promise.all([Qe(this.dialog),Qe(this.overlay)]),this.dialog.hidden=!1;const e=st(this,"modal.show"),t=st(this,"modal.overlay.show");!this.noAnimation&&await Promise.all([Ge(this.panel,e.keyframes,e.options),Ge(this.overlay,t.keyframes,t.options)]),this.emit("sgds-after-show"),this.heading.focus(),this._addResizeListener()}else{this.emit("sgds-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([Qe(this.dialog),Qe(this.overlay)]);const e=st(this,"modal.hide"),t=st(this,"modal.overlay.hide");!this.noAnimation&&await Promise.all([Ge(this.overlay,t.keyframes,t.options).then(()=>{this.overlay.hidden=!0}),Ge(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,go(this);const s=this.originalTrigger;"function"==typeof(null==s?void 0:s.focus)&&setTimeout(()=>s.focus()),this.emit("sgds-after-hide"),this._removeResizeListener()}}render(){return ee`
|
|
1204
1204
|
<div
|
|
1205
1205
|
class=${We({modal:!0,show:this.open,"has-footer":this.hasFooterSlot})}
|
|
1206
1206
|
>
|
|
@@ -1222,7 +1222,7 @@ class Mo{constructor(e,t,s,i){if(this.subscribe=!1,this.provided=!1,this.value=v
|
|
|
1222
1222
|
></sgds-close-button>`}
|
|
1223
1223
|
<div class="modal-header">
|
|
1224
1224
|
<div class="modal-header__title-description">
|
|
1225
|
-
<
|
|
1225
|
+
<div id="title"><slot class="modal-title" name="title"></slot></div>
|
|
1226
1226
|
<slot name="description"></slot>
|
|
1227
1227
|
</div>
|
|
1228
1228
|
</div>
|
|
@@ -1235,7 +1235,7 @@ class Mo{constructor(e,t,s,i){if(this.subscribe=!1,this.provided=!1,this.value=v
|
|
|
1235
1235
|
</div>
|
|
1236
1236
|
</div>
|
|
1237
1237
|
</div>
|
|
1238
|
-
`}}Xo.styles=[...Be.styles,Xi,qo,Jo],Xo.dependencies={"sgds-close-button":ft},e([
|
|
1238
|
+
`}}Xo.styles=[...Be.styles,Xi,qo,Jo],Xo.dependencies={"sgds-close-button":ft},e([Le(".modal")],Xo.prototype,"dialog",void 0),e([Le(".modal-panel")],Xo.prototype,"panel",void 0),e([Le(".modal-overlay")],Xo.prototype,"overlay",void 0),e([Le(".modal-title")],Xo.prototype,"heading",void 0),e([Ve({type:Boolean,reflect:!0})],Xo.prototype,"open",void 0),e([Ve({type:Boolean,reflect:!0})],Xo.prototype,"noAnimation",void 0),e([Ve({reflect:!0})],Xo.prototype,"size",void 0),e([Ve({type:Boolean})],Xo.prototype,"hasFooterSlot",void 0),e([Ve({type:Boolean,reflect:!0})],Xo.prototype,"noCloseButton",void 0),e([ot("open",{waitUntilFirstUpdate:!0})],Xo.prototype,"handleOpenChange",null),it("modal.show",{keyframes:[{opacity:0,transform:"scale(1) translate(0, -100%)"},{opacity:1,transform:"scale(1) translate(0, 0%)"}],options:{duration:400,easing:"ease"}}),it("modal.hide",{keyframes:[{opacity:1,transform:"scale(1) translate(0, 0)"},{opacity:0,transform:"scale(1) translate(0, -100%)"}],options:{duration:400,easing:"ease"}}),it("modal.denyClose",{keyframes:[{transform:"scale(1)"},{transform:"scale(1.02)"},{transform:"scale(1)"}],options:{duration:400}}),it("modal.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:400}}),it("modal.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:400}}),lt("sgds-modal",Xo),lt("sgds-overflow-menu",Ei);var Qo=n`ul{margin-bottom:1rem;margin-top:0;padding-left:2rem}svg{vertical-align:middle}.pagination{display:inline-flex;gap:var(--sgds-gap-2-xs);list-style:none;padding-left:0}.page-link{align-items:center;background-color:var(--sgds-bg-transparent);border-radius:var(--sgds-border-radius-md);display:flex;height:var(--sgds-dimension-48);justify-content:center;width:var(--sgds-dimension-48)}.page-link:not(.ellipsis):focus-visible,.page-link:not(.ellipsis):hover{background-color:var(--sgds-primary-surface-translucent);color:var(--sgds-primary-color-default)}.page-link:not(.ellipsis):focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.page-item>.page-link:not(.ellipsis){cursor:pointer}.page-item.active .page-link{background-color:var(--sgds-primary-surface-default);color:var(--sgds-color-fixed-light)}.ellipsis-disabled,.page-item.disabled .page-link{opacity:var(--sgds-opacity-40)}.ellipsis-disabled{cursor:not-allowed;pointer-events:none}.pagination-sm .page-link{font-size:var(--sgds-font-size-label-sm);height:var(--sgds-dimension-40);width:var(--sgds-dimension-40)}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pagination-description{align-items:center;display:flex}.pagination-sm .pagination-description{font-size:var(--sgds-font-size-label-sm)}`;class en extends Be{constructor(){super(...arguments),this.dataLength=0,this.currentPage=1,this.itemsPerPage=5,this.variant="default",this.navigation="icon-button",this.size="md",this._limit=4,this.ellipsisContent=ee`
|
|
1239
1239
|
<span aria-hidden="true">…</span>
|
|
1240
1240
|
<span class="sr-only" role="text">Ellipsis</span>
|
|
1241
1241
|
`,this._renderFirstEllipsis=()=>this.pages.length<=7||!(this.pages.length!==this._limit&&this.currentPage>4)?null:ee`
|
|
@@ -1330,13 +1330,13 @@ class Mo{constructor(e,t,s,i){if(this.subscribe=!1,this.provided=!1,this.value=v
|
|
|
1330
1330
|
${"button"===this.variant?this._renderButtonPagination():ie}
|
|
1331
1331
|
</div>
|
|
1332
1332
|
</nav>
|
|
1333
|
-
`}}en.styles=[...Be.styles,Qo],en.dependencies={"sgds-icon-button":Ya,"sgds-button":Yi,"sgds-icon":_t},e([
|
|
1333
|
+
`}}en.styles=[...Be.styles,Qo],en.dependencies={"sgds-icon-button":Ya,"sgds-button":Yi,"sgds-icon":_t},e([Ve({type:Number})],en.prototype,"dataLength",void 0),e([Ve({type:Number})],en.prototype,"currentPage",void 0),e([Ve({type:Number})],en.prototype,"itemsPerPage",void 0),e([Ve({type:String})],en.prototype,"variant",void 0),e([Ve({type:String})],en.prototype,"navigation",void 0),e([Ve({type:String})],en.prototype,"size",void 0),e([ze()],en.prototype,"_limit",void 0),e([ot("currentPage",{waitUntilFirstUpdate:!1})],en.prototype,"_handleValueChange",null),lt("sgds-pagination",en);
|
|
1334
1334
|
/**
|
|
1335
1335
|
* @license
|
|
1336
1336
|
* Copyright 2018 Google LLC
|
|
1337
1337
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1338
1338
|
*/
|
|
1339
|
-
const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(super(e),e.type!==
|
|
1339
|
+
const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(super(e),e.type!==Re||"style"!==e.name||e.strings?.length>2)throw new Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,s)=>{const i=e[s];return null==i?t:t+`${s=s.includes("-")?s:s.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(e,[t]){const{style:s}=e.element;if(void 0===this._previousStyleProperties)return this._previousStyleProperties=new Set(Object.keys(t)),this.render(t);for(const e of this._previousStyleProperties)null==t[e]&&(this._previousStyleProperties.delete(e),e.includes("-")?s.removeProperty(e):s[e]=null);for(const e in t){const i=t[e];if(null!=i){this._previousStyleProperties.add(e);const t="string"==typeof i&&i.endsWith(sn);e.includes("-")||t?s.setProperty(e,t?i.slice(0,-11):i,t?tn:""):s[e]=i}}return se}});var on=n`progress{vertical-align:baseline}.progress-container{display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs);overflow:hidden}.progress{background-color:var(--sgds-bg-translucent)}.progress-bar{background-color:var(--sgds-primary-surface-default);display:flex;flex-direction:column;height:var(--sgds-dimension-4);justify-content:center;overflow:hidden;transition:width .6s ease}:host([variant=neutral]) .progress-bar{background-color:var(--sgds-neutral-surface-default)}.label{color:var(--sgds-color-subtle);font-size:var(--sgds-font-size-label-sm);white-space:nowrap}`;class nn extends Be{constructor(){super(...arguments),this.variant="primary",this.ariaLabel="",this.arialabel="",this.label=""}render(){var e,t;return ee`
|
|
1340
1340
|
<div class="progress-container">
|
|
1341
1341
|
<div class="progress">
|
|
1342
1342
|
<div
|
|
@@ -1351,7 +1351,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1351
1351
|
</div>
|
|
1352
1352
|
${this.label?ee`<span class="label">${this.label}</span>`:ie}
|
|
1353
1353
|
</div>
|
|
1354
|
-
`}}nn.styles=[...Be.styles,on],e([
|
|
1354
|
+
`}}nn.styles=[...Be.styles,on],e([Ve({type:String,reflect:!0})],nn.prototype,"variant",void 0),e([Ve({type:Number,reflect:!0})],nn.prototype,"value",void 0),e([Ve({type:Number,reflect:!0})],nn.prototype,"ariamin",void 0),e([Ve({type:Number,reflect:!0})],nn.prototype,"ariamax",void 0),e([Ve({type:String,reflect:!0})],nn.prototype,"ariaLabel",void 0),e([Ve({type:String,reflect:!0})],nn.prototype,"arialabel",void 0),e([Ve({type:String,reflect:!0})],nn.prototype,"label",void 0),lt("sgds-progress-bar",nn);var rn=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 ln extends(da(fa)){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 _handleChange(){const e=await this._sgdsInput;(parseInt(e.value)<this.step||""===e.value)&&(e.value="0"),this.value=parseInt(e.value),this._mixinSetFormValue(),this._mixinShouldSkipSgdsValidation()||(this._mixinValidate(e.input),this.invalid=!this._mixinReportValidity())}async _handleInputChange(){const e=await this._sgdsInput;if(this._mixinShouldSkipSgdsValidation())return(parseInt(e.value)<this.step||""===e.value)&&(e.value="0"),this.value=parseInt(e.value),void this._mixinSetFormValue();this.invalid=!1,(parseInt(e.value)<this.step||""===e.value)&&(e.value="0"),this.value=parseInt(e.value),this._mixinSetFormValue(),this._mixinValidate(e.input)}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?gt` <div class="invalid-feedback-container">
|
|
1355
1355
|
<slot name="invalidIcon">
|
|
1356
1356
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
1357
1357
|
<path
|
|
@@ -1419,7 +1419,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1419
1419
|
<div id="${this._controlId}-announcer" aria-live="assertive" class="visually-hidden">${this.value}</div>
|
|
1420
1420
|
${this._renderFeedback()}
|
|
1421
1421
|
</div>
|
|
1422
|
-
`}}ln.styles=[...fa.styles,ma,qo,na,rn],ln.dependencies={"sgds-input":Qa,"sgds-icon-button":Ya},e([
|
|
1422
|
+
`}}ln.styles=[...fa.styles,ma,qo,na,rn],ln.dependencies={"sgds-input":Qa,"sgds-icon-button":Ya},e([Le("sgds-icon-button[ariaLabel^='increase by']")],ln.prototype,"plusBtn",void 0),e([Le("sgds-icon-button[ariaLabel^='decrease by']")],ln.prototype,"minusBtn",void 0),e([Ve({type:Number,reflect:!0})],ln.prototype,"value",void 0),e([Ve({type:Number})],ln.prototype,"step",void 0),e([Ve({type:Number})],ln.prototype,"min",void 0),e([Ve({type:Number})],ln.prototype,"max",void 0),e([Ve({type:String,reflect:!0})],ln.prototype,"hasFeedback",void 0),e([Ve({type:String,reflect:!0})],ln.prototype,"invalidFeedback",void 0),e([Ve({type:Boolean,reflect:!0})],ln.prototype,"noValidate",void 0),e([Ve({type:Boolean,reflect:!0})],ln.prototype,"readonly",void 0),e([ra()],ln.prototype,"defaultValue",void 0),e([Ie("sgds-input")],ln.prototype,"_sgdsInput",void 0),lt("sgds-quantity-toggle",ln);var dn=n`:host{outline:0}.form-check-input[type=radio]{border-radius:50%}.form-check-input[checked]{--sgds-radio-bg-image:url('data:image/svg+xml;charset=utf-8,<svg width="8" height="8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 4a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z" fill="%23fff"/></svg>')}.form-check-input[checked].is-invalid{background-color:var(--sgds-form-danger-surface-default)}`;class cn extends Be{constructor(){super(...arguments),this.checked=!1,this.disabled=!1,this.invalid=!1,this.autofocus=!1,this.radioId=Zi("radio")}connectedCallback(){super.connectedCallback(),this.setInitialAttributes(),this.addEventListeners()}handleCheckedChange(){var e;this.checked&&this.autofocus&&(null===(e=this.input)||void 0===e||e.focus()),this.setAttribute("tabindex",this.checked?"0":"-1")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleBlur(){this.emit("sgds-blur")}handleClick(){this.disabled||(this.checked=!0)}handleFocus(){this.emit("sgds-focus")}addEventListeners(){this.addEventListener("blur",()=>this.handleBlur()),this.addEventListener("click",()=>this.handleClick()),this.addEventListener("focus",()=>this.handleFocus())}setInitialAttributes(){this.setAttribute("tabindex","-1"),this.setAttribute("aria-disabled",this.disabled?"true":"false")}render(){return ee`
|
|
1423
1423
|
<div class="form-check">
|
|
1424
1424
|
<input
|
|
1425
1425
|
class=${We({"form-check-input":!0,"is-invalid":this.invalid})}
|
|
@@ -1436,7 +1436,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1436
1436
|
<slot></slot>
|
|
1437
1437
|
</label>
|
|
1438
1438
|
</div>
|
|
1439
|
-
`}}cn.styles=[...Be.styles,wa,va,dn],e([
|
|
1439
|
+
`}}cn.styles=[...Be.styles,wa,va,dn],e([Ve({type:Boolean,reflect:!0})],cn.prototype,"checked",void 0),e([Ve()],cn.prototype,"value",void 0),e([Ve({type:Boolean,reflect:!0})],cn.prototype,"disabled",void 0),e([Ve({type:Boolean,reflect:!0})],cn.prototype,"invalid",void 0),e([Ve({type:Boolean,reflect:!1})],cn.prototype,"autofocus",void 0),e([Le("input")],cn.prototype,"input",void 0),e([ot("checked")],cn.prototype,"handleCheckedChange",null),e([ot("disabled",{waitUntilFirstUpdate:!0})],cn.prototype,"handleDisabledChange",null);var hn=n`fieldset{border:0;gap:var(--sgds-form-gap-md);margin:0;min-width:0;padding:0}.label-hint-container,fieldset{display:flex;flex-direction:column}.label-hint-container{gap:var(--sgds-form-gap-sm)}.radio-group-validation-input{display:none}.radio-container{display:flex;flex-direction:column;gap:var(--sgds-form-gap-md)}:host([disabled]) .label-hint-container{cursor:not-allowed;opacity:var(--sgds-opacity-40)}`;class pn extends(da(fa)){constructor(){super(...arguments),this.defaultValue="",this.value="",this.invalidFeedback="",this.hasFeedback=!1,this.required=!1,this.noValidate=!1,this.autofocus=!1,this._isTouched=!1}_handleValueChange(){this._updateCheckedRadio()}_handleInvalidChange(){this._radios.forEach(e=>e.invalid=this.invalid)}_mixinResetFormControl(){this.value=this.input.value=this.defaultValue,this._updateInputValue("reset"),this._mixinResetValidity(this.input)}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value,this.addEventListener("sgds-blur",()=>{this._isTouched=!0})}firstUpdated(e){super.firstUpdated(e);const t=this._radios;t.forEach((e,s)=>{if(t.length>1)switch(s){case 0:e.setAttribute("first-of-type","");break;case t.length-1:e.setAttribute("last-of-type","");break;default:e.setAttribute("nth-of-type","")}}),this.value&&this._updateInputValue("change")}_handleRadioClick(e){e.preventDefault();const t=e.target;if(t.disabled)return;this.value=t.value,this.emit("sgds-change",{detail:{value:this.value}}),this._updateInputValue();this._radios.forEach(e=>e.checked=e===t)}_updateInputValue(e="change"){this.input.value=this.value,this.input.dispatchEvent(new InputEvent(e))}_handleKeyDown(e){var t;if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(e.key))return;const s=this._radios.filter(e=>!e.disabled),i=null!==(t=s.find(e=>e.checked))&&void 0!==t?t:s[0],a=" "===e.key?0:["ArrowUp","ArrowLeft"].includes(e.key)?-1:1;let o=s.indexOf(i)+a;o<0&&(o=s.length-1),o>s.length-1&&(o=0),this._radios.forEach(e=>{e.checked=!1,e.tabIndex=-1}),this.value=s[o].value,this.emit("sgds-change",{detail:{value:this.value}}),this._updateInputValue(),s[o].checked=!0,s[o].tabIndex=0,e.preventDefault()}_handleSlotChange(){const e=this._radios;e.forEach(e=>(e.autofocus=this.autofocus,e.checked=e.value===this.value,e)),this._disabledChildRadios(),e.some(e=>e.checked)||e[0]&&(e[0].tabIndex=0)}_updateCheckedRadio(){this._radios.forEach(e=>e.checked=e.value===this.value)}_renderHintText(){const e=ee` <div id="${this._controlId}Help" class="form-text">${this.hintText}</div> `;return this.hintText&&e}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}_handleIsTouched(){this._mixinShouldSkipSgdsValidation()||this._isTouched&&(this.invalid=!this.input.checkValidity())}_handleDisabledChange(){this.setInvalid(!1),this._disabledChildRadios()}_disabledChildRadios(){if(this.disabled){this._radios.forEach(e=>e.disabled=this.disabled)}}render(){const e=ee`
|
|
1440
1440
|
<slot
|
|
1441
1441
|
class="radio-container"
|
|
1442
1442
|
@click=${this._handleRadioClick}
|
|
@@ -1480,13 +1480,13 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1480
1480
|
</div>
|
|
1481
1481
|
`:ie}
|
|
1482
1482
|
</fieldset>
|
|
1483
|
-
`}}pn.styles=[...fa.styles,hn],e([
|
|
1483
|
+
`}}pn.styles=[...fa.styles,hn],e([Le("slot:not([name])")],pn.prototype,"defaultSlot",void 0),e([ze()],pn.prototype,"defaultValue",void 0),e([Ve({reflect:!0})],pn.prototype,"value",void 0),e([Ve({type:String,reflect:!0})],pn.prototype,"invalidFeedback",void 0),e([Ve({type:Boolean,reflect:!0})],pn.prototype,"hasFeedback",void 0),e([Ve({type:Boolean,reflect:!0})],pn.prototype,"required",void 0),e([Ve({type:Boolean,reflect:!0})],pn.prototype,"noValidate",void 0),e([Ve({type:Boolean,reflect:!0})],pn.prototype,"autofocus",void 0),e([ot("value",{waitUntilFirstUpdate:!0})],pn.prototype,"_handleValueChange",null),e([ot("invalid",{waitUntilFirstUpdate:!0})],pn.prototype,"_handleInvalidChange",null),e([ze()],pn.prototype,"_isTouched",void 0),e([De()],pn.prototype,"_radios",void 0),e([ot("_isTouched",{waitUntilFirstUpdate:!0})],pn.prototype,"_handleIsTouched",null),e([ot("disabled",{waitUntilFirstUpdate:!0})],pn.prototype,"_handleDisabledChange",null),lt("sgds-radio",cn),lt("sgds-radio-group",pn);var un=n`:host{--sidenav-sticky-top:0rem}.sticky{height:calc(100vh - var(--sidenav-sticky-top));overflow-y:visible;position:sticky;top:var(--sidenav-sticky-top)}`;class gn extends Be{constructor(){super(...arguments),this.sticky=!1}get items(){return[...this.defaultNodes||[]].filter(e=>void 0!==e.tagName)}async onToggle(e){const t="SGDS-SIDENAV-LINK"===e.target.tagName;if(e.defaultPrevented||t)return;this.items}render(){return ee`
|
|
1484
1484
|
<nav class=${We({sticky:this.sticky})}>
|
|
1485
1485
|
<div>
|
|
1486
1486
|
<slot @click=${this.onToggle}></slot>
|
|
1487
1487
|
</div>
|
|
1488
1488
|
</nav>
|
|
1489
|
-
`}}gn.styles=[...Be.styles,un],e([
|
|
1489
|
+
`}}gn.styles=[...Be.styles,un],e([Ve({type:Boolean,attribute:!0})],gn.prototype,"sticky",void 0),e([De()],gn.prototype,"defaultNodes",void 0);var vn=n`:host([class^=second-level]) .sidenav-btn{font-weight:var(--sgds-font-weight-regular);padding-left:var(--sgds-padding-3-xl)}button{all:unset}.sidenav-btn{background:0;border:0;border-radius:var(--sgds-border-radius-md);display:flex;font-size:var(--sgds-font-size-label-md);font-weight:var(--sgds-font-weight-semibold);gap:var(--sgds-gap-xs);line-height:var(--sgds-line-height-xs);padding:var(--sgds-padding-sm) var(--sgds-padding-sm) var(--sgds-padding-sm) calc(var(--sgds-padding-sm) + var(--sgds-padding-2-xs));text-align:initial;width:100%;.caret-icon,slot[name=caret-icon]::slotted(*){margin-bottom:auto;margin-left:auto;transform:rotate(180deg);transition:all .3s ease-in-out}}.sidenav-btn:hover:not(.disabled){background-color:var(--sgds-bg-translucent-subtle)}.sidenav-btn.active{color:var(--sgds-color-default)}.sidenav-btn.disabled{opacity:var(--sgds-opacity-40);pointer-events:none}.sidenav-btn:not(.active){.caret-icon,slot[name=caret-icon]::slotted(*){transform:rotate(0deg)}}.sidenav-btn:focus-visible:not(.disabled){background-color:var(--sgds-bg-translucent-subtle)}.sidenav-btn:focus-visible:not(.disabled){outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.no-menu-default::slotted(a){background:0;border:0;border-radius:var(--sgds-border-radius-md);color:inherit!important;display:flex;font-size:var(--sgds-font-size-label-md);font-weight:var(--sgds-font-weight-semibold)!important;gap:var(--sgds-gap-xs);line-height:var(--sgds-line-height-xs)!important;padding:var(--sgds-padding-sm) var(--sgds-padding-sm) var(--sgds-padding-sm) calc(var(--sgds-padding-sm) + var(--sgds-padding-2-xs));text-decoration:none!important}.no-menu-default::slotted(a:focus-visible){background-color:var(--sgds-bg-translucent-subtle)}.no-menu-default::slotted(a:focus-visible){outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}:host([class^=first-level][active]) .no-menu-default::slotted(a){background-color:var(--sgds-primary-surface-translucent);color:var(--sgds-primary-color-emphasis)!important}:host([class^=first-level][disabled]) .no-menu-default::slotted(a){opacity:var(--sgds-opacity-40);pointer-events:none}`;class mn extends Be{constructor(){super(...arguments),this.active=!1,this.disabled=!1,this.isLink=!1,this._collapseId=Zi("sidenav","collapse"),this._buttonId=Zi("sidenav","button"),this._levelId=Zi("sidenav","this"),this._firstLevelId="first-level-"+this._levelId,this._secondLevelId="second-level-"+this._levelId,this._thirdLevelId="third-level-"+this._levelId,this.index="-1"}_onToggle(){this.emit("sgds-toggle",{detail:{index:this.index}})}async show(){if(!this.isLink&&!this.active)return this.active=!0,at(this,"sgds-after-show")}async hide(){if(!this.isLink&&this.active)return this.active=!1,at(this,"sgds-after-hide")}connectedCallback(){super.connectedCallback(),this.classList.add(this._firstLevelId)}firstUpdated(e){super.firstUpdated(e),this.isLink||(this.body.hidden=!this.active,this.body.style.height=this.active?"auto":"0"),this._handleOpenMenu()}_handleOpenMenu(){this.active||(this.active=this._items.some(e=>e.active))}_handleSummaryClick(){this.active?this.hide():this.show(),this._onToggle(),this.header.focus()}_handleSummaryKeyDown(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.active?this.hide():this.show()),"ArrowUp"!==e.key&&"ArrowLeft"!==e.key||(e.preventDefault(),this.hide()),"ArrowDown"!==e.key&&"ArrowRight"!==e.key||(e.preventDefault(),this.show())}async _handleOpenChange(){if(!this.isLink)if(this.active){if(this.emit("sgds-show",{cancelable:!0}).defaultPrevented)return void(this.active=!1);await Qe(this.body),this.body.hidden=!1;const{keyframes:e,options:t}=st(this,"sidenav.show");await Ge(this.body,Xe(e,this.body.scrollHeight),t),this.body.style.height="auto",this.emit("sgds-after-show")}else{if(this.emit("sgds-hide",{cancelable:!0}).defaultPrevented)return void(this.active=!0);await Qe(this.body);const{keyframes:e,options:t}=st(this,"sidenav.hide");await Ge(this.body,Xe(e,this.body.scrollHeight),t),this.body.hidden=!0,this.body.style.height="auto",this.emit("sgds-after-hide")}}_handleSlotChange(e){const t=e.target.assignedElements({flatten:!0}).filter(e=>"a"===e.tagName.toLowerCase());if(t.length>1)return console.error("More than one anchor tag is added to sgds-sidenav-item");if(1===t.length){const e=t[0];return this.disabled&&e.setAttribute("tabindex","-1"),this.active&&e.setAttribute("aria-current","true"),this.isLink=!0}e.target.assignedElements({flatten:!0}).filter(e=>"sgds-sidenav-item"===e.tagName.toLowerCase()).forEach(e=>{const t=Array.from(e.classList).filter(e=>e.startsWith("first-level"))[0];e.classList.replace(t,this._secondLevelId)}),Array.from(this.classList).some(e=>e.startsWith("second-level"))&&this._items.forEach(e=>e.classList.add(this._thirdLevelId)),this._handleOpenMenu()}render(){const e=ee`
|
|
1490
1490
|
<button
|
|
1491
1491
|
@click=${this._handleSummaryClick}
|
|
1492
1492
|
@keydown=${this._handleSummaryKeyDown}
|
|
@@ -1512,7 +1512,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1512
1512
|
</div>
|
|
1513
1513
|
`,t=ee` <slot @slotchange=${this._handleSlotChange} class="no-menu-default"></slot> `;return ee`
|
|
1514
1514
|
<div class="sidenav-item" aria-haspopup="${!this.isLink}">${this.isLink?t:e}</div>
|
|
1515
|
-
`}}mn.styles=[...Be.styles,vn],mn.dependencies={"sgds-icon":_t},e([
|
|
1515
|
+
`}}mn.styles=[...Be.styles,vn],mn.dependencies={"sgds-icon":_t},e([Le(".sidenav-body")],mn.prototype,"body",void 0),e([Le(".sidenav-btn")],mn.prototype,"header",void 0),e([Ve({type:Boolean,reflect:!0})],mn.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],mn.prototype,"disabled",void 0),e([Ve({type:String})],mn.prototype,"ariaLabel",void 0),e([ze()],mn.prototype,"isLink",void 0),e([ot("active",{waitUntilFirstUpdate:!0})],mn.prototype,"_handleOpenChange",null),e([De()],mn.prototype,"_items",void 0),it("sidenav.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:200,easing:"ease-in-out"}}),it("sidenav.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:200,easing:"ease-in-out"}});var fn=n`:host([class^=third-level]) ::slotted(a){padding-left:calc(var(--sgds-padding-xl) + var(--sgds-padding-3-xl))}::slotted(a){--sgds-link-color-default:var(--sgds-color-default);border-radius:var(--sgds-border-radius-md);color:var(--sgds-color-default,var(--sgds-link-color-default));display:block;padding:var(--sgds-padding-sm) var(--sgds-padding-sm) var(--sgds-padding-sm) var(--sgds-padding-3-xl);text-decoration:none!important}:host([active]) ::slotted(a){--sgds-link-color-default:var(--sgds-primary-color-emphasis);background-color:var(--sgds-primary-surface-translucent);color:var(--sgds-primary-color-emphasis,var(--sgds-link-color-default))}:host(:not([disabled]):not([active])) ::slotted(a:hover){background-color:var(--sgds-bg-translucent-subtle)}::slotted(a:focus),::slotted(a:focus-visible),::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-color-default);color:var(--sgds-color-default,var(--sgds-link-color-emphasis))}:host([active]) ::slotted(a:focus),:host([active]) ::slotted(a:focus-visible),:host([active]) ::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-primary-color-emphasis);color:var(--sgds-primary-color-emphasis,var(--sgds-link-color-emphasis))}:host([disabled]) ::slotted(a){opacity:var(--sgds-opacity-40);pointer-events:none}:host([disabled]) ::slotted(a:focus-visible){outline:0}::slotted(a:focus-visible){background-color:var(--sgds-bg-translucent-subtle)}::slotted(a:focus-visible){outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}:host([active]) ::slotted(a:focus-visible){background-color:var(--sgds-primary-bg-translucent)}`;class bn extends Be{constructor(){super(...arguments),this.active=!1,this.disabled=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-disabled",`${this.disabled}`)}_handleDisabled(){this.setAttribute("aria-disabled",`${this.disabled}`),this._anchor[0].setAttribute("aria-disabled",`${this.disabled}`),this.disabled||this._anchor[0].removeAttribute("tabindex")}_handleSlotChange(){this._anchor[0].setAttribute("aria-disabled",`${this.disabled}`),this.disabled&&(this._anchor[0].setAttribute("tabindex","-1"),this._anchor[0].removeAttribute("href"),this._anchor[0].setAttribute("role","link"))}render(){return ee` <slot @slotchange=${this._handleSlotChange}></slot> `}}bn.styles=[...Be.styles,fn],e([Ve({type:Boolean,reflect:!0})],bn.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],bn.prototype,"disabled",void 0),e([De({flatten:!0})],bn.prototype,"_anchor",void 0),e([ot("disabled",{waitUntilFirstUpdate:!0})],bn.prototype,"_handleDisabled",null),lt("sgds-sidenav",gn),lt("sgds-sidenav-item",mn),lt("sgds-sidenav-link",bn);var wn=n`.skeleton{--bg:var(--sgds-bg-translucent-subtle);background-color:var(--bg);border-radius:var(--sgds-border-radius-sm);display:flex;flex-direction:column;gap:var(--sgds-gap-xs);max-width:100%}.skeleton.skeleton-paragraph{background-color:transparent}.skeleton.skeleton-paragraph.auto-size-rows>div[class*=skeleton-row]{background-color:var(--sgds-bg-translucent);border-radius:var(--sgds-border-radius-sm);height:-webkit-fill-available}.sheen{--sheen-color:var(--sgds-bg-translucent);animation:sheen 8s ease-in-out infinite;background:linear-gradient(270deg,var(--bg) 0,var(--sheen-color) 33.33%,var(--sheen-color) 66.67%,var(--bg) 100%);background-size:400% 100%}@keyframes sheen{0%{background-position:200% 0}to{background-position:-200% 0}}`;class yn extends Be{constructor(){super(...arguments),this.width="",this.height="",this.borderRadius="",this.sheen=!1}render(){const e={width:this.width||void 0,height:this.height||void 0,borderRadius:this.borderRadius||void 0};return ee`
|
|
1516
1516
|
<div
|
|
1517
1517
|
class=${We({skeleton:!0,"skeleton-paragraph":this.rows>0,"auto-size-rows":this.rows>0,sheen:this.sheen&&!this.rows})}
|
|
1518
1518
|
style=${Object.entries(e).filter(([e,t])=>t).map(([e,t])=>`${e.replace(/([A-Z])/g,"-$1").toLowerCase()}: ${t}`).join("; ")}
|
|
@@ -1522,7 +1522,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1522
1522
|
style=${this.borderRadius?`border-radius: ${this.borderRadius}`:ie}
|
|
1523
1523
|
></div>`}):ie}
|
|
1524
1524
|
</div>
|
|
1525
|
-
`}}yn.styles=[wn],e([
|
|
1525
|
+
`}}yn.styles=[wn],e([Le(".skeleton")],yn.prototype,"skeleton",void 0),e([Ve({type:String,reflect:!0})],yn.prototype,"width",void 0),e([Ve({type:String,reflect:!0})],yn.prototype,"height",void 0),e([Ve({type:String,reflect:!0})],yn.prototype,"borderRadius",void 0),e([Ve({type:Number,reflect:!0})],yn.prototype,"rows",void 0),e([Ve({type:Boolean,reflect:!0})],yn.prototype,"sheen",void 0),lt("sgds-skeleton",yn),lt("sgds-spinner",$a);var _n=n`.stepper{display:flex;flex-wrap:wrap}.stepper.vertical{flex-direction:column}.stepper.horizontal .stepper-item-container{align-items:center;display:flex;flex-basis:1em;flex-direction:column;flex-grow:1;flex-shrink:1;position:relative}.stepper.vertical .stepper-item-container{position:relative;width:fit-content}.stepper .stepper-item{align-items:center;display:flex;flex-direction:column;gap:var(--sgds-gap-sm)}.stepper.vertical .stepper-item{align-items:flex-start;flex-direction:row}.stepper.vertical .stepper-item-container:not(:last-child) .stepper-item{margin-bottom:var(--sgds-padding-xl)}.stepper .stepper-item.is-clickable:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.stepper.horizontal .stepper-item-container:not(:first-of-type) .stepper-item:before{background:var(--sgds-border-color-translucent);bottom:0;content:" ";height:var(--sgds-dimension-2);left:calc(-50% + 16px);position:absolute;top:15px;width:calc(100% - var(--sgds-dimension-32))}.stepper.vertical .stepper-item-container:not(:last-child) .stepper-item:after{background:var(--sgds-bg-translucent);bottom:0;content:" ";height:calc(100% - var(--sgds-dimension-32));left:15px;position:absolute;top:32px;width:var(--sgds-dimension-2)}.stepper.horizontal .stepper-item-container .stepper-item.is-active:before,.stepper.horizontal .stepper-item-container .stepper-item.is-completed:before,.stepper.vertical .stepper-item-container .stepper-item.is-completed:after{background:var(--sgds-primary-border-color-default)}.stepper .stepper-item.is-clickable{cursor:pointer}.stepper .stepper-marker{align-items:center;background:var(--sgds-bg-translucent);border:var(--sgds-border-width-2) solid var(--sgds-border-color-transparent);border-radius:50%;color:var(--sgds-color-default);display:flex;height:var(--sgds-dimension-32);justify-content:center;width:var(--sgds-dimension-32);z-index:1}.stepper:not(.vertical) .stepper-detail{max-width:var(--sgds-dimension-128);text-align:center}.stepper.vertical .stepper-detail{padding:var(--sgds-padding-2-xs) 0 0;text-align:left}.stepper .stepper-item:not(.is-active):not(.is-completed) .stepper-detail{color:var(--sgds-color-subtle)}.stepper .stepper-item.is-clickable:focus .stepper-marker,.stepper .stepper-item.is-clickable:focus-visible .stepper-marker,.stepper .stepper-item.is-clickable:hover .stepper-marker{background-color:var(--sgds-primary-surface-emphasis);border-color:var(--sgds-border-color-transparent);color:var(--sgds-color-fixed-light)}.stepper .stepper-item.is-clickable:focus .stepper-detail,.stepper .stepper-item.is-clickable:focus-visible .stepper-detail,.stepper .stepper-item.is-clickable:hover .stepper-detail{color:var(--sgds-primary-color-emphasis)}.stepper .stepper-item.is-clickable .stepper-detail,.stepper.clickable .stepper-item.is-active .stepper-detail{color:var(--sgds-primary-color-default)}.stepper .stepper-item.is-active .stepper-marker{background-color:var(--sgds-primary-surface-default);color:var(--sgds-color-fixed-light)}.stepper .stepper-item.is-completed .stepper-marker{background-color:var(--sgds-bg-transparent);border:var(--sgds-border-width-2) solid var(--sgds-primary-border-color-default);color:var(--sgds-primary-color-default)}`;class xn extends Be{constructor(){super(...arguments),this.steps=[],this.activeStep=0,this.orientation="horizontal",this.clickable=!1,this.linear=!1,this.defaultActiveStep=0,this._items=[],this._totalSteps=0,this._boundHandleItemClick=this._handleStepClick.bind(this),this.hasDefaultSlot=!1,this.hasSlotController=new $i(this,"[default]")}connectedCallback(){super.connectedCallback(),this._totalSteps=this.steps.length,this.addEventListener("i-sgds-click",this._boundHandleItemClick)}_handleSlotChange(){this._items=this._slotNodes,this._totalSteps=this._items.length,this._updateStepItems()}updated(){this.hasDefaultSlot||(this.hasDefaultSlot=this.hasSlotController.test("[default]"))}_updateStepItems(){this._items&&this._items.length>0&&this._items.forEach((e,t)=>{e.stepIndex=t,e.active=this.activeStep===t,e.completed=e.completed||this.activeStep>t,e.clickable=this.linear?!e.disabled&&this.clickable&&(this.activeStep-1==t||this.activeStep+1==t):!e.disabled&&this.clickable,e.orientation=this.orientation,this._items.length>1&&(e.isFirstOfType=0===t,e.classList.toggle("last",t===this._items.length-1))})}getComponent(e=this.activeStep){var t,s;const i=this.hasDefaultSlot?this._items:this.steps;return i&&i.length>0?null===(t=i[e])||void 0===t?void 0:t.component:null===(s=this.steps[e])||void 0===s?void 0:s.component}nextStep(){var e;this.emit("sgds-next-step"),this.activeStep<this._totalSteps-1&&((null===(e=this._slotNodes[this.activeStep+1])||void 0===e?void 0:e.disabled)||this.activeStep++)}previousStep(){var e;this.emit("sgds-previous-step"),this.activeStep>0&&((null===(e=this._slotNodes[this.activeStep-1])||void 0===e?void 0:e.disabled)||this.activeStep--)}lastStep(){this.emit("sgds-last-step"),this.activeStep!==this._totalSteps-1&&(this.activeStep=this._totalSteps-1)}firstStep(){this.emit("sgds-first-step"),this.activeStep>0&&(this.activeStep=0)}reset(){this.emit("sgds-reset"),this.activeStep=this.defaultActiveStep}_onStepperItemClick(e){this.activeStep=e}_handleActiveStepChange(){this._updateStepItems(),this.emit("sgds-arrived")}_handleClickableChange(){this._updateStepItems()}_handleOrientationChange(){this._updateStepItems()}_handleKeyDown(e,t){"Enter"===e.key&&this._onStepperItemClick(t)}_handleStepClick(e){var t;const s=e;e.stopPropagation();const i=null===(t=s.detail)||void 0===t?void 0:t.stepIndex;this._onStepperItemClick(i)}render(){return ee`
|
|
1526
1526
|
<div
|
|
1527
1527
|
class="stepper ${We({[`${this.orientation}`]:this.orientation,clickable:this.clickable})}"
|
|
1528
1528
|
>
|
|
@@ -1546,7 +1546,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1546
1546
|
</div>
|
|
1547
1547
|
`)}
|
|
1548
1548
|
</div>
|
|
1549
|
-
`}}xn.styles=[...Be.styles,_n],xn.dependencies={"sgds-icon":_t},e([
|
|
1549
|
+
`}}xn.styles=[...Be.styles,_n],xn.dependencies={"sgds-icon":_t},e([Ve({type:Array})],xn.prototype,"steps",void 0),e([Ve({type:Number,reflect:!0})],xn.prototype,"activeStep",void 0),e([Ve({type:String,reflect:!0})],xn.prototype,"orientation",void 0),e([Ve({type:Boolean,reflect:!0})],xn.prototype,"clickable",void 0),e([Ve({type:Boolean,reflect:!0})],xn.prototype,"linear",void 0),e([ra("activeStep")],xn.prototype,"defaultActiveStep",void 0),e([De()],xn.prototype,"_slotNodes",void 0),e([Ve({type:Boolean})],xn.prototype,"hasDefaultSlot",void 0),e([ot("activeStep",{waitUntilFirstUpdate:!0})],xn.prototype,"_handleActiveStepChange",null),e([ot("clickable",{waitUntilFirstUpdate:!0})],xn.prototype,"_handleClickableChange",null),e([ot("orientation",{waitUntilFirstUpdate:!0})],xn.prototype,"_handleOrientationChange",null);var kn=n`:host{display:contents}.stepper-item-container{flex-basis:1em;flex-grow:1;flex-shrink:1;position:relative;width:fit-content}.stepper-item,.stepper-item-container{align-items:center;display:flex;flex-direction:column}.stepper-item{gap:var(--sgds-gap-sm)}.stepper-item.vertical{align-items:flex-start;flex-direction:row;margin-bottom:var(--sgds-padding-xl)}.stepper-item.clickable:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.stepper-item:not(.first):not(.vertical):before{background:var(--sgds-border-color-translucent);content:" ";height:var(--sgds-dimension-2);left:calc(-50% + 16px);position:absolute;top:15px;width:calc(100% - var(--sgds-dimension-32))}:host(:not(.last)) .stepper-item-container .stepper-item.vertical:after{background:var(--sgds-bg-translucent);content:" ";height:calc(100% - var(--sgds-dimension-32));left:15px;position:absolute;top:32px;width:var(--sgds-dimension-2)}.stepper-item-container .stepper-item.active:not(.first):before,.stepper-item-container .stepper-item.completed:not(.first):before,:host(:not(.last)) .stepper-item-container .stepper-item.completed:after{background:var(--sgds-primary-border-color-default)}.stepper-item.clickable{cursor:pointer}.stepper-marker{align-items:center;background:var(--sgds-bg-translucent);border:var(--sgds-border-width-2) solid var(--sgds-border-color-transparent);border-radius:50%;color:var(--sgds-color-default);display:flex;flex-shrink:0;height:var(--sgds-dimension-32);justify-content:center;width:var(--sgds-dimension-32);z-index:1}.stepper-detail{display:flex;flex-direction:column;gap:var(--sgds-gap-2-xs);max-width:var(--sgds-dimension-128);text-align:center}.stepper-item.vertical .stepper-detail{max-width:unset;padding:var(--sgds-padding-2-xs) 0 0;text-align:left}.stepper-item:not(.active):not(.completed) .stepper-label{color:var(--sgds-color-subtle)}.stepper-item.clickable:focus .stepper-marker,.stepper-item.clickable:focus-visible .stepper-marker,.stepper-item.clickable:hover .stepper-marker{background-color:var(--sgds-primary-surface-emphasis);border-color:var(--sgds-border-color-transparent);color:var(--sgds-color-fixed-light)}.stepper-item.clickable:focus .stepper-label,.stepper-item.clickable:focus-visible .stepper-label,.stepper-item.clickable:hover .stepper-label{color:var(--sgds-primary-color-emphasis)}.stepper-item.clickable .stepper-label{color:var(--sgds-primary-color-default)}.stepper-item.completed .stepper-marker{background-color:var(--sgds-bg-transparent);border:var(--sgds-border-width-2) solid var(--sgds-primary-border-color-default);color:var(--sgds-primary-color-default)}.stepper-item.active .stepper-marker{background-color:var(--sgds-primary-surface-default);color:var(--sgds-color-fixed-light)}.stepper-slot{color:var(--sgds-color-subtle);display:flex;flex-direction:column;font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular);gap:var(--sgds-gap-xs);letter-spacing:var(--sgds-letter-spacing-normal);line-height:var(--sgds-line-height-2-xs)}.stepper-item.disabled{opacity:var(--sgds-opacity-40)}`;class Cn extends Be{constructor(){super(...arguments),this.stepHeader="",this.clickable=!1,this.active=!1,this.disabled=!1,this.completed=!1,this.stepIndex=0,this.orientation="horizontal",this.isFirstOfType=!1}render(){const e=!this.disabled&&this.clickable;return ee`
|
|
1550
1550
|
<div class="stepper-item-container">
|
|
1551
1551
|
<div
|
|
1552
1552
|
class="stepper-item ${We({first:this.isFirstOfType,active:this.active,completed:this.completed,clickable:this.clickable,vertical:"vertical"===this.orientation,disabled:this.disabled})}"
|
|
@@ -1566,7 +1566,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1566
1566
|
</div>
|
|
1567
1567
|
</div>
|
|
1568
1568
|
</div>
|
|
1569
|
-
`}_handleClick(e){if(e){if(e.target.hasAttribute("data-clickable"))return}this.emit("i-sgds-click",{detail:{stepIndex:this.stepIndex}})}_handleKeyDown(e){"Enter"===e.key&&this._handleClick()}}Cn.styles=[...Be.styles,kn],Cn.dependencies={"sgds-icon":_t},e([
|
|
1569
|
+
`}_handleClick(e){if(e){if(e.target.hasAttribute("data-clickable"))return}this.emit("i-sgds-click",{detail:{stepIndex:this.stepIndex}})}_handleKeyDown(e){"Enter"===e.key&&this._handleClick()}}Cn.styles=[...Be.styles,kn],Cn.dependencies={"sgds-icon":_t},e([Ve({type:String,reflect:!0})],Cn.prototype,"stepHeader",void 0),e([Ve({type:String,reflect:!0})],Cn.prototype,"iconName",void 0),e([Ve({type:Object})],Cn.prototype,"component",void 0),e([Ve({type:Boolean})],Cn.prototype,"clickable",void 0),e([Ve({type:Boolean,reflect:!0})],Cn.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],Cn.prototype,"disabled",void 0),e([Ve({type:Boolean,reflect:!0})],Cn.prototype,"completed",void 0),e([Ve({type:Number})],Cn.prototype,"stepIndex",void 0),e([Ve({type:String})],Cn.prototype,"orientation",void 0),e([Ve({type:Boolean})],Cn.prototype,"isFirstOfType",void 0),lt("sgds-stepper",xn),lt("sgds-step",Cn);var $n=n`input{margin:0}.form-check{align-items:center;display:flex;gap:var(--sgds-form-gap-lg)}.form-check-input{--sgds-switch-width:var(--sgds-form-width-xl);--sgds-switch-height:var(--sgds-form-height-md);--sgds-switch-bg-image:url('data:image/svg+xml;charset=utf-8,<svg viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M.5 12c0-6.627 5.373-12 12-12s12 5.373 12 12-5.373 12-12 12-12-5.373-12-12Z" fill="%23fff"/></svg>');appearance:none;background-color:var(--sgds-form-surface-subtle);background-image:var(--sgds-switch-bg-image);background-position:left var(--sgds-form-padding-inline-sm) center;background-repeat:no-repeat;background-size:var(--sgds-form-width-xs) var(--sgds-form-height-sm);border:var(--sgds-form-border-width-default) solid var(--sgds-border-color-transparent);border-radius:var(--sgds-form-border-radius-full);flex-shrink:0;height:var(--sgds-switch-height);padding:0 var(--sgds-form-padding-inline-sm);transition:background-position .15s ease-in-out;width:var(--sgds-switch-width)}.form-check-input:focus,.form-check-input:focus-visible{background-color:var(--sgds-form-surface-emphasis)}.form-check-input:focus-visible{background-color:var(--sgds-form-surface-emphasis);outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus);outline-offset:0}.form-check-input:not([disabled]):hover{background-color:var(--sgds-form-surface-emphasis)}.form-check-input[checked]{background-color:var(--sgds-form-primary-surface-default);background-position:right var(--sgds-form-padding-inline-sm) center}.form-check-input:not([disabled])[checked]:focus-visible,.form-check-input:not([disabled])[checked]:hover{background-color:var(--sgds-form-primary-surface-emphasis)}:host([disabled]) .form-check{cursor:not-allowed;opacity:var(--sgds-opacity-40)}:host([size=sm]) .form-check{font-size:var(--sgds-font-size-label-sm)}:host([size=sm]) .form-check-input{--sgds-switch-width:var(--sgds-form-width-md);--sgds-switch-height:var(--sgds-form-height-sm);background-size:var(--sgds-form-width-2-xs) var(--sgds-form-height-2-xs)}:host([size=lg]) .form-check{font-size:var(--sgds-font-size-label-lg)}:host([size=lg]) .form-check-input{--sgds-switch-width:var(--sgds-form-width-3-xl);--sgds-switch-height:var(--sgds-form-height-lg);background-size:var(--sgds-form-width-sm) var(--sgds-form-height-md)}:host([icon]) .form-check-input[checked]{--sgds-switch-bg-image:url('data:image/svg+xml;charset=utf-8,<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16 32c8.837 0 16-7.163 16-16S24.837 0 16 0 0 7.163 0 16s7.163 16 16 16Zm8.94-21.778a.776.776 0 0 0-.424-.424.781.781 0 0 0-.854.17L13.261 20.372l-4.924-4.925a.783.783 0 1 0-1.108 1.108l5.478 5.478a.777.777 0 0 0 .692.217.787.787 0 0 0 .416-.217L24.77 11.076a.777.777 0 0 0 .17-.854Z" fill="%23fff"/></svg>')}:host([icon]) .form-check-input{--sgds-switch-bg-image:url('data:image/svg+xml;charset=utf-8,<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16 32c8.837 0 16-7.163 16-16S24.837 0 16 0 0 7.163 0 16s7.163 16 16 16ZM10.164 9.416a.75.75 0 0 0-.53 1.28L14.937 16l-5.303 5.303a.75.75 0 0 0 1.06 1.061l5.304-5.303 5.303 5.303a.75.75 0 1 0 1.06-1.06L17.06 16l5.303-5.303a.75.75 0 0 0-1.06-1.061l-5.304 5.304-5.303-5.304a.75.75 0 0 0-.53-.22Z" fill="%23fff"/></svg>')}.d-none{display:none}`;class Sn extends Be{constructor(){super(...arguments),this.size="md",this.icon=!1,this.checked=!1,this.disabled=!1,this.hasDefaultSlot=!1,this.hasLeftLabelSlot=!1,this.defaultChecked=!1,this.hasSlotController=new $i(this,"[default]","leftLabel"),this._inputId=Zi("switch")}updated(){this.hasDefaultSlot||(this.hasDefaultSlot=this.hasSlotController.test("[default]")),this.hasLeftLabelSlot||(this.hasLeftLabelSlot=this.hasSlotController.test("leftLabel"))}click(){this.input.click()}focus(e){this.input.focus(e)}blur(){this.input.blur()}_handleChange(){this.checked=!this.checked,this.emit("sgds-change",{detail:{checked:this.checked}})}_handleKeyDown(e){const t=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;"Enter"!==e.key||t||this.click()}_handleDisabledChange(){this.input.disabled=this.disabled}render(){const e=!this.hasDefaultSlot&&!this.hasLeftLabelSlot;return ee`
|
|
1570
1570
|
<div class="form-check">
|
|
1571
1571
|
<label
|
|
1572
1572
|
for="${this._inputId}"
|
|
@@ -1592,7 +1592,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1592
1592
|
<slot></slot>
|
|
1593
1593
|
</label>
|
|
1594
1594
|
</div>
|
|
1595
|
-
`}}Sn.styles=[...Be.styles,va,$n],e([
|
|
1595
|
+
`}}Sn.styles=[...Be.styles,va,$n],e([Ve({reflect:!0,type:String})],Sn.prototype,"size",void 0),e([Ve({reflect:!0,type:Boolean})],Sn.prototype,"icon",void 0),e([Ve({type:Boolean,reflect:!0})],Sn.prototype,"checked",void 0),e([Ve({type:Boolean,reflect:!0})],Sn.prototype,"disabled",void 0),e([Ve({type:Boolean})],Sn.prototype,"hasDefaultSlot",void 0),e([Ve({type:Boolean})],Sn.prototype,"hasLeftLabelSlot",void 0),e([ra("checked")],Sn.prototype,"defaultChecked",void 0),e([Le('input[type="checkbox"]')],Sn.prototype,"input",void 0),e([ot("disabled",{waitUntilFirstUpdate:!0})],Sn.prototype,"_handleDisabledChange",null),lt("sgds-switch",Sn);var Mn=n`.banner-wrapper{display:block;width:100%}.banner,.banner-wrapper{background-color:var(--sgds-surface-fixed-dark)}.banner{align-items:center;color:var(--sgds-color-fixed-light);display:flex;flex-direction:row;gap:var(--sgds-gap-xl);min-height:var(--sgds-dimension-64);padding:var(--sgds-padding-sm) var(--sgds-mainnav-mobile-padding-x);position:relative}.content{flex:1;overflow:hidden;width:100%}::slotted(sgds-system-banner-item){display:none;flex:0 0 100%;opacity:0}::slotted(sgds-system-banner-item[active]){display:block;opacity:1}.pagination{align-items:center;bottom:12px;display:flex;font-size:var(--sgds-font-size-label-xs);font-weight:var(--sgds-font-weight-regular,400);gap:var(--sgds-gap-2-xs);letter-spacing:var(--sgds-letter-spacing-normal,0);line-height:var(--sgds-line-height-3-xs);position:absolute;right:20px}.d-none{display:none}sgds-close-button{position:absolute;right:20px;top:10px}@media (min-width:1024px){.pagination,sgds-close-button{position:static}.banner{margin:auto;max-width:var(--sgds-mainnav-max-width,1440px);padding-left:var(--sgds-mainnav-padding-x);padding-right:var(--sgds-mainnav-padding-x)}:host([fluid]) .banner{max-width:none}}`;const Zn="no-clamp-action-context",Vn="system-banner-children-count-context";class zn extends Be{constructor(){super(...arguments),this.show=!1,this.dismissible=!1,this.noClampAction=!1,this.fluid=!1,this._intervalId=null,this._intervalTime=5e3,this._currentIndex=0}close(){this.show=!1}firstUpdated(e){super.firstUpdated(e),this.childCount=this.bannerItem.length,this.show?(this.childCount>1&&this._startAutoCycle(),this.addEventListener("mouseenter",this._pauseAutoCycle.bind(this)),this.addEventListener("mouseleave",this._resumeAutoCycle.bind(this)),this.addEventListener("focus",this._pauseAutoCycle.bind(this)),this.addEventListener("blur",this._resumeAutoCycle.bind(this))):this.banner.classList.add("d-none"),this._updateActiveItem(),this.childCount>5&&console.warn("It is not recommended to have more than 5 <sgds-system-banner-item> elements.")}disconnectedCallback(){super.disconnectedCallback(),this._stopAutoCycle()}async _handleShowChange(){this.show?(this.childCount>1&&this._startAutoCycle(),this.emit("sgds-show"),this.banner.classList.remove("d-none")):(this._stopAutoCycle(),this.emit("sgds-hide"),this.banner.classList.add("d-none"))}_updateActiveItem(){this.bannerItem.forEach((e,t)=>{t===this._currentIndex?e.setAttribute("active",""):e.removeAttribute("active")})}_next(){const e=this.bannerItem;this._currentIndex=(this._currentIndex+1)%e.length,this._updateActiveItem(),this._animateItem(e[this._currentIndex],"next"),this._resetAutoCycle()}_prev(){const e=this.bannerItem;this._currentIndex=(this._currentIndex-1+e.length)%e.length,this._updateActiveItem(),this._animateItem(e[this._currentIndex],"prev"),this._resetAutoCycle()}async _animateItem(e,t){e.getAnimations().forEach(e=>e.cancel());const s=st(this,`banner.item.${t}`);await Ge(e,s.keyframes,s.options)}_startAutoCycle(){this._stopAutoCycle(),this._intervalId=setInterval(()=>this._next(),this._intervalTime)}_stopAutoCycle(){this._intervalId&&(clearInterval(this._intervalId),this._intervalId=null)}_resetAutoCycle(){this._stopAutoCycle(),this._startAutoCycle()}_pauseAutoCycle(){this._stopAutoCycle()}_resumeAutoCycle(){this.show&&this.childCount>1&&this._startAutoCycle()}render(){return ee`
|
|
1596
1596
|
<div class="banner-wrapper">
|
|
1597
1597
|
<div
|
|
1598
1598
|
class="${We({banner:!0})}"
|
|
@@ -1628,7 +1628,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1628
1628
|
`:ie}
|
|
1629
1629
|
</div>
|
|
1630
1630
|
</div>
|
|
1631
|
-
`}}
|
|
1631
|
+
`}}zn.styles=[...Be.styles,Mn],zn.dependencies={"sgds-close-button":ft,"sgds-icon":_t,"sgds-icon-button":Ya},e([Ve({type:Boolean,reflect:!0})],zn.prototype,"show",void 0),e([Ve({type:Boolean,reflect:!0})],zn.prototype,"dismissible",void 0),e([Po({context:Zn}),Ve({type:Boolean})],zn.prototype,"noClampAction",void 0),e([Ve({type:Boolean,reflect:!0})],zn.prototype,"fluid",void 0),e([De({flatten:!0})],zn.prototype,"bannerItem",void 0),e([Le(".banner")],zn.prototype,"banner",void 0),e([Po({context:Vn}),ze()],zn.prototype,"childCount",void 0),e([ze()],zn.prototype,"_intervalId",void 0),e([ze()],zn.prototype,"_currentIndex",void 0),e([ot("show",{waitUntilFirstUpdate:!0})],zn.prototype,"_handleShowChange",null),it("banner.item.next",{keyframes:[{opacity:0,transform:"translateY(-100%)"},{opacity:1,transform:"translateY(0)"}],options:{duration:500,easing:"cubic-bezier(0.45,0.05,0.55,0.95)"}}),it("banner.item.prev",{keyframes:[{opacity:0,transform:"translateY(100%)"},{opacity:1,transform:"translateY(0)"}],options:{duration:500,easing:"cubic-bezier(0.45,0.05,0.55,0.95)"}});var Pn=n`:host{display:block;font-size:var(--sgds-font-size-label-sm);font-style:normal;font-weight:var(--sgds-font-weight-regular,400);letter-spacing:var(--sgds-letter-spacing-normal,0);line-height:var(--sgds-line-height-2-xs);width:inherit}::slotted(:not(sgds-icon)){color:var(--sgds-color-fixed-light)!important;font-size:var(--sgds-font-size-label-sm)!important;line-height:var(--sgds-line-height-2-xs)!important}.banner-item{color:var(--sgds-color-fixed-light);display:flex;gap:var(--sgds-gap-sm);padding:var(--sgds-padding-2-xs) 0}.message{line-clamp:5;-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;max-height:calc(var(--sgds-line-height-2-xs)*5);overflow:hidden;word-break:break-word}.message.truncated:after{background-color:var(--sgds-surface-fixed-dark);bottom:0;content:"";height:var(--sgds-line-height-2-xs);position:absolute;right:0;text-align:right;width:10ch}.clamped-container{display:inline-block;margin-right:var(--sgds-margin-2-xl);max-width:var(--sgds-dimension-872);position:relative}.show-more{bottom:0;position:absolute;right:0;white-space:nowrap}.show-more__link{cursor:pointer;text-decoration:underline}.action{align-items:center;display:flex;gap:var(--sgds-gap-2-xs,4px);margin-top:6px;min-height:var(--sgds-line-height-20);white-space:nowrap}slot[name=action]::slotted(a){color:var(--sgds-color-fixed-light)!important;font-size:var(--sgds-font-size-label-sm)!important;text-decoration:none!important}.banner-item__message_and__action{display:flex;flex:1 0 0;flex-direction:column;gap:var(--sgds-gap-xs)}@media (min-width:1024px){.banner-item__message_and__action{align-items:center;flex-direction:row;gap:var(--sgds-gap-sm)}.action{margin-left:auto;margin-top:0}.message{line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;max-height:calc(var(--sgds-line-height-2-xs)*2)}::slotted(sgds-icon){align-self:center}}`;class An extends Be{constructor(){super(...arguments),this.hasActionSlot=!1,this.noClampAction=!1,this.clamped=!1,this.siblingsCount=0,this.hasSlotController=new $i(this,"action","icon","badge")}async firstUpdated(e){super.firstUpdated(e),await this.updateComplete,this._clampCheck(),this._resizeObserver=new ResizeObserver(()=>this._clampCheck()),this._resizeObserver.observe(this.shadowRoot.querySelector(".message"))}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver&&this._resizeObserver.disconnect()}updated(){this.hasActionSlot||(this.hasActionSlot=this.hasSlotController.test("action")),this.hasSlotController.test("icon")&&this.hasSlotController.test("badge")&&console.error("Both icon and badge slot are used in the same banner item. This is not recommended as it may cause layout issues.")}_clampCheck(){const e=this.shadowRoot.querySelector(".message");requestAnimationFrame(()=>{this.clamped=e.scrollHeight>e.clientHeight})}_handleShowMoreClick(){this.emit("sgds-show-more")}render(){return ee`
|
|
1632
1632
|
<div class="banner-item">
|
|
1633
1633
|
<slot name="icon"></slot>
|
|
1634
1634
|
<div class="banner-item__message_and__action">
|
|
@@ -1648,7 +1648,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1648
1648
|
`:ie}
|
|
1649
1649
|
</div>
|
|
1650
1650
|
</div>
|
|
1651
|
-
`}}
|
|
1651
|
+
`}}An.styles=[...Be.styles,Pn],e([Ve({type:Boolean})],An.prototype,"hasActionSlot",void 0),e([Ao({context:Zn,subscribe:!0}),Ve({type:Boolean})],An.prototype,"noClampAction",void 0),e([ze()],An.prototype,"clamped",void 0),e([Ao({context:Vn,subscribe:!0}),ze()],An.prototype,"siblingsCount",void 0),customElements.define("sgds-system-banner",zn),customElements.define("sgds-system-banner-item",An);var Ln=n`:host([density=compact]) .tab{font-size:var(--sgds-font-size-label-sm);padding:var(--sgds-spacer-3) var(--sgds-spacer-5)}:host(:not([active])) .tab{cursor:pointer}:host([variant=solid]) .tab{background-color:var(--sgds-bg-translucent-subtle);border-radius:var(--sgds-border-radius-md)}:host([variant=solid][active]) .tab{background-color:var(--sgds-primary-surface-default);color:var(--sgds-color-fixed-light)}:host([variant=solid]:not([active]):not([disabled])) .tab:focus,:host([variant=solid]:not([active]):not([disabled])) .tab:focus-visible{background-color:var(--sgds-bg-translucent)}:host([variant=solid]:not([active]):not([disabled])) .tab:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}:host([variant=solid]:not([active]):not([disabled])) .tab:hover{background-color:var(--sgds-bg-translucent)}:host([disabled]) .tab{cursor:not-allowed;opacity:var(--sgds-opacity-40)}:host([variant=underlined][active]) .tab{color:var(--sgds-primary-color-default)}:host([variant=underlined]:not([active]):not([disabled])) .tab:focus,:host([variant=underlined]:not([active]):not([disabled])) .tab:focus-visible{background-color:var(--sgds-bg-translucent-subtle);outline:0}:host([variant=underlined]:not([active]):not([disabled])) .tab:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}:host([variant=underlined]:not([active]):not([disabled])) .tab:hover{background-color:var(--sgds-bg-translucent-subtle)}:host([fullWidth][orientation=horizontal]) .tab{justify-content:center}.tab{align-items:center;color:var(--sgds-color-default);display:flex;gap:var(--sgds-spacer-3);padding:var(--sgds-spacer-4) var(--sgds-spacer-5);position:relative}.tab:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}`;let In=0;class Dn extends Be{constructor(){super(...arguments),this.attrId=++In,this.componentId=`sgds-tab-${this.attrId}`,this.panel="",this.active=!1,this.disabled=!1,this.ariaLabel=""}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tab")}focus(e){var t,s;null===(s=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(".tab"))||void 0===s||s.focus(e)}blur(){this.tab.blur()}handleActiveChange(){this.setAttribute("aria-selected",this.active?"true":"false")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.disabled&&(this.active=!1)}render(){return ee`
|
|
1652
1652
|
<div
|
|
1653
1653
|
data-testid="inner-tab"
|
|
1654
1654
|
tabindex=${this.disabled?"-1":"0"}
|
|
@@ -1658,7 +1658,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1658
1658
|
<slot name="icon"></slot>
|
|
1659
1659
|
<slot></slot>
|
|
1660
1660
|
</div>
|
|
1661
|
-
`}}Dn.styles=[
|
|
1661
|
+
`}}Dn.styles=[Ln],e([Le(".tab")],Dn.prototype,"tab",void 0),e([Ve({reflect:!0})],Dn.prototype,"panel",void 0),e([Ve({type:Boolean,reflect:!0})],Dn.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],Dn.prototype,"disabled",void 0),e([Ve({type:String})],Dn.prototype,"ariaLabel",void 0),e([ot("active")],Dn.prototype,"handleActiveChange",null),e([ot("disabled")],Dn.prototype,"handleDisabledChange",null);var En=n`.tab-group{display:flex;flex-direction:column;gap:var(--sgds-gap-xl)}.tab-group__nav{display:flex;flex-direction:row}.tab-group__content{flex:1}:host([orientation=vertical]) .tab-group{flex-direction:row}:host([orientation=vertical]) .tab-group__nav{flex-direction:column}:host([variant=solid]) .tab-group__nav{gap:var(--sgds-gap-xs)}:host([variant=underlined][orientation=horizontal]) .tab-group__nav{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);display:flex;flex-direction:row;position:relative}:host([variant=underlined][orientation=vertical]) .tab-group__nav{border-right:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);position:relative}:host([variant=underlined][orientation=horizontal]) .tab-group__indicator{background-color:var(--sgds-primary-surface-default);bottom:-1px;height:var(--sgds-border-width-4);position:absolute;transition:left .3s cubic-bezier(.25,0,.25,1),width .3s cubic-bezier(.25,0,.25,1)}:host([variant=underlined][orientation=vertical]) .tab-group__indicator{background-color:var(--sgds-primary-surface-default);position:absolute;right:-1px;transition:top .3s cubic-bezier(.25,0,.25,1),height .3s cubic-bezier(.25,0,.25,1);width:var(--sgds-border-width-4)}:host([variant=solid]) .tab-group__indicator{display:none}:host([fullWidth][orientation=horizontal]) slot[name=nav]::slotted(sgds-tab){width:100%}`;class Hn extends Be{constructor(){super(...arguments),this._indicatorAnimating=!1,this._tabs=[],this._panels=[],this.variant="underlined",this.orientation="horizontal",this.density="default",this.fullWidth=!1}connectedCallback(){const e=Promise.all([customElements.whenDefined("sgds-tab"),customElements.whenDefined("sgds-tab-panel")]);super.connectedCallback(),this._resizeObserver=new ResizeObserver(()=>{this._activeTab&&"underlined"===this.variant&&!this._indicatorAnimating&&this._animateIndicator(void 0,this._activeTab)}),this._tabResizeObserver=new ResizeObserver(()=>{this._activeTab&&"underlined"===this.variant&&!this._indicatorAnimating&&this._animateIndicator(void 0,this._activeTab)}),this._mutationObserver=new MutationObserver(e=>{e.some(e=>!["aria-labelledby","aria-controls"].includes(e.attributeName))&&setTimeout(()=>this._setAriaLabels()),e.some(e=>"disabled"===e.attributeName)&&this._syncTabsAndPanels()}),this.updateComplete.then(()=>{this._syncTabsAndPanels(),this._mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this._resizeObserver.observe(this._nav),e.then(()=>{new IntersectionObserver((e,t)=>{var s;e[0].intersectionRatio>0&&(this._setAriaLabels(),this._setActiveTab(null!==(s=this._getActiveTab())&&void 0!==s?s:this._tabs[0],{emitEvents:!1}),t.unobserve(e[0].target))}).observe(this._tabGroup)})})}disconnectedCallback(){this._mutationObserver.disconnect(),this._resizeObserver.unobserve(this._nav),this._tabResizeObserver.disconnect()}show(e){const t=this._tabs.find(t=>t.panel===e);t&&this._setActiveTab(t)}_getAllTabs(e={includeDisabled:!0}){return[...this.shadowRoot.querySelector('slot[name="nav"]').assignedElements()].filter(t=>e.includeDisabled?"sgds-tab"===t.tagName.toLowerCase():"sgds-tab"===t.tagName.toLowerCase()&&!t.disabled)}_getAllPanels(){return[...this._body.assignedElements()].filter(e=>"sgds-tab-panel"===e.tagName.toLowerCase())}_getActiveTab(){return this._tabs.find(e=>e.active)}_handleClick(e){const t=e.target.closest("sgds-tab");(null==t?void 0:t.closest("sgds-tab-group"))===this&&null!==t&&this._setActiveTab(t)}_handleKeyDown(e){const t=e.target.closest("sgds-tab");if((null==t?void 0:t.closest("sgds-tab-group"))===this&&(["Enter"," "].includes(e.key)&&null!==t&&(this._setActiveTab(t),e.preventDefault()),["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key))){const t=this._tabs.find(e=>e.matches(":focus"));if("sgds-tab"===(null==t?void 0:t.tagName.toLowerCase())){let s=this._tabs.indexOf(t);"Home"===e.key?s=0:"End"===e.key?s=this._tabs.length-1:"ArrowUp"===e.key||"ArrowLeft"===e.key?s--:"ArrowDown"!==e.key&&"ArrowRight"!==e.key||s++,s<0&&(s=this._tabs.length-1),s>this._tabs.length-1&&(s=0),this._tabs[s].focus({preventScroll:!0}),this._setActiveTab(this._tabs[s]),e.preventDefault()}}}_setActiveTab(e,t){if(t=Object.assign({emitEvents:!0},t),e!==this._activeTab&&!e.disabled){const s=this._activeTab;this._activeTab=e,this._tabs.forEach(e=>{e.active=e===this._activeTab}),this._panels.map(e=>{var t;return e.active=e.name===(null===(t=this._activeTab)||void 0===t?void 0:t.panel)}),"underlined"===this.variant&&this._animateIndicator(s,e),t.emitEvents&&(s&&this.emit("sgds-tab-hide",{detail:{name:s.panel}}),this.emit("sgds-tab-show",{detail:{name:this._activeTab.panel}}))}}_animateIndicator(e,t){if(!this._indicator||!this._nav)return;const s=this._nav.getBoundingClientRect(),i=t.getBoundingClientRect();if(e?(this._indicatorAnimating=!0,this._indicator.style.removeProperty("transition")):this._indicator.style.transition="none","vertical"===this.orientation?Object.assign(this._indicator.style,{top:i.top-s.top+"px",height:`${i.height}px`}):Object.assign(this._indicator.style,{left:i.left-s.left+"px",width:`${i.width}px`}),e){const e=()=>{this._indicatorAnimating=!1,this._indicator.removeEventListener("transitionend",e)};this._indicator.addEventListener("transitionend",e),setTimeout(()=>{this._indicatorAnimating=!1},350)}else requestAnimationFrame(()=>{this._indicator.style.removeProperty("transition")})}_setAriaLabels(){this._tabs.forEach(e=>{const t=this._panels.find(t=>t.name===e.panel);t&&(e.setAttribute("aria-controls",t.getAttribute("id")),t.setAttribute("aria-labelledby",e.getAttribute("id")))})}_syncTabsAndPanels(){this._tabs.forEach(e=>{var t;return null===(t=this._tabResizeObserver)||void 0===t?void 0:t.unobserve(e)}),this._tabs=this._getAllTabs({includeDisabled:!1}),this._panels=this._getAllPanels(),this._tabs.forEach(e=>{var t;return null===(t=this._tabResizeObserver)||void 0===t?void 0:t.observe(e)})}_updateTabsAttribute(e){if(!this._navSlot)return;this._navSlot.forEach(t=>{t.setAttribute(e,this[e])})}_handleSlotChange(){this._updateTabsAttribute("variant"),this._updateTabsAttribute("orientation"),this._updateTabsAttribute("density"),this._updateTabsAttribute("fullWidth"),this._syncTabsAndPanels()}willUpdate(e){e.has("variant")&&this._updateTabsAttribute("variant"),e.has("orientation")&&this._updateTabsAttribute("orientation"),e.has("density")&&this._updateTabsAttribute("density"),e.has("fullWidth")&&this._updateTabsAttribute("fullWidth")}render(){return ee`
|
|
1662
1662
|
<div class="tab-group" @click=${this._handleClick} @keydown=${this._handleKeyDown}>
|
|
1663
1663
|
<div class="tab-group__nav" role="tablist">
|
|
1664
1664
|
<slot name="nav" @slotchange=${this._handleSlotChange}></slot>
|
|
@@ -1669,11 +1669,11 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1669
1669
|
<slot class="tab-group__body" @slotchange=${this._syncTabsAndPanels}></slot>
|
|
1670
1670
|
</div>
|
|
1671
1671
|
</div>
|
|
1672
|
-
`}}Hn.styles=[...Be.styles,En],e([
|
|
1672
|
+
`}}Hn.styles=[...Be.styles,En],e([Le(".tab-group")],Hn.prototype,"_tabGroup",void 0),e([Le(".tab-group__body")],Hn.prototype,"_body",void 0),e([Le(".tab-group__nav")],Hn.prototype,"_nav",void 0),e([Le(".tab-group__indicator")],Hn.prototype,"_indicator",void 0),e([Ve({type:String,reflect:!0})],Hn.prototype,"variant",void 0),e([Ve({type:String,reflect:!0})],Hn.prototype,"orientation",void 0),e([Ve({type:String,reflect:!0})],Hn.prototype,"density",void 0),e([Ve({type:Boolean,reflect:!0})],Hn.prototype,"fullWidth",void 0),e([De({slot:"nav",flatten:!0})],Hn.prototype,"_navSlot",void 0);var Bn=n`:host(:not([active])){display:none}.tab-panel{display:block}.tab-panel:not(.tab-panel--active){display:none}`;let On=0;class Tn extends Be{constructor(){super(...arguments),this.attrId=++On,this.componentId=`sgds-tab-panel-${this.attrId}`,this.name="",this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}_handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true"),this.inert=!this.active}render(){return ee`
|
|
1673
1673
|
<slot
|
|
1674
1674
|
class=${We({"tab-panel":!0,"tab-panel--active":this.active})}
|
|
1675
1675
|
></slot>
|
|
1676
|
-
`}}Tn.styles=[...Be.styles,Bn],e([
|
|
1676
|
+
`}}Tn.styles=[...Be.styles,Bn],e([Ve({reflect:!0})],Tn.prototype,"name",void 0),e([Ve({type:Boolean,reflect:!0})],Tn.prototype,"active",void 0),e([ot("active")],Tn.prototype,"_handleActiveChange",null),lt("sgds-tab",Dn),lt("sgds-tab-group",Hn),lt("sgds-tab-panel",Tn);var Fn=n`tbody,td,th,thead,tr{border:var(--sgds-border-width-0) solid;border-color:inherit}th{font-weight:var(--sgds-font-weight-semibold);text-align:-webkit-match-parent}table{border-collapse:collapse;caption-side:bottom}.table{display:table;font-size:var(--sgds-font-size-label-sm);table-layout:auto;width:100%}:host([layout=fixed]) .table{table-layout:fixed}.hidden{display:none}.table>:not(caption) td,.table>:not(caption) th{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted)}.table>:not(caption) td>div,.table>:not(caption) th>div{align-items:center;display:flex;min-height:var(--sgds-dimension-56);padding:var(--sgds-padding-sm) var(--sgds-padding-md)}.table>tbody{vertical-align:inherit}.table>thead{vertical-align:bottom}.table>:not(:first-child){border-top:var(--sgds-border-width-1) solid var(--sgds-border-color-emphasis)}.table-responsive{-webkit-overflow-scrolling:touch;overflow-x:auto}:host([tableBorder]) .table{border:var(--sgds-border-width-1) solid;border-color:var(--sgds-border-color-muted);border-bottom:0}:host([tableBorder]) .table.no-border{border:0}:host([headerBackground]) th{background-color:var(--sgds-surface-raised)}@media (max-width:575.98px){.table-responsive-sm{-webkit-overflow-scrolling:touch;overflow-x:auto}}@media (max-width:767.98px){.table-responsive-md{-webkit-overflow-scrolling:touch;overflow-x:auto}}@media (max-width:991.98px){.table-responsive-lg{-webkit-overflow-scrolling:touch;overflow-x:auto}}@media (max-width:1199.98px){.table-responsive-xl{-webkit-overflow-scrolling:touch;overflow-x:auto}}@media (max-width:1399.98px){.table-responsive-xxl{-webkit-overflow-scrolling:touch;overflow-x:auto}}`;const Rn="table-header-background";class Nn extends Be{constructor(){super(...arguments),this.rowHeader=[],this.columnHeader=[],this.tableData=[],this.headerPosition="horizontal",this.headerBackground=!1,this.tableBorder=!1,this.layout="auto",this.hasDefaultSlot=!1,this._headerBackground=!1,this.hasSlotController=new $i(this,"[default]")}connectedCallback(){super.connectedCallback(),this.setAttribute("role","table")}updated(){this.hasDefaultSlot||(this.hasDefaultSlot=this.hasSlotController.test("[default]")),this._headerBackground=this.headerBackground}_renderTable(){if("horizontal"===this.headerPosition)return ee`
|
|
1677
1677
|
<thead>
|
|
1678
1678
|
<tr>
|
|
1679
1679
|
${this.rowHeader.map(e=>ee` <th><div>${e}</div></th> `)}
|
|
@@ -1720,11 +1720,11 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1720
1720
|
${this._renderTable()}
|
|
1721
1721
|
</table>`}
|
|
1722
1722
|
</div>
|
|
1723
|
-
`}}Nn.styles=[...Be.styles,Fn],e([
|
|
1723
|
+
`}}Nn.styles=[...Be.styles,Fn],e([Ve({type:String,reflect:!0})],Nn.prototype,"responsive",void 0),e([Ve({type:Array})],Nn.prototype,"rowHeader",void 0),e([Ve({type:Array})],Nn.prototype,"columnHeader",void 0),e([Ve({type:Array})],Nn.prototype,"tableData",void 0),e([Ve({type:String,reflect:!0})],Nn.prototype,"headerPosition",void 0),e([Ve({type:Boolean,reflect:!0})],Nn.prototype,"headerBackground",void 0),e([Ve({type:Boolean,reflect:!0})],Nn.prototype,"tableBorder",void 0),e([Ve({type:String,reflect:!0})],Nn.prototype,"layout",void 0),e([Ve({type:Boolean})],Nn.prototype,"hasDefaultSlot",void 0),e([Po({context:Rn}),ze()],Nn.prototype,"_headerBackground",void 0);var jn=n`:host{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);display:table-cell;vertical-align:middle}:host([headerBackground]){background-color:var(--sgds-surface-raised)}.table-head{align-items:center;display:flex;font-weight:var(--sgds-font-weight-semibold);min-height:var(--sgds-dimension-56);padding:var(--sgds-padding-sm) var(--sgds-padding-md)}`;class Un extends Be{constructor(){super(...arguments),this._headerBackground=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","columnheader")}_handleHeaderBackground(){this._headerBackground?this.setAttribute("headerBackground","true"):this.removeAttribute("headerBackground")}render(){return ee`<div
|
|
1724
1724
|
class=${We({"table-head":!0,"header-background":this._headerBackground})}
|
|
1725
1725
|
>
|
|
1726
1726
|
<slot></slot>
|
|
1727
|
-
</div>`}}Un.styles=[...Be.styles,
|
|
1727
|
+
</div>`}}Un.styles=[...Be.styles,jn],e([Ao({context:Rn,subscribe:!0}),ze()],Un.prototype,"_headerBackground",void 0),e([ot("_headerBackground")],Un.prototype,"_handleHeaderBackground",null);var qn=n`:host{display:table-row;width:100%}`;class Yn extends Be{connectedCallback(){super.connectedCallback(),this.setAttribute("role","row")}render(){return ee`<slot class="table-row"></slot>`}}Yn.styles=[...Be.styles,qn];var Wn=n`:host{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);display:table-cell;vertical-align:middle}.table-cell{align-items:center;display:flex;min-height:var(--sgds-dimension-56);padding:var(--sgds-padding-sm) var(--sgds-padding-md)}`;class Kn extends Be{connectedCallback(){super.connectedCallback(),this.setAttribute("role","cell")}render(){return ee`<div class="table-cell"><slot></slot></div>`}}Kn.styles=[...Be.styles,Wn],lt("sgds-table",Nn),lt("sgds-table-head",Un),lt("sgds-table-row",Yn),lt("sgds-table-cell",Kn);var Gn=n`textarea{font-family:inherit;font-size:inherit;line-height:inherit;margin:0;resize:vertical}textarea.form-control-group{min-height:var(--sgds-dimension-136);overflow:auto;padding:var(--sgds-form-padding-y) var(--sgds-form-padding-x)}.textarea-resize-none{resize:none}.textarea-resize-vertical{resize:vertical}.textarea-resize-auto{height:auto;overflow-y:hidden;resize:none}.textarea-info-container{display:flex;justify-content:space-between}.word-count{margin-left:auto}`;class Jn extends(da(fa)){constructor(){super(...arguments),this.value="",this.spellcheck=!1,this.rows=4,this.placeholder="Placeholder",this.invalidFeedback="",this.autofocus=!1,this.readonly=!1,this.resize="vertical",this.defaultValue="",this.hasFeedback=!1,this.required=!1,this.noValidate=!1,this.hintText="",this._isTouched=!1}focus(e){this.textarea.focus(e)}blur(){this.textarea.blur()}reportValidity(){return this._mixinReportValidity()}checkValidity(){return this._mixinCheckValidity()}get validity(){return this._mixinGetValidity()}get validationMessage(){return this._mixinGetValidationMessage()}select(){this.textarea.select()}_handleInvalid(e){e.preventDefault(),this.invalid=!0}_handleChange(e){this.value=this.input.value,this.emit("sgds-change"),super._mixinHandleChange(e)}_handleInputChange(e){this.value=this.input.value,this.emit("sgds-input"),super._mixinHandleInputChange(e)}_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)}_handleRowsChange(){this._setTextareaHeight()}_setTextareaHeight(){"auto"===this.resize?(this.textarea.style.height="auto",this.textarea.style.height=`${this.textarea.scrollHeight}px`):this.textarea.style.height=void 0}_handleIsTouched(){this._mixinShouldSkipSgdsValidation()||this._isTouched&&this.setInvalid(!this._mixinCheckValidity())}_handleDisabledChange(){this.setInvalid(!1)}_handleValueChange(){this.updateComplete.then(()=>this._setTextareaHeight())}_renderHintText(){const e=gt` <div id="${this._controlId}Help" class="form-text">${this.hintText}</div> `;return this.hintText&&e}_wordCount(){return gt`
|
|
1728
1728
|
<div
|
|
1729
1729
|
class="form-text word-count ${We({"invalid-feedback":this.invalid&&this.hasFeedback})}"
|
|
1730
1730
|
>
|
|
@@ -1770,7 +1770,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1770
1770
|
${this.maxlength>0?this._wordCount():ie}
|
|
1771
1771
|
</div>
|
|
1772
1772
|
</div>
|
|
1773
|
-
`}}Jn.styles=[...fa.styles,na,Gn],e([
|
|
1773
|
+
`}}Jn.styles=[...fa.styles,na,Gn],e([Le("textarea.form-control-group")],Jn.prototype,"textarea",void 0),e([Ve({type:String,reflect:!0})],Jn.prototype,"name",void 0),e([Ve({type:String,reflect:!0})],Jn.prototype,"value",void 0),e([Ve({type:Number,reflect:!0})],Jn.prototype,"minlength",void 0),e([Ve({type:Number,reflect:!0})],Jn.prototype,"maxlength",void 0),e([Ve({type:Boolean,reflect:!0})],Jn.prototype,"spellcheck",void 0),e([Ve({type:Number})],Jn.prototype,"rows",void 0),e([Ve({type:String,reflect:!0})],Jn.prototype,"placeholder",void 0),e([Ve({type:String,reflect:!0})],Jn.prototype,"invalidFeedback",void 0),e([Ve({type:Boolean,reflect:!0})],Jn.prototype,"autofocus",void 0),e([Ve({type:Boolean,reflect:!0})],Jn.prototype,"readonly",void 0),e([Ve({type:String,reflect:!0})],Jn.prototype,"resize",void 0),e([Ve({type:String,reflect:!0})],Jn.prototype,"inputmode",void 0),e([Ve({type:Boolean,reflect:!0})],Jn.prototype,"autocorrect",void 0),e([ra()],Jn.prototype,"defaultValue",void 0),e([Ve({type:Boolean,reflect:!0})],Jn.prototype,"hasFeedback",void 0),e([Ve({type:Boolean,reflect:!0})],Jn.prototype,"required",void 0),e([Ve({type:Boolean,reflect:!0})],Jn.prototype,"noValidate",void 0),e([Ve({reflect:!0})],Jn.prototype,"hintText",void 0),e([ze()],Jn.prototype,"_isTouched",void 0),e([ot("rows",{waitUntilFirstUpdate:!0})],Jn.prototype,"_handleRowsChange",null),e([ot("_isTouched",{waitUntilFirstUpdate:!0})],Jn.prototype,"_handleIsTouched",null),e([ot("disabled",{waitUntilFirstUpdate:!0})],Jn.prototype,"_handleDisabledChange",null),e([ot("value",{waitUntilFirstUpdate:!0})],Jn.prototype,"_handleValueChange",null),lt("sgds-textarea",Jn);var Xn=n`:host([variant=info]) slot[name=icon]::slotted(*){color:var(--sgds-primary-color-default)}:host([variant=success]) slot[name=icon]::slotted(*){color:var(--sgds-success-color-default)}:host([variant=danger]) slot[name=icon]::slotted(*){color:var(--sgds-danger-color-default)}:host([variant=warning]) slot[name=icon]::slotted(*){color:var(--sgds-warning-color-fixed-light)}.toast{align-items:flex-start;background-clip:padding-box;background-color:var(--sgds-surface-default);border-radius:var(--sgds-border-radius-md);box-shadow:0 0 2px 0 rgba(0,0,0,.12),0 8px 16px 0 rgba(0,0,0,.14);display:inline-flex;flex-direction:row;gap:var(--sgds-gap-sm);max-width:var(--sgds-dimension-480);min-width:var(--sgds-dimension-280);padding:var(--sgds-padding-md);pointer-events:auto;position:relative}.toast-content{word-wrap:break-word;gap:var(--sgds-gap-sm);padding-right:var(--sgds-padding-xl)}.toast-body,.toast-content{display:flex;flex-direction:column}.toast-body{gap:var(--sgds-gap-2-xs)}.toast-body__title{font-size:var(--sgds-font-size-subtitle-sm);font-weight:var(--sgds-font-weight-semibold);margin:0}.toast-body__message,.toast-body__title{line-height:var(--sgds-line-height-2-xs)}.toast-body__message{color:var(--sgds-color-subtle,#525252);font-size:var(--sgds-font-size-label-sm);font-weight:var(--sgds-font-weight-regular)}.toast-action{word-wrap:break-word;color:var(--sgds-link-color-default)}.toast-header strong{margin-right:auto;word-break:break-all}.close-btn{position:absolute;right:10px;top:10px}.d-none{display:none}`;class Qn extends Be{constructor(){super(...arguments),this.show=!1,this.title="Title",this.noAnimation=!1,this.autohide=!1,this.delay=5e3,this.variant="info",this.dismissible=!1}async showToast(){if(!this.show)return this.show=!0,at(this,"sgds-after-show")}async hideToast(){if(this.show)return this.show=!1,at(this,"sgds-after-hide")}handleCloseClick(){this.show=!1,this.emit("sgds-close")}async handleShowChange(){if(this.show){this.emit("sgds-show"),this.toast.classList.remove("d-none");const e=st(this,"toast.show");this.noAnimation||await Ge(this.toast,e.keyframes,e.options),this.emit("sgds-after-show")}else{this.emit("sgds-hide");const e=st(this,"toast.hide");this.noAnimation||await Ge(this.toast,e.keyframes,e.options),this.toast.classList.add("d-none"),this.emit("sgds-after-hide")}}firstUpdated(e){var t;if(super.firstUpdated(e),this.show||this.toast.classList.add("d-none"),0===this._actionNodes.length)return null===(t=this.shadowRoot.querySelector("slot[name='action']"))||void 0===t?void 0:t.classList.add("d-none")}render(){return this.autohide&&this.show&&setTimeout(()=>{this.show=!1},this.delay),ee`
|
|
1774
1774
|
<div
|
|
1775
1775
|
class="toast"
|
|
1776
1776
|
role="alert"
|
|
@@ -1792,18 +1792,18 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1792
1792
|
@click=${this.handleCloseClick}
|
|
1793
1793
|
></sgds-close-button>`:ie}
|
|
1794
1794
|
</div>
|
|
1795
|
-
`}}Qn.styles=[...Be.styles,Xn],Qn.dependencies={"sgds-close-button":ft},e([
|
|
1795
|
+
`}}Qn.styles=[...Be.styles,Xn],Qn.dependencies={"sgds-close-button":ft},e([Le("div.toast")],Qn.prototype,"toast",void 0),e([Ve({type:Boolean,reflect:!0})],Qn.prototype,"show",void 0),e([Ve({type:String,reflect:!0})],Qn.prototype,"title",void 0),e([Ve({type:Boolean,reflect:!0})],Qn.prototype,"noAnimation",void 0),e([Ve({type:Boolean,reflect:!0})],Qn.prototype,"autohide",void 0),e([Ve({type:Number,reflect:!0})],Qn.prototype,"delay",void 0),e([Ve({type:String,reflect:!0})],Qn.prototype,"variant",void 0),e([Ve({type:Boolean,reflect:!0})],Qn.prototype,"dismissible",void 0),e([ot("show",{waitUntilFirstUpdate:!0})],Qn.prototype,"handleShowChange",null),e([Ee({slot:"action",flatten:!0})],Qn.prototype,"_actionNodes",void 0),it("toast.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:400,easing:"ease"}}),it("toast.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:400,easing:"ease"}});var er=n`.top-start{top:var(--toast-container-top)}.middle-start,.top-start{left:var(--toast-container-left)}.middle-start{top:50%;transform:translateY(-50%)}.middle-center{left:50%;top:50%;transform:translate(-50%,-50%)}.middle-end{right:var(--toast-container-right);top:50%;transform:translateY(-50%)}.toast-container{--toast-container-top:calc(108px + var(--sgds-spacer-8));--toast-container-right:var(--sgds-spacer-8);--toast-container-left:var(--sgds-spacer-8);--toast-container-bottom:var(--sgds-spacer-8);max-width:100%;pointer-events:none;position:fixed;width:max-content;z-index:var(--sgds-z-index-overlay)}.top-center{left:50%;transform:translateX(-50%)}.top-center,.top-end{top:var(--toast-container-top)}.top-end{right:var(--toast-container-right)}.bottom-start{left:var(--toast-container-left)}.bottom-center,.bottom-start{bottom:var(--toast-container-bottom)}.bottom-center{left:50%;transform:translateX(-50%)}.bottom-end{bottom:var(--toast-container-bottom);right:var(--toast-container-right)}slot{display:flex;gap:var(--sgds-layout-gap-md)}:host([position^=top]) slot{flex-direction:column-reverse}:host([position^=bottom]) slot{flex-direction:column}`;class tr extends Be{render(){return gt`
|
|
1796
1796
|
<div
|
|
1797
1797
|
class=${We({"toast-container":!0,[this.position]:this.position})}
|
|
1798
1798
|
>
|
|
1799
1799
|
<slot></slot>
|
|
1800
1800
|
</div>
|
|
1801
|
-
`}}tr.styles=[er],e([
|
|
1801
|
+
`}}tr.styles=[er],e([Ve({type:String,reflect:!0})],tr.prototype,"position",void 0),lt("sgds-toast",Qn),lt("sgds-toast-container",tr),lt("sgds-tooltip",Ci);var sr=n`.container{display:flex;flex-direction:column;gap:var(--sgds-gap-md)}slot:not([name])::slotted(*){font-size:var(--sgds-font-size-subtitle-md)!important;font-weight:var(--sgds-font-weight-semibold)!important;line-height:var(--sgds-line-height-xs)!important;margin-bottom:var(--sgds-margin-none)!important}.contents{display:flex;flex-direction:column;gap:var(--sgds-gap-md);list-style:none;margin:var(--sgds-margin-none);padding:var(--sgds-padding-none)}slot[name=contents]::slotted(li){margin-top:var(--sgds-margin-none)!important}`;class ir extends Be{render(){return ee`<div class="container">
|
|
1802
1802
|
<slot></slot>
|
|
1803
1803
|
<ul class="contents">
|
|
1804
1804
|
<slot name="contents"></slot>
|
|
1805
1805
|
</ul>
|
|
1806
|
-
</div> `}}ir.styles=[...Be.styles,sr],lt("sgds-table-of-contents",ir);var ar=n`:host{display:block;position:relative;z-index:var(--sgds-z-index-sticky)}nav{background-color:var(--sgds-surface-raised);border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);position:relative;width:100%}.subnav{flex-direction:column;flex-wrap:nowrap}.header-container,.subnav{align-items:flex-start;display:flex}.header-container{gap:var(--sgds-gap-md);padding:var(--sgds-padding-md) var(--sgds-padding-lg);width:100%}slot[name=header]::slotted(*){--sgds-margin-xs:var(--sgds-margin-none);flex:1 1 auto;margin-bottom:var(--sgds-margin-xs,--sgds-margin-none);padding-top:var(--sgds-padding-none)}.subnav-toggler{cursor:pointer;transition:transform .2s ease-in-out}.subnav-toggler:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.subnav:not(.collapsed) .subnav-toggler{transform:rotate(-180deg)}.subnav-nav-group{display:flex;flex:1 1 0}.subnav-nav,.subnav-nav-group{align-items:flex-start;flex-direction:column;width:100%}.subnav-nav{display:none;overflow-y:auto;transition:transform .2s ease-in-out}.subnav-nav ::slotted(*){width:100%}.subnav-actions{bottom:0;display:flex;flex-direction:column;gap:var(--sgds-gap-md);padding:var(--sgds-padding-md) var(--sgds-padding-lg);position:sticky;width:100%}.no-actions{display:none}slot[name=actions]::slotted(*){width:100%}@media screen and (max-width:1023px){.subnav.sgds-container{max-width:inherit}}@media screen and (min-width:512px){.subnav-actions{flex-direction:row}}@media screen and (min-width:768px){nav{border-bottom:var(--sgds-border-width-0)}.subnav{flex-direction:row}.subnav.collapsed{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted)}.header-container{padding:var(--sgds-padding-lg) var(--sgds-padding-2-xl)}.subnav-nav{background-color:var(--sgds-surface-raised);border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);left:0;position:absolute;top:100%}.subnav-actions{align-items:center;flex-direction:row;padding:var(--sgds-padding-sm) var(--sgds-padding-2-xl) var(--sgds-padding-sm) var(--sgds-padding-none);position:inherit}}@media screen and (min-width:1024px){nav{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);position:inherit}.subnav{flex-wrap:wrap;gap:var(--sgds-gap-xl);row-gap:var(--sgds-gap-none)}.subnav.collapsed{border-bottom:var(--sgds-border-width-0)}.header-container{flex:1;padding:var(--sgds-padding-none);width:auto}slot[name=header]::slotted(*){padding-top:var(--sgds-padding-lg);white-space:nowrap}.subnav-nav-group{align-items:center;flex:inherit;flex-direction:row;flex-wrap:wrap;gap:var(--sgds-gap-xl);justify-content:space-between;row-gap:var(--sgds-gap-none);width:auto}.subnav-nav{align-items:center;background-color:inherit;border-bottom:var(--sgds-border-width-0);display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--sgds-gap-lg);overflow-y:inherit;position:inherit;row-gap:0;transition:none;width:auto}.subnav-nav ::slotted(*){width:inherit}.subnav-toggler{display:none}.subnav-actions{padding:var(--sgds-padding-sm) var(--sgds-padding-none);width:auto}slot[name=actions]::slotted(*){width:inherit}}`;const or=["Enter"," "];class nr extends Be{constructor(){super(...arguments),this.hasActionsSlot=!1,this.isCollapsed=!1,this.isMenuOpen=!1,this.hasSlotController=new $i(this,"actions"),this._handleResize=async()=>{this.isCollapsed=window.innerWidth<
|
|
1806
|
+
</div> `}}ir.styles=[...Be.styles,sr],lt("sgds-table-of-contents",ir);var ar=n`:host{display:block;position:relative;z-index:var(--sgds-z-index-sticky)}nav{background-color:var(--sgds-surface-raised);border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);position:relative;width:100%}.subnav{flex-direction:column;flex-wrap:nowrap}.header-container,.subnav{align-items:flex-start;display:flex}.header-container{gap:var(--sgds-gap-md);padding:var(--sgds-padding-md) var(--sgds-padding-lg);width:100%}slot[name=header]::slotted(*){--sgds-margin-xs:var(--sgds-margin-none);flex:1 1 auto;margin-bottom:var(--sgds-margin-xs,--sgds-margin-none);padding-top:var(--sgds-padding-none)}.subnav-toggler{cursor:pointer;transition:transform .2s ease-in-out}.subnav-toggler:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.subnav:not(.collapsed) .subnav-toggler{transform:rotate(-180deg)}.subnav-nav-group{display:flex;flex:1 1 0}.subnav-nav,.subnav-nav-group{align-items:flex-start;flex-direction:column;width:100%}.subnav-nav{display:none;overflow-y:auto;transition:transform .2s ease-in-out}.subnav-nav ::slotted(*){width:100%}.subnav-actions{bottom:0;display:flex;flex-direction:column;gap:var(--sgds-gap-md);padding:var(--sgds-padding-md) var(--sgds-padding-lg);position:sticky;width:100%}.no-actions{display:none}slot[name=actions]::slotted(*){width:100%}@media screen and (max-width:1023px){.subnav.sgds-container{max-width:inherit}}@media screen and (min-width:512px){.subnav-actions{flex-direction:row}}@media screen and (min-width:768px){nav{border-bottom:var(--sgds-border-width-0)}.subnav{flex-direction:row}.subnav.collapsed{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted)}.header-container{padding:var(--sgds-padding-lg) var(--sgds-padding-2-xl)}.subnav-nav{background-color:var(--sgds-surface-raised);border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);left:0;position:absolute;top:100%}.subnav-actions{align-items:center;flex-direction:row;padding:var(--sgds-padding-sm) var(--sgds-padding-2-xl) var(--sgds-padding-sm) var(--sgds-padding-none);position:inherit}}@media screen and (min-width:1024px){nav{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);position:inherit}.subnav{flex-wrap:wrap;gap:var(--sgds-gap-xl);row-gap:var(--sgds-gap-none)}.subnav.collapsed{border-bottom:var(--sgds-border-width-0)}.header-container{flex:1;padding:var(--sgds-padding-none);width:auto}slot[name=header]::slotted(*){padding-top:var(--sgds-padding-lg);white-space:nowrap}.subnav-nav-group{align-items:center;flex:inherit;flex-direction:row;flex-wrap:wrap;gap:var(--sgds-gap-xl);justify-content:space-between;row-gap:var(--sgds-gap-none);width:auto}.subnav-nav{align-items:center;background-color:inherit;border-bottom:var(--sgds-border-width-0);display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--sgds-gap-lg);overflow-y:inherit;position:inherit;row-gap:0;transition:none;width:auto}.subnav-nav ::slotted(*){width:inherit}.subnav-toggler{display:none}.subnav-actions{padding:var(--sgds-padding-sm) var(--sgds-padding-none);width:auto}slot[name=actions]::slotted(*){width:inherit}}`;const or=["Enter"," "];class nr extends Be{constructor(){super(...arguments),this.hasActionsSlot=!1,this.isCollapsed=!1,this.isMenuOpen=!1,this.hasSlotController=new $i(this,"actions"),this._handleResize=async()=>{this.isCollapsed=window.innerWidth<Lo,await this.updateComplete,this.isCollapsed||(this.isMenuOpen=!1),this._updateMobileLayout()},this._updateMobileLayout=()=>{if(this.nav&&this.headerContainer&&this.mobileActions&&this.mobileNav)if(this.isCollapsed){const{top:e}=this.nav.getBoundingClientRect(),t=this.headerContainer.clientHeight,s=this.mobileActions.clientHeight,i=window.innerWidth>=Io&&window.innerWidth<Lo?e+t:e+t+s;this.mobileNav.style.maxHeight=`calc(100dvh - ${i}px)`,this.style.minHeight=`${this.nav.clientHeight}px`,this.nav.style.position="absolute"}else this.mobileNav.style.maxHeight="none",this.style.minHeight="auto",this.nav.style.position="relative"},this._toggleMenu=()=>{var e;this.isMenuOpen?this.hide():(this._lockBodyScroll(),this.show()),null===(e=this.toggler)||void 0===e||e.focus()}}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this._handleResize),window.addEventListener("click",e=>this._handleClickOutOfElement(e,this.navGroup))}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this._handleResize),window.removeEventListener("click",e=>this._handleClickOutOfElement(e,this.navGroup))}firstUpdated(e){super.firstUpdated(e),this._handleResize()}updated(){this.hasActionsSlot||(this.hasActionsSlot=this.hasSlotController.test("actions"))}_handleClickOutOfElement(e,t){e.composedPath().includes(t)||e.composedPath().includes(this.toggler)||this.hide()}async _onKeyboardToggle(e){or.includes(e.key)&&(e.preventDefault(),this._toggleMenu())}async show(){if(!this.isMenuOpen)return this.isMenuOpen=!0,at(this,"sgds-after-show")}async hide(){if(this.isMenuOpen)return this.isMenuOpen=!1,this._unlockBodyScroll(),at(this,"sgds-after-hide")}_lockBodyScroll(){if("undefined"==typeof window)return;const e=window.scrollY;document.body.style.position="fixed",document.body.style.top=`-${e}px`,document.body.style.width="100%"}_unlockBodyScroll(){if("undefined"==typeof window)return;const e=-1*parseInt(document.body.style.top||"0");document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,e)}async _animateToShow(){if(this.emit("sgds-show",{cancelable:!0}).defaultPrevented)return void(this.isMenuOpen=!1);await Qe(this.mobileNav),this.isCollapsed&&(this.mobileNav.style.display="flex");const{keyframes:e,options:t}=st(this,"subnav.show");await Ge(this.mobileNav,Xe(e,this.mobileNav.scrollHeight),t),this.emit("sgds-after-show")}async _animateToHide(){if(this.emit("sgds-hide",{cancelable:!0}).defaultPrevented)return void(this.isMenuOpen=!0);await Qe(this.mobileNav);const{keyframes:e,options:t}=st(this,"subnav.hide");await Ge(this.mobileNav,Xe(e,this.mobileNav.scrollHeight),t),this.isCollapsed&&(this.mobileNav.style.display="none"),this.emit("sgds-after-hide")}async handleOpenChange(){this.isMenuOpen?this._animateToShow():this._animateToHide()}async handleCollapsedChange(){await this.updateComplete,this.mobileNav.style.display=this.isCollapsed?"none":"flex"}render(){return ee`
|
|
1807
1807
|
<nav aria-label="Sub navigation">
|
|
1808
1808
|
<div
|
|
1809
1809
|
class=${We({"sgds-container":!0,subnav:!0,collapsed:!this.isMenuOpen})}
|
|
@@ -1834,7 +1834,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1834
1834
|
</div>
|
|
1835
1835
|
</div>
|
|
1836
1836
|
</nav>
|
|
1837
|
-
`}}nr.styles=[...Be.styles,ar,yo],nr.dependencies={"sgds-icon":_t},e([
|
|
1837
|
+
`}}nr.styles=[...Be.styles,ar,yo],nr.dependencies={"sgds-icon":_t},e([Ve({type:Boolean})],nr.prototype,"hasActionsSlot",void 0),e([Le("nav")],nr.prototype,"nav",void 0),e([Le(".subnav-nav")],nr.prototype,"mobileNav",void 0),e([Le(".header-container")],nr.prototype,"headerContainer",void 0),e([Le(".subnav-toggler")],nr.prototype,"toggler",void 0),e([Le(".subnav-nav-group")],nr.prototype,"navGroup",void 0),e([Le(".subnav-actions")],nr.prototype,"mobileActions",void 0),e([ze()],nr.prototype,"isCollapsed",void 0),e([ze()],nr.prototype,"isMenuOpen",void 0),e([ot("isMenuOpen",{waitUntilFirstUpdate:!0})],nr.prototype,"handleOpenChange",null),e([ot("isCollapsed",{waitUntilFirstUpdate:!0})],nr.prototype,"handleCollapsedChange",null),it("subnav.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:200,easing:"ease-in-out"}}),it("subnav.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:200,easing:"ease-in-out"}});var rr=n`:host(:not([disabled])[active]:not([active=false])) ::slotted(*){background-color:var(--sgds-bg-translucent-subtle);border-bottom:none}::slotted(*){--sgds-link-color-default:var(--sgds-color-default);box-sizing:border-box;color:var(--sgds-link-color-default,var(--sgds-color-default));cursor:pointer;display:inline-block;font-size:var(--sgds-font-size-label-sm)!important;padding:var(--sgds-padding-sm) var(--sgds-padding-lg);text-decoration:none!important;white-space:nowrap;width:100%}::slotted(*):after{height:var(--sgds-icon-size-md)!important;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.145 3.667h.021a.5.5 0 1 1 0 1c-.708 0-1.209 0-1.6.032-.387.032-.622.091-.807.186a2 2 0 0 0-.875.874c-.094.185-.154.42-.185.806-.032.392-.032.893-.032 1.602v3.666c0 .709 0 1.21.032 1.602.031.386.091.621.185.806a2 2 0 0 0 .875.874c.185.095.42.154.806.186.392.032.893.032 1.601.032h3.667c.708 0 1.21 0 1.601-.032.386-.032.622-.091.807-.186a2 2 0 0 0 .874-.874c.095-.185.154-.42.186-.806.032-.392.032-.893.032-1.602a.5.5 0 1 1 1 0v.022c0 .682 0 1.224-.036 1.661-.036.448-.113.83-.29 1.18a3 3 0 0 1-1.312 1.31c-.35.178-.731.255-1.18.292-.436.035-.978.035-1.66.035h-3.71c-.682 0-1.224 0-1.661-.035-.448-.037-.83-.113-1.18-.292a3 3 0 0 1-1.31-1.31c-.179-.35-.255-.732-.292-1.18-.035-.437-.035-.98-.035-1.66V8.144c0-.682 0-1.224.035-1.661.037-.448.113-.83.291-1.18a3 3 0 0 1 1.312-1.31c.35-.178.731-.255 1.179-.292.437-.035.98-.035 1.66-.035Zm2.188.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0V5.374l-4.98 4.98a.5.5 0 0 1-.707-.708l4.98-4.98h-3.793a.5.5 0 0 1-.5-.5Z' fill='%230E0E0E'/%3E%3C/svg%3E")!important;mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.145 3.667h.021a.5.5 0 1 1 0 1c-.708 0-1.209 0-1.6.032-.387.032-.622.091-.807.186a2 2 0 0 0-.875.874c-.094.185-.154.42-.185.806-.032.392-.032.893-.032 1.602v3.666c0 .709 0 1.21.032 1.602.031.386.091.621.185.806a2 2 0 0 0 .875.874c.185.095.42.154.806.186.392.032.893.032 1.601.032h3.667c.708 0 1.21 0 1.601-.032.386-.032.622-.091.807-.186a2 2 0 0 0 .874-.874c.095-.185.154-.42.186-.806.032-.392.032-.893.032-1.602a.5.5 0 1 1 1 0v.022c0 .682 0 1.224-.036 1.661-.036.448-.113.83-.29 1.18a3 3 0 0 1-1.312 1.31c-.35.178-.731.255-1.18.292-.436.035-.978.035-1.66.035h-3.71c-.682 0-1.224 0-1.661-.035-.448-.037-.83-.113-1.18-.292a3 3 0 0 1-1.31-1.31c-.179-.35-.255-.732-.292-1.18-.035-.437-.035-.98-.035-1.66V8.144c0-.682 0-1.224.035-1.661.037-.448.113-.83.291-1.18a3 3 0 0 1 1.312-1.31c.35-.178.731-.255 1.179-.292.437-.035.98-.035 1.66-.035Zm2.188.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-1 0V5.374l-4.98 4.98a.5.5 0 0 1-.707-.708l4.98-4.98h-3.793a.5.5 0 0 1-.5-.5Z' fill='%230E0E0E'/%3E%3C/svg%3E")!important;width:var(--sgds-icon-size-md)!important}:host(:not([disabled])[active]:not([active=false])) ::slotted(*){--sgds-link-color-default:var(--sgds-primary-color-default);color:var(--sgds-link-color-default,var(--sgds-primary-color-default))}:host([disabled]) ::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-color-default);color:var(--sgds-link-color-emphasis,var(--sgds-color-default))}:host(:not([disabled])) ::slotted(a:hover){--sgds-link-color-emphasis:var(--sgds-primary-color-default);color:var(--sgds-link-color-emphasis,var(--sgds-primary-color-default))}::slotted(a:focus-visible){--sgds-link-color-emphasis:var(--sgds-primary-color-default);color:var(--sgds-link-color-emphasis,var(--sgds-primary-color-default));outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}:host([disabled]) ::slotted(*){cursor:not-allowed;opacity:var(--sgds-opacity-40)}@media screen and (min-width:1024px){:host(:not([disabled])[active]:not([active=false])) ::slotted(*){--sgds-link-color-default:var(--sgds-primary-color-default);background-color:inherit;border-bottom:var(--sgds-border-width-2) solid var(--sgds-primary-border-color-default);color:var(--sgds-link-color-default,var(--sgds-primary-color-default))}::slotted(*){border-bottom:var(--sgds-border-width-2) solid transparent;padding:var(--sgds-padding-lg) var(--sgds-padding-none)}}`;class lr extends Be{constructor(){super(...arguments),this.active=!1,this.disabled=!1}_handleDisabled(){this.setAttribute("aria-disabled",`${this.disabled}`)}_handleSlotChange(e){const t=e.target,s=t.assignedElements({flatten:!0}).filter(e=>"a"===e.tagName.toLowerCase()||"sgds-link"===e.tagName.toLowerCase());if(s.length>1)console.error("More than one anchor tag is added to sgds-subnav-item");else{if(0===s.length){t.assignedNodes({flatten:!0}).forEach(e=>{if(e.nodeType===Node.TEXT_NODE){const t=document.createElement("a");t.textContent=e.textContent,e.parentNode.replaceChild(t,e)}})}if(1===s.length){const e=s[0];this.active&&e.setAttribute("aria-current","true"),this.disabled&&(e.setAttribute("href","javascript:void(0)"),e.setAttribute("tabindex","-1"))}}}render(){return ee`<slot @slotchange=${this._handleSlotChange}></slot>`}}lr.styles=[...Be.styles,rr],e([Ve({type:Boolean,reflect:!0})],lr.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],lr.prototype,"disabled",void 0),e([ot("disabled")],lr.prototype,"_handleDisabled",null),lt("sgds-subnav",nr),lt("sgds-subnav-item",lr);var dr=n`:host{display:block;position:relative}input.form-control{caret-color:transparent;cursor:default}.dropdown{display:flex;height:100%}.dropdown-menu{box-sizing:border-box;max-height:10rem;overflow-x:hidden;overflow-y:auto}slot[id=default].is-loading,slot[id=default].is-loading::slotted(*){display:none}`;class cr extends ga{constructor(){super(...arguments),this._renderItemContent=()=>ee`<div class="normal-item-content" role="presentation">
|
|
1838
1838
|
<slot></slot>
|
|
1839
1839
|
${this.active?ee` <sgds-icon name="check"></sgds-icon> `:ie}
|
|
1840
1840
|
</div>`}}cr.dependencies={"sgds-icon":_t};class hr extends ha{constructor(){super(...arguments),this.noValidate=!1,this._blockInputKeydown=e=>{"Tab"!==e.key&&e.preventDefault()}}connectedCallback(){super.connectedCallback(),this.addEventListener("sgds-hide",async()=>{(await this._input).focus()})}async firstUpdated(e){super.firstUpdated(e),this._updateDisplayValue(),this.input=await this._input,this._mixinValidate(this.input),this.menuIsOpen&&await this.updateFloatingPosition()}async _handleSlotChange(e){const t=e.target.assignedElements({flatten:!0});t.forEach(e=>e.addEventListener("click",e=>{e.target.disabled||this._handleItemSelected(e)})),t.forEach(e=>e.addEventListener("keydown",e=>{"Enter"===e.key&&this._handleItemSelected(e)})),this.menuList=await this._getMenuListFromOptions(t),this._updateDisplayValue(),this.input=await this._input,this._mixinValidate(this.input)}_updateDisplayValue(){if(this.value&&this.menuList.length>0){const e=this.menuList.filter(({value:e})=>e===this.value);this.displayValue=e[0].label,this._setActiveToOption()}}_setActiveToOption(){const e=this.menuList.findIndex(e=>e.value.toString()===this.value);this.options.forEach((t,s)=>{t.active=s===e})}async _handleValueChange(){this._setActiveToOption(),this.emit("sgds-change"),this.value&&this.emit("sgds-select");const e=await this._input;this._mixinSetFormValue(),this._mixinValidate(e),this._updateDisplayValue(),(this._isTouched||""!==this.value)&&(this._mixinShouldSkipSgdsValidation()||(this.invalid=!this._mixinReportValidity()))}async _handleItemSelected(e){var t,s,i;const a=e.target,o=null!==(s=null===(t=a.textContent)||void 0===t?void 0:t.trim())&&void 0!==s?s:"",n={label:o,value:null!==(i=a.getAttribute("value"))&&void 0!==i?i:o};this.value=n.value.toString(),this.displayValue=n.label,this.hideMenu()}_handleFocus(){this.emit("sgds-focus")}async _handleInputBlur(e){e.preventDefault(),this.emit("sgds-blur")}async _mixinResetFormControl(){this.value=this.defaultValue;const e=this.menuList.filter(({value:e})=>e===this.value);e.length<=0?this.displayValue="":this.displayValue=e[0].label,this._mixinResetValidity(await this._input)}_renderMenu(){const e=this.menuList.map(e=>{const t=e.value===this.value;return ee`
|
|
@@ -1894,7 +1894,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1894
1894
|
${this.loading?this._renderLoadingMenu():ie}
|
|
1895
1895
|
</div>
|
|
1896
1896
|
</div>
|
|
1897
|
-
`}}hr.styles=[...ha.styles,na,dr],hr.childName="sgds-select-option",hr.dependencies={"sgds-icon":_t,"sgds-spinner":$a,[hr.childName]:cr},e([
|
|
1897
|
+
`}}hr.styles=[...ha.styles,na,dr],hr.childName="sgds-select-option",hr.dependencies={"sgds-icon":_t,"sgds-spinner":$a,[hr.childName]:cr},e([Ve({type:Boolean,reflect:!0})],hr.prototype,"noValidate",void 0),e([De({flatten:!0,selector:"sgds-select-option"})],hr.prototype,"options",void 0),e([ot("value",{waitUntilFirstUpdate:!0})],hr.prototype,"_handleValueChange",null),lt("sgds-select",hr),lt("sgds-select-option",cr);var pr=n`:host([noPadding]) .card{background-color:inherit;border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent)}:host([orientation=vertical][noPadding]) .card-body{padding:var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-none)}:host([orientation=vertical][imagePosition=after][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-none)}:host([orientation=horizontal][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-xl)}:host([orientation=horizontal][imagePosition=after][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-none)}:host([tinted]:not([noPadding])) .card-tinted-bg{background-color:var(--sgds-bg-translucent-subtle);opacity:var(--sgds-opacity-50)}:host([orientation][noPadding]) .card-media{padding:var(--sgds-padding-none)}slot[name=image-badge]::slotted(*){left:20px;position:absolute;top:20px}slot[name=image-action]::slotted(*){position:absolute;right:20px;top:20px}`;class ur extends ea{constructor(){super(...arguments),this.noPadding=!1,this.imagePosition="before",this.imageAdjustment="default"}get linkSlotItems(){if(!this.linkNode||0===this.linkNode.length)return null;const e=this.linkNode[0];return e.querySelector("a")||e}get footerSlotItems(){if(!this.footerNode||0===this.footerNode.length)return null;const e=this.footerNode[0];return e.querySelector("a")||e}firstUpdated(e){var t,s;if(super.firstUpdated(e),0===this._imageNode.length){const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(".card-image"),i=null===(s=this.shadowRoot)||void 0===s?void 0:s.querySelector(".card-body");e&&(e.style.display="none"),i&&this.noPadding&&(i.style.padding="0px")}if(this.stretchedLink){const e=this.footerSlotItems,t=this.linkSlotItems;this._forwardAnchorAttributes((null==e?void 0:e.href)?e:t)}}handleImgSlotChange(e){if(e.target.assignedNodes({flatten:!0}).length>1)return console.error("Multiple elements passed into SgdsCard's image slot")}render(){const e=this.stretchedLink?pt`a`:pt`div`,t=!this.stretchedLink||this.disabled?-1:0;return gt`
|
|
1898
1898
|
<${e}
|
|
1899
1899
|
class="card ${We({disabled:this.disabled})}"
|
|
1900
1900
|
tabindex=${t}
|
|
@@ -1921,7 +1921,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1921
1921
|
</slot>
|
|
1922
1922
|
</div>
|
|
1923
1923
|
</${e}>
|
|
1924
|
-
`}}ur.styles=[...ea.styles,pr],e([Ee({slot:"image",flatten:!0})],ur.prototype,"_imageNode",void 0),e([De({slot:"footer"})],ur.prototype,"footerNode",void 0),e([De({slot:"link"})],ur.prototype,"linkNode",void 0),e([
|
|
1924
|
+
`}}ur.styles=[...ea.styles,pr],e([Ee({slot:"image",flatten:!0})],ur.prototype,"_imageNode",void 0),e([De({slot:"footer"})],ur.prototype,"footerNode",void 0),e([De({slot:"link"})],ur.prototype,"linkNode",void 0),e([Ve({type:Boolean,reflect:!0})],ur.prototype,"noPadding",void 0),e([Ve({type:String,reflect:!0})],ur.prototype,"imagePosition",void 0),e([Ve({type:String,reflect:!0})],ur.prototype,"imageAdjustment",void 0),lt("sgds-image-card",ur);var gr=n`:host([noPadding]) .card{background-color:inherit;border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent)}:host([orientation=vertical][noPadding]) .card-body{padding:var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-none)}:host([orientation=vertical][imagePosition=after][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-none)}:host([orientation=horizontal][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-xl)}:host([orientation=horizontal][imagePosition=after][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-none)}:host([tinted]:not([noPadding])) .card-tinted-bg{background-color:var(--sgds-bg-translucent-subtle);opacity:var(--sgds-opacity-50)}:host([orientation][noPadding]) .card-media{padding:var(--sgds-padding-none)}slot[name=thumbnail]::slotted(*){height:var(--sgds-dimension-64)!important;max-width:var(--sgds-dimension-128)!important;min-width:var(--sgds-dimension-64)!important;object-fit:contain;object-position:left;width:100%}`;class vr extends ea{constructor(){super(...arguments),this.noPadding=!1}_getAnchorFromSlot(e){if(!e||0===e.length)return null;const t=e[0];return t.querySelector("a")||t}_handleThumbnailSlotChange(e){var t,s;if(0===e.target.assignedElements({flatten:!0}).length&&("vertical"===this.orientation&&0===this._upperNode.length||"horizontal"===this.orientation)){const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(".card-media");e&&(e.style.display="none");const i=null===(s=this.shadowRoot)||void 0===s?void 0:s.querySelector(".card-body");i&&this.noPadding&&(i.style.padding="0px")}}_handleFooterSlotChange(e){const t=e.target.assignedElements({flatten:!0}),s=this._getAnchorFromSlot(t);this.stretchedLink&&this._forwardAnchorAttributes(s)}_handleLinkSlotChange(e){this.warnLinkSlotMisused(e);const t=e.target.assignedElements({flatten:!0}),s=this._getAnchorFromSlot(t);this.stretchedLink&&this._forwardAnchorAttributes(s)}render(){const e=this.stretchedLink?pt`a`:pt`div`,t=!this.stretchedLink||this.disabled?-1:0;return gt`
|
|
1925
1925
|
<${e}
|
|
1926
1926
|
class="card ${We({disabled:this.disabled})}"
|
|
1927
1927
|
tabindex=${t}
|
|
@@ -1947,7 +1947,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1947
1947
|
</slot>
|
|
1948
1948
|
</div>
|
|
1949
1949
|
</${e}>
|
|
1950
|
-
`}}vr.styles=[...ea.styles,gr],e([Ee({slot:"upper",flatten:!0})],vr.prototype,"_upperNode",void 0),e([
|
|
1950
|
+
`}}vr.styles=[...ea.styles,gr],e([Ee({slot:"upper",flatten:!0})],vr.prototype,"_upperNode",void 0),e([Ve({type:Boolean,reflect:!0})],vr.prototype,"noPadding",void 0),lt("sgds-thumbnail-card",vr);var mr=n`:host([noPadding]) .card{background-color:inherit;border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent)}:host([orientation=vertical][noPadding]) .card-body{padding:var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-none)}:host([orientation=vertical][imagePosition=after][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-none)}:host([orientation=horizontal][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-none) var(--sgds-padding-xl)}:host([orientation=horizontal][imagePosition=after][noPadding]) .card-body{padding:var(--sgds-padding-none) var(--sgds-padding-xl) var(--sgds-padding-none) var(--sgds-padding-none)}:host([tinted]:not([noPadding])) .card-tinted-bg{background-color:var(--sgds-bg-translucent-subtle);opacity:var(--sgds-opacity-50)}:host([orientation][noPadding]) .card-media{padding:var(--sgds-padding-none)}`;class fr extends ea{constructor(){super(...arguments),this.noPadding=!1}get linkSlotItems(){if(!this.linkNode||0===this.linkNode.length)return null;const e=this.linkNode[0];return e.querySelector("a")||e}get footerSlotItems(){if(!this.footerNode||0===this.footerNode.length)return null;const e=this.footerNode[0];return e.querySelector("a")||e}firstUpdated(e){var t,s;if(super.firstUpdated(e),0===this._iconNode.length&&("vertical"===this.orientation&&0===this._upperNode.length||"horizontal"===this.orientation)){const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelector(".card-media");e&&(e.style.display="none");const i=null===(s=this.shadowRoot)||void 0===s?void 0:s.querySelector(".card-body");i&&this.noPadding&&(i.style.padding="0px")}if(this.stretchedLink){const e=this.footerSlotItems,t=this.linkSlotItems;this._forwardAnchorAttributes((null==e?void 0:e.href)?e:t)}}render(){const e=this.stretchedLink?pt`a`:pt`div`,t=!this.stretchedLink||this.disabled?-1:0;return gt`
|
|
1951
1951
|
<${e}
|
|
1952
1952
|
class="${We({card:!0,disabled:this.disabled})}"
|
|
1953
1953
|
tabindex=${t}
|
|
@@ -1973,7 +1973,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
1973
1973
|
</slot>
|
|
1974
1974
|
</div>
|
|
1975
1975
|
</${e}>
|
|
1976
|
-
`}}fr.styles=[...ea.styles,mr],e([Ee({slot:"icon",flatten:!0})],fr.prototype,"_iconNode",void 0),e([Ee({slot:"upper",flatten:!0})],fr.prototype,"_upperNode",void 0),e([De({slot:"footer"})],fr.prototype,"footerNode",void 0),e([De({slot:"link"})],fr.prototype,"linkNode",void 0),e([
|
|
1976
|
+
`}}fr.styles=[...ea.styles,mr],e([Ee({slot:"icon",flatten:!0})],fr.prototype,"_iconNode",void 0),e([Ee({slot:"upper",flatten:!0})],fr.prototype,"_upperNode",void 0),e([De({slot:"footer"})],fr.prototype,"footerNode",void 0),e([De({slot:"link"})],fr.prototype,"linkNode",void 0),e([Ve({type:Boolean,reflect:!0})],fr.prototype,"noPadding",void 0),lt("sgds-icon-card",fr);var br=n`.sidebar{display:flex;flex-direction:column;height:100%;position:relative;transition:width var(--sgds-motion-duration-standard) var(--sgds-motion-easing-standard);width:var(--sgds-dimension-288);z-index:var(--sgds-z-index-sticky)}.sidebar:not(.overlay).sidebar--collapsed{width:var(--sgds-dimension-72)}.overlay{left:0;position:absolute;top:0}.overlay.sidebar--collapsed{width:var(--sgds-dimension-0)}.sidebar-top{align-items:center;display:flex;gap:var(--sgds-gap-md);justify-content:space-between;padding:0 var(--sgds-padding-xs)}:not(.overlay).sidebar--collapsed .sidebar-brand-name{display:none}:not(.overlay).sidebar--collapsed .sidebar-top{justify-content:center}.sidebar-main{background-color:var(--sgds-surface-default);border-right:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--sgds-padding-lg) 0;position:relative;z-index:1}.overlay .sidebar-main{left:0;transition:left var(--sgds-motion-duration-standard) var(--sgds-motion-easing-standard)}.overlay.sidebar--collapsed .sidebar-main{left:calc(var(--sgds-dimension-288)*-1)}.sidebar-wrapper{display:flex;flex-direction:column;height:100%;justify-content:space-between}.sidebar-content{display:flex;flex:1;flex-direction:column;gap:var(--sgds-gap-md);margin-top:var(--sgds-margin-lg);overflow-y:auto}slot[name=lower]::slotted(*){margin-top:var(--sgds-margin-lg)}.sidebar-nested-overlay{background-color:var(--sgds-surface-raised);overflow-y:auto;padding:var(--sgds-padding-md) var(--sgds-padding-xs);transition:all var(--sgds-motion-duration-standard) var(--sgds-motion-easing-standard);transition-property:opacity left;width:var(--sgds-dimension-288);z-index:0}.sidebar--overlay,.sidebar-nested-overlay{bottom:0;left:0;opacity:0;pointer-events:none;position:absolute;top:0}.sidebar--overlay{background-color:var(--sgds-bg-overlay);content:"";transition:all var(--sgds-motion-duration-standard) var(--sgds-motion-easing-standard);width:100vw}.sidebar--overlay.show{opacity:1;pointer-events:unset}.sidebar-nested-overlay.show{border-right:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);left:var(--sgds-dimension-288);opacity:1;pointer-events:auto}:not(.overlay).sidebar--collapsed .sidebar-nested-overlay.show{left:var(--sgds-dimension-72)}.sidebar-nested-overlay sgds-icon-button{display:none}.sidebar::-webkit-scrollbar{width:var(--sgds-dimension-2)}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:var(--sgds-border-color-muted);border-radius:var(--sgds-border-radius-xs)}.sidebar::-webkit-scrollbar-thumb:hover{background:var(--sgds-color-subtle)}@media screen and (max-width:767px){.sidebar-nested-overlay sgds-icon-button{display:block}.sidebar,.sidebar-nested-overlay{width:var(--sgds-dimension-256)}.sidebar-nested-overlay,.sidebar-nested-overlay.show{left:var(--sgds-dimension-256)}}@media screen and (max-width:511px){.sidebar--overlay{display:none}.sidebar{position:absolute;width:100dvw}.sidebar-nested-overlay{left:-100dvw;width:100dvw;z-index:2}.sidebar-nested-overlay.show,:not(.overlay).sidebar--collapsed .sidebar-nested-overlay.show{left:0}.overlay.sidebar--collapsed .sidebar-main{left:calc(100dvw*-1)}}`;const wr="sidebar-active-group",yr="sidebar-active",_r="sidebar-collapsed",xr="sidebar-drawer-items",kr="sidebar-drawer-open",Cr="sidebar-drawer-overlay";var $r=n`.sidebar-item{border-radius:var(--sgds-border-radius-md);cursor:pointer;padding:var(--sgds-padding-xs);transition:background-color .15s ease-in-out,color .15s ease-in-out}.sidebar-item.active,.sidebar-item:focus-visible,.sidebar-item:hover{background-color:var(--sgds-bg-translucent-subtle)}.sidebar-item:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.sidebar-item-label-wrapper,.sidebar-item-label-wrapper>div{align-items:center;display:flex;gap:var(--sgds-gap-xs)}.sidebar-item-label-wrapper{justify-content:space-between;padding:var(--sgds-padding-3-xs) var(--sgds-padding-2-xs)}.sidebar-item-label{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;display:-webkit-box;font-size:var(--sgds-font-size-label-sm);line-height:var(--sgds-line-height-2-xs);max-height:calc(var(--sgds-line-height-20, 20px)*2);overflow:hidden}.sidebar-item-label.offset{color:var(--sgds-color-subtle);margin-left:var(--sgds-margin-2-xl)}.sidebar-item-leaf.active .sidebar-item-label.offset,.sidebar-item-leaf:focus-visible .sidebar-item-label.offset,.sidebar-item-leaf:hover .sidebar-item-label.offset{color:var(--sgds-color-default)}.sidebar-item-leaf.active,.sidebar-item-leaf:focus-visible,.sidebar-item-leaf:hover{background-color:var(--sgds-bg-translucent-subtle)}.sidebar-item-label-wrapper .sidebar-item.active{background-color:var(--sgds-surface-raised);color:var(--sgds-primary-color-default)}.sidebar-item-label-wrapper .sidebar-item-indicator{align-items:center;display:flex;gap:var(--sgds-gap-2-xs)}.sidebar-item--collapsed{margin:auto;width:var(--sgds-dimension-40)}.sidebar-item--collapsed .sidebar-item-indicator,.sidebar-item--collapsed .sidebar-item-label{display:none}.sidebar-item--collapsed .sidebar-item-label-wrapper{justify-content:center}.sidebar-submenu{overflow:hidden}.sidebar-submenu>div{margin-top:-100%;opacity:0;pointer-events:none;transition:all var(--sgds-motion-duration-standard) var(--sgds-motion-easing-standard)}.sidebar-submenu.show>div{margin-top:0;opacity:1;pointer-events:auto}.sidebar-submenu--collapsed{display:none}`;class Sr extends Be{constructor(){super(...arguments),this.title="",this.name="",this._sidebarCollapsed=!1,this._sidebarActiveItem=null,this._sidebarActiveGroup=null,this._drawerItems=null,this._showDrawer=!1,this._isOverlay=!1,this._childLevel=1,this._selected=!1,this._hidden=!1,this._childElements=[],this._childActive=!1}connectedCallback(){super.connectedCallback(),this._getChildLevel(),this.addEventListener("keydown",this._handleKeyDown)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this._handleKeyDown)}firstUpdated(e){super.firstUpdated(e),this._getChildLevel()}updated(){var e;if(2===this._childLevel)this._hidden=!this.closest(".sidebar-nested-overlay");else if(this._childLevel>=3){const t=!!this.closest(".sidebar-nested-overlay"),s=this.parentElement,i=null!==(e=null==s?void 0:s.showMenu)&&void 0!==e&&e;this._hidden=!t||!i}}_handleSlotChange(){this._childElements=this._defaultNodes}_handleClick(){this.emit("i-sgds-click",{detail:{element:this,level:this._childLevel}})}_handleKeyDown(e){var t,s;const i=e.target;switch(e.key){case" ":case"Enter":return e.preventDefault(),e.stopPropagation(),void(e.target===this&&this._handleClick());case"ArrowLeft":if(e.preventDefault(),e.stopPropagation(),this._sidebarActiveGroup===this)this._showDrawer&&this._handleClick();else{if(i._childLevel>=2&&(null===(t=this._sidebarActiveGroup)||void 0===t?void 0:t.shadowRoot)){const e=this._sidebarActiveGroup.shadowRoot.querySelector("[tabindex]");null==e||e.focus()}}return;case"ArrowRight":if(e.preventDefault(),e.stopPropagation(),this._sidebarActiveGroup===this){if(null===(s=this._drawerItems)||void 0===s?void 0:s.length)if(this._showDrawer){const e=this._drawerItems[0];if(null==e?void 0:e.shadowRoot){const t=e.shadowRoot.querySelector("[tabindex]");null==t||t.focus()}}else this._handleClick()}else 1===this._childLevel&&this._childElements.length>0&&this._handleClick();return}}_getChildLevel(){let e=this.parentElement,t=1;for(;"sgds-sidebar-group"===(null==e?void 0:e.tagName.toLowerCase());)t+=1,e=e.parentElement;const s=null==e?void 0:e.classList.contains("sidebar-nested-overlay");this._childLevel=s?t+1:t}}Sr.styles=Vi.styles,e([Ve({type:String,reflect:!0})],Sr.prototype,"title",void 0),e([Ve({type:String,reflect:!0})],Sr.prototype,"name",void 0),e([Ao({context:_r,subscribe:!0}),ze()],Sr.prototype,"_sidebarCollapsed",void 0),e([Ao({context:yr,subscribe:!0}),ze()],Sr.prototype,"_sidebarActiveItem",void 0),e([Ao({context:wr,subscribe:!0}),ze()],Sr.prototype,"_sidebarActiveGroup",void 0),e([Ao({context:xr,subscribe:!0}),ze()],Sr.prototype,"_drawerItems",void 0),e([Ao({context:kr,subscribe:!0}),ze()],Sr.prototype,"_showDrawer",void 0),e([Ao({context:Cr,subscribe:!0}),ze()],Sr.prototype,"_isOverlay",void 0),e([ze()],Sr.prototype,"_childLevel",void 0),e([ze()],Sr.prototype,"_selected",void 0),e([ze()],Sr.prototype,"_hidden",void 0),e([ze()],Sr.prototype,"_childElements",void 0),e([ze()],Sr.prototype,"_childActive",void 0),e([De({flatten:!0})],Sr.prototype,"_defaultNodes",void 0);class Mr extends Sr{constructor(){super(...arguments),this._showMenu=!1}get showMenu(){return this._showMenu}_handleActiveItemContext(){this._childLevel>1&&this._sidebarActiveItem&&this.contains(this._sidebarActiveItem)&&(this._showMenu=!0)}_handleClick(){1!==this._childLevel?(this._showMenu=!this._showMenu,this._childElements.forEach(e=>{e._hidden=!this._showMenu})):super._handleClick()}_getIcon(){return 1===this._childLevel?"chevron-right":this._showMenu?"chevron-down":"chevron-up"}_handleSlotChange(){super._handleSlotChange(),this._childElements.forEach(e=>{e._hidden=!this._showMenu})}render(){return ee`
|
|
1977
1977
|
<div
|
|
1978
1978
|
role="button"
|
|
1979
1979
|
class=${We({"sidebar-item":!0,"sidebar-item--collapsed":!this._isOverlay&&this._sidebarCollapsed&&1===this._childLevel,active:this._selected})}
|
|
@@ -2002,7 +2002,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2002
2002
|
<slot @slotchange=${this._handleSlotChange}></slot>
|
|
2003
2003
|
</div>
|
|
2004
2004
|
</div>
|
|
2005
|
-
`}}Mr.styles=[...Be.styles,$r],Mr.dependencies={"sgds-icon":_t},e([
|
|
2005
|
+
`}}Mr.styles=[...Be.styles,$r],Mr.dependencies={"sgds-icon":_t},e([ze()],Mr.prototype,"_showMenu",void 0),e([ot("_sidebarActiveItem")],Mr.prototype,"_handleActiveItemContext",null);class Zr extends Be{constructor(){super(...arguments),this.collapsed=!1,this.active="",this.scrim=!1,this.variant="collapsible",this.ariaLabel="Sidebar navigation",this._sidebarActiveGroup=null,this._sidebarCollapsed=!1,this._sidebarActiveItem=null,this._drawerItems=[],this._showDrawer=!1,this._isOverlay=!1,this._isNarrowViewport=!1,this._boundHandleResize=this._handleResize.bind(this),this._boundHandleItemClick=this._handleItemClick.bind(this),this._handleClickOutOfElement=e=>{if((e.composedPath().find(e=>{var t;return null===(t=null==e?void 0:e.classList)||void 0===t?void 0:t.contains("sidebar--overlay")})||!e.composedPath().includes(this))&&(this._showDrawer=!1,this._isOverlay)){e.target.getAttribute("data-sidebar-toggler")||(this.collapsed=!0)}}}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this._handleActive()}),null===window||void 0===window||window.addEventListener("resize",this._boundHandleResize),this._handleResize(),this.addEventListener("i-sgds-click",this._boundHandleItemClick)}disconnectedCallback(){super.disconnectedCallback(),null===document||void 0===document||document.removeEventListener("click",this._handleClickOutOfElement),null===window||void 0===window||window.removeEventListener("resize",this._boundHandleResize),this.removeEventListener("i-sgds-click",this._boundHandleItemClick)}firstUpdated(){null===document||void 0===document||document.addEventListener("click",this._handleClickOutOfElement),this._updateOverlayState()}updated(){this._handleActive()}_handleCollapsed(){"persistent"!==this.variant&&(this._sidebarCollapsed=this.collapsed)}_handleActiveItem(e){if(!this._sidebarActiveItem)return;this._getAllItems().forEach(e=>e._selected=!1),this._drawerItems.forEach(e=>e._selected=!1),e&&(e._selected=!1);const t=this._sidebarActiveItem._childLevel;if(this._sidebarActiveItem._selected=!0,1===t)this._sidebarActiveItem._childElements.length>0?this._setNodesToDrawer(this._sidebarActiveItem):this._revertNodesToParent();else{let e=this._sidebarActiveItem.parentElement;for(;e instanceof Mr&&e._childLevel>=1;)1===e._childLevel&&(e.classList.contains("sidebar-nested-overlay")||this._setNodesToDrawer(e)),e._selected=!0,e=e.parentElement;this._sidebarActiveGroup&&(this._sidebarActiveGroup._selected=!0)}}_handleActive(){this.active?this._sidebarActiveItem=this._getActiveChild():this._sidebarActiveItem=null}_getActiveChild(){var e;const t=e=>{var s;for(const i of e){if(i.name===this.active)return i;if(null===(s=i._childElements)||void 0===s?void 0:s.length){const e=t(i._childElements);if(e)return e}}return null};return null!==(e=t(this._defaultNodes))&&void 0!==e?e:t(this._drawerItems)}_handleResize(){const e=window.innerWidth<1280;e!==this._isNarrowViewport&&(this._isNarrowViewport=e,this.collapsed=this._isNarrowViewport),this._updateOverlayState()}_updateOverlayState(){"overlay"===this.variant?this._isOverlay=!0:"collapsible"===this.variant?this._isOverlay=window.innerWidth<Io:this._isOverlay=!1}_setNodesToDrawer(e){e&&(this._sidebarActiveGroup&&e!==this._sidebarActiveGroup&&this._revertNodesToParent(),this._sidebarActiveGroup=e,this._drawerItems=[...this._sidebarActiveGroup._childElements])}_revertNodesToParent(){this._sidebarActiveGroup&&(this._drawerItems.forEach(e=>{var t;null===(t=this._sidebarActiveGroup)||void 0===t||t.append(e)}),this._drawerItems=[]),this._sidebarActiveGroup=null}_getAllItems(){var e;const t=e=>{var s;const i=[];for(const a of e)i.push(a),(null===(s=a._childElements)||void 0===s?void 0:s.length)&&i.push(...t(a._childElements));return i};return t(null!==(e=this._defaultNodes)&&void 0!==e?e:[])}_handleItemClick(e){const t=e.detail.element;if(t===this._sidebarActiveGroup)this._showDrawer=!this._showDrawer;else{if(this.active!==t.name){const e=this._getAllItems();this.active=t.name,e.forEach(e=>e._selected=!1)}if(t._childElements.length>0)this._showDrawer=!0;else{this._showDrawer=!1;const e=t.querySelector(":scope > a");e&&e.click()}this.emit("sgds-select",{detail:{activeItem:t.name}})}}toggleCollapsed(){"persistent"!==this.variant&&(this.collapsed=!this.collapsed)}render(){return ee`
|
|
2006
2006
|
<nav
|
|
2007
2007
|
class=${We({sidebar:!0,"sidebar--collapsed":this._sidebarCollapsed,overlay:this._isOverlay})}
|
|
2008
2008
|
aria-label=${this.ariaLabel}
|
|
@@ -2050,7 +2050,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2050
2050
|
${this._drawerItems}
|
|
2051
2051
|
</div>
|
|
2052
2052
|
</nav>
|
|
2053
|
-
`}}Zr.styles=[...Be.styles,br],Zr.dependencies={"sgds-icon-button":Ya},e([
|
|
2053
|
+
`}}Zr.styles=[...Be.styles,br],Zr.dependencies={"sgds-icon-button":Ya},e([Ve({type:Boolean,reflect:!0})],Zr.prototype,"collapsed",void 0),e([Ve({type:String,reflect:!0})],Zr.prototype,"active",void 0),e([Ve({type:Boolean,reflect:!0})],Zr.prototype,"scrim",void 0),e([Ve({type:String,reflect:!0})],Zr.prototype,"variant",void 0),e([Ve({type:String})],Zr.prototype,"ariaLabel",void 0),e([Po({context:wr}),ze()],Zr.prototype,"_sidebarActiveGroup",void 0),e([Po({context:_r}),ze()],Zr.prototype,"_sidebarCollapsed",void 0),e([Po({context:yr}),ze()],Zr.prototype,"_sidebarActiveItem",void 0),e([Po({context:xr}),ze()],Zr.prototype,"_drawerItems",void 0),e([Po({context:kr}),ze()],Zr.prototype,"_showDrawer",void 0),e([Po({context:Cr}),ze()],Zr.prototype,"_isOverlay",void 0),e([De()],Zr.prototype,"_defaultNodes",void 0),e([ze()],Zr.prototype,"_isNarrowViewport",void 0),e([ot("collapsed")],Zr.prototype,"_handleCollapsed",null),e([ot("_sidebarActiveItem")],Zr.prototype,"_handleActiveItem",null),e([ot("active")],Zr.prototype,"_handleActive",null);class Vr extends Sr{render(){return ee`
|
|
2054
2054
|
<div
|
|
2055
2055
|
class=${We({"sidebar-item":!0,"sidebar-item--collapsed":!this._isOverlay&&this._sidebarCollapsed&&1===this._childLevel,"sidebar-item-leaf":this._childLevel>2,active:this._selected})}
|
|
2056
2056
|
@click=${()=>this._handleClick()}
|
|
@@ -2075,7 +2075,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2075
2075
|
</span>`:ie}
|
|
2076
2076
|
</div>
|
|
2077
2077
|
</div>
|
|
2078
|
-
`}}
|
|
2078
|
+
`}}Vr.styles=[...Be.styles,$r];var zr=n`.sidebar-section{display:flex;flex-direction:column}.sidebar-section-label{align-items:center;border-radius:var(--sgds-border-radius-md);color:var(--sgds-label-color-subtle);cursor:pointer;display:flex;font-size:var(--sgds-font-size-label-xs);gap:var(--sgds-gap-2-xs);line-height:var(--sgds-line-height-2-xs);padding:var(--sgds-padding-xs) var(--sgds-padding-sm)}.sidebar-section-label--collapsible{cursor:pointer}.sidebar-section-label--collapsible:focus-visible,.sidebar-section-label--collapsible:hover{color:var(--sgds-label-color-default)}.sidebar-section-label--collapsible:focus-visible{outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.sidebar-section--collapsed .sidebar-section-label{height:0;margin:0;opacity:0;overflow:hidden;padding:0;pointer-events:none;width:0}.sidebar-section-content{overflow:hidden;padding:0 var(--sgds-padding-xs)}.sidebar-section-content>div{margin-top:0;pointer-events:auto;transition:all var(--sgds-motion-duration-slow) var(--sgds-motion-easing-standard)}.sidebar-section-content.sidebar-section-content--collapsed>div{margin-top:-100%;pointer-events:none}.sidebar-section--collapsed .sidebar-section-content--collapsed>div{margin-top:0}.sidebar-section-separator{margin-bottom:var(--sgds-margin-md)}`;class Pr extends Sr{constructor(){super(...arguments),this.title="",this.collapsed=!1,this.collapsible=!1,this.separator=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group"),this._childLevel=-1}updated(){super.updated(),this.title?this.setAttribute("aria-label",this.title):this.removeAttribute("aria-label")}_handleClick(){this.collapsible&&(this.collapsed=!this.collapsed,this._childElements.forEach(e=>{e._hidden=this.collapsed}))}_handleSlotChange(){super._handleSlotChange(),this._childElements.forEach(e=>{e._hidden=this.collapsed})}render(){return ee`
|
|
2079
2079
|
<div
|
|
2080
2080
|
class=${We({"sidebar-section":!0,"sidebar-section--collapsed":!this._isOverlay&&this._sidebarCollapsed})}
|
|
2081
2081
|
>
|
|
@@ -2101,14 +2101,108 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2101
2101
|
|
|
2102
2102
|
${this.separator?ee`<sgds-divider></sgds-divider>`:ie}
|
|
2103
2103
|
</div>
|
|
2104
|
-
`}}
|
|
2104
|
+
`}}Pr.styles=[...Be.styles,zr],Pr.dependencies={"sgds-icon":_t,"sgds-divider":ho},e([Ve({type:String,reflect:!0})],Pr.prototype,"title",void 0),e([Ve({type:Boolean,reflect:!0})],Pr.prototype,"collapsed",void 0),e([Ve({type:Boolean,reflect:!0})],Pr.prototype,"collapsible",void 0),e([Ve({type:Boolean,reflect:!0})],Pr.prototype,"separator",void 0),customElements.define("sgds-sidebar",Zr),customElements.define("sgds-sidebar-item",Vr),customElements.define("sgds-sidebar-section",Pr),customElements.define("sgds-sidebar-group",Mr);var Ar=n`:host{display:contents}:host([layout=fixed]) .table{table-layout:fixed}.table{border-collapse:collapse;display:table;table-layout:auto;width:100%}.data-table{border:var(--sgds-border-width-1) solid;border-color:var(--sgds-border-color-muted);border-radius:var(--sgds-border-radius-md);display:flex;flex-direction:column;min-height:var(--sgds-dimension-56)}.footer{justify-content:space-between;padding:var(--sgds-padding-sm) var(--sgds-padding-lg)}.footer,.loading{align-items:center;display:flex}.loading{border-top:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);justify-content:center;min-height:var(--sgds-dimension-128);padding:var(--sgds-padding-sm) var(--sgds-padding-md)}.loading .loading-menu{gap:var(--sgds-gap-xs);pointer-events:none}.loading .loading-menu,.no-data{align-items:center;color:var(--sgds-text-color-subtle);display:flex}.no-data{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);justify-content:center;min-height:var(--sgds-dimension-128);padding:var(--sgds-padding-sm) var(--sgds-padding-md)}.active:not(.sort-icon),tr:hover:not([data-header-row]){background-color:var(--sgds-bg-translucent-subtle);transition:background-color .15s ease}td,th{border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);vertical-align:middle}.data-table-cell,.data-table-head{align-items:center;display:flex;min-height:var(--sgds-dimension-56);padding:var(--sgds-padding-sm) var(--sgds-padding-md)}.data-table-head{font-weight:var(--sgds-font-weight-semibold);gap:var(--sgds-gap-2-xs)}.sort,.sort-button{align-items:center;display:inline-flex}.sort-button{background-color:var(--sgds-bg-transparent);border:var(--sgds-border-width-1) solid var(--sgds-border-color-transparent);border-radius:var(--sgds-form-border-radius-md);color:var(--sgds-color-subtle);cursor:pointer;height:var(--sgds-dimension-24);justify-content:center;padding:0;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:var(--sgds-dimension-24)}.sort-button:hover{background-color:var(--sgds-bg-translucent-subtle);color:var(--sgds-color-default)}.sort-button:focus,.sort-button:focus-visible{background-color:var(--sgds-bg-translucent-subtle);border-color:transparent;outline:var(--sgds-outline-focus);outline-offset:var(--sgds-outline-offset-focus)}.sort-button:disabled{background-color:var(--sgds-bg-transparent);color:var(--sgds-color-muted);cursor:not-allowed}.sort-button.active{background-color:var(--sgds-primary-surface-translucent);color:var(--sgds-primary-color-default)}.sort-icon{display:inline-flex}.data-table-cell.align-right,.data-table-head.align-right{justify-content:flex-end;text-align:right}.control-cell{width:var(--sgds-dimension-56)}:host(.checkbox-cell) .data-table-cell,:host(.checkbox-cell) .data-table-head{padding:var(--sgds-padding-sm) var(--sgds-padding-md)}:host(.expand-cell) .data-table-cell{cursor:pointer;padding:var(--sgds-padding-md)}.expandable-td{border:0;padding:0}.expandable-content{background-color:var(--sgds-surface-raised);border-bottom:var(--sgds-border-width-1) solid var(--sgds-border-color-muted);padding:var(--sgds-padding-2-xl);padding-left:var(--sgds-padding-4-xl)}.hidden{display:none}`;class Lr extends Be{render(){return ee`<slot></slot>`}}Lr.styles=[...Be.styles,n`
|
|
2105
|
+
:host {
|
|
2106
|
+
display: contents;
|
|
2107
|
+
}
|
|
2108
|
+
`],e([Ve({type:Number,reflect:!0})],Lr.prototype,"colspan",void 0),e([Ve({type:Number,reflect:!0})],Lr.prototype,"rowspan",void 0);class Ir extends Be{constructor(){super(...arguments),this.textAlign="left",this.sorting=!1,this.sortKey=""}handleSortClick(){if(!this.sorting)return;const e="ascending"===this.ariasort?"descending":"descending"===this.ariasort?"none":"ascending";this.ariasort=e,this.emit("i-sgds-sort",{detail:{key:this.sortKey,direction:e},bubbles:!0,composed:!0})}render(){return ee`<slot></slot>`}}Ir.styles=[...Be.styles,n`
|
|
2109
|
+
:host {
|
|
2110
|
+
display: contents;
|
|
2111
|
+
}
|
|
2112
|
+
`],e([Ve({type:String,reflect:!0})],Ir.prototype,"width",void 0),e([Ve({type:Number,reflect:!0})],Ir.prototype,"colspan",void 0),e([Ve({type:Number,reflect:!0})],Ir.prototype,"rowspan",void 0),e([Ve({type:String,reflect:!0})],Ir.prototype,"textAlign",void 0),e([Ve({type:String,reflect:!0})],Ir.prototype,"ariasort",void 0),e([Ve({type:Boolean,reflect:!0})],Ir.prototype,"sorting",void 0),e([Ve({type:String,reflect:!0})],Ir.prototype,"sortKey",void 0);class Dr extends Be{constructor(){super(...arguments),this.rowData={},this.expand=!1,this.open=!1,this.checked=!1,this.showCheckbox=!1,this.showExpandPlaceholder=!1,this.columnAlignments=[],this.hasDataRows=!1,this._isHeaderRow=!1,this._cellSlotNames=new WeakMap}get checkbox(){var e;return null!==(e=this._checkboxEl)&&void 0!==e?e:null}connectedCallback(){super.connectedCallback(),this._lightDomObserver=new MutationObserver(()=>this._handleLightDomChange()),this._lightDomObserver.observe(this,{childList:!0}),this._handleLightDomChange()}disconnectedCallback(){var e;null===(e=this._lightDomObserver)||void 0===e||e.disconnect(),super.disconnectedCallback()}firstUpdated(){this._expandableBody&&(this._expandableBody.hidden=!this.open)}async handleExpandedChange(){if(this.open){if(this.emit("sgds-show",{cancelable:!0}).defaultPrevented)return void(this.open=!1);await Qe(this._expandableBody),this._expandableBody.hidden=!1;const{keyframes:e,options:t}=st(this,"row.expand.show");await Ge(this._expandableBody,Xe(e,this._expandableBody.scrollHeight),t),this.emit("sgds-after-show")}else{if(this.emit("sgds-hide",{cancelable:!0}).defaultPrevented)return void(this.open=!0);await Qe(this._expandableBody);const{keyframes:e,options:t}=st(this,"row.expand.hide");await Ge(this._expandableBody,Xe(e,this._expandableBody.scrollHeight),t),this._expandableBody.hidden=!0,this.emit("sgds-after-hide")}}async handleCheckedChange(){this.checked&&this.emit("i-sgds-change",{detail:{checked:!0}})}async show(){if(!this.open)return this.open=!0,at(this,"sgds-after-show")}async hide(){if(this.open)return this.open=!1,at(this,"sgds-after-hide")}getCellText(e){var t;const s=this._getCells().filter(e=>e instanceof Lr),i=s[e];return i?(null!==(t=i.textContent)&&void 0!==t?t:"").trim():""}_getCells(){return Array.from(this.children).filter(e=>e instanceof Lr||e instanceof Ir)}_syncCellSlots(e){e.forEach(t=>{const s=`cell-${e.indexOf(t)}`;this._cellSlotNames.set(t,s),t.getAttribute("slot")!==s&&t.setAttribute("slot",s)})}_handleLightDomChange(){const e=this._getCells();this._syncCellSlots(e),this._isHeaderRow=e.some(e=>e instanceof Ir),this.requestUpdate()}_onCheckboxChange(e){this.emit("i-sgds-change",{detail:{checked:e.target.checked}})}_toggleExpand(){this.open?this.hide():this.show()}_onExpandKeyDown(e){"Enter"===e.key&&(e.preventDefault(),this._toggleExpand())}_onSortKeyDown(e,t){"Enter"===e.key&&(e.preventDefault(),t.handleSortClick())}_renderCell(e,t){var s;const i=this._cellSlotNames.get(e);if(e instanceof Ir)return ee`<th
|
|
2113
|
+
width=${Ke(e.width)}
|
|
2114
|
+
colspan=${Ke(e.colspan)}
|
|
2115
|
+
rowspan=${Ke(e.rowspan)}
|
|
2116
|
+
aria-sort=${Ke(e.ariasort)}
|
|
2117
|
+
scope="col"
|
|
2118
|
+
tabindex=${Ke(e.sorting?"0":void 0)}
|
|
2119
|
+
?data-sorting=${e.sorting}
|
|
2120
|
+
@click=${e.sorting?()=>e.handleSortClick():ie}
|
|
2121
|
+
@keydown=${e.sorting?t=>this._onSortKeyDown(t,e):ie}
|
|
2122
|
+
>
|
|
2123
|
+
<div class="data-table-head ${"right"===e.textAlign?"align-right":"align-left"}">
|
|
2124
|
+
${i?ee`<slot name=${i}></slot>`:ie}
|
|
2125
|
+
${e.sorting?ee`
|
|
2126
|
+
<button
|
|
2127
|
+
type="button"
|
|
2128
|
+
class="sort-button ${"none"===e.ariasort?"":"active"}"
|
|
2129
|
+
aria-label=${"descending"===e.ariasort?"Sort descending":"Sort ascending"}
|
|
2130
|
+
?disabled=${!this.hasDataRows}
|
|
2131
|
+
>
|
|
2132
|
+
<sgds-icon
|
|
2133
|
+
class="sort-icon"
|
|
2134
|
+
name=${"descending"===e.ariasort?"sort-descending":"sort-ascending"}
|
|
2135
|
+
size="sm"
|
|
2136
|
+
></sgds-icon>
|
|
2137
|
+
</button>
|
|
2138
|
+
`:ie}
|
|
2139
|
+
</div>
|
|
2140
|
+
</th>`;const a=null!==(s=this.columnAlignments[t])&&void 0!==s?s:"left";return ee`<td colspan=${Ke(e.colspan)} rowspan=${Ke(e.rowspan)}>
|
|
2141
|
+
<div class="data-table-cell ${"right"===a?"align-right":"align-left"}">
|
|
2142
|
+
${i?ee`<slot name=${i}></slot>`:ie}
|
|
2143
|
+
</div>
|
|
2144
|
+
</td>`}_renderExpandCell(){return this._isHeaderRow?ee`<th class="control-cell" scope="col"></th>`:ee`<td class="control-cell" @click=${this._toggleExpand} @keydown=${this._onExpandKeyDown} tabindex="0">
|
|
2145
|
+
<div class="data-table-cell expand-cell">
|
|
2146
|
+
<sgds-icon name=${this.open?"chevron-up":"chevron-down"} size="md"></sgds-icon>
|
|
2147
|
+
</div>
|
|
2148
|
+
</td>`}_renderExpandPlaceholder(){return this._isHeaderRow?ee`<th class="control-cell" scope="col"></th>`:ee`<td class="control-cell"></td>`}_renderCheckboxCell(){return this._isHeaderRow?ee`<th class="control-cell" scope="col">
|
|
2149
|
+
<div class="data-table-cell checkbox-cell">
|
|
2150
|
+
<sgds-checkbox .checked=${this.checked} @sgds-change=${this._onCheckboxChange}></sgds-checkbox>
|
|
2151
|
+
</div>
|
|
2152
|
+
</th>`:ee`<td class="control-cell">
|
|
2153
|
+
<div class="data-table-cell checkbox-cell">
|
|
2154
|
+
<sgds-checkbox .checked=${this.checked} @sgds-change=${this._onCheckboxChange}></sgds-checkbox>
|
|
2155
|
+
</div>
|
|
2156
|
+
</td>`}render(){const e=this._getCells(),t=e.length+(this.showCheckbox?1:0)+(this.expand||this.showExpandPlaceholder?1:0),s=this._isHeaderRow?"row row-header":"row row-body";return ee`
|
|
2157
|
+
<tr part=${s} ?data-header-row=${this._isHeaderRow} class=${this.open?"active":""}>
|
|
2158
|
+
${this.expand?this._renderExpandCell():this.showExpandPlaceholder?this._renderExpandPlaceholder():ie}
|
|
2159
|
+
${this.showCheckbox?this._renderCheckboxCell():ie}
|
|
2160
|
+
${(()=>{let t=0;return e.map(e=>{const s=this._renderCell(e,t),i=Number(e.colspan)>0?Number(e.colspan):1;return t+=i,s})})()}
|
|
2161
|
+
</tr>
|
|
2162
|
+
|
|
2163
|
+
${this.expand?ee`
|
|
2164
|
+
<tr class="expandable-row">
|
|
2165
|
+
<td colspan=${t} class="expandable-td">
|
|
2166
|
+
<div class="expandable-body">
|
|
2167
|
+
<div class="expandable-content">
|
|
2168
|
+
<slot name="content"></slot>
|
|
2169
|
+
</div>
|
|
2170
|
+
</div>
|
|
2171
|
+
</td>
|
|
2172
|
+
</tr>
|
|
2173
|
+
`:ie}
|
|
2174
|
+
`}}Dr.styles=[...Be.styles,Ar],Dr.dependencies={"sgds-checkbox":ya,"sgds-data-table-cell":Lr,"sgds-data-table-head":Ir,"sgds-icon":_t},e([Ve({type:Object,reflect:!0})],Dr.prototype,"rowData",void 0),e([Ve({type:Boolean,reflect:!0})],Dr.prototype,"expand",void 0),e([Ve({type:Boolean,reflect:!0})],Dr.prototype,"open",void 0),e([Ve({type:Boolean,reflect:!0})],Dr.prototype,"checked",void 0),e([Ve({type:Boolean})],Dr.prototype,"showCheckbox",void 0),e([Ve({type:Boolean})],Dr.prototype,"showExpandPlaceholder",void 0),e([Ve({attribute:!1})],Dr.prototype,"columnAlignments",void 0),e([Ve({type:Boolean})],Dr.prototype,"hasDataRows",void 0),e([Le(".expandable-body")],Dr.prototype,"_expandableBody",void 0),e([Le("sgds-checkbox")],Dr.prototype,"_checkboxEl",void 0),e([ze()],Dr.prototype,"_isHeaderRow",void 0),e([ot("open",{waitUntilFirstUpdate:!0})],Dr.prototype,"handleExpandedChange",null),e([ot("checked")],Dr.prototype,"handleCheckedChange",null),it("row.expand.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:250,easing:"ease-in-out"}}),it("row.expand.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:250,easing:"ease-in-out"}});class Er extends Be{constructor(){super(...arguments),this.multiSelect=!1,this.dataLength=0,this.currentPage=1,this.itemsPerPage=5,this.footerText="",this.hideFooter=!1,this.isLoading=!1,this.serverSort=!1,this.layout="auto",this.mode="client",this.tableRows=[],this.headerRows=[],this._headerCells=[],this._initialRowPositions=new WeakMap,this._hasCapturedInitialRowPositions=!1,this._rowHandlers=new WeakMap}connectedCallback(){super.connectedCallback(),this.setAttribute("role","table")}_isRowChecked(e){var t;return e.checked||!0===(null===(t=e.checkbox)||void 0===t?void 0:t.checked)}_updateHeaderCheckbox(){const e=this.tableRows.filter(e=>this._isRowChecked(e)).length,t=e===this.tableRows.length&&e>0;this.headerRows.forEach(s=>{s.checked=t,s.checkbox&&(s.checkbox.checked=t,s.checkbox.indeterminate=e>0&&!t)})}async _syncHeaderCheckboxAfterRender(){if(!this.multiSelect||0===this.headerRows.length)return;const e=[...this.headerRows,...this.tableRows];await Promise.all(e.map(e=>e.updateComplete)),this._updateHeaderCheckbox()}_emitRowSelect(){const e=this.tableRows.filter(e=>this._isRowChecked(e)).map(e=>e.rowData);this.emit("sgds-row-select",{detail:{selected:e}})}_attachRowListener(e){const t=this._rowHandlers.get(e);t&&e.removeEventListener("i-sgds-change",t);const s=t=>{const{checked:s}=t.detail;this.headerRows.includes(e)?this.tableRows.forEach(e=>{e.checked=s,e.checkbox&&(e.checkbox.checked=s)}):(e.checked=s,this._updateHeaderCheckbox()),this._emitRowSelect()};this._rowHandlers.set(e,s),e.addEventListener("i-sgds-change",s)}_configureRows(){const e=this.tableRows.some(e=>e.expand),t=this.tableRows.length>0;this.headerRows.forEach(s=>{s.showCheckbox=this.multiSelect,s.showExpandPlaceholder=e,s.hasDataRows=t,this.multiSelect&&this._attachRowListener(s)}),this.tableRows.forEach(t=>{t.showCheckbox=this.multiSelect,t.showExpandPlaceholder=!t.expand&&e,this.multiSelect&&this._attachRowListener(t)}),this.multiSelect&&this._syncHeaderCheckboxAfterRender(),this._applyColumnAlignment()}_applyColumnAlignment(){const e=this._headerCells.reduce((e,t)=>{var s;const i=Number(t.colspan)>0?Number(t.colspan):1,a=null!==(s=t.textAlign)&&void 0!==s?s:"left";for(let t=0;t<i;t++)e.push(a);return e},[]);this.headerRows.forEach(t=>{t.columnAlignments=[...e]}),this.tableRows.forEach(t=>{t.columnAlignments=[...e]})}_extractCellText(e,t){const s=e.getCellText(t);if(s)return s;const i=Array.from(e.children).filter(e=>"sgds-data-table-cell"===e.tagName.toLowerCase())[t];return((null==i?void 0:i.textContent)||"").trim()}_toComparableValue(e,t,s){return t&&e.rowData&&t in e.rowData?e.rowData[t]:this._extractCellText(e,s)}_compareValues(e,t,s){if(e===t)return 0;const i=Number(e),a=Number(t);if(Number.isFinite(i)&&Number.isFinite(a))return"ascending"===s?i-a:a-i;const o=String(e).localeCompare(String(t),void 0,{numeric:!0,sensitivity:"base"});return"ascending"===s?o:-o}_resetOtherHeaderSortStates(e){this._headerCells.forEach(t=>{t!==e&&t.sorting&&(t.ariasort="none")})}_getRowsInInitialPositionOrder(e){return[...e].sort((e,t)=>{const s=this._initialRowPositions.get(e),i=this._initialRowPositions.get(t);return void 0===s&&void 0===i?0:void 0===s?1:void 0===i?-1:s-i})}_captureInitialRowPositions(e){this._hasCapturedInitialRowPositions||(e.forEach((e,t)=>{this._initialRowPositions.set(e,t)}),this._hasCapturedInitialRowPositions=!0)}_handleSort(e){const t=e.composedPath().find(e=>e instanceof Ir);if(!t||!t.sorting)return;const{key:s,direction:i}=e.detail,a=t?this._headerCells.indexOf(t):-1;if(this._resetOtherHeaderSortStates(t),this.serverSort)return e.stopPropagation(),void this.emit("sgds-sort",{detail:{key:s,direction:i}});if(!(a<0)){if("none"===i)return this.tableRows=this._getRowsInInitialPositionOrder(this.tableRows),this._syncDomRowOrder(),void this._updateVisibleRows();if("client"===this.mode){const e=(this.currentPage-1)*this.itemsPerPage,t=e+this.itemsPerPage,o=[...this.tableRows],n=o.slice(e,t).sort((e,t)=>{const o=this._toComparableValue(e,s,a),n=this._toComparableValue(t,s,a);return this._compareValues(o,n,i)});return o.splice(e,n.length,...n),this.tableRows=o,this._syncDomRowOrder(),void this._updateVisibleRows()}this.tableRows=[...this.tableRows].sort((e,t)=>{const o=this._toComparableValue(e,s,a),n=this._toComparableValue(t,s,a);return this._compareValues(o,n,i)}),this._syncDomRowOrder(),this._updateVisibleRows()}}_syncDomRowOrder(){var e;const t=null===(e=this.tableRows[0])||void 0===e?void 0:e.parentElement;t&&this.tableRows.forEach(e=>t.appendChild(e))}_handleSlotChange(e){const t=e.target.assignedElements({flatten:!0}).filter(e=>e instanceof Dr),s=e=>Array.from(e.children).filter(e=>{const t=e.tagName.toLowerCase();return!("sgds-data-table-cell"!==t&&"sgds-data-table-head"!==t)&&"content"!==e.getAttribute("slot")});this.headerRows=t.filter(e=>s(e).some(e=>"sgds-data-table-head"===e.tagName.toLowerCase())),this.tableRows=t.filter(e=>{const t=s(e);return t.length>0&&t.every(e=>"sgds-data-table-cell"===e.tagName.toLowerCase())}),this._headerCells=this.headerRows.reduce((e,t)=>{const s=Array.from(t.children).filter(e=>e instanceof Ir);return e.push(...s),e},[]),this._captureInitialRowPositions(this.tableRows),this._headerCells.forEach(e=>{e.sorting&&!e.ariasort&&(e.ariasort="none")}),this._configureRows(),this._updateVisibleRows()}_updateVisibleRows(){if("server"===this.mode)return void this.tableRows.forEach(e=>e.style.display=this.isLoading?"none":"");const e=this.dataLength||this.tableRows.length,t=Math.max(1,Math.ceil(e/this.itemsPerPage));if(this.currentPage>t)return void(this.currentPage=t);const s=(this.currentPage-1)*this.itemsPerPage,i=new Set(this.tableRows.slice(s,s+this.itemsPerPage));this.tableRows.forEach(e=>e.style.display=i.has(e)?"":"none")}updated(e){(e.has("currentPage")||e.has("itemsPerPage")||e.has("mode")||e.has("isLoading"))&&this._updateVisibleRows(),e.has("multiSelect")&&this._configureRows(),this.multiSelect&&(e.has("tableRows")||e.has("headerRows"))&&this._syncHeaderCheckboxAfterRender()}render(){const e=this.dataLength||this.tableRows.length,t=(this.currentPage-1)*this.itemsPerPage,s=Math.min(t+this.itemsPerPage,e),i=0===e?0:t+1,a=!this.isLoading&&0===this.tableRows.length;return ee`
|
|
2175
|
+
<div class="data-table">
|
|
2176
|
+
<div>
|
|
2177
|
+
<slot @slotchange=${this._handleSlotChange} @i-sgds-sort=${this._handleSort} class="table"></slot>
|
|
2178
|
+
${this.isLoading?ee`<div class="loading" role="status" aria-live="polite">
|
|
2179
|
+
<div class="loading-menu"><sgds-spinner size="xs" tone="brand"></sgds-spinner>Loading...</div>
|
|
2180
|
+
</div>`:a?ee`<slot name="no-data" class="no-data" role="status" aria-live="polite">No data</slot>`:ie}
|
|
2181
|
+
</div>
|
|
2182
|
+
|
|
2183
|
+
${this.hideFooter?ie:ee`<div class="footer">
|
|
2184
|
+
${this.footerText||ee`<span>Showing ${i} to ${s} of ${e} results</span>`}
|
|
2185
|
+
<sgds-pagination
|
|
2186
|
+
.dataLength=${e}
|
|
2187
|
+
.currentPage=${this.currentPage}
|
|
2188
|
+
.itemsPerPage=${this.itemsPerPage}
|
|
2189
|
+
size="sm"
|
|
2190
|
+
@sgds-page-change=${e=>{this.currentPage=e.detail.currentPage,this.emit("sgds-page-change")}}
|
|
2191
|
+
></sgds-pagination>
|
|
2192
|
+
</div>`}
|
|
2193
|
+
</div>
|
|
2194
|
+
`}}Er.styles=[...Be.styles,Ar,n`
|
|
2195
|
+
:host {
|
|
2196
|
+
display: block;
|
|
2197
|
+
}
|
|
2198
|
+
`],Er.dependencies={"sgds-pagination":en,"sgds-data-table-cell":Lr,"sgds-data-table-head":Ir,"sgds-spinner":$a},e([Ve({type:Boolean})],Er.prototype,"multiSelect",void 0),e([Ve({type:Number})],Er.prototype,"dataLength",void 0),e([Ve({type:Number})],Er.prototype,"currentPage",void 0),e([Ve({type:Number})],Er.prototype,"itemsPerPage",void 0),e([Ve({type:String})],Er.prototype,"footerText",void 0),e([Ve({type:Boolean})],Er.prototype,"hideFooter",void 0),e([Ve({type:Boolean})],Er.prototype,"isLoading",void 0),e([Ve({type:Boolean})],Er.prototype,"serverSort",void 0),e([Ve({type:String,reflect:!0})],Er.prototype,"layout",void 0),e([Ve({type:String})],Er.prototype,"mode",void 0),e([ze()],Er.prototype,"tableRows",void 0),e([ze()],Er.prototype,"headerRows",void 0),lt("sgds-data-table",Er),lt("sgds-data-table-row",Dr),lt("sgds-data-table-cell",Lr),lt("sgds-data-table-head",Ir);var Hr=ee`
|
|
2105
2199
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2106
2200
|
<path
|
|
2107
2201
|
fill="currentColor"
|
|
2108
2202
|
d="M9.375 15.125H6.5a5.116 5.116 0 0 1-1.643-.27l1.324 5.292c.047.188.062.247.078.294.176.52.644.885 1.19.93.05.004.11.004.305.004.243 0 .32 0 .379-.006a1.375 1.375 0 0 0 1.235-1.237c.006-.058.007-.136.007-.379v-4.628Zm12-5.125c0-1.373-.963-2.52-2.25-2.805v5.61A2.874 2.874 0 0 0 21.375 10Zm-18.75 0A3.875 3.875 0 0 0 6.5 13.875h2.875v-7.75H6.5A3.875 3.875 0 0 0 2.625 10Zm15.25-4.873c0-.534 0-.896-.021-1.159-.023-.28-.063-.324-.05-.305a.326.326 0 0 0-.258-.155c.027.004-.035-.01-.31.115-.257.115-.597.3-1.092.57-1.565.853-3.667 1.801-5.519 1.919v7.774c1.852.118 3.954 1.068 5.519 1.921.495.27.835.455 1.091.57.276.125.338.111.31.115a.326.326 0 0 0 .26-.155c-.013.019.026-.026.049-.305.02-.263.021-.625.021-1.158V5.127Zm1.25.794a4.127 4.127 0 0 1 0 8.157v.796c0 .51 0 .932-.025 1.257-.025.307-.079.654-.279.934a1.57 1.57 0 0 1-1.124.667c-.346.042-.688-.084-.976-.215-.31-.14-.7-.352-1.176-.612-1.535-.837-3.39-1.645-4.92-1.764v4.612c0 .215 0 .366-.013.5a2.625 2.625 0 0 1-2.36 2.36c-.133.013-.284.012-.498.012-.171 0-.293 0-.406-.01a2.625 2.625 0 0 1-2.273-1.773c-.036-.107-.065-.226-.106-.392l-1.575-6.298a.632.632 0 0 1-.014-.087 5.125 5.125 0 0 1 3.12-9.19h3.75c1.594 0 3.632-.873 5.295-1.78.477-.26.866-.472 1.176-.612.288-.13.63-.257.976-.215.47.058.85.283 1.124.667.2.28.254.627.279.935.025.324.025.746.025 1.257v.794Z"
|
|
2109
2203
|
/>
|
|
2110
2204
|
</svg>
|
|
2111
|
-
`,
|
|
2205
|
+
`,Br=Object.freeze({__proto__:null,default:Hr}),Or=ee`
|
|
2112
2206
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2113
2207
|
<path
|
|
2114
2208
|
fill="currentColor"
|
|
@@ -2121,35 +2215,35 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2121
2215
|
clip-rule="evenodd"
|
|
2122
2216
|
/>
|
|
2123
2217
|
</svg>
|
|
2124
|
-
`,
|
|
2218
|
+
`,Tr=Object.freeze({__proto__:null,default:Or}),Fr=ee`
|
|
2125
2219
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2126
2220
|
<path
|
|
2127
2221
|
fill="currentColor"
|
|
2128
2222
|
d="M2.5 3.9a.6.6 0 0 0 0 1.2h19a.6.6 0 1 0 0-1.2h-19Zm10.1 5.6a.6.6 0 1 0-1.2 0v8.552l-3.976-3.976a.6.6 0 1 0-.848.848l5 5a.6.6 0 0 0 .848 0l5-5a.6.6 0 1 0-.848-.848L12.6 18.052V9.5Z"
|
|
2129
2223
|
/>
|
|
2130
2224
|
</svg>
|
|
2131
|
-
`,
|
|
2225
|
+
`,Rr=Object.freeze({__proto__:null,default:Fr}),Nr=ee`
|
|
2132
2226
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2133
2227
|
<path
|
|
2134
2228
|
fill="currentColor"
|
|
2135
2229
|
d="M20.1 2.5a.6.6 0 1 0-1.2 0v19a.6.6 0 1 0 1.2 0v-19Zm-5.6 10.1a.6.6 0 1 0 0-1.2H5.948l3.976-3.976a.6.6 0 1 0-.848-.848l-5 5a.6.6 0 0 0 0 .848l5 5a.6.6 0 0 0 .848-.848L5.948 12.6H14.5Z"
|
|
2136
2230
|
/>
|
|
2137
2231
|
</svg>
|
|
2138
|
-
`,
|
|
2232
|
+
`,jr=Object.freeze({__proto__:null,default:Nr}),Ur=ee`
|
|
2139
2233
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2140
2234
|
<path
|
|
2141
2235
|
fill="currentColor"
|
|
2142
2236
|
d="M3.9 21.5a.6.6 0 1 0 1.2 0v-19a.6.6 0 1 0-1.2 0v19Zm5.6-10.1a.6.6 0 0 0 0 1.2h8.551l-3.975 3.976a.6.6 0 1 0 .848.848l5-5a.6.6 0 0 0 0-.848l-5-5a.6.6 0 0 0-.848.848L18.05 11.4H9.5Z"
|
|
2143
2237
|
/>
|
|
2144
2238
|
</svg>
|
|
2145
|
-
`,
|
|
2239
|
+
`,qr=Object.freeze({__proto__:null,default:Ur}),Yr=ee`
|
|
2146
2240
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2147
2241
|
<path
|
|
2148
2242
|
fill="currentColor"
|
|
2149
2243
|
d="M21.5 20.1a.6.6 0 1 0 0-1.2h-19a.6.6 0 0 0 0 1.2h19Zm-10.1-5.6a.6.6 0 1 0 1.2 0V5.949l3.976 3.975a.6.6 0 0 0 .848-.848l-5-5a.6.6 0 0 0-.848 0l-5 5a.6.6 0 1 0 .848.848L11.4 5.95v8.55Z"
|
|
2150
2244
|
/>
|
|
2151
2245
|
</svg>
|
|
2152
|
-
`,
|
|
2246
|
+
`,Wr=Object.freeze({__proto__:null,default:Yr}),Kr=ee`
|
|
2153
2247
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2154
2248
|
<path
|
|
2155
2249
|
fill="currentColor"
|
|
@@ -2162,7 +2256,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2162
2256
|
clip-rule="evenodd"
|
|
2163
2257
|
/>
|
|
2164
2258
|
</svg>
|
|
2165
|
-
`,
|
|
2259
|
+
`,Gr=Object.freeze({__proto__:null,default:Kr}),Jr=ee`
|
|
2166
2260
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2167
2261
|
<path
|
|
2168
2262
|
fill="currentColor"
|
|
@@ -2175,7 +2269,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2175
2269
|
clip-rule="evenodd"
|
|
2176
2270
|
/>
|
|
2177
2271
|
</svg>
|
|
2178
|
-
`,
|
|
2272
|
+
`,Xr=Object.freeze({__proto__:null,default:Jr}),Qr=ee`
|
|
2179
2273
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2180
2274
|
<path
|
|
2181
2275
|
fill="currentColor"
|
|
@@ -2188,7 +2282,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2188
2282
|
clip-rule="evenodd"
|
|
2189
2283
|
/>
|
|
2190
2284
|
</svg>
|
|
2191
|
-
`,
|
|
2285
|
+
`,el=Object.freeze({__proto__:null,default:Qr}),tl=ee`
|
|
2192
2286
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2193
2287
|
<path
|
|
2194
2288
|
fill="currentColor"
|
|
@@ -2201,7 +2295,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2201
2295
|
clip-rule="evenodd"
|
|
2202
2296
|
/>
|
|
2203
2297
|
</svg>
|
|
2204
|
-
`,
|
|
2298
|
+
`,sl=Object.freeze({__proto__:null,default:tl}),il=ee`
|
|
2205
2299
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2206
2300
|
<path
|
|
2207
2301
|
fill="currentColor"
|
|
@@ -2210,7 +2304,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2210
2304
|
clip-rule="evenodd"
|
|
2211
2305
|
/>
|
|
2212
2306
|
</svg>
|
|
2213
|
-
`,
|
|
2307
|
+
`,al=Object.freeze({__proto__:null,default:il}),ol=ee`
|
|
2214
2308
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2215
2309
|
<path
|
|
2216
2310
|
fill="currentColor"
|
|
@@ -2219,7 +2313,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2219
2313
|
clip-rule="evenodd"
|
|
2220
2314
|
/>
|
|
2221
2315
|
</svg>
|
|
2222
|
-
`,
|
|
2316
|
+
`,nl=Object.freeze({__proto__:null,default:ol}),rl=ee`
|
|
2223
2317
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2224
2318
|
<path
|
|
2225
2319
|
fill="currentColor"
|
|
@@ -2228,7 +2322,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2228
2322
|
clip-rule="evenodd"
|
|
2229
2323
|
/>
|
|
2230
2324
|
</svg>
|
|
2231
|
-
`,
|
|
2325
|
+
`,ll=Object.freeze({__proto__:null,default:rl}),dl=ee`
|
|
2232
2326
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2233
2327
|
<path
|
|
2234
2328
|
fill="currentColor"
|
|
@@ -2237,7 +2331,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2237
2331
|
clip-rule="evenodd"
|
|
2238
2332
|
/>
|
|
2239
2333
|
</svg>
|
|
2240
|
-
`,
|
|
2334
|
+
`,cl=Object.freeze({__proto__:null,default:dl}),hl=ee`
|
|
2241
2335
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2242
2336
|
<path
|
|
2243
2337
|
fill="currentColor"
|
|
@@ -2246,7 +2340,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2246
2340
|
clip-rule="evenodd"
|
|
2247
2341
|
/>
|
|
2248
2342
|
</svg>
|
|
2249
|
-
`,
|
|
2343
|
+
`,pl=Object.freeze({__proto__:null,default:hl}),ul=ee`
|
|
2250
2344
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2251
2345
|
<path
|
|
2252
2346
|
fill="currentColor"
|
|
@@ -2259,7 +2353,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2259
2353
|
clip-rule="evenodd"
|
|
2260
2354
|
/>
|
|
2261
2355
|
</svg>
|
|
2262
|
-
`,
|
|
2356
|
+
`,gl=Object.freeze({__proto__:null,default:ul}),vl=ee`
|
|
2263
2357
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2264
2358
|
<path
|
|
2265
2359
|
fill="currentColor"
|
|
@@ -2272,7 +2366,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2272
2366
|
clip-rule="evenodd"
|
|
2273
2367
|
/>
|
|
2274
2368
|
</svg>
|
|
2275
|
-
`,
|
|
2369
|
+
`,ml=Object.freeze({__proto__:null,default:vl}),fl=ee`
|
|
2276
2370
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2277
2371
|
<path
|
|
2278
2372
|
fill="currentColor"
|
|
@@ -2285,7 +2379,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2285
2379
|
clip-rule="evenodd"
|
|
2286
2380
|
/>
|
|
2287
2381
|
</svg>
|
|
2288
|
-
`,
|
|
2382
|
+
`,bl=Object.freeze({__proto__:null,default:fl}),wl=ee`
|
|
2289
2383
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2290
2384
|
<path
|
|
2291
2385
|
fill="currentColor"
|
|
@@ -2298,7 +2392,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2298
2392
|
clip-rule="evenodd"
|
|
2299
2393
|
/>
|
|
2300
2394
|
</svg>
|
|
2301
|
-
`,
|
|
2395
|
+
`,yl=Object.freeze({__proto__:null,default:wl}),_l=ee`
|
|
2302
2396
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2303
2397
|
<path
|
|
2304
2398
|
fill="currentColor"
|
|
@@ -2307,7 +2401,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2307
2401
|
clip-rule="evenodd"
|
|
2308
2402
|
/>
|
|
2309
2403
|
</svg>
|
|
2310
|
-
`,
|
|
2404
|
+
`,xl=Object.freeze({__proto__:null,default:_l}),kl=ee`
|
|
2311
2405
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2312
2406
|
<path
|
|
2313
2407
|
fill="currentColor"
|
|
@@ -2316,7 +2410,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2316
2410
|
clip-rule="evenodd"
|
|
2317
2411
|
/>
|
|
2318
2412
|
</svg>
|
|
2319
|
-
`,
|
|
2413
|
+
`,Cl=Object.freeze({__proto__:null,default:kl}),$l=ee`
|
|
2320
2414
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2321
2415
|
<path
|
|
2322
2416
|
fill="currentColor"
|
|
@@ -2325,7 +2419,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2325
2419
|
clip-rule="evenodd"
|
|
2326
2420
|
/>
|
|
2327
2421
|
</svg>
|
|
2328
|
-
`,
|
|
2422
|
+
`,Sl=Object.freeze({__proto__:null,default:$l}),Ml=ee`
|
|
2329
2423
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2330
2424
|
<path
|
|
2331
2425
|
fill="currentColor"
|
|
@@ -2334,7 +2428,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2334
2428
|
clip-rule="evenodd"
|
|
2335
2429
|
/>
|
|
2336
2430
|
</svg>
|
|
2337
|
-
`,
|
|
2431
|
+
`,Zl=Object.freeze({__proto__:null,default:Ml}),Vl=ee`
|
|
2338
2432
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2339
2433
|
<path
|
|
2340
2434
|
fill="currentColor"
|
|
@@ -2343,7 +2437,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2343
2437
|
clip-rule="evenodd"
|
|
2344
2438
|
/>
|
|
2345
2439
|
</svg>
|
|
2346
|
-
|
|
2440
|
+
`,zl=Object.freeze({__proto__:null,default:Vl}),Pl=ee`
|
|
2347
2441
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2348
2442
|
<path
|
|
2349
2443
|
fill="currentColor"
|
|
@@ -2352,7 +2446,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2352
2446
|
clip-rule="evenodd"
|
|
2353
2447
|
/>
|
|
2354
2448
|
</svg>
|
|
2355
|
-
`,
|
|
2449
|
+
`,Al=Object.freeze({__proto__:null,default:Pl}),Ll=ee`
|
|
2356
2450
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2357
2451
|
<path
|
|
2358
2452
|
fill="currentColor"
|
|
@@ -2361,7 +2455,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2361
2455
|
clip-rule="evenodd"
|
|
2362
2456
|
/>
|
|
2363
2457
|
</svg>
|
|
2364
|
-
`,
|
|
2458
|
+
`,Il=Object.freeze({__proto__:null,default:Ll}),Dl=ee`
|
|
2365
2459
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2366
2460
|
<path
|
|
2367
2461
|
fill="currentColor"
|
|
@@ -2370,7 +2464,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2370
2464
|
clip-rule="evenodd"
|
|
2371
2465
|
/>
|
|
2372
2466
|
</svg>
|
|
2373
|
-
`,
|
|
2467
|
+
`,El=Object.freeze({__proto__:null,default:Dl}),Hl=ee`
|
|
2374
2468
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2375
2469
|
<path
|
|
2376
2470
|
fill="currentColor"
|
|
@@ -2379,7 +2473,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2379
2473
|
clip-rule="evenodd"
|
|
2380
2474
|
/>
|
|
2381
2475
|
</svg>
|
|
2382
|
-
`,
|
|
2476
|
+
`,Bl=Object.freeze({__proto__:null,default:Hl}),Ol=ee`
|
|
2383
2477
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2384
2478
|
<path
|
|
2385
2479
|
fill="currentColor"
|
|
@@ -2388,7 +2482,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2388
2482
|
clip-rule="evenodd"
|
|
2389
2483
|
/>
|
|
2390
2484
|
</svg>
|
|
2391
|
-
`,
|
|
2485
|
+
`,Tl=Object.freeze({__proto__:null,default:Ol}),Fl=ee`
|
|
2392
2486
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2393
2487
|
<path
|
|
2394
2488
|
fill="currentColor"
|
|
@@ -2401,7 +2495,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2401
2495
|
clip-rule="evenodd"
|
|
2402
2496
|
/>
|
|
2403
2497
|
</svg>
|
|
2404
|
-
`,
|
|
2498
|
+
`,Rl=Object.freeze({__proto__:null,default:Fl}),Nl=ee`
|
|
2405
2499
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2406
2500
|
<path
|
|
2407
2501
|
fill="currentColor"
|
|
@@ -2410,7 +2504,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2410
2504
|
clip-rule="evenodd"
|
|
2411
2505
|
/>
|
|
2412
2506
|
</svg>
|
|
2413
|
-
`,
|
|
2507
|
+
`,jl=Object.freeze({__proto__:null,default:Nl}),Ul=ee`
|
|
2414
2508
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2415
2509
|
<path
|
|
2416
2510
|
fill="currentColor"
|
|
@@ -2423,7 +2517,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2423
2517
|
clip-rule="evenodd"
|
|
2424
2518
|
/>
|
|
2425
2519
|
</svg>
|
|
2426
|
-
`,
|
|
2520
|
+
`,ql=Object.freeze({__proto__:null,default:Ul}),Yl=ee`
|
|
2427
2521
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2428
2522
|
<path
|
|
2429
2523
|
fill="currentColor"
|
|
@@ -2438,7 +2532,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2438
2532
|
clip-rule="evenodd"
|
|
2439
2533
|
/>
|
|
2440
2534
|
</svg>
|
|
2441
|
-
`,
|
|
2535
|
+
`,Wl=Object.freeze({__proto__:null,default:Yl}),Kl=ee`
|
|
2442
2536
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2443
2537
|
<path
|
|
2444
2538
|
fill="currentColor"
|
|
@@ -2451,7 +2545,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2451
2545
|
clip-rule="evenodd"
|
|
2452
2546
|
/>
|
|
2453
2547
|
</svg>
|
|
2454
|
-
`,
|
|
2548
|
+
`,Gl=Object.freeze({__proto__:null,default:Kl}),Jl=ee`
|
|
2455
2549
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2456
2550
|
<path
|
|
2457
2551
|
fill="currentColor"
|
|
@@ -2460,7 +2554,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2460
2554
|
clip-rule="evenodd"
|
|
2461
2555
|
/>
|
|
2462
2556
|
</svg>
|
|
2463
|
-
`,
|
|
2557
|
+
`,Xl=Object.freeze({__proto__:null,default:Jl}),Ql=ee`
|
|
2464
2558
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2465
2559
|
<path
|
|
2466
2560
|
fill="currentColor"
|
|
@@ -2469,7 +2563,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2469
2563
|
clip-rule="evenodd"
|
|
2470
2564
|
/>
|
|
2471
2565
|
</svg>
|
|
2472
|
-
`,
|
|
2566
|
+
`,ed=Object.freeze({__proto__:null,default:Ql}),td=ee`
|
|
2473
2567
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2474
2568
|
<path
|
|
2475
2569
|
fill="currentColor"
|
|
@@ -2482,7 +2576,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2482
2576
|
clip-rule="evenodd"
|
|
2483
2577
|
/>
|
|
2484
2578
|
</svg>
|
|
2485
|
-
`,
|
|
2579
|
+
`,sd=Object.freeze({__proto__:null,default:td}),id=ee`
|
|
2486
2580
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2487
2581
|
<path
|
|
2488
2582
|
fill="currentColor"
|
|
@@ -2495,7 +2589,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2495
2589
|
clip-rule="evenodd"
|
|
2496
2590
|
/>
|
|
2497
2591
|
</svg>
|
|
2498
|
-
`,
|
|
2592
|
+
`,ad=Object.freeze({__proto__:null,default:id}),od=ee`
|
|
2499
2593
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2500
2594
|
<path
|
|
2501
2595
|
fill="currentColor"
|
|
@@ -2508,7 +2602,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2508
2602
|
clip-rule="evenodd"
|
|
2509
2603
|
/>
|
|
2510
2604
|
</svg>
|
|
2511
|
-
`,
|
|
2605
|
+
`,nd=Object.freeze({__proto__:null,default:od}),rd=ee`
|
|
2512
2606
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2513
2607
|
<path
|
|
2514
2608
|
fill="currentColor"
|
|
@@ -2517,7 +2611,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2517
2611
|
clip-rule="evenodd"
|
|
2518
2612
|
/>
|
|
2519
2613
|
</svg>
|
|
2520
|
-
`,
|
|
2614
|
+
`,ld=Object.freeze({__proto__:null,default:rd}),dd=ee`
|
|
2521
2615
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2522
2616
|
<path
|
|
2523
2617
|
fill="currentColor"
|
|
@@ -2526,7 +2620,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2526
2620
|
clip-rule="evenodd"
|
|
2527
2621
|
/>
|
|
2528
2622
|
</svg>
|
|
2529
|
-
`,
|
|
2623
|
+
`,cd=Object.freeze({__proto__:null,default:dd}),hd=ee`
|
|
2530
2624
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2531
2625
|
<path
|
|
2532
2626
|
fill="currentColor"
|
|
@@ -2535,7 +2629,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2535
2629
|
clip-rule="evenodd"
|
|
2536
2630
|
/>
|
|
2537
2631
|
</svg>
|
|
2538
|
-
`,
|
|
2632
|
+
`,pd=Object.freeze({__proto__:null,default:hd}),ud=ee`
|
|
2539
2633
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2540
2634
|
<path
|
|
2541
2635
|
fill="currentColor"
|
|
@@ -2544,7 +2638,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2544
2638
|
clip-rule="evenodd"
|
|
2545
2639
|
/>
|
|
2546
2640
|
</svg>
|
|
2547
|
-
`,
|
|
2641
|
+
`,gd=Object.freeze({__proto__:null,default:ud}),vd=ee`
|
|
2548
2642
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2549
2643
|
<path
|
|
2550
2644
|
fill="currentColor"
|
|
@@ -2553,7 +2647,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2553
2647
|
clip-rule="evenodd"
|
|
2554
2648
|
/>
|
|
2555
2649
|
</svg>
|
|
2556
|
-
`,
|
|
2650
|
+
`,md=Object.freeze({__proto__:null,default:vd}),fd=ee`
|
|
2557
2651
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2558
2652
|
<path
|
|
2559
2653
|
fill="currentColor"
|
|
@@ -2562,7 +2656,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2562
2656
|
clip-rule="evenodd"
|
|
2563
2657
|
/>
|
|
2564
2658
|
</svg>
|
|
2565
|
-
`,
|
|
2659
|
+
`,bd=Object.freeze({__proto__:null,default:fd}),wd=ee`
|
|
2566
2660
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2567
2661
|
<path
|
|
2568
2662
|
fill="currentColor"
|
|
@@ -2571,14 +2665,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2571
2665
|
clip-rule="evenodd"
|
|
2572
2666
|
/>
|
|
2573
2667
|
</svg>
|
|
2574
|
-
`,
|
|
2668
|
+
`,yd=Object.freeze({__proto__:null,default:wd}),_d=ee`
|
|
2575
2669
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2576
2670
|
<path
|
|
2577
2671
|
fill="currentColor"
|
|
2578
2672
|
d="M11.558 3.558a.625.625 0 0 1 .884 0l5 5a.625.625 0 1 1-.884.884L12 4.884 7.442 9.442a.625.625 0 1 1-.884-.884l5-5Zm-5 11a.625.625 0 0 1 .884 0L12 19.116l4.558-4.558a.625.625 0 1 1 .884.884l-5 5a.625.625 0 0 1-.884 0l-5-5a.625.625 0 0 1 0-.884Z"
|
|
2579
2673
|
/>
|
|
2580
2674
|
</svg>
|
|
2581
|
-
`,
|
|
2675
|
+
`,xd=Object.freeze({__proto__:null,default:_d}),kd=ee`
|
|
2582
2676
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2583
2677
|
<path
|
|
2584
2678
|
fill="currentColor"
|
|
@@ -2587,7 +2681,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2587
2681
|
clip-rule="evenodd"
|
|
2588
2682
|
/>
|
|
2589
2683
|
</svg>
|
|
2590
|
-
`,
|
|
2684
|
+
`,Cd=Object.freeze({__proto__:null,default:kd}),$d=ee`
|
|
2591
2685
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2592
2686
|
<path
|
|
2593
2687
|
fill="currentColor"
|
|
@@ -2600,7 +2694,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2600
2694
|
clip-rule="evenodd"
|
|
2601
2695
|
/>
|
|
2602
2696
|
</svg>
|
|
2603
|
-
`,
|
|
2697
|
+
`,Sd=Object.freeze({__proto__:null,default:$d}),Md=ee`
|
|
2604
2698
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2605
2699
|
<path
|
|
2606
2700
|
fill="currentColor"
|
|
@@ -2613,7 +2707,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2613
2707
|
clip-rule="evenodd"
|
|
2614
2708
|
/>
|
|
2615
2709
|
</svg>
|
|
2616
|
-
`,
|
|
2710
|
+
`,Zd=Object.freeze({__proto__:null,default:Md}),Vd=ee`
|
|
2617
2711
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2618
2712
|
<path
|
|
2619
2713
|
fill="currentColor"
|
|
@@ -2622,7 +2716,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2622
2716
|
clip-rule="evenodd"
|
|
2623
2717
|
/>
|
|
2624
2718
|
</svg>
|
|
2625
|
-
|
|
2719
|
+
`,zd=Object.freeze({__proto__:null,default:Vd}),Pd=ee`
|
|
2626
2720
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2627
2721
|
<path
|
|
2628
2722
|
fill="currentColor"
|
|
@@ -2631,7 +2725,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2631
2725
|
clip-rule="evenodd"
|
|
2632
2726
|
/>
|
|
2633
2727
|
</svg>
|
|
2634
|
-
`,
|
|
2728
|
+
`,Ad=Object.freeze({__proto__:null,default:Pd}),Ld=ee`
|
|
2635
2729
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2636
2730
|
<path
|
|
2637
2731
|
fill="currentColor"
|
|
@@ -2640,7 +2734,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2640
2734
|
clip-rule="evenodd"
|
|
2641
2735
|
/>
|
|
2642
2736
|
</svg>
|
|
2643
|
-
`,
|
|
2737
|
+
`,Id=Object.freeze({__proto__:null,default:Ld}),Dd=ee`
|
|
2644
2738
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2645
2739
|
<path
|
|
2646
2740
|
fill="currentColor"
|
|
@@ -2653,14 +2747,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2653
2747
|
clip-rule="evenodd"
|
|
2654
2748
|
/>
|
|
2655
2749
|
</svg>
|
|
2656
|
-
`,
|
|
2750
|
+
`,Ed=Object.freeze({__proto__:null,default:Dd}),Hd=ee`
|
|
2657
2751
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2658
2752
|
<path
|
|
2659
2753
|
fill="currentColor"
|
|
2660
2754
|
d="M15.783 15.209a.908.908 0 0 0-.561-.828l-.156-.052-2.385-.58a4.403 4.403 0 0 0-1.037-.124c-.362 0-.947.162-1.507.362-.266.095-.504.191-.676.263a6.794 6.794 0 0 0-.253.11l-.013.006-.003.001-.02.008-2.547 1.065v4.022H8.61c.39 0 .778.047 1.158.14l2.756.67c.51.124 1.044.136 1.56.036l3.05-.593a3.579 3.579 0 0 0 1.81-.942l2.159-2.1.063-.068a.877.877 0 0 0-.064-1.204.985.985 0 0 0-1.256-.086L17.33 17.15a2.741 2.741 0 0 1-1.617.526h-2.429a.625.625 0 0 1 0-1.25h1.546c.542 0 .952-.423.952-.91v-.306ZM19.375 6.5a2.875 2.875 0 1 0-5.75 0 2.875 2.875 0 0 0 5.75 0Zm-2.342 9.016c0 .11-.012.217-.028.323l2.103-1.533a2.236 2.236 0 0 1 2.866.199 2.128 2.128 0 0 1 0 3.065h-.001l-2.157 2.099a4.83 4.83 0 0 1-2.444 1.272l-3.049.594a4.908 4.908 0 0 1-2.095-.049l-2.756-.67H9.47a3.606 3.606 0 0 0-.86-.104H6.623a5.716 5.716 0 0 1-.014.395c-.016.206-.054.42-.16.63a1.628 1.628 0 0 1-.712.711c-.21.107-.424.145-.63.161-.198.016-.437.016-.707.016h-.8c-.27 0-.51 0-.707-.016a1.653 1.653 0 0 1-.63-.16 1.628 1.628 0 0 1-.711-.712 1.652 1.652 0 0 1-.161-.63c-.017-.197-.016-.437-.016-.707v-5.8c0-.27 0-.51.016-.707.016-.206.054-.42.16-.63.157-.306.406-.555.712-.711.21-.107.424-.145.63-.161.198-.017.437-.016.707-.016h.8c.27 0 .51 0 .707.016.206.016.42.054.63.16.306.157.555.406.711.712.107.21.145.424.161.63.005.061.006.127.008.196l2.06-.862.08-.035.222-.094c.185-.078.444-.182.736-.287.554-.198 1.325-.436 1.929-.436.449 0 .895.053 1.332.16l2.385.58a2.167 2.167 0 0 1 1.672 2.094v.307ZM2.625 20.4c0 .29 0 .47.012.606.01.126.027.159.029.164.036.07.094.128.164.164a.483.483 0 0 0 .164.03c.135.01.316.011.606.011h.8c.29 0 .47 0 .606-.012a.482.482 0 0 0 .164-.029.376.376 0 0 0 .164-.164.482.482 0 0 0 .03-.164c.01-.136.011-.316.011-.606v-5.8c0-.29 0-.47-.012-.606a.482.482 0 0 0-.029-.164.376.376 0 0 0-.164-.164.483.483 0 0 0-.164-.03 8.422 8.422 0 0 0-.606-.011h-.8c-.29 0-.47 0-.606.012a.483.483 0 0 0-.164.029.376.376 0 0 0-.164.164.482.482 0 0 0-.03.164 8.39 8.39 0 0 0-.011.606v5.8Zm18-13.9a4.125 4.125 0 0 1-7.26 2.68 4.125 4.125 0 1 1 1.27-6.358 4.125 4.125 0 0 1 5.99 3.679Zm-12-1a2.875 2.875 0 0 0 4.076 2.61 4.112 4.112 0 0 1-.326-1.61c0-1.155.474-2.2 1.24-2.948A2.875 2.875 0 0 0 8.624 5.5Z"
|
|
2661
2755
|
/>
|
|
2662
2756
|
</svg>
|
|
2663
|
-
`,
|
|
2757
|
+
`,Bd=Object.freeze({__proto__:null,default:Hd}),Od=ee`
|
|
2664
2758
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2665
2759
|
<path
|
|
2666
2760
|
fill="currentColor"
|
|
@@ -2675,14 +2769,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2675
2769
|
clip-rule="evenodd"
|
|
2676
2770
|
/>
|
|
2677
2771
|
</svg>
|
|
2678
|
-
`,
|
|
2772
|
+
`,Td=Object.freeze({__proto__:null,default:Od}),Fd=ee`
|
|
2679
2773
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2680
2774
|
<path
|
|
2681
2775
|
fill="currentColor"
|
|
2682
2776
|
d="M19.375 12.2c0-.57 0-.96-.025-1.262-.024-.295-.068-.45-.124-.562a1.378 1.378 0 0 0-.602-.602c-.111-.056-.267-.1-.561-.124a17.248 17.248 0 0 0-1.263-.025h-4.6c-.57 0-.96 0-1.262.025-.295.024-.45.068-.562.124-.259.132-.47.343-.602.602-.056.111-.1.267-.124.562-.024.302-.025.692-.025 1.262v4.6c0 .57 0 .96.025 1.262.024.295.068.45.124.562.132.259.343.47.602.602.111.056.267.1.562.124.302.024.692.025 1.262.025h4.6c.57 0 .96 0 1.262-.025.295-.024.45-.068.562-.124.259-.132.47-.343.602-.602.056-.111.1-.267.124-.561.024-.303.025-.693.025-1.263v-4.6Zm-16-.2V7.2c0-.55 0-1 .03-1.364.03-.372.095-.71.256-1.027A2.626 2.626 0 0 1 4.81 3.66c.316-.161.655-.226 1.027-.257.365-.03.815-.029 1.364-.029H12c.457 0 .832 0 1.137.02.31.022.595.067.868.18a2.625 2.625 0 0 1 1.42 1.42c.125.302.167.62.185.973a.625.625 0 0 1-1.248.064c-.015-.301-.047-.452-.091-.558a1.375 1.375 0 0 0-.745-.745c-.095-.039-.227-.07-.474-.086A17.177 17.177 0 0 0 12 4.625H7.2c-.57 0-.96 0-1.263.025-.294.024-.45.068-.561.124-.259.132-.47.343-.602.602-.056.111-.1.267-.124.561A17.25 17.25 0 0 0 4.625 7.2V12c0 .475 0 .8.018 1.052.016.247.047.38.086.474.14.337.408.605.745.745.106.043.257.076.558.091a.625.625 0 0 1-.064 1.248c-.353-.018-.671-.06-.973-.185a2.625 2.625 0 0 1-1.42-1.42 2.703 2.703 0 0 1-.18-.868c-.02-.305-.02-.68-.02-1.137Zm17.25 4.8c0 .55 0 1-.03 1.364-.03.372-.095.71-.256 1.027a2.627 2.627 0 0 1-1.148 1.148c-.316.161-.655.226-1.027.257-.365.03-.815.029-1.364.029h-4.6c-.55 0-1 0-1.364-.03-.372-.03-.71-.095-1.027-.256A2.627 2.627 0 0 1 8.66 19.19c-.161-.316-.226-.655-.257-1.027-.03-.365-.029-.815-.029-1.364v-4.6c0-.55 0-1 .03-1.364.03-.372.095-.71.256-1.027A2.626 2.626 0 0 1 9.81 8.66c.316-.161.655-.226 1.027-.257.365-.03.815-.029 1.364-.029h4.6c.55 0 1 0 1.364.03.372.03.71.095 1.027.256.494.252.896.654 1.148 1.148.161.316.226.655.257 1.027.03.365.029.815.029 1.364v4.6Z"
|
|
2683
2777
|
/>
|
|
2684
2778
|
</svg>
|
|
2685
|
-
`,
|
|
2779
|
+
`,Rd=Object.freeze({__proto__:null,default:Fd}),Nd=ee`
|
|
2686
2780
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2687
2781
|
<path
|
|
2688
2782
|
fill="currentColor"
|
|
@@ -2701,7 +2795,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2701
2795
|
clip-rule="evenodd"
|
|
2702
2796
|
/>
|
|
2703
2797
|
</svg>
|
|
2704
|
-
`,
|
|
2798
|
+
`,jd=Object.freeze({__proto__:null,default:Nd}),Ud=ee`
|
|
2705
2799
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2706
2800
|
<path
|
|
2707
2801
|
fill="currentColor"
|
|
@@ -2710,7 +2804,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2710
2804
|
clip-rule="evenodd"
|
|
2711
2805
|
/>
|
|
2712
2806
|
</svg>
|
|
2713
|
-
`,
|
|
2807
|
+
`,qd=Object.freeze({__proto__:null,default:Ud}),Yd=ee`
|
|
2714
2808
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2715
2809
|
<path
|
|
2716
2810
|
fill="currentColor"
|
|
@@ -2719,7 +2813,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2719
2813
|
clip-rule="evenodd"
|
|
2720
2814
|
/>
|
|
2721
2815
|
</svg>
|
|
2722
|
-
`,
|
|
2816
|
+
`,Wd=Object.freeze({__proto__:null,default:Yd}),Kd=ee`
|
|
2723
2817
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2724
2818
|
<path
|
|
2725
2819
|
fill="currentColor"
|
|
@@ -2728,7 +2822,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2728
2822
|
clip-rule="evenodd"
|
|
2729
2823
|
/>
|
|
2730
2824
|
</svg>
|
|
2731
|
-
`,
|
|
2825
|
+
`,Gd=Object.freeze({__proto__:null,default:Kd}),Jd=ee`
|
|
2732
2826
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2733
2827
|
<path
|
|
2734
2828
|
fill="currentColor"
|
|
@@ -2737,7 +2831,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2737
2831
|
clip-rule="evenodd"
|
|
2738
2832
|
/>
|
|
2739
2833
|
</svg>
|
|
2740
|
-
`,
|
|
2834
|
+
`,Xd=Object.freeze({__proto__:null,default:Jd}),Qd=ee`
|
|
2741
2835
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2742
2836
|
<path
|
|
2743
2837
|
fill="currentColor"
|
|
@@ -2746,7 +2840,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2746
2840
|
clip-rule="evenodd"
|
|
2747
2841
|
/>
|
|
2748
2842
|
</svg>
|
|
2749
|
-
`,
|
|
2843
|
+
`,ec=Object.freeze({__proto__:null,default:Qd}),tc=ee`
|
|
2750
2844
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2751
2845
|
<path
|
|
2752
2846
|
fill="currentColor"
|
|
@@ -2755,7 +2849,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2755
2849
|
clip-rule="evenodd"
|
|
2756
2850
|
/>
|
|
2757
2851
|
</svg>
|
|
2758
|
-
`,
|
|
2852
|
+
`,sc=Object.freeze({__proto__:null,default:tc}),ic=ee`
|
|
2759
2853
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2760
2854
|
<path
|
|
2761
2855
|
fill="currentColor"
|
|
@@ -2764,7 +2858,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2764
2858
|
clip-rule="evenodd"
|
|
2765
2859
|
/>
|
|
2766
2860
|
</svg>
|
|
2767
|
-
`,
|
|
2861
|
+
`,ac=Object.freeze({__proto__:null,default:ic}),oc=ee`
|
|
2768
2862
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2769
2863
|
<path
|
|
2770
2864
|
fill="currentColor"
|
|
@@ -2793,7 +2887,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2793
2887
|
clip-rule="evenodd"
|
|
2794
2888
|
/>
|
|
2795
2889
|
</svg>
|
|
2796
|
-
`,
|
|
2890
|
+
`,nc=Object.freeze({__proto__:null,default:oc}),rc=ee`
|
|
2797
2891
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2798
2892
|
<path
|
|
2799
2893
|
fill="currentColor"
|
|
@@ -2802,7 +2896,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2802
2896
|
clip-rule="evenodd"
|
|
2803
2897
|
/>
|
|
2804
2898
|
</svg>
|
|
2805
|
-
`,
|
|
2899
|
+
`,lc=Object.freeze({__proto__:null,default:rc}),dc=ee`
|
|
2806
2900
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2807
2901
|
<path
|
|
2808
2902
|
fill="currentColor"
|
|
@@ -2815,7 +2909,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2815
2909
|
d="M7.273 3.875H10.5a.625.625 0 1 1 0 1.25H7.3c-.85 0-1.45 0-1.92.039-.461.038-.74.109-.958.22-.447.228-.81.59-1.038 1.038-.111.218-.182.497-.22.958-.039.47-.039 1.07-.039 1.92v7.4c0 .85 0 1.45.039 1.92.038.461.109.74.22.958.228.447.59.81 1.038 1.038.218.111.497.183.958.22.47.039 1.07.039 1.92.039h7.4c.85 0 1.45 0 1.92-.039.461-.037.74-.109.958-.22.447-.228.81-.59 1.038-1.038.111-.218.183-.497.22-.959.039-.468.039-1.069.039-1.919v-3.2a.625.625 0 1 1 1.25 0v3.227c0 .817 0 1.468-.043 1.994-.044.54-.136 1.001-.352 1.425a3.625 3.625 0 0 1-1.584 1.584c-.424.216-.886.308-1.425.352-.526.043-1.177.043-1.994.043H7.273c-.817 0-1.469 0-1.994-.043-.54-.044-1.001-.136-1.425-.352a3.625 3.625 0 0 1-1.584-1.584c-.216-.424-.308-.886-.352-1.425-.043-.526-.043-1.177-.043-1.994V9.273c0-.817 0-1.469.043-1.994.044-.54.136-1.001.352-1.425A3.625 3.625 0 0 1 3.854 4.27c.424-.216.886-.308 1.425-.352.525-.043 1.177-.043 1.994-.043Z"
|
|
2816
2910
|
/>
|
|
2817
2911
|
</svg>
|
|
2818
|
-
`,
|
|
2912
|
+
`,cc=Object.freeze({__proto__:null,default:dc}),hc=ee`
|
|
2819
2913
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2820
2914
|
<path
|
|
2821
2915
|
fill="currentColor"
|
|
@@ -2824,7 +2918,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2824
2918
|
clip-rule="evenodd"
|
|
2825
2919
|
/>
|
|
2826
2920
|
</svg>
|
|
2827
|
-
`,
|
|
2921
|
+
`,pc=Object.freeze({__proto__:null,default:hc}),uc=ee`
|
|
2828
2922
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2829
2923
|
<path
|
|
2830
2924
|
fill="currentColor"
|
|
@@ -2837,7 +2931,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2837
2931
|
clip-rule="evenodd"
|
|
2838
2932
|
/>
|
|
2839
2933
|
</svg>
|
|
2840
|
-
`,
|
|
2934
|
+
`,gc=Object.freeze({__proto__:null,default:uc}),vc=ee`
|
|
2841
2935
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2842
2936
|
<path
|
|
2843
2937
|
fill="currentColor"
|
|
@@ -2846,7 +2940,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2846
2940
|
clip-rule="evenodd"
|
|
2847
2941
|
/>
|
|
2848
2942
|
</svg>
|
|
2849
|
-
`,
|
|
2943
|
+
`,mc=Object.freeze({__proto__:null,default:vc}),fc=ee`
|
|
2850
2944
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2851
2945
|
<path
|
|
2852
2946
|
fill="currentColor"
|
|
@@ -2859,7 +2953,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2859
2953
|
clip-rule="evenodd"
|
|
2860
2954
|
/>
|
|
2861
2955
|
</svg>
|
|
2862
|
-
`,
|
|
2956
|
+
`,bc=Object.freeze({__proto__:null,default:fc}),wc=ee`
|
|
2863
2957
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2864
2958
|
<path
|
|
2865
2959
|
fill="currentColor"
|
|
@@ -2872,7 +2966,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2872
2966
|
clip-rule="evenodd"
|
|
2873
2967
|
/>
|
|
2874
2968
|
</svg>
|
|
2875
|
-
`,
|
|
2969
|
+
`,yc=Object.freeze({__proto__:null,default:wc}),_c=ee`
|
|
2876
2970
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2877
2971
|
<path
|
|
2878
2972
|
fill="currentColor"
|
|
@@ -2881,7 +2975,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2881
2975
|
clip-rule="evenodd"
|
|
2882
2976
|
/>
|
|
2883
2977
|
</svg>
|
|
2884
|
-
`,
|
|
2978
|
+
`,xc=Object.freeze({__proto__:null,default:_c}),kc=ee`
|
|
2885
2979
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2886
2980
|
<path
|
|
2887
2981
|
fill="currentColor"
|
|
@@ -2894,7 +2988,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2894
2988
|
d="M12.08 8.4a3.6 3.6 0 0 1 3.52 3.52l4.108 4.108a17.903 17.903 0 0 0 2.38-2.994l.02-.032c.12-.19.238-.377.3-.645a1.76 1.76 0 0 0 0-.714c-.062-.268-.18-.456-.3-.645l-.02-.032c-.58-.92-1.739-2.548-3.42-3.952C16.983 5.61 14.737 4.4 12 4.4c-1.2 0-2.304.232-3.309.611l3.39 3.39Z"
|
|
2895
2989
|
/>
|
|
2896
2990
|
</svg>
|
|
2897
|
-
`,
|
|
2991
|
+
`,Cc=Object.freeze({__proto__:null,default:kc}),$c=ee`
|
|
2898
2992
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2899
2993
|
<path
|
|
2900
2994
|
fill="currentColor"
|
|
@@ -2903,7 +2997,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2903
2997
|
clip-rule="evenodd"
|
|
2904
2998
|
/>
|
|
2905
2999
|
</svg>
|
|
2906
|
-
`,
|
|
3000
|
+
`,Sc=Object.freeze({__proto__:null,default:$c}),Mc=ee`
|
|
2907
3001
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2908
3002
|
<path
|
|
2909
3003
|
fill="currentColor"
|
|
@@ -2912,7 +3006,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2912
3006
|
clip-rule="evenodd"
|
|
2913
3007
|
/>
|
|
2914
3008
|
</svg>
|
|
2915
|
-
`,
|
|
3009
|
+
`,Zc=Object.freeze({__proto__:null,default:Mc}),Vc=ee`
|
|
2916
3010
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2917
3011
|
<path
|
|
2918
3012
|
fill="currentColor"
|
|
@@ -2921,7 +3015,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2921
3015
|
clip-rule="evenodd"
|
|
2922
3016
|
/>
|
|
2923
3017
|
</svg>
|
|
2924
|
-
|
|
3018
|
+
`,zc=Object.freeze({__proto__:null,default:Vc}),Pc=ee`
|
|
2925
3019
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2926
3020
|
<path
|
|
2927
3021
|
fill="currentColor"
|
|
@@ -2934,14 +3028,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2934
3028
|
clip-rule="evenodd"
|
|
2935
3029
|
/>
|
|
2936
3030
|
</svg>
|
|
2937
|
-
`,
|
|
3031
|
+
`,Ac=Object.freeze({__proto__:null,default:Pc}),Lc=ee`
|
|
2938
3032
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2939
3033
|
<path
|
|
2940
3034
|
fill="currentColor"
|
|
2941
3035
|
d="M21 12.055C21 7.054 16.97 3 12.001 3 7.03 3.001 3 7.054 3 12.056c0 4.519 3.291 8.265 7.593 8.944v-6.327H8.309v-2.617h2.286V10.06c0-2.27 1.344-3.522 3.4-3.522.985 0 2.014.176 2.014.176v2.228h-1.135c-1.117 0-1.466.698-1.466 1.415v1.698h2.495l-.398 2.617h-2.098v6.327C17.71 20.319 21 16.574 21 12.055Z"
|
|
2942
3036
|
/>
|
|
2943
3037
|
</svg>
|
|
2944
|
-
`,
|
|
3038
|
+
`,Ic=Object.freeze({__proto__:null,default:Lc}),Dc=ee`
|
|
2945
3039
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2946
3040
|
<path
|
|
2947
3041
|
fill="currentColor"
|
|
@@ -2950,7 +3044,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2950
3044
|
clip-rule="evenodd"
|
|
2951
3045
|
/>
|
|
2952
3046
|
</svg>
|
|
2953
|
-
`,
|
|
3047
|
+
`,Ec=Object.freeze({__proto__:null,default:Dc}),Hc=ee`
|
|
2954
3048
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2955
3049
|
<path
|
|
2956
3050
|
fill="currentColor"
|
|
@@ -2965,7 +3059,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2965
3059
|
clip-rule="evenodd"
|
|
2966
3060
|
/>
|
|
2967
3061
|
</svg>
|
|
2968
|
-
`,
|
|
3062
|
+
`,Bc=Object.freeze({__proto__:null,default:Hc}),Oc=ee`
|
|
2969
3063
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2970
3064
|
<path
|
|
2971
3065
|
fill="currentColor"
|
|
@@ -2976,7 +3070,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2976
3070
|
d="M18.6 15a.6.6 0 0 0-1.2 0v2.4H15a.6.6 0 0 0 0 1.2h2.4V21a.6.6 0 1 0 1.2 0v-2.4H21a.6.6 0 1 0 0-1.2h-2.4V15Z"
|
|
2977
3071
|
/>
|
|
2978
3072
|
</svg>
|
|
2979
|
-
`,
|
|
3073
|
+
`,Tc=Object.freeze({__proto__:null,default:Oc}),Fc=ee`
|
|
2980
3074
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2981
3075
|
<path
|
|
2982
3076
|
fill="currentColor"
|
|
@@ -2985,7 +3079,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2985
3079
|
clip-rule="evenodd"
|
|
2986
3080
|
/>
|
|
2987
3081
|
</svg>
|
|
2988
|
-
`,
|
|
3082
|
+
`,Rc=Object.freeze({__proto__:null,default:Fc}),Nc=ee`
|
|
2989
3083
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2990
3084
|
<path
|
|
2991
3085
|
fill="currentColor"
|
|
@@ -2994,7 +3088,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
2994
3088
|
clip-rule="evenodd"
|
|
2995
3089
|
/>
|
|
2996
3090
|
</svg>
|
|
2997
|
-
`,
|
|
3091
|
+
`,jc=Object.freeze({__proto__:null,default:Nc}),Uc=ee`
|
|
2998
3092
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
2999
3093
|
<path
|
|
3000
3094
|
fill="currentColor"
|
|
@@ -3007,7 +3101,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3007
3101
|
clip-rule="evenodd"
|
|
3008
3102
|
/>
|
|
3009
3103
|
</svg>
|
|
3010
|
-
`,
|
|
3104
|
+
`,qc=Object.freeze({__proto__:null,default:Uc}),Yc=ee`
|
|
3011
3105
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3012
3106
|
<path
|
|
3013
3107
|
fill="currentColor"
|
|
@@ -3022,14 +3116,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3022
3116
|
d="M12 2.375A8.625 8.625 0 0 1 20.623 11a26.64 26.64 0 0 1-1.014 7.303.625.625 0 1 1-1.203-.342A25.39 25.39 0 0 0 19.374 11 7.375 7.375 0 0 0 8.312 4.611a.625.625 0 0 1-.625-1.082 8.59 8.59 0 0 1 4.312-1.154ZM4.529 6.688a.625.625 0 0 1 1.082.625A7.34 7.34 0 0 0 4.624 11a10.59 10.59 0 0 1-1.062 4.638.626.626 0 0 1-1.125-.547A9.34 9.34 0 0 0 3.374 11c0-1.57.42-3.043 1.155-4.313Z"
|
|
3023
3117
|
/>
|
|
3024
3118
|
</svg>
|
|
3025
|
-
`,
|
|
3119
|
+
`,Wc=Object.freeze({__proto__:null,default:Yc}),Kc=ee`
|
|
3026
3120
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3027
3121
|
<path
|
|
3028
3122
|
fill="currentColor"
|
|
3029
3123
|
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"
|
|
3030
3124
|
/>
|
|
3031
3125
|
</svg>
|
|
3032
|
-
`,
|
|
3126
|
+
`,Gc=Object.freeze({__proto__:null,default:Kc}),Jc=ee`
|
|
3033
3127
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3034
3128
|
<path
|
|
3035
3129
|
fill="currentColor"
|
|
@@ -3042,7 +3136,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3042
3136
|
clip-rule="evenodd"
|
|
3043
3137
|
/>
|
|
3044
3138
|
</svg>
|
|
3045
|
-
`,
|
|
3139
|
+
`,Xc=Object.freeze({__proto__:null,default:Jc}),Qc=ee`
|
|
3046
3140
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3047
3141
|
<path fill="currentColor" d="M9 13.4h6a.6.6 0 0 1 0 1.2H9a.6.6 0 1 1 0-1.2Z" />
|
|
3048
3142
|
<path
|
|
@@ -3052,7 +3146,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3052
3146
|
clip-rule="evenodd"
|
|
3053
3147
|
/>
|
|
3054
3148
|
</svg>
|
|
3055
|
-
`,
|
|
3149
|
+
`,eh=Object.freeze({__proto__:null,default:Qc}),th=ee`
|
|
3056
3150
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3057
3151
|
<path
|
|
3058
3152
|
fill="currentColor"
|
|
@@ -3065,7 +3159,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3065
3159
|
clip-rule="evenodd"
|
|
3066
3160
|
/>
|
|
3067
3161
|
</svg>
|
|
3068
|
-
`,
|
|
3162
|
+
`,sh=Object.freeze({__proto__:null,default:th}),ih=ee`
|
|
3069
3163
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3070
3164
|
<path
|
|
3071
3165
|
fill="currentColor"
|
|
@@ -3074,7 +3168,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3074
3168
|
clip-rule="evenodd"
|
|
3075
3169
|
/>
|
|
3076
3170
|
</svg>
|
|
3077
|
-
`,
|
|
3171
|
+
`,ah=Object.freeze({__proto__:null,default:ih}),oh=ee`
|
|
3078
3172
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3079
3173
|
<path
|
|
3080
3174
|
fill="currentColor"
|
|
@@ -3083,7 +3177,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3083
3177
|
clip-rule="evenodd"
|
|
3084
3178
|
/>
|
|
3085
3179
|
</svg>
|
|
3086
|
-
`,
|
|
3180
|
+
`,nh=Object.freeze({__proto__:null,default:oh}),rh=ee`
|
|
3087
3181
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3088
3182
|
<path
|
|
3089
3183
|
fill="currentColor"
|
|
@@ -3098,7 +3192,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3098
3192
|
clip-rule="evenodd"
|
|
3099
3193
|
/>
|
|
3100
3194
|
</svg>
|
|
3101
|
-
`,
|
|
3195
|
+
`,lh=Object.freeze({__proto__:null,default:rh}),dh=ee`
|
|
3102
3196
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3103
3197
|
<path
|
|
3104
3198
|
fill="currentColor"
|
|
@@ -3111,7 +3205,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3111
3205
|
d="M8.316 13.963a.6.6 0 1 0-.231-1.177c-1.729.34-3.236.904-4.328 1.64-1.08.728-1.857 1.702-1.857 2.868 0 1.563 1.38 2.78 3.137 3.57 1.813.816 4.275 1.305 6.963 1.305 2.688 0 5.151-.49 6.964-1.305 1.757-.79 3.136-2.007 3.136-3.57 0-1.166-.777-2.14-1.856-2.867-1.092-.737-2.6-1.302-4.328-1.641a.6.6 0 1 0-.231 1.177c1.627.32 2.97.839 3.888 1.458.932.63 1.327 1.285 1.327 1.873 0 .797-.747 1.719-2.428 2.475-1.626.732-3.913 1.2-6.472 1.2-2.558 0-4.846-.468-6.47-1.2-1.683-.756-2.43-1.678-2.43-2.475 0-.588.395-1.244 1.328-1.873.919-.62 2.261-1.138 3.888-1.458Z"
|
|
3112
3206
|
/>
|
|
3113
3207
|
</svg>
|
|
3114
|
-
`,
|
|
3208
|
+
`,ch=Object.freeze({__proto__:null,default:dh}),hh=ee`
|
|
3115
3209
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3116
3210
|
<path
|
|
3117
3211
|
fill="currentColor"
|
|
@@ -3124,7 +3218,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3124
3218
|
d="M8.316 13.963a.6.6 0 1 0-.231-1.177c-1.729.34-3.236.904-4.328 1.64-1.08.728-1.857 1.702-1.857 2.868 0 1.563 1.38 2.78 3.137 3.57 1.813.816 4.275 1.305 6.963 1.305 2.688 0 5.151-.49 6.964-1.305 1.757-.79 3.136-2.007 3.136-3.57 0-1.166-.777-2.14-1.856-2.867-1.092-.737-2.6-1.301-4.328-1.641a.6.6 0 1 0-.231 1.177c1.627.32 2.97.839 3.888 1.459.932.628 1.327 1.285 1.327 1.872 0 .797-.747 1.719-2.428 2.475-1.626.732-3.913 1.2-6.472 1.2-2.558 0-4.846-.468-6.47-1.2-1.683-.756-2.43-1.678-2.43-2.475 0-.587.395-1.244 1.328-1.873.919-.62 2.261-1.138 3.888-1.458Z"
|
|
3125
3219
|
/>
|
|
3126
3220
|
</svg>
|
|
3127
|
-
`,
|
|
3221
|
+
`,ph=Object.freeze({__proto__:null,default:hh}),uh=ee`
|
|
3128
3222
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3129
3223
|
<path fill="currentColor" d="M16.75 5.2a.863.863 0 1 0 0 1.725.863.863 0 0 0 0-1.725Z" />
|
|
3130
3224
|
<path
|
|
@@ -3134,7 +3228,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3134
3228
|
clip-rule="evenodd"
|
|
3135
3229
|
/>
|
|
3136
3230
|
</svg>
|
|
3137
|
-
`,
|
|
3231
|
+
`,gh=Object.freeze({__proto__:null,default:uh}),vh=ee`
|
|
3138
3232
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3139
3233
|
<path
|
|
3140
3234
|
fill="currentColor"
|
|
@@ -3143,14 +3237,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3143
3237
|
clip-rule="evenodd"
|
|
3144
3238
|
/>
|
|
3145
3239
|
</svg>
|
|
3146
|
-
`,
|
|
3240
|
+
`,mh=Object.freeze({__proto__:null,default:vh}),fh=ee`
|
|
3147
3241
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3148
3242
|
<path
|
|
3149
3243
|
fill="currentColor"
|
|
3150
3244
|
d="M20.666 10.378a10.6 10.6 0 0 1 .156 1.83c0 2.737-.979 5.053-2.682 6.62h.002C16.653 20.203 14.606 21 12.178 21a9 9 0 0 1 0-18 8.65 8.65 0 0 1 6.02 2.343l-2.569 2.57a4.89 4.89 0 0 0-3.451-1.35c-2.348 0-4.342 1.583-5.053 3.716a5.39 5.39 0 0 0 0 3.446h.003c.714 2.13 2.706 3.713 5.053 3.713 1.213 0 2.255-.31 3.063-.86h-.004a4.163 4.163 0 0 0 1.799-2.734h-4.861V10.38h8.488Z"
|
|
3151
3245
|
/>
|
|
3152
3246
|
</svg>
|
|
3153
|
-
`,
|
|
3247
|
+
`,bh=Object.freeze({__proto__:null,default:fh}),wh=ee`
|
|
3154
3248
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3155
3249
|
<path
|
|
3156
3250
|
fill="currentColor"
|
|
@@ -3159,14 +3253,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3159
3253
|
clip-rule="evenodd"
|
|
3160
3254
|
/>
|
|
3161
3255
|
</svg>
|
|
3162
|
-
`,
|
|
3256
|
+
`,yh=Object.freeze({__proto__:null,default:wh}),_h=ee`
|
|
3163
3257
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3164
3258
|
<path
|
|
3165
3259
|
fill="currentColor"
|
|
3166
3260
|
d="M4.67 16.665c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.067.254.068.564.068 1.182 0 .619 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068-.619 0-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.068-.254-.067-.564-.067-1.182s0-.928.067-1.182a2.001 2.001 0 0 1 1.416-1.416c.254-.067.563-.067 1.182-.067Zm7.33 0c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.564.068 1.182 0 .619 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182s0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.067.564-.067 1.182-.067Zm7.33 0c.619 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.564.068 1.182 0 .619 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182s0-.928.067-1.182a2.001 2.001 0 0 1 1.416-1.416c.254-.067.564-.067 1.182-.067ZM4.67 9.335c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.067.254.068.564.068 1.182s0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068-.619 0-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.068-.254-.067-.564-.067-1.182s0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.067.563-.067 1.182-.067Zm7.33 0c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.564.068 1.182s0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182s0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.067.564-.067 1.182-.067Zm7.33 0c.619 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.564.068 1.182s0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.068-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182s0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.067.564-.067 1.182-.067ZM4.67 2.005c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.067.254.068.563.068 1.182 0 .618 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.067-.564.068-1.182.068-.619 0-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.068-.254-.067-.564-.067-1.182 0-.619 0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.068.563-.067 1.182-.067Zm7.33 0c.618 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.563.068 1.182 0 .618 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.067-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182 0-.619 0-.928.067-1.182a2 2 0 0 1 1.416-1.416c.254-.068.564-.067 1.182-.067Zm7.33 0c.619 0 .928 0 1.182.067a2 2 0 0 1 1.415 1.416c.068.254.068.563.068 1.182 0 .618 0 .928-.068 1.182a2 2 0 0 1-1.415 1.415c-.254.067-.564.068-1.182.068s-.928 0-1.182-.068a2 2 0 0 1-1.416-1.415c-.067-.254-.067-.564-.067-1.182 0-.619 0-.928.067-1.182a2.001 2.001 0 0 1 1.416-1.416c.254-.068.564-.067 1.182-.067Z"
|
|
3167
3261
|
/>
|
|
3168
3262
|
</svg>
|
|
3169
|
-
`,
|
|
3263
|
+
`,xh=Object.freeze({__proto__:null,default:_h}),kh=ee`
|
|
3170
3264
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3171
3265
|
<path
|
|
3172
3266
|
fill="currentColor"
|
|
@@ -3175,7 +3269,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3175
3269
|
clip-rule="evenodd"
|
|
3176
3270
|
/>
|
|
3177
3271
|
</svg>
|
|
3178
|
-
`,
|
|
3272
|
+
`,Ch=Object.freeze({__proto__:null,default:kh}),$h=ee`
|
|
3179
3273
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3180
3274
|
<path
|
|
3181
3275
|
fill="currentColor"
|
|
@@ -3184,7 +3278,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3184
3278
|
clip-rule="evenodd"
|
|
3185
3279
|
/>
|
|
3186
3280
|
</svg>
|
|
3187
|
-
`,
|
|
3281
|
+
`,Sh=Object.freeze({__proto__:null,default:$h}),Mh=ee`
|
|
3188
3282
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3189
3283
|
<path
|
|
3190
3284
|
fill="currentColor"
|
|
@@ -3193,7 +3287,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3193
3287
|
clip-rule="evenodd"
|
|
3194
3288
|
/>
|
|
3195
3289
|
</svg>
|
|
3196
|
-
`,
|
|
3290
|
+
`,Zh=Object.freeze({__proto__:null,default:Mh}),Vh=ee`
|
|
3197
3291
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3198
3292
|
<path
|
|
3199
3293
|
fill="currentColor"
|
|
@@ -3202,7 +3296,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3202
3296
|
clip-rule="evenodd"
|
|
3203
3297
|
/>
|
|
3204
3298
|
</svg>
|
|
3205
|
-
|
|
3299
|
+
`,zh=Object.freeze({__proto__:null,default:Vh}),Ph=ee`
|
|
3206
3300
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3207
3301
|
<path
|
|
3208
3302
|
fill="currentColor"
|
|
@@ -3211,7 +3305,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3211
3305
|
clip-rule="evenodd"
|
|
3212
3306
|
/>
|
|
3213
3307
|
</svg>
|
|
3214
|
-
`,
|
|
3308
|
+
`,Ah=Object.freeze({__proto__:null,default:Ph}),Lh=ee`
|
|
3215
3309
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3216
3310
|
<path
|
|
3217
3311
|
fill="currentColor"
|
|
@@ -3220,7 +3314,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3220
3314
|
clip-rule="evenodd"
|
|
3221
3315
|
/>
|
|
3222
3316
|
</svg>
|
|
3223
|
-
`,
|
|
3317
|
+
`,Ih=Object.freeze({__proto__:null,default:Lh}),Dh=ee`
|
|
3224
3318
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3225
3319
|
<path
|
|
3226
3320
|
fill="currentColor"
|
|
@@ -3229,7 +3323,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3229
3323
|
clip-rule="evenodd"
|
|
3230
3324
|
/>
|
|
3231
3325
|
</svg>
|
|
3232
|
-
`,
|
|
3326
|
+
`,Eh=Object.freeze({__proto__:null,default:Dh}),Hh=ee`
|
|
3233
3327
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3234
3328
|
<path
|
|
3235
3329
|
fill="currentColor"
|
|
@@ -3238,7 +3332,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3238
3332
|
clip-rule="evenodd"
|
|
3239
3333
|
/>
|
|
3240
3334
|
</svg>
|
|
3241
|
-
`,
|
|
3335
|
+
`,Bh=Object.freeze({__proto__:null,default:Hh}),Oh=ee`
|
|
3242
3336
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3243
3337
|
<path
|
|
3244
3338
|
fill="currentColor"
|
|
@@ -3247,7 +3341,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3247
3341
|
clip-rule="evenodd"
|
|
3248
3342
|
/>
|
|
3249
3343
|
</svg>
|
|
3250
|
-
`,
|
|
3344
|
+
`,Th=Object.freeze({__proto__:null,default:Oh}),Fh=ee`
|
|
3251
3345
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3252
3346
|
<path
|
|
3253
3347
|
fill="currentColor"
|
|
@@ -3257,14 +3351,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3257
3351
|
/>
|
|
3258
3352
|
<path fill="currentColor" d="M12 7.15a.85.85 0 0 0 0 1.7h.01a.85.85 0 1 0 0-1.7H12Z" />
|
|
3259
3353
|
</svg>
|
|
3260
|
-
`,
|
|
3354
|
+
`,Rh=Object.freeze({__proto__:null,default:Fh}),Nh=ee`
|
|
3261
3355
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3262
3356
|
<path
|
|
3263
3357
|
fill="currentColor"
|
|
3264
3358
|
d="M12 3c-2.442 0-2.75.011-3.71.054-.959.045-1.612.196-2.185.419-.6.225-1.145.58-1.594 1.038-.458.45-.812.994-1.038 1.594-.223.571-.375 1.226-.419 2.182C3.011 9.25 3 9.556 3 12.002c0 2.444.011 2.75.054 3.71.045.958.196 1.611.419 2.184a4.42 4.42 0 0 0 1.038 1.594c.5.5 1.001.809 1.593 1.038.574.223 1.226.375 2.185.419.96.043 1.266.054 3.711.054s2.75-.011 3.71-.054c.958-.045 1.613-.196 2.186-.419.6-.226 1.144-.58 1.593-1.038.5-.5.808-1.002 1.038-1.594.222-.573.374-1.226.419-2.185.043-.96.054-1.265.054-3.71 0-2.445-.011-2.75-.054-3.711-.045-.958-.197-1.612-.419-2.184a4.417 4.417 0 0 0-1.038-1.594 4.4 4.4 0 0 0-1.594-1.038c-.574-.223-1.229-.375-2.186-.419C14.75 3.011 14.444 3 11.998 3H12Zm-.807 1.622h.808c2.403 0 2.688.008 3.636.052.878.04 1.355.187 1.672.31.42.162.72.358 1.035.673.315.315.51.614.673 1.035.123.316.27.793.309 1.67.044.95.053 1.234.053 3.636s-.01 2.687-.053 3.636c-.04.877-.187 1.353-.31 1.67a2.77 2.77 0 0 1-.673 1.034c-.315.315-.614.51-1.035.673-.315.124-.792.27-1.67.31-.95.043-1.234.053-3.637.053s-2.689-.01-3.637-.052c-.878-.041-1.353-.187-1.67-.311a2.789 2.789 0 0 1-1.036-.673 2.79 2.79 0 0 1-.675-1.035c-.122-.316-.27-.793-.309-1.67-.043-.949-.052-1.233-.052-3.637s.01-2.687.052-3.635c.04-.878.187-1.355.31-1.672.164-.42.36-.72.674-1.035a2.78 2.78 0 0 1 1.035-.673c.318-.124.794-.27 1.671-.31.83-.039 1.152-.05 2.83-.051v.002Zm5.612 1.494a1.08 1.08 0 1 0 0 2.16 1.08 1.08 0 0 0 0-2.16ZM12 7.38a4.623 4.623 0 1 0-.144 9.244A4.623 4.623 0 0 0 12 7.379ZM12 9a3 3 0 1 1 0 6.001 3 3 0 0 1 0-6Z"
|
|
3265
3359
|
/>
|
|
3266
3360
|
</svg>
|
|
3267
|
-
`,
|
|
3361
|
+
`,jh=Object.freeze({__proto__:null,default:Nh}),Uh=ee`
|
|
3268
3362
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3269
3363
|
<path fill="currentColor" d="M15.01 8.375a.625.625 0 1 1 0 1.25H15a.625.625 0 0 1 0-1.25h.01Z" />
|
|
3270
3364
|
<path
|
|
@@ -3274,7 +3368,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3274
3368
|
clip-rule="evenodd"
|
|
3275
3369
|
/>
|
|
3276
3370
|
</svg>
|
|
3277
|
-
`,
|
|
3371
|
+
`,qh=Object.freeze({__proto__:null,default:Uh}),Yh=ee`
|
|
3278
3372
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3279
3373
|
<path
|
|
3280
3374
|
fill="currentColor"
|
|
@@ -3290,7 +3384,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3290
3384
|
clip-rule="evenodd"
|
|
3291
3385
|
/>
|
|
3292
3386
|
</svg>
|
|
3293
|
-
`,
|
|
3387
|
+
`,Wh=Object.freeze({__proto__:null,default:Yh}),Kh=ee`
|
|
3294
3388
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3295
3389
|
<path
|
|
3296
3390
|
fill="currentColor"
|
|
@@ -3299,7 +3393,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3299
3393
|
clip-rule="evenodd"
|
|
3300
3394
|
/>
|
|
3301
3395
|
</svg>
|
|
3302
|
-
`,
|
|
3396
|
+
`,Gh=Object.freeze({__proto__:null,default:Kh}),Jh=ee`
|
|
3303
3397
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3304
3398
|
<path
|
|
3305
3399
|
fill="currentColor"
|
|
@@ -3308,7 +3402,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3308
3402
|
clip-rule="evenodd"
|
|
3309
3403
|
/>
|
|
3310
3404
|
</svg>
|
|
3311
|
-
`,
|
|
3405
|
+
`,Xh=Object.freeze({__proto__:null,default:Jh}),Qh=ee`
|
|
3312
3406
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3313
3407
|
<path
|
|
3314
3408
|
fill="currentColor"
|
|
@@ -3317,7 +3411,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3317
3411
|
clip-rule="evenodd"
|
|
3318
3412
|
/>
|
|
3319
3413
|
</svg>
|
|
3320
|
-
`,
|
|
3414
|
+
`,ep=Object.freeze({__proto__:null,default:Qh}),tp=ee`
|
|
3321
3415
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3322
3416
|
<path
|
|
3323
3417
|
fill="currentColor"
|
|
@@ -3326,7 +3420,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3326
3420
|
clip-rule="evenodd"
|
|
3327
3421
|
/>
|
|
3328
3422
|
</svg>
|
|
3329
|
-
`,
|
|
3423
|
+
`,sp=Object.freeze({__proto__:null,default:tp}),ip=ee`
|
|
3330
3424
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3331
3425
|
<path
|
|
3332
3426
|
fill="currentColor"
|
|
@@ -3335,7 +3429,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3335
3429
|
clip-rule="evenodd"
|
|
3336
3430
|
/>
|
|
3337
3431
|
</svg>
|
|
3338
|
-
`,
|
|
3432
|
+
`,ap=Object.freeze({__proto__:null,default:ip}),op=ee`
|
|
3339
3433
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3340
3434
|
<path
|
|
3341
3435
|
fill="currentColor"
|
|
@@ -3344,7 +3438,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3344
3438
|
clip-rule="evenodd"
|
|
3345
3439
|
/>
|
|
3346
3440
|
</svg>
|
|
3347
|
-
`,
|
|
3441
|
+
`,np=Object.freeze({__proto__:null,default:op}),rp=ee`
|
|
3348
3442
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3349
3443
|
<path
|
|
3350
3444
|
fill="currentColor"
|
|
@@ -3361,7 +3455,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3361
3455
|
d="M1.875 12c0-.345.28-.625.625-.625h.95a.625.625 0 1 1 0 1.25H2.5A.625.625 0 0 1 1.875 12Zm18.05 0c0-.345.28-.625.625-.625h.95a.625.625 0 1 1 0 1.25h-.95a.625.625 0 0 1-.625-.625Z"
|
|
3362
3456
|
/>
|
|
3363
3457
|
</svg>
|
|
3364
|
-
`,
|
|
3458
|
+
`,lp=Object.freeze({__proto__:null,default:rp}),dp=ee`
|
|
3365
3459
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3366
3460
|
<path
|
|
3367
3461
|
fill="currentColor"
|
|
@@ -3370,21 +3464,21 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3370
3464
|
clip-rule="evenodd"
|
|
3371
3465
|
/>
|
|
3372
3466
|
</svg>
|
|
3373
|
-
`,
|
|
3467
|
+
`,cp=Object.freeze({__proto__:null,default:dp}),hp=ee`
|
|
3374
3468
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3375
3469
|
<path
|
|
3376
3470
|
fill="currentColor"
|
|
3377
3471
|
d="M3 4.29C3 3.576 3.592 3 4.322 3h15.356C20.408 3 21 3.577 21 4.29v15.42c0 .713-.592 1.29-1.322 1.29H4.322C3.592 21 3 20.423 3 19.71V4.29Zm5.56 13.778V9.94h-2.7v8.128h2.7ZM7.21 8.83c.942 0 1.529-.623 1.529-1.404-.017-.798-.585-1.404-1.51-1.404S5.7 6.629 5.7 7.426c0 .78.586 1.404 1.493 1.404h.018Zm5.522 9.238v-4.54c0-.242.018-.485.09-.658.195-.485.64-.988 1.386-.988.978 0 1.368.745 1.368 1.838v4.348h2.701v-4.662c0-2.497-1.332-3.658-3.109-3.658-1.433 0-2.076.787-2.436 1.342v.028h-.018l.018-.028V9.94h-2.7c.034.763 0 8.128 0 8.128h2.7Z"
|
|
3378
3472
|
/>
|
|
3379
3473
|
</svg>
|
|
3380
|
-
`,
|
|
3474
|
+
`,pp=Object.freeze({__proto__:null,default:hp}),up=ee`
|
|
3381
3475
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3382
3476
|
<path
|
|
3383
3477
|
fill="currentColor"
|
|
3384
3478
|
d="M4 4.375a1.625 1.625 0 1 0 0 3.25 1.625 1.625 0 0 0 0-3.25Zm5 1a.625.625 0 1 0 0 1.25h12a.625.625 0 1 0 0-1.25H9Zm-5 5a1.625 1.625 0 1 0 0 3.25 1.625 1.625 0 0 0 0-3.25Zm5 1a.625.625 0 1 0 0 1.25h12a.625.625 0 1 0 0-1.25H9Zm-5 5a1.625 1.625 0 1 0 0 3.25 1.625 1.625 0 0 0 0-3.25Zm5 1a.625.625 0 1 0 0 1.25h12a.625.625 0 1 0 0-1.25H9Z"
|
|
3385
3479
|
/>
|
|
3386
3480
|
</svg>
|
|
3387
|
-
`,
|
|
3481
|
+
`,gp=Object.freeze({__proto__:null,default:up}),vp=ee`
|
|
3388
3482
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3389
3483
|
<path
|
|
3390
3484
|
fill="currentColor"
|
|
@@ -3393,7 +3487,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3393
3487
|
clip-rule="evenodd"
|
|
3394
3488
|
/>
|
|
3395
3489
|
</svg>
|
|
3396
|
-
`,
|
|
3490
|
+
`,mp=Object.freeze({__proto__:null,default:vp}),fp=ee`
|
|
3397
3491
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3398
3492
|
<path
|
|
3399
3493
|
fill="currentColor"
|
|
@@ -3402,7 +3496,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3402
3496
|
clip-rule="evenodd"
|
|
3403
3497
|
/>
|
|
3404
3498
|
</svg>
|
|
3405
|
-
`,
|
|
3499
|
+
`,bp=Object.freeze({__proto__:null,default:fp}),wp=ee`
|
|
3406
3500
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3407
3501
|
<path
|
|
3408
3502
|
fill="currentColor"
|
|
@@ -3413,7 +3507,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3413
3507
|
d="M9.67 6.836a.625.625 0 0 1 .883 0l4.722 4.722a.625.625 0 0 1 0 .884l-4.722 4.722a.625.625 0 0 1-.884-.884l3.655-3.655H3.5a.625.625 0 1 1 0-1.25h9.824L9.67 7.72a.625.625 0 0 1 0-.884Z"
|
|
3414
3508
|
/>
|
|
3415
3509
|
</svg>
|
|
3416
|
-
`,
|
|
3510
|
+
`,yp=Object.freeze({__proto__:null,default:wp}),_p=ee`
|
|
3417
3511
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3418
3512
|
<path
|
|
3419
3513
|
fill="currentColor"
|
|
@@ -3424,7 +3518,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3424
3518
|
d="M15.336 6.836a.625.625 0 0 1 .884 0l4.722 4.722a.625.625 0 0 1 0 .884l-4.722 4.722a.625.625 0 0 1-.884-.884l3.655-3.655H9.167a.625.625 0 1 1 0-1.25h9.824L15.336 7.72a.625.625 0 0 1 0-.884Z"
|
|
3425
3519
|
/>
|
|
3426
3520
|
</svg>
|
|
3427
|
-
`,
|
|
3521
|
+
`,xp=Object.freeze({__proto__:null,default:_p}),kp=ee`
|
|
3428
3522
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3429
3523
|
<path
|
|
3430
3524
|
fill="currentColor"
|
|
@@ -3439,7 +3533,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3439
3533
|
clip-rule="evenodd"
|
|
3440
3534
|
/>
|
|
3441
3535
|
</svg>
|
|
3442
|
-
`,
|
|
3536
|
+
`,Cp=Object.freeze({__proto__:null,default:kp}),$p=ee`
|
|
3443
3537
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3444
3538
|
<path
|
|
3445
3539
|
fill="currentColor"
|
|
@@ -3448,7 +3542,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3448
3542
|
clip-rule="evenodd"
|
|
3449
3543
|
/>
|
|
3450
3544
|
</svg>
|
|
3451
|
-
`,
|
|
3545
|
+
`,Sp=Object.freeze({__proto__:null,default:$p}),Mp=ee`
|
|
3452
3546
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3453
3547
|
<path
|
|
3454
3548
|
fill="currentColor"
|
|
@@ -3457,7 +3551,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3457
3551
|
clip-rule="evenodd"
|
|
3458
3552
|
/>
|
|
3459
3553
|
</svg>
|
|
3460
|
-
`,
|
|
3554
|
+
`,Zp=Object.freeze({__proto__:null,default:Mp}),Vp=ee`
|
|
3461
3555
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3462
3556
|
<path
|
|
3463
3557
|
fill="currentColor"
|
|
@@ -3466,21 +3560,21 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3466
3560
|
clip-rule="evenodd"
|
|
3467
3561
|
/>
|
|
3468
3562
|
</svg>
|
|
3469
|
-
|
|
3563
|
+
`,zp=Object.freeze({__proto__:null,default:Vp}),Pp=ee`
|
|
3470
3564
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3471
3565
|
<path
|
|
3472
3566
|
fill="currentColor"
|
|
3473
3567
|
d="M6.498 5.01c2.62-1.106 7.426-2.376 10.817-1.389 1.744.508 3.326 2.43 3.63 4.476.251 1.696-.391 3.635-1.279 4.616a.36.36 0 0 0-.07.368c1.226 3.229-.699 4.789-2.892 5.227-2.245.448-4.438 1.218-6.547 2.118-2.161.923-5.258-.03-6.304-2.402-.59-1.341-.173-3.292.304-4.674a.538.538 0 0 0-.081-.496 5.5 5.5 0 0 1-.893-1.851c-.755-2.764.922-4.983 3.315-5.993Zm7.711 3.664c-.62-.703-1.719-.815-2.55-.028-.161.153-.457.118-.611-.042-.497-.514-1.406-.621-2.17-.307-.632.259-1.139.853-1.444 1.765 0 0-.554 2.183-1.028 3.511-.75 2.275 2.527 2.93 3.172.798l.93-3.34c.147-.484.37-.9.816-.785.446.117.47.586.294 1.09l-.435 1.844c-.398 1.472 1.623 1.869 2.051.52l.698-2.669c.14-.513.389-.814.75-.736.362.077.472.395.33.907l-.386 1.555c-.252.894-.024 1.637.856 1.782.96.157 1.562-.256 1.768-.43a.297.297 0 0 0 .096-.182.231.231 0 0 0-.22-.27c-.364-.01-.586-.066-.667-.306-.061-.184-.083-.382.028-.78a457.2 457.2 0 0 0 .521-1.91c.2-.739.48-1.582-.188-2.166-.56-.49-1.43-.35-2.112.226a.364.364 0 0 1-.499-.047Zm1.11 12.318c2.722-.072 3.46-1.777 2.826-1.905-1.73-.347-8.968 2.068-2.826 1.905ZM5.956 3.031c-1.874.15-2.453 2.048-2 2.048 1.2 0 6.095-2.375 2-2.048Z"
|
|
3474
3568
|
/>
|
|
3475
3569
|
</svg>
|
|
3476
|
-
`,
|
|
3570
|
+
`,Ap=Object.freeze({__proto__:null,default:Pp}),Lp=ee`
|
|
3477
3571
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3478
3572
|
<path
|
|
3479
3573
|
fill="currentColor"
|
|
3480
3574
|
d="M2.375 6c0-.345.28-.625.625-.625h18a.625.625 0 1 1 0 1.25H3A.625.625 0 0 1 2.375 6Zm0 6c0-.345.28-.625.625-.625h18a.625.625 0 1 1 0 1.25H3A.625.625 0 0 1 2.375 12Zm0 6c0-.345.28-.625.625-.625h12a.625.625 0 1 1 0 1.25H3A.625.625 0 0 1 2.375 18Z"
|
|
3481
3575
|
/>
|
|
3482
3576
|
</svg>
|
|
3483
|
-
`,
|
|
3577
|
+
`,Ip=Object.freeze({__proto__:null,default:Lp}),Dp=ee`
|
|
3484
3578
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3485
3579
|
<path
|
|
3486
3580
|
fill="currentColor"
|
|
@@ -3493,7 +3587,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3493
3587
|
d="M5.35 9.475c.345 0 .625.28.625.625V12a6.025 6.025 0 0 0 12.05 0v-1.9a.625.625 0 1 1 1.25 0V12a7.276 7.276 0 0 1-6.65 7.248v1.627H15.8a.625.625 0 1 1 0 1.25H8.2a.625.625 0 1 1 0-1.25h3.175v-1.627A7.276 7.276 0 0 1 4.725 12v-1.9c0-.345.28-.625.625-.625Z"
|
|
3494
3588
|
/>
|
|
3495
3589
|
</svg>
|
|
3496
|
-
`,
|
|
3590
|
+
`,Ep=Object.freeze({__proto__:null,default:Dp}),Hp=ee`
|
|
3497
3591
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3498
3592
|
<path
|
|
3499
3593
|
fill="currentColor"
|
|
@@ -3502,21 +3596,21 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3502
3596
|
clip-rule="evenodd"
|
|
3503
3597
|
/>
|
|
3504
3598
|
</svg>
|
|
3505
|
-
`,
|
|
3599
|
+
`,Bp=Object.freeze({__proto__:null,default:Hp}),Op=ee`
|
|
3506
3600
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3507
3601
|
<path
|
|
3508
3602
|
fill="currentColor"
|
|
3509
3603
|
d="M6.924 6.641c0-.961.129-1.894.373-2.779a9.259 9.259 0 1 0 12.84 12.84c-.885.244-1.817.374-2.779.374-5.763 0-10.434-4.671-10.434-10.434Zm1.176 0a9.258 9.258 0 0 0 9.258 9.259c1.36 0 2.65-.293 3.811-.818a.59.59 0 0 1 .779.778A10.438 10.438 0 0 1 12.435 22C6.672 22 2 17.328 2 11.565 2 7.332 4.52 3.69 8.14 2.052a.588.588 0 0 1 .778.779A9.223 9.223 0 0 0 8.1 6.64Z"
|
|
3510
3604
|
/>
|
|
3511
3605
|
</svg>
|
|
3512
|
-
`,
|
|
3606
|
+
`,Tp=Object.freeze({__proto__:null,default:Op}),Fp=ee`
|
|
3513
3607
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3514
3608
|
<path
|
|
3515
3609
|
fill="currentColor"
|
|
3516
3610
|
d="M10.125 19a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm7 0a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm-7-7a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm7 0a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm-7-7a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Zm7 0a1.625 1.625 0 1 1-3.25 0 1.625 1.625 0 0 1 3.25 0Z"
|
|
3517
3611
|
/>
|
|
3518
3612
|
</svg>
|
|
3519
|
-
`,
|
|
3613
|
+
`,Rp=Object.freeze({__proto__:null,default:Fp}),Np=ee`
|
|
3520
3614
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3521
3615
|
<path
|
|
3522
3616
|
fill="currentColor"
|
|
@@ -3525,7 +3619,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3525
3619
|
clip-rule="evenodd"
|
|
3526
3620
|
/>
|
|
3527
3621
|
</svg>
|
|
3528
|
-
`,
|
|
3622
|
+
`,jp=Object.freeze({__proto__:null,default:Np}),Up=ee`
|
|
3529
3623
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3530
3624
|
<path
|
|
3531
3625
|
fill="currentColor"
|
|
@@ -3538,7 +3632,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3538
3632
|
clip-rule="evenodd"
|
|
3539
3633
|
/>
|
|
3540
3634
|
</svg>
|
|
3541
|
-
`,
|
|
3635
|
+
`,qp=Object.freeze({__proto__:null,default:Up}),Yp=ee`
|
|
3542
3636
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3543
3637
|
<path
|
|
3544
3638
|
fill="currentColor"
|
|
@@ -3557,14 +3651,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3557
3651
|
clip-rule="evenodd"
|
|
3558
3652
|
/>
|
|
3559
3653
|
</svg>
|
|
3560
|
-
`,
|
|
3654
|
+
`,Wp=Object.freeze({__proto__:null,default:Yp}),Kp=ee`
|
|
3561
3655
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3562
3656
|
<path
|
|
3563
3657
|
fill="currentColor"
|
|
3564
3658
|
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"
|
|
3565
3659
|
/>
|
|
3566
3660
|
</svg>
|
|
3567
|
-
`,
|
|
3661
|
+
`,Gp=Object.freeze({__proto__:null,default:Kp}),Jp=ee`
|
|
3568
3662
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3569
3663
|
<path
|
|
3570
3664
|
fill="currentColor"
|
|
@@ -3573,7 +3667,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3573
3667
|
clip-rule="evenodd"
|
|
3574
3668
|
/>
|
|
3575
3669
|
</svg>
|
|
3576
|
-
`,
|
|
3670
|
+
`,Xp=Object.freeze({__proto__:null,default:Jp}),Qp=ee`
|
|
3577
3671
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3578
3672
|
<path
|
|
3579
3673
|
fill="currentColor"
|
|
@@ -3582,7 +3676,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3582
3676
|
clip-rule="evenodd"
|
|
3583
3677
|
/>
|
|
3584
3678
|
</svg>
|
|
3585
|
-
`,
|
|
3679
|
+
`,eu=Object.freeze({__proto__:null,default:Qp}),tu=ee`
|
|
3586
3680
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3587
3681
|
<path
|
|
3588
3682
|
fill="currentColor"
|
|
@@ -3591,7 +3685,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3591
3685
|
clip-rule="evenodd"
|
|
3592
3686
|
/>
|
|
3593
3687
|
</svg>
|
|
3594
|
-
`,
|
|
3688
|
+
`,su=Object.freeze({__proto__:null,default:tu}),iu=ee`
|
|
3595
3689
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3596
3690
|
<path
|
|
3597
3691
|
fill="currentColor"
|
|
@@ -3600,7 +3694,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3600
3694
|
clip-rule="evenodd"
|
|
3601
3695
|
/>
|
|
3602
3696
|
</svg>
|
|
3603
|
-
`,
|
|
3697
|
+
`,au=Object.freeze({__proto__:null,default:iu}),ou=ee`
|
|
3604
3698
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3605
3699
|
<path
|
|
3606
3700
|
fill="currentColor"
|
|
@@ -3609,7 +3703,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3609
3703
|
clip-rule="evenodd"
|
|
3610
3704
|
/>
|
|
3611
3705
|
</svg>
|
|
3612
|
-
`,
|
|
3706
|
+
`,nu=Object.freeze({__proto__:null,default:ou}),ru=ee`
|
|
3613
3707
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3614
3708
|
<path
|
|
3615
3709
|
fill="currentColor"
|
|
@@ -3618,7 +3712,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3618
3712
|
clip-rule="evenodd"
|
|
3619
3713
|
/>
|
|
3620
3714
|
</svg>
|
|
3621
|
-
`,
|
|
3715
|
+
`,lu=Object.freeze({__proto__:null,default:ru}),du=ee`
|
|
3622
3716
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3623
3717
|
<path
|
|
3624
3718
|
fill="currentColor"
|
|
@@ -3631,7 +3725,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3631
3725
|
clip-rule="evenodd"
|
|
3632
3726
|
/>
|
|
3633
3727
|
</svg>
|
|
3634
|
-
`,
|
|
3728
|
+
`,cu=Object.freeze({__proto__:null,default:du}),hu=ee`
|
|
3635
3729
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3636
3730
|
<path
|
|
3637
3731
|
fill="currentColor"
|
|
@@ -3640,7 +3734,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3640
3734
|
clip-rule="evenodd"
|
|
3641
3735
|
/>
|
|
3642
3736
|
</svg>
|
|
3643
|
-
`,
|
|
3737
|
+
`,pu=Object.freeze({__proto__:null,default:hu}),uu=ee`
|
|
3644
3738
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3645
3739
|
<path
|
|
3646
3740
|
fill="currentColor"
|
|
@@ -3649,14 +3743,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3649
3743
|
clip-rule="evenodd"
|
|
3650
3744
|
/>
|
|
3651
3745
|
</svg>
|
|
3652
|
-
`,
|
|
3746
|
+
`,gu=Object.freeze({__proto__:null,default:uu}),vu=ee`
|
|
3653
3747
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3654
3748
|
<path
|
|
3655
3749
|
fill="currentColor"
|
|
3656
3750
|
d="M10.855 20.676A8.81 8.81 0 0 0 12 20.75V22c-.443 0-.878-.032-1.306-.088l.161-1.236Zm2.29 0 .16 1.236c-.428.056-.863.088-1.305.088v-1.25c.389 0 .77-.025 1.145-.074Zm-6.471-1.734c.602.463 1.267.85 1.977 1.145l-.48 1.152a9.987 9.987 0 0 1-2.259-1.307l.762-.99Zm11.413.99a9.986 9.986 0 0 1-2.26 1.307l-.478-1.152a8.745 8.745 0 0 0 1.977-1.145l.76.99ZM3.913 15.349c.295.71.682 1.375 1.145 1.977l-.99.76a9.984 9.984 0 0 1-1.308-2.259l1.153-.478Zm17.326.478a9.986 9.986 0 0 1-1.307 2.26l-.99-.76a8.745 8.745 0 0 0 1.145-1.978l1.152.478ZM2 12c0-.443.031-.878.087-1.306l.617.08.62.082a8.844 8.844 0 0 0 0 2.289l-.62.08-.617.08A10.089 10.089 0 0 1 2 12Zm20 0c0 .442-.032.877-.088 1.305l-.616-.08-.62-.08a8.842 8.842 0 0 0 0-2.29l1.236-.16c.056.427.088.862.088 1.305ZM5.058 6.674A8.745 8.745 0 0 0 3.913 8.65L2.76 8.17a9.987 9.987 0 0 1 1.307-2.259l.99.762Zm14.874-.762c.529.688.97 1.447 1.307 2.26l-1.152.48a8.745 8.745 0 0 0-1.145-1.978l.99-.762ZM8.652 3.913a8.745 8.745 0 0 0-1.978 1.145l-.762-.99a9.987 9.987 0 0 1 2.26-1.308l.48 1.153Zm7.175-1.153a9.984 9.984 0 0 1 2.26 1.307l-.76.99a8.745 8.745 0 0 0-1.978-1.144l.478-1.153ZM12 2c.442 0 .878.031 1.305.087l-.075.583-.085.654a8.844 8.844 0 0 0-2.29 0l-.085-.654-.076-.583A10.09 10.09 0 0 1 12 2Z"
|
|
3657
3751
|
/>
|
|
3658
3752
|
</svg>
|
|
3659
|
-
`,
|
|
3753
|
+
`,mu=Object.freeze({__proto__:null,default:vu}),fu=ee`
|
|
3660
3754
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3661
3755
|
<path
|
|
3662
3756
|
fill="currentColor"
|
|
@@ -3665,14 +3759,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3665
3759
|
clip-rule="evenodd"
|
|
3666
3760
|
/>
|
|
3667
3761
|
</svg>
|
|
3668
|
-
`,
|
|
3762
|
+
`,bu=Object.freeze({__proto__:null,default:fu}),wu=ee`
|
|
3669
3763
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3670
3764
|
<path
|
|
3671
3765
|
fill="currentColor"
|
|
3672
3766
|
d="M17.518 10.57c.703.467 1.055.7 1.178.996.107.257.108.547.002.805-.122.296-.473.53-1.174 1l-7.905 5.294c-.85.57-1.276.855-1.628.834a1.052 1.052 0 0 1-.778-.415C7 18.802 7 18.291 7 17.267V6.727c0-1.02 0-1.529.213-1.81.185-.245.468-.397.775-.416.352-.021.776.26 1.625.824l7.905 5.246Z"
|
|
3673
3767
|
/>
|
|
3674
3768
|
</svg>
|
|
3675
|
-
`,
|
|
3769
|
+
`,yu=Object.freeze({__proto__:null,default:wu}),_u=ee`
|
|
3676
3770
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3677
3771
|
<path
|
|
3678
3772
|
fill="currentColor"
|
|
@@ -3681,7 +3775,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3681
3775
|
clip-rule="evenodd"
|
|
3682
3776
|
/>
|
|
3683
3777
|
</svg>
|
|
3684
|
-
`,
|
|
3778
|
+
`,xu=Object.freeze({__proto__:null,default:_u}),ku=ee`
|
|
3685
3779
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3686
3780
|
<path
|
|
3687
3781
|
fill="currentColor"
|
|
@@ -3690,7 +3784,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3690
3784
|
clip-rule="evenodd"
|
|
3691
3785
|
/>
|
|
3692
3786
|
</svg>
|
|
3693
|
-
`,
|
|
3787
|
+
`,Cu=Object.freeze({__proto__:null,default:ku}),$u=ee`
|
|
3694
3788
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3695
3789
|
<path
|
|
3696
3790
|
fill="currentColor"
|
|
@@ -3699,7 +3793,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3699
3793
|
clip-rule="evenodd"
|
|
3700
3794
|
/>
|
|
3701
3795
|
</svg>
|
|
3702
|
-
`,
|
|
3796
|
+
`,Su=Object.freeze({__proto__:null,default:$u}),Mu=ee`
|
|
3703
3797
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3704
3798
|
<path
|
|
3705
3799
|
fill="currentColor"
|
|
@@ -3708,7 +3802,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3708
3802
|
clip-rule="evenodd"
|
|
3709
3803
|
/>
|
|
3710
3804
|
</svg>
|
|
3711
|
-
`,
|
|
3805
|
+
`,Zu=Object.freeze({__proto__:null,default:Mu}),Vu=ee`
|
|
3712
3806
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3713
3807
|
<path
|
|
3714
3808
|
fill="currentColor"
|
|
@@ -3721,7 +3815,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3721
3815
|
clip-rule="evenodd"
|
|
3722
3816
|
/>
|
|
3723
3817
|
</svg>
|
|
3724
|
-
|
|
3818
|
+
`,zu=Object.freeze({__proto__:null,default:Vu}),Pu=ee`
|
|
3725
3819
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3726
3820
|
<path
|
|
3727
3821
|
fill="currentColor"
|
|
@@ -3736,7 +3830,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3736
3830
|
clip-rule="evenodd"
|
|
3737
3831
|
/>
|
|
3738
3832
|
</svg>
|
|
3739
|
-
`,
|
|
3833
|
+
`,Au=Object.freeze({__proto__:null,default:Pu}),Lu=ee`
|
|
3740
3834
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3741
3835
|
<path
|
|
3742
3836
|
fill="currentColor"
|
|
@@ -3745,7 +3839,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3745
3839
|
clip-rule="evenodd"
|
|
3746
3840
|
/>
|
|
3747
3841
|
</svg>
|
|
3748
|
-
`,
|
|
3842
|
+
`,Iu=Object.freeze({__proto__:null,default:Lu}),Du=ee`
|
|
3749
3843
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3750
3844
|
<path
|
|
3751
3845
|
fill="currentColor"
|
|
@@ -3754,7 +3848,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3754
3848
|
clip-rule="evenodd"
|
|
3755
3849
|
/>
|
|
3756
3850
|
</svg>
|
|
3757
|
-
`,
|
|
3851
|
+
`,Eu=Object.freeze({__proto__:null,default:Du}),Hu=ee`
|
|
3758
3852
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3759
3853
|
<path
|
|
3760
3854
|
fill="currentColor"
|
|
@@ -3763,7 +3857,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3763
3857
|
clip-rule="evenodd"
|
|
3764
3858
|
/>
|
|
3765
3859
|
</svg>
|
|
3766
|
-
`,
|
|
3860
|
+
`,Bu=Object.freeze({__proto__:null,default:Hu}),Ou=ee`
|
|
3767
3861
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3768
3862
|
<path
|
|
3769
3863
|
fill="#DB0000"
|
|
@@ -3786,7 +3880,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3786
3880
|
d="M11.687 6.91s.261-.256.349-.466c3.964 1.713 3.34 4.616.972 7.052-1.452 1.548-1.002 3.218-1.002 3.218s-1.77 1.142-2.381 2.135c0 0-2.565-2.261.987-6.014 3.485-3.684 1.075-5.925 1.075-5.925Z"
|
|
3787
3881
|
/>
|
|
3788
3882
|
</svg>
|
|
3789
|
-
`,
|
|
3883
|
+
`,Tu=Object.freeze({__proto__:null,default:Ou}),Fu=ee`
|
|
3790
3884
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3791
3885
|
<path
|
|
3792
3886
|
fill="currentColor"
|
|
@@ -3795,7 +3889,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3795
3889
|
clip-rule="evenodd"
|
|
3796
3890
|
/>
|
|
3797
3891
|
</svg>
|
|
3798
|
-
`,
|
|
3892
|
+
`,Ru=Object.freeze({__proto__:null,default:Fu}),Nu=ee`
|
|
3799
3893
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3800
3894
|
<path
|
|
3801
3895
|
fill="currentColor"
|
|
@@ -3808,7 +3902,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3808
3902
|
clip-rule="evenodd"
|
|
3809
3903
|
/>
|
|
3810
3904
|
</svg>
|
|
3811
|
-
`,
|
|
3905
|
+
`,ju=Object.freeze({__proto__:null,default:Nu}),Uu=ee`
|
|
3812
3906
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3813
3907
|
<path
|
|
3814
3908
|
fill="currentColor"
|
|
@@ -3821,7 +3915,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3821
3915
|
d="M15.5 9.058a.626.626 0 0 1 .885.884L14.327 12l2.058 2.058a.626.626 0 0 1-.885.884l-2.5-2.5a.626.626 0 0 1 0-.884l2.5-2.5Z"
|
|
3822
3916
|
/>
|
|
3823
3917
|
</svg>
|
|
3824
|
-
`,
|
|
3918
|
+
`,qu=Object.freeze({__proto__:null,default:Uu}),Yu=ee`
|
|
3825
3919
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3826
3920
|
<path
|
|
3827
3921
|
fill="currentColor"
|
|
@@ -3834,7 +3928,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3834
3928
|
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"
|
|
3835
3929
|
/>
|
|
3836
3930
|
</svg>
|
|
3837
|
-
`,
|
|
3931
|
+
`,Wu=Object.freeze({__proto__:null,default:Yu}),Ku=ee`
|
|
3838
3932
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3839
3933
|
<path
|
|
3840
3934
|
fill="currentColor"
|
|
@@ -3843,11 +3937,11 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3843
3937
|
clip-rule="evenodd"
|
|
3844
3938
|
/>
|
|
3845
3939
|
</svg>
|
|
3846
|
-
`,
|
|
3940
|
+
`,Gu=Object.freeze({__proto__:null,default:Ku}),Ju=ee`
|
|
3847
3941
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3848
3942
|
<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" />
|
|
3849
3943
|
</svg>
|
|
3850
|
-
`,
|
|
3944
|
+
`,Xu=Object.freeze({__proto__:null,default:Ju}),Qu=ee`
|
|
3851
3945
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3852
3946
|
<path
|
|
3853
3947
|
fill="currentColor"
|
|
@@ -3874,21 +3968,21 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3874
3968
|
d="M12 13.875c.345 0 .625.28.625.625v6a.625.625 0 1 1-1.25 0v-6c0-.345.28-.625.625-.625Z"
|
|
3875
3969
|
/>
|
|
3876
3970
|
</svg>
|
|
3877
|
-
`,
|
|
3971
|
+
`,eg=Object.freeze({__proto__:null,default:Qu}),tg=ee`
|
|
3878
3972
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3879
3973
|
<path
|
|
3880
3974
|
fill="currentColor"
|
|
3881
3975
|
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"
|
|
3882
3976
|
/>
|
|
3883
3977
|
</svg>
|
|
3884
|
-
`,
|
|
3978
|
+
`,sg=Object.freeze({__proto__:null,default:tg}),ig=ee`
|
|
3885
3979
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3886
3980
|
<path
|
|
3887
3981
|
fill="currentColor"
|
|
3888
3982
|
d="M16.5 11.375c.345 0 .625.28.625.625v6.52l2.44-2.372a.625.625 0 1 1 .87.895l-3.5 3.405a.625.625 0 0 1-.87 0l-3.5-3.405a.625.625 0 1 1 .87-.895l2.44 2.372V12c0-.345.28-.625.625-.625Zm-8.5 6a.625.625 0 1 1 0 1.25H4a.625.625 0 1 1 0-1.25h4Zm4-6a.625.625 0 1 1 0 1.25H4a.625.625 0 1 1 0-1.25h8Zm5-6a.625.625 0 1 1 0 1.25H4a.625.625 0 1 1 0-1.25h13Z"
|
|
3889
3983
|
/>
|
|
3890
3984
|
</svg>
|
|
3891
|
-
`,
|
|
3985
|
+
`,ag=Object.freeze({__proto__:null,default:ig}),og=ee`
|
|
3892
3986
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3893
3987
|
<path
|
|
3894
3988
|
fill="currentColor"
|
|
@@ -3897,7 +3991,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3897
3991
|
clip-rule="evenodd"
|
|
3898
3992
|
/>
|
|
3899
3993
|
</svg>
|
|
3900
|
-
`,
|
|
3994
|
+
`,ng=Object.freeze({__proto__:null,default:og}),rg=ee`
|
|
3901
3995
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3902
3996
|
<path
|
|
3903
3997
|
fill="currentColor"
|
|
@@ -3906,7 +4000,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3906
4000
|
clip-rule="evenodd"
|
|
3907
4001
|
/>
|
|
3908
4002
|
</svg>
|
|
3909
|
-
`,
|
|
4003
|
+
`,lg=Object.freeze({__proto__:null,default:rg}),dg=ee`
|
|
3910
4004
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3911
4005
|
<path
|
|
3912
4006
|
fill="currentColor"
|
|
@@ -3915,7 +4009,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3915
4009
|
clip-rule="evenodd"
|
|
3916
4010
|
/>
|
|
3917
4011
|
</svg>
|
|
3918
|
-
`,
|
|
4012
|
+
`,cg=Object.freeze({__proto__:null,default:dg}),hg=ee`
|
|
3919
4013
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3920
4014
|
<path
|
|
3921
4015
|
fill="currentColor"
|
|
@@ -3924,7 +4018,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3924
4018
|
clip-rule="evenodd"
|
|
3925
4019
|
/>
|
|
3926
4020
|
</svg>
|
|
3927
|
-
`,
|
|
4021
|
+
`,pg=Object.freeze({__proto__:null,default:hg}),ug=ee`
|
|
3928
4022
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3929
4023
|
<path
|
|
3930
4024
|
fill="currentColor"
|
|
@@ -3939,28 +4033,28 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3939
4033
|
clip-rule="evenodd"
|
|
3940
4034
|
/>
|
|
3941
4035
|
</svg>
|
|
3942
|
-
`,
|
|
4036
|
+
`,gg=Object.freeze({__proto__:null,default:ug}),vg=ee`
|
|
3943
4037
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3944
4038
|
<path
|
|
3945
4039
|
fill="currentColor"
|
|
3946
4040
|
d="M11.412 21.412v-1.883a.588.588 0 1 1 1.176 0v1.883a.588.588 0 0 1-1.176 0Zm-5.18-4.473a.588.588 0 0 1 .832.832l-1.33 1.331a.588.588 0 1 1-.832-.832l1.33-1.33Zm10.704 0c.23-.23.602-.23.831 0l1.331 1.331a.588.588 0 1 1-.831.832l-1.331-1.33a.588.588 0 0 1 0-.833ZM16.118 12a4.118 4.118 0 1 0-8.236 0 4.118 4.118 0 0 0 8.236 0ZM4.47 11.412a.588.588 0 1 1 0 1.176H2.588a.588.588 0 1 1 0-1.176h1.883Zm16.94 0a.588.588 0 0 1 0 1.176h-1.88a.588.588 0 1 1 0-1.176h1.883ZM4.9 4.902c.23-.23.603-.23.832 0l1.331 1.33a.588.588 0 1 1-.831.832l-1.331-1.33a.588.588 0 0 1 0-.832Zm13.366 0a.588.588 0 1 1 .831.831l-1.33 1.331a.588.588 0 1 1-.832-.831l1.33-1.331Zm-6.855-.431V2.588a.588.588 0 1 1 1.176 0v1.883a.588.588 0 1 1-1.176 0ZM17.294 12a5.294 5.294 0 1 1-10.588 0 5.294 5.294 0 0 1 10.588 0Z"
|
|
3947
4041
|
/>
|
|
3948
4042
|
</svg>
|
|
3949
|
-
`,
|
|
4043
|
+
`,mg=Object.freeze({__proto__:null,default:vg}),fg=ee`
|
|
3950
4044
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3951
4045
|
<path
|
|
3952
4046
|
fill="currentColor"
|
|
3953
4047
|
d="M16.058 3.058a.625.625 0 0 1 .884 0l4 4a.625.625 0 0 1 0 .884l-4 4a.625.625 0 1 1-.884-.884l2.933-2.933H3.5a.625.625 0 1 1 0-1.25h15.491l-2.933-2.933a.625.625 0 0 1 0-.884Zm-8.116 9a.625.625 0 0 1 0 .884l-2.933 2.933H20.5a.625.625 0 1 1 0 1.25H5.009l2.933 2.933a.625.625 0 1 1-.884.884l-4-4a.625.625 0 0 1 0-.884l4-4a.625.625 0 0 1 .884 0Z"
|
|
3954
4048
|
/>
|
|
3955
4049
|
</svg>
|
|
3956
|
-
`,
|
|
4050
|
+
`,bg=Object.freeze({__proto__:null,default:fg}),wg=ee`
|
|
3957
4051
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3958
4052
|
<path
|
|
3959
4053
|
fill="currentColor"
|
|
3960
4054
|
d="M7.058 3.058a.625.625 0 0 1 .884 0l4 4a.625.625 0 1 1-.884.884L8.125 5.009V20.5a.625.625 0 1 1-1.25 0V5.009L3.942 7.942a.625.625 0 1 1-.884-.884l4-4Zm8.817.442a.625.625 0 1 1 1.25 0v15.491l2.933-2.933a.625.625 0 1 1 .884.884l-4 4a.625.625 0 0 1-.884 0l-4-4a.625.625 0 1 1 .884-.884l2.933 2.933V3.5Z"
|
|
3961
4055
|
/>
|
|
3962
4056
|
</svg>
|
|
3963
|
-
`,
|
|
4057
|
+
`,yg=Object.freeze({__proto__:null,default:wg}),_g=ee`
|
|
3964
4058
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3965
4059
|
<path fill="currentColor" d="M10.5 16.875a.625.625 0 1 0 0 1.25h3a.625.625 0 1 0 0-1.25h-3Z" />
|
|
3966
4060
|
<path
|
|
@@ -3970,14 +4064,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3970
4064
|
clip-rule="evenodd"
|
|
3971
4065
|
/>
|
|
3972
4066
|
</svg>
|
|
3973
|
-
`,
|
|
4067
|
+
`,xg=Object.freeze({__proto__:null,default:_g}),kg=ee`
|
|
3974
4068
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3975
4069
|
<path
|
|
3976
4070
|
fill="currentColor"
|
|
3977
4071
|
d="M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Zm3.68 5.418c-.339.006-.858.187-3.358 1.227-.875.364-2.624 1.117-5.248 2.26-.426.17-.65.335-.67.497-.039.311.41.408.973.591.46.15 1.077.324 1.398.331.292.007.618-.114.977-.36 2.448-1.653 3.714-2.489 3.796-2.509.056-.013.134-.029.186.018.053.046.048.135.042.159-.044.19-2.347 2.285-2.48 2.423-.505.526-1.082.847-.194 1.432.77.507 1.217.83 2.01 1.35.505.332.903.725 1.425.677.24-.023.488-.25.614-.923.299-1.594.885-5.047 1.02-6.47a1.587 1.587 0 0 0-.015-.354.379.379 0 0 0-.128-.245.592.592 0 0 0-.348-.104Z"
|
|
3978
4072
|
/>
|
|
3979
4073
|
</svg>
|
|
3980
|
-
`,
|
|
4074
|
+
`,Cg=Object.freeze({__proto__:null,default:kg}),$g=ee`
|
|
3981
4075
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3982
4076
|
<path
|
|
3983
4077
|
fill="currentColor"
|
|
@@ -3986,7 +4080,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3986
4080
|
clip-rule="evenodd"
|
|
3987
4081
|
/>
|
|
3988
4082
|
</svg>
|
|
3989
|
-
`,
|
|
4083
|
+
`,Sg=Object.freeze({__proto__:null,default:$g}),Mg=ee`
|
|
3990
4084
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
3991
4085
|
<path
|
|
3992
4086
|
fill="currentColor"
|
|
@@ -3995,7 +4089,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
3995
4089
|
clip-rule="evenodd"
|
|
3996
4090
|
/>
|
|
3997
4091
|
</svg>
|
|
3998
|
-
`,
|
|
4092
|
+
`,Zg=Object.freeze({__proto__:null,default:Mg}),Vg=ee`
|
|
3999
4093
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4000
4094
|
<path
|
|
4001
4095
|
fill="currentColor"
|
|
@@ -4004,7 +4098,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4004
4098
|
clip-rule="evenodd"
|
|
4005
4099
|
/>
|
|
4006
4100
|
</svg>
|
|
4007
|
-
|
|
4101
|
+
`,zg=Object.freeze({__proto__:null,default:Vg}),Pg=ee`
|
|
4008
4102
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4009
4103
|
<path
|
|
4010
4104
|
fill="currentColor"
|
|
@@ -4017,7 +4111,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4017
4111
|
clip-rule="evenodd"
|
|
4018
4112
|
/>
|
|
4019
4113
|
</svg>
|
|
4020
|
-
`,
|
|
4114
|
+
`,Ag=Object.freeze({__proto__:null,default:Pg}),Lg=ee`
|
|
4021
4115
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4022
4116
|
<path
|
|
4023
4117
|
fill="currentColor"
|
|
@@ -4026,7 +4120,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4026
4120
|
clip-rule="evenodd"
|
|
4027
4121
|
/>
|
|
4028
4122
|
</svg>
|
|
4029
|
-
`,
|
|
4123
|
+
`,Ig=Object.freeze({__proto__:null,default:Lg}),Dg=ee`
|
|
4030
4124
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4031
4125
|
<path
|
|
4032
4126
|
fill="currentColor"
|
|
@@ -4035,7 +4129,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4035
4129
|
clip-rule="evenodd"
|
|
4036
4130
|
/>
|
|
4037
4131
|
</svg>
|
|
4038
|
-
`,
|
|
4132
|
+
`,Eg=Object.freeze({__proto__:null,default:Dg}),Hg=ee`
|
|
4039
4133
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4040
4134
|
<path
|
|
4041
4135
|
fill="currentColor"
|
|
@@ -4052,7 +4146,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4052
4146
|
d="M8.719 21.5c0-.345.28-.625.625-.625h5.312a.625.625 0 1 1 0 1.25H9.344a.625.625 0 0 1-.625-.625Z"
|
|
4053
4147
|
/>
|
|
4054
4148
|
</svg>
|
|
4055
|
-
`,
|
|
4149
|
+
`,Bg=Object.freeze({__proto__:null,default:Hg}),Og=ee`
|
|
4056
4150
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4057
4151
|
<path
|
|
4058
4152
|
fill="currentColor"
|
|
@@ -4065,7 +4159,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4065
4159
|
clip-rule="evenodd"
|
|
4066
4160
|
/>
|
|
4067
4161
|
</svg>
|
|
4068
|
-
`,
|
|
4162
|
+
`,Tg=Object.freeze({__proto__:null,default:Og}),Fg=ee`
|
|
4069
4163
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4070
4164
|
<path
|
|
4071
4165
|
fill="currentColor"
|
|
@@ -4074,21 +4168,21 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4074
4168
|
clip-rule="evenodd"
|
|
4075
4169
|
/>
|
|
4076
4170
|
</svg>
|
|
4077
|
-
`,
|
|
4171
|
+
`,Rg=Object.freeze({__proto__:null,default:Fg}),Ng=ee`
|
|
4078
4172
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4079
4173
|
<path
|
|
4080
4174
|
fill="currentColor"
|
|
4081
4175
|
d="M1.558 6.558a.626.626 0 0 1 .884 0l4.868 4.869c.206.205.334.332.437.42a.498.498 0 0 0 .137.095.377.377 0 0 0 .232 0 .498.498 0 0 0 .137-.095 8.72 8.72 0 0 0 .436-.42l2.738-2.738c.19-.19.36-.36.511-.489.157-.133.336-.258.56-.33a1.624 1.624 0 0 1 1.004 0c.224.072.402.197.56.33.151.129.32.299.511.49l6.802 6.8V10a.625.625 0 1 1 1.25 0v7c0 .345-.28.625-.625.625h-7a.625.625 0 1 1 0-1.25h5.49l-6.8-6.802a8.424 8.424 0 0 0-.437-.42.498.498 0 0 0-.137-.095.377.377 0 0 0-.232 0 .498.498 0 0 0-.137.095 8.424 8.424 0 0 0-.437.42L9.573 12.31c-.19.191-.36.361-.512.49a1.652 1.652 0 0 1-.56.33 1.624 1.624 0 0 1-1.003 0 1.652 1.652 0 0 1-.56-.33c-.151-.129-.32-.299-.511-.49l-4.87-4.868a.626.626 0 0 1 0-.884Z"
|
|
4082
4176
|
/>
|
|
4083
4177
|
</svg>
|
|
4084
|
-
`,
|
|
4178
|
+
`,jg=Object.freeze({__proto__:null,default:Ng}),Ug=ee`
|
|
4085
4179
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4086
4180
|
<path
|
|
4087
4181
|
fill="currentColor"
|
|
4088
4182
|
d="M22.625 14a.625.625 0 0 1-1.25 0V8.509l-6.802 6.801c-.19.191-.36.361-.511.49a1.653 1.653 0 0 1-.56.33 1.624 1.624 0 0 1-1.004 0 1.653 1.653 0 0 1-.56-.33c-.151-.129-.32-.299-.511-.49l-2.738-2.737a8.411 8.411 0 0 0-.436-.42.495.495 0 0 0-.137-.095.377.377 0 0 0-.232 0 .495.495 0 0 0-.137.095 8.416 8.416 0 0 0-.436.42l-4.869 4.87a.626.626 0 0 1-.884-.885l4.869-4.868c.19-.191.36-.361.511-.49.158-.133.336-.258.56-.33a1.624 1.624 0 0 1 1.004 0c.224.072.402.197.56.33.151.129.32.299.511.49l2.737 2.737c.206.205.333.332.437.42a.497.497 0 0 0 .137.095.377.377 0 0 0 .232 0 .5.5 0 0 0 .137-.095 8.72 8.72 0 0 0 .436-.42l6.801-6.802H15a.625.625 0 1 1 0-1.25h7c.345 0 .625.28.625.625v7Z"
|
|
4089
4183
|
/>
|
|
4090
4184
|
</svg>
|
|
4091
|
-
`,
|
|
4185
|
+
`,qg=Object.freeze({__proto__:null,default:Ug}),Yg=ee`
|
|
4092
4186
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4093
4187
|
<path
|
|
4094
4188
|
fill="currentColor"
|
|
@@ -4097,14 +4191,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4097
4191
|
clip-rule="evenodd"
|
|
4098
4192
|
/>
|
|
4099
4193
|
</svg>
|
|
4100
|
-
`,
|
|
4194
|
+
`,Wg=Object.freeze({__proto__:null,default:Yg}),Kg=ee`
|
|
4101
4195
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4102
4196
|
<path
|
|
4103
4197
|
fill="currentColor"
|
|
4104
4198
|
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"
|
|
4105
4199
|
/>
|
|
4106
4200
|
</svg>
|
|
4107
|
-
`,
|
|
4201
|
+
`,Gg=Object.freeze({__proto__:null,default:Kg}),Jg=ee`
|
|
4108
4202
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4109
4203
|
<path
|
|
4110
4204
|
fill="currentColor"
|
|
@@ -4113,7 +4207,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4113
4207
|
clip-rule="evenodd"
|
|
4114
4208
|
/>
|
|
4115
4209
|
</svg>
|
|
4116
|
-
`,
|
|
4210
|
+
`,Xg=Object.freeze({__proto__:null,default:Jg}),Qg=ee`
|
|
4117
4211
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4118
4212
|
<path
|
|
4119
4213
|
fill="currentColor"
|
|
@@ -4122,7 +4216,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4122
4216
|
clip-rule="evenodd"
|
|
4123
4217
|
/>
|
|
4124
4218
|
</svg>
|
|
4125
|
-
`,
|
|
4219
|
+
`,ev=Object.freeze({__proto__:null,default:Qg}),tv=ee`
|
|
4126
4220
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4127
4221
|
<path
|
|
4128
4222
|
fill="currentColor"
|
|
@@ -4135,7 +4229,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4135
4229
|
clip-rule="evenodd"
|
|
4136
4230
|
/>
|
|
4137
4231
|
</svg>
|
|
4138
|
-
`,
|
|
4232
|
+
`,sv=Object.freeze({__proto__:null,default:tv}),iv=ee`
|
|
4139
4233
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4140
4234
|
<path
|
|
4141
4235
|
fill="currentColor"
|
|
@@ -4150,7 +4244,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4150
4244
|
clip-rule="evenodd"
|
|
4151
4245
|
/>
|
|
4152
4246
|
</svg>
|
|
4153
|
-
`,
|
|
4247
|
+
`,av=Object.freeze({__proto__:null,default:iv}),ov=ee`
|
|
4154
4248
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4155
4249
|
<path
|
|
4156
4250
|
fill="currentColor"
|
|
@@ -4163,7 +4257,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4163
4257
|
clip-rule="evenodd"
|
|
4164
4258
|
/>
|
|
4165
4259
|
</svg>
|
|
4166
|
-
`,
|
|
4260
|
+
`,nv=Object.freeze({__proto__:null,default:ov}),rv=ee`
|
|
4167
4261
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4168
4262
|
<path
|
|
4169
4263
|
fill="currentColor"
|
|
@@ -4178,7 +4272,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4178
4272
|
clip-rule="evenodd"
|
|
4179
4273
|
/>
|
|
4180
4274
|
</svg>
|
|
4181
|
-
`,
|
|
4275
|
+
`,lv=Object.freeze({__proto__:null,default:rv}),dv=ee`
|
|
4182
4276
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4183
4277
|
<path
|
|
4184
4278
|
fill="currentColor"
|
|
@@ -4191,7 +4285,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4191
4285
|
d="M14.92 3.056a.625.625 0 0 1 .815-.345 4.626 4.626 0 0 1 0 8.578.625.625 0 0 1-.47-1.16 3.376 3.376 0 0 0 0-6.259.625.625 0 0 1-.344-.814ZM7.977 14.375h3.046c.912 0 1.629 0 2.208.04.59.04 1.082.123 1.539.312a4.625 4.625 0 0 1 2.503 2.503c.189.456.272.95.313 1.539.039.579.039 1.296.039 2.208V21a.625.625 0 1 1-1.25 0c0-.94 0-1.614-.037-2.146-.036-.526-.105-.867-.22-1.146a3.375 3.375 0 0 0-1.826-1.826c-.28-.115-.62-.184-1.146-.22-.532-.037-1.206-.037-2.146-.037H8c-.94 0-1.614 0-2.146.037-.526.035-.867.104-1.146.22-.827.342-1.484 1-1.826 1.826-.116.28-.185.62-.22 1.146-.037.532-.037 1.206-.037 2.146a.625.625 0 1 1-1.25 0v-.023c0-.912 0-1.629.04-2.208.04-.59.123-1.082.312-1.539a4.625 4.625 0 0 1 2.503-2.503c.456-.189.95-.272 1.539-.313.579-.039 1.296-.039 2.208-.039Zm10.418.595a.625.625 0 0 1 .76-.45 4.627 4.627 0 0 1 3.47 4.48v2a.625.625 0 1 1-1.25 0v-2a3.377 3.377 0 0 0-2.53-3.269.625.625 0 0 1-.45-.76Z"
|
|
4192
4286
|
/>
|
|
4193
4287
|
</svg>
|
|
4194
|
-
`,
|
|
4288
|
+
`,cv=Object.freeze({__proto__:null,default:dv}),hv=ee`
|
|
4195
4289
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4196
4290
|
<path
|
|
4197
4291
|
fill="currentColor"
|
|
@@ -4200,7 +4294,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4200
4294
|
clip-rule="evenodd"
|
|
4201
4295
|
/>
|
|
4202
4296
|
</svg>
|
|
4203
|
-
`,
|
|
4297
|
+
`,pv=Object.freeze({__proto__:null,default:hv}),uv=ee`
|
|
4204
4298
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4205
4299
|
<path
|
|
4206
4300
|
fill="currentColor"
|
|
@@ -4213,7 +4307,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4213
4307
|
d="M18.366 5.993a.625.625 0 0 1 .872.142A10.011 10.011 0 0 1 21.125 12c0 2.188-.7 4.214-1.887 5.865a.625.625 0 0 1-1.014-.73A8.761 8.761 0 0 0 19.875 12a8.76 8.76 0 0 0-1.651-5.135.625.625 0 0 1 .142-.872Zm-3.138 2.351a.625.625 0 0 1 .87.156 6.1 6.1 0 0 1 1.099 3.5 6.1 6.1 0 0 1-1.098 3.5.625.625 0 1 1-1.026-.715A4.85 4.85 0 0 0 15.947 12a4.85 4.85 0 0 0-.874-2.785.625.625 0 0 1 .155-.87Z"
|
|
4214
4308
|
/>
|
|
4215
4309
|
</svg>
|
|
4216
|
-
`,
|
|
4310
|
+
`,gv=Object.freeze({__proto__:null,default:uv}),vv=ee`
|
|
4217
4311
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4218
4312
|
<path
|
|
4219
4313
|
fill="currentColor"
|
|
@@ -4226,7 +4320,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4226
4320
|
d="M15.058 9.058a.625.625 0 0 1 .884 0L18 11.116l2.058-2.058a.625.625 0 1 1 .884.884L18.884 12l2.058 2.058a.625.625 0 0 1-.884.884L18 12.884l-2.058 2.058a.625.625 0 1 1-.884-.884L17.116 12l-2.058-2.058a.625.625 0 0 1 0-.884Z"
|
|
4227
4321
|
/>
|
|
4228
4322
|
</svg>
|
|
4229
|
-
`,
|
|
4323
|
+
`,mv=Object.freeze({__proto__:null,default:vv}),fv=ee`
|
|
4230
4324
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4231
4325
|
<path fill="currentColor" d="M15 14H9a.6.6 0 1 0 0 1.2h6a.6.6 0 1 0 0-1.2Z" />
|
|
4232
4326
|
<path
|
|
@@ -4236,7 +4330,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4236
4330
|
clip-rule="evenodd"
|
|
4237
4331
|
/>
|
|
4238
4332
|
</svg>
|
|
4239
|
-
`,
|
|
4333
|
+
`,bv=Object.freeze({__proto__:null,default:fv}),wv=ee`
|
|
4240
4334
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4241
4335
|
<path fill="currentColor" d="M15 17H9a.6.6 0 1 0 0 1.2h6a.6.6 0 1 0 0-1.2Z" />
|
|
4242
4336
|
<path
|
|
@@ -4246,7 +4340,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4246
4340
|
clip-rule="evenodd"
|
|
4247
4341
|
/>
|
|
4248
4342
|
</svg>
|
|
4249
|
-
`,
|
|
4343
|
+
`,yv=Object.freeze({__proto__:null,default:wv}),_v=ee`
|
|
4250
4344
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4251
4345
|
<path
|
|
4252
4346
|
fill="currentColor"
|
|
@@ -4259,14 +4353,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4259
4353
|
clip-rule="evenodd"
|
|
4260
4354
|
/>
|
|
4261
4355
|
</svg>
|
|
4262
|
-
`,
|
|
4356
|
+
`,xv=Object.freeze({__proto__:null,default:_v}),kv=ee`
|
|
4263
4357
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4264
4358
|
<path
|
|
4265
4359
|
fill="currentColor"
|
|
4266
4360
|
d="M8.273 2.88H8.5a.62.62 0 1 1 0 1.24h-.2c-.85 0-1.45 0-1.92.039-.462.038-.742.109-.96.22a2.38 2.38 0 0 0-1.04 1.04c-.112.22-.184.5-.221.961-.039.47-.04 1.07-.04 1.92v.2a.62.62 0 1 1-1.24 0v-.227c0-.817 0-1.468.044-1.994.044-.538.136-1 .351-1.422a3.62 3.62 0 0 1 1.582-1.582c.423-.216.884-.308 1.423-.352.526-.043 1.177-.043 1.994-.043Zm9.347 1.279c-.47-.039-1.07-.039-1.92-.039h-.2a.62.62 0 0 1 0-1.24h.227c.817 0 1.468 0 1.994.043.538.044 1 .136 1.422.352a3.62 3.62 0 0 1 1.582 1.582c.216.422.308.884.352 1.422.043.526.043 1.177.043 1.994V8.5a.62.62 0 0 1-1.24 0v-.2c0-.85 0-1.45-.039-1.92-.038-.462-.109-.742-.22-.96a2.38 2.38 0 0 0-1.04-1.04c-.22-.112-.5-.183-.961-.221ZM3.5 14.88a.62.62 0 0 1 .62.62v.2c0 .85 0 1.45.039 1.92.037.462.109.742.22.96a2.38 2.38 0 0 0 1.04 1.04c.22.112.5.183.961.221.47.038 1.07.039 1.92.039h.2a.62.62 0 0 1 0 1.24h-.227c-.817 0-1.468 0-1.994-.043-.539-.044-1-.136-1.423-.352a3.62 3.62 0 0 1-1.582-1.582c-.215-.422-.307-.884-.351-1.422-.043-.526-.043-1.177-.043-1.994V15.5a.62.62 0 0 1 .62-.62Zm17 0a.62.62 0 0 1 .62.62v.227c0 .817 0 1.468-.043 1.994-.044.538-.136 1-.352 1.422a3.619 3.619 0 0 1-1.582 1.582c-.422.216-.884.308-1.422.352-.526.043-1.177.043-1.994.043H15.5a.62.62 0 0 1 0-1.24h.2c.85 0 1.45 0 1.92-.039.462-.038.741-.109.96-.22a2.38 2.38 0 0 0 1.04-1.04c.112-.22.183-.5.221-.961.038-.47.039-1.07.039-1.92v-.2a.62.62 0 0 1 .62-.62Z"
|
|
4267
4361
|
/>
|
|
4268
4362
|
</svg>
|
|
4269
|
-
`,
|
|
4363
|
+
`,Cv=Object.freeze({__proto__:null,default:kv}),$v=ee`
|
|
4270
4364
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4271
4365
|
<path
|
|
4272
4366
|
fill="currentColor"
|
|
@@ -4279,7 +4373,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4279
4373
|
clip-rule="evenodd"
|
|
4280
4374
|
/>
|
|
4281
4375
|
</svg>
|
|
4282
|
-
`,
|
|
4376
|
+
`,Sv=Object.freeze({__proto__:null,default:$v}),Mv=ee`
|
|
4283
4377
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4284
4378
|
<path
|
|
4285
4379
|
fill="currentColor"
|
|
@@ -4288,7 +4382,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4288
4382
|
clip-rule="evenodd"
|
|
4289
4383
|
/>
|
|
4290
4384
|
</svg>
|
|
4291
|
-
`,
|
|
4385
|
+
`,Zv=Object.freeze({__proto__:null,default:Mv}),Vv=ee`
|
|
4292
4386
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4293
4387
|
<path
|
|
4294
4388
|
fill="currentColor"
|
|
@@ -4297,7 +4391,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4297
4391
|
clip-rule="evenodd"
|
|
4298
4392
|
/>
|
|
4299
4393
|
</svg>
|
|
4300
|
-
|
|
4394
|
+
`,zv=Object.freeze({__proto__:null,default:Vv}),Pv=ee`
|
|
4301
4395
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4302
4396
|
<path
|
|
4303
4397
|
fill="currentColor"
|
|
@@ -4306,7 +4400,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4306
4400
|
clip-rule="evenodd"
|
|
4307
4401
|
/>
|
|
4308
4402
|
</svg>
|
|
4309
|
-
`,
|
|
4403
|
+
`,Av=Object.freeze({__proto__:null,default:Pv}),Lv=ee`
|
|
4310
4404
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4311
4405
|
<path
|
|
4312
4406
|
fill="currentColor"
|
|
@@ -4319,7 +4413,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4319
4413
|
clip-rule="evenodd"
|
|
4320
4414
|
/>
|
|
4321
4415
|
</svg>
|
|
4322
|
-
`,
|
|
4416
|
+
`,Iv=Object.freeze({__proto__:null,default:Lv}),Dv=ee`
|
|
4323
4417
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4324
4418
|
<path
|
|
4325
4419
|
fill="currentColor"
|
|
@@ -4328,7 +4422,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4328
4422
|
clip-rule="evenodd"
|
|
4329
4423
|
/>
|
|
4330
4424
|
</svg>
|
|
4331
|
-
`,
|
|
4425
|
+
`,Ev=Object.freeze({__proto__:null,default:Dv}),Hv=ee`
|
|
4332
4426
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4333
4427
|
<path
|
|
4334
4428
|
fill="currentColor"
|
|
@@ -4337,7 +4431,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4337
4431
|
clip-rule="evenodd"
|
|
4338
4432
|
/>
|
|
4339
4433
|
</svg>
|
|
4340
|
-
`,
|
|
4434
|
+
`,Bv=Object.freeze({__proto__:null,default:Hv}),Ov=ee`
|
|
4341
4435
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4342
4436
|
<path
|
|
4343
4437
|
fill="currentColor"
|
|
@@ -4346,14 +4440,14 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4346
4440
|
clip-rule="evenodd"
|
|
4347
4441
|
/>
|
|
4348
4442
|
</svg>
|
|
4349
|
-
`,
|
|
4443
|
+
`,Tv=Object.freeze({__proto__:null,default:Ov}),Fv=ee`
|
|
4350
4444
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4351
4445
|
<path
|
|
4352
4446
|
fill="currentColor"
|
|
4353
4447
|
d="M12.058 5.678h.1c.925.003 5.61.037 6.874.377a2.261 2.261 0 0 1 1.592 1.597c.114.428.194.994.248 1.578l.011.117.025.292.009.117c.073 1.028.082 1.992.083 2.202v.084a36.093 36.093 0 0 1-.092 2.318l-.01.118-.01.117c-.056.644-.139 1.283-.264 1.753a2.258 2.258 0 0 1-1.592 1.598c-1.305.35-6.265.375-6.953.376h-.16c-.347 0-1.785-.006-3.293-.058l-.19-.007-.099-.004-.384-.016c-1.25-.055-2.438-.144-2.986-.293a2.258 2.258 0 0 1-1.592-1.596c-.125-.47-.208-1.11-.265-1.753l-.018-.235A35.32 35.32 0 0 1 3 12.07v-.14c.002-.241.011-1.077.072-2l.008-.115.003-.059.01-.117.024-.292.011-.117c.054-.584.134-1.151.248-1.578a2.258 2.258 0 0 1 1.592-1.597c.548-.147 1.737-.237 2.986-.293l.19-.008.291-.01.193-.008c1.07-.034 2.142-.053 3.213-.057h.217v-.001ZM10.2 9.289v5.42l4.676-2.708L10.2 9.289Z"
|
|
4354
4448
|
/>
|
|
4355
4449
|
</svg>
|
|
4356
|
-
`,
|
|
4450
|
+
`,Rv=Object.freeze({__proto__:null,default:Fv}),Nv=ee`
|
|
4357
4451
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4358
4452
|
<path
|
|
4359
4453
|
fill="currentColor"
|
|
@@ -4362,7 +4456,7 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4362
4456
|
clip-rule="evenodd"
|
|
4363
4457
|
/>
|
|
4364
4458
|
</svg>
|
|
4365
|
-
`,
|
|
4459
|
+
`,jv=Object.freeze({__proto__:null,default:Nv}),Uv=ee`
|
|
4366
4460
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
|
4367
4461
|
<path
|
|
4368
4462
|
fill="currentColor"
|
|
@@ -4371,5 +4465,5 @@ const tn="important",sn=" !"+tn;const an=qe(class extends Ye{constructor(e){if(s
|
|
|
4371
4465
|
clip-rule="evenodd"
|
|
4372
4466
|
/>
|
|
4373
4467
|
</svg>
|
|
4374
|
-
`,
|
|
4468
|
+
`,qv=Object.freeze({__proto__:null,default:Uv})});
|
|
4375
4469
|
//# sourceMappingURL=index.umd.min.js.map
|