@ni/nimble-components 11.11.0 → 11.12.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/dist/all-components-bundle.js +6 -10
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +756 -757
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/dialog/index.d.ts +1 -5
- package/dist/esm/dialog/index.js +6 -9
- package/dist/esm/dialog/index.js.map +1 -1
- package/dist/esm/dialog/template.js +0 -1
- package/dist/esm/dialog/template.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,244 +7,244 @@ try{return new Function("return this")()}catch(t){return{}}}()
|
|
|
7
7
|
void 0===t.trustedTypes&&(t.trustedTypes={createPolicy:(t,e)=>e})
|
|
8
8
|
const e={configurable:!1,enumerable:!1,writable:!1}
|
|
9
9
|
void 0===t.FAST&&Reflect.defineProperty(t,"FAST",Object.assign({value:Object.create(null)},e))
|
|
10
|
-
const
|
|
11
|
-
if(void 0===
|
|
12
|
-
Reflect.defineProperty(
|
|
13
|
-
return void 0===
|
|
14
|
-
function
|
|
15
|
-
for(;t<e.length;)if(o(e[t]),t++,t>1024){for(let
|
|
16
|
-
e.length-=t,t=0}e.length=0}return Object.freeze({enqueue:function(
|
|
10
|
+
const i=t.FAST
|
|
11
|
+
if(void 0===i.getById){const t=Object.create(null)
|
|
12
|
+
Reflect.defineProperty(i,"getById",Object.assign({value(e,i){let s=t[e]
|
|
13
|
+
return void 0===s&&(s=i?t[e]=i():null),s}},e))}const s=Object.freeze([]),o=t.FAST.getById(1,(()=>{const e=[],i=[]
|
|
14
|
+
function s(){if(i.length)throw i.shift()}function o(t){try{t.call()}catch(t){i.push(t),setTimeout(s,0)}}function n(){let t=0
|
|
15
|
+
for(;t<e.length;)if(o(e[t]),t++,t>1024){for(let i=0,s=e.length-t;i<s;i++)e[i]=e[i+t]
|
|
16
|
+
e.length-=t,t=0}e.length=0}return Object.freeze({enqueue:function(i){e.length<1&&t.requestAnimationFrame(n),e.push(i)},process:n})})),n=t.trustedTypes.createPolicy("fast-html",{createHTML:t=>t})
|
|
17
17
|
let r=n
|
|
18
18
|
const a=`fast-${Math.random().toString(36).substring(2,8)}`,l=`${a}{`,c=`}${a}`,h=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(t){if(r!==n)throw new Error("The HTML policy can only be set once.")
|
|
19
|
-
r=t},createHTML:t=>r.createHTML(t),isMarker:t=>t&&8===t.nodeType&&t.data.startsWith(a),extractDirectiveIndexFromMarker:t=>parseInt(t.data.replace(`${a}:`,"")),createInterpolationPlaceholder:t=>`${l}${t}${c}`,createCustomAttributePlaceholder(t,e){return`${t}="${this.createInterpolationPlaceholder(e)}"`},createBlockPlaceholder:t=>`\x3c!--${a}:${t}--\x3e`,queueUpdate:o.enqueue,processUpdates:o.process,nextUpdate:()=>new Promise(o.enqueue),setAttribute(t,e,
|
|
19
|
+
r=t},createHTML:t=>r.createHTML(t),isMarker:t=>t&&8===t.nodeType&&t.data.startsWith(a),extractDirectiveIndexFromMarker:t=>parseInt(t.data.replace(`${a}:`,"")),createInterpolationPlaceholder:t=>`${l}${t}${c}`,createCustomAttributePlaceholder(t,e){return`${t}="${this.createInterpolationPlaceholder(e)}"`},createBlockPlaceholder:t=>`\x3c!--${a}:${t}--\x3e`,queueUpdate:o.enqueue,processUpdates:o.process,nextUpdate:()=>new Promise(o.enqueue),setAttribute(t,e,i){null==i?t.removeAttribute(e):t.setAttribute(e,i)},setBooleanAttribute(t,e,i){i?t.setAttribute(e,""):t.removeAttribute(e)},removeChildNodes(t){for(let e=t.firstChild;null!==e;e=t.firstChild)t.removeChild(e)},createTemplateWalker:t=>document.createTreeWalker(t,133,null,!1)})
|
|
20
20
|
class d{constructor(t,e){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.source=t,this.sub1=e}has(t){return void 0===this.spillover?this.sub1===t||this.sub2===t:-1!==this.spillover.indexOf(t)}subscribe(t){const e=this.spillover
|
|
21
21
|
if(void 0===e){if(this.has(t))return
|
|
22
22
|
if(void 0===this.sub1)return void(this.sub1=t)
|
|
23
23
|
if(void 0===this.sub2)return void(this.sub2=t)
|
|
24
24
|
this.spillover=[this.sub1,this.sub2,t],this.sub1=void 0,this.sub2=void 0}else{-1===e.indexOf(t)&&e.push(t)}}unsubscribe(t){const e=this.spillover
|
|
25
25
|
if(void 0===e)this.sub1===t?this.sub1=void 0:this.sub2===t&&(this.sub2=void 0)
|
|
26
|
-
else{const
|
|
27
|
-
if(void 0===e){const e=this.sub1,
|
|
28
|
-
void 0!==e&&e.handleChange(
|
|
29
|
-
const
|
|
30
|
-
void 0!==
|
|
31
|
-
if(e){let
|
|
32
|
-
void 0===
|
|
33
|
-
if(e){const
|
|
34
|
-
void 0!==
|
|
26
|
+
else{const i=e.indexOf(t);-1!==i&&e.splice(i,1)}}notify(t){const e=this.spillover,i=this.source
|
|
27
|
+
if(void 0===e){const e=this.sub1,s=this.sub2
|
|
28
|
+
void 0!==e&&e.handleChange(i,t),void 0!==s&&s.handleChange(i,t)}else for(let s=0,o=e.length;s<o;++s)e[s].handleChange(i,t)}}class u{constructor(t){this.subscribers={},this.sourceSubscribers=null,this.source=t}notify(t){var e
|
|
29
|
+
const i=this.subscribers[t]
|
|
30
|
+
void 0!==i&&i.notify(t),null===(e=this.sourceSubscribers)||void 0===e||e.notify(t)}subscribe(t,e){var i
|
|
31
|
+
if(e){let i=this.subscribers[e]
|
|
32
|
+
void 0===i&&(this.subscribers[e]=i=new d(this.source)),i.subscribe(t)}else this.sourceSubscribers=null!==(i=this.sourceSubscribers)&&void 0!==i?i:new d(this.source),this.sourceSubscribers.subscribe(t)}unsubscribe(t,e){var i
|
|
33
|
+
if(e){const i=this.subscribers[e]
|
|
34
|
+
void 0!==i&&i.unsubscribe(t)}else null===(i=this.sourceSubscribers)||void 0===i||i.unsubscribe(t)}}const p=i.getById(2,(()=>{const t=/(:|&&|\|\||if)/,e=new WeakMap,i=new WeakMap,s=h.queueUpdate
|
|
35
35
|
let o,n=t=>{throw new Error("Must call enableArrayObservation before observing arrays.")}
|
|
36
|
-
function r(t){let
|
|
37
|
-
return void 0===
|
|
38
|
-
if(void 0===e){let
|
|
39
|
-
for(;void 0===e&&null!==
|
|
40
|
-
e=void 0===e?[]:e.slice(0),
|
|
41
|
-
if(
|
|
36
|
+
function r(t){let i=t.$fastController||e.get(t)
|
|
37
|
+
return void 0===i&&(Array.isArray(t)?i=n(t):e.set(t,i=new u(t))),i}function a(t){let e=i.get(t)
|
|
38
|
+
if(void 0===e){let s=Reflect.getPrototypeOf(t)
|
|
39
|
+
for(;void 0===e&&null!==s;)e=i.get(s),s=Reflect.getPrototypeOf(s)
|
|
40
|
+
e=void 0===e?[]:e.slice(0),i.set(t,e)}return e}class l{constructor(t){this.name=t,this.field=`_${t}`,this.callback=`${t}Changed`}getValue(t){return void 0!==o&&o.watch(t,this.name),t[this.field]}setValue(t,e){const i=this.field,s=t[i]
|
|
41
|
+
if(s!==e){t[i]=e
|
|
42
42
|
const o=t[this.callback]
|
|
43
|
-
"function"==typeof o&&o.call(t,
|
|
44
|
-
const
|
|
43
|
+
"function"==typeof o&&o.call(t,s,e),r(t).notify(this.name)}}}class c extends d{constructor(t,e,i=!1){super(t,e),this.binding=t,this.isVolatileBinding=i,this.needsRefresh=!0,this.needsQueue=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}observe(t,e){this.needsRefresh&&null!==this.last&&this.disconnect()
|
|
44
|
+
const i=o
|
|
45
45
|
o=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding
|
|
46
|
-
const
|
|
47
|
-
return o=s
|
|
46
|
+
const s=this.binding(t,e)
|
|
47
|
+
return o=i,s}disconnect(){if(null!==this.last){let t=this.first
|
|
48
48
|
for(;void 0!==t;)t.notifier.unsubscribe(this,t.propertyName),t=t.next
|
|
49
|
-
this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(t,e){const
|
|
50
|
-
if(n.propertySource=t,n.propertyName=e,n.notifier=
|
|
51
|
-
o=void 0,e=
|
|
49
|
+
this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(t,e){const i=this.last,s=r(t),n=null===i?this.first:{}
|
|
50
|
+
if(n.propertySource=t,n.propertyName=e,n.notifier=s,s.subscribe(this,e),null!==i){if(!this.needsRefresh){let e
|
|
51
|
+
o=void 0,e=i.propertySource[i.propertyName],o=this,t===e&&(this.needsRefresh=!0)}i.next=n}this.last=n}handleChange(){this.needsQueue&&(this.needsQueue=!1,s(this))}call(){null!==this.last&&(this.needsQueue=!0,this.notify(this))}records(){let t=this.first
|
|
52
52
|
return{next:()=>{const e=t
|
|
53
|
-
return void 0===e?{value:void 0,done:!0}:(t=t.next,{value:e,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(t){n=t},getNotifier:r,track(t,e){void 0!==o&&o.watch(t,e)},trackVolatile(){void 0!==o&&(o.needsRefresh=!0)},notify(t,e){r(t).notify(e)},defineProperty(t,e){"string"==typeof e&&(e=new l(e)),a(t).push(e),Reflect.defineProperty(t,e.name,{enumerable:!0,get:function(){return e.getValue(this)},set:function(t){e.setValue(this,t)}})},getAccessors:a,binding(t,e,
|
|
54
|
-
function v(t,e){p.defineProperty(t,e)}const g=
|
|
53
|
+
return void 0===e?{value:void 0,done:!0}:(t=t.next,{value:e,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(t){n=t},getNotifier:r,track(t,e){void 0!==o&&o.watch(t,e)},trackVolatile(){void 0!==o&&(o.needsRefresh=!0)},notify(t,e){r(t).notify(e)},defineProperty(t,e){"string"==typeof e&&(e=new l(e)),a(t).push(e),Reflect.defineProperty(t,e.name,{enumerable:!0,get:function(){return e.getValue(this)},set:function(t){e.setValue(this,t)}})},getAccessors:a,binding(t,e,i=this.isVolatileBinding(t)){return new c(t,e,i)},isVolatileBinding:e=>t.test(e.toString())})}))
|
|
54
|
+
function v(t,e){p.defineProperty(t,e)}const g=i.getById(3,(()=>{let t=null
|
|
55
55
|
return{get:()=>t,set(e){t=e}}}))
|
|
56
56
|
class m{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return g.get()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}static setEvent(t){g.set(t)}}p.defineProperty(m.prototype,"index"),p.defineProperty(m.prototype,"length")
|
|
57
57
|
const f=Object.seal(new m)
|
|
58
|
-
class b{constructor(){this.targetIndex=0}}class w extends b{constructor(){super(...arguments),this.createPlaceholder=h.createInterpolationPlaceholder}}class x extends b{constructor(t,e,
|
|
58
|
+
class b{constructor(){this.targetIndex=0}}class w extends b{constructor(){super(...arguments),this.createPlaceholder=h.createInterpolationPlaceholder}}class x extends b{constructor(t,e,i){super(),this.name=t,this.behavior=e,this.options=i}createPlaceholder(t){return h.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}}function y(t,e){this.source=t,this.context=e,null===this.bindingObserver&&(this.bindingObserver=p.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(t,e))}function $(t,e){this.source=t,this.context=e,this.target.addEventListener(this.targetName,this)}function C(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function k(){this.bindingObserver.disconnect(),this.source=null,this.context=null
|
|
59
59
|
const t=this.target.$fastView
|
|
60
60
|
void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}function _(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function z(t){h.setAttribute(this.target,this.targetName,t)}function I(t){h.setBooleanAttribute(this.target,this.targetName,t)}function O(t){if(null==t&&(t=""),t.create){this.target.textContent=""
|
|
61
61
|
let e=this.target.$fastView
|
|
62
62
|
void 0===e?e=t.create():this.target.$fastTemplate!==t&&(e.isComposed&&(e.remove(),e.unbind()),e=t.create()),e.isComposed?e.needsBindOnly&&(e.needsBindOnly=!1,e.bind(this.source,this.context)):(e.isComposed=!0,e.bind(this.source,this.context),e.insertBefore(this.target),this.target.$fastView=e,this.target.$fastTemplate=t)}else{const e=this.target.$fastView
|
|
63
|
-
void 0!==e&&e.isComposed&&(e.isComposed=!1,e.remove(),e.needsBindOnly?e.needsBindOnly=!1:e.unbind()),this.target.textContent=t}}function
|
|
64
|
-
let
|
|
63
|
+
void 0!==e&&e.isComposed&&(e.isComposed=!1,e.remove(),e.needsBindOnly?e.needsBindOnly=!1:e.unbind()),this.target.textContent=t}}function S(t){this.target[this.targetName]=t}function A(t){const e=this.classVersions||Object.create(null),i=this.target
|
|
64
|
+
let s=this.version||0
|
|
65
65
|
if(null!=t&&t.length){const o=t.split(/\s+/)
|
|
66
66
|
for(let t=0,n=o.length;t<n;++t){const n=o[t]
|
|
67
|
-
""!==n&&(e[n]=i
|
|
68
|
-
for(const t in e)e[t]===i
|
|
69
|
-
this.binding=(e,
|
|
67
|
+
""!==n&&(e[n]=s,i.classList.add(n))}}if(this.classVersions=e,this.version=s+1,0!==s){s-=1
|
|
68
|
+
for(const t in e)e[t]===s&&i.classList.remove(t)}}class E extends w{constructor(t){super(),this.binding=t,this.bind=y,this.unbind=C,this.updateTarget=z,this.isBindingVolatile=p.isVolatileBinding(this.binding)}get targetName(){return this.originalTargetName}set targetName(t){if(this.originalTargetName=t,void 0!==t)switch(t[0]){case":":if(this.cleanedTargetName=t.substr(1),this.updateTarget=S,"innerHTML"===this.cleanedTargetName){const t=this.binding
|
|
69
|
+
this.binding=(e,i)=>h.createHTML(t(e,i))}break
|
|
70
70
|
case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=I
|
|
71
71
|
break
|
|
72
72
|
case"@":this.cleanedTargetName=t.substr(1),this.bind=$,this.unbind=_
|
|
73
73
|
break
|
|
74
|
-
default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=
|
|
74
|
+
default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=A)}}targetAtContent(){this.updateTarget=O,this.unbind=k}createBehavior(t){return new H(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}}class H{constructor(t,e,i,s,o,n,r){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=e,this.isBindingVolatile=i,this.bind=s,this.unbind=o,this.updateTarget=n,this.targetName=r}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){m.setEvent(t)
|
|
75
75
|
const e=this.binding(this.source,this.context)
|
|
76
76
|
m.setEvent(null),!0!==e&&t.preventDefault()}}let M=null
|
|
77
77
|
class V{addFactory(t){t.targetIndex=this.targetIndex,this.behaviorFactories.push(t)}captureContentBinding(t){t.targetAtContent(),this.addFactory(t)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){M=this}static borrow(t){const e=M||new V
|
|
78
78
|
return e.directives=t,e.reset(),M=null,e}}function L(t){if(1===t.length)return t[0]
|
|
79
79
|
let e
|
|
80
|
-
const
|
|
81
|
-
for(let n=0;n<
|
|
80
|
+
const i=t.length,s=t.map((t=>"string"==typeof t?()=>t:(e=t.targetName||e,t.binding))),o=new E(((t,e)=>{let o=""
|
|
81
|
+
for(let n=0;n<i;++n)o+=s[n](t,e)
|
|
82
82
|
return o}))
|
|
83
83
|
return o.targetName=e,o}const T=c.length
|
|
84
|
-
function P(t,e){const
|
|
85
|
-
if(1===
|
|
86
|
-
const
|
|
87
|
-
for(let e=0,o=
|
|
84
|
+
function P(t,e){const i=e.split(l)
|
|
85
|
+
if(1===i.length)return null
|
|
86
|
+
const s=[]
|
|
87
|
+
for(let e=0,o=i.length;e<o;++e){const o=i[e],n=o.indexOf(c)
|
|
88
88
|
let r
|
|
89
89
|
if(-1===n)r=o
|
|
90
90
|
else{const e=parseInt(o.substring(0,n))
|
|
91
|
-
|
|
92
|
-
for(let o=0,n=
|
|
91
|
+
s.push(t.directives[e]),r=o.substring(n+T)}""!==r&&s.push(r)}return s}function R(t,e,i=!1){const s=e.attributes
|
|
92
|
+
for(let o=0,n=s.length;o<n;++o){const r=s[o],a=r.value,l=P(t,a)
|
|
93
93
|
let c=null
|
|
94
|
-
null===l?
|
|
95
|
-
if(null!==
|
|
96
|
-
for(let n=0,r=
|
|
97
|
-
"string"==typeof r?a.textContent=r:(a.textContent=" ",t.captureContentBinding(r)),o=a,t.targetIndex++,a!==e&&
|
|
94
|
+
null===l?i&&(c=new E((()=>a)),c.targetName=r.name):c=L(l),null!==c&&(e.removeAttributeNode(r),o--,n--,t.addFactory(c))}}function D(t,e,i){const s=P(t,e.textContent)
|
|
95
|
+
if(null!==s){let o=e
|
|
96
|
+
for(let n=0,r=s.length;n<r;++n){const r=s[n],a=0===n?e:o.parentNode.insertBefore(document.createTextNode(""),o.nextSibling)
|
|
97
|
+
"string"==typeof r?a.textContent=r:(a.textContent=" ",t.captureContentBinding(r)),o=a,t.targetIndex++,a!==e&&i.nextNode()}t.targetIndex--}}const B=document.createRange()
|
|
98
98
|
class F{constructor(t,e){this.fragment=t,this.behaviors=e,this.source=null,this.context=null,this.firstChild=t.firstChild,this.lastChild=t.lastChild}appendTo(t){t.appendChild(this.fragment)}insertBefore(t){if(this.fragment.hasChildNodes())t.parentNode.insertBefore(this.fragment,t)
|
|
99
|
-
else{const e=t.parentNode,
|
|
100
|
-
let
|
|
101
|
-
for(;o!==
|
|
102
|
-
e.insertBefore(
|
|
103
|
-
let s
|
|
104
|
-
for(;
|
|
99
|
+
else{const e=t.parentNode,i=this.lastChild
|
|
100
|
+
let s,o=this.firstChild
|
|
101
|
+
for(;o!==i;)s=o.nextSibling,e.insertBefore(o,t),o=s
|
|
102
|
+
e.insertBefore(i,t)}}remove(){const t=this.fragment,e=this.lastChild
|
|
103
|
+
let i,s=this.firstChild
|
|
104
|
+
for(;s!==e;)i=s.nextSibling,t.appendChild(s),s=i
|
|
105
105
|
t.appendChild(e)}dispose(){const t=this.firstChild.parentNode,e=this.lastChild
|
|
106
|
-
let s
|
|
107
|
-
for(;
|
|
106
|
+
let i,s=this.firstChild
|
|
107
|
+
for(;s!==e;)i=s.nextSibling,t.removeChild(s),s=i
|
|
108
108
|
t.removeChild(e)
|
|
109
109
|
const o=this.behaviors,n=this.source
|
|
110
|
-
for(let t=0,e=o.length;t<e;++t)o[t].unbind(n)}bind(t,e){const
|
|
111
|
-
if(this.source!==t)if(null!==this.source){const
|
|
110
|
+
for(let t=0,e=o.length;t<e;++t)o[t].unbind(n)}bind(t,e){const i=this.behaviors
|
|
111
|
+
if(this.source!==t)if(null!==this.source){const s=this.source
|
|
112
112
|
this.source=t,this.context=e
|
|
113
|
-
for(let o=0,n=
|
|
114
|
-
n.unbind(
|
|
115
|
-
for(let
|
|
113
|
+
for(let o=0,n=i.length;o<n;++o){const n=i[o]
|
|
114
|
+
n.unbind(s),n.bind(t,e)}}else{this.source=t,this.context=e
|
|
115
|
+
for(let s=0,o=i.length;s<o;++s)i[s].bind(t,e)}}unbind(){if(null===this.source)return
|
|
116
116
|
const t=this.behaviors,e=this.source
|
|
117
|
-
for(let
|
|
117
|
+
for(let i=0,s=t.length;i<s;++i)t[i].unbind(e)
|
|
118
118
|
this.source=null}static disposeContiguousBatch(t){if(0!==t.length){B.setStartBefore(t[0].firstChild),B.setEndAfter(t[t.length-1].lastChild),B.deleteContents()
|
|
119
|
-
for(let e=0,
|
|
120
|
-
for(let t=0,e=
|
|
119
|
+
for(let e=0,i=t.length;e<i;++e){const i=t[e],s=i.behaviors,o=i.source
|
|
120
|
+
for(let t=0,e=s.length;t<e;++t)s[t].unbind(o)}}}}class N{constructor(t,e){this.behaviorCount=0,this.hasHostBehaviors=!1,this.fragment=null,this.targetOffset=0,this.viewBehaviorFactories=null,this.hostBehaviorFactories=null,this.html=t,this.directives=e}create(t){if(null===this.fragment){let t
|
|
121
121
|
const e=this.html
|
|
122
122
|
if("string"==typeof e){t=document.createElement("template"),t.innerHTML=h.createHTML(e)
|
|
123
|
-
const
|
|
124
|
-
null!==
|
|
125
|
-
const
|
|
126
|
-
document.adoptNode(
|
|
127
|
-
const
|
|
128
|
-
R(
|
|
129
|
-
const o=
|
|
130
|
-
|
|
131
|
-
const n=h.createTemplateWalker(
|
|
123
|
+
const i=t.content.firstElementChild
|
|
124
|
+
null!==i&&"TEMPLATE"===i.tagName&&(t=i)}else t=e
|
|
125
|
+
const i=function(t,e){const i=t.content
|
|
126
|
+
document.adoptNode(i)
|
|
127
|
+
const s=V.borrow(e)
|
|
128
|
+
R(s,t,!0)
|
|
129
|
+
const o=s.behaviorFactories
|
|
130
|
+
s.reset()
|
|
131
|
+
const n=h.createTemplateWalker(i)
|
|
132
132
|
let r
|
|
133
|
-
for(;r=n.nextNode();)switch(
|
|
133
|
+
for(;r=n.nextNode();)switch(s.targetIndex++,r.nodeType){case 1:R(s,r)
|
|
134
134
|
break
|
|
135
|
-
case 3:D(
|
|
135
|
+
case 3:D(s,r,n)
|
|
136
136
|
break
|
|
137
|
-
case 8:h.isMarker(r)&&
|
|
138
|
-
const l=
|
|
139
|
-
return
|
|
140
|
-
this.fragment=
|
|
137
|
+
case 8:h.isMarker(r)&&s.addFactory(e[h.extractDirectiveIndexFromMarker(r)])}let a=0;(h.isMarker(i.firstChild)||1===i.childNodes.length&&e.length)&&(i.insertBefore(document.createComment(""),i.firstChild),a=-1)
|
|
138
|
+
const l=s.behaviorFactories
|
|
139
|
+
return s.release(),{fragment:i,viewBehaviorFactories:l,hostBehaviorFactories:o,targetOffset:a}}(t,this.directives)
|
|
140
|
+
this.fragment=i.fragment,this.viewBehaviorFactories=i.viewBehaviorFactories,this.hostBehaviorFactories=i.hostBehaviorFactories,this.targetOffset=i.targetOffset,this.behaviorCount=this.viewBehaviorFactories.length+this.hostBehaviorFactories.length,this.hasHostBehaviors=this.hostBehaviorFactories.length>0}const e=this.fragment.cloneNode(!0),i=this.viewBehaviorFactories,s=new Array(this.behaviorCount),o=h.createTemplateWalker(e)
|
|
141
141
|
let n=0,r=this.targetOffset,a=o.nextNode()
|
|
142
|
-
for(let t=
|
|
143
|
-
for(;null!==a;){if(r===e){
|
|
142
|
+
for(let t=i.length;n<t;++n){const t=i[n],e=t.targetIndex
|
|
143
|
+
for(;null!==a;){if(r===e){s[n]=t.createBehavior(a)
|
|
144
144
|
break}a=o.nextNode(),r++}}if(this.hasHostBehaviors){const e=this.hostBehaviorFactories
|
|
145
|
-
for(let
|
|
146
|
-
const
|
|
147
|
-
return
|
|
148
|
-
function q(t,...e){const
|
|
149
|
-
let
|
|
145
|
+
for(let i=0,o=e.length;i<o;++i,++n)s[n]=e[i].createBehavior(t)}return new F(e,s)}render(t,e,i){"string"==typeof e&&(e=document.getElementById(e)),void 0===i&&(i=e)
|
|
146
|
+
const s=this.create(i)
|
|
147
|
+
return s.bind(t,f),s.appendTo(e),s}}const j=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/
|
|
148
|
+
function q(t,...e){const i=[]
|
|
149
|
+
let s=""
|
|
150
150
|
for(let o=0,n=t.length-1;o<n;++o){const n=t[o]
|
|
151
151
|
let r=e[o]
|
|
152
|
-
if(
|
|
152
|
+
if(s+=n,r instanceof N){const t=r
|
|
153
153
|
r=()=>t}if("function"==typeof r&&(r=new E(r)),r instanceof w){const t=j.exec(n)
|
|
154
|
-
null!==t&&(r.targetName=t[2])}r instanceof b?(
|
|
154
|
+
null!==t&&(r.targetName=t[2])}r instanceof b?(s+=r.createPlaceholder(i.length),i.push(r)):s+=r}return s+=t[t.length-1],new N(s,i)}class U{constructor(){this.targets=new WeakSet}addStylesTo(t){this.targets.add(t)}removeStylesFrom(t){this.targets.delete(t)}isAttachedTo(t){return this.targets.has(t)}withBehaviors(...t){return this.behaviors=null===this.behaviors?t:this.behaviors.concat(t),this}}function K(t){return t.map((t=>t instanceof U?K(t.styles):[t])).reduce(((t,e)=>t.concat(e)),[])}function W(t){return t.map((t=>t instanceof U?t.behaviors:null)).reduce(((t,e)=>null===e?t:(null===t&&(t=[]),t.concat(e))),null)}U.create=(()=>{if(h.supportsAdoptedStyleSheets){const t=new Map
|
|
155
155
|
return e=>new X(e,t)}return t=>new G(t)})()
|
|
156
156
|
class X extends U{constructor(t,e){super(),this.styles=t,this.styleSheetCache=e,this._styleSheets=void 0,this.behaviors=W(t)}get styleSheets(){if(void 0===this._styleSheets){const t=this.styles,e=this.styleSheetCache
|
|
157
157
|
this._styleSheets=K(t).map((t=>{if(t instanceof CSSStyleSheet)return t
|
|
158
|
-
let
|
|
159
|
-
return void 0===
|
|
158
|
+
let i=e.get(t)
|
|
159
|
+
return void 0===i&&(i=new CSSStyleSheet,i.replaceSync(t),e.set(t,i)),i}))}return this._styleSheets}addStylesTo(t){t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.styleSheets],super.addStylesTo(t)}removeStylesFrom(t){const e=this.styleSheets
|
|
160
160
|
t.adoptedStyleSheets=t.adoptedStyleSheets.filter((t=>-1===e.indexOf(t))),super.removeStylesFrom(t)}}let Y=0
|
|
161
|
-
class G extends U{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=W(t),this.styleSheets=K(t),this.styleClass="fast-style-class-"+ ++Y}addStylesTo(t){const e=this.styleSheets,
|
|
161
|
+
class G extends U{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=W(t),this.styleSheets=K(t),this.styleClass="fast-style-class-"+ ++Y}addStylesTo(t){const e=this.styleSheets,i=this.styleClass
|
|
162
162
|
t=this.normalizeTarget(t)
|
|
163
|
-
for(let
|
|
164
|
-
o.innerHTML=e[
|
|
165
|
-
for(let
|
|
163
|
+
for(let s=0;s<e.length;s++){const o=document.createElement("style")
|
|
164
|
+
o.innerHTML=e[s],o.className=i,t.append(o)}super.addStylesTo(t)}removeStylesFrom(t){const e=(t=this.normalizeTarget(t)).querySelectorAll(`.${this.styleClass}`)
|
|
165
|
+
for(let i=0,s=e.length;i<s;++i)t.removeChild(e[i])
|
|
166
166
|
super.removeStylesFrom(t)}isAttachedTo(t){return super.isAttachedTo(this.normalizeTarget(t))}normalizeTarget(t){return t===document?document.body:t}}const Q={toView:t=>t?"true":"false",fromView:t=>null!=t&&"false"!==t&&!1!==t&&0!==t},J={toView(t){if(null==t)return null
|
|
167
167
|
const e=1*t
|
|
168
168
|
return isNaN(e)?null:e.toString()},fromView(t){if(null==t)return null
|
|
169
169
|
const e=1*t
|
|
170
170
|
return isNaN(e)?null:e}}
|
|
171
|
-
class Z{constructor(t,e,
|
|
172
|
-
void 0!==
|
|
173
|
-
|
|
174
|
-
const
|
|
171
|
+
class Z{constructor(t,e,i=e.toLowerCase(),s="reflect",o){this.guards=new Set,this.Owner=t,this.name=e,this.attribute=i,this.mode=s,this.converter=o,this.fieldName=`_${e}`,this.callbackName=`${e}Changed`,this.hasCallback=this.callbackName in t.prototype,"boolean"===s&&void 0===o&&(this.converter=Q)}setValue(t,e){const i=t[this.fieldName],s=this.converter
|
|
172
|
+
void 0!==s&&(e=s.fromView(e)),i!==e&&(t[this.fieldName]=e,this.tryReflectToAttribute(t),this.hasCallback&&t[this.callbackName](i,e),t.$fastController.notify(this.name))}getValue(t){return p.track(t,this.name),t[this.fieldName]}onAttributeChangedCallback(t,e){this.guards.has(t)||(this.guards.add(t),this.setValue(t,e),this.guards.delete(t))}tryReflectToAttribute(t){const e=this.mode,i=this.guards
|
|
173
|
+
i.has(t)||"fromView"===e||h.queueUpdate((()=>{i.add(t)
|
|
174
|
+
const s=t[this.fieldName]
|
|
175
175
|
switch(e){case"reflect":const e=this.converter
|
|
176
|
-
h.setAttribute(t,this.attribute,void 0!==e?e.toView(
|
|
176
|
+
h.setAttribute(t,this.attribute,void 0!==e?e.toView(s):s)
|
|
177
177
|
break
|
|
178
|
-
case"boolean":h.setBooleanAttribute(t,this.attribute,
|
|
178
|
+
case"boolean":h.setBooleanAttribute(t,this.attribute,s)}i.delete(t)}))}static collect(t,...e){const i=[]
|
|
179
179
|
e.push(t.attributes)
|
|
180
|
-
for(let
|
|
181
|
-
if(void 0!==o)for(let e=0,
|
|
182
|
-
"string"==typeof i
|
|
183
|
-
function
|
|
184
|
-
const
|
|
185
|
-
|
|
180
|
+
for(let s=0,o=e.length;s<o;++s){const o=e[s]
|
|
181
|
+
if(void 0!==o)for(let e=0,s=o.length;e<s;++e){const s=o[e]
|
|
182
|
+
"string"==typeof s?i.push(new Z(t,s)):i.push(new Z(t,s.property,s.attribute,s.mode,s.converter))}}return i}}function tt(t,e){let i
|
|
183
|
+
function s(t,e){arguments.length>1&&(i.property=e)
|
|
184
|
+
const s=t.constructor.attributes||(t.constructor.attributes=[])
|
|
185
|
+
s.push(i)}return arguments.length>1?(i={},void s(t,e)):(i=void 0===t?{}:t,s)}const et={mode:"open"},it={},st=i.getById(4,(()=>{const t=new Map
|
|
186
186
|
return Object.freeze({register:e=>!t.has(e.type)&&(t.set(e.type,e),!0),getByType:e=>t.get(e)})}))
|
|
187
187
|
class ot{constructor(t,e=t.definition){"string"==typeof e&&(e={name:e}),this.type=t,this.name=e.name,this.template=e.template
|
|
188
|
-
const
|
|
189
|
-
for(let t=0,e=
|
|
190
|
-
|
|
191
|
-
if(
|
|
192
|
-
for(let e=0,
|
|
193
|
-
Reflect.defineProperty(e,"observedAttributes",{value:this.observedAttributes,enumerable:!0})}return t.get(this.name)||t.define(this.name,e,this.elementOptions),this}}ot.forType=
|
|
188
|
+
const i=Z.collect(t,e.attributes),s=new Array(i.length),o={},n={}
|
|
189
|
+
for(let t=0,e=i.length;t<e;++t){const e=i[t]
|
|
190
|
+
s[t]=e.attribute,o[e.name]=e,n[e.attribute]=e}this.attributes=i,this.observedAttributes=s,this.propertyLookup=o,this.attributeLookup=n,this.shadowOptions=void 0===e.shadowOptions?et:null===e.shadowOptions?void 0:Object.assign(Object.assign({},et),e.shadowOptions),this.elementOptions=void 0===e.elementOptions?it:Object.assign(Object.assign({},it),e.elementOptions),this.styles=void 0===e.styles?void 0:Array.isArray(e.styles)?U.create(e.styles):e.styles instanceof U?e.styles:U.create([e.styles])}get isDefined(){return!!st.getByType(this.type)}define(t=customElements){const e=this.type
|
|
191
|
+
if(st.register(this)){const t=this.attributes,i=e.prototype
|
|
192
|
+
for(let e=0,s=t.length;e<s;++e)p.defineProperty(i,t[e])
|
|
193
|
+
Reflect.defineProperty(e,"observedAttributes",{value:this.observedAttributes,enumerable:!0})}return t.get(this.name)||t.define(this.name,e,this.elementOptions),this}}ot.forType=st.getByType
|
|
194
194
|
const nt=new WeakMap,rt={bubbles:!0,composed:!0,cancelable:!0}
|
|
195
195
|
function at(t){return t.shadowRoot||nt.get(t)||null}class lt extends u{constructor(t,e){super(t),this.boundObservables=null,this.behaviors=null,this.needsInitialization=!0,this._template=null,this._styles=null,this._isConnected=!1,this.$fastController=this,this.view=null,this.element=t,this.definition=e
|
|
196
|
-
const
|
|
197
|
-
if(void 0!==
|
|
198
|
-
"closed"===
|
|
199
|
-
if(
|
|
200
|
-
for(let
|
|
196
|
+
const i=e.shadowOptions
|
|
197
|
+
if(void 0!==i){const e=t.attachShadow(i)
|
|
198
|
+
"closed"===i.mode&&nt.set(t,e)}const s=p.getAccessors(t)
|
|
199
|
+
if(s.length>0){const e=this.boundObservables=Object.create(null)
|
|
200
|
+
for(let i=0,o=s.length;i<o;++i){const o=s[i].name,n=t[o]
|
|
201
201
|
void 0!==n&&(delete t[o],e[o]=n)}}}get isConnected(){return p.track(this,"isConnected"),this._isConnected}setIsConnected(t){this._isConnected=t,p.notify(this,"isConnected")}get template(){return this._template}set template(t){this._template!==t&&(this._template=t,this.needsInitialization||this.renderTemplate(t))}get styles(){return this._styles}set styles(t){this._styles!==t&&(null!==this._styles&&this.removeStyles(this._styles),this._styles=t,this.needsInitialization||null===t||this.addStyles(t))}addStyles(t){const e=at(this.element)||this.element.getRootNode()
|
|
202
202
|
if(t instanceof HTMLStyleElement)e.append(t)
|
|
203
|
-
else if(!t.isAttachedTo(e)){const
|
|
204
|
-
t.addStylesTo(e),null!==
|
|
203
|
+
else if(!t.isAttachedTo(e)){const i=t.behaviors
|
|
204
|
+
t.addStylesTo(e),null!==i&&this.addBehaviors(i)}}removeStyles(t){const e=at(this.element)||this.element.getRootNode()
|
|
205
205
|
if(t instanceof HTMLStyleElement)e.removeChild(t)
|
|
206
|
-
else if(t.isAttachedTo(e)){const
|
|
207
|
-
t.removeStylesFrom(e),null!==
|
|
208
|
-
for(let o=0;o<
|
|
209
|
-
e.has(
|
|
210
|
-
for(let e=0;e<
|
|
211
|
-
if(null===
|
|
212
|
-
const
|
|
213
|
-
for(let n=0;n<
|
|
214
|
-
if(
|
|
215
|
-
0===t||e?
|
|
206
|
+
else if(t.isAttachedTo(e)){const i=t.behaviors
|
|
207
|
+
t.removeStylesFrom(e),null!==i&&this.removeBehaviors(i)}}addBehaviors(t){const e=this.behaviors||(this.behaviors=new Map),i=t.length,s=[]
|
|
208
|
+
for(let o=0;o<i;++o){const i=t[o]
|
|
209
|
+
e.has(i)?e.set(i,e.get(i)+1):(e.set(i,1),s.push(i))}if(this._isConnected){const t=this.element
|
|
210
|
+
for(let e=0;e<s.length;++e)s[e].bind(t,f)}}removeBehaviors(t,e=!1){const i=this.behaviors
|
|
211
|
+
if(null===i)return
|
|
212
|
+
const s=t.length,o=[]
|
|
213
|
+
for(let n=0;n<s;++n){const s=t[n]
|
|
214
|
+
if(i.has(s)){const t=i.get(s)-1
|
|
215
|
+
0===t||e?i.delete(s)&&o.push(s):i.set(s,t)}}if(this._isConnected){const t=this.element
|
|
216
216
|
for(let e=0;e<o.length;++e)o[e].unbind(t)}}onConnectedCallback(){if(this._isConnected)return
|
|
217
217
|
const t=this.element
|
|
218
218
|
this.needsInitialization?this.finishInitialization():null!==this.view&&this.view.bind(t,f)
|
|
219
219
|
const e=this.behaviors
|
|
220
|
-
if(null!==e)for(const[
|
|
220
|
+
if(null!==e)for(const[i]of e)i.bind(t,f)
|
|
221
221
|
this.setIsConnected(!0)}onDisconnectedCallback(){if(!this._isConnected)return
|
|
222
222
|
this.setIsConnected(!1)
|
|
223
223
|
const t=this.view
|
|
224
224
|
null!==t&&t.unbind()
|
|
225
225
|
const e=this.behaviors
|
|
226
226
|
if(null!==e){const t=this.element
|
|
227
|
-
for(const[
|
|
228
|
-
void 0!==
|
|
229
|
-
if(null!==e){const
|
|
230
|
-
for(let
|
|
231
|
-
t[o]=e[o]}this.boundObservables=null}const
|
|
232
|
-
null===this._template&&(this.element.resolveTemplate?this._template=this.element.resolveTemplate():
|
|
233
|
-
null!==this.view?(this.view.dispose(),this.view=null):this.needsInitialization||h.removeChildNodes(
|
|
227
|
+
for(const[i]of e)i.unbind(t)}}onAttributeChangedCallback(t,e,i){const s=this.definition.attributeLookup[t]
|
|
228
|
+
void 0!==s&&s.onAttributeChangedCallback(this.element,i)}emit(t,e,i){return!!this._isConnected&&this.element.dispatchEvent(new CustomEvent(t,Object.assign(Object.assign({detail:e},rt),i)))}finishInitialization(){const t=this.element,e=this.boundObservables
|
|
229
|
+
if(null!==e){const i=Object.keys(e)
|
|
230
|
+
for(let s=0,o=i.length;s<o;++s){const o=i[s]
|
|
231
|
+
t[o]=e[o]}this.boundObservables=null}const i=this.definition
|
|
232
|
+
null===this._template&&(this.element.resolveTemplate?this._template=this.element.resolveTemplate():i.template&&(this._template=i.template||null)),null!==this._template&&this.renderTemplate(this._template),null===this._styles&&(this.element.resolveStyles?this._styles=this.element.resolveStyles():i.styles&&(this._styles=i.styles||null)),null!==this._styles&&this.addStyles(this._styles),this.needsInitialization=!1}renderTemplate(t){const e=this.element,i=at(e)||e
|
|
233
|
+
null!==this.view?(this.view.dispose(),this.view=null):this.needsInitialization||h.removeChildNodes(i),t&&(this.view=t.render(e,i,e))}static forCustomElement(t){const e=t.$fastController
|
|
234
234
|
if(void 0!==e)return e
|
|
235
|
-
const
|
|
236
|
-
if(void 0===
|
|
237
|
-
return t.$fastController=new lt(t,
|
|
238
|
-
class dt{createCSS(){return""}createBehavior(){}}function ut(t,...e){const{styles:
|
|
239
|
-
let
|
|
235
|
+
const i=ot.forType(t.constructor)
|
|
236
|
+
if(void 0===i)throw new Error("Missing FASTElement definition.")
|
|
237
|
+
return t.$fastController=new lt(t,i)}}function ct(t){return class extends t{constructor(){super(),lt.forCustomElement(this)}$emit(t,e,i){return this.$fastController.emit(t,e,i)}connectedCallback(){this.$fastController.onConnectedCallback()}disconnectedCallback(){this.$fastController.onDisconnectedCallback()}attributeChangedCallback(t,e,i){this.$fastController.onAttributeChangedCallback(t,e,i)}}}const ht=Object.assign(ct(HTMLElement),{from:t=>ct(t),define:(t,e)=>new ot(t,e).define().type})
|
|
238
|
+
class dt{createCSS(){return""}createBehavior(){}}function ut(t,...e){const{styles:i,behaviors:s}=function(t,e){const i=[]
|
|
239
|
+
let s=""
|
|
240
240
|
const o=[]
|
|
241
|
-
for(let n=0,r=t.length-1;n<r;++n){
|
|
241
|
+
for(let n=0,r=t.length-1;n<r;++n){s+=t[n]
|
|
242
242
|
let r=e[n]
|
|
243
243
|
if(r instanceof dt){const t=r.createBehavior()
|
|
244
|
-
r=r.createCSS(),t&&o.push(t)}r instanceof U||r instanceof CSSStyleSheet?(""!==
|
|
245
|
-
return
|
|
246
|
-
return(e,
|
|
247
|
-
this.shouldUpdate=p.getAccessors(t).some((t=>t.name===e)),this.source=t,this.updateTarget(this.computeNodes()),this.shouldUpdate&&this.observe()}unbind(){this.updateTarget(
|
|
244
|
+
r=r.createCSS(),t&&o.push(t)}r instanceof U||r instanceof CSSStyleSheet?(""!==s.trim()&&(i.push(s),s=""),i.push(r)):s+=r}return s+=t[t.length-1],""!==s.trim()&&i.push(s),{styles:i,behaviors:o}}(t,e),o=U.create(i)
|
|
245
|
+
return s.length&&o.withBehaviors(...s),o}class pt{constructor(t,e){this.target=t,this.propertyName=e}bind(t){t[this.propertyName]=this.target}unbind(){}}function vt(t){return new x("fast-ref",pt,t)}function gt(t,e){const i="function"==typeof e?e:()=>e
|
|
246
|
+
return(e,s)=>t(e,s)?i(e,s):null}function mt(t){return t?function(e,i,s){return 1===e.nodeType&&e.matches(t)}:function(t,e,i){return 1===t.nodeType}}class ft{constructor(t,e){this.target=t,this.options=e,this.source=null}bind(t){const e=this.options.property
|
|
247
|
+
this.shouldUpdate=p.getAccessors(t).some((t=>t.name===e)),this.source=t,this.updateTarget(this.computeNodes()),this.shouldUpdate&&this.observe()}unbind(){this.updateTarget(s),this.source=null,this.shouldUpdate&&this.disconnect()}handleEvent(){this.updateTarget(this.computeNodes())}computeNodes(){let t=this.getNodes()
|
|
248
248
|
return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateTarget(t){this.source[this.options.property]=t}}class bt extends ft{constructor(t,e){super(t,e)}observe(){this.target.addEventListener("slotchange",this)}disconnect(){this.target.removeEventListener("slotchange",this)}getNodes(){return this.target.assignedNodes(this.options)}}function wt(t){return"string"==typeof t&&(t={property:t}),new x("fast-slotted",bt,t)}class xt extends ft{constructor(t,e){super(t,e),this.observer=null,e.childList=!0}observe(){null===this.observer&&(this.observer=new MutationObserver(this.handleEvent.bind(this))),this.observer.observe(this.target,this.options)}disconnect(){this.observer.disconnect()}getNodes(){return"subtree"in this.options?Array.from(this.target.querySelectorAll(this.options.selector)):Array.from(this.target.childNodes)}}function yt(t){return"string"==typeof t&&(t={property:t}),new x("fast-children",xt,t)}class $t{handleStartContentChange(){this.startContainer.classList.toggle("start",this.start.assignedNodes().length>0)}handleEndContentChange(){this.endContainer.classList.toggle("end",this.end.assignedNodes().length>0)}}const Ct=(t,e)=>q`
|
|
249
249
|
<span
|
|
250
250
|
part="end"
|
|
@@ -285,10 +285,10 @@ return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateT
|
|
|
285
285
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
286
286
|
PERFORMANCE OF THIS SOFTWARE.
|
|
287
287
|
***************************************************************************** */
|
|
288
|
-
function _t(t,e,s
|
|
289
|
-
if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s
|
|
290
|
-
else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,
|
|
291
|
-
return n>3&&r&&Object.defineProperty(e,
|
|
288
|
+
function _t(t,e,i,s){var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s
|
|
289
|
+
if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s)
|
|
290
|
+
else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r)
|
|
291
|
+
return n>3&&r&&Object.defineProperty(e,i,r),r}q`
|
|
292
292
|
<span part="end" ${vt("endContainer")}>
|
|
293
293
|
<slot
|
|
294
294
|
name="end"
|
|
@@ -306,130 +306,130 @@ return n>3&&r&&Object.defineProperty(e,s,r),r}q`
|
|
|
306
306
|
</span>
|
|
307
307
|
`
|
|
308
308
|
const zt=new Map
|
|
309
|
-
"metadata"in Reflect||(Reflect.metadata=function(t,e){return function(
|
|
310
|
-
void 0===
|
|
311
|
-
if(void 0!==
|
|
312
|
-
class It{constructor(t,e){this.container=t,this.key=e}instance(t){return this.registerResolver(0,t)}singleton(t){return this.registerResolver(1,t)}transient(t){return this.registerResolver(2,t)}callback(t){return this.registerResolver(3,t)}cachedCallback(t){return this.registerResolver(3,Yt(t))}aliasTo(t){return this.registerResolver(5,t)}registerResolver(t,e){const{container:
|
|
313
|
-
return this.container=this.key=void 0,
|
|
309
|
+
"metadata"in Reflect||(Reflect.metadata=function(t,e){return function(i){Reflect.defineMetadata(t,e,i)}},Reflect.defineMetadata=function(t,e,i){let s=zt.get(i)
|
|
310
|
+
void 0===s&&zt.set(i,s=new Map),s.set(t,e)},Reflect.getOwnMetadata=function(t,e){const i=zt.get(e)
|
|
311
|
+
if(void 0!==i)return i.get(t)})
|
|
312
|
+
class It{constructor(t,e){this.container=t,this.key=e}instance(t){return this.registerResolver(0,t)}singleton(t){return this.registerResolver(1,t)}transient(t){return this.registerResolver(2,t)}callback(t){return this.registerResolver(3,t)}cachedCallback(t){return this.registerResolver(3,Yt(t))}aliasTo(t){return this.registerResolver(5,t)}registerResolver(t,e){const{container:i,key:s}=this
|
|
313
|
+
return this.container=this.key=void 0,i.registerResolver(s,new Pt(s,t,e))}}function Ot(t){const e=t.slice(),i=Object.keys(t),s=i.length
|
|
314
314
|
let o
|
|
315
|
-
for(let n=0;n<
|
|
316
|
-
return e}const
|
|
315
|
+
for(let n=0;n<s;++n)o=i[n],se(o)||(e[o]=t[o])
|
|
316
|
+
return e}const St=Object.freeze({none(t){throw Error(`${t.toString()} not registered, did you forget to add @singleton()?`)},singleton:t=>new Pt(t,1,t),transient:t=>new Pt(t,2,t)}),At=Object.freeze({default:Object.freeze({parentLocator:()=>null,responsibleForOwnerRequests:!1,defaultResolver:St.singleton})}),Et=new Map
|
|
317
317
|
function Ht(t){return e=>Reflect.getOwnMetadata(t,e)}let Mt=null
|
|
318
|
-
const Vt=Object.freeze({createContainer:t=>new Wt(null,Object.assign({},
|
|
318
|
+
const Vt=Object.freeze({createContainer:t=>new Wt(null,Object.assign({},At.default,t)),findResponsibleContainer(t){const e=t.$$container$$
|
|
319
319
|
return e&&e.responsibleForOwnerRequests?e:Vt.findParentContainer(t)},findParentContainer(t){const e=new CustomEvent(Ut,{bubbles:!0,composed:!0,cancelable:!0,detail:{container:void 0}})
|
|
320
|
-
return t.dispatchEvent(e),e.detail.container||Vt.getOrCreateDOMContainer()},getOrCreateDOMContainer:(t,e)=>t?t.$$container$$||new Wt(t,Object.assign({},
|
|
320
|
+
return t.dispatchEvent(e),e.detail.container||Vt.getOrCreateDOMContainer()},getOrCreateDOMContainer:(t,e)=>t?t.$$container$$||new Wt(t,Object.assign({},At.default,e,{parentLocator:Vt.findParentContainer})):Mt||(Mt=new Wt(null,Object.assign({},At.default,e,{parentLocator:()=>null}))),getDesignParamtypes:Ht("design:paramtypes"),getAnnotationParamtypes:Ht("di:paramtypes"),getOrCreateAnnotationParamTypes(t){let e=this.getAnnotationParamtypes(t)
|
|
321
321
|
return void 0===e&&Reflect.defineMetadata("di:paramtypes",e=[],t),e},getDependencies(t){let e=Et.get(t)
|
|
322
|
-
if(void 0===e){const
|
|
323
|
-
if(void 0===
|
|
324
|
-
if(void 0===
|
|
325
|
-
e="function"==typeof
|
|
326
|
-
else if(void 0===
|
|
327
|
-
else{e=Ot(
|
|
328
|
-
let t,o=
|
|
329
|
-
for(let
|
|
330
|
-
const n=Object.keys(
|
|
322
|
+
if(void 0===e){const i=t.inject
|
|
323
|
+
if(void 0===i){const i=Vt.getDesignParamtypes(t),s=Vt.getAnnotationParamtypes(t)
|
|
324
|
+
if(void 0===i)if(void 0===s){const i=Object.getPrototypeOf(t)
|
|
325
|
+
e="function"==typeof i&&i!==Function.prototype?Ot(Vt.getDependencies(i)):[]}else e=Ot(s)
|
|
326
|
+
else if(void 0===s)e=Ot(i)
|
|
327
|
+
else{e=Ot(i)
|
|
328
|
+
let t,o=s.length
|
|
329
|
+
for(let i=0;i<o;++i)t=s[i],void 0!==t&&(e[i]=t)
|
|
330
|
+
const n=Object.keys(s)
|
|
331
331
|
let r
|
|
332
332
|
o=n.length
|
|
333
|
-
for(let t=0;t<o;++t)r=n[t],
|
|
334
|
-
Et.set(t,e)}return e},defineProperty(t,e,s
|
|
333
|
+
for(let t=0;t<o;++t)r=n[t],se(r)||(e[r]=s[r])}}else e=Ot(i)
|
|
334
|
+
Et.set(t,e)}return e},defineProperty(t,e,i,s=!1){const o=`$di_${e}`
|
|
335
335
|
Reflect.defineProperty(t,e,{get:function(){let t=this[o]
|
|
336
336
|
if(void 0===t){const n=this instanceof HTMLElement?Vt.findResponsibleContainer(this):Vt.getOrCreateDOMContainer()
|
|
337
|
-
if(t=n.get(
|
|
338
|
-
|
|
337
|
+
if(t=n.get(i),this[o]=t,s&&this instanceof ht){const s=this.$fastController,n=()=>{Vt.findResponsibleContainer(this).get(i)!==this[o]&&(this[o]=t,s.notify(e))}
|
|
338
|
+
s.subscribe({handleChange:n},"isConnected")}}return t}})},createInterface(t,e){const i="function"==typeof t?t:e,s="string"==typeof t?t:t&&"friendlyName"in t&&t.friendlyName||Zt,o="string"!=typeof t&&(t&&"respectConnection"in t&&t.respectConnection||!1),n=function(t,e,i){if(null==t||void 0!==new.target)throw new Error(`No registration for interface: '${n.friendlyName}'`)
|
|
339
339
|
if(e)Vt.defineProperty(t,e,n,o)
|
|
340
|
-
else{Vt.getOrCreateAnnotationParamTypes(t)[
|
|
341
|
-
return n.$isInterface=!0,n.friendlyName=null==
|
|
342
|
-
void 0!==o&&(s
|
|
343
|
-
else{const s
|
|
340
|
+
else{Vt.getOrCreateAnnotationParamTypes(t)[i]=n}}
|
|
341
|
+
return n.$isInterface=!0,n.friendlyName=null==s?"(anonymous)":s,null!=i&&(n.register=function(t,e){return i(new It(t,null!=e?e:n))}),n.toString=function(){return`InterfaceSymbol<${n.friendlyName}>`},n},inject:(...t)=>function(e,i,s){if("number"==typeof s){const i=Vt.getOrCreateAnnotationParamTypes(e),o=t[0]
|
|
342
|
+
void 0!==o&&(i[s]=o)}else if(i)Vt.defineProperty(e,i,t[0])
|
|
343
|
+
else{const i=s?Vt.getOrCreateAnnotationParamTypes(s.value):Vt.getOrCreateAnnotationParamTypes(e)
|
|
344
344
|
let o
|
|
345
|
-
for(let e=0;e<t.length;++e)o=t[e],void 0!==o&&(
|
|
345
|
+
for(let e=0;e<t.length;++e)o=t[e],void 0!==o&&(i[e]=o)}},transient:t=>(t.register=function(e){return Gt.transient(t,t).register(e)},t.registerInRequestor=!1,t),singleton:(t,e=Tt)=>(t.register=function(e){return Gt.singleton(t,t).register(e)},t.registerInRequestor=e.scoped,t)}),Lt=Vt.createInterface("Container")
|
|
346
346
|
Vt.inject
|
|
347
347
|
const Tt={scoped:!1}
|
|
348
|
-
class Pt{constructor(t,e,
|
|
348
|
+
class Pt{constructor(t,e,i){this.key=t,this.strategy=e,this.state=i,this.resolving=!1}get $isResolver(){return!0}register(t){return t.registerResolver(this.key,this)}resolve(t,e){switch(this.strategy){case 0:return this.state
|
|
349
349
|
case 1:if(this.resolving)throw new Error(`Cyclic dependency found: ${this.state.name}`)
|
|
350
350
|
return this.resolving=!0,this.state=t.getFactory(this.state).construct(e),this.strategy=0,this.resolving=!1,this.state
|
|
351
|
-
case 2:{const
|
|
352
|
-
if(null===
|
|
353
|
-
return
|
|
351
|
+
case 2:{const i=t.getFactory(this.state)
|
|
352
|
+
if(null===i)throw new Error(`Resolver for ${String(this.key)} returned a null factory`)
|
|
353
|
+
return i.construct(e)}case 3:return this.state(t,e,this)
|
|
354
354
|
case 4:return this.state[0].resolve(t,e)
|
|
355
355
|
case 5:return e.get(this.state)
|
|
356
|
-
default:throw new Error(`Invalid resolver strategy specified: ${this.strategy}.`)}}getFactory(t){var e,s
|
|
356
|
+
default:throw new Error(`Invalid resolver strategy specified: ${this.strategy}.`)}}getFactory(t){var e,i,s
|
|
357
357
|
switch(this.strategy){case 1:case 2:return t.getFactory(this.state)
|
|
358
|
-
case 5:return null!==(
|
|
359
|
-
default:return null}}}function Rt(t){return this.get(t)}function Dt(t,e){return e(t)}class Bt{constructor(t,e){this.Type=t,this.dependencies=e,this.transformers=null}construct(t,e){let
|
|
360
|
-
return
|
|
358
|
+
case 5:return null!==(s=null===(i=null===(e=t.getResolver(this.state))||void 0===e?void 0:e.getFactory)||void 0===i?void 0:i.call(e,t))&&void 0!==s?s:null
|
|
359
|
+
default:return null}}}function Rt(t){return this.get(t)}function Dt(t,e){return e(t)}class Bt{constructor(t,e){this.Type=t,this.dependencies=e,this.transformers=null}construct(t,e){let i
|
|
360
|
+
return i=void 0===e?new this.Type(...this.dependencies.map(Rt,t)):new this.Type(...this.dependencies.map(Rt,t),...e),null==this.transformers?i:this.transformers.reduce(Dt,i)}registerTransformer(t){(this.transformers||(this.transformers=[])).push(t)}}const Ft={$isResolver:!0,resolve:(t,e)=>e}
|
|
361
361
|
function Nt(t){return"function"==typeof t.register}function jt(t){return function(t){return Nt(t)&&"boolean"==typeof t.registerInRequestor}(t)&&t.registerInRequestor}const qt=new Set(["Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","RangeError","ReferenceError","RegExp","Set","SharedArrayBuffer","String","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet"]),Ut="__DI_LOCATE_PARENT__",Kt=new Map
|
|
362
362
|
class Wt{constructor(t,e){this.owner=t,this.config=e,this._parent=void 0,this.registerDepth=0,this.context=null,null!==t&&(t.$$container$$=this),this.resolvers=new Map,this.resolvers.set(Lt,Ft),t instanceof Node&&t.addEventListener(Ut,(t=>{t.composedPath()[0]!==this.owner&&(t.detail.container=this,t.stopImmediatePropagation())}))}get parent(){return void 0===this._parent&&(this._parent=this.config.parentLocator(this.owner)),this._parent}get depth(){return null===this.parent?0:this.parent.depth+1}get responsibleForOwnerRequests(){return this.config.responsibleForOwnerRequests}registerWithContext(t,...e){return this.context=t,this.register(...e),this.context=null,this}register(...t){if(100==++this.registerDepth)throw new Error("Unable to autoregister dependency")
|
|
363
|
-
let e,s,
|
|
363
|
+
let e,i,s,o,n
|
|
364
364
|
const r=this.context
|
|
365
365
|
for(let a=0,l=t.length;a<l;++a)if(e=t[a],te(e))if(Nt(e))e.register(this,r)
|
|
366
366
|
else if(void 0!==e.prototype)Gt.singleton(e,e).register(this)
|
|
367
|
-
else for(
|
|
367
|
+
else for(i=Object.keys(e),o=0,n=i.length;o<n;++o)s=e[i[o]],te(s)&&(Nt(s)?s.register(this,r):this.register(s))
|
|
368
368
|
return--this.registerDepth,this}registerResolver(t,e){Qt(t)
|
|
369
|
-
const
|
|
370
|
-
return null==i
|
|
371
|
-
if(null==
|
|
372
|
-
if(
|
|
369
|
+
const i=this.resolvers,s=i.get(t)
|
|
370
|
+
return null==s?i.set(t,e):s instanceof Pt&&4===s.strategy?s.state.push(e):i.set(t,new Pt(t,4,[s,e])),e}registerTransformer(t,e){const i=this.getResolver(t)
|
|
371
|
+
if(null==i)return!1
|
|
372
|
+
if(i.getFactory){const t=i.getFactory(this)
|
|
373
373
|
return null!=t&&(t.registerTransformer(e),!0)}return!1}getResolver(t,e=!0){if(Qt(t),void 0!==t.resolve)return t
|
|
374
|
-
let s
|
|
375
|
-
for(;null!=
|
|
376
|
-
if(null==i.parent){const s=jt(t)?this:i
|
|
377
|
-
return e?this.jitRegister(t,s):null}i=i.parent}return null}has(t,e=!1){return!!this.resolvers.has(t)||!(!e||null==this.parent)&&this.parent.has(t,!0)}get(t){if(Qt(t),t.$isResolver)return t.resolve(this,this)
|
|
378
|
-
let e,s=this
|
|
379
|
-
for(;null!=s;){if(e=s.resolvers.get(t),null!=e)return e.resolve(s,this)
|
|
374
|
+
let i,s=this
|
|
375
|
+
for(;null!=s;){if(i=s.resolvers.get(t),null!=i)return i
|
|
380
376
|
if(null==s.parent){const i=jt(t)?this:s
|
|
381
|
-
return e
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
if(
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
377
|
+
return e?this.jitRegister(t,i):null}s=s.parent}return null}has(t,e=!1){return!!this.resolvers.has(t)||!(!e||null==this.parent)&&this.parent.has(t,!0)}get(t){if(Qt(t),t.$isResolver)return t.resolve(this,this)
|
|
378
|
+
let e,i=this
|
|
379
|
+
for(;null!=i;){if(e=i.resolvers.get(t),null!=e)return e.resolve(i,this)
|
|
380
|
+
if(null==i.parent){const s=jt(t)?this:i
|
|
381
|
+
return e=this.jitRegister(t,s),e.resolve(i,this)}i=i.parent}throw new Error(`Unable to resolve key: ${t}`)}getAll(t,e=!1){Qt(t)
|
|
382
|
+
const i=this
|
|
383
|
+
let o,n=i
|
|
384
|
+
if(e){let e=s
|
|
385
|
+
for(;null!=n;)o=n.resolvers.get(t),null!=o&&(e=e.concat(Jt(o,n,i))),n=n.parent
|
|
386
|
+
return e}for(;null!=n;){if(o=n.resolvers.get(t),null!=o)return Jt(o,n,i)
|
|
387
|
+
if(n=n.parent,null==n)return s}return s}getFactory(t){let e=Kt.get(t)
|
|
388
388
|
if(void 0===e){if(ee(t))throw new Error(`${t.name} is a native function and therefore cannot be safely constructed by DI. If this is intentional, please use a callback or cachedCallback resolver.`)
|
|
389
389
|
Kt.set(t,e=new Bt(t,Vt.getDependencies(t)))}return e}registerFactory(t,e){Kt.set(t,e)}createChild(t){return new Wt(null,Object.assign({},this.config,t,{parentLocator:()=>this}))}jitRegister(t,e){if("function"!=typeof t)throw new Error(`Attempted to jitRegister something that is not a constructor: '${t}'. Did you forget to register this dependency?`)
|
|
390
390
|
if(qt.has(t.name))throw new Error(`Attempted to jitRegister an intrinsic type: ${t.name}. Did you forget to add @inject(Key)`)
|
|
391
|
-
if(Nt(t)){const
|
|
392
|
-
if(!(
|
|
393
|
-
if(null!=
|
|
394
|
-
throw new Error("A valid resolver was not returned from the static register method")}return
|
|
395
|
-
{const
|
|
396
|
-
return e.resolvers.set(t,
|
|
397
|
-
function Yt(t){return function(e,s
|
|
398
|
-
const o=t(e,s
|
|
399
|
-
return Xt.set(
|
|
400
|
-
function Qt(t){if(null==t)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function Jt(t,e,
|
|
401
|
-
let o=
|
|
391
|
+
if(Nt(t)){const i=t.register(e)
|
|
392
|
+
if(!(i instanceof Object)||null==i.resolve){const i=e.resolvers.get(t)
|
|
393
|
+
if(null!=i)return i
|
|
394
|
+
throw new Error("A valid resolver was not returned from the static register method")}return i}if(t.$isInterface)throw new Error(`Attempted to jitRegister an interface: ${t.friendlyName}`)
|
|
395
|
+
{const i=this.config.defaultResolver(t,e)
|
|
396
|
+
return e.resolvers.set(t,i),i}}}const Xt=new WeakMap
|
|
397
|
+
function Yt(t){return function(e,i,s){if(Xt.has(s))return Xt.get(s)
|
|
398
|
+
const o=t(e,i,s)
|
|
399
|
+
return Xt.set(s,o),o}}const Gt=Object.freeze({instance:(t,e)=>new Pt(t,0,e),singleton:(t,e)=>new Pt(t,1,e),transient:(t,e)=>new Pt(t,2,e),callback:(t,e)=>new Pt(t,3,e),cachedCallback:(t,e)=>new Pt(t,3,Yt(e)),aliasTo:(t,e)=>new Pt(e,5,t)})
|
|
400
|
+
function Qt(t){if(null==t)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function Jt(t,e,i){if(t instanceof Pt&&4===t.strategy){const s=t.state
|
|
401
|
+
let o=s.length
|
|
402
402
|
const n=new Array(o)
|
|
403
|
-
for(;o--;)n[o]=
|
|
404
|
-
return n}return[t.resolve(e,
|
|
403
|
+
for(;o--;)n[o]=s[o].resolve(e,i)
|
|
404
|
+
return n}return[t.resolve(e,i)]}const Zt="(anonymous)"
|
|
405
405
|
function te(t){return"object"==typeof t&&null!==t||"function"==typeof t}const ee=function(){const t=new WeakMap
|
|
406
|
-
let e=!1,
|
|
407
|
-
return function(o){return e=t.get(o),void 0===e&&(
|
|
408
|
-
function
|
|
409
|
-
case"string":{const e=
|
|
406
|
+
let e=!1,i="",s=0
|
|
407
|
+
return function(o){return e=t.get(o),void 0===e&&(i=o.toString(),s=i.length,e=s>=29&&s<=100&&125===i.charCodeAt(s-1)&&i.charCodeAt(s-2)<=32&&93===i.charCodeAt(s-3)&&101===i.charCodeAt(s-4)&&100===i.charCodeAt(s-5)&&111===i.charCodeAt(s-6)&&99===i.charCodeAt(s-7)&&32===i.charCodeAt(s-8)&&101===i.charCodeAt(s-9)&&118===i.charCodeAt(s-10)&&105===i.charCodeAt(s-11)&&116===i.charCodeAt(s-12)&&97===i.charCodeAt(s-13)&&110===i.charCodeAt(s-14)&&88===i.charCodeAt(s-15),t.set(o,e)),e}}(),ie={}
|
|
408
|
+
function se(t){switch(typeof t){case"number":return t>=0&&(0|t)===t
|
|
409
|
+
case"string":{const e=ie[t]
|
|
410
410
|
if(void 0!==e)return e
|
|
411
|
-
const
|
|
412
|
-
if(0===
|
|
413
|
-
let
|
|
414
|
-
for(let e=0;e<
|
|
415
|
-
return
|
|
416
|
-
void 0===ne.get(
|
|
417
|
-
if(!1===
|
|
411
|
+
const i=t.length
|
|
412
|
+
if(0===i)return ie[t]=!1
|
|
413
|
+
let s=0
|
|
414
|
+
for(let e=0;e<i;++e)if(s=t.charCodeAt(e),0===e&&48===s&&i>1||s<48||s>57)return ie[t]=!1
|
|
415
|
+
return ie[t]=!0}default:return!1}}function oe(t){return`${t.toLowerCase()}:presentation`}const ne=new Map,re=Object.freeze({define(t,e,i){const s=oe(t)
|
|
416
|
+
void 0===ne.get(s)?ne.set(s,e):ne.set(s,!1),i.register(Gt.instance(s,e))},forTag(t,e){const i=oe(t),s=ne.get(i)
|
|
417
|
+
if(!1===s){return Vt.findResponsibleContainer(e).get(i)}return s||null}})
|
|
418
418
|
class ae{constructor(t,e){this.template=t||null,this.styles=void 0===e?null:Array.isArray(e)?U.create(e):e instanceof U?e:U.create([e])}applyTo(t){const e=t.$fastController
|
|
419
|
-
null===e.template&&(e.template=this.template),null===e.styles&&(e.styles=this.styles)}}class le extends ht{constructor(){super(...arguments),this._presentation=void 0}get $presentation(){return void 0===this._presentation&&(this._presentation=re.forTag(this.tagName,this)),this._presentation}templateChanged(){void 0!==this.template&&(this.$fastController.template=this.template)}stylesChanged(){void 0!==this.styles&&(this.$fastController.styles=this.styles)}connectedCallback(){null!==this.$presentation&&this.$presentation.applyTo(this),super.connectedCallback()}static compose(t){return(e={})=>new he(this===le?class extends le{}:this,t,e)}}function ce(t,e,
|
|
420
|
-
class he{constructor(t,e,
|
|
421
|
-
e.tryDefineElement({name:o,type:this.type,baseClass:this.elementDefinition.baseClass,callback:t=>{const e=new ae(ce(
|
|
419
|
+
null===e.template&&(e.template=this.template),null===e.styles&&(e.styles=this.styles)}}class le extends ht{constructor(){super(...arguments),this._presentation=void 0}get $presentation(){return void 0===this._presentation&&(this._presentation=re.forTag(this.tagName,this)),this._presentation}templateChanged(){void 0!==this.template&&(this.$fastController.template=this.template)}stylesChanged(){void 0!==this.styles&&(this.$fastController.styles=this.styles)}connectedCallback(){null!==this.$presentation&&this.$presentation.applyTo(this),super.connectedCallback()}static compose(t){return(e={})=>new he(this===le?class extends le{}:this,t,e)}}function ce(t,e,i){return"function"==typeof t?t(e,i):t}_t([v],le.prototype,"template",void 0),_t([v],le.prototype,"styles",void 0)
|
|
420
|
+
class he{constructor(t,e,i){this.type=t,this.elementDefinition=e,this.overrideDefinition=i,this.definition=Object.assign(Object.assign({},this.elementDefinition),this.overrideDefinition)}register(t,e){const i=this.definition,s=this.overrideDefinition,o=`${i.prefix||e.elementPrefix}-${i.baseName}`
|
|
421
|
+
e.tryDefineElement({name:o,type:this.type,baseClass:this.elementDefinition.baseClass,callback:t=>{const e=new ae(ce(i.template,t,i),ce(i.styles,t,i))
|
|
422
422
|
t.definePresentation(e)
|
|
423
|
-
let o=ce(
|
|
424
|
-
t.shadowRootMode&&(o?
|
|
425
|
-
t.attributes=
|
|
423
|
+
let o=ce(i.shadowOptions,t,i)
|
|
424
|
+
t.shadowRootMode&&(o?s.shadowOptions||(o.mode=t.shadowRootMode):null!==o&&(o={mode:t.shadowRootMode})),t.defineElement({elementOptions:ce(i.elementOptions,t,i),shadowOptions:o,attributes:ce(i.attributes,t,i)})}})}}function de(t,...e){e.forEach((e=>{if(Object.getOwnPropertyNames(e.prototype).forEach((i=>{"constructor"!==i&&Object.defineProperty(t.prototype,i,Object.getOwnPropertyDescriptor(e.prototype,i))})),e.attributes){const i=t.attributes||[]
|
|
425
|
+
t.attributes=i.concat(e.attributes)}}))}const ue="horizontal",pe="vertical"
|
|
426
426
|
function ve(...t){return t.every((t=>t instanceof HTMLElement))}let ge
|
|
427
427
|
const me="change",fe="resize",be="scroll"
|
|
428
428
|
var we
|
|
429
429
|
!function(t){t[t.alt=18]="alt",t[t.arrowDown=40]="arrowDown",t[t.arrowLeft=37]="arrowLeft",t[t.arrowRight=39]="arrowRight",t[t.arrowUp=38]="arrowUp",t[t.back=8]="back",t[t.backSlash=220]="backSlash",t[t.break=19]="break",t[t.capsLock=20]="capsLock",t[t.closeBracket=221]="closeBracket",t[t.colon=186]="colon",t[t.colon2=59]="colon2",t[t.comma=188]="comma",t[t.ctrl=17]="ctrl",t[t.delete=46]="delete",t[t.end=35]="end",t[t.enter=13]="enter",t[t.equals=187]="equals",t[t.equals2=61]="equals2",t[t.equals3=107]="equals3",t[t.escape=27]="escape",t[t.forwardSlash=191]="forwardSlash",t[t.function1=112]="function1",t[t.function10=121]="function10",t[t.function11=122]="function11",t[t.function12=123]="function12",t[t.function2=113]="function2",t[t.function3=114]="function3",t[t.function4=115]="function4",t[t.function5=116]="function5",t[t.function6=117]="function6",t[t.function7=118]="function7",t[t.function8=119]="function8",t[t.function9=120]="function9",t[t.home=36]="home",t[t.insert=45]="insert",t[t.menu=93]="menu",t[t.minus=189]="minus",t[t.minus2=109]="minus2",t[t.numLock=144]="numLock",t[t.numPad0=96]="numPad0",t[t.numPad1=97]="numPad1",t[t.numPad2=98]="numPad2",t[t.numPad3=99]="numPad3",t[t.numPad4=100]="numPad4",t[t.numPad5=101]="numPad5",t[t.numPad6=102]="numPad6",t[t.numPad7=103]="numPad7",t[t.numPad8=104]="numPad8",t[t.numPad9=105]="numPad9",t[t.numPadDivide=111]="numPadDivide",t[t.numPadDot=110]="numPadDot",t[t.numPadMinus=109]="numPadMinus",t[t.numPadMultiply=106]="numPadMultiply",t[t.numPadPlus=107]="numPadPlus",t[t.openBracket=219]="openBracket",t[t.pageDown=34]="pageDown",t[t.pageUp=33]="pageUp",t[t.period=190]="period",t[t.print=44]="print",t[t.quote=222]="quote",t[t.scrollLock=145]="scrollLock",t[t.shift=16]="shift",t[t.space=32]="space",t[t.tab=9]="tab",t[t.tilde=192]="tilde",t[t.windowsLeft=91]="windowsLeft",t[t.windowsOpera=219]="windowsOpera",t[t.windowsRight=92]="windowsRight"}(we||(we={}))
|
|
430
|
-
const xe="ArrowDown",ye="ArrowLeft",$e="ArrowRight",Ce="ArrowUp",ke="Enter",_e="Escape",ze="Home",Ie="End",Oe=" ",
|
|
430
|
+
const xe="ArrowDown",ye="ArrowLeft",$e="ArrowRight",Ce="ArrowUp",ke="Enter",_e="Escape",ze="Home",Ie="End",Oe=" ",Se="Tab",Ae={ArrowDown:xe,ArrowLeft:ye,ArrowRight:$e,ArrowUp:Ce}
|
|
431
431
|
var Ee
|
|
432
|
-
function He(t,e,
|
|
432
|
+
function He(t,e,i){return Math.min(Math.max(i,t),e)}function Me(t,e,i=0){return[e,i]=[e,i].sort(((t,e)=>t-e)),e<=t&&t<i}!function(t){t.ltr="ltr",t.rtl="rtl"}(Ee||(Ee={}))
|
|
433
433
|
let Ve=0
|
|
434
434
|
function Le(t=""){return`${t}${Ve++}`}class Te{}_t([tt({attribute:"aria-atomic"})],Te.prototype,"ariaAtomic",void 0),_t([tt({attribute:"aria-busy"})],Te.prototype,"ariaBusy",void 0),_t([tt({attribute:"aria-controls"})],Te.prototype,"ariaControls",void 0),_t([tt({attribute:"aria-current"})],Te.prototype,"ariaCurrent",void 0),_t([tt({attribute:"aria-describedby"})],Te.prototype,"ariaDescribedby",void 0),_t([tt({attribute:"aria-details"})],Te.prototype,"ariaDetails",void 0),_t([tt({attribute:"aria-disabled"})],Te.prototype,"ariaDisabled",void 0),_t([tt({attribute:"aria-errormessage"})],Te.prototype,"ariaErrormessage",void 0),_t([tt({attribute:"aria-flowto"})],Te.prototype,"ariaFlowto",void 0),_t([tt({attribute:"aria-haspopup"})],Te.prototype,"ariaHaspopup",void 0),_t([tt({attribute:"aria-hidden"})],Te.prototype,"ariaHidden",void 0),_t([tt({attribute:"aria-invalid"})],Te.prototype,"ariaInvalid",void 0),_t([tt({attribute:"aria-keyshortcuts"})],Te.prototype,"ariaKeyshortcuts",void 0),_t([tt({attribute:"aria-label"})],Te.prototype,"ariaLabel",void 0),_t([tt({attribute:"aria-labelledby"})],Te.prototype,"ariaLabelledby",void 0),_t([tt({attribute:"aria-live"})],Te.prototype,"ariaLive",void 0),_t([tt({attribute:"aria-owns"})],Te.prototype,"ariaOwns",void 0),_t([tt({attribute:"aria-relevant"})],Te.prototype,"ariaRelevant",void 0),_t([tt({attribute:"aria-roledescription"})],Te.prototype,"ariaRoledescription",void 0)
|
|
435
435
|
class Pe extends le{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var t
|
|
@@ -437,8 +437,8 @@ window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")
|
|
|
437
437
|
class Re{}_t([tt({attribute:"aria-expanded"})],Re.prototype,"ariaExpanded",void 0),de(Re,Te),de(Pe,$t,Re)
|
|
438
438
|
const De=t=>{const e=t.closest("[dir]")
|
|
439
439
|
return null!==e&&"rtl"===e.dir?Ee.rtl:Ee.ltr}
|
|
440
|
-
class Be extends le{constructor(){super(...arguments),this.anchor="",this.viewport="",this.horizontalPositioningMode="uncontrolled",this.horizontalDefaultPosition="unset",this.horizontalViewportLock=!1,this.horizontalInset=!1,this.horizontalScaling="content",this.verticalPositioningMode="uncontrolled",this.verticalDefaultPosition="unset",this.verticalViewportLock=!1,this.verticalInset=!1,this.verticalScaling="content",this.fixedPlacement=!1,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.initialLayoutComplete=!1,this.resizeDetector=null,this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.pendingPositioningUpdate=!1,this.pendingReset=!1,this.currentDirection=Ee.ltr,this.regionVisible=!1,this.forceUpdate=!1,this.updateThreshold=.5,this.update=()=>{this.pendingPositioningUpdate||this.requestPositionUpdates()},this.startObservers=()=>{this.stopObservers(),null!==this.anchorElement&&(this.requestPositionUpdates(),null!==this.resizeDetector&&(this.resizeDetector.observe(this.anchorElement),this.resizeDetector.observe(this)))},this.requestPositionUpdates=()=>{null===this.anchorElement||this.pendingPositioningUpdate||(Be.intersectionService.requestPosition(this,this.handleIntersection),Be.intersectionService.requestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&Be.intersectionService.requestPosition(this.viewportElement,this.handleIntersection),this.pendingPositioningUpdate=!0)},this.stopObservers=()=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,Be.intersectionService.cancelRequestPosition(this,this.handleIntersection),null!==this.anchorElement&&Be.intersectionService.cancelRequestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&Be.intersectionService.cancelRequestPosition(this.viewportElement,this.handleIntersection)),null!==this.resizeDetector&&this.resizeDetector.disconnect()},this.getViewport=()=>"string"!=typeof this.viewport||""===this.viewport?document.documentElement:document.getElementById(this.viewport),this.getAnchor=()=>document.getElementById(this.anchor),this.handleIntersection=t=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,this.applyIntersectionEntries(t)&&this.updateLayout())},this.applyIntersectionEntries=t=>{const e=t.find((t=>t.target===this)),
|
|
441
|
-
return void 0!==e&&void 0!==
|
|
440
|
+
class Be extends le{constructor(){super(...arguments),this.anchor="",this.viewport="",this.horizontalPositioningMode="uncontrolled",this.horizontalDefaultPosition="unset",this.horizontalViewportLock=!1,this.horizontalInset=!1,this.horizontalScaling="content",this.verticalPositioningMode="uncontrolled",this.verticalDefaultPosition="unset",this.verticalViewportLock=!1,this.verticalInset=!1,this.verticalScaling="content",this.fixedPlacement=!1,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.initialLayoutComplete=!1,this.resizeDetector=null,this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.pendingPositioningUpdate=!1,this.pendingReset=!1,this.currentDirection=Ee.ltr,this.regionVisible=!1,this.forceUpdate=!1,this.updateThreshold=.5,this.update=()=>{this.pendingPositioningUpdate||this.requestPositionUpdates()},this.startObservers=()=>{this.stopObservers(),null!==this.anchorElement&&(this.requestPositionUpdates(),null!==this.resizeDetector&&(this.resizeDetector.observe(this.anchorElement),this.resizeDetector.observe(this)))},this.requestPositionUpdates=()=>{null===this.anchorElement||this.pendingPositioningUpdate||(Be.intersectionService.requestPosition(this,this.handleIntersection),Be.intersectionService.requestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&Be.intersectionService.requestPosition(this.viewportElement,this.handleIntersection),this.pendingPositioningUpdate=!0)},this.stopObservers=()=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,Be.intersectionService.cancelRequestPosition(this,this.handleIntersection),null!==this.anchorElement&&Be.intersectionService.cancelRequestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&Be.intersectionService.cancelRequestPosition(this.viewportElement,this.handleIntersection)),null!==this.resizeDetector&&this.resizeDetector.disconnect()},this.getViewport=()=>"string"!=typeof this.viewport||""===this.viewport?document.documentElement:document.getElementById(this.viewport),this.getAnchor=()=>document.getElementById(this.anchor),this.handleIntersection=t=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,this.applyIntersectionEntries(t)&&this.updateLayout())},this.applyIntersectionEntries=t=>{const e=t.find((t=>t.target===this)),i=t.find((t=>t.target===this.anchorElement)),s=t.find((t=>t.target===this.viewportElement))
|
|
441
|
+
return void 0!==e&&void 0!==s&&void 0!==i&&(!!(!this.regionVisible||this.forceUpdate||void 0===this.regionRect||void 0===this.anchorRect||void 0===this.viewportRect||this.isRectDifferent(this.anchorRect,i.boundingClientRect)||this.isRectDifferent(this.viewportRect,s.boundingClientRect)||this.isRectDifferent(this.regionRect,e.boundingClientRect))&&(this.regionRect=e.boundingClientRect,this.anchorRect=i.boundingClientRect,this.viewportElement===document.documentElement?this.viewportRect=new DOMRectReadOnly(s.boundingClientRect.x+document.documentElement.scrollLeft,s.boundingClientRect.y+document.documentElement.scrollTop,s.boundingClientRect.width,s.boundingClientRect.height):this.viewportRect=s.boundingClientRect,this.updateRegionOffset(),this.forceUpdate=!1,!0))},this.updateRegionOffset=()=>{this.anchorRect&&this.regionRect&&(this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorRect.left-this.regionRect.left)+(this.translateX-this.baseHorizontalOffset),this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorRect.top-this.regionRect.top)+(this.translateY-this.baseVerticalOffset))},this.isRectDifferent=(t,e)=>Math.abs(t.top-e.top)>this.updateThreshold||Math.abs(t.right-e.right)>this.updateThreshold||Math.abs(t.bottom-e.bottom)>this.updateThreshold||Math.abs(t.left-e.left)>this.updateThreshold,this.handleResize=t=>{this.update()},this.reset=()=>{this.pendingReset&&(this.pendingReset=!1,null===this.anchorElement&&(this.anchorElement=this.getAnchor()),null===this.viewportElement&&(this.viewportElement=this.getViewport()),this.currentDirection=De(this),this.startObservers())},this.updateLayout=()=>{let t,e
|
|
442
442
|
if("uncontrolled"!==this.horizontalPositioningMode){const t=this.getPositioningOptions(this.horizontalInset)
|
|
443
443
|
if("center"===this.horizontalDefaultPosition)e="center"
|
|
444
444
|
else if("unset"!==this.horizontalDefaultPosition){let t=this.horizontalDefaultPosition
|
|
@@ -446,61 +446,61 @@ if("start"===t||"end"===t){const e=De(this)
|
|
|
446
446
|
if(e!==this.currentDirection)return this.currentDirection=e,void this.initialize()
|
|
447
447
|
t=this.currentDirection===Ee.ltr?"start"===t?"left":"right":"start"===t?"right":"left"}switch(t){case"left":e=this.horizontalInset?"insetStart":"start"
|
|
448
448
|
break
|
|
449
|
-
case"right":e=this.horizontalInset?"insetEnd":"end"}}const
|
|
449
|
+
case"right":e=this.horizontalInset?"insetEnd":"end"}}const i=void 0!==this.horizontalThreshold?this.horizontalThreshold:void 0!==this.regionRect?this.regionRect.width:0,s=void 0!==this.anchorRect?this.anchorRect.left:0,o=void 0!==this.anchorRect?this.anchorRect.right:0,n=void 0!==this.anchorRect?this.anchorRect.width:0,r=void 0!==this.viewportRect?this.viewportRect.left:0,a=void 0!==this.viewportRect?this.viewportRect.right:0;(void 0===e||"locktodefault"!==this.horizontalPositioningMode&&this.getAvailableSpace(e,s,o,n,r,a)<i)&&(e=this.getAvailableSpace(t[0],s,o,n,r,a)>this.getAvailableSpace(t[1],s,o,n,r,a)?t[0]:t[1])}if("uncontrolled"!==this.verticalPositioningMode){const e=this.getPositioningOptions(this.verticalInset)
|
|
450
450
|
if("center"===this.verticalDefaultPosition)t="center"
|
|
451
451
|
else if("unset"!==this.verticalDefaultPosition)switch(this.verticalDefaultPosition){case"top":t=this.verticalInset?"insetStart":"start"
|
|
452
452
|
break
|
|
453
|
-
case"bottom":t=this.verticalInset?"insetEnd":"end"}const
|
|
454
|
-
if(this.setHorizontalPosition(e,
|
|
455
|
-
this.regionVisible||(this.regionVisible=!0,this.style.removeProperty("pointer-events"),this.style.removeProperty("opacity"),this.classList.toggle("loaded",!0),this.$emit("loaded",this,{bubbles:!1})),this.updatePositionClasses(),
|
|
456
|
-
let
|
|
457
|
-
switch(this.horizontalScaling){case"anchor":case"fill":
|
|
453
|
+
case"bottom":t=this.verticalInset?"insetEnd":"end"}const i=void 0!==this.verticalThreshold?this.verticalThreshold:void 0!==this.regionRect?this.regionRect.height:0,s=void 0!==this.anchorRect?this.anchorRect.top:0,o=void 0!==this.anchorRect?this.anchorRect.bottom:0,n=void 0!==this.anchorRect?this.anchorRect.height:0,r=void 0!==this.viewportRect?this.viewportRect.top:0,a=void 0!==this.viewportRect?this.viewportRect.bottom:0;(void 0===t||"locktodefault"!==this.verticalPositioningMode&&this.getAvailableSpace(t,s,o,n,r,a)<i)&&(t=this.getAvailableSpace(e[0],s,o,n,r,a)>this.getAvailableSpace(e[1],s,o,n,r,a)?e[0]:e[1])}const i=this.getNextRegionDimension(e,t),s=this.horizontalPosition!==e||this.verticalPosition!==t
|
|
454
|
+
if(this.setHorizontalPosition(e,i),this.setVerticalPosition(t,i),this.updateRegionStyle(),!this.initialLayoutComplete)return this.initialLayoutComplete=!0,void this.requestPositionUpdates()
|
|
455
|
+
this.regionVisible||(this.regionVisible=!0,this.style.removeProperty("pointer-events"),this.style.removeProperty("opacity"),this.classList.toggle("loaded",!0),this.$emit("loaded",this,{bubbles:!1})),this.updatePositionClasses(),s&&this.$emit("positionchange",this,{bubbles:!1})},this.updateRegionStyle=()=>{this.style.width=this.regionWidth,this.style.height=this.regionHeight,this.style.transform=`translate(${this.translateX}px, ${this.translateY}px)`},this.updatePositionClasses=()=>{this.classList.toggle("top","start"===this.verticalPosition),this.classList.toggle("bottom","end"===this.verticalPosition),this.classList.toggle("inset-top","insetStart"===this.verticalPosition),this.classList.toggle("inset-bottom","insetEnd"===this.verticalPosition),this.classList.toggle("vertical-center","center"===this.verticalPosition),this.classList.toggle("left","start"===this.horizontalPosition),this.classList.toggle("right","end"===this.horizontalPosition),this.classList.toggle("inset-left","insetStart"===this.horizontalPosition),this.classList.toggle("inset-right","insetEnd"===this.horizontalPosition),this.classList.toggle("horizontal-center","center"===this.horizontalPosition)},this.setHorizontalPosition=(t,e)=>{if(void 0===t||void 0===this.regionRect||void 0===this.anchorRect||void 0===this.viewportRect)return
|
|
456
|
+
let i=0
|
|
457
|
+
switch(this.horizontalScaling){case"anchor":case"fill":i=this.horizontalViewportLock?this.viewportRect.width:e.width,this.regionWidth=`${i}px`
|
|
458
458
|
break
|
|
459
|
-
case"content":
|
|
460
|
-
switch(t){case"start":this.translateX=this.baseHorizontalOffset-
|
|
459
|
+
case"content":i=this.regionRect.width,this.regionWidth="unset"}let s=0
|
|
460
|
+
switch(t){case"start":this.translateX=this.baseHorizontalOffset-i,this.horizontalViewportLock&&this.anchorRect.left>this.viewportRect.right&&(this.translateX=this.translateX-(this.anchorRect.left-this.viewportRect.right))
|
|
461
461
|
break
|
|
462
|
-
case"insetStart":this.translateX=this.baseHorizontalOffset-
|
|
462
|
+
case"insetStart":this.translateX=this.baseHorizontalOffset-i+this.anchorRect.width,this.horizontalViewportLock&&this.anchorRect.right>this.viewportRect.right&&(this.translateX=this.translateX-(this.anchorRect.right-this.viewportRect.right))
|
|
463
463
|
break
|
|
464
464
|
case"insetEnd":this.translateX=this.baseHorizontalOffset,this.horizontalViewportLock&&this.anchorRect.left<this.viewportRect.left&&(this.translateX=this.translateX-(this.anchorRect.left-this.viewportRect.left))
|
|
465
465
|
break
|
|
466
466
|
case"end":this.translateX=this.baseHorizontalOffset+this.anchorRect.width,this.horizontalViewportLock&&this.anchorRect.right<this.viewportRect.left&&(this.translateX=this.translateX-(this.anchorRect.right-this.viewportRect.left))
|
|
467
467
|
break
|
|
468
|
-
case"center":if(
|
|
468
|
+
case"center":if(s=(this.anchorRect.width-i)/2,this.translateX=this.baseHorizontalOffset+s,this.horizontalViewportLock){const t=this.anchorRect.left+s,e=this.anchorRect.right-s
|
|
469
469
|
t<this.viewportRect.left&&!(e>this.viewportRect.right)?this.translateX=this.translateX-(t-this.viewportRect.left):e>this.viewportRect.right&&!(t<this.viewportRect.left)&&(this.translateX=this.translateX-(e-this.viewportRect.right))}}this.horizontalPosition=t},this.setVerticalPosition=(t,e)=>{if(void 0===t||void 0===this.regionRect||void 0===this.anchorRect||void 0===this.viewportRect)return
|
|
470
|
-
let
|
|
471
|
-
switch(this.verticalScaling){case"anchor":case"fill":
|
|
470
|
+
let i=0
|
|
471
|
+
switch(this.verticalScaling){case"anchor":case"fill":i=this.verticalViewportLock?this.viewportRect.height:e.height,this.regionHeight=`${i}px`
|
|
472
472
|
break
|
|
473
|
-
case"content":
|
|
474
|
-
switch(t){case"start":this.translateY=this.baseVerticalOffset-
|
|
473
|
+
case"content":i=this.regionRect.height,this.regionHeight="unset"}let s=0
|
|
474
|
+
switch(t){case"start":this.translateY=this.baseVerticalOffset-i,this.verticalViewportLock&&this.anchorRect.top>this.viewportRect.bottom&&(this.translateY=this.translateY-(this.anchorRect.top-this.viewportRect.bottom))
|
|
475
475
|
break
|
|
476
|
-
case"insetStart":this.translateY=this.baseVerticalOffset-
|
|
476
|
+
case"insetStart":this.translateY=this.baseVerticalOffset-i+this.anchorRect.height,this.verticalViewportLock&&this.anchorRect.bottom>this.viewportRect.bottom&&(this.translateY=this.translateY-(this.anchorRect.bottom-this.viewportRect.bottom))
|
|
477
477
|
break
|
|
478
478
|
case"insetEnd":this.translateY=this.baseVerticalOffset,this.verticalViewportLock&&this.anchorRect.top<this.viewportRect.top&&(this.translateY=this.translateY-(this.anchorRect.top-this.viewportRect.top))
|
|
479
479
|
break
|
|
480
480
|
case"end":this.translateY=this.baseVerticalOffset+this.anchorRect.height,this.verticalViewportLock&&this.anchorRect.bottom<this.viewportRect.top&&(this.translateY=this.translateY-(this.anchorRect.bottom-this.viewportRect.top))
|
|
481
481
|
break
|
|
482
|
-
case"center":if(
|
|
483
|
-
t<this.viewportRect.top&&!(e>this.viewportRect.bottom)?this.translateY=this.translateY-(t-this.viewportRect.top):e>this.viewportRect.bottom&&!(t<this.viewportRect.top)&&(this.translateY=this.translateY-(e-this.viewportRect.bottom))}}this.verticalPosition=t},this.getPositioningOptions=t=>t?["insetStart","insetEnd"]:["start","end"],this.getAvailableSpace=(t,e,s,
|
|
482
|
+
case"center":if(s=(this.anchorRect.height-i)/2,this.translateY=this.baseVerticalOffset+s,this.verticalViewportLock){const t=this.anchorRect.top+s,e=this.anchorRect.bottom-s
|
|
483
|
+
t<this.viewportRect.top&&!(e>this.viewportRect.bottom)?this.translateY=this.translateY-(t-this.viewportRect.top):e>this.viewportRect.bottom&&!(t<this.viewportRect.top)&&(this.translateY=this.translateY-(e-this.viewportRect.bottom))}}this.verticalPosition=t},this.getPositioningOptions=t=>t?["insetStart","insetEnd"]:["start","end"],this.getAvailableSpace=(t,e,i,s,o,n)=>{const r=e-o,a=n-(e+s)
|
|
484
484
|
switch(t){case"start":return r
|
|
485
|
-
case"insetStart":return r+
|
|
486
|
-
case"insetEnd":return a+
|
|
485
|
+
case"insetStart":return r+s
|
|
486
|
+
case"insetEnd":return a+s
|
|
487
487
|
case"end":return a
|
|
488
|
-
case"center":return 2*Math.min(r,a)+
|
|
489
|
-
return void 0!==t&&"fill"===this.horizontalScaling?
|
|
490
|
-
null!==this.intersectionDetector&&(this.observedElements.has(t)?null===(
|
|
491
|
-
if(void 0!==
|
|
492
|
-
const e=[],
|
|
493
|
-
t.forEach((t=>{var
|
|
494
|
-
null===(
|
|
488
|
+
case"center":return 2*Math.min(r,a)+s}},this.getNextRegionDimension=(t,e)=>{const i={height:void 0!==this.regionRect?this.regionRect.height:0,width:void 0!==this.regionRect?this.regionRect.width:0}
|
|
489
|
+
return void 0!==t&&"fill"===this.horizontalScaling?i.width=this.getAvailableSpace(t,void 0!==this.anchorRect?this.anchorRect.left:0,void 0!==this.anchorRect?this.anchorRect.right:0,void 0!==this.anchorRect?this.anchorRect.width:0,void 0!==this.viewportRect?this.viewportRect.left:0,void 0!==this.viewportRect?this.viewportRect.right:0):"anchor"===this.horizontalScaling&&(i.width=void 0!==this.anchorRect?this.anchorRect.width:0),void 0!==e&&"fill"===this.verticalScaling?i.height=this.getAvailableSpace(e,void 0!==this.anchorRect?this.anchorRect.top:0,void 0!==this.anchorRect?this.anchorRect.bottom:0,void 0!==this.anchorRect?this.anchorRect.height:0,void 0!==this.viewportRect?this.viewportRect.top:0,void 0!==this.viewportRect?this.viewportRect.bottom:0):"anchor"===this.verticalScaling&&(i.height=void 0!==this.anchorRect?this.anchorRect.height:0),i},this.startAutoUpdateEventListeners=()=>{window.addEventListener(fe,this.update,{passive:!0}),window.addEventListener(be,this.update,{passive:!0,capture:!0}),null!==this.resizeDetector&&null!==this.viewportElement&&this.resizeDetector.observe(this.viewportElement)},this.stopAutoUpdateEventListeners=()=>{window.removeEventListener(fe,this.update),window.removeEventListener(be,this.update),null!==this.resizeDetector&&null!==this.viewportElement&&this.resizeDetector.unobserve(this.viewportElement)}}anchorChanged(){this.initialLayoutComplete&&(this.anchorElement=this.getAnchor())}viewportChanged(){this.initialLayoutComplete&&(this.viewportElement=this.getViewport())}horizontalPositioningModeChanged(){this.requestReset()}horizontalDefaultPositionChanged(){this.updateForAttributeChange()}horizontalViewportLockChanged(){this.updateForAttributeChange()}horizontalInsetChanged(){this.updateForAttributeChange()}horizontalThresholdChanged(){this.updateForAttributeChange()}horizontalScalingChanged(){this.updateForAttributeChange()}verticalPositioningModeChanged(){this.requestReset()}verticalDefaultPositionChanged(){this.updateForAttributeChange()}verticalViewportLockChanged(){this.updateForAttributeChange()}verticalInsetChanged(){this.updateForAttributeChange()}verticalThresholdChanged(){this.updateForAttributeChange()}verticalScalingChanged(){this.updateForAttributeChange()}fixedPlacementChanged(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.initialize()}autoUpdateModeChanged(t,e){this.$fastController.isConnected&&this.initialLayoutComplete&&("auto"===t&&this.stopAutoUpdateEventListeners(),"auto"===e&&this.startAutoUpdateEventListeners())}anchorElementChanged(){this.requestReset()}viewportElementChanged(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.initialize()}connectedCallback(){super.connectedCallback(),"auto"===this.autoUpdateMode&&this.startAutoUpdateEventListeners(),this.initialize()}disconnectedCallback(){super.disconnectedCallback(),"auto"===this.autoUpdateMode&&this.stopAutoUpdateEventListeners(),this.stopObservers(),this.disconnectResizeDetector()}adoptedCallback(){this.initialize()}disconnectResizeDetector(){null!==this.resizeDetector&&(this.resizeDetector.disconnect(),this.resizeDetector=null)}initializeResizeDetector(){this.disconnectResizeDetector(),this.resizeDetector=new window.ResizeObserver(this.handleResize)}updateForAttributeChange(){this.$fastController.isConnected&&this.initialLayoutComplete&&(this.forceUpdate=!0,this.update())}initialize(){this.initializeResizeDetector(),null===this.anchorElement&&(this.anchorElement=this.getAnchor()),this.requestReset()}requestReset(){this.$fastController.isConnected&&!1===this.pendingReset&&(this.setInitialState(),h.queueUpdate((()=>this.reset())),this.pendingReset=!0)}setInitialState(){this.initialLayoutComplete=!1,this.regionVisible=!1,this.translateX=0,this.translateY=0,this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.viewportRect=void 0,this.regionRect=void 0,this.anchorRect=void 0,this.verticalPosition=void 0,this.horizontalPosition=void 0,this.style.opacity="0",this.style.pointerEvents="none",this.forceUpdate=!1,this.style.position=this.fixedPlacement?"fixed":"absolute",this.updatePositionClasses(),this.updateRegionStyle()}}Be.intersectionService=new class{constructor(){this.intersectionDetector=null,this.observedElements=new Map,this.requestPosition=(t,e)=>{var i
|
|
490
|
+
null!==this.intersectionDetector&&(this.observedElements.has(t)?null===(i=this.observedElements.get(t))||void 0===i||i.push(e):(this.observedElements.set(t,[e]),this.intersectionDetector.observe(t)))},this.cancelRequestPosition=(t,e)=>{const i=this.observedElements.get(t)
|
|
491
|
+
if(void 0!==i){const t=i.indexOf(e);-1!==t&&i.splice(t,1)}},this.initializeIntersectionDetector=()=>{t.IntersectionObserver&&(this.intersectionDetector=new IntersectionObserver(this.handleIntersection,{root:null,rootMargin:"0px",threshold:[0,1]}))},this.handleIntersection=t=>{if(null===this.intersectionDetector)return
|
|
492
|
+
const e=[],i=[]
|
|
493
|
+
t.forEach((t=>{var s
|
|
494
|
+
null===(s=this.intersectionDetector)||void 0===s||s.unobserve(t.target)
|
|
495
495
|
const o=this.observedElements.get(t.target)
|
|
496
|
-
void 0!==o&&(o.forEach((
|
|
496
|
+
void 0!==o&&(o.forEach((s=>{let o=e.indexOf(s);-1===o&&(o=e.length,e.push(s),i.push([])),i[o].push(t)})),this.observedElements.delete(t.target))})),e.forEach(((t,e)=>{t(i[e])}))},this.initializeIntersectionDetector()}},_t([tt],Be.prototype,"anchor",void 0),_t([tt],Be.prototype,"viewport",void 0),_t([tt({attribute:"horizontal-positioning-mode"})],Be.prototype,"horizontalPositioningMode",void 0),_t([tt({attribute:"horizontal-default-position"})],Be.prototype,"horizontalDefaultPosition",void 0),_t([tt({attribute:"horizontal-viewport-lock",mode:"boolean"})],Be.prototype,"horizontalViewportLock",void 0),_t([tt({attribute:"horizontal-inset",mode:"boolean"})],Be.prototype,"horizontalInset",void 0),_t([tt({attribute:"horizontal-threshold"})],Be.prototype,"horizontalThreshold",void 0),_t([tt({attribute:"horizontal-scaling"})],Be.prototype,"horizontalScaling",void 0),_t([tt({attribute:"vertical-positioning-mode"})],Be.prototype,"verticalPositioningMode",void 0),_t([tt({attribute:"vertical-default-position"})],Be.prototype,"verticalDefaultPosition",void 0),_t([tt({attribute:"vertical-viewport-lock",mode:"boolean"})],Be.prototype,"verticalViewportLock",void 0),_t([tt({attribute:"vertical-inset",mode:"boolean"})],Be.prototype,"verticalInset",void 0),_t([tt({attribute:"vertical-threshold"})],Be.prototype,"verticalThreshold",void 0),_t([tt({attribute:"vertical-scaling"})],Be.prototype,"verticalScaling",void 0),_t([tt({attribute:"fixed-placement",mode:"boolean"})],Be.prototype,"fixedPlacement",void 0),_t([tt({attribute:"auto-update-mode"})],Be.prototype,"autoUpdateMode",void 0),_t([v],Be.prototype,"anchorElement",void 0),_t([v],Be.prototype,"viewportElement",void 0),_t([v],Be.prototype,"initialLayoutComplete",void 0)
|
|
497
497
|
class Fe extends Pe{constructor(){super(...arguments),this.separator=!0}}_t([v],Fe.prototype,"separator",void 0),de(Fe,$t,Re)
|
|
498
498
|
class Ne extends le{slottedBreadcrumbItemsChanged(){if(this.$fastController.isConnected){if(void 0===this.slottedBreadcrumbItems||0===this.slottedBreadcrumbItems.length)return
|
|
499
499
|
const t=this.slottedBreadcrumbItems[this.slottedBreadcrumbItems.length-1]
|
|
500
|
-
this.slottedBreadcrumbItems.forEach((e=>{const
|
|
501
|
-
this.setItemSeparator(e,
|
|
502
|
-
return t.childElementCount>0?t.querySelector("a[href]"):(null===(e=t.shadowRoot)||void 0===e?void 0:e.childElementCount)?null===(
|
|
503
|
-
null===
|
|
500
|
+
this.slottedBreadcrumbItems.forEach((e=>{const i=e===t
|
|
501
|
+
this.setItemSeparator(e,i),this.setAriaCurrent(e,i)}))}}setItemSeparator(t,e){t instanceof Fe&&(t.separator=!e)}findChildWithHref(t){var e,i
|
|
502
|
+
return t.childElementCount>0?t.querySelector("a[href]"):(null===(e=t.shadowRoot)||void 0===e?void 0:e.childElementCount)?null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelector("a[href]"):null}setAriaCurrent(t,e){const i=this.findChildWithHref(t)
|
|
503
|
+
null===i&&t.hasAttribute("href")&&t instanceof Fe?e?t.setAttribute("aria-current","page"):t.removeAttribute("aria-current"):null!==i&&(e?i.setAttribute("aria-current","page"):i.removeAttribute("aria-current"))}}_t([v],Ne.prototype,"slottedBreadcrumbItems",void 0)
|
|
504
504
|
const je=(t,e)=>q`
|
|
505
505
|
<button
|
|
506
506
|
class="control"
|
|
@@ -547,15 +547,15 @@ const je=(t,e)=>q`
|
|
|
547
547
|
</button>
|
|
548
548
|
`,qe="form-associated-proxy",Ue="ElementInternals",Ke=Ue in window&&"setFormValue"in window.ElementInternals.prototype,We=new WeakMap
|
|
549
549
|
function Xe(t){const e=class extends t{constructor(...t){super(...t),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return Ke}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels))
|
|
550
|
-
if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const t=this.proxy.labels,e=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),
|
|
551
|
-
return Object.freeze(
|
|
550
|
+
if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const t=this.proxy.labels,e=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),i=t?e.concat(Array.from(t)):e
|
|
551
|
+
return Object.freeze(i)}return s}valueChanged(t,e){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),h.queueUpdate((()=>this.classList.toggle("disabled",this.disabled)))}nameChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),h.queueUpdate((()=>this.classList.toggle("required",this.required))),this.validate()}get elementInternals(){if(!Ke)return null
|
|
552
552
|
let t=We.get(this)
|
|
553
|
-
return t||(t=this.attachInternals(),We.set(this,t)),t}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach((t=>this.proxy.removeEventListener(t,this.stopPropagation))),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(t,e,
|
|
553
|
+
return t||(t=this.attachInternals(),We.set(this,t)),t}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){this.proxyEventsToBlock.forEach((t=>this.proxy.removeEventListener(t,this.stopPropagation))),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(t,e,i){this.elementInternals?this.elementInternals.setValidity(t,e,i):"string"==typeof e&&this.proxy.setCustomValidity(e)}formDisabledCallback(t){this.disabled=t}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var t
|
|
554
554
|
this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach((t=>this.proxy.addEventListener(t,this.stopPropagation))),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot",qe),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name",qe)),null===(t=this.shadowRoot)||void 0===t||t.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var t
|
|
555
555
|
this.removeChild(this.proxy),null===(t=this.shadowRoot)||void 0===t||t.removeChild(this.proxySlot)}validate(){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage)}setFormValue(t,e){this.elementInternals&&this.elementInternals.setFormValue(t,e||t)}_keypressHandler(t){switch(t.key){case ke:if(this.form instanceof HTMLFormElement){const t=this.form.querySelector("[type=submit]")
|
|
556
556
|
null==t||t.click()}}}stopPropagation(t){t.stopPropagation()}}
|
|
557
|
-
return tt({mode:"boolean"})(e.prototype,"disabled"),tt({mode:"fromView",attribute:"value"})(e.prototype,"initialValue"),tt({attribute:"current-value"})(e.prototype,"currentValue"),tt(e.prototype,"name"),tt({mode:"boolean"})(e.prototype,"required"),v(e.prototype,"value"),e}function Ye(t){class e extends(Xe(t)){}class
|
|
558
|
-
this.setFormValue(t,t)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return tt({attribute:"checked",mode:"boolean"})(
|
|
557
|
+
return tt({mode:"boolean"})(e.prototype,"disabled"),tt({mode:"fromView",attribute:"value"})(e.prototype,"initialValue"),tt({attribute:"current-value"})(e.prototype,"currentValue"),tt(e.prototype,"name"),tt({mode:"boolean"})(e.prototype,"required"),v(e.prototype,"value"),e}function Ye(t){class e extends(Xe(t)){}class i extends e{constructor(...t){super(t),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(t,e){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==t&&this.$emit("change"),this.validate()}currentCheckedChanged(t,e){this.checked=this.currentChecked}updateForm(){const t=this.checked?this.value:null
|
|
558
|
+
this.setFormValue(t,t)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return tt({attribute:"checked",mode:"boolean"})(i.prototype,"checkedAttribute"),tt({attribute:"current-checked",converter:Q})(i.prototype,"currentChecked"),v(i.prototype,"defaultChecked"),v(i.prototype,"checked"),i}class Ge extends le{}class Qe extends(Xe(Ge)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Je extends Qe{constructor(){super(...arguments),this.handleClick=t=>{var e
|
|
559
559
|
this.disabled&&(null===(e=this.defaultSlottedContent)||void 0===e?void 0:e.length)<=1&&t.stopPropagation()},this.handleSubmission=()=>{if(!this.form)return
|
|
560
560
|
const t=this.proxy.isConnected
|
|
561
561
|
t||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),t||this.detachProxy()},this.handleFormReset=()=>{var t
|
|
@@ -568,22 +568,22 @@ super.disconnectedCallback()
|
|
|
568
568
|
const e=Array.from(null===(t=this.control)||void 0===t?void 0:t.children)
|
|
569
569
|
e&&e.forEach((t=>{t.removeEventListener("click",this.handleClick)}))}}_t([tt({mode:"boolean"})],Je.prototype,"autofocus",void 0),_t([tt({attribute:"form"})],Je.prototype,"formId",void 0),_t([tt],Je.prototype,"formaction",void 0),_t([tt],Je.prototype,"formenctype",void 0),_t([tt],Je.prototype,"formmethod",void 0),_t([tt({mode:"boolean"})],Je.prototype,"formnovalidate",void 0),_t([tt],Je.prototype,"formtarget",void 0),_t([tt],Je.prototype,"type",void 0),_t([v],Je.prototype,"defaultSlottedContent",void 0)
|
|
570
570
|
class Ze{}_t([tt({attribute:"aria-expanded"})],Ze.prototype,"ariaExpanded",void 0),_t([tt({attribute:"aria-pressed"})],Ze.prototype,"ariaPressed",void 0),de(Ze,Te),de(Je,$t,Ze)
|
|
571
|
-
class
|
|
572
|
-
class
|
|
571
|
+
class ti extends le{}class ei extends(Ye(ti)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ii extends ei{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=t=>{if(!this.readOnly)switch(t.key){case Oe:this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}},this.clickHandler=t=>{this.disabled||this.readOnly||(this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}function si(t){return ve(t)&&("option"===t.getAttribute("role")||t instanceof HTMLOptionElement)}_t([tt({attribute:"readonly",mode:"boolean"})],ii.prototype,"readOnly",void 0),_t([v],ii.prototype,"defaultSlottedNodes",void 0),_t([v],ii.prototype,"indeterminate",void 0)
|
|
572
|
+
class oi extends le{constructor(t,e,i,s){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,t&&(this.textContent=t),e&&(this.initialValue=e),i&&(this.defaultSelected=i),s&&(this.selected=s),this.proxy=new Option(`${this.textContent}`,this.initialValue,this.defaultSelected,this.selected),this.proxy.disabled=this.disabled}checkedChanged(t,e){this.ariaChecked="boolean"!=typeof e?null:e?"true":"false"}contentChanged(t,e){this.proxy instanceof HTMLOptionElement&&(this.proxy.textContent=this.textContent),this.$emit("contentchange",null,{bubbles:!0})}defaultSelectedChanged(){this.dirtySelected||(this.selected=this.defaultSelected,this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.defaultSelected))}disabledChanged(t,e){this.ariaDisabled=this.disabled?"true":"false",this.proxy instanceof HTMLOptionElement&&(this.proxy.disabled=this.disabled)}selectedAttributeChanged(){this.defaultSelected=this.selectedAttribute,this.proxy instanceof HTMLOptionElement&&(this.proxy.defaultSelected=this.defaultSelected)}selectedChanged(){this.ariaSelected=this.selected?"true":"false",this.dirtySelected||(this.dirtySelected=!0),this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.selected)}initialValueChanged(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){var t
|
|
573
573
|
return null!==(t=this.value)&&void 0!==t?t:this.text}get text(){var t,e
|
|
574
574
|
return null!==(e=null===(t=this.textContent)||void 0===t?void 0:t.replace(/\s+/g," ").trim())&&void 0!==e?e:""}set value(t){const e=`${null!=t?t:""}`
|
|
575
575
|
this._value=e,this.dirtyValue=!0,this.proxy instanceof HTMLOptionElement&&(this.proxy.value=e),p.notify(this,"value")}get value(){var t
|
|
576
|
-
return p.track(this,"value"),null!==(t=this._value)&&void 0!==t?t:this.text}get form(){return this.proxy?this.proxy.form:null}}_t([v],
|
|
577
|
-
class
|
|
578
|
-
class
|
|
576
|
+
return p.track(this,"value"),null!==(t=this._value)&&void 0!==t?t:this.text}get form(){return this.proxy?this.proxy.form:null}}_t([v],oi.prototype,"checked",void 0),_t([v],oi.prototype,"content",void 0),_t([v],oi.prototype,"defaultSelected",void 0),_t([tt({mode:"boolean"})],oi.prototype,"disabled",void 0),_t([tt({attribute:"selected",mode:"boolean"})],oi.prototype,"selectedAttribute",void 0),_t([v],oi.prototype,"selected",void 0),_t([tt({attribute:"value",mode:"fromView"})],oi.prototype,"initialValue",void 0)
|
|
577
|
+
class ni{}_t([v],ni.prototype,"ariaChecked",void 0),_t([v],ni.prototype,"ariaPosInSet",void 0),_t([v],ni.prototype,"ariaSelected",void 0),_t([v],ni.prototype,"ariaSetSize",void 0),de(ni,Te),de(oi,$t,ni)
|
|
578
|
+
class ri extends le{constructor(){super(...arguments),this._options=[],this.selectedIndex=-1,this.selectedOptions=[],this.shouldSkipFocus=!1,this.typeaheadBuffer="",this.typeaheadExpired=!0,this.typeaheadTimeout=-1}get firstSelectedOption(){var t
|
|
579
579
|
return null!==(t=this.selectedOptions[0])&&void 0!==t?t:null}get hasSelectableOptions(){return this.options.length>0&&!this.options.every((t=>t.disabled))}get length(){var t,e
|
|
580
580
|
return null!==(e=null===(t=this.options)||void 0===t?void 0:t.length)&&void 0!==e?e:0}get options(){return p.track(this,"options"),this._options}set options(t){this._options=t,p.notify(this,"options")}get typeAheadExpired(){return this.typeaheadExpired}set typeAheadExpired(t){this.typeaheadExpired=t}clickHandler(t){const e=t.target.closest("option,[role=option]")
|
|
581
581
|
if(e&&!e.disabled)return this.selectedIndex=this.options.indexOf(e),!0}focusAndScrollOptionIntoView(t=this.firstSelectedOption){this.contains(document.activeElement)&&null!==t&&(t.focus(),requestAnimationFrame((()=>{t.scrollIntoView({block:"nearest"})})))}focusinHandler(t){this.shouldSkipFocus||t.target!==t.currentTarget||(this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}getTypeaheadMatches(){const t=this.typeaheadBuffer.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),e=new RegExp(`^${t}`,"gi")
|
|
582
|
-
return this.options.filter((t=>t.text.trim().match(e)))}getSelectableIndex(t=this.selectedIndex,e){const
|
|
582
|
+
return this.options.filter((t=>t.text.trim().match(e)))}getSelectableIndex(t=this.selectedIndex,e){const i=t>e?-1:t<e?1:0,s=t+i
|
|
583
583
|
let o=null
|
|
584
|
-
switch(
|
|
584
|
+
switch(i){case-1:o=this.options.reduceRight(((t,e,i)=>!t&&!e.disabled&&i<s?e:t),o)
|
|
585
585
|
break
|
|
586
|
-
case 1:o=this.options.reduce(((t,e,
|
|
586
|
+
case 1:o=this.options.reduce(((t,e,i)=>!t&&!e.disabled&&i>s?e:t),o)}return this.options.indexOf(o)}handleChange(t,e){switch(e){case"selected":ri.slottedOptionFilter(t)&&(this.selectedIndex=this.options.indexOf(t)),this.setSelectedOptions()}}handleTypeAhead(t){this.typeaheadTimeout&&window.clearTimeout(this.typeaheadTimeout),this.typeaheadTimeout=window.setTimeout((()=>this.typeaheadExpired=!0),ri.TYPE_AHEAD_TIMEOUT_MS),t.length>1||(this.typeaheadBuffer=`${this.typeaheadExpired?"":this.typeaheadBuffer}${t}`)}keydownHandler(t){if(this.disabled)return!0
|
|
587
587
|
this.shouldSkipFocus=!1
|
|
588
588
|
const e=t.key
|
|
589
589
|
switch(e){case ze:t.shiftKey||(t.preventDefault(),this.selectFirstOption())
|
|
@@ -594,33 +594,33 @@ case Ce:t.shiftKey||(t.preventDefault(),this.selectPreviousOption())
|
|
|
594
594
|
break
|
|
595
595
|
case Ie:t.preventDefault(),this.selectLastOption()
|
|
596
596
|
break
|
|
597
|
-
case
|
|
597
|
+
case Se:return this.focusAndScrollOptionIntoView(),!0
|
|
598
598
|
case ke:case _e:return!0
|
|
599
599
|
case Oe:if(this.typeaheadExpired)return!0
|
|
600
|
-
default:return 1===e.length&&this.handleTypeAhead(`${e}`),!0}}mousedownHandler(t){return this.shouldSkipFocus=!this.contains(document.activeElement),!0}multipleChanged(t,e){this.ariaMultiSelectable=e?"true":null}selectedIndexChanged(t,e){var
|
|
601
|
-
if(this.hasSelectableOptions){if((null===(
|
|
602
|
-
return this.selectedIndex=
|
|
603
|
-
const
|
|
604
|
-
null===(
|
|
605
|
-
e.unsubscribe(this,"selected"),t.selected=
|
|
606
|
-
this.disabled||(this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex((t=>!t.disabled)))&&void 0!==e?e:-1)}selectLastOption(){this.disabled||(this.selectedIndex=function(t,e){let
|
|
607
|
-
for(;
|
|
600
|
+
default:return 1===e.length&&this.handleTypeAhead(`${e}`),!0}}mousedownHandler(t){return this.shouldSkipFocus=!this.contains(document.activeElement),!0}multipleChanged(t,e){this.ariaMultiSelectable=e?"true":null}selectedIndexChanged(t,e){var i
|
|
601
|
+
if(this.hasSelectableOptions){if((null===(i=this.options[this.selectedIndex])||void 0===i?void 0:i.disabled)&&"number"==typeof t){const i=this.getSelectableIndex(t,e),s=i>-1?i:t
|
|
602
|
+
return this.selectedIndex=s,void(e===s&&this.selectedIndexChanged(e,s))}this.setSelectedOptions()}else this.selectedIndex=-1}selectedOptionsChanged(t,e){var i
|
|
603
|
+
const s=e.filter(ri.slottedOptionFilter)
|
|
604
|
+
null===(i=this.options)||void 0===i||i.forEach((t=>{const e=p.getNotifier(t)
|
|
605
|
+
e.unsubscribe(this,"selected"),t.selected=s.includes(t),e.subscribe(this,"selected")}))}selectFirstOption(){var t,e
|
|
606
|
+
this.disabled||(this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex((t=>!t.disabled)))&&void 0!==e?e:-1)}selectLastOption(){this.disabled||(this.selectedIndex=function(t,e){let i=t.length
|
|
607
|
+
for(;i--;)if(e(t[i],i,t))return i
|
|
608
608
|
return-1}(this.options,(t=>!t.disabled)))}selectNextOption(){!this.disabled&&this.selectedIndex<this.options.length-1&&(this.selectedIndex+=1)}selectPreviousOption(){!this.disabled&&this.selectedIndex>0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){var t,e
|
|
609
|
-
this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex((t=>t.defaultSelected)))&&void 0!==e?e:-1}setSelectedOptions(){var t,e,
|
|
610
|
-
const
|
|
611
|
-
this.options.forEach(((t,e)=>{t.id||(t.id=Le("option-")),t.ariaPosInSet=`${e+1}`,t.ariaSetSize=
|
|
609
|
+
this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex((t=>t.defaultSelected)))&&void 0!==e?e:-1}setSelectedOptions(){var t,e,i;(null===(t=this.options)||void 0===t?void 0:t.length)&&(this.selectedOptions=[this.options[this.selectedIndex]],this.ariaActiveDescendant=null!==(i=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.id)&&void 0!==i?i:"",this.focusAndScrollOptionIntoView())}slottedOptionsChanged(t,e){this.options=e.reduce(((t,e)=>(si(e)&&t.push(e),t)),[])
|
|
610
|
+
const i=`${this.options.length}`
|
|
611
|
+
this.options.forEach(((t,e)=>{t.id||(t.id=Le("option-")),t.ariaPosInSet=`${e+1}`,t.ariaSetSize=i})),this.$fastController.isConnected&&(this.setSelectedOptions(),this.setDefaultSelectedOption())}typeaheadBufferChanged(t,e){if(this.$fastController.isConnected){const t=this.getTypeaheadMatches()
|
|
612
612
|
if(t.length){const e=this.options.indexOf(t[0])
|
|
613
|
-
e>-1&&(this.selectedIndex=e)}this.typeaheadExpired=!1}}}
|
|
614
|
-
class
|
|
615
|
-
const
|
|
616
|
-
class
|
|
617
|
-
class
|
|
618
|
-
this.ariaControls="",this.ariaExpanded="false"}get options(){return p.track(this,"options"),this.filteredOptions.length?this.filteredOptions:this._options}set options(t){this._options=t,p.notify(this,"options")}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}get value(){return p.track(this,"value"),this._value}set value(t){var e,s
|
|
613
|
+
e>-1&&(this.selectedIndex=e)}this.typeaheadExpired=!1}}}ri.slottedOptionFilter=t=>si(t)&&!t.hidden,ri.TYPE_AHEAD_TIMEOUT_MS=1e3,_t([tt({mode:"boolean"})],ri.prototype,"disabled",void 0),_t([v],ri.prototype,"selectedIndex",void 0),_t([v],ri.prototype,"selectedOptions",void 0),_t([v],ri.prototype,"slottedOptions",void 0),_t([v],ri.prototype,"typeaheadBuffer",void 0)
|
|
614
|
+
class ai{}_t([v],ai.prototype,"ariaActiveDescendant",void 0),_t([v],ai.prototype,"ariaDisabled",void 0),_t([v],ai.prototype,"ariaExpanded",void 0),_t([v],ai.prototype,"ariaMultiSelectable",void 0),de(ai,Te),de(ri,ai)
|
|
615
|
+
const li="above",ci="below"
|
|
616
|
+
class hi extends ri{}class di extends(Xe(hi)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const ui="inline",pi="list",vi="both",gi="none"
|
|
617
|
+
class mi extends di{constructor(){super(...arguments),this._value="",this.filteredOptions=[],this.filter="",this.forcedPosition=!1,this.listboxId=Le("listbox-"),this.maxHeight=0,this.open=!1}formResetCallback(){super.formResetCallback(),this.setDefaultSelectedOption(),this.updateValue()}get isAutocompleteInline(){return this.autocomplete===ui||this.isAutocompleteBoth}get isAutocompleteList(){return this.autocomplete===pi||this.isAutocompleteBoth}get isAutocompleteBoth(){return this.autocomplete===vi}openChanged(){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),void h.queueUpdate((()=>this.focus()))
|
|
618
|
+
this.ariaControls="",this.ariaExpanded="false"}get options(){return p.track(this,"options"),this.filteredOptions.length?this.filteredOptions:this._options}set options(t){this._options=t,p.notify(this,"options")}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}get value(){return p.track(this,"value"),this._value}set value(t){var e,i,s
|
|
619
619
|
const o=`${this._value}`
|
|
620
|
-
if(this.$fastController.isConnected&&this.options){const o=this.options.findIndex((e=>e.text.toLowerCase()===t.toLowerCase())),n=null===(e=this.options[this.selectedIndex])||void 0===e?void 0:e.text,r=null===(
|
|
621
|
-
this.selectedIndex=n!==r?o:this.selectedIndex,t=(null===(
|
|
620
|
+
if(this.$fastController.isConnected&&this.options){const o=this.options.findIndex((e=>e.text.toLowerCase()===t.toLowerCase())),n=null===(e=this.options[this.selectedIndex])||void 0===e?void 0:e.text,r=null===(i=this.options[o])||void 0===i?void 0:i.text
|
|
621
|
+
this.selectedIndex=n!==r?o:this.selectedIndex,t=(null===(s=this.firstSelectedOption)||void 0===s?void 0:s.text)||t}o!==t&&(this._value=t,super.valueChanged(o,t),p.notify(this,"value"))}clickHandler(t){if(!this.disabled){if(this.open){const e=t.target.closest("option,[role=option]")
|
|
622
622
|
if(!e||e.disabled)return
|
|
623
|
-
this.selectedOptions=[e],this.control.value=e.text,this.clearSelectionRange(),this.updateValue(!0)}return this.open=!this.open,this.open&&this.control.focus(),!0}}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.value&&(this.initialValue=this.value)}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}filterOptions(){this.autocomplete&&this.autocomplete!==
|
|
623
|
+
this.selectedOptions=[e],this.control.value=e.text,this.clearSelectionRange(),this.updateValue(!0)}return this.open=!this.open,this.open&&this.control.focus(),!0}}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.value&&(this.initialValue=this.value)}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}filterOptions(){this.autocomplete&&this.autocomplete!==gi||(this.filter="")
|
|
624
624
|
const t=this.filter.toLowerCase()
|
|
625
625
|
this.filteredOptions=this._options.filter((t=>t.text.toLowerCase().startsWith(this.filter.toLowerCase()))),this.isAutocompleteList&&(this.filteredOptions.length||t||(this.filteredOptions=this._options),this._options.forEach((t=>{t.hidden=!this.filteredOptions.includes(t)})))}focusAndScrollOptionIntoView(){this.contains(document.activeElement)&&(this.control.focus(),this.firstSelectedOption&&requestAnimationFrame((()=>{var t
|
|
626
626
|
null===(t=this.firstSelectedOption)||void 0===t||t.scrollIntoView({block:"nearest"})})))}focusoutHandler(t){if(this.syncValue(),!this.open)return!0
|
|
@@ -644,156 +644,156 @@ super.selectedIndexChanged(t,e)}}selectPreviousOption(){!this.disabled&&this.sel
|
|
|
644
644
|
this.selectedIndex=t,!this.dirtyValue&&this.firstSelectedOption&&(this.value=this.firstSelectedOption.text),this.setSelectedOptions()}}setInputToSelection(){this.firstSelectedOption&&(this.control.value=this.firstSelectedOption.text,this.control.focus())}setInlineSelection(){this.firstSelectedOption&&(this.setInputToSelection(),this.control.setSelectionRange(this.filter.length,this.control.value.length,"backward"))}syncValue(){var t
|
|
645
645
|
const e=this.selectedIndex>-1?null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text:this.control.value
|
|
646
646
|
this.updateValue(this.value!==e)}setPositioning(){const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom
|
|
647
|
-
this.position=this.forcedPosition?this.positionAttribute:t.top>e?
|
|
647
|
+
this.position=this.forcedPosition?this.positionAttribute:t.top>e?li:ci,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===li?~~t.top:~~e}selectedOptionsChanged(t,e){this.$fastController.isConnected&&this._options.forEach((t=>{t.selected=e.includes(t)}))}slottedOptionsChanged(t,e){super.slottedOptionsChanged(t,e),this.updateValue()}updateValue(t){var e
|
|
648
648
|
this.$fastController.isConnected&&(this.value=(null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text)||this.control.value,this.control.value=this.value),t&&this.$emit("change")}clearSelectionRange(){const t=this.control.value.length
|
|
649
|
-
this.control.setSelectionRange(t,t)}}_t([tt({attribute:"autocomplete",mode:"fromView"})],
|
|
650
|
-
class
|
|
651
|
-
function
|
|
649
|
+
this.control.setSelectionRange(t,t)}}_t([tt({attribute:"autocomplete",mode:"fromView"})],mi.prototype,"autocomplete",void 0),_t([v],mi.prototype,"maxHeight",void 0),_t([tt({attribute:"open",mode:"boolean"})],mi.prototype,"open",void 0),_t([tt],mi.prototype,"placeholder",void 0),_t([tt({attribute:"position"})],mi.prototype,"positionAttribute",void 0),_t([v],mi.prototype,"position",void 0)
|
|
650
|
+
class fi{}_t([v],fi.prototype,"ariaAutoComplete",void 0),_t([v],fi.prototype,"ariaControls",void 0),de(fi,ai),de(mi,$t,fi)
|
|
651
|
+
function bi(t){const e=t.parentElement
|
|
652
652
|
if(e)return e
|
|
653
653
|
{const e=t.getRootNode()
|
|
654
|
-
if(e.host instanceof HTMLElement)return e.host}return null}const
|
|
655
|
-
class
|
|
654
|
+
if(e.host instanceof HTMLElement)return e.host}return null}const wi=document.createElement("div")
|
|
655
|
+
class xi{setProperty(t,e){h.queueUpdate((()=>this.target.setProperty(t,e)))}removeProperty(t){h.queueUpdate((()=>this.target.removeProperty(t)))}}class yi extends xi{constructor(){super()
|
|
656
656
|
const t=new CSSStyleSheet
|
|
657
|
-
this.target=t.cssRules[t.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,t]}}class $
|
|
657
|
+
this.target=t.cssRules[t.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,t]}}class $i extends xi{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style)
|
|
658
658
|
const{sheet:t}=this.style
|
|
659
659
|
if(t){const e=t.insertRule(":root{}",t.cssRules.length)
|
|
660
|
-
this.target=t.cssRules[e].style}}}class
|
|
660
|
+
this.target=t.cssRules[e].style}}}class Ci{constructor(t){this.store=new Map,this.target=null
|
|
661
661
|
const e=t.$fastController
|
|
662
|
-
this.style=document.createElement("style"),e.addStyles(this.style),p.getNotifier(e).subscribe(this,"isConnected"),this.handleChange(e,"isConnected")}targetChanged(){if(null!==this.target)for(const[t,e]of this.store.entries())this.target.setProperty(t,e)}setProperty(t,e){this.store.set(t,e),h.queueUpdate((()=>{null!==this.target&&this.target.setProperty(t,e)}))}removeProperty(t){this.store.delete(t),h.queueUpdate((()=>{null!==this.target&&this.target.removeProperty(t)}))}handleChange(t,e){const{sheet:
|
|
663
|
-
if(
|
|
664
|
-
this.target=
|
|
665
|
-
class
|
|
666
|
-
for(const
|
|
667
|
-
for(const e of
|
|
662
|
+
this.style=document.createElement("style"),e.addStyles(this.style),p.getNotifier(e).subscribe(this,"isConnected"),this.handleChange(e,"isConnected")}targetChanged(){if(null!==this.target)for(const[t,e]of this.store.entries())this.target.setProperty(t,e)}setProperty(t,e){this.store.set(t,e),h.queueUpdate((()=>{null!==this.target&&this.target.setProperty(t,e)}))}removeProperty(t){this.store.delete(t),h.queueUpdate((()=>{null!==this.target&&this.target.removeProperty(t)}))}handleChange(t,e){const{sheet:i}=this.style
|
|
663
|
+
if(i){const t=i.insertRule(":host{}",i.cssRules.length)
|
|
664
|
+
this.target=i.cssRules[t].style}else this.target=null}}_t([v],Ci.prototype,"target",void 0)
|
|
665
|
+
class ki{constructor(t){this.target=t.style}setProperty(t,e){h.queueUpdate((()=>this.target.setProperty(t,e)))}removeProperty(t){h.queueUpdate((()=>this.target.removeProperty(t)))}}class _i{setProperty(t,e){_i.properties[t]=e
|
|
666
|
+
for(const i of _i.roots.values())Oi.getOrCreate(_i.normalizeRoot(i)).setProperty(t,e)}removeProperty(t){delete _i.properties[t]
|
|
667
|
+
for(const e of _i.roots.values())Oi.getOrCreate(_i.normalizeRoot(e)).removeProperty(t)}static registerRoot(t){const{roots:e}=_i
|
|
668
668
|
if(!e.has(t)){e.add(t)
|
|
669
|
-
const
|
|
670
|
-
for(const t in
|
|
669
|
+
const i=Oi.getOrCreate(this.normalizeRoot(t))
|
|
670
|
+
for(const t in _i.properties)i.setProperty(t,_i.properties[t])}}static unregisterRoot(t){const{roots:e}=_i
|
|
671
671
|
if(e.has(t)){e.delete(t)
|
|
672
|
-
const
|
|
673
|
-
for(const t in
|
|
674
|
-
const
|
|
672
|
+
const i=Oi.getOrCreate(_i.normalizeRoot(t))
|
|
673
|
+
for(const t in _i.properties)i.removeProperty(t)}}static normalizeRoot(t){return t===wi?document:t}}_i.roots=new Set,_i.properties={}
|
|
674
|
+
const zi=new WeakMap,Ii=h.supportsAdoptedStyleSheets?class extends xi{constructor(t){super()
|
|
675
675
|
const e=new CSSStyleSheet
|
|
676
|
-
this.target=e.cssRules[e.insertRule(":host{}")].style,t.$fastController.addStyles(U.create([e]))}}:
|
|
676
|
+
this.target=e.cssRules[e.insertRule(":host{}")].style,t.$fastController.addStyles(U.create([e]))}}:Ci,Oi=Object.freeze({getOrCreate(t){if(zi.has(t))return zi.get(t)
|
|
677
677
|
let e
|
|
678
|
-
return t===
|
|
679
|
-
class
|
|
678
|
+
return t===wi?e=new _i:t instanceof Document?e=h.supportsAdoptedStyleSheets?new yi:new $i:e=t instanceof ht?new Ii(t):new ki(t),zi.set(t,e),e}})
|
|
679
|
+
class Si extends dt{constructor(t){super(),this.subscribers=new WeakMap,this._appliedTo=new Set,this.name=t.name,null!==t.cssCustomPropertyName&&(this.cssCustomProperty=`--${t.cssCustomPropertyName}`,this.cssVar=`var(${this.cssCustomProperty})`),this.id=Si.uniqueId(),Si.tokensById.set(this.id,this)}get appliedTo(){return[...this._appliedTo]}static from(t){return new Si({name:"string"==typeof t?t:t.name,cssCustomPropertyName:"string"==typeof t?t:void 0===t.cssCustomPropertyName?t.name:t.cssCustomPropertyName})}static isCSSDesignToken(t){return"string"==typeof t.cssCustomProperty}static isDerivedDesignTokenValue(t){return"function"==typeof t}static getTokenById(t){return Si.tokensById.get(t)}getOrCreateSubscriberSet(t=this){return this.subscribers.get(t)||this.subscribers.set(t,new Set)&&this.subscribers.get(t)}createCSS(){return this.cssVar||""}getValueFor(t){const e=Vi.getOrCreate(t).get(this)
|
|
680
680
|
if(void 0!==e)return e
|
|
681
|
-
throw new Error(`Value could not be retrieved for token named "${this.name}". Ensure the value is set for ${t} or an ancestor of ${t}.`)}setValueFor(t,e){return this._appliedTo.add(t),e instanceof
|
|
682
|
-
e&&!
|
|
683
|
-
|
|
684
|
-
this.subscribers.has(this)&&this.subscribers.get(this).forEach((t=>t.handleChange(e))),this.subscribers.has(t)&&this.subscribers.get(t).forEach((t=>t.handleChange(e)))}alias(t){return e=>t.getValueFor(e)}}
|
|
685
|
-
return()=>(t++,t.toString(16))})(),
|
|
686
|
-
class
|
|
687
|
-
class
|
|
688
|
-
if(
|
|
689
|
-
if(e){const o=e.get(
|
|
690
|
-
o===n||
|
|
691
|
-
for(;null!==e;){if(
|
|
692
|
-
e=
|
|
693
|
-
do{if(
|
|
694
|
-
|
|
695
|
-
return null}get parent(){return
|
|
681
|
+
throw new Error(`Value could not be retrieved for token named "${this.name}". Ensure the value is set for ${t} or an ancestor of ${t}.`)}setValueFor(t,e){return this._appliedTo.add(t),e instanceof Si&&(e=this.alias(e)),Vi.getOrCreate(t).set(this,e),this}deleteValueFor(t){return this._appliedTo.delete(t),Vi.existsFor(t)&&Vi.getOrCreate(t).delete(this),this}withDefault(t){return this.setValueFor(wi,t),this}subscribe(t,e){const i=this.getOrCreateSubscriberSet(e)
|
|
682
|
+
e&&!Vi.existsFor(e)&&Vi.getOrCreate(e),i.has(t)||i.add(t)}unsubscribe(t,e){const i=this.subscribers.get(e||this)
|
|
683
|
+
i&&i.has(t)&&i.delete(t)}notify(t){const e=Object.freeze({token:this,target:t})
|
|
684
|
+
this.subscribers.has(this)&&this.subscribers.get(this).forEach((t=>t.handleChange(e))),this.subscribers.has(t)&&this.subscribers.get(t).forEach((t=>t.handleChange(e)))}alias(t){return e=>t.getValueFor(e)}}Si.uniqueId=(()=>{let t=0
|
|
685
|
+
return()=>(t++,t.toString(16))})(),Si.tokensById=new Map
|
|
686
|
+
class Ai{constructor(t,e,i){this.source=t,this.token=e,this.node=i,this.dependencies=new Set,this.observer=p.binding(t,this,!1),this.observer.handleChange=this.observer.call,this.handleChange()}disconnect(){this.observer.disconnect()}handleChange(){this.node.store.set(this.token,this.observer.observe(this.node.target,f))}}class Ei{constructor(){this.values=new Map}set(t,e){this.values.get(t)!==e&&(this.values.set(t,e),p.getNotifier(this).notify(t.id))}get(t){return p.track(this,t.id),this.values.get(t)}delete(t){this.values.delete(t)}all(){return this.values.entries()}}const Hi=new WeakMap,Mi=new WeakMap
|
|
687
|
+
class Vi{constructor(t){this.target=t,this.store=new Ei,this.children=[],this.assignedValues=new Map,this.reflecting=new Set,this.bindingObservers=new Map,this.tokenValueChangeHandler={handleChange:(t,e)=>{const i=Si.getTokenById(e)
|
|
688
|
+
if(i&&(i.notify(this.target),Si.isCSSDesignToken(i))){const e=this.parent,s=this.isReflecting(i)
|
|
689
|
+
if(e){const o=e.get(i),n=t.get(i)
|
|
690
|
+
o===n||s?o===n&&s&&this.stopReflectToCSS(i):this.reflectToCSS(i)}else s||this.reflectToCSS(i)}}},Hi.set(t,this),p.getNotifier(this.store).subscribe(this.tokenValueChangeHandler),t instanceof ht?t.$fastController.addBehaviors([this]):t.isConnected&&this.bind()}static getOrCreate(t){return Hi.get(t)||new Vi(t)}static existsFor(t){return Hi.has(t)}static findParent(t){if(wi!==t.target){let e=bi(t.target)
|
|
691
|
+
for(;null!==e;){if(Hi.has(e))return Hi.get(e)
|
|
692
|
+
e=bi(e)}return Vi.getOrCreate(wi)}return null}static findClosestAssignedNode(t,e){let i=e
|
|
693
|
+
do{if(i.has(t))return i
|
|
694
|
+
i=i.parent?i.parent:i.target!==wi?Vi.getOrCreate(wi):null}while(null!==i)
|
|
695
|
+
return null}get parent(){return Mi.get(this)||null}has(t){return this.assignedValues.has(t)}get(t){const e=this.store.get(t)
|
|
696
696
|
if(void 0!==e)return e
|
|
697
|
-
const
|
|
698
|
-
return void 0!==
|
|
699
|
-
return this.assignedValues.has(t)?this.assignedValues.get(t):null===(e=
|
|
697
|
+
const i=this.getRaw(t)
|
|
698
|
+
return void 0!==i?(this.hydrate(t,i),this.get(t)):void 0}getRaw(t){var e
|
|
699
|
+
return this.assignedValues.has(t)?this.assignedValues.get(t):null===(e=Vi.findClosestAssignedNode(t,this))||void 0===e?void 0:e.getRaw(t)}set(t,e){Si.isDerivedDesignTokenValue(this.assignedValues.get(t))&&this.tearDownBindingObserver(t),this.assignedValues.set(t,e),Si.isDerivedDesignTokenValue(e)?this.setupBindingObserver(t,e):this.store.set(t,e)}delete(t){this.assignedValues.delete(t),this.tearDownBindingObserver(t)
|
|
700
700
|
const e=this.getRaw(t)
|
|
701
|
-
e?this.hydrate(t,e):this.store.delete(t)}bind(){const t=
|
|
701
|
+
e?this.hydrate(t,e):this.store.delete(t)}bind(){const t=Vi.findParent(this)
|
|
702
702
|
t&&t.appendChild(this)
|
|
703
|
-
for(const t of this.assignedValues.keys())t.notify(this.target)}unbind(){if(this.parent){
|
|
703
|
+
for(const t of this.assignedValues.keys())t.notify(this.target)}unbind(){if(this.parent){Mi.get(this).removeChild(this)}}appendChild(t){t.parent&&Mi.get(t).removeChild(t)
|
|
704
704
|
const e=this.children.filter((e=>t.contains(e)))
|
|
705
|
-
|
|
706
|
-
for(const[e,
|
|
707
|
-
return-1!==e&&this.children.splice(e,1),p.getNotifier(this.store).unsubscribe(t),t.parent===this&&
|
|
708
|
-
for(;null!==
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
return this.bindingObservers.set(t,
|
|
713
|
-
this.add(e,
|
|
714
|
-
const
|
|
715
|
-
let
|
|
716
|
-
const
|
|
705
|
+
Mi.set(t,this),this.children.push(t),e.forEach((e=>t.appendChild(e))),p.getNotifier(this.store).subscribe(t)
|
|
706
|
+
for(const[e,i]of this.store.all())t.hydrate(e,this.bindingObservers.has(e)?this.getRaw(e):i)}removeChild(t){const e=this.children.indexOf(t)
|
|
707
|
+
return-1!==e&&this.children.splice(e,1),p.getNotifier(this.store).unsubscribe(t),t.parent===this&&Mi.delete(t)}contains(t){return function(t,e){let i=e
|
|
708
|
+
for(;null!==i;){if(i===t)return!0
|
|
709
|
+
i=bi(i)}return!1}(this.target,t.target)}reflectToCSS(t){this.isReflecting(t)||(this.reflecting.add(t),Vi.cssCustomPropertyReflector.startReflection(t,this.target))}stopReflectToCSS(t){this.isReflecting(t)&&(this.reflecting.delete(t),Vi.cssCustomPropertyReflector.stopReflection(t,this.target))}isReflecting(t){return this.reflecting.has(t)}handleChange(t,e){const i=Si.getTokenById(e)
|
|
710
|
+
i&&this.hydrate(i,this.getRaw(i))}hydrate(t,e){if(!this.has(t)){const i=this.bindingObservers.get(t)
|
|
711
|
+
Si.isDerivedDesignTokenValue(e)?i?i.source!==e&&(this.tearDownBindingObserver(t),this.setupBindingObserver(t,e)):this.setupBindingObserver(t,e):(i&&this.tearDownBindingObserver(t),this.store.set(t,e))}}setupBindingObserver(t,e){const i=new Ai(e,t,this)
|
|
712
|
+
return this.bindingObservers.set(t,i),i}tearDownBindingObserver(t){return!!this.bindingObservers.has(t)&&(this.bindingObservers.get(t).disconnect(),this.bindingObservers.delete(t),!0)}}Vi.cssCustomPropertyReflector=new class{startReflection(t,e){t.subscribe(this,e),this.handleChange({token:t,target:e})}stopReflection(t,e){t.unsubscribe(this,e),this.remove(t,e)}handleChange(t){const{token:e,target:i}=t
|
|
713
|
+
this.add(e,i)}add(t,e){Oi.getOrCreate(e).setProperty(t.cssCustomProperty,this.resolveCSSValue(Vi.getOrCreate(e).get(t)))}remove(t,e){Oi.getOrCreate(e).removeProperty(t.cssCustomProperty)}resolveCSSValue(t){return t&&"function"==typeof t.createCSS?t.createCSS():t}},_t([v],Vi.prototype,"children",void 0)
|
|
714
|
+
const Li=Object.freeze({create:function(t){return Si.from(t)},notifyConnection:t=>!(!t.isConnected||!Vi.existsFor(t))&&(Vi.getOrCreate(t).bind(),!0),notifyDisconnection:t=>!(t.isConnected||!Vi.existsFor(t))&&(Vi.getOrCreate(t).unbind(),!0),registerRoot(t=wi){_i.registerRoot(t)},unregisterRoot(t=wi){_i.unregisterRoot(t)}}),Ti=Object.freeze({definitionCallbackOnly:null,ignoreDuplicate:Symbol()}),Pi=new Map,Ri=new Map
|
|
715
|
+
let Di=null
|
|
716
|
+
const Bi=Vt.createInterface((t=>t.cachedCallback((t=>(null===Di&&(Di=new Ni(null,t)),Di))))),Fi=Object.freeze({tagFor:t=>Ri.get(t),responsibleFor(t){const e=t.$$designSystem$$
|
|
717
717
|
if(e)return e
|
|
718
|
-
return Vt.findResponsibleContainer(t).get(
|
|
718
|
+
return Vt.findResponsibleContainer(t).get(Bi)},getOrCreate(t){if(!t)return null===Di&&(Di=Vt.getOrCreateDOMContainer().get(Bi)),Di
|
|
719
719
|
const e=t.$$designSystem$$
|
|
720
720
|
if(e)return e
|
|
721
|
-
const
|
|
722
|
-
if(
|
|
723
|
-
{const e=new
|
|
724
|
-
return
|
|
725
|
-
class
|
|
726
|
-
let{type:d}=a,u=l,p=
|
|
727
|
-
for(;p;){const t=
|
|
728
|
-
switch(t){case
|
|
729
|
-
case
|
|
721
|
+
const i=Vt.getOrCreateDOMContainer(t)
|
|
722
|
+
if(i.has(Bi,!1))return i.get(Bi)
|
|
723
|
+
{const e=new Ni(t,i)
|
|
724
|
+
return i.register(Gt.instance(Bi,e)),e}}})
|
|
725
|
+
class Ni{constructor(t,e){this.owner=t,this.container=e,this.designTokensInitialized=!1,this.prefix="fast",this.shadowRootMode=void 0,this.disambiguate=()=>Ti.definitionCallbackOnly,null!==t&&(t.$$designSystem$$=this)}withPrefix(t){return this.prefix=t,this}withShadowRootMode(t){return this.shadowRootMode=t,this}withElementDisambiguation(t){return this.disambiguate=t,this}withDesignTokenRoot(t){return this.designTokenRoot=t,this}register(...t){const e=this.container,i=[],s=this.disambiguate,o=this.shadowRootMode,n={elementPrefix:this.prefix,tryDefineElement(t,n,r){const a=function(t,e,i){return"string"==typeof t?{name:t,type:e,callback:i}:t}(t,n,r),{name:l,callback:c,baseClass:h}=a
|
|
726
|
+
let{type:d}=a,u=l,p=Pi.get(u),v=!0
|
|
727
|
+
for(;p;){const t=s(u,d,p)
|
|
728
|
+
switch(t){case Ti.ignoreDuplicate:return
|
|
729
|
+
case Ti.definitionCallbackOnly:v=!1,p=void 0
|
|
730
730
|
break
|
|
731
|
-
default:u=t,p=
|
|
732
|
-
this.designTokensInitialized||(this.designTokensInitialized=!0,null!==this.designTokenRoot&&
|
|
733
|
-
for(const t of
|
|
734
|
-
return this}}class
|
|
731
|
+
default:u=t,p=Pi.get(u)}}v&&((Ri.has(d)||d===le)&&(d=class extends d{}),Pi.set(u,d),Ri.set(d,u),h&&Ri.set(h,u)),i.push(new ji(e,u,d,o,c,v))}}
|
|
732
|
+
this.designTokensInitialized||(this.designTokensInitialized=!0,null!==this.designTokenRoot&&Li.registerRoot(this.designTokenRoot)),e.registerWithContext(n,...t)
|
|
733
|
+
for(const t of i)t.callback(t),t.willDefine&&null!==t.definition&&t.definition.define()
|
|
734
|
+
return this}}class ji{constructor(t,e,i,s,o,n){this.container=t,this.name=e,this.type=i,this.shadowRootMode=s,this.callback=o,this.willDefine=n,this.definition=null}definePresentation(t){re.define(this.name,t,this.container)}defineElement(t){this.definition=new ot(this.type,Object.assign(Object.assign({},t),{name:this.name}))}tagFor(t){return Fi.tagFor(t)}}
|
|
735
735
|
/*!
|
|
736
736
|
* tabbable 5.2.1
|
|
737
737
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
738
738
|
*/
|
|
739
|
-
var
|
|
740
|
-
var e,
|
|
741
|
-
if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=
|
|
742
|
-
else try{e=
|
|
743
|
-
return!o||o===t}(t)},
|
|
744
|
-
var
|
|
745
|
-
if(
|
|
746
|
-
if(e&&"full"!==e){if("non-zero-area"===e){var
|
|
739
|
+
var qi=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Ui=qi.join(","),Ki="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Wi=function(t){return"INPUT"===t.tagName},Xi=function(t){return function(t){return Wi(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0
|
|
740
|
+
var e,i=t.form||t.ownerDocument,s=function(t){return i.querySelectorAll('input[type="radio"][name="'+t+'"]')}
|
|
741
|
+
if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=s(window.CSS.escape(t.name))
|
|
742
|
+
else try{e=s(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var o=function(t,e){for(var i=0;i<t.length;i++)if(t[i].checked&&t[i].form===e)return t[i]}(e,t.form)
|
|
743
|
+
return!o||o===t}(t)},Yi=function(t,e){return!(e.disabled||function(t){return Wi(t)&&"hidden"===t.type}(e)||function(t,e){if("hidden"===getComputedStyle(t).visibility)return!0
|
|
744
|
+
var i=Ki.call(t,"details>summary:first-of-type")?t.parentElement:t
|
|
745
|
+
if(Ki.call(i,"details:not([open]) *"))return!0
|
|
746
|
+
if(e&&"full"!==e){if("non-zero-area"===e){var s=t.getBoundingClientRect(),o=s.width,n=s.height
|
|
747
747
|
return 0===o&&0===n}}else for(;t;){if("none"===getComputedStyle(t).display)return!0
|
|
748
|
-
t=t.parentElement}return!1}(e,t.displayCheck)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(
|
|
749
|
-
if("LEGEND"===
|
|
750
|
-
return isNaN(e)?function(t){return"true"===t.contentEditable}(t)?0:"AUDIO"!==t.nodeName&&"VIDEO"!==t.nodeName&&"DETAILS"!==t.nodeName||null!==t.getAttribute("tabindex")?t.tabIndex:0:e}(e)<0)},
|
|
751
|
-
return!1!==
|
|
752
|
-
return!1!==
|
|
753
|
-
class
|
|
748
|
+
t=t.parentElement}return!1}(e,t.displayCheck)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(Wi(t)||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||"BUTTON"===t.tagName)for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var i=0;i<e.children.length;i++){var s=e.children.item(i)
|
|
749
|
+
if("LEGEND"===s.tagName)return!s.contains(t)}return!0}e=e.parentElement}return!1}(e))},Gi=function(t,e){return!(!Yi(t,e)||Xi(e)||function(t){var e=parseInt(t.getAttribute("tabindex"),10)
|
|
750
|
+
return isNaN(e)?function(t){return"true"===t.contentEditable}(t)?0:"AUDIO"!==t.nodeName&&"VIDEO"!==t.nodeName&&"DETAILS"!==t.nodeName||null!==t.getAttribute("tabindex")?t.tabIndex:0:e}(e)<0)},Qi=function(t,e){if(e=e||{},!t)throw new Error("No node provided")
|
|
751
|
+
return!1!==Ki.call(t,Ui)&&Gi(e,t)},Ji=qi.concat("iframe").join(","),Zi=function(t,e){if(e=e||{},!t)throw new Error("No node provided")
|
|
752
|
+
return!1!==Ki.call(t,Ji)&&Yi(e,t)}
|
|
753
|
+
class ts extends le{constructor(){super(...arguments),this.modal=!0,this.hidden=!1,this.trapFocus=!0,this.trapFocusChanged=()=>{this.$fastController.isConnected&&this.updateTrapFocus()},this.isTrappingFocus=!1,this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&!this.hidden)switch(t.key){case _e:this.dismiss(),t.preventDefault()
|
|
754
754
|
break
|
|
755
|
-
case
|
|
755
|
+
case Se:this.handleTabKeyDown(t)}},this.handleDocumentFocus=t=>{!t.defaultPrevented&&this.shouldForceFocus(t.target)&&(this.focusFirstElement(),t.preventDefault())},this.handleTabKeyDown=t=>{if(!this.trapFocus||this.hidden)return
|
|
756
756
|
const e=this.getTabQueueBounds()
|
|
757
|
-
return 0!==e.length?1===e.length?(e[0].focus(),void t.preventDefault()):void(t.shiftKey&&t.target===e[0]?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||t.target!==e[e.length-1]||(e[0].focus(),t.preventDefault())):void 0},this.getTabQueueBounds=()=>
|
|
757
|
+
return 0!==e.length?1===e.length?(e[0].focus(),void t.preventDefault()):void(t.shiftKey&&t.target===e[0]?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||t.target!==e[e.length-1]||(e[0].focus(),t.preventDefault())):void 0},this.getTabQueueBounds=()=>ts.reduceTabbableItems([],this),this.focusFirstElement=()=>{const t=this.getTabQueueBounds()
|
|
758
758
|
t.length>0?t[0].focus():this.dialog instanceof HTMLElement&&this.dialog.focus()},this.shouldForceFocus=t=>this.isTrappingFocus&&!this.contains(t),this.shouldTrapFocus=()=>this.trapFocus&&!this.hidden,this.updateTrapFocus=t=>{const e=void 0===t?this.shouldTrapFocus():t
|
|
759
|
-
e&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),h.queueUpdate((()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()}))):!e&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}dismiss(){this.$emit("dismiss"),this.$emit("cancel")}show(){this.hidden=!1}hide(){this.hidden=!0,this.$emit("close")}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),this.notifier=p.getNotifier(this),this.notifier.subscribe(this,"hidden"),this.updateTrapFocus()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1),this.notifier.unsubscribe(this,"hidden")}handleChange(t,e){switch(e){case"hidden":this.updateTrapFocus()}}static reduceTabbableItems(t,e){return"-1"===e.getAttribute("tabindex")?t:
|
|
760
|
-
return!!(null===(
|
|
761
|
-
return Array.from(null!==(
|
|
762
|
-
class
|
|
763
|
-
return null===(t=this.options)||void 0===t?void 0:t.filter((t=>t.checked))}get firstSelectedOptionIndex(){return this.options.indexOf(this.firstSelectedOption)}activeIndexChanged(t,e){var s
|
|
764
|
-
this.ariaActiveDescendant=null!==(
|
|
759
|
+
e&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),h.queueUpdate((()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()}))):!e&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}dismiss(){this.$emit("dismiss"),this.$emit("cancel")}show(){this.hidden=!1}hide(){this.hidden=!0,this.$emit("close")}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),this.notifier=p.getNotifier(this),this.notifier.subscribe(this,"hidden"),this.updateTrapFocus()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1),this.notifier.unsubscribe(this,"hidden")}handleChange(t,e){switch(e){case"hidden":this.updateTrapFocus()}}static reduceTabbableItems(t,e){return"-1"===e.getAttribute("tabindex")?t:Qi(e)||ts.isFocusableFastElement(e)&&ts.hasTabbableShadow(e)?(t.push(e),t):e.childElementCount?t.concat(Array.from(e.children).reduce(ts.reduceTabbableItems,[])):t}static isFocusableFastElement(t){var e,i
|
|
760
|
+
return!!(null===(i=null===(e=t.$fastController)||void 0===e?void 0:e.definition.shadowOptions)||void 0===i?void 0:i.delegatesFocus)}static hasTabbableShadow(t){var e,i
|
|
761
|
+
return Array.from(null!==(i=null===(e=t.shadowRoot)||void 0===e?void 0:e.querySelectorAll("*"))&&void 0!==i?i:[]).some((t=>Qi(t)))}}_t([tt({mode:"boolean"})],ts.prototype,"modal",void 0),_t([tt({mode:"boolean"})],ts.prototype,"hidden",void 0),_t([tt({attribute:"trap-focus",mode:"boolean"})],ts.prototype,"trapFocus",void 0),_t([tt({attribute:"aria-describedby"})],ts.prototype,"ariaDescribedby",void 0),_t([tt({attribute:"aria-labelledby"})],ts.prototype,"ariaLabelledby",void 0),_t([tt({attribute:"aria-label"})],ts.prototype,"ariaLabel",void 0)
|
|
762
|
+
class es extends ri{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var t
|
|
763
|
+
return null===(t=this.options)||void 0===t?void 0:t.filter((t=>t.checked))}get firstSelectedOptionIndex(){return this.options.indexOf(this.firstSelectedOption)}activeIndexChanged(t,e){var i,s
|
|
764
|
+
this.ariaActiveDescendant=null!==(s=null===(i=this.options[e])||void 0===i?void 0:i.id)&&void 0!==s?s:"",this.focusAndScrollOptionIntoView()}checkActiveIndex(){if(!this.multiple)return
|
|
765
765
|
const t=this.activeOption
|
|
766
766
|
t&&(t.checked=!0)}checkFirstOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex+1),this.options.forEach(((t,e)=>{t.checked=Me(e,this.rangeStartIndex)}))):this.uncheckAllOptions(),this.activeIndex=0,this.checkActiveIndex()}checkLastOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach(((t,e)=>{t.checked=Me(e,this.rangeStartIndex,this.options.length)}))):this.uncheckAllOptions(),this.activeIndex=this.options.length-1,this.checkActiveIndex()}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.focusoutHandler)}disconnectedCallback(){this.removeEventListener("focusout",this.focusoutHandler),super.disconnectedCallback()}checkNextOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach(((t,e)=>{t.checked=Me(e,this.rangeStartIndex,this.activeIndex+1)}))):this.uncheckAllOptions(),this.activeIndex+=this.activeIndex<this.options.length-1?1:0,this.checkActiveIndex()}checkPreviousOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),1===this.checkedOptions.length&&(this.rangeStartIndex+=1),this.options.forEach(((t,e)=>{t.checked=Me(e,this.activeIndex,this.rangeStartIndex)}))):this.uncheckAllOptions(),this.activeIndex-=this.activeIndex>0?1:0,this.checkActiveIndex()}clickHandler(t){var e
|
|
767
767
|
if(!this.multiple)return super.clickHandler(t)
|
|
768
|
-
const
|
|
769
|
-
return
|
|
768
|
+
const i=null===(e=t.target)||void 0===e?void 0:e.closest("[role=option]")
|
|
769
|
+
return i&&!i.disabled?(this.uncheckAllOptions(),this.activeIndex=this.options.indexOf(i),this.checkActiveIndex(),this.toggleSelectedForAllCheckedOptions(),!0):void 0}focusAndScrollOptionIntoView(){super.focusAndScrollOptionIntoView(this.activeOption)}focusinHandler(t){if(!this.multiple)return super.focusinHandler(t)
|
|
770
770
|
this.shouldSkipFocus||t.target!==t.currentTarget||(this.uncheckAllOptions(),-1===this.activeIndex&&(this.activeIndex=-1!==this.firstSelectedOptionIndex?this.firstSelectedOptionIndex:0),this.checkActiveIndex(),this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}focusoutHandler(t){this.multiple&&this.uncheckAllOptions()}keydownHandler(t){if(!this.multiple)return super.keydownHandler(t)
|
|
771
771
|
if(this.disabled)return!0
|
|
772
|
-
const{key:e,shiftKey:
|
|
773
|
-
switch(this.shouldSkipFocus=!1,e){case ze:return void this.checkFirstOption(
|
|
774
|
-
case xe:return void this.checkNextOption(
|
|
775
|
-
case Ce:return void this.checkPreviousOption(
|
|
776
|
-
case Ie:return void this.checkLastOption(
|
|
777
|
-
case
|
|
772
|
+
const{key:e,shiftKey:i}=t
|
|
773
|
+
switch(this.shouldSkipFocus=!1,e){case ze:return void this.checkFirstOption(i)
|
|
774
|
+
case xe:return void this.checkNextOption(i)
|
|
775
|
+
case Ce:return void this.checkPreviousOption(i)
|
|
776
|
+
case Ie:return void this.checkLastOption(i)
|
|
777
|
+
case Se:return this.focusAndScrollOptionIntoView(),!0
|
|
778
778
|
case _e:return this.uncheckAllOptions(),this.checkActiveIndex(),!0
|
|
779
779
|
case Oe:if(t.preventDefault(),this.typeAheadExpired)return void this.toggleSelectedForAllCheckedOptions()
|
|
780
|
-
default:return 1===e.length&&this.handleTypeAhead(`${e}`),!0}}mousedownHandler(t){if(t.offsetX>=0&&t.offsetX<=this.scrollWidth)return super.mousedownHandler(t)}multipleChanged(t,e){var
|
|
781
|
-
this.ariaMultiSelectable=e?"true":null,null===(
|
|
782
|
-
const
|
|
783
|
-
|
|
780
|
+
default:return 1===e.length&&this.handleTypeAhead(`${e}`),!0}}mousedownHandler(t){if(t.offsetX>=0&&t.offsetX<=this.scrollWidth)return super.mousedownHandler(t)}multipleChanged(t,e){var i
|
|
781
|
+
this.ariaMultiSelectable=e?"true":null,null===(i=this.options)||void 0===i||i.forEach((t=>{t.checked=!e&&void 0})),this.setSelectedOptions()}setSelectedOptions(){this.multiple?this.$fastController.isConnected&&this.options&&(this.selectedOptions=this.options.filter((t=>t.selected)),this.focusAndScrollOptionIntoView()):super.setSelectedOptions()}sizeChanged(t,e){var i
|
|
782
|
+
const s=Math.max(0,parseInt(null!==(i=null==e?void 0:e.toFixed())&&void 0!==i?i:"",10))
|
|
783
|
+
s!==e&&h.queueUpdate((()=>{this.size=s}))}toggleSelectedForAllCheckedOptions(){const t=this.checkedOptions.filter((t=>!t.disabled)),e=!t.every((t=>t.selected))
|
|
784
784
|
t.forEach((t=>t.selected=e)),this.selectedIndex=this.options.indexOf(t[t.length-1]),this.setSelectedOptions()}typeaheadBufferChanged(t,e){if(this.multiple){if(this.$fastController.isConnected){const t=this.getTypeaheadMatches(),e=this.options.indexOf(t[0])
|
|
785
|
-
e>-1&&(this.activeIndex=e,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(t,e)}uncheckAllOptions(t=!1){this.options.forEach((t=>t.checked=!this.multiple&&void 0)),t||(this.rangeStartIndex=-1)}}_t([v],
|
|
786
|
-
const
|
|
787
|
-
class
|
|
785
|
+
e>-1&&(this.activeIndex=e,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(t,e)}uncheckAllOptions(t=!1){this.options.forEach((t=>t.checked=!this.multiple&&void 0)),t||(this.rangeStartIndex=-1)}}_t([v],es.prototype,"activeIndex",void 0),_t([tt({mode:"boolean"})],es.prototype,"multiple",void 0),_t([tt({converter:J})],es.prototype,"size",void 0)
|
|
786
|
+
const is="menuitem",ss="menuitemcheckbox",os="menuitemradio",ns={[is]:"menuitem",[ss]:"menuitemcheckbox",[os]:"menuitemradio"}
|
|
787
|
+
class rs extends le{constructor(){super(...arguments),this.role=is,this.hasSubmenu=!1,this.currentDirection=Ee.ltr,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1
|
|
788
788
|
switch(t.key){case ke:case Oe:return this.invoke(),!1
|
|
789
789
|
case $e:return this.expandAndFocus(),!1
|
|
790
|
-
case ye:if(this.expanded)return this.expanded=!1,this.focus(),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.hasSubmenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=t=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=t=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case
|
|
790
|
+
case ye:if(this.expanded)return this.expanded=!1,this.focus(),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.hasSubmenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=t=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=t=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case ss:this.checked=!this.checked
|
|
791
791
|
break
|
|
792
|
-
case
|
|
792
|
+
case is:this.updateSubmenu(),this.hasSubmenu?this.expandAndFocus():this.$emit("change")
|
|
793
793
|
break
|
|
794
|
-
case
|
|
795
|
-
!1===this.expanded?this.submenu.collapseExpandedItem():this.currentDirection=De(this),this.$emit("expanded-change",this,{bubbles:!1})}}checkedChanged(t,e){this.$fastController.isConnected&&this.$emit("change")}connectedCallback(){super.connectedCallback(),h.queueUpdate((()=>{this.updateSubmenu()})),this.startColumnCount||(this.startColumnCount=1),this.observer=new MutationObserver(this.updateSubmenu)}disconnectedCallback(){super.disconnectedCallback(),this.submenu=void 0,void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0)}domChildren(){return Array.from(this.children).filter((t=>!t.hasAttribute("hidden")))}}_t([tt({mode:"boolean"})],
|
|
796
|
-
class
|
|
794
|
+
case os:this.checked||(this.checked=!0)}},this.updateSubmenu=()=>{this.submenu=this.domChildren().find((t=>"menu"===t.getAttribute("role"))),this.hasSubmenu=void 0!==this.submenu}}expandedChanged(t){if(this.$fastController.isConnected){if(void 0===this.submenu)return
|
|
795
|
+
!1===this.expanded?this.submenu.collapseExpandedItem():this.currentDirection=De(this),this.$emit("expanded-change",this,{bubbles:!1})}}checkedChanged(t,e){this.$fastController.isConnected&&this.$emit("change")}connectedCallback(){super.connectedCallback(),h.queueUpdate((()=>{this.updateSubmenu()})),this.startColumnCount||(this.startColumnCount=1),this.observer=new MutationObserver(this.updateSubmenu)}disconnectedCallback(){super.disconnectedCallback(),this.submenu=void 0,void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0)}domChildren(){return Array.from(this.children).filter((t=>!t.hasAttribute("hidden")))}}_t([tt({mode:"boolean"})],rs.prototype,"disabled",void 0),_t([tt({mode:"boolean"})],rs.prototype,"expanded",void 0),_t([v],rs.prototype,"startColumnCount",void 0),_t([tt],rs.prototype,"role",void 0),_t([tt({mode:"boolean"})],rs.prototype,"checked",void 0),_t([v],rs.prototype,"submenuRegion",void 0),_t([v],rs.prototype,"hasSubmenu",void 0),_t([v],rs.prototype,"currentDirection",void 0),_t([v],rs.prototype,"submenu",void 0),de(rs,$t)
|
|
796
|
+
class as extends le{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&ve(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=t=>{if(!this.contains(t.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem()
|
|
797
797
|
const t=this.menuItems.findIndex(this.isFocusableElement)
|
|
798
798
|
this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.focusIndex=t}},this.handleItemFocus=t=>{const e=t.target
|
|
799
799
|
void 0!==this.menuItems&&e!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(e),e.setAttribute("tabindex","0"))},this.handleExpandedChanged=t=>{if(t.defaultPrevented||null===t.target||void 0===this.menuItems||this.menuItems.indexOf(t.target)<0)return
|
|
@@ -803,53 +803,53 @@ null===this.expandedItem||e!==this.expandedItem||!1!==e.expanded?e.expanded&&(nu
|
|
|
803
803
|
this.removeItemListeners(),this.menuItems=t
|
|
804
804
|
const e=this.menuItems.filter(this.isMenuItemElement)
|
|
805
805
|
e.length&&(this.focusIndex=0)
|
|
806
|
-
const
|
|
807
|
-
return e!==
|
|
808
|
-
return t>
|
|
809
|
-
e.forEach(((t,e)=>{t.setAttribute("tabindex",0===e?"0":"-1"),t.addEventListener("expanded-change",this.handleExpandedChanged),t.addEventListener("focus",this.handleItemFocus),t instanceof
|
|
810
|
-
const e=t.target,
|
|
811
|
-
if(-1!==
|
|
812
|
-
if(
|
|
813
|
-
for(let e=
|
|
814
|
-
if(
|
|
806
|
+
const i=e.reduce(((t,e)=>{const i=function(t){const e=t.getAttribute("role"),i=t.querySelector("[slot=start]")
|
|
807
|
+
return e!==is&&null===i||e===is&&null!==i?1:e!==is&&null!==i?2:0}(e)
|
|
808
|
+
return t>i?t:i}),0)
|
|
809
|
+
e.forEach(((t,e)=>{t.setAttribute("tabindex",0===e?"0":"-1"),t.addEventListener("expanded-change",this.handleExpandedChanged),t.addEventListener("focus",this.handleItemFocus),t instanceof rs&&(t.startColumnCount=i)}))},this.changeHandler=t=>{if(void 0===this.menuItems)return
|
|
810
|
+
const e=t.target,i=this.menuItems.indexOf(e)
|
|
811
|
+
if(-1!==i&&"menuitemradio"===e.role&&!0===e.checked){for(let t=i-1;t>=0;--t){const e=this.menuItems[t],i=e.getAttribute("role")
|
|
812
|
+
if(i===os&&(e.checked=!1),"separator"===i)break}const t=this.menuItems.length-1
|
|
813
|
+
for(let e=i+1;e<=t;++e){const t=this.menuItems[e],i=t.getAttribute("role")
|
|
814
|
+
if(i===os&&(t.checked=!1),"separator"===i)break}}},this.isMenuItemElement=t=>ve(t)&&as.focusableElementRoles.hasOwnProperty(t.getAttribute("role")),this.isFocusableElement=t=>this.isMenuItemElement(t)}itemsChanged(t,e){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),h.queueUpdate((()=>{this.setItems()})),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(t){if(!t.defaultPrevented&&void 0!==this.menuItems)switch(t.key){case xe:return void this.setFocus(this.focusIndex+1,1)
|
|
815
815
|
case Ce:return void this.setFocus(this.focusIndex-1,-1)
|
|
816
816
|
case Ie:return void this.setFocus(this.menuItems.length-1,-1)
|
|
817
817
|
case ze:return void this.setFocus(0,1)
|
|
818
|
-
default:return!0}}domChildren(){return Array.from(this.children).filter((t=>!t.hasAttribute("hidden")))}setFocus(t,e){if(void 0!==this.menuItems)for(;t>=0&&t<this.menuItems.length;){const
|
|
819
|
-
if(this.isFocusableElement(
|
|
820
|
-
break}t+=e}}}
|
|
821
|
-
class
|
|
822
|
-
class
|
|
823
|
-
class
|
|
824
|
-
class
|
|
825
|
-
this.max=Math.max(e,null!==(
|
|
826
|
-
const
|
|
827
|
-
void 0!==this.min&&this.min!==
|
|
828
|
-
this.min=Math.min(e,null!==(
|
|
829
|
-
const
|
|
830
|
-
void 0!==this.max&&this.max!==
|
|
831
|
-
let
|
|
832
|
-
return isNaN(
|
|
818
|
+
default:return!0}}domChildren(){return Array.from(this.children).filter((t=>!t.hasAttribute("hidden")))}setFocus(t,e){if(void 0!==this.menuItems)for(;t>=0&&t<this.menuItems.length;){const i=this.menuItems[t]
|
|
819
|
+
if(this.isFocusableElement(i)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=t,i.setAttribute("tabindex","0"),i.focus()
|
|
820
|
+
break}t+=e}}}as.focusableElementRoles=ns,_t([v],as.prototype,"items",void 0)
|
|
821
|
+
class ls extends le{}class cs extends(Xe(ls)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const hs="text"
|
|
822
|
+
class ds extends cs{constructor(){super(...arguments),this.type=hs}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&h.queueUpdate((()=>{this.focus()}))}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}}_t([tt({attribute:"readonly",mode:"boolean"})],ds.prototype,"readOnly",void 0),_t([tt({mode:"boolean"})],ds.prototype,"autofocus",void 0),_t([tt],ds.prototype,"placeholder",void 0),_t([tt],ds.prototype,"type",void 0),_t([tt],ds.prototype,"list",void 0),_t([tt({converter:J})],ds.prototype,"maxlength",void 0),_t([tt({converter:J})],ds.prototype,"minlength",void 0),_t([tt],ds.prototype,"pattern",void 0),_t([tt({converter:J})],ds.prototype,"size",void 0),_t([tt({mode:"boolean"})],ds.prototype,"spellcheck",void 0),_t([v],ds.prototype,"defaultSlottedNodes",void 0)
|
|
823
|
+
class us{}de(us,Te),de(ds,$t,us)
|
|
824
|
+
class ps extends le{}class vs extends(Xe(ps)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class gs extends vs{constructor(){super(...arguments),this.hideStep=!1,this.step=1,this.isUserInput=!1}maxChanged(t,e){var i
|
|
825
|
+
this.max=Math.max(e,null!==(i=this.min)&&void 0!==i?i:e)
|
|
826
|
+
const s=Math.min(this.min,this.max)
|
|
827
|
+
void 0!==this.min&&this.min!==s&&(this.min=s),this.value=this.getValidValue(this.value)}minChanged(t,e){var i
|
|
828
|
+
this.min=Math.min(e,null!==(i=this.max)&&void 0!==i?i:e)
|
|
829
|
+
const s=Math.max(this.min,this.max)
|
|
830
|
+
void 0!==this.max&&this.max!==s&&(this.max=s),this.value=this.getValidValue(this.value)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(t){this.value=t.toString()}valueChanged(t,e){this.value=this.getValidValue(e),e===this.value&&(this.control&&!this.isUserInput&&(this.control.value=this.value),super.valueChanged(t,this.value),void 0===t||this.isUserInput||(this.$emit("input"),this.$emit("change")),this.isUserInput=!1)}getValidValue(t){var e,i
|
|
831
|
+
let s=parseFloat(parseFloat(t).toPrecision(12))
|
|
832
|
+
return isNaN(s)?s="":(s=Math.min(s,null!==(e=this.max)&&void 0!==e?e:s),s=Math.max(s,null!==(i=this.min)&&void 0!==i?i:s).toString()),s}stepUp(){const t=parseFloat(this.value),e=isNaN(t)?this.min>0?this.min:this.max<0?this.max:this.min?0:this.step:t+this.step
|
|
833
833
|
this.value=e.toString()}stepDown(){const t=parseFloat(this.value),e=isNaN(t)?this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step:t-this.step
|
|
834
834
|
this.value=e.toString()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","number"),this.validate(),this.control.value=this.value,this.autofocus&&h.queueUpdate((()=>{this.focus()}))}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.control.value=this.control.value.replace(/[^0-9\-+e.]/g,""),this.isUserInput=!0,this.value=this.control.value}handleChange(){this.$emit("change")}handleKeyDown(t){switch(t.key){case Ce:return this.stepUp(),!1
|
|
835
|
-
case xe:return this.stepDown(),!1}return!0}handleBlur(){this.control.value=this.value}}function
|
|
836
|
-
class
|
|
837
|
-
this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get value(){return p.track(this,"value"),this._value}set value(t){var e,s,
|
|
835
|
+
case xe:return this.stepDown(),!1}return!0}handleBlur(){this.control.value=this.value}}function ms(t,e,i){return t.nodeType!==Node.TEXT_NODE||"string"==typeof t.nodeValue&&!!t.nodeValue.trim().length}_t([tt({attribute:"readonly",mode:"boolean"})],gs.prototype,"readOnly",void 0),_t([tt({mode:"boolean"})],gs.prototype,"autofocus",void 0),_t([tt({attribute:"hide-step",mode:"boolean"})],gs.prototype,"hideStep",void 0),_t([tt],gs.prototype,"placeholder",void 0),_t([tt],gs.prototype,"list",void 0),_t([tt({converter:J})],gs.prototype,"maxlength",void 0),_t([tt({converter:J})],gs.prototype,"minlength",void 0),_t([tt({converter:J})],gs.prototype,"size",void 0),_t([tt({converter:J})],gs.prototype,"step",void 0),_t([tt({converter:J})],gs.prototype,"max",void 0),_t([tt({converter:J})],gs.prototype,"min",void 0),_t([v],gs.prototype,"defaultSlottedNodes",void 0),de(gs,$t,us)
|
|
836
|
+
class fs extends es{}class bs extends(Xe(fs)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}class ws extends bs{constructor(){super(...arguments),this.open=!1,this.forcedPosition=!1,this.listboxId=Le("listbox-"),this.maxHeight=0}openChanged(t,e){if(this.collapsible){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),this.indexWhenOpened=this.selectedIndex,void h.queueUpdate((()=>this.focus()))
|
|
837
|
+
this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get value(){return p.track(this,"value"),this._value}set value(t){var e,i,s,o,n,r,a
|
|
838
838
|
const l=`${this._value}`
|
|
839
|
-
if(null===(e=this._options)||void 0===e?void 0:e.length){const e=this._options.findIndex((e=>e.value===t)),l=null!==(
|
|
840
|
-
this.$fastController.isConnected&&(this.value=null!==(
|
|
841
|
-
this.position=this.forcedPosition?this.positionAttribute:t.top>e?
|
|
839
|
+
if(null===(e=this._options)||void 0===e?void 0:e.length){const e=this._options.findIndex((e=>e.value===t)),l=null!==(s=null===(i=this._options[this.selectedIndex])||void 0===i?void 0:i.value)&&void 0!==s?s:null,c=null!==(n=null===(o=this._options[e])||void 0===o?void 0:o.value)&&void 0!==n?n:null;-1!==e&&l===c||(t="",this.selectedIndex=e),t=null!==(a=null===(r=this.firstSelectedOption)||void 0===r?void 0:r.value)&&void 0!==a?a:t}l!==t&&(this._value=t,super.valueChanged(l,t),p.notify(this,"value"),this.updateDisplayValue())}updateValue(t){var e,i
|
|
840
|
+
this.$fastController.isConnected&&(this.value=null!==(i=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.value)&&void 0!==i?i:""),t&&(this.$emit("input"),this.$emit("change",this,{bubbles:!0,composed:void 0}))}selectedIndexChanged(t,e){super.selectedIndexChanged(t,e),this.updateValue()}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}setPositioning(){const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom
|
|
841
|
+
this.position=this.forcedPosition?this.positionAttribute:t.top>e?li:ci,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===li?~~t.top:~~e}get displayValue(){var t,e
|
|
842
842
|
return p.track(this,"displayValue"),null!==(e=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text)&&void 0!==e?e:""}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}formResetCallback(){this.setProxyOptions(),super.setDefaultSelectedOption(),-1===this.selectedIndex&&(this.selectedIndex=0)}clickHandler(t){if(!this.disabled){if(this.open){const e=t.target.closest("option,[role=option]")
|
|
843
843
|
if(e&&e.disabled)return}return super.clickHandler(t),this.open=this.collapsible&&!this.open,this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}}focusoutHandler(t){var e
|
|
844
844
|
if(super.focusoutHandler(t),!this.open)return!0
|
|
845
|
-
const
|
|
846
|
-
this.isSameNode(
|
|
847
|
-
return t.offsetX>=0&&t.offsetX<=(null===(e=this.listbox)||void 0===e?void 0:e.scrollWidth)?super.mousedownHandler(t):this.collapsible}multipleChanged(t,e){super.multipleChanged(t,e),this.proxy&&(this.proxy.multiple=e)}selectedOptionsChanged(t,e){var
|
|
848
|
-
super.selectedOptionsChanged(t,e),null===(
|
|
849
|
-
const
|
|
850
|
-
|
|
851
|
-
const e=null!==(t=this.options)&&void 0!==t?t:Array.from(this.children).filter(
|
|
852
|
-
this.selectedIndex=-1===
|
|
845
|
+
const i=t.relatedTarget
|
|
846
|
+
this.isSameNode(i)?this.focus():(null===(e=this.options)||void 0===e?void 0:e.includes(i))||(this.open=!1,this.indexWhenOpened!==this.selectedIndex&&this.updateValue(!0))}handleChange(t,e){super.handleChange(t,e),"value"===e&&this.updateValue()}slottedOptionsChanged(t,e){this.options.forEach((t=>{p.getNotifier(t).unsubscribe(this,"value")})),super.slottedOptionsChanged(t,e),this.options.forEach((t=>{p.getNotifier(t).subscribe(this,"value")})),this.setProxyOptions(),this.updateValue()}mousedownHandler(t){var e
|
|
847
|
+
return t.offsetX>=0&&t.offsetX<=(null===(e=this.listbox)||void 0===e?void 0:e.scrollWidth)?super.mousedownHandler(t):this.collapsible}multipleChanged(t,e){super.multipleChanged(t,e),this.proxy&&(this.proxy.multiple=e)}selectedOptionsChanged(t,e){var i
|
|
848
|
+
super.selectedOptionsChanged(t,e),null===(i=this.options)||void 0===i||i.forEach(((t,e)=>{var i
|
|
849
|
+
const s=null===(i=this.proxy)||void 0===i?void 0:i.options.item(e)
|
|
850
|
+
s&&(s.selected=t.selected)}))}setDefaultSelectedOption(){var t
|
|
851
|
+
const e=null!==(t=this.options)&&void 0!==t?t:Array.from(this.children).filter(ri.slottedOptionFilter),i=null==e?void 0:e.findIndex((t=>t.hasAttribute("selected")||t.selected||t.value===this.value))
|
|
852
|
+
this.selectedIndex=-1===i?0:i}setProxyOptions(){this.proxy instanceof HTMLSelectElement&&this.options&&(this.proxy.options.length=0,this.options.forEach((t=>{const e=t.proxy||(t instanceof HTMLOptionElement?t.cloneNode():null)
|
|
853
853
|
e&&this.proxy.options.add(e)})))}keydownHandler(t){super.keydownHandler(t)
|
|
854
854
|
const e=t.key||t.key.charCodeAt(0)
|
|
855
855
|
switch(e){case Oe:t.preventDefault(),this.collapsible&&this.typeAheadExpired&&(this.open=!this.open)
|
|
@@ -860,17 +860,17 @@ case ke:t.preventDefault(),this.open=!this.open
|
|
|
860
860
|
break
|
|
861
861
|
case _e:this.collapsible&&this.open&&(t.preventDefault(),this.open=!1)
|
|
862
862
|
break
|
|
863
|
-
case
|
|
864
|
-
class
|
|
865
|
-
class
|
|
866
|
-
class
|
|
867
|
-
const
|
|
868
|
-
class
|
|
869
|
-
this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach(((t,e)=>{if("tab"===t.slot){const
|
|
863
|
+
case Se:return this.collapsible&&this.open&&(t.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!(e===xe||e===Ce)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(t,e){super.sizeChanged(t,e),this.proxy&&(this.proxy.size=e)}updateDisplayValue(){this.collapsible&&p.notify(this,"displayValue")}}_t([tt({attribute:"open",mode:"boolean"})],ws.prototype,"open",void 0),_t([function(t,e,i){return Object.assign({},i,{get:function(){return p.trackVolatile(),i.get.apply(this)}})}],ws.prototype,"collapsible",null),_t([v],ws.prototype,"control",void 0),_t([tt({attribute:"position"})],ws.prototype,"positionAttribute",void 0),_t([v],ws.prototype,"position",void 0),_t([v],ws.prototype,"maxHeight",void 0)
|
|
864
|
+
class xs{}_t([v],xs.prototype,"ariaControls",void 0),de(xs,ai),de(ws,$t,xs)
|
|
865
|
+
class ys extends le{}class $s extends(Ye(ys)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Cs extends $s{constructor(){super(),this.initialValue="on",this.keypressHandler=t=>{switch(t.key){case ke:case Oe:this.checked=!this.checked}},this.clickHandler=t=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedChanged(t,e){super.checkedChanged(t,e),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}_t([tt({attribute:"readonly",mode:"boolean"})],Cs.prototype,"readOnly",void 0),_t([v],Cs.prototype,"defaultSlottedNodes",void 0)
|
|
866
|
+
class ks extends le{}class _s extends le{}_t([tt({mode:"boolean"})],_s.prototype,"disabled",void 0)
|
|
867
|
+
const zs="horizontal"
|
|
868
|
+
class Is extends le{constructor(){super(...arguments),this.orientation=zs,this.activeindicator=!0,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=t=>"true"===t.getAttribute("aria-disabled"),this.isFocusableElement=t=>!this.isDisabledElement(t),this.setTabs=()=>{const t="gridColumn",e="gridRow",i=this.isHorizontal()?t:e
|
|
869
|
+
this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach(((t,e)=>{if("tab"===t.slot){const i=this.activeTabIndex===e&&this.isFocusableElement(t)
|
|
870
870
|
this.activeindicator&&this.isFocusableElement(t)&&(this.showActiveIndicator=!0)
|
|
871
|
-
const
|
|
872
|
-
t.setAttribute("id",
|
|
873
|
-
t.setAttribute("id",
|
|
871
|
+
const s=this.tabIds[e],o=this.tabpanelIds[e]
|
|
872
|
+
t.setAttribute("id",s),t.setAttribute("aria-selected",i?"true":"false"),t.setAttribute("aria-controls",o),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",i?"0":"-1"),i&&(this.activetab=t)}t.style.gridColumn="",t.style.gridRow="",t.style[i]=`${e+1}`,this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")}))},this.setTabPanels=()=>{this.tabpanels.forEach(((t,e)=>{const i=this.tabIds[e],s=this.tabpanelIds[e]
|
|
873
|
+
t.setAttribute("id",s),t.setAttribute("aria-labelledby",i),this.activeTabIndex!==e?t.setAttribute("hidden",""):t.removeAttribute("hidden")}))},this.handleTabClick=t=>{const e=t.currentTarget
|
|
874
874
|
1===e.nodeType&&this.isFocusableElement(e)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(e),this.setComponent())},this.handleTabKeyDown=t=>{if(this.isHorizontal())switch(t.key){case ye:t.preventDefault(),this.adjustBackward(t)
|
|
875
875
|
break
|
|
876
876
|
case $e:t.preventDefault(),this.adjustForward(t)}else switch(t.key){case Ce:t.preventDefault(),this.adjustBackward(t)
|
|
@@ -878,101 +878,101 @@ break
|
|
|
878
878
|
case xe:t.preventDefault(),this.adjustForward(t)}switch(t.key){case ze:t.preventDefault(),this.adjust(-this.activeTabIndex)
|
|
879
879
|
break
|
|
880
880
|
case Ie:t.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=t=>{const e=this.tabs
|
|
881
|
-
let
|
|
882
|
-
for(
|
|
883
|
-
break}if(this.activetab&&
|
|
884
|
-
|
|
885
|
-
let
|
|
886
|
-
for(
|
|
887
|
-
break}
|
|
888
|
-
this.activetab=
|
|
881
|
+
let i=0
|
|
882
|
+
for(i=this.activetab?e.indexOf(this.activetab)+1:1,i===e.length&&(i=0);i<e.length&&e.length>1;){if(this.isFocusableElement(e[i])){this.moveToTabByIndex(e,i)
|
|
883
|
+
break}if(this.activetab&&i===e.indexOf(this.activetab))break
|
|
884
|
+
i+1>=e.length?i=0:i+=1}},this.adjustBackward=t=>{const e=this.tabs
|
|
885
|
+
let i=0
|
|
886
|
+
for(i=this.activetab?e.indexOf(this.activetab)-1:0,i=i<0?e.length-1:i;i>=0&&e.length>1;){if(this.isFocusableElement(e[i])){this.moveToTabByIndex(e,i)
|
|
887
|
+
break}i-1<0?i=e.length-1:i-=1}},this.moveToTabByIndex=(t,e)=>{const i=t[e]
|
|
888
|
+
this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=e,i.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}activeidChanged(t,e){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex((e=>e.id===t)),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map((t=>{var e
|
|
889
889
|
return null!==(e=t.getAttribute("id"))&&void 0!==e?e:`tab-${Le()}`}))}getTabPanelIds(){return this.tabpanels.map((t=>{var e
|
|
890
|
-
return null!==(e=t.getAttribute("id"))&&void 0!==e?e:`panel-${Le()}`}))}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===
|
|
891
|
-
const t=this.isHorizontal()?"gridColumn":"gridRow",e=this.isHorizontal()?"translateX":"translateY",
|
|
890
|
+
return null!==(e=t.getAttribute("id"))&&void 0!==e?e:`panel-${Le()}`}))}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===zs}handleActiveIndicatorPosition(){this.showActiveIndicator&&this.activeindicator&&this.activeTabIndex!==this.prevActiveTabIndex&&(this.ticking?this.ticking=!1:(this.ticking=!0,this.animateActiveIndicator()))}animateActiveIndicator(){this.ticking=!0
|
|
891
|
+
const t=this.isHorizontal()?"gridColumn":"gridRow",e=this.isHorizontal()?"translateX":"translateY",i=this.isHorizontal()?"offsetLeft":"offsetTop",s=this.activeIndicatorRef[i]
|
|
892
892
|
this.activeIndicatorRef.style[t]=`${this.activeTabIndex+1}`
|
|
893
|
-
const o=this.activeIndicatorRef[
|
|
893
|
+
const o=this.activeIndicatorRef[i]
|
|
894
894
|
this.activeIndicatorRef.style[t]=`${this.prevActiveTabIndex+1}`
|
|
895
|
-
const n=o-
|
|
896
|
-
this.activeIndicatorRef.style.transform=`${e}(${n}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",(()=>{this.ticking=!1,this.activeIndicatorRef.style[t]=`${this.activeTabIndex+1}`,this.activeIndicatorRef.style.transform=`${e}(0px)`,this.activeIndicatorRef.classList.remove("activeIndicatorTransition")}))}adjust(t){var e,s
|
|
897
|
-
this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=(e=0,
|
|
898
|
-
class
|
|
899
|
-
class
|
|
900
|
-
const
|
|
901
|
-
class
|
|
902
|
-
const
|
|
903
|
-
return
|
|
904
|
-
e&&!this.contains(e)&&this.setFocusedElement()}getDirectionalIncrementer(t){var e,s,
|
|
905
|
-
return null!==(n=null!==(
|
|
906
|
-
if(!(e in
|
|
907
|
-
const
|
|
908
|
-
if(!
|
|
909
|
-
const
|
|
910
|
-
return this.focusableElements[
|
|
895
|
+
const n=o-s
|
|
896
|
+
this.activeIndicatorRef.style.transform=`${e}(${n}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",(()=>{this.ticking=!1,this.activeIndicatorRef.style[t]=`${this.activeTabIndex+1}`,this.activeIndicatorRef.style.transform=`${e}(0px)`,this.activeIndicatorRef.classList.remove("activeIndicatorTransition")}))}adjust(t){var e,i,s
|
|
897
|
+
this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=(e=0,i=this.tabs.length-1,(s=this.activeTabIndex+t)<e?i:s>i?e:s),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}_t([tt],Is.prototype,"orientation",void 0),_t([tt],Is.prototype,"activeid",void 0),_t([v],Is.prototype,"tabs",void 0),_t([v],Is.prototype,"tabpanels",void 0),_t([tt({mode:"boolean"})],Is.prototype,"activeindicator",void 0),_t([v],Is.prototype,"activeIndicatorRef",void 0),_t([v],Is.prototype,"showActiveIndicator",void 0),de(Is,$t)
|
|
898
|
+
class Os extends le{}class Ss extends(Xe(Os)){constructor(){super(...arguments),this.proxy=document.createElement("textarea")}}const As="none"
|
|
899
|
+
class Es extends Ss{constructor(){super(...arguments),this.resize=As,this.cols=20,this.handleTextInput=()=>{this.value=this.control.value}}readOnlyChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.readOnly=this.readOnly)}autofocusChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.autofocus=this.autofocus)}listChanged(){this.proxy instanceof HTMLTextAreaElement&&this.proxy.setAttribute("list",this.list)}maxlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.maxLength=this.maxlength)}minlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.minLength=this.minlength)}spellcheckChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.spellcheck=this.spellcheck)}select(){this.control.select(),this.$emit("select")}handleChange(){this.$emit("change")}}_t([tt({mode:"boolean"})],Es.prototype,"readOnly",void 0),_t([tt],Es.prototype,"resize",void 0),_t([tt({mode:"boolean"})],Es.prototype,"autofocus",void 0),_t([tt({attribute:"form"})],Es.prototype,"formId",void 0),_t([tt],Es.prototype,"list",void 0),_t([tt({converter:J})],Es.prototype,"maxlength",void 0),_t([tt({converter:J})],Es.prototype,"minlength",void 0),_t([tt],Es.prototype,"name",void 0),_t([tt],Es.prototype,"placeholder",void 0),_t([tt({converter:J,mode:"fromView"})],Es.prototype,"cols",void 0),_t([tt({converter:J,mode:"fromView"})],Es.prototype,"rows",void 0),_t([tt({mode:"boolean"})],Es.prototype,"spellcheck",void 0),_t([v],Es.prototype,"defaultSlottedNodes",void 0),de(Es,us)
|
|
900
|
+
const Hs=Object.freeze({[Ae.ArrowUp]:{[pe]:-1},[Ae.ArrowDown]:{[pe]:1},[Ae.ArrowLeft]:{[ue]:{[Ee.ltr]:-1,[Ee.rtl]:1}},[Ae.ArrowRight]:{[ue]:{[Ee.ltr]:1,[Ee.rtl]:-1}}})
|
|
901
|
+
class Ms extends le{constructor(){super(...arguments),this._activeIndex=0,this.direction=Ee.ltr,this.orientation=ue}get activeIndex(){return p.track(this,"activeIndex"),this._activeIndex}set activeIndex(t){this.$fastController.isConnected&&(this._activeIndex=He(0,this.focusableElements.length-1,t),p.notify(this,"activeIndex"))}slottedItemsChanged(){this.$fastController.isConnected&&this.reduceFocusableElements()}clickHandler(t){var e
|
|
902
|
+
const i=null===(e=this.focusableElements)||void 0===e?void 0:e.indexOf(t.target)
|
|
903
|
+
return i>-1&&this.activeIndex!==i&&this.setFocusedElement(i),!0}childItemsChanged(t,e){this.$fastController.isConnected&&this.reduceFocusableElements()}connectedCallback(){super.connectedCallback(),this.direction=De(this)}focusinHandler(t){const e=t.relatedTarget
|
|
904
|
+
e&&!this.contains(e)&&this.setFocusedElement()}getDirectionalIncrementer(t){var e,i,s,o,n
|
|
905
|
+
return null!==(n=null!==(s=null===(i=null===(e=Hs[t])||void 0===e?void 0:e[this.orientation])||void 0===i?void 0:i[this.direction])&&void 0!==s?s:null===(o=Hs[t])||void 0===o?void 0:o[this.orientation])&&void 0!==n?n:0}keydownHandler(t){const e=t.key
|
|
906
|
+
if(!(e in Ae)||t.defaultPrevented||t.shiftKey)return!0
|
|
907
|
+
const i=this.getDirectionalIncrementer(e)
|
|
908
|
+
if(!i)return!t.target.closest("[role=radiogroup]")
|
|
909
|
+
const s=this.activeIndex+i
|
|
910
|
+
return this.focusableElements[s]&&t.preventDefault(),this.setFocusedElement(s),!0}get allSlottedItems(){return[...this.start.assignedElements(),...this.slottedItems,...this.end.assignedElements()]}reduceFocusableElements(){var t
|
|
911
911
|
const e=null===(t=this.focusableElements)||void 0===t?void 0:t[this.activeIndex]
|
|
912
|
-
this.focusableElements=this.allSlottedItems.reduce(
|
|
913
|
-
const
|
|
914
|
-
this.activeIndex=Math.max(0,
|
|
915
|
-
this.activeIndex=t,this.setFocusableElements(),null===(e=this.focusableElements[this.activeIndex])||void 0===e||e.focus()}static reduceFocusableItems(t,e){var s,
|
|
916
|
-
const r="radio"===e.getAttribute("role"),a=null===(
|
|
917
|
-
return e.hasAttribute("disabled")||e.hasAttribute("hidden")||!(
|
|
918
|
-
class
|
|
919
|
-
const
|
|
920
|
-
class
|
|
912
|
+
this.focusableElements=this.allSlottedItems.reduce(Ms.reduceFocusableItems,[])
|
|
913
|
+
const i=this.focusableElements.indexOf(e)
|
|
914
|
+
this.activeIndex=Math.max(0,i),this.setFocusableElements()}setFocusedElement(t=this.activeIndex){var e
|
|
915
|
+
this.activeIndex=t,this.setFocusableElements(),null===(e=this.focusableElements[this.activeIndex])||void 0===e||e.focus()}static reduceFocusableItems(t,e){var i,s,o,n
|
|
916
|
+
const r="radio"===e.getAttribute("role"),a=null===(s=null===(i=e.$fastController)||void 0===i?void 0:i.definition.shadowOptions)||void 0===s?void 0:s.delegatesFocus,l=Array.from(null!==(n=null===(o=e.shadowRoot)||void 0===o?void 0:o.querySelectorAll("*"))&&void 0!==n?n:[]).some((t=>Zi(t)))
|
|
917
|
+
return e.hasAttribute("disabled")||e.hasAttribute("hidden")||!(Zi(e)||r||a||l)?e.childElementCount?t.concat(Array.from(e.children).reduce(Ms.reduceFocusableItems,[])):t:(t.push(e),t)}setFocusableElements(){this.$fastController.isConnected&&this.focusableElements.length>0&&this.focusableElements.forEach(((t,e)=>{t.tabIndex=this.activeIndex===e?0:-1}))}}_t([v],Ms.prototype,"direction",void 0),_t([tt],Ms.prototype,"orientation",void 0),_t([v],Ms.prototype,"slottedItems",void 0),_t([v],Ms.prototype,"slottedLabel",void 0),_t([v],Ms.prototype,"childItems",void 0)
|
|
918
|
+
class Vs{}_t([tt({attribute:"aria-labelledby"})],Vs.prototype,"ariaLabelledby",void 0),_t([tt({attribute:"aria-label"})],Vs.prototype,"ariaLabel",void 0),de(Vs,Te),de(Ms,$t,Vs)
|
|
919
|
+
const Ls="top",Ts="right",Ps="bottom",Rs="left",Ds="start",Bs="end",Fs="top-left",Ns="top-right",js="bottom-left",qs="bottom-right",Us="top-start",Ks="top-end",Ws="bottom-start",Xs="bottom-end"
|
|
920
|
+
class Ys extends le{constructor(){super(...arguments),this.anchor="",this.delay=300,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.horizontalInset="false",this.verticalInset="false",this.horizontalScaling="content",this.verticalScaling="content",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=void 0,this.tooltipVisible=!1,this.currentDirection=Ee.ltr,this.showDelayTimer=null,this.hideDelayTimer=null,this.isAnchorHoveredFocused=!1,this.isRegionHovered=!1,this.handlePositionChange=t=>{this.classList.toggle("top","start"===this.region.verticalPosition),this.classList.toggle("bottom","end"===this.region.verticalPosition),this.classList.toggle("inset-top","insetStart"===this.region.verticalPosition),this.classList.toggle("inset-bottom","insetEnd"===this.region.verticalPosition),this.classList.toggle("center-vertical","center"===this.region.verticalPosition),this.classList.toggle("left","start"===this.region.horizontalPosition),this.classList.toggle("right","end"===this.region.horizontalPosition),this.classList.toggle("inset-left","insetStart"===this.region.horizontalPosition),this.classList.toggle("inset-right","insetEnd"===this.region.horizontalPosition),this.classList.toggle("center-horizontal","center"===this.region.horizontalPosition)},this.handleRegionMouseOver=t=>{this.isRegionHovered=!0},this.handleRegionMouseOut=t=>{this.isRegionHovered=!1,this.startHideDelayTimer()},this.handleAnchorMouseOver=t=>{this.tooltipVisible?this.isAnchorHoveredFocused=!0:this.startShowDelayTimer()},this.handleAnchorMouseOut=t=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.handleAnchorFocusIn=t=>{this.startShowDelayTimer()},this.handleAnchorFocusOut=t=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.startHideDelayTimer=()=>{this.clearHideDelayTimer(),this.tooltipVisible&&(this.hideDelayTimer=window.setTimeout((()=>{this.updateTooltipVisibility()}),60))},this.clearHideDelayTimer=()=>{null!==this.hideDelayTimer&&(clearTimeout(this.hideDelayTimer),this.hideDelayTimer=null)},this.startShowDelayTimer=()=>{this.isAnchorHoveredFocused||(this.delay>1?null===this.showDelayTimer&&(this.showDelayTimer=window.setTimeout((()=>{this.startHover()}),this.delay)):this.startHover())},this.startHover=()=>{this.isAnchorHoveredFocused=!0,this.updateTooltipVisibility()},this.clearShowDelayTimer=()=>{null!==this.showDelayTimer&&(clearTimeout(this.showDelayTimer),this.showDelayTimer=null)},this.getAnchor=()=>{const t=this.getRootNode()
|
|
921
921
|
return t instanceof ShadowRoot?t.getElementById(this.anchor):document.getElementById(this.anchor)},this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&this.tooltipVisible)switch(t.key){case _e:this.isAnchorHoveredFocused=!1,this.updateTooltipVisibility(),this.$emit("dismiss")}},this.updateTooltipVisibility=()=>{if(!1===this.visible)this.hideTooltip()
|
|
922
922
|
else{if(!0===this.visible)return void this.showTooltip()
|
|
923
923
|
if(this.isAnchorHoveredFocused||this.isRegionHovered)return void this.showTooltip()
|
|
924
924
|
this.hideTooltip()}},this.showTooltip=()=>{this.tooltipVisible||(this.currentDirection=De(this),this.tooltipVisible=!0,document.addEventListener("keydown",this.handleDocumentKeydown),h.queueUpdate(this.setRegionProps))},this.hideTooltip=()=>{this.tooltipVisible&&(this.clearHideDelayTimer(),null!==this.region&&void 0!==this.region&&(this.region.removeEventListener("positionchange",this.handlePositionChange),this.region.viewportElement=null,this.region.anchorElement=null,this.region.removeEventListener("mouseover",this.handleRegionMouseOver),this.region.removeEventListener("mouseout",this.handleRegionMouseOut)),document.removeEventListener("keydown",this.handleDocumentKeydown),this.tooltipVisible=!1)},this.setRegionProps=()=>{this.tooltipVisible&&(this.region.viewportElement=this.viewportElement,this.region.anchorElement=this.anchorElement,this.region.addEventListener("positionchange",this.handlePositionChange),this.region.addEventListener("mouseover",this.handleRegionMouseOver,{passive:!0}),this.region.addEventListener("mouseout",this.handleRegionMouseOut,{passive:!0}))}}visibleChanged(){this.$fastController.isConnected&&(this.updateTooltipVisibility(),this.updateLayout())}anchorChanged(){this.$fastController.isConnected&&(this.anchorElement=this.getAnchor())}positionChanged(){this.$fastController.isConnected&&this.updateLayout()}anchorElementChanged(t){if(this.$fastController.isConnected){if(null!=t&&(t.removeEventListener("mouseover",this.handleAnchorMouseOver),t.removeEventListener("mouseout",this.handleAnchorMouseOut),t.removeEventListener("focusin",this.handleAnchorFocusIn),t.removeEventListener("focusout",this.handleAnchorFocusOut)),null!==this.anchorElement&&void 0!==this.anchorElement){this.anchorElement.addEventListener("mouseover",this.handleAnchorMouseOver,{passive:!0}),this.anchorElement.addEventListener("mouseout",this.handleAnchorMouseOut,{passive:!0}),this.anchorElement.addEventListener("focusin",this.handleAnchorFocusIn,{passive:!0}),this.anchorElement.addEventListener("focusout",this.handleAnchorFocusOut,{passive:!0})
|
|
925
925
|
const t=this.anchorElement.id
|
|
926
|
-
null!==this.anchorElement.parentElement&&this.anchorElement.parentElement.querySelectorAll(":hover").forEach((e=>{e.id===t&&this.startShowDelayTimer()}))}null!==this.region&&void 0!==this.region&&this.tooltipVisible&&(this.region.anchorElement=this.anchorElement),this.updateLayout()}}viewportElementChanged(){null!==this.region&&void 0!==this.region&&(this.region.viewportElement=this.viewportElement),this.updateLayout()}connectedCallback(){super.connectedCallback(),this.anchorElement=this.getAnchor(),this.updateTooltipVisibility()}disconnectedCallback(){this.hideTooltip(),this.clearShowDelayTimer(),this.clearHideDelayTimer(),super.disconnectedCallback()}updateLayout(){switch(this.verticalPositioningMode="locktodefault",this.horizontalPositioningMode="locktodefault",this.position){case
|
|
926
|
+
null!==this.anchorElement.parentElement&&this.anchorElement.parentElement.querySelectorAll(":hover").forEach((e=>{e.id===t&&this.startShowDelayTimer()}))}null!==this.region&&void 0!==this.region&&this.tooltipVisible&&(this.region.anchorElement=this.anchorElement),this.updateLayout()}}viewportElementChanged(){null!==this.region&&void 0!==this.region&&(this.region.viewportElement=this.viewportElement),this.updateLayout()}connectedCallback(){super.connectedCallback(),this.anchorElement=this.getAnchor(),this.updateTooltipVisibility()}disconnectedCallback(){this.hideTooltip(),this.clearShowDelayTimer(),this.clearHideDelayTimer(),super.disconnectedCallback()}updateLayout(){switch(this.verticalPositioningMode="locktodefault",this.horizontalPositioningMode="locktodefault",this.position){case Ls:case Ps:this.verticalDefaultPosition=this.position,this.horizontalDefaultPosition="center"
|
|
927
927
|
break
|
|
928
|
-
case
|
|
928
|
+
case Ts:case Rs:case Ds:case Bs:this.verticalDefaultPosition="center",this.horizontalDefaultPosition=this.position
|
|
929
929
|
break
|
|
930
|
-
case
|
|
930
|
+
case Fs:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="left"
|
|
931
931
|
break
|
|
932
|
-
case
|
|
932
|
+
case Ns:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="right"
|
|
933
933
|
break
|
|
934
|
-
case
|
|
934
|
+
case js:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="left"
|
|
935
935
|
break
|
|
936
|
-
case
|
|
936
|
+
case qs:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="right"
|
|
937
937
|
break
|
|
938
|
-
case
|
|
938
|
+
case Us:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="start"
|
|
939
939
|
break
|
|
940
|
-
case
|
|
940
|
+
case Ks:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="end"
|
|
941
941
|
break
|
|
942
|
-
case
|
|
942
|
+
case Ws:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="start"
|
|
943
943
|
break
|
|
944
|
-
case
|
|
944
|
+
case Xs:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="end"
|
|
945
945
|
break
|
|
946
|
-
default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}_t([tt({mode:"boolean"})],
|
|
947
|
-
function
|
|
948
|
-
return t?t.length:0}}_t([tt({mode:"boolean"})],
|
|
949
|
-
class
|
|
946
|
+
default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}_t([tt({mode:"boolean"})],Ys.prototype,"visible",void 0),_t([tt],Ys.prototype,"anchor",void 0),_t([tt],Ys.prototype,"delay",void 0),_t([tt],Ys.prototype,"position",void 0),_t([tt({attribute:"auto-update-mode"})],Ys.prototype,"autoUpdateMode",void 0),_t([tt({attribute:"horizontal-viewport-lock"})],Ys.prototype,"horizontalViewportLock",void 0),_t([tt({attribute:"vertical-viewport-lock"})],Ys.prototype,"verticalViewportLock",void 0),_t([v],Ys.prototype,"anchorElement",void 0),_t([v],Ys.prototype,"viewportElement",void 0),_t([v],Ys.prototype,"verticalPositioningMode",void 0),_t([v],Ys.prototype,"horizontalPositioningMode",void 0),_t([v],Ys.prototype,"horizontalInset",void 0),_t([v],Ys.prototype,"verticalInset",void 0),_t([v],Ys.prototype,"horizontalScaling",void 0),_t([v],Ys.prototype,"verticalScaling",void 0),_t([v],Ys.prototype,"verticalDefaultPosition",void 0),_t([v],Ys.prototype,"horizontalDefaultPosition",void 0),_t([v],Ys.prototype,"tooltipVisible",void 0),_t([v],Ys.prototype,"currentDirection",void 0)
|
|
947
|
+
function Gs(t){return ve(t)&&"treeitem"===t.getAttribute("role")}class Qs extends le{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.isNestedItem=()=>Gs(this.parentElement),this.handleExpandCollapseButtonClick=t=>{this.disabled||t.defaultPrevented||(this.expanded=!this.expanded)},this.handleFocus=t=>{this.setAttribute("tabindex","0")},this.handleBlur=t=>{this.setAttribute("tabindex","-1")}}expandedChanged(){this.$fastController.isConnected&&this.$emit("expanded-change",this)}selectedChanged(){this.$fastController.isConnected&&this.$emit("selected-change",this)}itemsChanged(t,e){this.$fastController.isConnected&&this.items.forEach((t=>{Gs(t)&&(t.nested=!0)}))}static focusItem(t){t.focusable=!0,t.focus()}childItemLength(){const t=this.childItems.filter((t=>Gs(t)))
|
|
948
|
+
return t?t.length:0}}_t([tt({mode:"boolean"})],Qs.prototype,"expanded",void 0),_t([tt({mode:"boolean"})],Qs.prototype,"selected",void 0),_t([tt({mode:"boolean"})],Qs.prototype,"disabled",void 0),_t([v],Qs.prototype,"focusable",void 0),_t([v],Qs.prototype,"childItems",void 0),_t([v],Qs.prototype,"items",void 0),_t([v],Qs.prototype,"nested",void 0),_t([v],Qs.prototype,"renderCollapsedChildren",void 0),de(Qs,$t)
|
|
949
|
+
class Js extends le{constructor(){super(...arguments),this.currentFocused=null,this.handleFocus=t=>{if(!(this.slottedTreeItems.length<1))return t.target===this?(null===this.currentFocused&&(this.currentFocused=this.getValidFocusableItem()),void(null!==this.currentFocused&&Qs.focusItem(this.currentFocused))):void(this.contains(t.target)&&(this.setAttribute("tabindex","-1"),this.currentFocused=t.target))},this.handleBlur=t=>{t.target instanceof HTMLElement&&(null===t.relatedTarget||!this.contains(t.relatedTarget))&&this.setAttribute("tabindex","0")},this.handleKeyDown=t=>{if(t.defaultPrevented)return
|
|
950
950
|
if(this.slottedTreeItems.length<1)return!0
|
|
951
951
|
const e=this.getVisibleNodes()
|
|
952
|
-
switch(t.key){case ze:return void(e.length&&
|
|
953
|
-
case Ie:return void(e.length&&
|
|
952
|
+
switch(t.key){case ze:return void(e.length&&Qs.focusItem(e[0]))
|
|
953
|
+
case Ie:return void(e.length&&Qs.focusItem(e[e.length-1]))
|
|
954
954
|
case ye:if(t.target&&this.isFocusableElement(t.target)){const e=t.target
|
|
955
|
-
e instanceof
|
|
955
|
+
e instanceof Qs&&e.childItemLength()>0&&e.expanded?e.expanded=!1:e instanceof Qs&&e.parentElement instanceof Qs&&Qs.focusItem(e.parentElement)}return!1
|
|
956
956
|
case $e:if(t.target&&this.isFocusableElement(t.target)){const e=t.target
|
|
957
|
-
e instanceof
|
|
957
|
+
e instanceof Qs&&e.childItemLength()>0&&!e.expanded?e.expanded=!0:e instanceof Qs&&e.childItemLength()>0&&this.focusNextNode(1,t.target)}return
|
|
958
958
|
case xe:return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(1,t.target))
|
|
959
959
|
case Ce:return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(-1,t.target))
|
|
960
960
|
case ke:return void this.handleClick(t)}return!0},this.handleSelectedChange=t=>{if(t.defaultPrevented)return
|
|
961
|
-
if(!(t.target instanceof Element&&
|
|
961
|
+
if(!(t.target instanceof Element&&Gs(t.target)))return!0
|
|
962
962
|
const e=t.target
|
|
963
963
|
e.selected?(this.currentSelected&&this.currentSelected!==e&&(this.currentSelected.selected=!1),this.currentSelected=e):e.selected||this.currentSelected!==e||(this.currentSelected=null)},this.setItems=()=>{const t=this.treeView.querySelector("[aria-selected='true']")
|
|
964
964
|
this.currentSelected=t,null!==this.currentFocused&&this.contains(this.currentFocused)||(this.currentFocused=this.getValidFocusableItem()),this.nested=this.checkForNestedItems()
|
|
965
|
-
this.getVisibleNodes().forEach((t=>{
|
|
966
|
-
if(!(t.target instanceof Element&&
|
|
965
|
+
this.getVisibleNodes().forEach((t=>{Gs(t)&&(t.nested=this.nested)}))},this.isFocusableElement=t=>Gs(t),this.isSelectedElement=t=>t.selected}slottedTreeItemsChanged(){this.$fastController.isConnected&&this.setItems()}connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0"),h.queueUpdate((()=>{this.setItems()}))}handleClick(t){if(t.defaultPrevented)return
|
|
966
|
+
if(!(t.target instanceof Element&&Gs(t.target)))return!0
|
|
967
967
|
const e=t.target
|
|
968
|
-
e.disabled||(e.selected=!e.selected)}focusNextNode(t,e){const
|
|
969
|
-
if(!
|
|
970
|
-
const i
|
|
971
|
-
ve(
|
|
968
|
+
e.disabled||(e.selected=!e.selected)}focusNextNode(t,e){const i=this.getVisibleNodes()
|
|
969
|
+
if(!i)return
|
|
970
|
+
const s=i[i.indexOf(e)+t]
|
|
971
|
+
ve(s)&&Qs.focusItem(s)}getValidFocusableItem(){const t=this.getVisibleNodes()
|
|
972
972
|
let e=t.findIndex(this.isSelectedElement)
|
|
973
|
-
return-1===e&&(e=t.findIndex(this.isFocusableElement)),-1!==e?t[e]:null}checkForNestedItems(){return this.slottedTreeItems.some((t=>
|
|
974
|
-
return Array.from(t.querySelectorAll(e)).filter((t=>null!==t.offsetParent))}(this,"[role='treeitem']")||[]}}_t([tt({attribute:"render-collapsed-nodes"})],
|
|
975
|
-
function
|
|
973
|
+
return-1===e&&(e=t.findIndex(this.isFocusableElement)),-1!==e?t[e]:null}checkForNestedItems(){return this.slottedTreeItems.some((t=>Gs(t)&&t.querySelector("[role='treeitem']")))}getVisibleNodes(){return function(t,e){if(!t||!e||!ve(t))return
|
|
974
|
+
return Array.from(t.querySelectorAll(e)).filter((t=>null!==t.offsetParent))}(this,"[role='treeitem']")||[]}}_t([tt({attribute:"render-collapsed-nodes"})],Js.prototype,"renderCollapsedNodes",void 0),_t([v],Js.prototype,"currentSelected",void 0),_t([v],Js.prototype,"slottedTreeItems",void 0)
|
|
975
|
+
function Zs(t){return`:host([hidden]){display:none}:host{display:${t}}`}const to=function(){if("boolean"==typeof ge)return ge
|
|
976
976
|
if("undefined"==typeof window||!window.document||!window.document.createElement)return ge=!1,ge
|
|
977
977
|
const t=document.createElement("style"),e=function(){const t=document.querySelector('meta[property="csp-nonce"]')
|
|
978
978
|
return t?t.getAttribute("content"):null}()
|
|
@@ -984,21 +984,21 @@ try{t.sheet.insertRule("foo:focus-visible {color:inherit}",0),ge=!0}catch(t){ge=
|
|
|
984
984
|
z-index: 1000;
|
|
985
985
|
}
|
|
986
986
|
`
|
|
987
|
-
class
|
|
987
|
+
class io extends Be{}const so=io.compose({baseName:"anchored-region",baseClass:Be,template:(t,e)=>q`
|
|
988
988
|
<template class="${t=>t.initialLayoutComplete?"loaded":""}">
|
|
989
989
|
${gt((t=>t.initialLayoutComplete),q`
|
|
990
990
|
<slot></slot>
|
|
991
991
|
`)}
|
|
992
992
|
</template>
|
|
993
993
|
`,styles:eo})
|
|
994
|
-
|
|
994
|
+
Fi.getOrCreate().withPrefix("nimble").register(so())
|
|
995
995
|
const oo="#a46eff",no="#804ad9",ro="#ff8126",ao="#009921",lo="#00c12b",co="#f1f1f2",ho="#f5f5f5",uo="#ffffff",po="#363738",vo="#505153",go="#161617",mo="#074023",fo="#009b65",bo="#d63434",wo="#ff4b00",xo="#006b46",yo="#32eb96",$o="14px",Co=new RegExp("[^#a-f\\d]","gi"),ko=new RegExp("^#?[a-f\\d]{3}[a-f\\d]?$|^#?[a-f\\d]{6}([a-f\\d]{2})?$","i")
|
|
996
996
|
function _o(t,e={}){if("string"!=typeof t||Co.test(t)||!ko.test(t))throw new TypeError("Expected a valid hex string")
|
|
997
|
-
let
|
|
998
|
-
8===(t=t.replace(/^#/,"")).length&&(
|
|
999
|
-
const
|
|
997
|
+
let i=1
|
|
998
|
+
8===(t=t.replace(/^#/,"")).length&&(i=Number.parseInt(t.slice(6,8),16)/255,t=t.slice(0,6)),4===t.length&&(i=Number.parseInt(t.slice(3,4).repeat(2),16)/255,t=t.slice(0,3)),3===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2])
|
|
999
|
+
const s=Number.parseInt(t,16),o=s>>16,n=s>>8&255,r=255&s,a="number"==typeof e.alpha?e.alpha:i
|
|
1000
1000
|
if("array"===e.format)return[o,n,r,a]
|
|
1001
|
-
if("css"===e.format){return`rgb(${o} ${n} ${r}${1===a?"":` / ${Number((100*a).toFixed(2))}%`})`}return{red:o,green:n,blue:r,alpha:a}}const zo="light",Io="dark",Oo="color",
|
|
1001
|
+
if("css"===e.format){return`rgb(${o} ${n} ${r}${1===a?"":` / ${Number((100*a).toFixed(2))}%`})`}return{red:o,green:n,blue:r,alpha:a}}const zo="light",Io="dark",Oo="color",So="action-rgb-partial-color",Ao="application-background-color",Eo="divider-background-color",Ho="header-background-color",Mo="section-background-color",Vo="fill-selected-color",Lo="fill-selected-rgb-partial-color",To="fill-hover-selected-color",Po="fill-hover-color",Ro="fill-down-color",Do="border-color",Bo="border-rgb-partial-color",Fo="fail-color",No="warning-color",jo="pass-color",qo="information-color",Uo="border-hover-color",Ko="icon-color",Wo="popup-box-shadow-color",Xo="popup-border-color",Yo="control-height",Go="small-padding",Qo="standard-padding",Jo="label-height",Zo="border-width",tn="icon-size",en="group-header-text-transform",sn="drawer-width",on="small-delay",nn="medium-delay",rn="large-delay",an="headline-plus-1-font",ln="headline-font",cn="title-plus-2-font",hn="title-plus-1-font",dn="title-font",un="subtitle-plus-1-font",pn="subtitle-font",vn="link-standard-font",gn="placeholder-font",mn="body-emphasized-font",fn="body-font",bn="group-header-font",wn="control-label-font",xn="button-label-font",yn="tooltip-caption-font",$n="tooltip-background-color",Cn="error-text-font",kn=t=>`ni-nimble-${t}`
|
|
1002
1002
|
/*! *****************************************************************************
|
|
1003
1003
|
Copyright (c) Microsoft Corporation.
|
|
1004
1004
|
|
|
@@ -1013,44 +1013,44 @@ if("css"===e.format){return`rgb(${o} ${n} ${r}${1===a?"":` / ${Number((100*a).to
|
|
|
1013
1013
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1014
1014
|
PERFORMANCE OF THIS SOFTWARE.
|
|
1015
1015
|
***************************************************************************** */
|
|
1016
|
-
function _n(t,e,s
|
|
1017
|
-
if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s
|
|
1018
|
-
else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,
|
|
1019
|
-
return n>3&&r&&Object.defineProperty(e,
|
|
1016
|
+
function _n(t,e,i,s){var o,n=arguments.length,r=n<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s
|
|
1017
|
+
if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s)
|
|
1018
|
+
else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,i,r):o(e,i))||r)
|
|
1019
|
+
return n>3&&r&&Object.defineProperty(e,i,r),r}const zn=q`<slot></slot>`,In=ut`
|
|
1020
1020
|
:host {
|
|
1021
1021
|
display: contents;
|
|
1022
1022
|
}
|
|
1023
|
-
`,On=
|
|
1024
|
-
class
|
|
1025
|
-
const En=
|
|
1026
|
-
function Hn(t,e){const{red:
|
|
1027
|
-
return`rgba(${
|
|
1028
|
-
const Mn=
|
|
1029
|
-
|
|
1030
|
-
const Ln=
|
|
1031
|
-
|
|
1032
|
-
const Tn=
|
|
1033
|
-
|
|
1034
|
-
const Rn=
|
|
1035
|
-
|
|
1036
|
-
const Xn=
|
|
1023
|
+
`,On=Li.create({name:"direction",cssCustomPropertyName:null}).withDefault(Ee.ltr),Sn=Li.create({name:"theme",cssCustomPropertyName:null}).withDefault(zo)
|
|
1024
|
+
class An extends le{constructor(){super(...arguments),this.direction=Ee.ltr,this.theme=zo}directionChanged(t,e){null!=e?On.setValueFor(this,e):On.deleteValueFor(this)}themeChanged(t,e){null!=e?Sn.setValueFor(this,e):Sn.deleteValueFor(this)}}_n([tt({attribute:"direction"})],An.prototype,"direction",void 0),_n([tt({attribute:"theme"})],An.prototype,"theme",void 0)
|
|
1025
|
+
const En=An.compose({baseName:"theme-provider",styles:In,template:zn})
|
|
1026
|
+
function Hn(t,e){const{red:i,green:s,blue:o}=_o(t)
|
|
1027
|
+
return`rgba(${i}, ${s}, ${o}, ${e})`}Fi.getOrCreate().withPrefix("nimble").register(En())
|
|
1028
|
+
const Mn=Li.create(kn(So)).withDefault((t=>$a(ka(t,go,co,uo)))),Vn=Li.create(kn(Ao)).withDefault((t=>ka(t,uo,po,mo)))
|
|
1029
|
+
Li.create(kn(Ho)).withDefault((t=>ka(t,ho,"#252526",mo))),Li.create(kn(Mo)).withDefault((t=>ka(t,co,vo,mo))),Li.create(kn(Eo)).withDefault((t=>ka(t,co,vo,mo)))
|
|
1030
|
+
const Ln=Li.create(kn(Vo)).withDefault((t=>Hn(Oa(t),.2)))
|
|
1031
|
+
Li.create(kn(Lo)).withDefault((t=>$a(Oa(t))))
|
|
1032
|
+
const Tn=Li.create(kn(To)).withDefault((t=>Hn(Oa(t),.15))),Pn=Li.create(kn(Po)).withDefault((t=>Hn(function(t){return ka(t,go,co,uo)}(t),.1)))
|
|
1033
|
+
Li.create(kn(Ro)).withDefault((t=>Hn(function(t){return ka(t,go,co,uo)}(t),.15)))
|
|
1034
|
+
const Rn=Li.create(kn(Do)).withDefault((t=>za(t))),Dn=Li.create(kn(Bo)).withDefault((t=>$a(za(t)))),Bn=Li.create(kn(Fo)).withDefault((t=>_a(t))),Fn=Li.create(kn(No)).withDefault((t=>function(t){return ka(t,wo,ro,uo)}(t))),Nn=Li.create(kn(jo)).withDefault((t=>function(t){return ka(t,ao,lo,uo)}(t))),jn=Li.create(kn(qo)).withDefault((t=>function(t){return ka(t,no,oo,uo)}(t))),qn=Li.create(kn(Uo)).withDefault((t=>ka(t,fo,fo,uo))),Un=Li.create(kn(Ko)).withDefault((t=>ka(t,go,co,uo))),Kn=Li.create(kn(Wo)).withDefault((t=>Hn(ka(t,"#818386",po,po),.3))),Wn=Li.create(kn(Xo)).withDefault((t=>Hn(ka(t,go,co,uo),.3)))
|
|
1035
|
+
Li.create(kn($n)).withDefault((t=>ka(t,co,po,mo)))
|
|
1036
|
+
const Xn=Li.create(kn(Yo)).withDefault("32px"),Yn=Li.create(kn(Go)).withDefault("4px"),Gn=Li.create(kn(Qo)).withDefault("16px"),Qn=Li.create(kn(Jo)).withDefault("16px"),Jn=Li.create(kn(Zo)).withDefault("1px"),Zn=Li.create(kn(tn)).withDefault("16px"),tr=Li.create(kn(sn)).withDefault("784px")
|
|
1037
1037
|
Ca(ln,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Noto Serif","400","25px","32px","serif"),Ca(an,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Noto Serif","400","29.100000381469727px","40px","serif"),Ca(cn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","25px","32px","sans-serif")
|
|
1038
|
-
const[er,sr,
|
|
1038
|
+
const[er,ir,sr,or,nr,rr,ar,lr]=Ca(hn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","22px","28px","sans-serif")
|
|
1039
1039
|
Ca(dn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","19px","24px","sans-serif"),Ca(un,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","300","16px","20px","sans-serif"),Ca(pn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","300","12.800000190734863px","16px","sans-serif"),Ca(vn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","14px","18px","sans-serif")
|
|
1040
|
-
const[cr,hr,dr,ur,pr,vr,gr,mr]=Ca(gn,(t=>Hn(Ia(t),.6)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","14px","18px","sans-serif"),[fr,br,wr,xr,yr,$r,Cr,kr]=Ca(mn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","600","14px","18px","sans-serif"),[_r,zr,Ir,Or,Ar,
|
|
1041
|
-
|
|
1042
|
-
const ya=
|
|
1043
|
-
function $a(t){const{red:e,green:
|
|
1044
|
-
return`${e}, ${
|
|
1045
|
-
const l=
|
|
1040
|
+
const[cr,hr,dr,ur,pr,vr,gr,mr]=Ca(gn,(t=>Hn(Ia(t),.6)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","14px","18px","sans-serif"),[fr,br,wr,xr,yr,$r,Cr,kr]=Ca(mn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","600","14px","18px","sans-serif"),[_r,zr,Ir,Or,Sr,Ar,Er,Hr]=Ca(fn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","14px","18px","sans-serif"),[Mr,Vr,Lr,Tr,Pr,Rr,Dr,Br]=Ca(bn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","600","11px","16px","sans-serif"),[Fr,Nr,jr,qr,Ur,Kr,Wr,Xr]=Ca(wn,(t=>Hn(Ia(t),.6)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","600","11px","16px","sans-serif"),[Yr,Gr,Qr,Jr,Zr,ta,ea,ia]=Ca(xn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","12.800000190734863px","16px","sans-serif"),[sa,oa,na,ra,aa,la,ca,ha]=Ca(yn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","11px",$o,"sans-serif"),[da,ua,pa,va,ga,ma,fa,ba]=Ca(Cn,(t=>_a(t)),(t=>Hn(_a(t),.3)),"Source Sans Pro","400","9px",$o,"sans-serif"),wa=Li.create(kn(en)).withDefault("uppercase"),xa=Li.create(kn(on)).withDefault("0.075s")
|
|
1041
|
+
Li.create(kn(nn)).withDefault("0.15s")
|
|
1042
|
+
const ya=Li.create(kn(rn)).withDefault("0.25s")
|
|
1043
|
+
function $a(t){const{red:e,green:i,blue:s}=_o(t)
|
|
1044
|
+
return`${e}, ${i}, ${s}`}function Ca(t,e,i,s,o,n,r,a){if(""===t||""===s||""===o||""===n||""===r||""===a)throw new Error("createFontTokens parameter unexpectedly set to empty string")
|
|
1045
|
+
const l=Li.create(kn(t)).withDefault(`${o} ${n}/${r} ${s}, ${a}`),c=t.split("-font"),h=c[0]
|
|
1046
1046
|
if(void 0===h||""!==c[1])throw new Error(`fontTokenName value of ${t} did not have the expected '-font' suffix`)
|
|
1047
|
-
return[l,
|
|
1048
|
-
case Io:return
|
|
1049
|
-
case Oo:return
|
|
1050
|
-
default:return e}}function _a(t){return ka(t,"#c4000c","#ff4646",uo)}function za(t){return ka(t,go,co,uo)}function Ia(t){return ka(t,go,co,uo)}function Oa(t){return ka(t,fo,fo,uo)}class
|
|
1051
|
-
|
|
1052
|
-
e&&
|
|
1053
|
-
${
|
|
1047
|
+
return[l,Li.create(kn(`${h}-font-color`)).withDefault((t=>e(t))),Li.create(kn(`${h}-disabled-font-color`)).withDefault((t=>i(t))),Li.create(kn(`${h}-font-family`)).withDefault(`${s}`),Li.create(kn(`${h}-font-weight`)).withDefault(`${o}`),Li.create(kn(`${h}-font-size`)).withDefault(`${n}`),Li.create(kn(`${h}-font-line-height`)).withDefault(`${r}`),Li.create(kn(`${h}-fallback-font-family`)).withDefault(`${a}`)]}function ka(t,e,i,s){switch(Sn.getValueFor(t)){case zo:return e
|
|
1048
|
+
case Io:return i
|
|
1049
|
+
case Oo:return s
|
|
1050
|
+
default:return e}}function _a(t){return ka(t,"#c4000c","#ff4646",uo)}function za(t){return ka(t,go,co,uo)}function Ia(t){return ka(t,go,co,uo)}function Oa(t){return ka(t,fo,fo,uo)}class Sa{constructor(t,e,i){this.value=t,this.styles=e,this.source=i}handleChange(){const t=Sn.getValueFor(this.source);(Array.isArray(this.value)?this.value.includes(t):this.value===t)?this.source.$fastController.addStyles(this.styles):this.source.$fastController.removeStyles(this.styles)}}class Aa{constructor(t,e){this.theme=t,this.styles=e,this.cache=new WeakMap}bind(t){const e=this.cache.get(t)||new Sa(this.theme,this.styles,t)
|
|
1051
|
+
Sn.subscribe(e,t),e.handleChange(),this.cache.set(t,e)}unbind(t){const e=this.cache.get(t)
|
|
1052
|
+
e&&Sn.unsubscribe(e)}}const Ea=(t,e)=>new Aa(t,e),Ha=ut`
|
|
1053
|
+
${Zs("inline-block")}
|
|
1054
1054
|
|
|
1055
1055
|
:host {
|
|
1056
1056
|
box-sizing: border-box;
|
|
@@ -1108,9 +1108,9 @@ const Ma=class extends Ne{}.compose({baseName:"breadcrumb",baseClass:Ne,template
|
|
|
1108
1108
|
</div>
|
|
1109
1109
|
</template>
|
|
1110
1110
|
`,styles:Ha})
|
|
1111
|
-
|
|
1112
|
-
const Va={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 7H9V3H7v4H3v2h4v4h2V9h4V7z"/></svg>'},La={name:"arrow_down_right_and_arrow_up_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.171 13.933l-2.276-2.247-.447 2.284-1.732-5.246 5.217 1.753-2.284.456 2.291 2.26zM2 2.746l2.29 2.261-2.283.456 5.217 1.753L5.492 1.97l-.447 2.284-2.276-2.247z"/></svg>'},Ta={name:"arrow_expander_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.5 4.737l1.11-.732 3.357 5.472L11.397 4l1.103.743L7.955 12 3.5 4.737z"/></svg>'},Pa={name:"arrow_expander_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11.263 3.5l.732 1.11-5.472 3.357L12 11.397l-.743 1.103L4 7.955 11.263 3.5z"/></svg>'},Ra={name:"arrow_expander_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.737 12.5l-.732-1.11 5.472-3.357L4 4.603 4.743 3.5 12 8.045 4.737 12.5z"/></svg>'},Da={name:"arrow_expander_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.5 11.263l-1.11.732-3.357-5.472L4.603 12 3.5 11.257 8.045 4l4.455 7.263z"/></svg>'},Ba={name:"arrow_left_from_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 14h2V2h-2zM2 7.982L7.9 5 6.588 7.004 11 7v2H6.613L7.9 11z"/></svg>'},Fa={name:"arrow_partial_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 11.988a3.086 3.086 0 003.143-3.025 3.08 3.08 0 00-3.085-3.02v.088l.826 2.067-5.598-2.796L8.884 2.5l-.742 1.932a4.619 4.619 0 014.572 4.53A4.629 4.629 0 018 13.5z"/></svg>'},Na={name:"arrow_right_to_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 14h2V2h-2zm-6.9-3l1.287-2H2V7l4.412.004L5.1 5 11 7.982z"/></svg>'},ja={name:"arrow_rotate_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.9 2.773v1.715a3.366 3.366 0 013.3 3.428 3.366 3.366 0 01-3.3 3.429 3.36 3.36 0 01-3.293-3.366h.095l2.255.901-3.05-6.107L1.85 8.88l2.108-.808A5.039 5.039 0 008.9 13.059a5.05 5.05 0 004.95-5.143A5.05 5.05 0 008.9 2.773z"/></svg>'},qa={name:"arrow_u_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.857 9.453l-2.571-1.68v.908a3 3 0 003 3 3 3 0 003-3V3.11H14v5.571a4.714 4.714 0 01-4.714 4.715A4.714 4.714 0 014.57 8.68v-.908L2 9.453l3.403-6.849z"/></svg>'},Ua={name:"arrow_up_left_and_arrow_down_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.195 4.977l-.451 2.296L2 2l5.256 1.762-2.301.458 6.849 6.803.452-2.296L14 14l-5.256-1.762 2.301-.458-6.85-6.803z"/></svg>'},Ka={name:"arrows_maximize_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.26 8.735L14 14l-5.25-1.763 2.295-.457-3.03-3.022L8 8.742l-.015.016.015.014-3.023 3.023 2.296.45L2 13.985l1.762-5.243.458 2.295 3.015-3.015.007-.007L7.258 8l-.016-.015L7.227 8l-3.03-3.03-.457 2.295L2 2l5.25 1.762-2.295.458 3.03 3.022.015.016.015-.016L8 7.227l3.023-3.022-2.296-.45L14 2.015l-1.762 5.243-.458-2.295L8.742 8l.016.015L8.773 8l3.03 3.03.457-2.295z"/></svg>'},Wa={name:"arrows_repeat_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.75 11.75L10 14l-6-3 6-3-1.25 2.25zM8 11h1a4 4 0 004-4M7.25 5.75L6 8l6-3-6-3 1.25 2.25zM8 5H7a4 4 0 00-4 4"/></svg>'},Xa={name:"bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 13v-2h12v2zm0-4V7h12v2zm0-4V3h12v2z"/></svg>'},Ya={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 14a2.05 2.05 0 01-2-2h4a2.05 2.05 0 01-2 2zm-5.25-3s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.297.098 2.145.587 2.25 1.43v.483c0 .32.108.426.183.463H11s.25 0 .25.483v.02s.5 4.92 1.5 4.92c.5 0 .5.745.5.745z"/></svg>'},Ga={name:"bell_and_comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.836 4.75H9.57a.71.71 0 00-.71.71v2.032a.71.71 0 00.71.711h.356L9.57 9.625l2.488-1.422h1.778a.71.71 0 00.71-.71V5.46a.71.71 0 00-.71-.711zM8.196 11H2.75s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.224.092 2.04.537 2.217 1.294H9.57a1.713 1.713 0 00-1.71 1.71v2.032a1.712 1.712 0 00.844 1.475zM6 12h4a2.05 2.05 0 01-2 2 2.05 2.05 0 01-2-2zm7.25-1H9.18l2.868-1.64c.198.527.431.894.702.894.5 0 .5.746.5.746z"/></svg>'},Qa={name:"bell_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.042 11h2a1 1 0 01-2 0zm4.5-1h-7s0-.497.333-.497h.043c.624 0 .957-3.28.957-3.28 0-.335.167-.335.167-.335h.044c.05-.025.122-.095.122-.309v-.322c.07-.561.636-.888 1.5-.953v-.175c0-.054.06-.1.146-.129h.375c.086.029.146.075.146.129v.175c.865.065 1.43.392 1.5.953v.322c0 .214.072.284.122.309h.045s.166 0 .166.322v.014s.334 3.279 1 3.279c.334 0 .334.497.334.497zm-3.5-7.5a5.5 5.5 0 11-5.5 5.5 5.506 5.506 0 015.5-5.5m0-1a6.5 6.5 0 106.5 6.5 6.5 6.5 0 00-6.5-6.5z"/></svg>'},Ja={name:"bell_solid_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M1.5 8A6.5 6.5 0 008 14.5 6.5 6.5 0 0014.5 8 6.5 6.5 0 008 1.5 6.5 6.5 0 001.5 8zM8 12a1.025 1.025 0 01-1-1h2a1.025 1.025 0 01-1 1zm-3.5-2s0-.497.333-.497h.043c.624 0 .957-3.28.957-3.28 0-.335.167-.335.167-.335h.045c.05-.025.122-.095.122-.309v-.322c.07-.561.635-.888 1.5-.953v-.175c0-.054.06-.1.145-.129h.376c.085.029.145.075.145.129v.175c.865.065 1.43.392 1.5.953v.322c0 .214.073.284.122.309H10s.167 0 .167.322v.014s.333 3.279 1 3.279c.333 0 .333.497.333.497z"/></svg>'},Za={name:"block_with_ribbon_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v10h4.762A4.496 4.496 0 0113 5.762V2zm12 7.5a3.5 3.5 0 10-6 2.442V14l2.5-1.667L13 14v-2.058A3.485 3.485 0 0014 9.5zM10.5 8A1.5 1.5 0 119 9.5 1.5 1.5 0 0110.5 8z"/></svg>'},tl={name:"book_magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6 10c0-.347.058-.678.142-1H5V8h1.556c.22-.378.498-.714.826-1H5V6h5c.732 0 1.41.212 2 .556V2H3v11h4.382A3.975 3.975 0 016 10zM5 4h5v1H5V4z"/><path class="cls-1" d="M9.99 7.01l-.076.002a3 3 0 101.799 5.452l1.593 1.53.69-.725-1.58-1.516a2.973 2.973 0 00.57-1.816A3 3 0 009.99 7.01zM10 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2z"/></svg>'},el={name:"calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 4.023V2.977A.976.976 0 014.977 2h.046A.976.976 0 016 2.977v1.046A.977.977 0 015.023 5h-.046A.977.977 0 014 4.023zM13 4v.023A1.98 1.98 0 0111.023 6h-.046A1.98 1.98 0 019 4.023V4H7v.023A1.98 1.98 0 015.023 6h-.046A1.98 1.98 0 013 4.023V4a1 1 0 00-1 1v8a1 1 0 001 1h10a1 1 0 001-1V5a1 1 0 00-1-1zm-7 8H4v-1h2zm.001-1.999H4V9h2.001zm0-2.001H4V7h2.001zM9 12H7v-1h2zm0-1.999H7V9h2zM9 8H7V7h2zm3 4h-2v-1h2zm.001-1.999H10V9h2.001zm0-2.001H10V7h2.001zM10 4.023V2.977A.976.976 0 0110.977 2h.046a.976.976 0 01.977.977v1.046a.977.977 0 01-.977.977h-.046A.977.977 0 0110 4.023z"/></svg>'},sl={name:"chart_diagram_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3z"/></svg>'},il={name:"chart_diagram_child_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3zm-8 2H3v-1h1zm4 0H7v-1h1zm4 0h-1v-1h1z"/></svg>'},ol={name:"chart_diagram_parent_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3zM7 4V3h1v1z"/></svg>'},nl={name:"chart_diagram_parent_focus_two_child_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3zm-6 2H4v-1h1zm6 0h-1v-1h1z"/></svg>'},rl={name:"check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 5.287L6.182 12 3 8.867l1.363-1.343L6.24 9.37 11.693 4z"/></svg>'},al={name:"check_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle class="cls-1" cx="12.5" cy="11.5" r="1.5"/><path class="cls-2" d="M14 4.693l-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545z"/></svg>'},ll={name:"circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm0 9.429A3.429 3.429 0 1111.429 8 3.429 3.429 0 018 11.429z"/></svg>'},cl={name:"circle_filled_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle class="cls-1" cx="8" cy="8" r="4"/></svg>'},hl={name:"circle_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 14A6.1 6.1 0 017 2v2.686a3.475 3.475 0 000 6.628zM9 2v2.686a3.475 3.475 0 010 6.628V14A6.1 6.1 0 009 2z"/></svg>'},dl={name:"circle_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm-1.212 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013z"/></svg>'},ul={name:"circle_partial_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 2v2.686a3.475 3.475 0 010 6.628V14A6.1 6.1 0 009 2z"/><path class="cls-2" d="M7 11.314a3.475 3.475 0 010-6.628V2a6.1 6.1 0 000 12z"/></svg>'},pl={name:"circle_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm.075 1.714a4.281 4.281 0 013.573 6.647L5.714 4.427a4.262 4.262 0 012.36-.713zM3.789 8a4.261 4.261 0 01.713-2.36l5.934 5.933A4.281 4.281 0 013.789 8z"/></svg>'},vl={name:"circle_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm.075 1.714a4.263 4.263 0 012.409.743l-2.37 2.37-2.4-2.4a4.262 4.262 0 012.36-.713zM4.502 5.64l2.4 2.4-2.37 2.37a4.273 4.273 0 01-.03-4.77zm3.573 6.647a4.256 4.256 0 01-2.31-.685l2.349-2.35 2.322 2.322a4.261 4.261 0 01-2.361.713zm3.573-1.925L9.326 8.039l2.35-2.349a4.251 4.251 0 01-.028 4.67z"/></svg>'},gl={name:"clipboard_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 5H5a2 2 0 012-2V2a1 1 0 012 0v1a2 2 0 012 2zm1-2v9H4V3H3a1 1 0 00-1 1v9a1 1 0 001 1h10a1 1 0 001-1V4a1 1 0 00-1-1zm-2 4H5v1h5zM8 9H5v1h3z"/></svg>'},ml={name:"clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6m.576 4.87l1.555-1.557a1.635 1.635 0 01.84-.256 1.979 1.979 0 01-.23.791c-.115.163-1.356 1.41-1.571 1.626a1.278 1.278 0 010 1.085l2.376 2.38a1.597 1.597 0 01.458 1.072 1.621 1.621 0 01-1.222-.613c-.456-.456-1.94-1.963-2.207-2.235a1.275 1.275 0 110-2.293"/></svg>'},fl={name:"clock_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.108 7.392l.955-.957a1.004 1.004 0 01.516-.157 1.215 1.215 0 01-.14.486c-.072.1-.834.866-.966.999a.785.785 0 010 .666l1.341 1.344a.981.981 0 01.281.658.996.996 0 01-.75-.376c-.28-.28-1.073-1.088-1.237-1.255a.783.783 0 110-1.408m5.69 2.292L14 7.324l-1.327-.113a4.76 4.76 0 00-.402-1.26l1.02-.86-1.527-1.811-1.019.86a4.726 4.726 0 00-.563-.344 4.61 4.61 0 00-.612-.265l.114-1.329L7.324 2l-.113 1.329a4.77 4.77 0 00-1.26.401l-.86-1.02L3.28 4.237l.858 1.02A4.771 4.771 0 003.53 6.43l-1.329-.114L2 8.676l1.329.114a4.69 4.69 0 00.401 1.26l-1.02.86 1.526 1.811 1.02-.859a4.666 4.666 0 001.175.608l-.113 1.33 2.358.2.114-1.328a4.688 4.688 0 001.26-.4l.86 1.02 1.81-1.527-.858-1.02a4.687 4.687 0 00.608-1.175zM8 11.45A3.45 3.45 0 1111.45 8 3.45 3.45 0 018 11.45z"/></svg>'},bl={name:"clock_triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 3a4.951 4.951 0 00-2.152.505L7.096 6H3.422A4.997 4.997 0 108 3zm2.003 7.616a453.75 453.75 0 01-1.675-1.7 1.061 1.061 0 110-1.907l1.294-1.297a1.36 1.36 0 01.699-.212 1.646 1.646 0 01-.19.658c-.097.136-1.13 1.173-1.309 1.353a1.063 1.063 0 010 .903l1.817 1.82a1.33 1.33 0 01.381.891 1.35 1.35 0 01-1.017-.51z"/><path class="cls-2" d="M5.477 5H1.522L3.5 1.045 5.477 5z"/></svg>'},wl={name:"clone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6z"/></svg>'},xl={name:"cloud_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.08 11.977a5.123 5.123 0 01-1.295-.2C2.754 11.46 1.883 10.2 1.883 9.022a2.963 2.963 0 012.63-2.937A4.203 4.203 0 018.432 3.48a4.254 4.254 0 014.249 4.17 2.251 2.251 0 011.437 2.09 2.24 2.24 0 01-2.238 2.237l-4.947.003c-1.01 0-1.79-.001-1.853-.003zm-.228-4.573c-.899 0-1.63.725-1.63 1.618 0 .842.702 1.61 1.474 1.61l7.183.007a.9.9 0 000-1.799.883.883 0 00-.337.067l-.493.202.159-.508a2.914 2.914 0 00-2.777-3.783 2.897 2.897 0 00-2.868 2.436l-.044.268-.264-.067a1.641 1.641 0 00-.403-.051z"/></svg>'},yl={name:"cloud_upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.476 7.298l-1.927 3.848 1.48-.568v3.407h.948v-3.407l1.42.568zM15 9.005a2.374 2.374 0 01-2.371 2.371h-.998l-.5-1h1.498a1.371 1.371 0 10-.516-2.64A3.77 3.77 0 104.797 5.99 2.238 2.238 0 002 8.148a2.223 2.223 0 002.057 2.22l1.758.009-.448.894a10.567 10.567 0 01-2.31-.121 3.224 3.224 0 01.993-6.225 4.77 4.77 0 019.236 1.68c0 .04 0 .081-.002.121A2.375 2.375 0 0115 9.006z"/></svg>'},$l={name:"cloud_with_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.429 10.1l.001-.101A3.998 3.998 0 004.69 8.59a2.715 2.715 0 00-2.557 2.7 2.782 2.782 0 001.725 2.516 4.854 4.854 0 001.225.19h.004c.19.006 6.792 0 6.792 0a1.987 1.987 0 00.55-3.897zm-.55 3.06l-7.183-.008a1.867 1.867 0 01.156-3.728 1.891 1.891 0 01.464.06 3.16 3.16 0 116.13 1.462 1.149 1.149 0 11.433 2.213zM4.5 4.5a1 1 0 111-1 1 1 0 01-1 1zm5.138.681l.496-1.241H7v-.828h3.134l-.496-1.293L13 3.502z"/></svg>'},Cl={name:"cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.823 2l-2.217.914.516 1.25a4.743 4.743 0 00-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.82 4.82 0 00-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.824 4.824 0 00.945.949l-.518 1.247 2.214.921.519-1.246a4.68 4.68 0 00.674.048 4.74 4.74 0 00.666-.047L9.176 14l2.218-.914-.515-1.248a4.828 4.828 0 00.95-.945l1.245.518.922-2.214-1.247-.519a4.73 4.73 0 00.002-1.34L14 6.824l-.914-2.218-1.25.515a4.739 4.739 0 00-.944-.949l.518-1.246-2.212-.922-.52 1.247a4.714 4.714 0 00-.676-.049 4.808 4.808 0 00-.663.047zm1.175 9a2.999 2.999 0 112.77-1.847 2.984 2.984 0 01-2.77 1.846M8 6.801a1.2 1.2 0 10.46.093A1.198 1.198 0 008 6.8"/></svg>'},kl={name:"cog_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.147 11.648c-.01.006-.02.014-.032.02a4.1 4.1 0 01-.46.224l-.012.005c-.033.015-.068.028-.103.042-.051.019-.11.036-.162.055-.094.034-.186.068-.285.099-.034.01-.064.024-.1.033-.019.007-.042.012-.062.019q-.279.078-.58.144l-.133.03q-.324.068-.668.12l-.135.02c-.214.03-.431.057-.653.079l-.103.012a17.446 17.446 0 01-.903.06c-.254.01-.507.018-.759.018a18.75 18.75 0 01-1.66-.078l-.105-.012a15.901 15.901 0 01-.65-.08l-.134-.018c-.23-.036-.455-.076-.67-.122l-.132-.029a9.372 9.372 0 01-.582-.145l-.059-.017c-.036-.01-.067-.023-.1-.034a7.034 7.034 0 01-.285-.1c-.054-.018-.112-.035-.165-.055l-.101-.041-.01-.005a4.076 4.076 0 01-.462-.223l-.03-.02a2.343 2.343 0 01-.334-.24c-.014-.012-.033-.022-.045-.033v1.013c0 .364.524.749 1.427 1.051a8.098 8.098 0 00.697.197 14.793 14.793 0 003.4.363 14.818 14.818 0 003.403-.362 8.38 8.38 0 00.697-.197c.904-.303 1.43-.688 1.43-1.052v-1.013c-.015.012-.034.022-.047.034a2.478 2.478 0 01-.333.238m.38-1.883c0-.762-2.27-1.61-5.529-1.61-3.256 0-5.524.848-5.524 1.61 0 .365.525.75 1.427 1.052a9.254 9.254 0 00.698.197 14.8 14.8 0 003.399.362 14.817 14.817 0 003.401-.362 8.375 8.375 0 00.7-.197c.902-.302 1.428-.687 1.428-1.052M3.931 7.697L2.802 7.6l.171-1.979 1.129.095a3.984 3.984 0 01.516-.985l-.729-.856 1.537-1.28.73.855a4.085 4.085 0 011.071-.336L7.323 2l2.004.17-.097 1.114a3.949 3.949 0 01.52.223 4.027 4.027 0 01.478.288l.866-.721 1.296 1.52-.866.72a3.961 3.961 0 01.341 1.058l1.127.095-.133 1.539a10.211 10.211 0 00-2.482-.618c.007-.048.021-.094.026-.143a2.48 2.48 0 00-1.346-2.416 2.543 2.543 0 00-2.938.45 2.408 2.408 0 00-.698 2.14 11.88 11.88 0 00-1.482.311l-.008-.033zm4.067-.468c-.331 0-.697.012-1.077.035a.972.972 0 01-.026-.314.99.99 0 01.292-.618 1.011 1.011 0 011.174-.18.992.992 0 01.539.967.923.923 0 01-.036.132 17.817 17.817 0 00-.866-.022z"/></svg>'},_l={name:"cog_database_inset_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.751 7.338L14 6.824l-.914-2.218-1.25.515a4.74 4.74 0 00-.944-.949l.518-1.246-2.212-.922-.52 1.247a4.715 4.715 0 00-.676-.049 4.803 4.803 0 00-.663.047L6.823 2l-2.217.914.516 1.25a4.741 4.741 0 00-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.816 4.816 0 00-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.823 4.823 0 00.945.949l-.518 1.247 2.214.921.519-1.246a4.673 4.673 0 00.674.048 4.737 4.737 0 00.666-.047L9.176 14l2.218-.914-.515-1.248a4.826 4.826 0 00.95-.945l1.245.518.922-2.214-1.247-.519a4.729 4.729 0 00.002-1.34zm-1.06 2.418c0 .244-.35.5-.954.703a5.157 5.157 0 01-.466.131 9.896 9.896 0 01-2.273.243 9.88 9.88 0 01-2.271-.243 5.454 5.454 0 01-.466-.131c-.603-.202-.953-.46-.953-.703V9.08c.008.008.02.015.03.023a1.567 1.567 0 00.223.16l.02.013a2.725 2.725 0 00.309.15l.006.002.068.028c.035.013.074.025.11.037.062.023.125.046.19.066.023.008.043.016.067.023l.04.011c.123.036.253.069.389.098l.087.02c.144.03.295.057.448.08l.09.012c.142.021.286.038.434.054l.07.008c.162.014.327.027.491.035l.112.005a11.63 11.63 0 001.013 0l.11-.005c.165-.008.33-.02.493-.035l.069-.008c.148-.015.293-.033.436-.054l.09-.012q.23-.035.447-.08l.088-.02c.135-.03.264-.062.388-.097l.042-.012.066-.023c.066-.02.128-.043.19-.066.036-.012.075-.024.109-.037l.069-.028.007-.003a2.744 2.744 0 00.308-.149l.022-.014a1.651 1.651 0 00.222-.159l.03-.023zm0-1.76c0 .243-.35.5-.954.703a5.157 5.157 0 01-.466.13 9.897 9.897 0 01-2.273.243 9.88 9.88 0 01-2.271-.242 5.44 5.44 0 01-.466-.132c-.603-.202-.953-.459-.953-.703V7.32c.008.008.02.014.03.022a1.566 1.566 0 00.223.16l.02.013a2.716 2.716 0 00.309.15l.006.003c.022.01.046.018.068.027l.11.038c.062.022.125.045.19.066.023.007.043.016.067.023l.04.011c.123.035.253.067.389.097l.087.02c.144.03.295.057.448.08l.09.013c.142.02.286.038.434.053l.07.008a11.715 11.715 0 001.726.035c.165-.008.33-.02.493-.035l.069-.008c.148-.015.293-.033.436-.053l.09-.012q.23-.036.447-.081l.088-.02q.202-.044.388-.097c.014-.004.029-.007.042-.012.023-.006.043-.015.067-.022.065-.02.127-.044.19-.066l.108-.037.069-.028.008-.003a2.735 2.735 0 00.307-.15l.022-.013a1.657 1.657 0 00.222-.16c.009-.007.021-.014.03-.022zm-.953-1.05a5.625 5.625 0 01-.467.132 9.896 9.896 0 01-2.272.24 9.885 9.885 0 01-2.271-.24 6.179 6.179 0 01-.466-.133c-.603-.201-.954-.459-.954-.702 0-.51 1.515-1.076 3.69-1.076 2.177 0 3.694.567 3.694 1.076 0 .243-.351.5-.954.702z"/></svg>'},zl={name:"cog_small_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.712 5.956a.76.76 0 01-.224.477.787.787 0 01-.909.139.762.762 0 01-.19-1.224.781.781 0 01.907-.14.767.767 0 01.416.748zM14 11.61l-.441 1.088-.62-.246a2.276 2.276 0 01-.232.268 2.386 2.386 0 01-.23.2l.263.606-1.09.46-.263-.606a2.353 2.353 0 01-.662.008l-.248.612-1.1-.435.249-.612a2.273 2.273 0 01-.256-.215 2.358 2.358 0 01-.218-.243l-.614.26-.466-1.077.614-.259a2.287 2.287 0 01-.008-.654l-.62-.246.44-1.087.62.246a2.38 2.38 0 01.234-.27 2.463 2.463 0 01.229-.198l-.263-.606 1.09-.46.263.605a2.422 2.422 0 01.662-.008l.248-.612 1.1.436-.248.612a2.351 2.351 0 01.473.458l.614-.26.466 1.076-.613.26a2.339 2.339 0 01.008.654zm-1.934-1.591a1.495 1.495 0 00-2.085.011 1.454 1.454 0 00.01 2.081 1.479 1.479 0 00.486.313 1.495 1.495 0 001.6-.324 1.454 1.454 0 00-.01-2.081zM9.036 8.33l-1.189.99-.564-.661a3.104 3.104 0 01-.827.26l-.075.86-1.547-.13.074-.862a3.075 3.075 0 01-.77-.394l-.671.557-1.001-1.174.67-.557a3.015 3.015 0 01-.264-.817L2 6.328 2.132 4.8l.872.074a3.08 3.08 0 01.4-.762l-.564-.66 1.188-.99.565.66a3.159 3.159 0 01.827-.26L5.494 2l1.548.131-.074.861a3.046 3.046 0 01.402.172 3.111 3.111 0 01.369.223l.669-.557L9.41 4.004l-.67.557a3.06 3.06 0 01.264.818l.871.073-.132 1.53-.872-.074a3.026 3.026 0 01-.4.762zM7.874 6.054a1.916 1.916 0 00-1.04-1.868 1.965 1.965 0 00-2.27.348 1.907 1.907 0 00.478 3.06 1.965 1.965 0 002.27-.347 1.903 1.903 0 00.562-1.193zm3.376 4.467a.6.6 0 00-.64.13.591.591 0 00-.131.196.584.584 0 00.33.761.597.597 0 00.64-.13.59.59 0 00.13-.195.583.583 0 00-.135-.637.596.596 0 00-.194-.125z"/></svg>'},Il={name:"cog_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 3.11l-1.178-.632-1.875 2.133a5.424 5.424 0 00-.716-.094L8.766 2l-2.138.627.2 2.863a5.226 5.226 0 00-.527.47l-2.77-.738-1.056 1.95L4.656 9.04a5.188 5.188 0 00-.087.704L2 11.144l.659 2.1 2.914-.197a4.961 4.961 0 00.453.525l-.13.427h7.232a.818.818 0 00.87-.759L14 13.2zm-1.335 7.876a2.877 2.877 0 01-3.741 1.477 2.768 2.768 0 01-1.51-3.66 2.876 2.876 0 013.729-1.482 2.76 2.76 0 011.535 3.637z"/></svg>'},Ol={name:"comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 3.5v6a1.5 1.5 0 01-1.5 1.5H8.75L3.5 14l.75-3H3.5A1.5 1.5 0 012 9.5v-6A1.5 1.5 0 013.5 2h9A1.5 1.5 0 0114 3.5z"/></svg>'},Al={name:"computer_and_monitor_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 12V6H5v6h4v1H7v1h5v-1h-2v-1zm-8-1V7h7v4zm1-6H4V4h3zm1 0V3H3v7h1v3h2v1H3a1 1 0 01-1-1V3a1 1 0 011-1h5a1 1 0 011 1v2z"/></svg>'},Sl={name:"copy_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6zm7 7H7V7h6z"/></svg>'},El={name:"copy_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6zm7 7H7V7h6zm-1-4H8V8h4zm-1 2H8v-1h3z"/></svg>'},Hl={name:"dashboard_builder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.646 6.646L7 4.293l2 2 1.646-1.646.707.707L9 7.707l-2-2-1.646 1.647zM14 2v12H2V2zM8 9H4v3h4zm4 2H9v1h3zm0-2H9v1h3zm0-5H4v4h8V4zm-5 6H5v1h2z"/></svg>'},Ml={name:"dashboard_builder_legend_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm10 10H4v-1.293l2.04-2.04 3.804 2.983L12 9.74zm0-7h-2v1h2v2.405L9.805 10.35 5.96 7.333 4 9.293V6h2V5H4V4h8zM9 6H7V5h2z"/></svg>'},Vl={name:"dashboard_builder_templates_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm11 11H3V3h10z"/><path class="cls-1" d="M9 9h3v1H9zM12 4H4v4h8zm-1 3H5V5h6zM8 9H4v3h4zm-1 2H5v-1h2zM9 11h3v1H9z"/></svg>'},Ll={name:"dashboard_builder_tile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.646 10.646L7 8.293l2 2 1.646-1.646.707.707L9 11.707l-2-2-1.646 1.647zM14 2v12H2V2zM4 7h3V4H4zm8 1H4v4h8V8zm0-4H8v3h4z"/></svg>'},Tl={name:"database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.588 11.46a2.69 2.69 0 00.36-.257c.015-.012.036-.023.051-.036v1.093c0 .395-.57.81-1.551 1.137a9.133 9.133 0 01-.757.212A16.17 16.17 0 017.997 14a16.144 16.144 0 01-3.69-.391 8.83 8.83 0 01-.757-.213C2.57 13.069 2 12.655 2 12.26v-1.093c.013.013.033.023.049.036a2.61 2.61 0 00.362.26c.012.006.021.013.033.02a4.294 4.294 0 00.502.241l.01.005.11.046c.058.02.121.039.18.06.1.036.202.073.308.106.037.012.07.026.11.037.018.006.042.011.063.017.2.06.412.11.633.159l.142.031c.234.049.478.092.727.13.048.008.098.014.146.02a17.346 17.346 0 00.82.1 24.659 24.659 0 00.98.065c.273.01.55.019.822.019.273 0 .548-.008.824-.02.06-.003.119-.006.179-.007.268-.014.536-.034.801-.057l.112-.014c.24-.023.476-.052.708-.086.048-.006.098-.012.147-.02.25-.038.491-.081.725-.13.05-.012.096-.021.144-.031.219-.049.429-.1.63-.157.022-.008.047-.013.069-.02.037-.01.07-.024.108-.036.107-.034.206-.07.309-.107.057-.02.12-.038.176-.06.037-.014.075-.028.111-.045l.013-.005a4.316 4.316 0 00.5-.241.415.415 0 00.035-.022m0-2.845l-.035.022a4.46 4.46 0 01-.5.241l-.013.005c-.036.016-.074.03-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.025-.107.036-.022.007-.047.012-.069.02a10.638 10.638 0 01-.774.187q-.35.075-.725.13c-.049.009-.099.014-.147.021-.232.034-.468.063-.708.086L9.8 9.59c-.265.024-.533.044-.801.057l-.18.008c-.275.012-.55.02-.823.02a19 19 0 01-.823-.02l-.18-.008a20.583 20.583 0 01-.8-.057l-.113-.013c-.241-.024-.475-.052-.706-.086-.048-.006-.098-.012-.146-.02a12.62 12.62 0 01-1.502-.32c-.021-.006-.045-.01-.063-.017-.04-.012-.073-.025-.11-.037a7.688 7.688 0 01-.309-.107c-.058-.02-.121-.039-.179-.06l-.11-.045-.01-.005a4.436 4.436 0 01-.502-.241c-.012-.007-.02-.014-.033-.02a2.544 2.544 0 01-.362-.26c-.016-.013-.036-.023-.049-.036v1.093c0 .394.57.81 1.55 1.136a8.83 8.83 0 00.757.213 16.145 16.145 0 003.69.39 16.171 16.171 0 003.694-.39 9.133 9.133 0 00.757-.213c.98-.327 1.551-.742 1.551-1.136V8.322c-.015.013-.036.024-.05.036a2.69 2.69 0 01-.361.258m0-2.845l-.035.022a4.463 4.463 0 01-.5.241l-.013.005c-.036.016-.074.03-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.026-.107.036-.022.007-.047.012-.069.02q-.302.084-.63.156l-.144.031q-.351.075-.725.132c-.049.006-.099.012-.147.02-.232.032-.468.061-.708.085l-.112.013a19.05 19.05 0 01-.98.066c-.276.01-.55.018-.824.018a20.457 20.457 0 01-1.802-.084l-.114-.013c-.241-.024-.475-.053-.706-.086l-.146-.02c-.249-.038-.493-.081-.727-.13-.05-.01-.094-.022-.142-.032-.22-.048-.432-.1-.633-.157l-.063-.018c-.04-.011-.073-.025-.11-.037a7.688 7.688 0 01-.309-.107l-.179-.06-.11-.045-.01-.005a4.438 4.438 0 01-.502-.241c-.012-.007-.02-.014-.033-.02a2.544 2.544 0 01-.362-.26C2.033 5.5 2.013 5.488 2 5.476V6.57c0 .394.57.81 1.55 1.136a8.83 8.83 0 00.757.213 16.144 16.144 0 003.69.39 16.17 16.17 0 003.694-.39 9.133 9.133 0 00.757-.213c.98-.327 1.551-.742 1.551-1.136V5.477c-.015.013-.036.024-.05.036a2.69 2.69 0 01-.361.258M14 3.738C14 2.915 11.535 2 7.998 2 4.463 2 2 2.915 2 3.738c0 .394.57.81 1.55 1.135.113.039.23.074.355.11q.192.053.402.103a16.152 16.152 0 003.69.39 16.17 16.17 0 003.692-.39 9.13 9.13 0 00.759-.213C13.429 4.548 14 4.132 14 3.738"/></svg>'},Pl={name:"database_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.919 12.103a11.87 11.87 0 01-1.594-.26 7.445 7.445 0 01-.644-.182c-.835-.28-1.32-.635-1.32-.973v-.936c.011.01.029.02.042.031a2.226 2.226 0 00.308.222l.028.018a3.65 3.65 0 00.428.206l.009.005.093.038c.049.019.103.034.153.051.086.032.173.063.262.092.032.01.06.022.094.032l.054.014c.17.05.35.095.538.136l.121.027c.2.042.408.078.62.111.041.007.083.012.124.018.197.028.396.052.6.073l.038.005-.613.613zm-2.238-7.74a8.567 8.567 0 00.645.182 13.68 13.68 0 003.143.334 13.697 13.697 0 003.144-.334 7.753 7.753 0 00.646-.182c.835-.28 1.32-.635 1.32-.973 0-.704-2.098-1.488-5.11-1.488-3.01 0-5.107.784-5.107 1.488 0 .338.486.694 1.32.973zm5.047 6.495l.008.007.008-.008zm-5.047-4.07a7.471 7.471 0 00.644.182 13.675 13.675 0 003.143.335 13.697 13.697 0 003.146-.335 7.694 7.694 0 00.644-.181c.835-.28 1.321-.636 1.321-.973v-.937c-.013.012-.03.02-.043.032a2.29 2.29 0 01-.307.22.353.353 0 01-.03.02 3.788 3.788 0 01-.426.206l-.01.004c-.031.014-.064.026-.096.039-.047.017-.101.033-.15.05-.087.032-.172.064-.263.092-.032.01-.06.023-.092.032l-.058.016q-.257.073-.537.134l-.122.027q-.3.063-.618.112l-.124.017c-.198.029-.399.053-.604.074l-.095.01a16.15 16.15 0 01-.835.057c-.235.01-.468.016-.701.016a17.43 17.43 0 01-1.535-.072l-.097-.011a14.698 14.698 0 01-.6-.074l-.125-.017c-.212-.033-.42-.07-.62-.112l-.12-.027a8.673 8.673 0 01-.54-.134c-.018-.006-.037-.01-.053-.016-.034-.01-.062-.022-.094-.032a6.551 6.551 0 01-.262-.091c-.05-.018-.104-.034-.153-.052l-.093-.038-.01-.004a3.768 3.768 0 01-.427-.207l-.028-.017a2.167 2.167 0 01-.308-.223c-.013-.011-.031-.02-.042-.03v.936c0 .337.485.692 1.32.972zm0 2.436a7.471 7.471 0 00.644.182 13.147 13.147 0 002.644.328l.318-.318.323.324a14.377 14.377 0 002.473-.222l1.753-1.753-.063.028-.01.004c-.031.014-.063.027-.096.04-.047.017-.101.033-.15.05-.087.032-.171.063-.263.091-.032.01-.06.022-.092.032-.018.006-.04.01-.058.017a9.015 9.015 0 01-.66.16q-.298.064-.617.112l-.124.017c-.198.029-.399.054-.604.074l-.095.011c-.225.02-.454.037-.682.049l-.153.007a16.115 16.115 0 01-1.402 0l-.154-.007a17.43 17.43 0 01-.68-.049l-.097-.011a14.689 14.689 0 01-.6-.074c-.042-.006-.084-.01-.125-.017a10.679 10.679 0 01-1.28-.274l-.053-.015c-.034-.01-.062-.021-.094-.032a6.551 6.551 0 01-.262-.09c-.05-.018-.104-.034-.153-.053-.03-.012-.063-.024-.093-.038l-.01-.004a3.77 3.77 0 01-.427-.207l-.028-.017a2.169 2.169 0 01-.308-.223c-.014-.01-.031-.02-.042-.03v.936c0 .337.485.693 1.32.972zm9.269-1.6L8.736 11.84l-1.449-1.45-1.053 1.055 2.458 2.458 5.268-5.268z"/></svg>'},Rl={name:"desktop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 3H2v8h5v1H5v1h6v-1H9v-1h5V3zm0 7H3V4h10z"/></svg>'},Dl={name:"donut_chart_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.872 10.956a4.123 4.123 0 01-6.997-2.962v-.007H2v.007a5.995 5.995 0 0010.301 4.182zM8.372 2v1.884a4.13 4.13 0 012.992 6.501l1.429 1.224A6.008 6.008 0 008.37 2zM2.048 7.236h1.897a4.117 4.117 0 013.675-3.352V2A6.012 6.012 0 002.05 7.236z"/></svg>'},Bl={name:"dot_solid_dot_stroke_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 8a3 3 0 11-3-3 3 3 0 013 3zm5-2a2 2 0 102 2 2.002 2.002 0 00-2-2m0-1a3 3 0 11-3 3 3 3 0 013-3z"/></svg>'},Fl={name:"download_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 9v5H2V9h1v4h10V9zm-5.982 2L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1z"/></svg>'},Nl={name:"electronic_chip_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 14H7.333V9.333a2 2 0 012-2H14V13a1 1 0 01-1 1zM12 2a.667.667 0 00-.667.667v2h1.334v-2A.667.667 0 0012 2zM8.444 2a.667.667 0 00-.666.667v2H9.11v-2A.667.667 0 008.444 2zM2 8.444a.667.667 0 00.667.667h2V7.778h-2A.667.667 0 002 8.444zM2 12a.667.667 0 00.667.667h2v-1.334h-2A.667.667 0 002 12zm11.556-8.222v.889a.444.444 0 01-.445.444H10.89a.444.444 0 01-.445-.444v-.89H10v.89a.444.444 0 01-.444.444H7.333a.444.444 0 01-.444-.444v-.89H4.667a.889.889 0 00-.89.89v2.222h.89a.444.444 0 01.444.444v2.223a.444.444 0 01-.444.444h-.89v.444h.89a.444.444 0 01.444.445v2.222a.444.444 0 01-.444.445h-.89V14H6.89V8.222A1.333 1.333 0 018.222 6.89H14V3.778z"/></svg>'},jl={name:"exclamation_mark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.371 11.873h3.256V14H6.37zM6.316 2l.37 8.542h2.628L9.684 2z"/></svg>'},ql={name:"eye_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.856 3.657A7.004 7.004 0 001 8.001a7.588 7.588 0 007.146 4.342A7.002 7.002 0 0015 8a7.586 7.586 0 00-7.144-4.344m-1.199 7.289A5.108 5.108 0 012.443 8s.665-2.585 4.33-3.037a2.786 2.786 0 00-1.414 1.223l2.787 1.22H4.977a3.47 3.47 0 00-.053.576 3.348 3.348 0 001.734 2.962m2.85.02a3.4 3.4 0 00.107-5.908 5.006 5.006 0 013.942 2.944s-.603 2.44-4.05 2.963"/></svg>'},Ul={name:"fancy_a_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.597 9.844H7.865A7.465 7.465 0 016.19 11.96a3.323 3.323 0 01-2.042.667 2.835 2.835 0 01-1.964-.753L2 11.706l1.153-1.152.157.251a1.347 1.347 0 001.2.716 1.976 1.976 0 001.385-.625 11.546 11.546 0 001.722-2.403l2.252-3.88a7.585 7.585 0 00-.679-.037 2.365 2.365 0 00-1.66.54 1.967 1.967 0 00-.556 1.51V6.7l-.067.106-1.564.762.045-.423a3.845 3.845 0 01.645-1.874 3.312 3.312 0 011.34-1.177 6.74 6.74 0 012.208-.443c.127 0 .277-.013.471-.029l.369-.03 1.387-.257.087 2.154.33 3.886a4.862 4.862 0 00.29 1.701.498.498 0 00.528.31c.057 0 .277 0 .641-.03L14 11.33l-.172.83-3.003.506zm-.086-.896l-.275-3.22-1.855 3.22z"/></svg>'},Kl={name:"file_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 3v10h8V7H8V3zm5 0v3h3z"/></svg>'},Wl={name:"file_drawer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 4v10h12V4zm8 4H6V6h4zm4-5H2V2h12z"/></svg>'},Xl={name:"file_search_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 6v6h-3.333a3.662 3.662 0 00.249-1.302A3.701 3.701 0 007.22 7 3.654 3.654 0 006 7.223V2h4v4zm-3-4v3h3zm-1.126 8.698a2.697 2.697 0 01-4.73 1.772L2.521 14l-.48-.823 2.613-1.523a2.698 2.698 0 115.22-.956zm-.952 0a1.745 1.745 0 10-1.745 1.745 1.747 1.747 0 001.745-1.745z"/></svg>'},Yl={name:"filter_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 3.045v1.29h.787a2.069 2.069 0 102.907 2.903l1.32 2.173v4.522l1.973-1.846V9.411l3.878-5.076h1.134v-1.29zm2.033 4.059a1.154 1.154 0 010-2.308c.023 0 .045.006.068.007l1.002 1.575a1.154 1.154 0 01-1.07.726z"/></svg>'},Gl={name:"floppy_disk_checkmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.455 5h-1.041l-1.005 1H12v3H4V6h3.782L6.79 5H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm2-10.99L9.091 5.9 7 3.79l.919-.89 1.164 1.208L12.128 1.1l.872.91"/></svg>'},Ql={name:"floppy_disk_star_arrow_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.5 2.5a1 1 0 10-1 1 1 1 0 001-1zm7.5.002L9.638.819l.496 1.293H7v.828h3.134L9.638 4.18zM12.455 5H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm1-4H4V6h8z"/></svg>'},Jl={name:"floppy_disk_three_dots_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6 3a1 1 0 10-1 1 1 1 0 001-1zm3 0a1 1 0 10-1 1 1 1 0 001-1zm3 0a1 1 0 10-1 1 1 1 0 001-1zm.455 2H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm1-4H4V6h8z"/></svg>'},Zl={name:"folder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 4V3H2v10h12V4zm6 2H3V5h10z"/></svg>'},tc={name:"folder_open_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 3v1.002h6V6h-1V5H3v1H2V3zM2 13h11l1-6H2z"/></svg>'},ec={name:"forward_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.027 14l2.5-12h1.5l-2.5 12h-1.5z"/></svg>'},sc={name:"four_dots_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.5 11A1.5 1.5 0 115 9.5 1.5 1.5 0 016.5 11zM5 3.5A1.5 1.5 0 106.5 5 1.5 1.5 0 005 3.5zm7.5 7.5A1.5 1.5 0 1111 9.5a1.5 1.5 0 011.5 1.5zM11 3.5A1.5 1.5 0 1012.5 5 1.5 1.5 0 0011 3.5z"/></svg>'},ic={name:"function_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 12.643h-1.572l-.898-1.283-.923 1.283h-1.54l1.658-2.146-1.632-2.14h1.572l.883 1.258.888-1.258h1.545l-1.635 2.111zM9.544 4.667H9.31a3.141 3.141 0 00-.394-.1 2.455 2.455 0 00-.483-.05 1.32 1.32 0 00-.832.241 1.334 1.334 0 00-.405.895l-.128.937h1.846v1.282H6.812l-.376 2.462a3.578 3.578 0 01-.462 1.357 2.583 2.583 0 01-.784.808 3.015 3.015 0 01-.938.387A4.823 4.823 0 013.184 13q-.275 0-.629-.03A3.529 3.529 0 012 12.892v-1.815h.12a.56.56 0 00.424.244 2.538 2.538 0 00.5.052 1.304 1.304 0 00.898-.29 1.584 1.584 0 00.424-.985l.33-2.226H3.256V6.59H5.05l.178-1.162a2.942 2.942 0 01.444-1.244 2.516 2.516 0 01.76-.734 2.643 2.643 0 01.94-.356A5.61 5.61 0 018.357 3q.294 0 .588.025t.599.076z"/></svg>'},oc={name:"gauge_simple_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.969 5.196a1.763 1.763 0 011.142-.49 1.763 1.763 0 01-.49 1.142L9.205 8.263l.008.025.065.184.03.093a1.352 1.352 0 01.032.295 1.385 1.385 0 01-2.769 0 1.343 1.343 0 01.033-.294l.034-.11.055-.16.012-.033.014-.014a1.389 1.389 0 01.625-.625l.015-.015.033-.011.16-.055.11-.035a1.32 1.32 0 01.588 0l.11.035.16.055.033.011zM14 8.86a5.979 5.979 0 01-1.799 4.28l-1.309-1.308a4.085 4.085 0 00.83-4.78l.55-.55a2.576 2.576 0 00.64-1.082A5.968 5.968 0 0114 8.86zm-6-6a5.998 5.998 0 00-4.201 10.28l1.308-1.308a4.14 4.14 0 014.645-6.725l.564-.564a2.57 2.57 0 011.07-.635A5.97 5.97 0 008 2.86z"/></svg>'},nc={name:"grid_three_by_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 3v10a1 1 0 001 1h10a1 1 0 001-1V3a1 1 0 00-1-1H3a1 1 0 00-1 1zm4 9H4v-2h2zm.001-2.999H4V7h2.001zm0-3.001H4V4h2.001zM9 12H7v-2h2zm0-2.999H7V7h2zM9 6H7V4h2zm3 6h-2v-2h2zm.001-2.999H10V7h2.001zm0-3.001H10V4h2.001z"/></svg>'},rc={name:"grid_two_by_two_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 9h3v3H4zm5 0h3v3H9zM4 4h3v3H4zm5 0h3v3H9zM2 14h12V2H2z"/></svg>'},ac={name:"hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 14H6V8h3zM8.875 2H6.723A1.991 1.991 0 015 3a2.486 2.486 0 01-2-1H2v4h1a1.797 1.797 0 011.5-1C5.551 5 5.997 6.99 6 7h3c.333-1.539 1-2.436 1.741-2.436C12.222 4.564 14 6.615 14 6.615S13 2 8.875 2z"/></svg>'},lc={name:"hashtag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.76 14l.752-2.914H6.045L5.299 14H3.532l.746-2.914H2v-1.72h2.712l.701-2.807H2.947v-1.72h2.91L6.567 2h1.766l-.71 2.838h2.46L10.8 2h1.768l-.717 2.838H14v1.72h-2.599l-.706 2.807h2.374v1.72h-2.807L9.501 14zM6.447 9.392h2.506l.72-2.85H7.167z"/></svg>'},cc={name:"home_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.988 2L2.5 9H4v5h3v-3h2v3h3V9h1.5L7.988 2z"/></svg>'},hc={name:"hourglass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.774 13.4h-.047v-.49h-.404a2.491 2.491 0 00.355-1.258c0-1.826-2.083-2.886-2.083-3.652s2.083-1.826 2.083-3.652a2.491 2.491 0 00-.355-1.257h.404V2.6h.047a.556.556 0 00.499-.6H4.727a.556.556 0 00.499.6h.047v.49h.404a2.491 2.491 0 00-.355 1.258c0 1.826 2.083 2.87 2.083 3.652s-2.083 1.826-2.083 3.652a2.491 2.491 0 00.355 1.257h-.404v.491h-.047a.556.556 0 00-.499.6h6.546a.556.556 0 00-.499-.6zM8 12.957c-1.565 0-1.975-.585-1.975-1.305a7.183 7.183 0 011.723-.656c.268 0 .289-3.513 0-3.779l-.988-1h2.454l-.962 1c-.268.286-.275 3.779 0 3.779a7.651 7.651 0 011.738.656c0 .72-.409 1.305-1.99 1.305z"/></svg>'},dc={name:"indeterminant_checkbox_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 3a1.001 1.001 0 011 1v8a1.001 1.001 0 01-1 1H4a1.001 1.001 0 01-1-1V4a1.001 1.001 0 011-1h8m0-1H4a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2V4a2 2 0 00-2-2zM4 4v8h8V4zm6 6H6V6h4z"/></svg>'},uc={name:"info_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.415 7.75v3.69H6.376v1.576h4.24V11.44H9.6V6.175H6.376V7.75zm.276-2.698a1.19 1.19 0 002.035-.838 1.164 1.164 0 00-.346-.846 1.193 1.193 0 00-1.693 0 1.158 1.158 0 00-.35.846 1.144 1.144 0 00.354.838z"/></svg>'},pc={name:"info_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm-.697 2.28a.951.951 0 011.35 0 .928.928 0 01.276.675.952.952 0 01-1.905 0 .924.924 0 01.279-.674zM9.7 12H6.3v-1.264h.833V7.777H6.3V6.513h2.584v4.223H9.7z"/></svg>'},vc={name:"key_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.045 7.348l-.652-.652 1.444-.14zm-3.818.698l-4.912 4.912-.395-.396 4.12-4.12zm4.734-2.918l-1.697.136-.395-.395L11 3.176l.72-.067 1.304 1.304zm-3.524-.386l-.651-.653.791-.791zm-1.955-.653v2.607l-5.074 5.075L2 12.946l.791.791 1.432.129.326-.326v-.652l.652-.652h.652l.326-.325v-.652h.651l.978-.978.014-.652.312-.326h.652l.652-.651h2.607l1.676-1.676L14 4.089l-1.955-1.955-2.887.28z"/></svg>'},gc={name:"laptop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 11V3H3v8H2v2h12v-2zm-2 1H5v-1h6zm1-1.996H4V4h8z"/></svg>'},mc={name:"layer_group_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.555 9.546l.89-.445 5.333 2.667 1.778-.89.889.449v1.33L9.778 13.99l-6.223-3.11zm0-6.222L6.222 1.99l6.223 3.112v1.333L9.778 7.768l-6.223-3.11zm0 3.11l.89-.444 5.333 2.667 1.778-.89.889.448v1.33L9.778 10.88 3.555 7.768z"/></svg>'},fc={name:"lightning_bolt_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.732 7.953L6.909 2h3.636L8.364 7.013h2.909L4.727 14l2.21-6.049z"/></svg>'},bc={name:"link_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.465 5.592A2.908 2.908 0 019.963 7.02l-1.06 1.065c-.053-.103-.095-.192-.144-.276a1.48 1.48 0 00-1.277-.769 1.43 1.43 0 00-.977.394c-.75.694-1.469 1.421-2.165 2.168a1.431 1.431 0 00.054 2.038 1.507 1.507 0 001.039.432 1.28 1.28 0 00.953-.417c.103-.11.435-.44.81-.805a3.458 3.458 0 001.908.188c-1.006 1.035-2.179 2.187-2.996 2.38a2.982 2.982 0 01-.693.082 2.91 2.91 0 01-2.182-4.842A46.793 46.793 0 015.53 6.356a2.826 2.826 0 011.935-.764M10.583 2.5a3.001 3.001 0 00-.69.081 10.376 10.376 0 00-2.996 2.377 3.474 3.474 0 01.568-.054 3.58 3.58 0 011.31.249c.38-.332.701-.646.875-.834a1.221 1.221 0 01.913-.395 1.513 1.513 0 011.074.469 1.433 1.433 0 01.022 2.005c-.7.743-1.42 1.47-2.165 2.167a1.419 1.419 0 01-.975.395 1.483 1.483 0 01-1.28-.768c-.048-.085-.089-.175-.151-.298L6.043 8.987a2.882 2.882 0 002.493 1.42 2.808 2.808 0 001.93-.76 54.2 54.2 0 002.266-2.266A2.911 2.911 0 0010.583 2.5"/></svg>'},wc={name:"link_cancel_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9.202 9.45a2.638 2.638 0 01.687 2.519l-1.364.002c.032-.1.062-.183.085-.269a1.343 1.343 0 00-.326-1.312 1.297 1.297 0 00-.88-.374 37.657 37.657 0 00-2.779.002 1.298 1.298 0 00-1.273 1.341 1.367 1.367 0 00.39.944 1.162 1.162 0 00.878.344c.137-.005.562-.002 1.036.004a3.137 3.137 0 001.104 1.344 8.133 8.133 0 01-3.45-.395 2.705 2.705 0 01-.496-.392A2.64 2.64 0 014.52 8.702a42.45 42.45 0 012.951-.003 2.564 2.564 0 011.731.751m3.984.017a2.723 2.723 0 00-.495-.39 9.414 9.414 0 00-3.447-.398 3.151 3.151 0 01.4.33 3.247 3.247 0 01.68 1c.457.031.864.035 1.096.027a1.108 1.108 0 01.839.331 1.373 1.373 0 01.389.99 1.3 1.3 0 01-1.272 1.3c-.926.028-1.854.033-2.78.002a1.287 1.287 0 01-.878-.372 1.345 1.345 0 01-.328-1.313c.023-.086.054-.17.093-.289l-1.371.031a2.614 2.614 0 00.688 2.51 2.547 2.547 0 001.726.751c.968.033 1.94.025 2.908 0a2.641 2.641 0 001.752-4.51m-2.701-3.208L8.71 4.485l1.775-1.775-.71-.71L8 3.775 6.225 2l-.71.71L7.29 4.485 5.515 6.259l.71.71L8 5.195l1.775 1.774z"/></svg>'},xc={name:"list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 13H2v-2h2zm10-2H6v2h8zM4 7H2v2h2zm10 0H6v2h8zM4 3H2v2h2zm10 0H6v2h8z"/></svg>'},yc={name:"list_tree_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 5v2h4v2h-4v2h4v2H8V5H5V3h9v2zM2 5h2V3H2zm5 6H5v2h2zm0-4H5v2h2z"/></svg>'},$c={name:"list_tree_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.953 11.81c.013-.011.032-.02.046-.031v.917c0 .33-.523.678-1.42.953a8.234 8.234 0 01-.694.178 16.116 16.116 0 01-3.382.328 16.089 16.089 0 01-3.38-.328 8.77 8.77 0 01-.693-.179c-.898-.274-1.42-.622-1.42-.952v-.917c.012.01.031.02.045.03a2.34 2.34 0 00.332.218l.03.017a4.235 4.235 0 00.46.202l.01.005.1.037c.053.018.11.034.164.05.093.031.186.062.283.09.033.01.064.022.1.031l.058.015c.184.048.378.092.58.132.043.009.084.018.13.026.214.042.438.078.666.11l.134.017c.21.028.425.051.646.072l.104.01c.242.021.487.037.731.049l.166.007c.251.01.504.016.754.016s.501-.007.754-.016l.164-.007c.246-.012.491-.028.734-.048l.102-.011c.22-.02.436-.044.649-.072.044-.006.09-.01.134-.017q.343-.048.664-.11c.046-.008.088-.017.132-.026q.3-.06.577-.13c.02-.007.043-.012.063-.017.034-.009.064-.021.099-.031.098-.028.189-.059.283-.09.052-.017.11-.032.16-.05.035-.012.07-.024.103-.037l.012-.005a4.252 4.252 0 00.457-.202c.013-.006.022-.013.032-.018a2.468 2.468 0 00.33-.216zm-5.45-2.946c-3.237 0-5.492.767-5.492 1.457 0 .33.523.679 1.42.952a9.998 9.998 0 00.694.179 16.101 16.101 0 003.378.327 16.12 16.12 0 003.382-.327 8.892 8.892 0 00.694-.18C13.477 11 14 10.652 14 10.322c0-.69-2.257-1.457-5.497-1.457zM14 6V5H5V3h2V2H2v1h2v5.581a9.632 9.632 0 011-.255V6h3v2h6V7H9V6z"/></svg>'},Cc={name:"lock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 8V7a3.888 3.888 0 00-4-4 3.822 3.822 0 00-2.81 1.078A4.349 4.349 0 004.062 7v1H3v6h10V8zM6.062 6.986a2.407 2.407 0 01.566-1.516A1.834 1.834 0 018 5a1.883 1.883 0 012 2v1H6.062z"/></svg>'},kc={name:"magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.073 12.29l-2.926-2.926a3.971 3.971 0 10-.783.783l2.927 2.926zM7.01 9.84a2.83 2.83 0 112.83-2.83 2.833 2.833 0 01-2.83 2.83z"/></svg>'},_c={name:"markdown_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14.25 3H1.75a.74.74 0 00-.75.73v8.54a.74.74 0 00.75.73h12.5a.74.74 0 00.75-.73V3.73a.74.74 0 00-.75-.73zm-6.285 7.059h-.991V7.773L5.982 9.35l-.99-1.577v2.286H4V5.934h.91L5.982 7.51l1.073-1.576h.91zm2.459.007L8.848 7.945h1.1V5.934h.99v2.01H12z"/></svg>'},zc={name:"minus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 7h8v2H4z"/></svg>'},Ic={name:"minus_wide_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3 7h10v2H3z"/></svg>'},Oc={name:"mobile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.462 2.077H4.538A.54.54 0 004 2.615v10.77a.54.54 0 00.538.538h5.924a.54.54 0 00.538-.538V2.615a.54.54 0 00-.538-.538zM10 12H5V3h5z"/></svg>'},Ac={name:"notebook_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 2h1v3h-1zm0 8h1V6h-1zm0 4h1v-3h-1zM4 7h6V6H4zm0-2h6V4H4zM2 2h10v12H2z"/></svg>'},Sc={name:"paste_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 5V3H3v6h2v1H2V2h8v3zM6 6v8h8V6z"/></svg>'},Ec={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11.413 2.674c.326-.288 1.04-.013 1.807.857.768.869.952 1.61.626 1.898l-1.378 1.218-2.433-2.757zm-7.381 9.493l2.97-1.396-1.477.254.064-1.459-.48.25.156-1.013-1.754 2.774zm3.319-1.002L2 13.435 4.917 8.41l3.15-2.78L10.5 8.383zm4.293-3.866L9.21 4.544c-.177-.202.222-.543.394-.349l2.434 2.756c.175.2-.224.54-.394.348m-.783.7L8.428 5.244c-.178-.201.22-.542.393-.347l2.433 2.755c.176.199-.223.54-.393.347"/></svg>'},Hc={name:"pot_with_lid_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 4V2H5v2H2v1h12V4zM6 4V3h4v1zm-4 9h1v1h10v-1h1V6H2z"/></svg>'},Mc={name:"question_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11.303 5.594a3.294 3.294 0 01-.195 1.176 2.63 2.63 0 01-.549.885 3.96 3.96 0 01-.852.672 7.46 7.46 0 01-1.121.54v1.501H6.27V8.15q.467-.125.845-.256a3.199 3.199 0 00.793-.429 2.098 2.098 0 00.608-.612 1.45 1.45 0 00.22-.791 1.042 1.042 0 00-.423-.939 2.163 2.163 0 00-1.195-.28 3.338 3.338 0 00-1.068.204 4.853 4.853 0 00-1.09.526h-.263V3.566a8.148 8.148 0 011.296-.372A8.205 8.205 0 017.77 3a4.196 4.196 0 012.579.718 2.241 2.241 0 01.954 1.876zM8.77 13H6.112v-1.737H8.77z"/></svg>'},Vc={name:"running_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 7.985l-8.002 4.013L8 8 5.998 3.987zM3.995 2.997L2 2l3 6-3 6 2.002-1.005L6.5 8z"/></svg>'},Lc={name:"server_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 3H3v3h10zM9 5H4V4h5zM3 7v3h10V7zm6 2H4V8h5zm3 4H3v-2h10v1a1 1 0 01-1 1z"/></svg>'},Tc={name:"share_nodes_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10c-.601 0-1.134.27-1.5.69L5.954 8.419a2 2 0 000-.836l4.544-2.273c.367.42.9.691 1.501.691a2 2 0 10-1.955-1.582L5.501 6.691C5.134 6.27 4.6 6 4 6a2 2 0 100 4c.601 0 1.134-.27 1.5-.69l4.545 2.272A2 2 0 1012 10z"/></svg>'},Pc={name:"share_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.984 2.012l-2.069 6.153-.565-2.722-3.544 3.544-.822-.822 3.544-3.544-2.723-.566zM2 4v10h10v-4h-2v2H4V6h2V4z"/></svg>'},Rc={name:"shield_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v5.11C2 10.39 8 14 8 14s6-3.281 6-6.89V2zm4.788 8.2L4 7.388 5.225 6.2l1.553 1.61 4.06-4.01L12 5.013z"/></svg>'},Dc={name:"shield_xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v5.11C2 10.39 8 14 8 14s6-3.281 6-6.89V2zm9.5 7.346L10.346 10.5 8 8.154 5.654 10.5 4.5 9.346 6.846 7 4.5 4.654 5.654 3.5 8 5.846 10.346 3.5 11.5 4.654 9.154 7z"/></svg>'},Bc={name:"signal_bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 14H2V2h2zm3-9H5v9h2zm3 3H8v6h2zm3 3h-2v3h2z"/></svg>'},Fc={name:"sine_graph_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 12H2v-1.63a4.61 4.61 0 001.766-1.967c.636-1.06 1.082-1.705 1.902-1.705s1.266.644 1.902 1.705c.615 1.026 1.312 2.189 2.766 2.189 1.453 0 2.15-1.163 2.764-2.189a6.459 6.459 0 01.9-1.267zm0-6.054a4.613 4.613 0 00-1.764 1.967c-.635 1.061-1.08 1.705-1.9 1.705-.82 0-1.266-.644-1.902-1.705-.615-1.026-1.312-2.189-2.766-2.189S3.517 6.887 2.902 7.913A6.468 6.468 0 012 9.18V4h12z"/></svg>'},Nc={name:"skip_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.002 8.29L2 12.304v-8.01zM14 2h-2v12h2z"/></svg>'},jc={name:"spinner",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.967 7.143h-.762a4.885 4.885 0 013.938-3.94v.771a4.123 4.123 0 00-3.176 3.169zM8 2v1.875A4.125 4.125 0 113.875 8H2a6 6 0 106-6z"/></svg>'},qc={name:"square_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm4.788 9.2L4 8.387 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013z"/></svg>'},Uc={name:"square_t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm9.033 4.199l-.016-.076a2.34 2.34 0 00-.497-1.18 2.108 2.108 0 00-1.281-.26h-.56v5.941c0 .552.11.718.176.768a1.793 1.793 0 00.88.196l.09.006V12H6.193v-.405l.09-.007c.59-.046.8-.144.87-.218.06-.06.158-.255.158-.884V4.683h-.565a2.19 2.19 0 00-1.274.262 2.015 2.015 0 00-.498 1.174l-.015.08H4.49L4.565 4h6.859l.07 2.199z"/></svg>'},Kc={name:"t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.684 13v-.729l.221-.018c.764-.058.947-.19.985-.229.026-.026.157-.202.157-.992V4.078H6.48a2.46 2.46 0 00-1.477.291 2.262 2.262 0 00-.563 1.36l-.038.196h-.797L3.704 3h8.6l.092 2.925h-.784l-.021-.095a2.817 2.817 0 00-.589-1.466c-.147-.131-.523-.286-1.48-.286H8.96V11.2c0 .679.138.819.165.84a2.092 2.092 0 001.01.213l.223.018V13z"/></svg>'},Wc={name:"tablet_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.5 2h-9a.501.501 0 00-.5.5v11a.501.501 0 00.5.5h9a.501.501 0 00.5-.5v-11a.501.501 0 00-.5-.5zM8 13.25a.75.75 0 11.75-.75.752.752 0 01-.75.75zM12 11H4V3h8z"/></svg>'},Xc={name:"tag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path class="cls-1" d="M8.044 3.588L5.23 3 3 5.229l.588 2.816L8.543 13 13 8.543zM6.5 6.499a1.082 1.082 0 11-.013-1.516A1.072 1.072 0 016.499 6.5z"/></svg>'},Yc={name:"tags_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path class="cls-1" d="M8.044 2.338L5.23 1.75 3 3.979l.588 2.816 4.955 4.955L13 7.293zM6.5 5.249a1.082 1.082 0 11-.013-1.516 1.072 1.072 0 01.013 1.516zm6.251 4.794L8.543 14.25 4.257 9.964l-.283-1.369 4.569 4.57L12.207 9.5z"/></svg>'},Gc={name:"target_crosshairs_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 6.01a2 2 0 102 2 2 2 0 00-2-2zm4.9.99A5.005 5.005 0 009 3.1V1H7v2.1A5.005 5.005 0 003.1 7H1v2h2.1A5.005 5.005 0 007 12.9V15h2v-2.1A5.005 5.005 0 0012.9 9H15V7zM8 12a4 4 0 114-4 4.005 4.005 0 01-4 4z"/></svg>'},Qc={name:"target_crosshairs_progress_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M15 7v2h-2.1A5.005 5.005 0 019 12.9V15H7v-2.108a4.99 4.99 0 01-3.898-3.985l-1.52.583 2.003-4 1.998 4L4.11 8.9A3.999 3.999 0 107 4.13V1h2v2.1A5.005 5.005 0 0112.9 7zm-5 1.01a2 2 0 11-2-2 2 2 0 012 2z"/></svg>'},Jc={name:"three_dots_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 6.5A1.5 1.5 0 116.5 8 1.5 1.5 0 018 6.5zM.5 8A1.5 1.5 0 102 6.5 1.5 1.5 0 00.5 8zm12 0A1.5 1.5 0 1014 6.5 1.5 1.5 0 0012.5 8z"/></svg>'},Zc={name:"three_vertical_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 3h2v10h-2zM7 3h2v10H7zM3 3h2v10H3z"/></svg>'},th={name:"thumbtack_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 7l-.625-5H10V1H5v1h.625L5 7a2 2 0 00-2 2h4v4l.5 2 .5-2V9h4a2 2 0 00-2-2z"/></svg>'},eh={name:"tile_size_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 8h6v6H2zm0-6v5h2V4h8v8H9v2h5V2z"/></svg>'},sh={name:"times_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 9.103L5.102 12 4 10.897 6.898 8 4 5.103 5.102 4 8 6.897 10.898 4 12 5.103 9.102 8 12 10.897 10.898 12 8 9.103z"/></svg>'},ih={name:"trash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 4V2H6v2H3v2h1v8h8V6h1V4zm-3 9H6V6h1zm2-9H7V3h2zm1 9H9V6h1z"/></svg>'},oh={name:"triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2L2 14h12zm0 4.875l2.438 4.875H5.585z"/></svg>'},nh={name:"true_false_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.4 3.003H2.6a1.6 1.6 0 00-1.6 1.6v6.8a1.595 1.595 0 001.6 1.594h10.8a1.595 1.595 0 001.6-1.594v-6.8a1.6 1.6 0 00-1.6-1.6zM7.587 6.58H6.141v3.736H4.946V6.58H3.5v-.896h4.087zm4.913 0h-2.13v.862h1.974v.896H10.37v1.978H9.181V5.684H12.5z"/></svg>'},rh={name:"unlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.126 8.585c-.581.123-1.117.241-1.362.303a1.547 1.547 0 00-1.182 1.51l.01.155.021.193a1.69 1.69 0 00.216.54l.02.038.105.134.127.144.054.047a1.509 1.509 0 00.992.36h.049a1.306 1.306 0 00.224-.034l.03.015.006-.001c.463-.088.925-.186 1.387-.287l.343 1.538c-.488.11-.976.221-1.467.314a3.112 3.112 0 01-.571.053 3.148 3.148 0 01-2.99-2.258l-.011-.045a3.04 3.04 0 01-.076-.35 3.127 3.127 0 01-.03-.206l-.004-.089a3.112 3.112 0 01-.016-.336A3.164 3.164 0 014.35 7.356c.272-.068.808-.203.802-.206l.623-.137zm4.31-1.544l-.353 1.575c.737.176 1.38.334 1.413.346a1.514 1.514 0 01.789.768l.029.066.053.185.038.164.002.045a1.667 1.667 0 01-.035.58l-.064.185-.056.142a1.546 1.546 0 01-1.4.893 1.661 1.661 0 01-.313-.03 54.946 54.946 0 01-1.15-.24l-.347 1.55.406.097-.013-.017c.276.057.55.118.826.173a3.02 3.02 0 00.578.056 3.188 3.188 0 002.811-1.74 3.018 3.018 0 00.129-.311l.033-.083.061-.197a3.047 3.047 0 00.082-.351l.008-.044a3.132 3.132 0 00-2.281-3.513c-.297-.077-.777-.19-1.245-.299M7.932 2.393L6.875 6.075h.75l.3 3.032 1.2-3.782h-.75z"/></svg>'},ah={name:"unlock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.062 8V5.986a2.407 2.407 0 01.566-1.516A1.834 1.834 0 018 4a1.883 1.883 0 012 2h2a3.888 3.888 0 00-4-4 3.822 3.822 0 00-2.81 1.078A4.349 4.349 0 004.062 6v2H3v6h10V8z"/></svg>'},lh={name:"upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 9v5H2V9h1v4h10V9zM7.982 2L5 7.9l2.004-1.312L7 11h2V6.613L11 7.9z"/></svg>'},ch={name:"user_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.004 2a2.18 2.18 0 012.184 2.182v1.09c.647 0 .378.932 0 1.455a4.275 4.275 0 01-.335.364 8.55 8.55 0 01-.31.742l.208 1.076h.437l2.75 1.527A2.148 2.148 0 0114 12.291V14H2v-1.673a2.163 2.163 0 011.063-1.869l2.758-1.55h.437l.21-1.068a8.52 8.52 0 01-.312-.749 4.275 4.275 0 01-.335-.364c-.378-.523-.647-1.454 0-1.454v-1.09A2.18 2.18 0 018.004 2"/></svg>'},hh={name:"watch_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.57 7.28l-.06.013a4.556 4.556 0 00-1.38-2.609V3.44a.481.481 0 00-.48-.48h-.48V2H5.85v.96h-.48a.481.481 0 00-.48.48v1.24a4.545 4.545 0 000 6.64v1.24a.481.481 0 00.48.48h.48V14h4.32v-.96h.48a.481.481 0 00.48-.48v-1.24a4.547 4.547 0 001.379-2.612l.061.012a.481.481 0 00.48-.48v-.48a.481.481 0 00-.48-.48zm-2.3 2.662a1.59 1.59 0 00-.182-.26L8.747 8.338a.785.785 0 000-.666c.132-.133.894-.899.965-1a1.216 1.216 0 00.14-.485 1.004 1.004 0 00-.515.157l-.955.957a.784.784 0 100 1.408c.163.167.956.974 1.236 1.254a1.477 1.477 0 00.36.276 3.055 3.055 0 11.291-.297z"/></svg>'},dh={name:"waveform_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9.77 11.225c-1.582 0-2.076-1.262-2.512-2.376l-.17-.426a26.242 26.242 0 01-.218-.595c-.32-.9-.41-1.046-.652-1.046-.24 0-.308.065-.612.88-.088.237-.188.504-.317.801l-.098.238c-.486 1.178-1.037 2.513-2.747 2.513H2V9.221h.444c.318 0 .48-.316.9-1.292l.133-.307c.06-.148.121-.304.181-.457.435-1.116.927-2.382 2.56-2.382 1.59 0 2.063 1.274 2.48 2.398l.168.443c.082.205.155.396.221.572.345.905.427 1.03.684 1.03.259 0 .409-.317.742-1.157.08-.201.167-.42.266-.652l.097-.228c.477-1.127 1.016-2.405 2.668-2.412l.444-.002L14 6.782h-.447c-.367 0-.506.245-.994 1.387 0 0-.179.434-.238.584-.433 1.101-.973 2.472-2.55 2.472z"/></svg>'},uh={name:"webvi_custom_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm4.089 2.526h-1.868a5.598 5.598 0 00-.854-1.712 5.363 5.363 0 012.722 1.712zm-2.722 8.66a5.599 5.599 0 00.854-1.712h1.868a5.363 5.363 0 01-2.722 1.712zm3.181-2.344h-2.146a10.644 10.644 0 00.208-1.187L9.923 10c-.05.294-.106.58-.176.843h-1.51l-1.263.632h2.583C9.145 12.647 8.554 13.368 8 13.368c-.517 0-1.065-.633-1.47-1.672l-.56.28a5.018 5.018 0 00.663 1.21 5.363 5.363 0 01-2.722-1.712h.317a.955.955 0 01-.017-.17v-.462h-.76a5.33 5.33 0 01-.804-2.526h1.564v-.632H2.646a5.33 5.33 0 01.805-2.526h.759V4.69a.95.95 0 01.016-.164h-.316a5.363 5.363 0 012.722-1.712 5.017 5.017 0 00-.663 1.207l.56.28c.406-1.037.953-1.67 1.47-1.67.554 0 1.145.722 1.557 1.895H6.98l1.261.632h1.507c.07.263.126.548.176.842l.687.344a10.66 10.66 0 00-.208-1.186h2.146a5.33 5.33 0 01.804 2.526h-.67a.92.92 0 01-.001.632h.671a5.33 5.33 0 01-.804 2.526zM12.105 8a.326.326 0 01-.19.296l-6.598 3.3-.148.036a.327.327 0 01-.327-.328V4.69a.327.327 0 01.492-.281l6.595 3.302a.326.326 0 01.176.29z"/></svg>'},ph={name:"webvi_host_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm4.09 2.526H10.22a5.6 5.6 0 00-.854-1.712 5.364 5.364 0 012.722 1.712zm-2.723 8.66a5.6 5.6 0 00.854-1.712h1.868a5.363 5.363 0 01-2.722 1.712zm3.181-2.344h-2.146a10.657 10.657 0 00.208-1.187L9.923 10a9.85 9.85 0 01-.176.843h-1.51l-1.263.632h2.583C9.145 12.647 8.554 13.368 8 13.368c-.517 0-1.064-.633-1.47-1.672l-.56.28a5.02 5.02 0 00.663 1.21 5.363 5.363 0 01-2.722-1.712h.317a.96.96 0 01-.017-.17v-.462h-.76a5.33 5.33 0 01-.804-2.526H4.21v-.632H2.647a5.33 5.33 0 01.805-2.526h.759V4.69a.95.95 0 01.016-.164h-.316a5.364 5.364 0 012.722-1.712 5.02 5.02 0 00-.663 1.207l.56.28c.406-1.037.953-1.67 1.47-1.67.554 0 1.145.722 1.557 1.895H6.98l1.262.632h1.506c.07.263.126.548.176.842l.687.344a10.646 10.646 0 00-.208-1.186h2.146a5.33 5.33 0 01.804 2.526h-.67a.92.92 0 01-.001.632h.671a5.33 5.33 0 01-.804 2.526zm-.619-3.131L5.334 4.409a.327.327 0 00-.492.281v6.613a.327.327 0 00.327.328l.148-.035 6.598-3.3a.326.326 0 00.014-.585zm-6.087 2.505V5.78L10.274 8z"/></svg>'},vh={name:"window_code_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm11 11H3V5h10zM4 9.135l2.698-1.118v.75l-1.588.65 1.588.646v.75l-2.694-1.12zm4.42-1.49h.792l-1.565 3.71h-.783zM12 9.135v.557l-2.694 1.12v-.75l.062-.024 1.526-.626-1.588-.648v-.747z"/></svg>'},gh={name:"window_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm11 11H3V5h10zM7 8H4V6h3zm5 2H4V9h8zm0 2H4v-1h8z"/></svg>'},mh={name:"wrench_hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.286 11.714l-5.791-5.79a2.504 2.504 0 00.17-.755 2.149 2.149 0 00-.095-.814 2.12 2.12 0 00-.55-.904 2.328 2.328 0 00-1.76-.685h-.045a2.104 2.104 0 00-.718.155l1.102 1.104.32.32.244.245a1.864 1.864 0 01-.22.854 1.043 1.043 0 01-.114.145 1.648 1.648 0 01-1.003.335L2.61 4.704l-.449-.449a2.074 2.074 0 00-.135.545l-.015.105a2.337 2.337 0 00.384 1.518 2.51 2.51 0 00.295.36 2.205 2.205 0 001.576.65 2.453 2.453 0 00.898-.175l4.793 4.796 1.203 1.2h.668l.663-.665v-.67zM5.75 8.908l1.367 1.367-2.988 2.987h-.923l-.45-.45v-.916zM14 5.906l-1.81 1.809-1.298-1.216-1.38 1.38-1.367-1.365 1.374-1.382-1.622-1.62.683-.774 2.252.45z"/></svg>'},fh={name:"xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 4.667L9.667 7.999 13 11.333 11.333 13 8 9.667 4.667 13 3 11.333 6.333 8 3 4.667 4.667 3 8 6.333 11.333 3z"/></svg>'},bh={name:"xmark_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.033 14.026L4.9 10.866 6.277 9.53l1.744 1.81 4.562-4.507 1.307 1.363zm1.155-10.68l-1.321-1.32-2.312 2.311-2.311-2.311-1.321 1.32 2.311 2.312L1.923 7.97l1.32 1.32 2.312-2.31 2.312 2.31 1.32-1.32-2.31-2.312z"/></svg>'},wh=`:${to}`,xh=ut`
|
|
1113
|
-
${
|
|
1111
|
+
Fi.getOrCreate().withPrefix("nimble").register(Ma())
|
|
1112
|
+
const Va={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 7H9V3H7v4H3v2h4v4h2V9h4V7z"/></svg>'},La={name:"arrow_down_right_and_arrow_up_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.171 13.933l-2.276-2.247-.447 2.284-1.732-5.246 5.217 1.753-2.284.456 2.291 2.26zM2 2.746l2.29 2.261-2.283.456 5.217 1.753L5.492 1.97l-.447 2.284-2.276-2.247z"/></svg>'},Ta={name:"arrow_expander_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.5 4.737l1.11-.732 3.357 5.472L11.397 4l1.103.743L7.955 12 3.5 4.737z"/></svg>'},Pa={name:"arrow_expander_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11.263 3.5l.732 1.11-5.472 3.357L12 11.397l-.743 1.103L4 7.955 11.263 3.5z"/></svg>'},Ra={name:"arrow_expander_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.737 12.5l-.732-1.11 5.472-3.357L4 4.603 4.743 3.5 12 8.045 4.737 12.5z"/></svg>'},Da={name:"arrow_expander_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.5 11.263l-1.11.732-3.357-5.472L4.603 12 3.5 11.257 8.045 4l4.455 7.263z"/></svg>'},Ba={name:"arrow_left_from_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 14h2V2h-2zM2 7.982L7.9 5 6.588 7.004 11 7v2H6.613L7.9 11z"/></svg>'},Fa={name:"arrow_partial_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 11.988a3.086 3.086 0 003.143-3.025 3.08 3.08 0 00-3.085-3.02v.088l.826 2.067-5.598-2.796L8.884 2.5l-.742 1.932a4.619 4.619 0 014.572 4.53A4.629 4.629 0 018 13.5z"/></svg>'},Na={name:"arrow_right_to_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 14h2V2h-2zm-6.9-3l1.287-2H2V7l4.412.004L5.1 5 11 7.982z"/></svg>'},ja={name:"arrow_rotate_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.9 2.773v1.715a3.366 3.366 0 013.3 3.428 3.366 3.366 0 01-3.3 3.429 3.36 3.36 0 01-3.293-3.366h.095l2.255.901-3.05-6.107L1.85 8.88l2.108-.808A5.039 5.039 0 008.9 13.059a5.05 5.05 0 004.95-5.143A5.05 5.05 0 008.9 2.773z"/></svg>'},qa={name:"arrow_u_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.857 9.453l-2.571-1.68v.908a3 3 0 003 3 3 3 0 003-3V3.11H14v5.571a4.714 4.714 0 01-4.714 4.715A4.714 4.714 0 014.57 8.68v-.908L2 9.453l3.403-6.849z"/></svg>'},Ua={name:"arrow_up_left_and_arrow_down_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.195 4.977l-.451 2.296L2 2l5.256 1.762-2.301.458 6.849 6.803.452-2.296L14 14l-5.256-1.762 2.301-.458-6.85-6.803z"/></svg>'},Ka={name:"arrows_maximize_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.26 8.735L14 14l-5.25-1.763 2.295-.457-3.03-3.022L8 8.742l-.015.016.015.014-3.023 3.023 2.296.45L2 13.985l1.762-5.243.458 2.295 3.015-3.015.007-.007L7.258 8l-.016-.015L7.227 8l-3.03-3.03-.457 2.295L2 2l5.25 1.762-2.295.458 3.03 3.022.015.016.015-.016L8 7.227l3.023-3.022-2.296-.45L14 2.015l-1.762 5.243-.458-2.295L8.742 8l.016.015L8.773 8l3.03 3.03.457-2.295z"/></svg>'},Wa={name:"arrows_repeat_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.75 11.75L10 14l-6-3 6-3-1.25 2.25zM8 11h1a4 4 0 004-4M7.25 5.75L6 8l6-3-6-3 1.25 2.25zM8 5H7a4 4 0 00-4 4"/></svg>'},Xa={name:"bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 13v-2h12v2zm0-4V7h12v2zm0-4V3h12v2z"/></svg>'},Ya={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 14a2.05 2.05 0 01-2-2h4a2.05 2.05 0 01-2 2zm-5.25-3s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.297.098 2.145.587 2.25 1.43v.483c0 .32.108.426.183.463H11s.25 0 .25.483v.02s.5 4.92 1.5 4.92c.5 0 .5.745.5.745z"/></svg>'},Ga={name:"bell_and_comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.836 4.75H9.57a.71.71 0 00-.71.71v2.032a.71.71 0 00.71.711h.356L9.57 9.625l2.488-1.422h1.778a.71.71 0 00.71-.71V5.46a.71.71 0 00-.71-.711zM8.196 11H2.75s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.224.092 2.04.537 2.217 1.294H9.57a1.713 1.713 0 00-1.71 1.71v2.032a1.712 1.712 0 00.844 1.475zM6 12h4a2.05 2.05 0 01-2 2 2.05 2.05 0 01-2-2zm7.25-1H9.18l2.868-1.64c.198.527.431.894.702.894.5 0 .5.746.5.746z"/></svg>'},Qa={name:"bell_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.042 11h2a1 1 0 01-2 0zm4.5-1h-7s0-.497.333-.497h.043c.624 0 .957-3.28.957-3.28 0-.335.167-.335.167-.335h.044c.05-.025.122-.095.122-.309v-.322c.07-.561.636-.888 1.5-.953v-.175c0-.054.06-.1.146-.129h.375c.086.029.146.075.146.129v.175c.865.065 1.43.392 1.5.953v.322c0 .214.072.284.122.309h.045s.166 0 .166.322v.014s.334 3.279 1 3.279c.334 0 .334.497.334.497zm-3.5-7.5a5.5 5.5 0 11-5.5 5.5 5.506 5.506 0 015.5-5.5m0-1a6.5 6.5 0 106.5 6.5 6.5 6.5 0 00-6.5-6.5z"/></svg>'},Ja={name:"bell_solid_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M1.5 8A6.5 6.5 0 008 14.5 6.5 6.5 0 0014.5 8 6.5 6.5 0 008 1.5 6.5 6.5 0 001.5 8zM8 12a1.025 1.025 0 01-1-1h2a1.025 1.025 0 01-1 1zm-3.5-2s0-.497.333-.497h.043c.624 0 .957-3.28.957-3.28 0-.335.167-.335.167-.335h.045c.05-.025.122-.095.122-.309v-.322c.07-.561.635-.888 1.5-.953v-.175c0-.054.06-.1.145-.129h.376c.085.029.145.075.145.129v.175c.865.065 1.43.392 1.5.953v.322c0 .214.073.284.122.309H10s.167 0 .167.322v.014s.333 3.279 1 3.279c.333 0 .333.497.333.497z"/></svg>'},Za={name:"block_with_ribbon_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v10h4.762A4.496 4.496 0 0113 5.762V2zm12 7.5a3.5 3.5 0 10-6 2.442V14l2.5-1.667L13 14v-2.058A3.485 3.485 0 0014 9.5zM10.5 8A1.5 1.5 0 119 9.5 1.5 1.5 0 0110.5 8z"/></svg>'},tl={name:"book_magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6 10c0-.347.058-.678.142-1H5V8h1.556c.22-.378.498-.714.826-1H5V6h5c.732 0 1.41.212 2 .556V2H3v11h4.382A3.975 3.975 0 016 10zM5 4h5v1H5V4z"/><path class="cls-1" d="M9.99 7.01l-.076.002a3 3 0 101.799 5.452l1.593 1.53.69-.725-1.58-1.516a2.973 2.973 0 00.57-1.816A3 3 0 009.99 7.01zM10 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2z"/></svg>'},el={name:"calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 4.023V2.977A.976.976 0 014.977 2h.046A.976.976 0 016 2.977v1.046A.977.977 0 015.023 5h-.046A.977.977 0 014 4.023zM13 4v.023A1.98 1.98 0 0111.023 6h-.046A1.98 1.98 0 019 4.023V4H7v.023A1.98 1.98 0 015.023 6h-.046A1.98 1.98 0 013 4.023V4a1 1 0 00-1 1v8a1 1 0 001 1h10a1 1 0 001-1V5a1 1 0 00-1-1zm-7 8H4v-1h2zm.001-1.999H4V9h2.001zm0-2.001H4V7h2.001zM9 12H7v-1h2zm0-1.999H7V9h2zM9 8H7V7h2zm3 4h-2v-1h2zm.001-1.999H10V9h2.001zm0-2.001H10V7h2.001zM10 4.023V2.977A.976.976 0 0110.977 2h.046a.976.976 0 01.977.977v1.046a.977.977 0 01-.977.977h-.046A.977.977 0 0110 4.023z"/></svg>'},il={name:"chart_diagram_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3z"/></svg>'},sl={name:"chart_diagram_child_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3zm-8 2H3v-1h1zm4 0H7v-1h1zm4 0h-1v-1h1z"/></svg>'},ol={name:"chart_diagram_parent_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3zM7 4V3h1v1z"/></svg>'},nl={name:"chart_diagram_parent_focus_two_child_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3zm-6 2H4v-1h1zm6 0h-1v-1h1z"/></svg>'},rl={name:"check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 5.287L6.182 12 3 8.867l1.363-1.343L6.24 9.37 11.693 4z"/></svg>'},al={name:"check_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle class="cls-1" cx="12.5" cy="11.5" r="1.5"/><path class="cls-2" d="M14 4.693l-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545z"/></svg>'},ll={name:"circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm0 9.429A3.429 3.429 0 1111.429 8 3.429 3.429 0 018 11.429z"/></svg>'},cl={name:"circle_filled_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle class="cls-1" cx="8" cy="8" r="4"/></svg>'},hl={name:"circle_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 14A6.1 6.1 0 017 2v2.686a3.475 3.475 0 000 6.628zM9 2v2.686a3.475 3.475 0 010 6.628V14A6.1 6.1 0 009 2z"/></svg>'},dl={name:"circle_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm-1.212 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013z"/></svg>'},ul={name:"circle_partial_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 2v2.686a3.475 3.475 0 010 6.628V14A6.1 6.1 0 009 2z"/><path class="cls-2" d="M7 11.314a3.475 3.475 0 010-6.628V2a6.1 6.1 0 000 12z"/></svg>'},pl={name:"circle_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm.075 1.714a4.281 4.281 0 013.573 6.647L5.714 4.427a4.262 4.262 0 012.36-.713zM3.789 8a4.261 4.261 0 01.713-2.36l5.934 5.933A4.281 4.281 0 013.789 8z"/></svg>'},vl={name:"circle_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm.075 1.714a4.263 4.263 0 012.409.743l-2.37 2.37-2.4-2.4a4.262 4.262 0 012.36-.713zM4.502 5.64l2.4 2.4-2.37 2.37a4.273 4.273 0 01-.03-4.77zm3.573 6.647a4.256 4.256 0 01-2.31-.685l2.349-2.35 2.322 2.322a4.261 4.261 0 01-2.361.713zm3.573-1.925L9.326 8.039l2.35-2.349a4.251 4.251 0 01-.028 4.67z"/></svg>'},gl={name:"clipboard_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 5H5a2 2 0 012-2V2a1 1 0 012 0v1a2 2 0 012 2zm1-2v9H4V3H3a1 1 0 00-1 1v9a1 1 0 001 1h10a1 1 0 001-1V4a1 1 0 00-1-1zm-2 4H5v1h5zM8 9H5v1h3z"/></svg>'},ml={name:"clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6m.576 4.87l1.555-1.557a1.635 1.635 0 01.84-.256 1.979 1.979 0 01-.23.791c-.115.163-1.356 1.41-1.571 1.626a1.278 1.278 0 010 1.085l2.376 2.38a1.597 1.597 0 01.458 1.072 1.621 1.621 0 01-1.222-.613c-.456-.456-1.94-1.963-2.207-2.235a1.275 1.275 0 110-2.293"/></svg>'},fl={name:"clock_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.108 7.392l.955-.957a1.004 1.004 0 01.516-.157 1.215 1.215 0 01-.14.486c-.072.1-.834.866-.966.999a.785.785 0 010 .666l1.341 1.344a.981.981 0 01.281.658.996.996 0 01-.75-.376c-.28-.28-1.073-1.088-1.237-1.255a.783.783 0 110-1.408m5.69 2.292L14 7.324l-1.327-.113a4.76 4.76 0 00-.402-1.26l1.02-.86-1.527-1.811-1.019.86a4.726 4.726 0 00-.563-.344 4.61 4.61 0 00-.612-.265l.114-1.329L7.324 2l-.113 1.329a4.77 4.77 0 00-1.26.401l-.86-1.02L3.28 4.237l.858 1.02A4.771 4.771 0 003.53 6.43l-1.329-.114L2 8.676l1.329.114a4.69 4.69 0 00.401 1.26l-1.02.86 1.526 1.811 1.02-.859a4.666 4.666 0 001.175.608l-.113 1.33 2.358.2.114-1.328a4.688 4.688 0 001.26-.4l.86 1.02 1.81-1.527-.858-1.02a4.687 4.687 0 00.608-1.175zM8 11.45A3.45 3.45 0 1111.45 8 3.45 3.45 0 018 11.45z"/></svg>'},bl={name:"clock_triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 3a4.951 4.951 0 00-2.152.505L7.096 6H3.422A4.997 4.997 0 108 3zm2.003 7.616a453.75 453.75 0 01-1.675-1.7 1.061 1.061 0 110-1.907l1.294-1.297a1.36 1.36 0 01.699-.212 1.646 1.646 0 01-.19.658c-.097.136-1.13 1.173-1.309 1.353a1.063 1.063 0 010 .903l1.817 1.82a1.33 1.33 0 01.381.891 1.35 1.35 0 01-1.017-.51z"/><path class="cls-2" d="M5.477 5H1.522L3.5 1.045 5.477 5z"/></svg>'},wl={name:"clone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6z"/></svg>'},xl={name:"cloud_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.08 11.977a5.123 5.123 0 01-1.295-.2C2.754 11.46 1.883 10.2 1.883 9.022a2.963 2.963 0 012.63-2.937A4.203 4.203 0 018.432 3.48a4.254 4.254 0 014.249 4.17 2.251 2.251 0 011.437 2.09 2.24 2.24 0 01-2.238 2.237l-4.947.003c-1.01 0-1.79-.001-1.853-.003zm-.228-4.573c-.899 0-1.63.725-1.63 1.618 0 .842.702 1.61 1.474 1.61l7.183.007a.9.9 0 000-1.799.883.883 0 00-.337.067l-.493.202.159-.508a2.914 2.914 0 00-2.777-3.783 2.897 2.897 0 00-2.868 2.436l-.044.268-.264-.067a1.641 1.641 0 00-.403-.051z"/></svg>'},yl={name:"cloud_upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.476 7.298l-1.927 3.848 1.48-.568v3.407h.948v-3.407l1.42.568zM15 9.005a2.374 2.374 0 01-2.371 2.371h-.998l-.5-1h1.498a1.371 1.371 0 10-.516-2.64A3.77 3.77 0 104.797 5.99 2.238 2.238 0 002 8.148a2.223 2.223 0 002.057 2.22l1.758.009-.448.894a10.567 10.567 0 01-2.31-.121 3.224 3.224 0 01.993-6.225 4.77 4.77 0 019.236 1.68c0 .04 0 .081-.002.121A2.375 2.375 0 0115 9.006z"/></svg>'},$l={name:"cloud_with_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.429 10.1l.001-.101A3.998 3.998 0 004.69 8.59a2.715 2.715 0 00-2.557 2.7 2.782 2.782 0 001.725 2.516 4.854 4.854 0 001.225.19h.004c.19.006 6.792 0 6.792 0a1.987 1.987 0 00.55-3.897zm-.55 3.06l-7.183-.008a1.867 1.867 0 01.156-3.728 1.891 1.891 0 01.464.06 3.16 3.16 0 116.13 1.462 1.149 1.149 0 11.433 2.213zM4.5 4.5a1 1 0 111-1 1 1 0 01-1 1zm5.138.681l.496-1.241H7v-.828h3.134l-.496-1.293L13 3.502z"/></svg>'},Cl={name:"cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.823 2l-2.217.914.516 1.25a4.743 4.743 0 00-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.82 4.82 0 00-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.824 4.824 0 00.945.949l-.518 1.247 2.214.921.519-1.246a4.68 4.68 0 00.674.048 4.74 4.74 0 00.666-.047L9.176 14l2.218-.914-.515-1.248a4.828 4.828 0 00.95-.945l1.245.518.922-2.214-1.247-.519a4.73 4.73 0 00.002-1.34L14 6.824l-.914-2.218-1.25.515a4.739 4.739 0 00-.944-.949l.518-1.246-2.212-.922-.52 1.247a4.714 4.714 0 00-.676-.049 4.808 4.808 0 00-.663.047zm1.175 9a2.999 2.999 0 112.77-1.847 2.984 2.984 0 01-2.77 1.846M8 6.801a1.2 1.2 0 10.46.093A1.198 1.198 0 008 6.8"/></svg>'},kl={name:"cog_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.147 11.648c-.01.006-.02.014-.032.02a4.1 4.1 0 01-.46.224l-.012.005c-.033.015-.068.028-.103.042-.051.019-.11.036-.162.055-.094.034-.186.068-.285.099-.034.01-.064.024-.1.033-.019.007-.042.012-.062.019q-.279.078-.58.144l-.133.03q-.324.068-.668.12l-.135.02c-.214.03-.431.057-.653.079l-.103.012a17.446 17.446 0 01-.903.06c-.254.01-.507.018-.759.018a18.75 18.75 0 01-1.66-.078l-.105-.012a15.901 15.901 0 01-.65-.08l-.134-.018c-.23-.036-.455-.076-.67-.122l-.132-.029a9.372 9.372 0 01-.582-.145l-.059-.017c-.036-.01-.067-.023-.1-.034a7.034 7.034 0 01-.285-.1c-.054-.018-.112-.035-.165-.055l-.101-.041-.01-.005a4.076 4.076 0 01-.462-.223l-.03-.02a2.343 2.343 0 01-.334-.24c-.014-.012-.033-.022-.045-.033v1.013c0 .364.524.749 1.427 1.051a8.098 8.098 0 00.697.197 14.793 14.793 0 003.4.363 14.818 14.818 0 003.403-.362 8.38 8.38 0 00.697-.197c.904-.303 1.43-.688 1.43-1.052v-1.013c-.015.012-.034.022-.047.034a2.478 2.478 0 01-.333.238m.38-1.883c0-.762-2.27-1.61-5.529-1.61-3.256 0-5.524.848-5.524 1.61 0 .365.525.75 1.427 1.052a9.254 9.254 0 00.698.197 14.8 14.8 0 003.399.362 14.817 14.817 0 003.401-.362 8.375 8.375 0 00.7-.197c.902-.302 1.428-.687 1.428-1.052M3.931 7.697L2.802 7.6l.171-1.979 1.129.095a3.984 3.984 0 01.516-.985l-.729-.856 1.537-1.28.73.855a4.085 4.085 0 011.071-.336L7.323 2l2.004.17-.097 1.114a3.949 3.949 0 01.52.223 4.027 4.027 0 01.478.288l.866-.721 1.296 1.52-.866.72a3.961 3.961 0 01.341 1.058l1.127.095-.133 1.539a10.211 10.211 0 00-2.482-.618c.007-.048.021-.094.026-.143a2.48 2.48 0 00-1.346-2.416 2.543 2.543 0 00-2.938.45 2.408 2.408 0 00-.698 2.14 11.88 11.88 0 00-1.482.311l-.008-.033zm4.067-.468c-.331 0-.697.012-1.077.035a.972.972 0 01-.026-.314.99.99 0 01.292-.618 1.011 1.011 0 011.174-.18.992.992 0 01.539.967.923.923 0 01-.036.132 17.817 17.817 0 00-.866-.022z"/></svg>'},_l={name:"cog_database_inset_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.751 7.338L14 6.824l-.914-2.218-1.25.515a4.74 4.74 0 00-.944-.949l.518-1.246-2.212-.922-.52 1.247a4.715 4.715 0 00-.676-.049 4.803 4.803 0 00-.663.047L6.823 2l-2.217.914.516 1.25a4.741 4.741 0 00-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.816 4.816 0 00-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.823 4.823 0 00.945.949l-.518 1.247 2.214.921.519-1.246a4.673 4.673 0 00.674.048 4.737 4.737 0 00.666-.047L9.176 14l2.218-.914-.515-1.248a4.826 4.826 0 00.95-.945l1.245.518.922-2.214-1.247-.519a4.729 4.729 0 00.002-1.34zm-1.06 2.418c0 .244-.35.5-.954.703a5.157 5.157 0 01-.466.131 9.896 9.896 0 01-2.273.243 9.88 9.88 0 01-2.271-.243 5.454 5.454 0 01-.466-.131c-.603-.202-.953-.46-.953-.703V9.08c.008.008.02.015.03.023a1.567 1.567 0 00.223.16l.02.013a2.725 2.725 0 00.309.15l.006.002.068.028c.035.013.074.025.11.037.062.023.125.046.19.066.023.008.043.016.067.023l.04.011c.123.036.253.069.389.098l.087.02c.144.03.295.057.448.08l.09.012c.142.021.286.038.434.054l.07.008c.162.014.327.027.491.035l.112.005a11.63 11.63 0 001.013 0l.11-.005c.165-.008.33-.02.493-.035l.069-.008c.148-.015.293-.033.436-.054l.09-.012q.23-.035.447-.08l.088-.02c.135-.03.264-.062.388-.097l.042-.012.066-.023c.066-.02.128-.043.19-.066.036-.012.075-.024.109-.037l.069-.028.007-.003a2.744 2.744 0 00.308-.149l.022-.014a1.651 1.651 0 00.222-.159l.03-.023zm0-1.76c0 .243-.35.5-.954.703a5.157 5.157 0 01-.466.13 9.897 9.897 0 01-2.273.243 9.88 9.88 0 01-2.271-.242 5.44 5.44 0 01-.466-.132c-.603-.202-.953-.459-.953-.703V7.32c.008.008.02.014.03.022a1.566 1.566 0 00.223.16l.02.013a2.716 2.716 0 00.309.15l.006.003c.022.01.046.018.068.027l.11.038c.062.022.125.045.19.066.023.007.043.016.067.023l.04.011c.123.035.253.067.389.097l.087.02c.144.03.295.057.448.08l.09.013c.142.02.286.038.434.053l.07.008a11.715 11.715 0 001.726.035c.165-.008.33-.02.493-.035l.069-.008c.148-.015.293-.033.436-.053l.09-.012q.23-.036.447-.081l.088-.02q.202-.044.388-.097c.014-.004.029-.007.042-.012.023-.006.043-.015.067-.022.065-.02.127-.044.19-.066l.108-.037.069-.028.008-.003a2.735 2.735 0 00.307-.15l.022-.013a1.657 1.657 0 00.222-.16c.009-.007.021-.014.03-.022zm-.953-1.05a5.625 5.625 0 01-.467.132 9.896 9.896 0 01-2.272.24 9.885 9.885 0 01-2.271-.24 6.179 6.179 0 01-.466-.133c-.603-.201-.954-.459-.954-.702 0-.51 1.515-1.076 3.69-1.076 2.177 0 3.694.567 3.694 1.076 0 .243-.351.5-.954.702z"/></svg>'},zl={name:"cog_small_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.712 5.956a.76.76 0 01-.224.477.787.787 0 01-.909.139.762.762 0 01-.19-1.224.781.781 0 01.907-.14.767.767 0 01.416.748zM14 11.61l-.441 1.088-.62-.246a2.276 2.276 0 01-.232.268 2.386 2.386 0 01-.23.2l.263.606-1.09.46-.263-.606a2.353 2.353 0 01-.662.008l-.248.612-1.1-.435.249-.612a2.273 2.273 0 01-.256-.215 2.358 2.358 0 01-.218-.243l-.614.26-.466-1.077.614-.259a2.287 2.287 0 01-.008-.654l-.62-.246.44-1.087.62.246a2.38 2.38 0 01.234-.27 2.463 2.463 0 01.229-.198l-.263-.606 1.09-.46.263.605a2.422 2.422 0 01.662-.008l.248-.612 1.1.436-.248.612a2.351 2.351 0 01.473.458l.614-.26.466 1.076-.613.26a2.339 2.339 0 01.008.654zm-1.934-1.591a1.495 1.495 0 00-2.085.011 1.454 1.454 0 00.01 2.081 1.479 1.479 0 00.486.313 1.495 1.495 0 001.6-.324 1.454 1.454 0 00-.01-2.081zM9.036 8.33l-1.189.99-.564-.661a3.104 3.104 0 01-.827.26l-.075.86-1.547-.13.074-.862a3.075 3.075 0 01-.77-.394l-.671.557-1.001-1.174.67-.557a3.015 3.015 0 01-.264-.817L2 6.328 2.132 4.8l.872.074a3.08 3.08 0 01.4-.762l-.564-.66 1.188-.99.565.66a3.159 3.159 0 01.827-.26L5.494 2l1.548.131-.074.861a3.046 3.046 0 01.402.172 3.111 3.111 0 01.369.223l.669-.557L9.41 4.004l-.67.557a3.06 3.06 0 01.264.818l.871.073-.132 1.53-.872-.074a3.026 3.026 0 01-.4.762zM7.874 6.054a1.916 1.916 0 00-1.04-1.868 1.965 1.965 0 00-2.27.348 1.907 1.907 0 00.478 3.06 1.965 1.965 0 002.27-.347 1.903 1.903 0 00.562-1.193zm3.376 4.467a.6.6 0 00-.64.13.591.591 0 00-.131.196.584.584 0 00.33.761.597.597 0 00.64-.13.59.59 0 00.13-.195.583.583 0 00-.135-.637.596.596 0 00-.194-.125z"/></svg>'},Il={name:"cog_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 3.11l-1.178-.632-1.875 2.133a5.424 5.424 0 00-.716-.094L8.766 2l-2.138.627.2 2.863a5.226 5.226 0 00-.527.47l-2.77-.738-1.056 1.95L4.656 9.04a5.188 5.188 0 00-.087.704L2 11.144l.659 2.1 2.914-.197a4.961 4.961 0 00.453.525l-.13.427h7.232a.818.818 0 00.87-.759L14 13.2zm-1.335 7.876a2.877 2.877 0 01-3.741 1.477 2.768 2.768 0 01-1.51-3.66 2.876 2.876 0 013.729-1.482 2.76 2.76 0 011.535 3.637z"/></svg>'},Ol={name:"comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 3.5v6a1.5 1.5 0 01-1.5 1.5H8.75L3.5 14l.75-3H3.5A1.5 1.5 0 012 9.5v-6A1.5 1.5 0 013.5 2h9A1.5 1.5 0 0114 3.5z"/></svg>'},Sl={name:"computer_and_monitor_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 12V6H5v6h4v1H7v1h5v-1h-2v-1zm-8-1V7h7v4zm1-6H4V4h3zm1 0V3H3v7h1v3h2v1H3a1 1 0 01-1-1V3a1 1 0 011-1h5a1 1 0 011 1v2z"/></svg>'},Al={name:"copy_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6zm7 7H7V7h6z"/></svg>'},El={name:"copy_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6zm7 7H7V7h6zm-1-4H8V8h4zm-1 2H8v-1h3z"/></svg>'},Hl={name:"dashboard_builder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.646 6.646L7 4.293l2 2 1.646-1.646.707.707L9 7.707l-2-2-1.646 1.647zM14 2v12H2V2zM8 9H4v3h4zm4 2H9v1h3zm0-2H9v1h3zm0-5H4v4h8V4zm-5 6H5v1h2z"/></svg>'},Ml={name:"dashboard_builder_legend_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm10 10H4v-1.293l2.04-2.04 3.804 2.983L12 9.74zm0-7h-2v1h2v2.405L9.805 10.35 5.96 7.333 4 9.293V6h2V5H4V4h8zM9 6H7V5h2z"/></svg>'},Vl={name:"dashboard_builder_templates_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm11 11H3V3h10z"/><path class="cls-1" d="M9 9h3v1H9zM12 4H4v4h8zm-1 3H5V5h6zM8 9H4v3h4zm-1 2H5v-1h2zM9 11h3v1H9z"/></svg>'},Ll={name:"dashboard_builder_tile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.646 10.646L7 8.293l2 2 1.646-1.646.707.707L9 11.707l-2-2-1.646 1.647zM14 2v12H2V2zM4 7h3V4H4zm8 1H4v4h8V8zm0-4H8v3h4z"/></svg>'},Tl={name:"database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.588 11.46a2.69 2.69 0 00.36-.257c.015-.012.036-.023.051-.036v1.093c0 .395-.57.81-1.551 1.137a9.133 9.133 0 01-.757.212A16.17 16.17 0 017.997 14a16.144 16.144 0 01-3.69-.391 8.83 8.83 0 01-.757-.213C2.57 13.069 2 12.655 2 12.26v-1.093c.013.013.033.023.049.036a2.61 2.61 0 00.362.26c.012.006.021.013.033.02a4.294 4.294 0 00.502.241l.01.005.11.046c.058.02.121.039.18.06.1.036.202.073.308.106.037.012.07.026.11.037.018.006.042.011.063.017.2.06.412.11.633.159l.142.031c.234.049.478.092.727.13.048.008.098.014.146.02a17.346 17.346 0 00.82.1 24.659 24.659 0 00.98.065c.273.01.55.019.822.019.273 0 .548-.008.824-.02.06-.003.119-.006.179-.007.268-.014.536-.034.801-.057l.112-.014c.24-.023.476-.052.708-.086.048-.006.098-.012.147-.02.25-.038.491-.081.725-.13.05-.012.096-.021.144-.031.219-.049.429-.1.63-.157.022-.008.047-.013.069-.02.037-.01.07-.024.108-.036.107-.034.206-.07.309-.107.057-.02.12-.038.176-.06.037-.014.075-.028.111-.045l.013-.005a4.316 4.316 0 00.5-.241.415.415 0 00.035-.022m0-2.845l-.035.022a4.46 4.46 0 01-.5.241l-.013.005c-.036.016-.074.03-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.025-.107.036-.022.007-.047.012-.069.02a10.638 10.638 0 01-.774.187q-.35.075-.725.13c-.049.009-.099.014-.147.021-.232.034-.468.063-.708.086L9.8 9.59c-.265.024-.533.044-.801.057l-.18.008c-.275.012-.55.02-.823.02a19 19 0 01-.823-.02l-.18-.008a20.583 20.583 0 01-.8-.057l-.113-.013c-.241-.024-.475-.052-.706-.086-.048-.006-.098-.012-.146-.02a12.62 12.62 0 01-1.502-.32c-.021-.006-.045-.01-.063-.017-.04-.012-.073-.025-.11-.037a7.688 7.688 0 01-.309-.107c-.058-.02-.121-.039-.179-.06l-.11-.045-.01-.005a4.436 4.436 0 01-.502-.241c-.012-.007-.02-.014-.033-.02a2.544 2.544 0 01-.362-.26c-.016-.013-.036-.023-.049-.036v1.093c0 .394.57.81 1.55 1.136a8.83 8.83 0 00.757.213 16.145 16.145 0 003.69.39 16.171 16.171 0 003.694-.39 9.133 9.133 0 00.757-.213c.98-.327 1.551-.742 1.551-1.136V8.322c-.015.013-.036.024-.05.036a2.69 2.69 0 01-.361.258m0-2.845l-.035.022a4.463 4.463 0 01-.5.241l-.013.005c-.036.016-.074.03-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.026-.107.036-.022.007-.047.012-.069.02q-.302.084-.63.156l-.144.031q-.351.075-.725.132c-.049.006-.099.012-.147.02-.232.032-.468.061-.708.085l-.112.013a19.05 19.05 0 01-.98.066c-.276.01-.55.018-.824.018a20.457 20.457 0 01-1.802-.084l-.114-.013c-.241-.024-.475-.053-.706-.086l-.146-.02c-.249-.038-.493-.081-.727-.13-.05-.01-.094-.022-.142-.032-.22-.048-.432-.1-.633-.157l-.063-.018c-.04-.011-.073-.025-.11-.037a7.688 7.688 0 01-.309-.107l-.179-.06-.11-.045-.01-.005a4.438 4.438 0 01-.502-.241c-.012-.007-.02-.014-.033-.02a2.544 2.544 0 01-.362-.26C2.033 5.5 2.013 5.488 2 5.476V6.57c0 .394.57.81 1.55 1.136a8.83 8.83 0 00.757.213 16.144 16.144 0 003.69.39 16.17 16.17 0 003.694-.39 9.133 9.133 0 00.757-.213c.98-.327 1.551-.742 1.551-1.136V5.477c-.015.013-.036.024-.05.036a2.69 2.69 0 01-.361.258M14 3.738C14 2.915 11.535 2 7.998 2 4.463 2 2 2.915 2 3.738c0 .394.57.81 1.55 1.135.113.039.23.074.355.11q.192.053.402.103a16.152 16.152 0 003.69.39 16.17 16.17 0 003.692-.39 9.13 9.13 0 00.759-.213C13.429 4.548 14 4.132 14 3.738"/></svg>'},Pl={name:"database_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.919 12.103a11.87 11.87 0 01-1.594-.26 7.445 7.445 0 01-.644-.182c-.835-.28-1.32-.635-1.32-.973v-.936c.011.01.029.02.042.031a2.226 2.226 0 00.308.222l.028.018a3.65 3.65 0 00.428.206l.009.005.093.038c.049.019.103.034.153.051.086.032.173.063.262.092.032.01.06.022.094.032l.054.014c.17.05.35.095.538.136l.121.027c.2.042.408.078.62.111.041.007.083.012.124.018.197.028.396.052.6.073l.038.005-.613.613zm-2.238-7.74a8.567 8.567 0 00.645.182 13.68 13.68 0 003.143.334 13.697 13.697 0 003.144-.334 7.753 7.753 0 00.646-.182c.835-.28 1.32-.635 1.32-.973 0-.704-2.098-1.488-5.11-1.488-3.01 0-5.107.784-5.107 1.488 0 .338.486.694 1.32.973zm5.047 6.495l.008.007.008-.008zm-5.047-4.07a7.471 7.471 0 00.644.182 13.675 13.675 0 003.143.335 13.697 13.697 0 003.146-.335 7.694 7.694 0 00.644-.181c.835-.28 1.321-.636 1.321-.973v-.937c-.013.012-.03.02-.043.032a2.29 2.29 0 01-.307.22.353.353 0 01-.03.02 3.788 3.788 0 01-.426.206l-.01.004c-.031.014-.064.026-.096.039-.047.017-.101.033-.15.05-.087.032-.172.064-.263.092-.032.01-.06.023-.092.032l-.058.016q-.257.073-.537.134l-.122.027q-.3.063-.618.112l-.124.017c-.198.029-.399.053-.604.074l-.095.01a16.15 16.15 0 01-.835.057c-.235.01-.468.016-.701.016a17.43 17.43 0 01-1.535-.072l-.097-.011a14.698 14.698 0 01-.6-.074l-.125-.017c-.212-.033-.42-.07-.62-.112l-.12-.027a8.673 8.673 0 01-.54-.134c-.018-.006-.037-.01-.053-.016-.034-.01-.062-.022-.094-.032a6.551 6.551 0 01-.262-.091c-.05-.018-.104-.034-.153-.052l-.093-.038-.01-.004a3.768 3.768 0 01-.427-.207l-.028-.017a2.167 2.167 0 01-.308-.223c-.013-.011-.031-.02-.042-.03v.936c0 .337.485.692 1.32.972zm0 2.436a7.471 7.471 0 00.644.182 13.147 13.147 0 002.644.328l.318-.318.323.324a14.377 14.377 0 002.473-.222l1.753-1.753-.063.028-.01.004c-.031.014-.063.027-.096.04-.047.017-.101.033-.15.05-.087.032-.171.063-.263.091-.032.01-.06.022-.092.032-.018.006-.04.01-.058.017a9.015 9.015 0 01-.66.16q-.298.064-.617.112l-.124.017c-.198.029-.399.054-.604.074l-.095.011c-.225.02-.454.037-.682.049l-.153.007a16.115 16.115 0 01-1.402 0l-.154-.007a17.43 17.43 0 01-.68-.049l-.097-.011a14.689 14.689 0 01-.6-.074c-.042-.006-.084-.01-.125-.017a10.679 10.679 0 01-1.28-.274l-.053-.015c-.034-.01-.062-.021-.094-.032a6.551 6.551 0 01-.262-.09c-.05-.018-.104-.034-.153-.053-.03-.012-.063-.024-.093-.038l-.01-.004a3.77 3.77 0 01-.427-.207l-.028-.017a2.169 2.169 0 01-.308-.223c-.014-.01-.031-.02-.042-.03v.936c0 .337.485.693 1.32.972zm9.269-1.6L8.736 11.84l-1.449-1.45-1.053 1.055 2.458 2.458 5.268-5.268z"/></svg>'},Rl={name:"desktop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 3H2v8h5v1H5v1h6v-1H9v-1h5V3zm0 7H3V4h10z"/></svg>'},Dl={name:"donut_chart_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.872 10.956a4.123 4.123 0 01-6.997-2.962v-.007H2v.007a5.995 5.995 0 0010.301 4.182zM8.372 2v1.884a4.13 4.13 0 012.992 6.501l1.429 1.224A6.008 6.008 0 008.37 2zM2.048 7.236h1.897a4.117 4.117 0 013.675-3.352V2A6.012 6.012 0 002.05 7.236z"/></svg>'},Bl={name:"dot_solid_dot_stroke_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 8a3 3 0 11-3-3 3 3 0 013 3zm5-2a2 2 0 102 2 2.002 2.002 0 00-2-2m0-1a3 3 0 11-3 3 3 3 0 013-3z"/></svg>'},Fl={name:"download_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 9v5H2V9h1v4h10V9zm-5.982 2L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1z"/></svg>'},Nl={name:"electronic_chip_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 14H7.333V9.333a2 2 0 012-2H14V13a1 1 0 01-1 1zM12 2a.667.667 0 00-.667.667v2h1.334v-2A.667.667 0 0012 2zM8.444 2a.667.667 0 00-.666.667v2H9.11v-2A.667.667 0 008.444 2zM2 8.444a.667.667 0 00.667.667h2V7.778h-2A.667.667 0 002 8.444zM2 12a.667.667 0 00.667.667h2v-1.334h-2A.667.667 0 002 12zm11.556-8.222v.889a.444.444 0 01-.445.444H10.89a.444.444 0 01-.445-.444v-.89H10v.89a.444.444 0 01-.444.444H7.333a.444.444 0 01-.444-.444v-.89H4.667a.889.889 0 00-.89.89v2.222h.89a.444.444 0 01.444.444v2.223a.444.444 0 01-.444.444h-.89v.444h.89a.444.444 0 01.444.445v2.222a.444.444 0 01-.444.445h-.89V14H6.89V8.222A1.333 1.333 0 018.222 6.89H14V3.778z"/></svg>'},jl={name:"exclamation_mark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.371 11.873h3.256V14H6.37zM6.316 2l.37 8.542h2.628L9.684 2z"/></svg>'},ql={name:"eye_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.856 3.657A7.004 7.004 0 001 8.001a7.588 7.588 0 007.146 4.342A7.002 7.002 0 0015 8a7.586 7.586 0 00-7.144-4.344m-1.199 7.289A5.108 5.108 0 012.443 8s.665-2.585 4.33-3.037a2.786 2.786 0 00-1.414 1.223l2.787 1.22H4.977a3.47 3.47 0 00-.053.576 3.348 3.348 0 001.734 2.962m2.85.02a3.4 3.4 0 00.107-5.908 5.006 5.006 0 013.942 2.944s-.603 2.44-4.05 2.963"/></svg>'},Ul={name:"fancy_a_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.597 9.844H7.865A7.465 7.465 0 016.19 11.96a3.323 3.323 0 01-2.042.667 2.835 2.835 0 01-1.964-.753L2 11.706l1.153-1.152.157.251a1.347 1.347 0 001.2.716 1.976 1.976 0 001.385-.625 11.546 11.546 0 001.722-2.403l2.252-3.88a7.585 7.585 0 00-.679-.037 2.365 2.365 0 00-1.66.54 1.967 1.967 0 00-.556 1.51V6.7l-.067.106-1.564.762.045-.423a3.845 3.845 0 01.645-1.874 3.312 3.312 0 011.34-1.177 6.74 6.74 0 012.208-.443c.127 0 .277-.013.471-.029l.369-.03 1.387-.257.087 2.154.33 3.886a4.862 4.862 0 00.29 1.701.498.498 0 00.528.31c.057 0 .277 0 .641-.03L14 11.33l-.172.83-3.003.506zm-.086-.896l-.275-3.22-1.855 3.22z"/></svg>'},Kl={name:"file_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 3v10h8V7H8V3zm5 0v3h3z"/></svg>'},Wl={name:"file_drawer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 4v10h12V4zm8 4H6V6h4zm4-5H2V2h12z"/></svg>'},Xl={name:"file_search_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 6v6h-3.333a3.662 3.662 0 00.249-1.302A3.701 3.701 0 007.22 7 3.654 3.654 0 006 7.223V2h4v4zm-3-4v3h3zm-1.126 8.698a2.697 2.697 0 01-4.73 1.772L2.521 14l-.48-.823 2.613-1.523a2.698 2.698 0 115.22-.956zm-.952 0a1.745 1.745 0 10-1.745 1.745 1.747 1.747 0 001.745-1.745z"/></svg>'},Yl={name:"filter_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 3.045v1.29h.787a2.069 2.069 0 102.907 2.903l1.32 2.173v4.522l1.973-1.846V9.411l3.878-5.076h1.134v-1.29zm2.033 4.059a1.154 1.154 0 010-2.308c.023 0 .045.006.068.007l1.002 1.575a1.154 1.154 0 01-1.07.726z"/></svg>'},Gl={name:"floppy_disk_checkmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.455 5h-1.041l-1.005 1H12v3H4V6h3.782L6.79 5H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm2-10.99L9.091 5.9 7 3.79l.919-.89 1.164 1.208L12.128 1.1l.872.91"/></svg>'},Ql={name:"floppy_disk_star_arrow_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.5 2.5a1 1 0 10-1 1 1 1 0 001-1zm7.5.002L9.638.819l.496 1.293H7v.828h3.134L9.638 4.18zM12.455 5H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm1-4H4V6h8z"/></svg>'},Jl={name:"floppy_disk_three_dots_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6 3a1 1 0 10-1 1 1 1 0 001-1zm3 0a1 1 0 10-1 1 1 1 0 001-1zm3 0a1 1 0 10-1 1 1 1 0 001-1zm.455 2H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm1-4H4V6h8z"/></svg>'},Zl={name:"folder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 4V3H2v10h12V4zm6 2H3V5h10z"/></svg>'},tc={name:"folder_open_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 3v1.002h6V6h-1V5H3v1H2V3zM2 13h11l1-6H2z"/></svg>'},ec={name:"forward_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.027 14l2.5-12h1.5l-2.5 12h-1.5z"/></svg>'},ic={name:"four_dots_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.5 11A1.5 1.5 0 115 9.5 1.5 1.5 0 016.5 11zM5 3.5A1.5 1.5 0 106.5 5 1.5 1.5 0 005 3.5zm7.5 7.5A1.5 1.5 0 1111 9.5a1.5 1.5 0 011.5 1.5zM11 3.5A1.5 1.5 0 1012.5 5 1.5 1.5 0 0011 3.5z"/></svg>'},sc={name:"function_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 12.643h-1.572l-.898-1.283-.923 1.283h-1.54l1.658-2.146-1.632-2.14h1.572l.883 1.258.888-1.258h1.545l-1.635 2.111zM9.544 4.667H9.31a3.141 3.141 0 00-.394-.1 2.455 2.455 0 00-.483-.05 1.32 1.32 0 00-.832.241 1.334 1.334 0 00-.405.895l-.128.937h1.846v1.282H6.812l-.376 2.462a3.578 3.578 0 01-.462 1.357 2.583 2.583 0 01-.784.808 3.015 3.015 0 01-.938.387A4.823 4.823 0 013.184 13q-.275 0-.629-.03A3.529 3.529 0 012 12.892v-1.815h.12a.56.56 0 00.424.244 2.538 2.538 0 00.5.052 1.304 1.304 0 00.898-.29 1.584 1.584 0 00.424-.985l.33-2.226H3.256V6.59H5.05l.178-1.162a2.942 2.942 0 01.444-1.244 2.516 2.516 0 01.76-.734 2.643 2.643 0 01.94-.356A5.61 5.61 0 018.357 3q.294 0 .588.025t.599.076z"/></svg>'},oc={name:"gauge_simple_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.969 5.196a1.763 1.763 0 011.142-.49 1.763 1.763 0 01-.49 1.142L9.205 8.263l.008.025.065.184.03.093a1.352 1.352 0 01.032.295 1.385 1.385 0 01-2.769 0 1.343 1.343 0 01.033-.294l.034-.11.055-.16.012-.033.014-.014a1.389 1.389 0 01.625-.625l.015-.015.033-.011.16-.055.11-.035a1.32 1.32 0 01.588 0l.11.035.16.055.033.011zM14 8.86a5.979 5.979 0 01-1.799 4.28l-1.309-1.308a4.085 4.085 0 00.83-4.78l.55-.55a2.576 2.576 0 00.64-1.082A5.968 5.968 0 0114 8.86zm-6-6a5.998 5.998 0 00-4.201 10.28l1.308-1.308a4.14 4.14 0 014.645-6.725l.564-.564a2.57 2.57 0 011.07-.635A5.97 5.97 0 008 2.86z"/></svg>'},nc={name:"grid_three_by_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 3v10a1 1 0 001 1h10a1 1 0 001-1V3a1 1 0 00-1-1H3a1 1 0 00-1 1zm4 9H4v-2h2zm.001-2.999H4V7h2.001zm0-3.001H4V4h2.001zM9 12H7v-2h2zm0-2.999H7V7h2zM9 6H7V4h2zm3 6h-2v-2h2zm.001-2.999H10V7h2.001zm0-3.001H10V4h2.001z"/></svg>'},rc={name:"grid_two_by_two_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 9h3v3H4zm5 0h3v3H9zM4 4h3v3H4zm5 0h3v3H9zM2 14h12V2H2z"/></svg>'},ac={name:"hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 14H6V8h3zM8.875 2H6.723A1.991 1.991 0 015 3a2.486 2.486 0 01-2-1H2v4h1a1.797 1.797 0 011.5-1C5.551 5 5.997 6.99 6 7h3c.333-1.539 1-2.436 1.741-2.436C12.222 4.564 14 6.615 14 6.615S13 2 8.875 2z"/></svg>'},lc={name:"hashtag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.76 14l.752-2.914H6.045L5.299 14H3.532l.746-2.914H2v-1.72h2.712l.701-2.807H2.947v-1.72h2.91L6.567 2h1.766l-.71 2.838h2.46L10.8 2h1.768l-.717 2.838H14v1.72h-2.599l-.706 2.807h2.374v1.72h-2.807L9.501 14zM6.447 9.392h2.506l.72-2.85H7.167z"/></svg>'},cc={name:"home_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.988 2L2.5 9H4v5h3v-3h2v3h3V9h1.5L7.988 2z"/></svg>'},hc={name:"hourglass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.774 13.4h-.047v-.49h-.404a2.491 2.491 0 00.355-1.258c0-1.826-2.083-2.886-2.083-3.652s2.083-1.826 2.083-3.652a2.491 2.491 0 00-.355-1.257h.404V2.6h.047a.556.556 0 00.499-.6H4.727a.556.556 0 00.499.6h.047v.49h.404a2.491 2.491 0 00-.355 1.258c0 1.826 2.083 2.87 2.083 3.652s-2.083 1.826-2.083 3.652a2.491 2.491 0 00.355 1.257h-.404v.491h-.047a.556.556 0 00-.499.6h6.546a.556.556 0 00-.499-.6zM8 12.957c-1.565 0-1.975-.585-1.975-1.305a7.183 7.183 0 011.723-.656c.268 0 .289-3.513 0-3.779l-.988-1h2.454l-.962 1c-.268.286-.275 3.779 0 3.779a7.651 7.651 0 011.738.656c0 .72-.409 1.305-1.99 1.305z"/></svg>'},dc={name:"indeterminant_checkbox_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 3a1.001 1.001 0 011 1v8a1.001 1.001 0 01-1 1H4a1.001 1.001 0 01-1-1V4a1.001 1.001 0 011-1h8m0-1H4a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2V4a2 2 0 00-2-2zM4 4v8h8V4zm6 6H6V6h4z"/></svg>'},uc={name:"info_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.415 7.75v3.69H6.376v1.576h4.24V11.44H9.6V6.175H6.376V7.75zm.276-2.698a1.19 1.19 0 002.035-.838 1.164 1.164 0 00-.346-.846 1.193 1.193 0 00-1.693 0 1.158 1.158 0 00-.35.846 1.144 1.144 0 00.354.838z"/></svg>'},pc={name:"info_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm-.697 2.28a.951.951 0 011.35 0 .928.928 0 01.276.675.952.952 0 01-1.905 0 .924.924 0 01.279-.674zM9.7 12H6.3v-1.264h.833V7.777H6.3V6.513h2.584v4.223H9.7z"/></svg>'},vc={name:"key_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.045 7.348l-.652-.652 1.444-.14zm-3.818.698l-4.912 4.912-.395-.396 4.12-4.12zm4.734-2.918l-1.697.136-.395-.395L11 3.176l.72-.067 1.304 1.304zm-3.524-.386l-.651-.653.791-.791zm-1.955-.653v2.607l-5.074 5.075L2 12.946l.791.791 1.432.129.326-.326v-.652l.652-.652h.652l.326-.325v-.652h.651l.978-.978.014-.652.312-.326h.652l.652-.651h2.607l1.676-1.676L14 4.089l-1.955-1.955-2.887.28z"/></svg>'},gc={name:"laptop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 11V3H3v8H2v2h12v-2zm-2 1H5v-1h6zm1-1.996H4V4h8z"/></svg>'},mc={name:"layer_group_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.555 9.546l.89-.445 5.333 2.667 1.778-.89.889.449v1.33L9.778 13.99l-6.223-3.11zm0-6.222L6.222 1.99l6.223 3.112v1.333L9.778 7.768l-6.223-3.11zm0 3.11l.89-.444 5.333 2.667 1.778-.89.889.448v1.33L9.778 10.88 3.555 7.768z"/></svg>'},fc={name:"lightning_bolt_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.732 7.953L6.909 2h3.636L8.364 7.013h2.909L4.727 14l2.21-6.049z"/></svg>'},bc={name:"link_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.465 5.592A2.908 2.908 0 019.963 7.02l-1.06 1.065c-.053-.103-.095-.192-.144-.276a1.48 1.48 0 00-1.277-.769 1.43 1.43 0 00-.977.394c-.75.694-1.469 1.421-2.165 2.168a1.431 1.431 0 00.054 2.038 1.507 1.507 0 001.039.432 1.28 1.28 0 00.953-.417c.103-.11.435-.44.81-.805a3.458 3.458 0 001.908.188c-1.006 1.035-2.179 2.187-2.996 2.38a2.982 2.982 0 01-.693.082 2.91 2.91 0 01-2.182-4.842A46.793 46.793 0 015.53 6.356a2.826 2.826 0 011.935-.764M10.583 2.5a3.001 3.001 0 00-.69.081 10.376 10.376 0 00-2.996 2.377 3.474 3.474 0 01.568-.054 3.58 3.58 0 011.31.249c.38-.332.701-.646.875-.834a1.221 1.221 0 01.913-.395 1.513 1.513 0 011.074.469 1.433 1.433 0 01.022 2.005c-.7.743-1.42 1.47-2.165 2.167a1.419 1.419 0 01-.975.395 1.483 1.483 0 01-1.28-.768c-.048-.085-.089-.175-.151-.298L6.043 8.987a2.882 2.882 0 002.493 1.42 2.808 2.808 0 001.93-.76 54.2 54.2 0 002.266-2.266A2.911 2.911 0 0010.583 2.5"/></svg>'},wc={name:"link_cancel_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9.202 9.45a2.638 2.638 0 01.687 2.519l-1.364.002c.032-.1.062-.183.085-.269a1.343 1.343 0 00-.326-1.312 1.297 1.297 0 00-.88-.374 37.657 37.657 0 00-2.779.002 1.298 1.298 0 00-1.273 1.341 1.367 1.367 0 00.39.944 1.162 1.162 0 00.878.344c.137-.005.562-.002 1.036.004a3.137 3.137 0 001.104 1.344 8.133 8.133 0 01-3.45-.395 2.705 2.705 0 01-.496-.392A2.64 2.64 0 014.52 8.702a42.45 42.45 0 012.951-.003 2.564 2.564 0 011.731.751m3.984.017a2.723 2.723 0 00-.495-.39 9.414 9.414 0 00-3.447-.398 3.151 3.151 0 01.4.33 3.247 3.247 0 01.68 1c.457.031.864.035 1.096.027a1.108 1.108 0 01.839.331 1.373 1.373 0 01.389.99 1.3 1.3 0 01-1.272 1.3c-.926.028-1.854.033-2.78.002a1.287 1.287 0 01-.878-.372 1.345 1.345 0 01-.328-1.313c.023-.086.054-.17.093-.289l-1.371.031a2.614 2.614 0 00.688 2.51 2.547 2.547 0 001.726.751c.968.033 1.94.025 2.908 0a2.641 2.641 0 001.752-4.51m-2.701-3.208L8.71 4.485l1.775-1.775-.71-.71L8 3.775 6.225 2l-.71.71L7.29 4.485 5.515 6.259l.71.71L8 5.195l1.775 1.774z"/></svg>'},xc={name:"list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 13H2v-2h2zm10-2H6v2h8zM4 7H2v2h2zm10 0H6v2h8zM4 3H2v2h2zm10 0H6v2h8z"/></svg>'},yc={name:"list_tree_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 5v2h4v2h-4v2h4v2H8V5H5V3h9v2zM2 5h2V3H2zm5 6H5v2h2zm0-4H5v2h2z"/></svg>'},$c={name:"list_tree_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.953 11.81c.013-.011.032-.02.046-.031v.917c0 .33-.523.678-1.42.953a8.234 8.234 0 01-.694.178 16.116 16.116 0 01-3.382.328 16.089 16.089 0 01-3.38-.328 8.77 8.77 0 01-.693-.179c-.898-.274-1.42-.622-1.42-.952v-.917c.012.01.031.02.045.03a2.34 2.34 0 00.332.218l.03.017a4.235 4.235 0 00.46.202l.01.005.1.037c.053.018.11.034.164.05.093.031.186.062.283.09.033.01.064.022.1.031l.058.015c.184.048.378.092.58.132.043.009.084.018.13.026.214.042.438.078.666.11l.134.017c.21.028.425.051.646.072l.104.01c.242.021.487.037.731.049l.166.007c.251.01.504.016.754.016s.501-.007.754-.016l.164-.007c.246-.012.491-.028.734-.048l.102-.011c.22-.02.436-.044.649-.072.044-.006.09-.01.134-.017q.343-.048.664-.11c.046-.008.088-.017.132-.026q.3-.06.577-.13c.02-.007.043-.012.063-.017.034-.009.064-.021.099-.031.098-.028.189-.059.283-.09.052-.017.11-.032.16-.05.035-.012.07-.024.103-.037l.012-.005a4.252 4.252 0 00.457-.202c.013-.006.022-.013.032-.018a2.468 2.468 0 00.33-.216zm-5.45-2.946c-3.237 0-5.492.767-5.492 1.457 0 .33.523.679 1.42.952a9.998 9.998 0 00.694.179 16.101 16.101 0 003.378.327 16.12 16.12 0 003.382-.327 8.892 8.892 0 00.694-.18C13.477 11 14 10.652 14 10.322c0-.69-2.257-1.457-5.497-1.457zM14 6V5H5V3h2V2H2v1h2v5.581a9.632 9.632 0 011-.255V6h3v2h6V7H9V6z"/></svg>'},Cc={name:"lock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 8V7a3.888 3.888 0 00-4-4 3.822 3.822 0 00-2.81 1.078A4.349 4.349 0 004.062 7v1H3v6h10V8zM6.062 6.986a2.407 2.407 0 01.566-1.516A1.834 1.834 0 018 5a1.883 1.883 0 012 2v1H6.062z"/></svg>'},kc={name:"magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.073 12.29l-2.926-2.926a3.971 3.971 0 10-.783.783l2.927 2.926zM7.01 9.84a2.83 2.83 0 112.83-2.83 2.833 2.833 0 01-2.83 2.83z"/></svg>'},_c={name:"markdown_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14.25 3H1.75a.74.74 0 00-.75.73v8.54a.74.74 0 00.75.73h12.5a.74.74 0 00.75-.73V3.73a.74.74 0 00-.75-.73zm-6.285 7.059h-.991V7.773L5.982 9.35l-.99-1.577v2.286H4V5.934h.91L5.982 7.51l1.073-1.576h.91zm2.459.007L8.848 7.945h1.1V5.934h.99v2.01H12z"/></svg>'},zc={name:"minus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 7h8v2H4z"/></svg>'},Ic={name:"minus_wide_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3 7h10v2H3z"/></svg>'},Oc={name:"mobile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.462 2.077H4.538A.54.54 0 004 2.615v10.77a.54.54 0 00.538.538h5.924a.54.54 0 00.538-.538V2.615a.54.54 0 00-.538-.538zM10 12H5V3h5z"/></svg>'},Sc={name:"notebook_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 2h1v3h-1zm0 8h1V6h-1zm0 4h1v-3h-1zM4 7h6V6H4zm0-2h6V4H4zM2 2h10v12H2z"/></svg>'},Ac={name:"paste_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 5V3H3v6h2v1H2V2h8v3zM6 6v8h8V6z"/></svg>'},Ec={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11.413 2.674c.326-.288 1.04-.013 1.807.857.768.869.952 1.61.626 1.898l-1.378 1.218-2.433-2.757zm-7.381 9.493l2.97-1.396-1.477.254.064-1.459-.48.25.156-1.013-1.754 2.774zm3.319-1.002L2 13.435 4.917 8.41l3.15-2.78L10.5 8.383zm4.293-3.866L9.21 4.544c-.177-.202.222-.543.394-.349l2.434 2.756c.175.2-.224.54-.394.348m-.783.7L8.428 5.244c-.178-.201.22-.542.393-.347l2.433 2.755c.176.199-.223.54-.393.347"/></svg>'},Hc={name:"pot_with_lid_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 4V2H5v2H2v1h12V4zM6 4V3h4v1zm-4 9h1v1h10v-1h1V6H2z"/></svg>'},Mc={name:"question_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11.303 5.594a3.294 3.294 0 01-.195 1.176 2.63 2.63 0 01-.549.885 3.96 3.96 0 01-.852.672 7.46 7.46 0 01-1.121.54v1.501H6.27V8.15q.467-.125.845-.256a3.199 3.199 0 00.793-.429 2.098 2.098 0 00.608-.612 1.45 1.45 0 00.22-.791 1.042 1.042 0 00-.423-.939 2.163 2.163 0 00-1.195-.28 3.338 3.338 0 00-1.068.204 4.853 4.853 0 00-1.09.526h-.263V3.566a8.148 8.148 0 011.296-.372A8.205 8.205 0 017.77 3a4.196 4.196 0 012.579.718 2.241 2.241 0 01.954 1.876zM8.77 13H6.112v-1.737H8.77z"/></svg>'},Vc={name:"running_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 7.985l-8.002 4.013L8 8 5.998 3.987zM3.995 2.997L2 2l3 6-3 6 2.002-1.005L6.5 8z"/></svg>'},Lc={name:"server_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 3H3v3h10zM9 5H4V4h5zM3 7v3h10V7zm6 2H4V8h5zm3 4H3v-2h10v1a1 1 0 01-1 1z"/></svg>'},Tc={name:"share_nodes_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10c-.601 0-1.134.27-1.5.69L5.954 8.419a2 2 0 000-.836l4.544-2.273c.367.42.9.691 1.501.691a2 2 0 10-1.955-1.582L5.501 6.691C5.134 6.27 4.6 6 4 6a2 2 0 100 4c.601 0 1.134-.27 1.5-.69l4.545 2.272A2 2 0 1012 10z"/></svg>'},Pc={name:"share_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.984 2.012l-2.069 6.153-.565-2.722-3.544 3.544-.822-.822 3.544-3.544-2.723-.566zM2 4v10h10v-4h-2v2H4V6h2V4z"/></svg>'},Rc={name:"shield_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v5.11C2 10.39 8 14 8 14s6-3.281 6-6.89V2zm4.788 8.2L4 7.388 5.225 6.2l1.553 1.61 4.06-4.01L12 5.013z"/></svg>'},Dc={name:"shield_xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v5.11C2 10.39 8 14 8 14s6-3.281 6-6.89V2zm9.5 7.346L10.346 10.5 8 8.154 5.654 10.5 4.5 9.346 6.846 7 4.5 4.654 5.654 3.5 8 5.846 10.346 3.5 11.5 4.654 9.154 7z"/></svg>'},Bc={name:"signal_bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 14H2V2h2zm3-9H5v9h2zm3 3H8v6h2zm3 3h-2v3h2z"/></svg>'},Fc={name:"sine_graph_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 12H2v-1.63a4.61 4.61 0 001.766-1.967c.636-1.06 1.082-1.705 1.902-1.705s1.266.644 1.902 1.705c.615 1.026 1.312 2.189 2.766 2.189 1.453 0 2.15-1.163 2.764-2.189a6.459 6.459 0 01.9-1.267zm0-6.054a4.613 4.613 0 00-1.764 1.967c-.635 1.061-1.08 1.705-1.9 1.705-.82 0-1.266-.644-1.902-1.705-.615-1.026-1.312-2.189-2.766-2.189S3.517 6.887 2.902 7.913A6.468 6.468 0 012 9.18V4h12z"/></svg>'},Nc={name:"skip_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.002 8.29L2 12.304v-8.01zM14 2h-2v12h2z"/></svg>'},jc={name:"spinner",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.967 7.143h-.762a4.885 4.885 0 013.938-3.94v.771a4.123 4.123 0 00-3.176 3.169zM8 2v1.875A4.125 4.125 0 113.875 8H2a6 6 0 106-6z"/></svg>'},qc={name:"square_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm4.788 9.2L4 8.387 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013z"/></svg>'},Uc={name:"square_t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm9.033 4.199l-.016-.076a2.34 2.34 0 00-.497-1.18 2.108 2.108 0 00-1.281-.26h-.56v5.941c0 .552.11.718.176.768a1.793 1.793 0 00.88.196l.09.006V12H6.193v-.405l.09-.007c.59-.046.8-.144.87-.218.06-.06.158-.255.158-.884V4.683h-.565a2.19 2.19 0 00-1.274.262 2.015 2.015 0 00-.498 1.174l-.015.08H4.49L4.565 4h6.859l.07 2.199z"/></svg>'},Kc={name:"t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.684 13v-.729l.221-.018c.764-.058.947-.19.985-.229.026-.026.157-.202.157-.992V4.078H6.48a2.46 2.46 0 00-1.477.291 2.262 2.262 0 00-.563 1.36l-.038.196h-.797L3.704 3h8.6l.092 2.925h-.784l-.021-.095a2.817 2.817 0 00-.589-1.466c-.147-.131-.523-.286-1.48-.286H8.96V11.2c0 .679.138.819.165.84a2.092 2.092 0 001.01.213l.223.018V13z"/></svg>'},Wc={name:"tablet_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.5 2h-9a.501.501 0 00-.5.5v11a.501.501 0 00.5.5h9a.501.501 0 00.5-.5v-11a.501.501 0 00-.5-.5zM8 13.25a.75.75 0 11.75-.75.752.752 0 01-.75.75zM12 11H4V3h8z"/></svg>'},Xc={name:"tag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path class="cls-1" d="M8.044 3.588L5.23 3 3 5.229l.588 2.816L8.543 13 13 8.543zM6.5 6.499a1.082 1.082 0 11-.013-1.516A1.072 1.072 0 016.499 6.5z"/></svg>'},Yc={name:"tags_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path class="cls-1" d="M8.044 2.338L5.23 1.75 3 3.979l.588 2.816 4.955 4.955L13 7.293zM6.5 5.249a1.082 1.082 0 11-.013-1.516 1.072 1.072 0 01.013 1.516zm6.251 4.794L8.543 14.25 4.257 9.964l-.283-1.369 4.569 4.57L12.207 9.5z"/></svg>'},Gc={name:"target_crosshairs_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 6.01a2 2 0 102 2 2 2 0 00-2-2zm4.9.99A5.005 5.005 0 009 3.1V1H7v2.1A5.005 5.005 0 003.1 7H1v2h2.1A5.005 5.005 0 007 12.9V15h2v-2.1A5.005 5.005 0 0012.9 9H15V7zM8 12a4 4 0 114-4 4.005 4.005 0 01-4 4z"/></svg>'},Qc={name:"target_crosshairs_progress_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M15 7v2h-2.1A5.005 5.005 0 019 12.9V15H7v-2.108a4.99 4.99 0 01-3.898-3.985l-1.52.583 2.003-4 1.998 4L4.11 8.9A3.999 3.999 0 107 4.13V1h2v2.1A5.005 5.005 0 0112.9 7zm-5 1.01a2 2 0 11-2-2 2 2 0 012 2z"/></svg>'},Jc={name:"three_dots_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 6.5A1.5 1.5 0 116.5 8 1.5 1.5 0 018 6.5zM.5 8A1.5 1.5 0 102 6.5 1.5 1.5 0 00.5 8zm12 0A1.5 1.5 0 1014 6.5 1.5 1.5 0 0012.5 8z"/></svg>'},Zc={name:"three_vertical_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 3h2v10h-2zM7 3h2v10H7zM3 3h2v10H3z"/></svg>'},th={name:"thumbtack_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 7l-.625-5H10V1H5v1h.625L5 7a2 2 0 00-2 2h4v4l.5 2 .5-2V9h4a2 2 0 00-2-2z"/></svg>'},eh={name:"tile_size_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 8h6v6H2zm0-6v5h2V4h8v8H9v2h5V2z"/></svg>'},ih={name:"times_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 9.103L5.102 12 4 10.897 6.898 8 4 5.103 5.102 4 8 6.897 10.898 4 12 5.103 9.102 8 12 10.897 10.898 12 8 9.103z"/></svg>'},sh={name:"trash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 4V2H6v2H3v2h1v8h8V6h1V4zm-3 9H6V6h1zm2-9H7V3h2zm1 9H9V6h1z"/></svg>'},oh={name:"triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2L2 14h12zm0 4.875l2.438 4.875H5.585z"/></svg>'},nh={name:"true_false_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.4 3.003H2.6a1.6 1.6 0 00-1.6 1.6v6.8a1.595 1.595 0 001.6 1.594h10.8a1.595 1.595 0 001.6-1.594v-6.8a1.6 1.6 0 00-1.6-1.6zM7.587 6.58H6.141v3.736H4.946V6.58H3.5v-.896h4.087zm4.913 0h-2.13v.862h1.974v.896H10.37v1.978H9.181V5.684H12.5z"/></svg>'},rh={name:"unlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.126 8.585c-.581.123-1.117.241-1.362.303a1.547 1.547 0 00-1.182 1.51l.01.155.021.193a1.69 1.69 0 00.216.54l.02.038.105.134.127.144.054.047a1.509 1.509 0 00.992.36h.049a1.306 1.306 0 00.224-.034l.03.015.006-.001c.463-.088.925-.186 1.387-.287l.343 1.538c-.488.11-.976.221-1.467.314a3.112 3.112 0 01-.571.053 3.148 3.148 0 01-2.99-2.258l-.011-.045a3.04 3.04 0 01-.076-.35 3.127 3.127 0 01-.03-.206l-.004-.089a3.112 3.112 0 01-.016-.336A3.164 3.164 0 014.35 7.356c.272-.068.808-.203.802-.206l.623-.137zm4.31-1.544l-.353 1.575c.737.176 1.38.334 1.413.346a1.514 1.514 0 01.789.768l.029.066.053.185.038.164.002.045a1.667 1.667 0 01-.035.58l-.064.185-.056.142a1.546 1.546 0 01-1.4.893 1.661 1.661 0 01-.313-.03 54.946 54.946 0 01-1.15-.24l-.347 1.55.406.097-.013-.017c.276.057.55.118.826.173a3.02 3.02 0 00.578.056 3.188 3.188 0 002.811-1.74 3.018 3.018 0 00.129-.311l.033-.083.061-.197a3.047 3.047 0 00.082-.351l.008-.044a3.132 3.132 0 00-2.281-3.513c-.297-.077-.777-.19-1.245-.299M7.932 2.393L6.875 6.075h.75l.3 3.032 1.2-3.782h-.75z"/></svg>'},ah={name:"unlock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.062 8V5.986a2.407 2.407 0 01.566-1.516A1.834 1.834 0 018 4a1.883 1.883 0 012 2h2a3.888 3.888 0 00-4-4 3.822 3.822 0 00-2.81 1.078A4.349 4.349 0 004.062 6v2H3v6h10V8z"/></svg>'},lh={name:"upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 9v5H2V9h1v4h10V9zM7.982 2L5 7.9l2.004-1.312L7 11h2V6.613L11 7.9z"/></svg>'},ch={name:"user_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.004 2a2.18 2.18 0 012.184 2.182v1.09c.647 0 .378.932 0 1.455a4.275 4.275 0 01-.335.364 8.55 8.55 0 01-.31.742l.208 1.076h.437l2.75 1.527A2.148 2.148 0 0114 12.291V14H2v-1.673a2.163 2.163 0 011.063-1.869l2.758-1.55h.437l.21-1.068a8.52 8.52 0 01-.312-.749 4.275 4.275 0 01-.335-.364c-.378-.523-.647-1.454 0-1.454v-1.09A2.18 2.18 0 018.004 2"/></svg>'},hh={name:"watch_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.57 7.28l-.06.013a4.556 4.556 0 00-1.38-2.609V3.44a.481.481 0 00-.48-.48h-.48V2H5.85v.96h-.48a.481.481 0 00-.48.48v1.24a4.545 4.545 0 000 6.64v1.24a.481.481 0 00.48.48h.48V14h4.32v-.96h.48a.481.481 0 00.48-.48v-1.24a4.547 4.547 0 001.379-2.612l.061.012a.481.481 0 00.48-.48v-.48a.481.481 0 00-.48-.48zm-2.3 2.662a1.59 1.59 0 00-.182-.26L8.747 8.338a.785.785 0 000-.666c.132-.133.894-.899.965-1a1.216 1.216 0 00.14-.485 1.004 1.004 0 00-.515.157l-.955.957a.784.784 0 100 1.408c.163.167.956.974 1.236 1.254a1.477 1.477 0 00.36.276 3.055 3.055 0 11.291-.297z"/></svg>'},dh={name:"waveform_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9.77 11.225c-1.582 0-2.076-1.262-2.512-2.376l-.17-.426a26.242 26.242 0 01-.218-.595c-.32-.9-.41-1.046-.652-1.046-.24 0-.308.065-.612.88-.088.237-.188.504-.317.801l-.098.238c-.486 1.178-1.037 2.513-2.747 2.513H2V9.221h.444c.318 0 .48-.316.9-1.292l.133-.307c.06-.148.121-.304.181-.457.435-1.116.927-2.382 2.56-2.382 1.59 0 2.063 1.274 2.48 2.398l.168.443c.082.205.155.396.221.572.345.905.427 1.03.684 1.03.259 0 .409-.317.742-1.157.08-.201.167-.42.266-.652l.097-.228c.477-1.127 1.016-2.405 2.668-2.412l.444-.002L14 6.782h-.447c-.367 0-.506.245-.994 1.387 0 0-.179.434-.238.584-.433 1.101-.973 2.472-2.55 2.472z"/></svg>'},uh={name:"webvi_custom_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm4.089 2.526h-1.868a5.598 5.598 0 00-.854-1.712 5.363 5.363 0 012.722 1.712zm-2.722 8.66a5.599 5.599 0 00.854-1.712h1.868a5.363 5.363 0 01-2.722 1.712zm3.181-2.344h-2.146a10.644 10.644 0 00.208-1.187L9.923 10c-.05.294-.106.58-.176.843h-1.51l-1.263.632h2.583C9.145 12.647 8.554 13.368 8 13.368c-.517 0-1.065-.633-1.47-1.672l-.56.28a5.018 5.018 0 00.663 1.21 5.363 5.363 0 01-2.722-1.712h.317a.955.955 0 01-.017-.17v-.462h-.76a5.33 5.33 0 01-.804-2.526h1.564v-.632H2.646a5.33 5.33 0 01.805-2.526h.759V4.69a.95.95 0 01.016-.164h-.316a5.363 5.363 0 012.722-1.712 5.017 5.017 0 00-.663 1.207l.56.28c.406-1.037.953-1.67 1.47-1.67.554 0 1.145.722 1.557 1.895H6.98l1.261.632h1.507c.07.263.126.548.176.842l.687.344a10.66 10.66 0 00-.208-1.186h2.146a5.33 5.33 0 01.804 2.526h-.67a.92.92 0 01-.001.632h.671a5.33 5.33 0 01-.804 2.526zM12.105 8a.326.326 0 01-.19.296l-6.598 3.3-.148.036a.327.327 0 01-.327-.328V4.69a.327.327 0 01.492-.281l6.595 3.302a.326.326 0 01.176.29z"/></svg>'},ph={name:"webvi_host_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm4.09 2.526H10.22a5.6 5.6 0 00-.854-1.712 5.364 5.364 0 012.722 1.712zm-2.723 8.66a5.6 5.6 0 00.854-1.712h1.868a5.363 5.363 0 01-2.722 1.712zm3.181-2.344h-2.146a10.657 10.657 0 00.208-1.187L9.923 10a9.85 9.85 0 01-.176.843h-1.51l-1.263.632h2.583C9.145 12.647 8.554 13.368 8 13.368c-.517 0-1.064-.633-1.47-1.672l-.56.28a5.02 5.02 0 00.663 1.21 5.363 5.363 0 01-2.722-1.712h.317a.96.96 0 01-.017-.17v-.462h-.76a5.33 5.33 0 01-.804-2.526H4.21v-.632H2.647a5.33 5.33 0 01.805-2.526h.759V4.69a.95.95 0 01.016-.164h-.316a5.364 5.364 0 012.722-1.712 5.02 5.02 0 00-.663 1.207l.56.28c.406-1.037.953-1.67 1.47-1.67.554 0 1.145.722 1.557 1.895H6.98l1.262.632h1.506c.07.263.126.548.176.842l.687.344a10.646 10.646 0 00-.208-1.186h2.146a5.33 5.33 0 01.804 2.526h-.67a.92.92 0 01-.001.632h.671a5.33 5.33 0 01-.804 2.526zm-.619-3.131L5.334 4.409a.327.327 0 00-.492.281v6.613a.327.327 0 00.327.328l.148-.035 6.598-3.3a.326.326 0 00.014-.585zm-6.087 2.505V5.78L10.274 8z"/></svg>'},vh={name:"window_code_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm11 11H3V5h10zM4 9.135l2.698-1.118v.75l-1.588.65 1.588.646v.75l-2.694-1.12zm4.42-1.49h.792l-1.565 3.71h-.783zM12 9.135v.557l-2.694 1.12v-.75l.062-.024 1.526-.626-1.588-.648v-.747z"/></svg>'},gh={name:"window_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm11 11H3V5h10zM7 8H4V6h3zm5 2H4V9h8zm0 2H4v-1h8z"/></svg>'},mh={name:"wrench_hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.286 11.714l-5.791-5.79a2.504 2.504 0 00.17-.755 2.149 2.149 0 00-.095-.814 2.12 2.12 0 00-.55-.904 2.328 2.328 0 00-1.76-.685h-.045a2.104 2.104 0 00-.718.155l1.102 1.104.32.32.244.245a1.864 1.864 0 01-.22.854 1.043 1.043 0 01-.114.145 1.648 1.648 0 01-1.003.335L2.61 4.704l-.449-.449a2.074 2.074 0 00-.135.545l-.015.105a2.337 2.337 0 00.384 1.518 2.51 2.51 0 00.295.36 2.205 2.205 0 001.576.65 2.453 2.453 0 00.898-.175l4.793 4.796 1.203 1.2h.668l.663-.665v-.67zM5.75 8.908l1.367 1.367-2.988 2.987h-.923l-.45-.45v-.916zM14 5.906l-1.81 1.809-1.298-1.216-1.38 1.38-1.367-1.365 1.374-1.382-1.622-1.62.683-.774 2.252.45z"/></svg>'},fh={name:"xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 4.667L9.667 7.999 13 11.333 11.333 13 8 9.667 4.667 13 3 11.333 6.333 8 3 4.667 4.667 3 8 6.333 11.333 3z"/></svg>'},bh={name:"xmark_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.033 14.026L4.9 10.866 6.277 9.53l1.744 1.81 4.562-4.507 1.307 1.363zm1.155-10.68l-1.321-1.32-2.312 2.311-2.311-2.311-1.321 1.32 2.311 2.312L1.923 7.97l1.32 1.32 2.312-2.31 2.312 2.31 1.32-1.32-2.31-2.312z"/></svg>'},wh=`:${to}`,xh=ut`
|
|
1113
|
+
${Zs("inline-flex")}
|
|
1114
1114
|
|
|
1115
1115
|
:host {
|
|
1116
1116
|
height: ${Xn};
|
|
@@ -1236,9 +1236,9 @@ const yh=class extends Fe{}.compose({baseName:"breadcrumb-item",baseClass:Fe,tem
|
|
|
1236
1236
|
`)}
|
|
1237
1237
|
</div>
|
|
1238
1238
|
`,styles:xh,separator:ec.data})
|
|
1239
|
-
|
|
1240
|
-
class $h{constructor(t,e,
|
|
1241
|
-
${
|
|
1239
|
+
Fi.getOrCreate().withPrefix("nimble").register(yh())
|
|
1240
|
+
class $h{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(t){p.getNotifier(t).subscribe(this,this.propertyName),this.handleChange(t,this.propertyName)}unbind(t){p.getNotifier(t).unsubscribe(this,this.propertyName),t.$fastController.removeStyles(this.styles)}handleChange(t,e){const i=t[e];(Array.isArray(this.value)?this.value.includes(i):this.value===i)?t.$fastController.addStyles(this.styles):t.$fastController.removeStyles(this.styles)}}function Ch(t,e){return new $h("appearance",t,e)}const kh="outline",_h="ghost",zh="block",Ih=ut`
|
|
1241
|
+
${Zs("inline-flex")}
|
|
1242
1242
|
|
|
1243
1243
|
:host {
|
|
1244
1244
|
background-color: transparent;
|
|
@@ -1501,11 +1501,11 @@ class $h{constructor(t,e,s){this.propertyName=t,this.value=e,this.styles=s}bind(
|
|
|
1501
1501
|
padding: 0px;
|
|
1502
1502
|
}
|
|
1503
1503
|
`))
|
|
1504
|
-
class
|
|
1505
|
-
const Sh
|
|
1506
|
-
|
|
1504
|
+
class Sh extends Je{constructor(){super(...arguments),this.appearance=kh,this.contentHidden=!1}}_n([tt],Sh.prototype,"appearance",void 0),_n([tt({attribute:"content-hidden",mode:"boolean"})],Sh.prototype,"contentHidden",void 0)
|
|
1505
|
+
const Ah=Sh.compose({baseName:"button",baseClass:Je,template:je,styles:Oh,shadowOptions:{delegatesFocus:!0}})
|
|
1506
|
+
Fi.getOrCreate().withPrefix("nimble").register(Ah())
|
|
1507
1507
|
const Eh=ut`
|
|
1508
|
-
${
|
|
1508
|
+
${Zs("inline-flex")}
|
|
1509
1509
|
|
|
1510
1510
|
:host {
|
|
1511
1511
|
background-color: transparent;
|
|
@@ -1635,9 +1635,9 @@ const Eh=ut`
|
|
|
1635
1635
|
`))
|
|
1636
1636
|
class Hh extends Je{constructor(){super(...arguments),this.selected=!1}}_n([tt({mode:"boolean"})],Hh.prototype,"selected",void 0)
|
|
1637
1637
|
const Mh=Hh.compose({baseName:"card-button",template:je,styles:Eh,shadowOptions:{delegatesFocus:!0}})
|
|
1638
|
-
|
|
1638
|
+
Fi.getOrCreate().withPrefix("nimble").register(Mh())
|
|
1639
1639
|
const Vh=ut`
|
|
1640
|
-
${
|
|
1640
|
+
${Zs("inline-flex")}
|
|
1641
1641
|
|
|
1642
1642
|
:host {
|
|
1643
1643
|
font: ${Yr};
|
|
@@ -1740,7 +1740,7 @@ const Vh=ut`
|
|
|
1740
1740
|
fill: rgba(${Dn}, 0.3);
|
|
1741
1741
|
}
|
|
1742
1742
|
`
|
|
1743
|
-
const Lh=class extends
|
|
1743
|
+
const Lh=class extends ii{}.compose({baseName:"checkbox",baseClass:ii,template:(t,e)=>q`
|
|
1744
1744
|
<template
|
|
1745
1745
|
role="checkbox"
|
|
1746
1746
|
aria-checked="${t=>t.checked}"
|
|
@@ -1768,7 +1768,7 @@ const Lh=class extends ss{}.compose({baseName:"checkbox",baseClass:ss,template:(
|
|
|
1768
1768
|
</label>
|
|
1769
1769
|
</template>
|
|
1770
1770
|
`,styles:Vh,checkedIndicator:rl.data,indeterminateIndicator:zc.data})
|
|
1771
|
-
|
|
1771
|
+
Fi.getOrCreate().withPrefix("nimble").register(Lh())
|
|
1772
1772
|
const Th=q`
|
|
1773
1773
|
<div class="error-text" title="${t=>t.errorText}" aria-live="polite">
|
|
1774
1774
|
${t=>t.errorText}
|
|
@@ -1778,7 +1778,7 @@ const Th=q`
|
|
|
1778
1778
|
<div class="icon" :innerHTML=${t=>t.icon.data}></div>
|
|
1779
1779
|
</template
|
|
1780
1780
|
`,Rh=ut`
|
|
1781
|
-
${
|
|
1781
|
+
${Zs("inline-flex")}
|
|
1782
1782
|
|
|
1783
1783
|
:host {
|
|
1784
1784
|
align-items: center;
|
|
@@ -1814,12 +1814,12 @@ const Th=q`
|
|
|
1814
1814
|
height: 100%;
|
|
1815
1815
|
}
|
|
1816
1816
|
`
|
|
1817
|
-
class Dh extends le{constructor(t){super(),this.icon=t}}const Bh=(t,e)=>{const
|
|
1818
|
-
|
|
1817
|
+
class Dh extends le{constructor(t){super(),this.icon=t}}const Bh=(t,e)=>{const i=e.compose({baseName:t,template:Ph,styles:Rh,baseClass:e})
|
|
1818
|
+
Fi.getOrCreate().withPrefix("nimble").register(i())}
|
|
1819
1819
|
class Fh extends Dh{constructor(){super(jl)}}Bh("icon-exclamation-mark",Fh)
|
|
1820
1820
|
Bh("icon-arrow-expander-down",class extends Dh{constructor(){super(Ta)}})
|
|
1821
1821
|
const Nh="underline",jh="outline",qh="block",Uh=ut`
|
|
1822
|
-
${
|
|
1822
|
+
${Zs("inline-flex")}
|
|
1823
1823
|
|
|
1824
1824
|
:host {
|
|
1825
1825
|
box-sizing: border-box;
|
|
@@ -2164,8 +2164,8 @@ const Nh="underline",jh="outline",qh="block",Uh=ut`
|
|
|
2164
2164
|
padding-bottom: 0;
|
|
2165
2165
|
}
|
|
2166
2166
|
`))
|
|
2167
|
-
class Xh extends
|
|
2168
|
-
super.slottedOptionsChanged(t,e),
|
|
2167
|
+
class Xh extends mi{constructor(){super(...arguments),this.appearance=Nh,this.valueUpdatedByInput=!1}setPositioning(){this.$fastController.isConnected&&super.setPositioning()}slottedOptionsChanged(t,e){const i=this.value
|
|
2168
|
+
super.slottedOptionsChanged(t,e),i&&(this.value=i)}connectedCallback(){super.connectedCallback(),this.setPositioning(),this.updateInputAriaLabel()}toggleButtonClickHandler(t){t.stopImmediatePropagation()}toggleButtonChangeHandler(t){this.open=this.dropdownButton.checked,t.stopImmediatePropagation()}toggleButtonKeyDownHandler(t){switch(t.key){case Ce:case xe:case Oe:case ke:return this.open=!0,this.stopPropagation(t),!1
|
|
2169
2169
|
default:return!0}}filterOptions(){super.filterOptions()
|
|
2170
2170
|
const t=this.filteredOptions.filter((t=>!t.disabled))
|
|
2171
2171
|
this.filteredOptions=t}inputHandler(t){const e=super.inputHandler(t)
|
|
@@ -2178,7 +2178,7 @@ break
|
|
|
2178
2178
|
default:return e}return e}focusoutHandler(t){const e=super.focusoutHandler(t)
|
|
2179
2179
|
return this.open=!1,this.emitChangeIfValueUpdated(),e}openChanged(){super.openChanged(),this.dropdownButton&&(this.dropdownButton.checked=this.open)}ariaLabelChanged(t,e){this.updateInputAriaLabel()}updateInputAriaLabel(){const t=this.shadowRoot?.querySelector(".selected-value")
|
|
2180
2180
|
this.ariaLabel?t?.setAttribute("aria-label",this.ariaLabel):t?.removeAttribute("aria-label")}emitChangeIfValueUpdated(){this.valueUpdatedByInput&&(this.value!==this.valueBeforeTextUpdate&&this.$emit("change"),this.valueUpdatedByInput=!1)}}_n([tt],Xh.prototype,"appearance",void 0),_n([v],Xh.prototype,"dropdownButton",void 0),_n([tt({attribute:"error-text"})],Xh.prototype,"errorText",void 0)
|
|
2181
|
-
const Yh=Xh.compose({baseName:"combobox",baseClass:
|
|
2181
|
+
const Yh=Xh.compose({baseName:"combobox",baseClass:mi,template:(t,e)=>q`
|
|
2182
2182
|
<template
|
|
2183
2183
|
aria-disabled="${t=>t.ariaDisabled}"
|
|
2184
2184
|
autocomplete="${t=>t.autocomplete}"
|
|
@@ -2228,7 +2228,7 @@ const Yh=Xh.compose({baseName:"combobox",baseClass:ms,template:(t,e)=>q`
|
|
|
2228
2228
|
${vt("listbox")}
|
|
2229
2229
|
>
|
|
2230
2230
|
<slot
|
|
2231
|
-
${wt({filter:
|
|
2231
|
+
${wt({filter:ri.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}
|
|
2232
2232
|
></slot>
|
|
2233
2233
|
</div>
|
|
2234
2234
|
</template>
|
|
@@ -2262,9 +2262,9 @@ const Yh=Xh.compose({baseName:"combobox",baseClass:ms,template:(t,e)=>q`
|
|
|
2262
2262
|
</div>
|
|
2263
2263
|
${Th}
|
|
2264
2264
|
`})
|
|
2265
|
-
|
|
2265
|
+
Fi.getOrCreate().withPrefix("nimble").register(Yh())
|
|
2266
2266
|
const Gh=ut`
|
|
2267
|
-
${
|
|
2267
|
+
${Zs("grid")}
|
|
2268
2268
|
|
|
2269
2269
|
dialog {
|
|
2270
2270
|
background-color: ${Vn};
|
|
@@ -2279,7 +2279,6 @@ const Gh=ut`
|
|
|
2279
2279
|
role="alertdialog"
|
|
2280
2280
|
aria-label="${t=>t.ariaLabel}"
|
|
2281
2281
|
@cancel="${(t,e)=>t.cancelHandler(e.event)}"
|
|
2282
|
-
@close="${t=>t.closeHandler()}"
|
|
2283
2282
|
>
|
|
2284
2283
|
<slot></slot>
|
|
2285
2284
|
</dialog>
|
|
@@ -2287,48 +2286,48 @@ const Gh=ut`
|
|
|
2287
2286
|
`,Jh=Symbol("user dismissed")
|
|
2288
2287
|
class Zh extends le{constructor(){super(...arguments),this.preventDismiss=!1}get open(){return void 0!==this.resolveShow}async show(){if(this.open)throw new Error("Dialog is already open")
|
|
2289
2288
|
return this.dialogElement.showModal(),new Promise(((t,e)=>{this.resolveShow=t}))}close(t){if(!this.open)throw new Error("Dialog is not open")
|
|
2290
|
-
this.
|
|
2289
|
+
this.dialogElement.close(),this.resolveShow(t),this.resolveShow=void 0}cancelHandler(t){return this.preventDismiss?t.preventDefault():(this.resolveShow(Jh),this.resolveShow=void 0),!0}}Zh.USER_DISMISSED=Jh,_n([tt({attribute:"prevent-dismiss",mode:"boolean"})],Zh.prototype,"preventDismiss",void 0),de(Zh,Te)
|
|
2291
2290
|
const td=Zh.compose({baseName:"dialog",template:Qh,styles:Gh,baseClass:Zh})
|
|
2292
|
-
|
|
2293
|
-
var ed="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},
|
|
2291
|
+
Fi.getOrCreate().withPrefix("nimble").register(td())
|
|
2292
|
+
var ed="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},id={},sd={},od={}
|
|
2294
2293
|
!function(t){var e
|
|
2295
2294
|
Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationMode=void 0,function(t){t[t.animateTo=0]="animateTo",t[t.animateFrom=1]="animateFrom"}(e=t.AnimationMode||(t.AnimationMode={}))
|
|
2296
|
-
var
|
|
2297
|
-
this.effectTiming={fill:"forwards",iterations:1,duration:500},this._keyframes=[],this.play=function(){
|
|
2298
|
-
return Object.keys(t.propertyMap).filter((function(
|
|
2299
|
-
switch(t){case"transform":var
|
|
2300
|
-
if(Array.isArray(
|
|
2295
|
+
var i=function(){function t(t,e,i){var s=this
|
|
2296
|
+
this.effectTiming={fill:"forwards",iterations:1,duration:500},this._keyframes=[],this.play=function(){s.ensureAnimationObjectExists(),s.animation.play()},this.pause=function(){s.ensureAnimationObjectExists(),s.animation.pause()},this.finish=function(){s.ensureAnimationObjectExists(),s.animation.finish()},this.cancel=function(){s.ensureAnimationObjectExists(),s.animation.cancel()},this.reverse=function(){s.ensureAnimationObjectExists(),s.animation.reverse()},this.addKeyframes=function(t){s._keyframes.push(t)},this.animationTarget=t,i&&(this.effectTiming=Object.assign({},this.effectTiming,i)),e&&(e.transformOrigin&&(t.style.transformOrigin=e.transformOrigin),e.transformStyle&&(t.style.transformStyle=e.transformStyle)),this.options=e||{}}return Object.defineProperty(t.prototype,"onFinish",{get:function(){return this._onFinish},set:function(t){this._onFinish=t,this.animation&&(this.animation.onfinish=t)},enumerable:!1,configurable:!0}),t.prototype.ensureAnimationObjectExists=function(){void 0===this.animation&&this.createAnimationObject()},t.prototype.createAnimationObject=function(){this.animation=new Animation(this.keyframeEffect,document.timeline),void 0!==this.onFinish&&(this.animation.onfinish=this.onFinish),void 0!==this.onCancel&&(this.animation.oncancel=this.onCancel)},t.prototype.getPropertiesToAnimate=function(){var e=this
|
|
2297
|
+
return Object.keys(t.propertyMap).filter((function(i){return t.propertyMap[i].reduce((function(t,i){return void 0!==e.options[i]||t}),!1)}))},t.prototype.normalizeInitialValue=function(t,e){if(void 0!==e){var i="0.01"
|
|
2298
|
+
switch(t){case"transform":var s=e.match(/matrix\((.+)\)/)
|
|
2299
|
+
if(Array.isArray(s)){var o=s[1].split(",").map((function(t,s){return 0===parseFloat(e)&&(0===s||3===s)?i:t}))
|
|
2301
2300
|
return"matrix(".concat(o.join(","),")")}break
|
|
2302
|
-
case"opacity":return 0===parseFloat(e)?
|
|
2301
|
+
case"opacity":return 0===parseFloat(e)?i:e}return e}},t.prototype.getInitialKeyframeValues=function(){var t=this
|
|
2303
2302
|
if(!(this.animationTarget instanceof HTMLElement)||"undefined"==typeof window)return{}
|
|
2304
|
-
var e=this.getPropertiesToAnimate(),
|
|
2305
|
-
return e.forEach((function(e){
|
|
2306
|
-
switch(e){case"x":case"y":e="translate".concat(e.toUpperCase()),
|
|
2303
|
+
var e=this.getPropertiesToAnimate(),i=window.getComputedStyle(this.animationTarget),s={}
|
|
2304
|
+
return e.forEach((function(e){s[e]=t.normalizeInitialValue(e,i[e])})),s},t.prototype.formatTransformFunction=function(e,i){if(-1===t.propertyMap.transform.indexOf(e))return""
|
|
2305
|
+
switch(e){case"x":case"y":e="translate".concat(e.toUpperCase()),i="number"==typeof i?i=this.pixelify(i):i
|
|
2307
2306
|
break
|
|
2308
|
-
case"rotate":
|
|
2307
|
+
case"rotate":i="".concat(i.toString(),"deg")
|
|
2309
2308
|
break
|
|
2310
|
-
case"scale":0===
|
|
2311
|
-
return
|
|
2312
|
-
if(void 0===
|
|
2313
|
-
switch(t){case"opacity":return
|
|
2314
|
-
case"top":case"right":case"bottom":case"left":return"number"==typeof
|
|
2315
|
-
default:return e.formatTransformFunction(t,
|
|
2316
|
-
return this.mode===e.animateFrom?t.reverse():t},t.prototype.sortOffsets=function(t){return t.sort((function(t,e){var
|
|
2317
|
-
return s
|
|
2318
|
-
return t.forEach((function(t){t.forEach((function(t,
|
|
2319
|
-
void 0===
|
|
2320
|
-
var o=
|
|
2309
|
+
case"scale":0===i&&(i=.01)}return"string"!=typeof i&&(i=i.toString()),"".concat(e,"(").concat(i,")")},t.prototype.pixelify=function(t){return"".concat(t,"px")},t.prototype.getOptionKeyframeValues=function(){var e=this,i=this.getPropertiesToAnimate(),s={}
|
|
2310
|
+
return i.forEach((function(i){s[i]=t.propertyMap[i].map((function(t){var i=e.options[t]
|
|
2311
|
+
if(void 0===i)return null
|
|
2312
|
+
switch(t){case"opacity":return i.toString()
|
|
2313
|
+
case"top":case"right":case"bottom":case"left":return"number"==typeof i?e.pixelify(i):i
|
|
2314
|
+
default:return e.formatTransformFunction(t,i)}})).filter((function(t){return Boolean(t)})).join(" ")})),s},t.prototype.getOptionKeyframes=function(){var t=[this.getInitialKeyframeValues(),this.getOptionKeyframeValues()]
|
|
2315
|
+
return this.mode===e.animateFrom?t.reverse():t},t.prototype.sortOffsets=function(t){return t.sort((function(t,e){var i=parseFloat(t),s=parseFloat(e)
|
|
2316
|
+
return i<s?-1:i>s?1:0}))},t.prototype.consolidateKeyframes=function(t){var e=[]
|
|
2317
|
+
return t.forEach((function(t){t.forEach((function(t,i){var s=t.offset
|
|
2318
|
+
void 0===s&&(s=0===i?0:1,t.offset=s)
|
|
2319
|
+
var o=s.toString()
|
|
2321
2320
|
e[o]=void 0===e[o]?t:Object.assign(e[o],t)}))})),this.sortOffsets(Object.keys(e)).map((function(t){return e[t]}))},Object.defineProperty(t.prototype,"keyframes",{get:function(){return this.consolidateKeyframes(this._keyframes.concat([this.getOptionKeyframes()]))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyframeEffect",{get:function(){return new KeyframeEffect(this.animationTarget,this.keyframes,this.effectTiming)},enumerable:!1,configurable:!0}),t.propertyMap={opacity:["opacity"],transform:["x","y","rotate","scale"],top:["top"],left:["left"],bottom:["bottom"],right:["right"]},t}()
|
|
2322
|
-
t.default=
|
|
2323
|
-
var nd,rd=ed&&ed.__extends||(nd=function(t,e){return(nd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var
|
|
2324
|
-
function
|
|
2325
|
-
Object.defineProperty(
|
|
2321
|
+
t.default=i}(od)
|
|
2322
|
+
var nd,rd=ed&&ed.__extends||(nd=function(t,e){return(nd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null")
|
|
2323
|
+
function i(){this.constructor=t}nd(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)})
|
|
2324
|
+
Object.defineProperty(sd,"__esModule",{value:!0})
|
|
2326
2325
|
var ad=od,ld=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this
|
|
2327
2326
|
return e.mode=ad.AnimationMode.animateTo,e}return rd(e,t),e}(ad.default)
|
|
2328
|
-
|
|
2329
|
-
var cd={},hd=ed&&ed.__extends||function(){var t=function(e,
|
|
2330
|
-
return function(e,
|
|
2331
|
-
function
|
|
2327
|
+
sd.default=ld
|
|
2328
|
+
var cd={},hd=ed&&ed.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
|
|
2329
|
+
return function(e,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null")
|
|
2330
|
+
function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
|
|
2332
2331
|
Object.defineProperty(cd,"__esModule",{value:!0})
|
|
2333
2332
|
var dd=od,ud=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this
|
|
2334
2333
|
return e.mode=dd.AnimationMode.animateFrom,e}return hd(e,t),e}(dd.default)
|
|
@@ -2338,70 +2337,70 @@ Object.defineProperty(vd,"__esModule",{value:!0}),vd.invokeFunctionForEach=void
|
|
|
2338
2337
|
var gd=vd,md=function(){function t(t){var e=this
|
|
2339
2338
|
this.pause=function(){(0,gd.invokeFunctionForEach)(e.animations,"pause")},this.finish=function(){(0,gd.invokeFunctionForEach)(e.animations,"finish")},this.cancel=function(){(0,gd.invokeFunctionForEach)(e.animations,"cancel")},this.animations=t}return Object.defineProperty(t.prototype,"onFinish",{get:function(){return this._onFinish},set:function(t){var e=this
|
|
2340
2339
|
this._onFinish=t
|
|
2341
|
-
var
|
|
2342
|
-
if("function"==typeof
|
|
2343
|
-
|
|
2344
|
-
return this.animations.reduce((function(e,
|
|
2345
|
-
return t.getAnimationDuration(
|
|
2346
|
-
return(t.delay||0)+(
|
|
2340
|
+
var i=this.getLongestAnimation()
|
|
2341
|
+
if("function"==typeof i.onFinish){var s=i.onFinish
|
|
2342
|
+
i.onFinish=function(){s(),e._onFinish()}}else i.onFinish=this._onFinish},enumerable:!1,configurable:!0}),t.prototype.play=function(){(0,gd.invokeFunctionForEach)(this.animations,"play")},t.prototype.reverse=function(){(0,gd.invokeFunctionForEach)(this.animations,"reverse")},t.prototype.getLongestAnimation=function(){var t=this
|
|
2343
|
+
return this.animations.reduce((function(e,i){var s=t.getAnimationDuration(e.effectTiming)
|
|
2344
|
+
return t.getAnimationDuration(i.effectTiming)>=s?i:e}))},t.prototype.getAnimationDuration=function(t){var e=t.duration,i="string"==typeof e?parseFloat(e):e
|
|
2345
|
+
return(t.delay||0)+(i||0)},t}()
|
|
2347
2346
|
pd.default=md
|
|
2348
2347
|
var fd={}
|
|
2349
2348
|
Object.defineProperty(fd,"__esModule",{value:!0})
|
|
2350
2349
|
var bd=vd,wd=function(){function t(t){var e=this
|
|
2351
|
-
this.play=function(){e.applySequencedCallback(e.animations,"play")},this.reverse=function(){e.applySequencedCallback(e.animations.reverse(),"reverse")},this.pause=function(){(0,bd.invokeFunctionForEach)(e.animations,"pause")},this.finish=function(){(0,bd.invokeFunctionForEach)(e.animations,"finish")},this.cancel=function(){(0,bd.invokeFunctionForEach)(e.animations,"cancel")},this.animations=t}return t.prototype.applySequencedCallback=function(t,e){var
|
|
2352
|
-
|
|
2350
|
+
this.play=function(){e.applySequencedCallback(e.animations,"play")},this.reverse=function(){e.applySequencedCallback(e.animations.reverse(),"reverse")},this.pause=function(){(0,bd.invokeFunctionForEach)(e.animations,"pause")},this.finish=function(){(0,bd.invokeFunctionForEach)(e.animations,"finish")},this.cancel=function(){(0,bd.invokeFunctionForEach)(e.animations,"cancel")},this.animations=t}return t.prototype.applySequencedCallback=function(t,e){var i=this,s=t.length
|
|
2351
|
+
s<=0||(t.forEach((function(t,o){t.onFinish=o<s-1?i.animations[o+1][e]:i.onFinish||void 0})),t[0][e]())},t}()
|
|
2353
2352
|
fd.default=wd
|
|
2354
2353
|
var xd={}
|
|
2355
2354
|
!function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.fadeOut=t.fadeIn=t.applyFade=t.fadeEffectTiming=t.fadeOutKeyframes=t.fadeInKeyframes=void 0
|
|
2356
|
-
var e=
|
|
2357
|
-
function
|
|
2358
|
-
var n=Object.assign({},t.fadeEffectTiming,o),r=new e.default(
|
|
2359
|
-
return r.addKeyframes(
|
|
2355
|
+
var e=sd
|
|
2356
|
+
function i(i,s,o){void 0===o&&(o={})
|
|
2357
|
+
var n=Object.assign({},t.fadeEffectTiming,o),r=new e.default(i,null,n)
|
|
2358
|
+
return r.addKeyframes(s),r}t.fadeInKeyframes=[{opacity:"0.01"},{opacity:"1"}],t.fadeOutKeyframes=[{opacity:"1"},{opacity:"0"}],t.fadeEffectTiming={easing:"linear",duration:500},t.applyFade=i,t.fadeIn=function(e,s){return void 0===s&&(s={}),i(e,t.fadeInKeyframes,s)},t.fadeOut=function(e,s){return void 0===s&&(s={}),i(e,t.fadeOutKeyframes,s)}}(xd)
|
|
2360
2359
|
var yd={},$d={}
|
|
2361
2360
|
Object.defineProperty($d,"__esModule",{value:!0}),$d.navPane=$d.exponentialReversed=$d.fastInFortySevenPercent=$d.exponential=$d.fastInOut=$d.fastOut=$d.fastIn=$d.appToApp=$d.backToApp=$d.drillIn=$d.easeIn=$d.easeOutSmooth=$d.easeOut=$d.linear=void 0,$d.linear=[[0,0],[1,1]],$d.easeOut=[[0,0],[.58,1]],$d.easeOutSmooth=[[0,.35],[.15,1]],$d.easeIn=[[.25,.1],[.25,1]],$d.drillIn=[[.17,.17],[0,1]],$d.backToApp=[[.5,0],[.6,1]],$d.appToApp=[[.5,0],[1,.9]],$d.fastIn=[[.1,.9],[.2,1]],$d.fastOut=[[.9,.1],[1,.2]],$d.fastInOut=[[.8,0],[.2,1]],$d.exponential=[[.1,.25],[.75,.9]],$d.fastInFortySevenPercent=[[.11,.5],[.24,.96]],$d.exponentialReversed=[[.25,.1],[.9,.75]],$d.navPane=[[.1,.7],[.1,1]],Object.defineProperty(yd,"__esModule",{value:!0}),yd.cubicBezier=yd.formatCubicBezier=void 0
|
|
2362
2361
|
var Cd=$d
|
|
2363
2362
|
function kd(t){if(!Array.isArray(t)||!Array.isArray(t[0])||!Array.isArray(t[1]))return""
|
|
2364
|
-
var e=t[0],
|
|
2365
|
-
return"cubic-bezier(".concat(e[0],", ").concat(e[1],", ").concat(
|
|
2363
|
+
var e=t[0],i=t[1]
|
|
2364
|
+
return"cubic-bezier(".concat(e[0],", ").concat(e[1],", ").concat(i[0],", ").concat(i[1],")")}yd.formatCubicBezier=kd,yd.cubicBezier=function(t){return t in Cd?kd(Cd[t]):""}
|
|
2366
2365
|
var _d={},zd={}
|
|
2367
2366
|
Object.defineProperty(zd,"__esModule",{value:!0}),zd.default=function(t){var e=t.getBoundingClientRect()
|
|
2368
2367
|
return e.bottom>=0&&e.right>=0&&e.top<=window.innerHeight&&e.left<=window.innerWidth}
|
|
2369
2368
|
var Id={},Od={}
|
|
2370
2369
|
Object.defineProperty(Od,"__esModule",{value:!0}),Od.default=function(){return"undefined"==typeof window?NaN:void 0!==window.scrollY?window.scrollY:window.pageYOffset},Object.defineProperty(Id,"__esModule",{value:!0})
|
|
2371
|
-
var
|
|
2372
|
-
this.subscriptions=[],this.scrollDistance=0,this.requestFrame=function(){t.requestedFrame&&cancelAnimationFrame(t.requestedFrame),t.requestedFrame=requestAnimationFrame(t.update)},this.lastScrollY=(0,
|
|
2373
|
-
this.scrollDistance=t-this.lastScrollY,this.lastScrollY=t},t.prototype.isSubscribed=function(t,e){return!!this.subscriptions.filter((function(
|
|
2370
|
+
var Sd=zd,Ad=Od,Ed=function(){function t(){var t=this
|
|
2371
|
+
this.subscriptions=[],this.scrollDistance=0,this.requestFrame=function(){t.requestedFrame&&cancelAnimationFrame(t.requestedFrame),t.requestedFrame=requestAnimationFrame(t.update)},this.lastScrollY=(0,Ad.default)(),this.update=this.update.bind(this)}return t.prototype.subscribe=function(t,e){t instanceof HTMLElement&&"function"==typeof e&&!this.isSubscribed(t,e)&&(0===this.subscriptions.length&&window.addEventListener("scroll",this.requestFrame),this.subscriptions.push({element:t,callback:e,inView:(0,Sd.default)(t)}))},t.prototype.unsubscribe=function(t,e){this.subscriptions=this.subscriptions.filter((function(i){return!(t===i.element&&e===i.callback)})),0===this.subscriptions.length&&window.removeEventListener("scroll",this.requestFrame)},t.prototype.update=function(){var t=(0,Ad.default)()
|
|
2372
|
+
this.scrollDistance=t-this.lastScrollY,this.lastScrollY=t},t.prototype.isSubscribed=function(t,e){return!!this.subscriptions.filter((function(i){return t===i.element&&e===i.callback})).length},t}()
|
|
2374
2373
|
Id.default=Ed
|
|
2375
|
-
var Hd=ed&&ed.__extends||function(){var t=function(e,
|
|
2376
|
-
return function(e,
|
|
2377
|
-
function
|
|
2374
|
+
var Hd=ed&&ed.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
|
|
2375
|
+
return function(e,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null")
|
|
2376
|
+
function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
|
|
2378
2377
|
Object.defineProperty(_d,"__esModule",{value:!0})
|
|
2379
2378
|
var Md=zd,Vd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Hd(e,t),e.prototype.update=function(){var e=this
|
|
2380
|
-
t.prototype.update.call(this),this.subscriptions.forEach((function(t){var
|
|
2381
|
-
|
|
2379
|
+
t.prototype.update.call(this),this.subscriptions.forEach((function(t){var i=(0,Md.default)(t.element)
|
|
2380
|
+
i&&t.callback(e.scrollDistance),i!==t.inView&&(t.inView=i)}))},e}(Id.default)
|
|
2382
2381
|
_d.default=Vd
|
|
2383
|
-
var Ld={},Td=ed&&ed.__extends||function(){var t=function(e,
|
|
2384
|
-
return function(e,
|
|
2385
|
-
function
|
|
2382
|
+
var Ld={},Td=ed&&ed.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
|
|
2383
|
+
return function(e,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null")
|
|
2384
|
+
function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
|
|
2386
2385
|
Object.defineProperty(Ld,"__esModule",{value:!0})
|
|
2387
2386
|
var Pd=zd,Rd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Td(e,t),e.prototype.update=function(){var e=this
|
|
2388
|
-
t.prototype.update.call(this),this.subscriptions.forEach((function(t,
|
|
2389
|
-
|
|
2387
|
+
t.prototype.update.call(this),this.subscriptions.forEach((function(t,i){var s=(0,Pd.default)(t.element)
|
|
2388
|
+
s&&!t.inView&&t.callback(e.scrollDistance),s!==t.inView&&(t.inView=s)}))},e}(Id.default)
|
|
2390
2389
|
Ld.default=Rd
|
|
2391
|
-
var Dd={},Bd=ed&&ed.__extends||function(){var t=function(e,
|
|
2392
|
-
return function(e,
|
|
2393
|
-
function
|
|
2390
|
+
var Dd={},Bd=ed&&ed.__extends||function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)}
|
|
2391
|
+
return function(e,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null")
|
|
2392
|
+
function s(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(s.prototype=i.prototype,new s)}}()
|
|
2394
2393
|
Object.defineProperty(Dd,"__esModule",{value:!0})
|
|
2395
2394
|
var Fd=zd,Nd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Bd(e,t),e.prototype.update=function(){var e=this
|
|
2396
|
-
t.prototype.update.call(this),this.subscriptions.forEach((function(t,
|
|
2397
|
-
!
|
|
2395
|
+
t.prototype.update.call(this),this.subscriptions.forEach((function(t,i){var s=(0,Fd.default)(t.element)
|
|
2396
|
+
!s&&t.inView&&t.callback(e.scrollDistance),s!==t.inView&&(t.inView=s)}))},e}(Id.default)
|
|
2398
2397
|
Dd.default=Nd,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ViewExitTrigger=t.ViewEnterTrigger=t.ScrollTrigger=t.fadeOut=t.fadeIn=t.cubicBezier=t.AnimateTo=t.AnimateSequence=t.AnimateGroup=t.AnimateFrom=t.Animate=void 0
|
|
2399
|
-
var e=
|
|
2398
|
+
var e=sd
|
|
2400
2399
|
t.AnimateTo=e.default
|
|
2401
|
-
var
|
|
2402
|
-
t.AnimateFrom=
|
|
2403
|
-
var
|
|
2404
|
-
t.AnimateGroup=
|
|
2400
|
+
var i=cd
|
|
2401
|
+
t.AnimateFrom=i.default
|
|
2402
|
+
var s=pd
|
|
2403
|
+
t.AnimateGroup=s.default
|
|
2405
2404
|
var o=fd
|
|
2406
2405
|
t.AnimateSequence=o.default
|
|
2407
2406
|
var n=od
|
|
@@ -2415,9 +2414,9 @@ t.ScrollTrigger=l.default
|
|
|
2415
2414
|
var c=Ld
|
|
2416
2415
|
t.ViewEnterTrigger=c.default
|
|
2417
2416
|
var h=Dd
|
|
2418
|
-
t.ViewExitTrigger=h.default}(
|
|
2417
|
+
t.ViewExitTrigger=h.default}(id)
|
|
2419
2418
|
const jd=window.matchMedia("(prefers-reduced-motion: reduce)"),qd={slideLeftKeyframes:[{transform:"translateX(-100%)",visibility:"hidden",offset:0},{transform:"translateX(-100%)",visibility:"visible",offset:.01},{transform:"translateX(0%)",visibility:"visible",offset:1}],slideRightKeyframes:[{transform:"translateX(100%)",visibility:"hidden",offset:0},{transform:"translateX(100%)",visibility:"visible",offset:.01},{transform:"translateX(0%)",visibility:"visible",offset:1}],fadeOverlayKeyframes:[{opacity:0},{opacity:1}],slideInOptions:{duration:1,easing:"ease-out"},slideOutOptions:{duration:1,easing:"ease-in",direction:"reverse"}},Ud=ut`
|
|
2420
|
-
${
|
|
2419
|
+
${Zs("block")}
|
|
2421
2420
|
|
|
2422
2421
|
:host {
|
|
2423
2422
|
position: relative;
|
|
@@ -2522,9 +2521,9 @@ const jd=window.matchMedia("(prefers-reduced-motion: reduce)"),qd={slideLeftKeyf
|
|
|
2522
2521
|
border-top: ${Jn} solid ${Wn};
|
|
2523
2522
|
}
|
|
2524
2523
|
`,Kd="left",Wd="right",Xd="opening",Yd="opened",Gd="closing",Qd="closed"
|
|
2525
|
-
class Jd extends
|
|
2524
|
+
class Jd extends ts{constructor(){super(...arguments),this.location=Kd,this.state=Qd,this.preventDismiss=!1,this.propertiesToWatch=["hidden","location","state"],this.animationDurationMilliseconds=.001}connectedCallback(){this.trapFocus=!1,super.connectedCallback(),this.updateAnimationDuration(),this.animationsEnabledChangedHandler=()=>this.updateAnimationDuration(),jd.addEventListener("change",this.animationsEnabledChangedHandler),this.onStateChanged()
|
|
2526
2525
|
const t=p.getNotifier(this),e={handleChange:(t,e)=>this.onPropertyChange(e)}
|
|
2527
|
-
this.propertiesToWatch.forEach((
|
|
2526
|
+
this.propertiesToWatch.forEach((i=>t.subscribe(e,i))),this.propertyChangeSubscriber=e,this.propertyChangeNotifier=t}disconnectedCallback(){super.disconnectedCallback(),this.cancelCurrentAnimation(),this.propertyChangeNotifier&&this.propertyChangeSubscriber&&(this.propertiesToWatch.forEach((t=>this.propertyChangeNotifier.unsubscribe(this.propertyChangeSubscriber,t))),this.propertyChangeNotifier=void 0,this.propertyChangeSubscriber=void 0),this.animationsEnabledChangedHandler&&(jd.removeEventListener("change",this.animationsEnabledChangedHandler),this.animationsEnabledChangedHandler=void 0)}show(){this.state=Xd}hide(){this.state=Gd}dismiss(){this.$emit("cancel",{},{bubbles:!1,cancelable:!0,composed:!1})&&!this.preventDismiss&&(this.$emit("dismiss"),this.hide())}onPropertyChange(t){switch(t){case"hidden":this.onHiddenChanged()
|
|
2528
2527
|
break
|
|
2529
2528
|
case"location":this.onLocationChanged()
|
|
2530
2529
|
break
|
|
@@ -2538,11 +2537,11 @@ case Qd:this.hidden=!0
|
|
|
2538
2537
|
break
|
|
2539
2538
|
default:throw new Error("Unsupported state value. Expected: opening/opened/closing/closed")}this.$emit("state-change")}}updateAnimationDuration(){if(jd.matches)this.animationDurationMilliseconds=.001
|
|
2540
2539
|
else{const t=ya.getValueFor(this),e=parseFloat(t)
|
|
2541
|
-
this.animationDurationMilliseconds=1e3*e}}animateOpening(){this.animateOpenClose(!0)}animateClosing(){this.hidden?this.state=Qd:this.animateOpenClose(!1)}animateOpenClose(t){const e={...t?qd.slideInOptions:qd.slideOutOptions,duration:this.animationDurationMilliseconds},
|
|
2542
|
-
|
|
2543
|
-
const o=[
|
|
2544
|
-
if(n){const t=new
|
|
2545
|
-
t.addKeyframes(qd.fadeOverlayKeyframes),o.push(t)}const r=new
|
|
2540
|
+
this.animationDurationMilliseconds=1e3*e}}animateOpening(){this.animateOpenClose(!0)}animateClosing(){this.hidden?this.state=Qd:this.animateOpenClose(!1)}animateOpenClose(t){const e={...t?qd.slideInOptions:qd.slideOutOptions,duration:this.animationDurationMilliseconds},i=this.location===Wd?qd.slideRightKeyframes:qd.slideLeftKeyframes,s=new id.AnimateTo(this.dialog,void 0,e)
|
|
2541
|
+
s.addKeyframes(i)
|
|
2542
|
+
const o=[s],n=this.shadowRoot?.querySelector(".overlay")
|
|
2543
|
+
if(n){const t=new id.AnimateTo(n,void 0,e)
|
|
2544
|
+
t.addKeyframes(qd.fadeOverlayKeyframes),o.push(t)}const r=new id.AnimateGroup(o)
|
|
2546
2545
|
r.onFinish=()=>{this.state=t?Yd:Qd},this.animationGroup=r,r.play()}cancelCurrentAnimation(){this.animationGroup?.cancel()}}_n([tt],Jd.prototype,"location",void 0),_n([tt],Jd.prototype,"state",void 0),_n([tt({attribute:"prevent-dismiss",mode:"boolean"})],Jd.prototype,"preventDismiss",void 0)
|
|
2547
2546
|
const Zd=Jd.compose({baseName:"drawer",template:(t,e)=>q`
|
|
2548
2547
|
<div class="positioning-region" part="positioning-region">
|
|
@@ -2569,7 +2568,7 @@ const Zd=Jd.compose({baseName:"drawer",template:(t,e)=>q`
|
|
|
2569
2568
|
</div>
|
|
2570
2569
|
</div>
|
|
2571
2570
|
`,styles:Ud})
|
|
2572
|
-
|
|
2571
|
+
Fi.getOrCreate().withPrefix("nimble").register(Zd())
|
|
2573
2572
|
Bh("icon-add",class extends Dh{constructor(){super(Va)}})
|
|
2574
2573
|
Bh("icon-arrow-down-right-and-arrow-up-left",class extends Dh{constructor(){super(La)}})
|
|
2575
2574
|
Bh("icon-arrow-expander-left",class extends Dh{constructor(){super(Pa)}})
|
|
@@ -2591,8 +2590,8 @@ Bh("icon-bell-solid-circle",class extends Dh{constructor(){super(Ja)}})
|
|
|
2591
2590
|
Bh("icon-block-with-ribbon",class extends Dh{constructor(){super(Za)}})
|
|
2592
2591
|
Bh("icon-book-magnifying-glass",class extends Dh{constructor(){super(tl)}})
|
|
2593
2592
|
Bh("icon-calendar",class extends Dh{constructor(){super(el)}})
|
|
2594
|
-
Bh("icon-chart-diagram",class extends Dh{constructor(){super(
|
|
2595
|
-
Bh("icon-chart-diagram-child-focus",class extends Dh{constructor(){super(
|
|
2593
|
+
Bh("icon-chart-diagram",class extends Dh{constructor(){super(il)}})
|
|
2594
|
+
Bh("icon-chart-diagram-child-focus",class extends Dh{constructor(){super(sl)}})
|
|
2596
2595
|
Bh("icon-chart-diagram-parent-focus",class extends Dh{constructor(){super(ol)}})
|
|
2597
2596
|
Bh("icon-chart-diagram-parent-focus-two-child",class extends Dh{constructor(){super(nl)}})
|
|
2598
2597
|
Bh("icon-check",class extends Dh{constructor(){super(rl)}})
|
|
@@ -2618,8 +2617,8 @@ Bh("icon-cog-database-inset",class extends Dh{constructor(){super(_l)}})
|
|
|
2618
2617
|
Bh("icon-cog-small-cog",class extends Dh{constructor(){super(zl)}})
|
|
2619
2618
|
Bh("icon-cog-zoomed",class extends Dh{constructor(){super(Il)}})
|
|
2620
2619
|
Bh("icon-comment",class extends Dh{constructor(){super(Ol)}})
|
|
2621
|
-
Bh("icon-computer-and-monitor",class extends Dh{constructor(){super(
|
|
2622
|
-
Bh("icon-copy",class extends Dh{constructor(){super(
|
|
2620
|
+
Bh("icon-computer-and-monitor",class extends Dh{constructor(){super(Sl)}})
|
|
2621
|
+
Bh("icon-copy",class extends Dh{constructor(){super(Al)}})
|
|
2623
2622
|
Bh("icon-copy-text",class extends Dh{constructor(){super(El)}})
|
|
2624
2623
|
Bh("icon-dashboard-builder",class extends Dh{constructor(){super(Hl)}})
|
|
2625
2624
|
Bh("icon-dashboard-builder-legend",class extends Dh{constructor(){super(Ml)}})
|
|
@@ -2644,8 +2643,8 @@ Bh("icon-floppy-disk-three-dots",class extends Dh{constructor(){super(Jl)}})
|
|
|
2644
2643
|
Bh("icon-folder",class extends Dh{constructor(){super(Zl)}})
|
|
2645
2644
|
Bh("icon-folder-open",class extends Dh{constructor(){super(tc)}})
|
|
2646
2645
|
Bh("icon-forward-slash",class extends Dh{constructor(){super(ec)}})
|
|
2647
|
-
Bh("icon-four-dots-square",class extends Dh{constructor(){super(
|
|
2648
|
-
Bh("icon-function",class extends Dh{constructor(){super(
|
|
2646
|
+
Bh("icon-four-dots-square",class extends Dh{constructor(){super(ic)}})
|
|
2647
|
+
Bh("icon-function",class extends Dh{constructor(){super(sc)}})
|
|
2649
2648
|
Bh("icon-gauge-simple",class extends Dh{constructor(){super(oc)}})
|
|
2650
2649
|
Bh("icon-grid-three-by-three",class extends Dh{constructor(){super(nc)}})
|
|
2651
2650
|
Bh("icon-grid-two-by-two",class extends Dh{constructor(){super(rc)}})
|
|
@@ -2671,8 +2670,8 @@ Bh("icon-markdown",class extends Dh{constructor(){super(_c)}})
|
|
|
2671
2670
|
Bh("icon-minus",class extends Dh{constructor(){super(zc)}})
|
|
2672
2671
|
Bh("icon-minus-wide",class extends Dh{constructor(){super(Ic)}})
|
|
2673
2672
|
Bh("icon-mobile",class extends Dh{constructor(){super(Oc)}})
|
|
2674
|
-
Bh("icon-notebook",class extends Dh{constructor(){super(
|
|
2675
|
-
Bh("icon-paste",class extends Dh{constructor(){super(
|
|
2673
|
+
Bh("icon-notebook",class extends Dh{constructor(){super(Sc)}})
|
|
2674
|
+
Bh("icon-paste",class extends Dh{constructor(){super(Ac)}})
|
|
2676
2675
|
Bh("icon-pencil",class extends Dh{constructor(){super(Ec)}})
|
|
2677
2676
|
Bh("icon-pot-with-lid",class extends Dh{constructor(){super(Hc)}})
|
|
2678
2677
|
Bh("icon-question",class extends Dh{constructor(){super(Mc)}})
|
|
@@ -2698,8 +2697,8 @@ Bh("icon-three-dots-line",class extends Dh{constructor(){super(Jc)}})
|
|
|
2698
2697
|
Bh("icon-three-vertical-lines",class extends Dh{constructor(){super(Zc)}})
|
|
2699
2698
|
Bh("icon-thumbtack",class extends Dh{constructor(){super(th)}})
|
|
2700
2699
|
Bh("icon-tile-size",class extends Dh{constructor(){super(eh)}})
|
|
2701
|
-
Bh("icon-times",class extends Dh{constructor(){super(
|
|
2702
|
-
Bh("icon-trash",class extends Dh{constructor(){super(
|
|
2700
|
+
Bh("icon-times",class extends Dh{constructor(){super(ih)}})
|
|
2701
|
+
Bh("icon-trash",class extends Dh{constructor(){super(sh)}})
|
|
2703
2702
|
Bh("icon-triangle",class extends Dh{constructor(){super(oh)}})
|
|
2704
2703
|
Bh("icon-true-false-rectangle",class extends Dh{constructor(){super(nh)}})
|
|
2705
2704
|
Bh("icon-unlink",class extends Dh{constructor(){super(rh)}})
|
|
@@ -2716,7 +2715,7 @@ Bh("icon-wrench-hammer",class extends Dh{constructor(){super(mh)}})
|
|
|
2716
2715
|
Bh("icon-xmark",class extends Dh{constructor(){super(fh)}})
|
|
2717
2716
|
Bh("icon-xmark-check",class extends Dh{constructor(){super(bh)}})
|
|
2718
2717
|
const eu=ut`
|
|
2719
|
-
${
|
|
2718
|
+
${Zs("flex")}
|
|
2720
2719
|
|
|
2721
2720
|
:host {
|
|
2722
2721
|
font: ${_r};
|
|
@@ -2770,7 +2769,7 @@ const eu=ut`
|
|
|
2770
2769
|
outline: none;
|
|
2771
2770
|
}
|
|
2772
2771
|
`
|
|
2773
|
-
const
|
|
2772
|
+
const iu=class extends oi{get value(){return super.value}set value(t){super.value=`${t}`,this.$fastController.isConnected&&this.setAttribute("value",this.value)}connectedCallback(){super.connectedCallback(),this.setAttribute("value",this.value)}}.compose({baseName:"list-option",baseClass:oi,template:(t,e)=>q`
|
|
2774
2773
|
<template
|
|
2775
2774
|
aria-checked="${t=>t.ariaChecked}"
|
|
2776
2775
|
aria-disabled="${t=>t.ariaDisabled}"
|
|
@@ -2787,9 +2786,9 @@ const su=class extends os{get value(){return super.value}set value(t){super.valu
|
|
|
2787
2786
|
${Ct(0,e)}
|
|
2788
2787
|
</template>
|
|
2789
2788
|
`,styles:eu})
|
|
2790
|
-
|
|
2791
|
-
const
|
|
2792
|
-
${
|
|
2789
|
+
Fi.getOrCreate().withPrefix("nimble").register(iu())
|
|
2790
|
+
const su=ut`
|
|
2791
|
+
${Zs("grid")}
|
|
2793
2792
|
|
|
2794
2793
|
:host {
|
|
2795
2794
|
background: ${Vn};
|
|
@@ -2824,7 +2823,7 @@ const iu=ut`
|
|
|
2824
2823
|
padding-bottom: ${Yn};
|
|
2825
2824
|
}
|
|
2826
2825
|
`
|
|
2827
|
-
const ou=class extends
|
|
2826
|
+
const ou=class extends as{}.compose({baseName:"menu",baseClass:as,template:(t,e)=>q`
|
|
2828
2827
|
<template
|
|
2829
2828
|
slot="${t=>t.slot?t.slot:t.isNestedMenu()?"submenu":void 0}"
|
|
2830
2829
|
role="menu"
|
|
@@ -2833,10 +2832,10 @@ const ou=class extends ai{}.compose({baseName:"menu",baseClass:ai,template:(t,e)
|
|
|
2833
2832
|
>
|
|
2834
2833
|
<slot ${wt("items")}></slot>
|
|
2835
2834
|
</template>
|
|
2836
|
-
`,styles:
|
|
2837
|
-
|
|
2835
|
+
`,styles:su})
|
|
2836
|
+
Fi.getOrCreate().withPrefix("nimble").register(ou())
|
|
2838
2837
|
const nu=ut`
|
|
2839
|
-
${
|
|
2838
|
+
${Zs("inline-block")}
|
|
2840
2839
|
|
|
2841
2840
|
:host {
|
|
2842
2841
|
height: ${Xn};
|
|
@@ -2877,7 +2876,7 @@ const nu=ut`
|
|
|
2877
2876
|
border-color: ${Ln};
|
|
2878
2877
|
}
|
|
2879
2878
|
`
|
|
2880
|
-
class au extends
|
|
2879
|
+
class au extends Cs{constructor(){super(...arguments),this.appearance=kh,this.contentHidden=!1}}_n([tt],au.prototype,"appearance",void 0),_n([tt({attribute:"content-hidden",mode:"boolean"})],au.prototype,"contentHidden",void 0),de(au,$t,Ze)
|
|
2881
2880
|
const lu=au.compose({baseName:"toggle-button",template:(t,e)=>q`
|
|
2882
2881
|
<div
|
|
2883
2882
|
role="button"
|
|
@@ -2920,7 +2919,7 @@ const lu=au.compose({baseName:"toggle-button",template:(t,e)=>q`
|
|
|
2920
2919
|
${Ct(0,e)}
|
|
2921
2920
|
</div>
|
|
2922
2921
|
`,styles:ru,shadowOptions:{delegatesFocus:!0}})
|
|
2923
|
-
|
|
2922
|
+
Fi.getOrCreate().withPrefix("nimble").register(lu())
|
|
2924
2923
|
const cu="auto"
|
|
2925
2924
|
class hu extends le{constructor(){super(...arguments),this.appearance=kh,this.disabled=!1,this.contentHidden=!1,this.open=!1,this.position=cu,this.focusLastItemWhenOpened=!1,this.menuChangeHandler=()=>{this.open=!1,this.toggleButton.focus()}}disconnectedCallback(){super.disconnectedCallback(),this.region&&this.region.removeEventListener(me,this.menuChangeHandler)}toggleButtonChanged(t,e){this.region&&this.toggleButton&&(this.region.anchorElement=this.toggleButton)}regionChanged(t,e){t&&t.removeEventListener(me,this.menuChangeHandler),this.region&&(this.toggleButton&&(this.region.anchorElement=this.toggleButton),this.region.addEventListener(me,this.menuChangeHandler,{capture:!0}))}openChanged(t,e){this.toggleButton&&(this.toggleButton.checked=this.open),this.open||this.$emit("open-change")}regionLoadedHandler(){this.focusLastItemWhenOpened?(this.focusLastMenuItem(),this.focusLastItemWhenOpened=!1):this.focusMenu(),this.$emit("open-change")}focusoutHandler(t){if(!this.open)return!0
|
|
2926
2925
|
const e=t.relatedTarget
|
|
@@ -2953,7 +2952,7 @@ const du=hu.compose({baseName:"menu-button",template:t=>q`
|
|
|
2953
2952
|
<slot slot="end" name="end"></slot>
|
|
2954
2953
|
</${t.tagFor(au)}>
|
|
2955
2954
|
${gt((t=>t.open),q`
|
|
2956
|
-
<${t.tagFor(
|
|
2955
|
+
<${t.tagFor(io)}
|
|
2957
2956
|
fixed-placement="true"
|
|
2958
2957
|
auto-update-mode="auto"
|
|
2959
2958
|
horizontal-inset="true"
|
|
@@ -2967,13 +2966,13 @@ const du=hu.compose({baseName:"menu-button",template:t=>q`
|
|
|
2967
2966
|
<span part="menu">
|
|
2968
2967
|
<slot name="menu" ${wt({property:"slottedMenus",filter:mt("[role=menu]")})}></slot>
|
|
2969
2968
|
</span>
|
|
2970
|
-
</${t.tagFor(
|
|
2969
|
+
</${t.tagFor(io)}>
|
|
2971
2970
|
`)}
|
|
2972
2971
|
</template>
|
|
2973
2972
|
`,styles:nu,shadowOptions:{delegatesFocus:!0}})
|
|
2974
|
-
|
|
2973
|
+
Fi.getOrCreate().withPrefix("nimble").register(du())
|
|
2975
2974
|
const uu=ut`
|
|
2976
|
-
${
|
|
2975
|
+
${Zs("grid")}
|
|
2977
2976
|
|
|
2978
2977
|
:host {
|
|
2979
2978
|
contain: layout;
|
|
@@ -3051,11 +3050,11 @@ const uu=ut`
|
|
|
3051
3050
|
grid-column: 3;
|
|
3052
3051
|
}
|
|
3053
3052
|
`
|
|
3054
|
-
const pu=class extends
|
|
3053
|
+
const pu=class extends rs{}.compose({baseName:"menu-item",baseClass:rs,template:(t,e)=>q`
|
|
3055
3054
|
<template
|
|
3056
3055
|
role="${t=>t.role}"
|
|
3057
3056
|
aria-haspopup="${t=>t.hasSubmenu?"menu":void 0}"
|
|
3058
|
-
aria-checked="${t=>t.role!==
|
|
3057
|
+
aria-checked="${t=>t.role!==is?t.checked:void 0}"
|
|
3059
3058
|
aria-disabled="${t=>t.disabled}"
|
|
3060
3059
|
aria-expanded="${t=>t.expanded}"
|
|
3061
3060
|
@keydown="${(t,e)=>t.handleMenuItemKeyDown(e.event)}"
|
|
@@ -3064,7 +3063,7 @@ const pu=class extends ri{}.compose({baseName:"menu-item",baseClass:ri,template:
|
|
|
3064
3063
|
@mouseout="${(t,e)=>t.handleMouseOut(e.event)}"
|
|
3065
3064
|
class="${t=>t.disabled?"disabled":""} ${t=>t.expanded?"expanded":""} ${t=>`indent-${t.startColumnCount}`}"
|
|
3066
3065
|
>
|
|
3067
|
-
${gt((t=>t.role===
|
|
3066
|
+
${gt((t=>t.role===ss),q`
|
|
3068
3067
|
<div part="input-container" class="input-container">
|
|
3069
3068
|
<span part="checkbox" class="checkbox">
|
|
3070
3069
|
<slot name="checkbox-indicator">
|
|
@@ -3073,7 +3072,7 @@ const pu=class extends ri{}.compose({baseName:"menu-item",baseClass:ri,template:
|
|
|
3073
3072
|
</span>
|
|
3074
3073
|
</div>
|
|
3075
3074
|
`)}
|
|
3076
|
-
${gt((t=>t.role===
|
|
3075
|
+
${gt((t=>t.role===os),q`
|
|
3077
3076
|
<div part="input-container" class="input-container">
|
|
3078
3077
|
<span part="radio" class="radio">
|
|
3079
3078
|
<slot name="radio-indicator">
|
|
@@ -3119,9 +3118,9 @@ const pu=class extends ri{}.compose({baseName:"menu-item",baseClass:ri,template:
|
|
|
3119
3118
|
`)}
|
|
3120
3119
|
</template>
|
|
3121
3120
|
`,styles:uu,expandCollapseGlyph:Ra.data})
|
|
3122
|
-
|
|
3121
|
+
Fi.getOrCreate().withPrefix("nimble").register(pu())
|
|
3123
3122
|
const vu="underline",gu="outline",mu="block",fu=ut`
|
|
3124
|
-
${
|
|
3123
|
+
${Zs("inline-block")}
|
|
3125
3124
|
${Kh}
|
|
3126
3125
|
|
|
3127
3126
|
:host {
|
|
@@ -3298,8 +3297,8 @@ const vu="underline",gu="outline",mu="block",fu=ut`
|
|
|
3298
3297
|
padding: 0;
|
|
3299
3298
|
}
|
|
3300
3299
|
`))
|
|
3301
|
-
class bu extends
|
|
3302
|
-
const wu=bu.compose({baseName:"number-field",baseClass:
|
|
3300
|
+
class bu extends gs{constructor(){super(...arguments),this.appearance=vu}connectedCallback(){super.connectedCallback(),this.control.setAttribute("role","spinbutton")}}_n([tt],bu.prototype,"appearance",void 0),_n([tt({attribute:"error-text"})],bu.prototype,"errorText",void 0)
|
|
3301
|
+
const wu=bu.compose({baseName:"number-field",baseClass:gs,template:(t,e)=>q`
|
|
3303
3302
|
<template class="${t=>t.readOnly?"readonly":""}">
|
|
3304
3303
|
<label
|
|
3305
3304
|
part="label"
|
|
@@ -3400,13 +3399,13 @@ const wu=bu.compose({baseName:"number-field",baseClass:gi,template:(t,e)=>q`
|
|
|
3400
3399
|
></nimble-icon-exclamation-mark>
|
|
3401
3400
|
${Th}
|
|
3402
3401
|
`})
|
|
3403
|
-
|
|
3402
|
+
Fi.getOrCreate().withPrefix("nimble").register(wu())
|
|
3404
3403
|
const xu=ut`
|
|
3405
3404
|
${Uh}
|
|
3406
3405
|
`
|
|
3407
|
-
class yu extends
|
|
3408
|
-
super.slottedOptionsChanged(t,e),
|
|
3409
|
-
const $u=yu.compose({baseName:"select",baseClass:
|
|
3406
|
+
class yu extends ws{constructor(){super(...arguments),this.appearance=Nh}setPositioning(){this.$fastController.isConnected&&(super.setPositioning(),this.updateListboxMaxHeightCssVariable())}slottedOptionsChanged(t,e){const i=this.value
|
|
3407
|
+
super.slottedOptionsChanged(t,e),i&&(this.value=i)}maxHeightChanged(){this.updateListboxMaxHeightCssVariable()}updateListboxMaxHeightCssVariable(){this.listbox&&this.listbox.style.setProperty("--ni-private-select-max-height",`${this.maxHeight}px`)}}_n([tt],yu.prototype,"appearance",void 0)
|
|
3408
|
+
const $u=yu.compose({baseName:"select",baseClass:ws,template:(t,e)=>q`
|
|
3410
3409
|
<template
|
|
3411
3410
|
class="${t=>[t.collapsible&&"collapsible",t.collapsible&&t.open&&"open",t.disabled&&"disabled",t.collapsible&&t.position].filter(Boolean).join(" ")}"
|
|
3412
3411
|
aria-activedescendant="${t=>t.ariaActiveDescendant}"
|
|
@@ -3455,14 +3454,14 @@ const $u=yu.compose({baseName:"select",baseClass:wi,template:(t,e)=>q`
|
|
|
3455
3454
|
${vt("listbox")}
|
|
3456
3455
|
>
|
|
3457
3456
|
<slot
|
|
3458
|
-
${wt({filter:
|
|
3457
|
+
${wt({filter:ri.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}
|
|
3459
3458
|
></slot>
|
|
3460
3459
|
</div>
|
|
3461
3460
|
</template>
|
|
3462
3461
|
`,styles:xu,indicator:Ta.data})
|
|
3463
|
-
|
|
3462
|
+
Fi.getOrCreate().withPrefix("nimble").register($u())
|
|
3464
3463
|
const Cu=ut`
|
|
3465
|
-
${
|
|
3464
|
+
${Zs("inline-flex")}
|
|
3466
3465
|
|
|
3467
3466
|
:host {
|
|
3468
3467
|
outline: none;
|
|
@@ -3658,10 +3657,10 @@ const Cu=ut`
|
|
|
3658
3657
|
</div>
|
|
3659
3658
|
</template>
|
|
3660
3659
|
`
|
|
3661
|
-
const _u=class extends
|
|
3662
|
-
|
|
3660
|
+
const _u=class extends Cs{}.compose({baseClass:Cs,baseName:"switch",template:ku,styles:Cu})
|
|
3661
|
+
Fi.getOrCreate().withPrefix("nimble").register(_u())
|
|
3663
3662
|
const zu=ut`
|
|
3664
|
-
${
|
|
3663
|
+
${Zs("inline-flex")}
|
|
3665
3664
|
|
|
3666
3665
|
:host {
|
|
3667
3666
|
position: relative;
|
|
@@ -3754,14 +3753,14 @@ const zu=ut`
|
|
|
3754
3753
|
width: 100%;
|
|
3755
3754
|
}
|
|
3756
3755
|
`
|
|
3757
|
-
const Iu=class extends
|
|
3756
|
+
const Iu=class extends _s{}.compose({baseName:"tab",baseClass:_s,template:(t,e)=>q`
|
|
3758
3757
|
<template slot="tab" role="tab" aria-disabled="${t=>t.disabled}">
|
|
3759
3758
|
<slot></slot>
|
|
3760
3759
|
</template>
|
|
3761
3760
|
`,styles:zu})
|
|
3762
|
-
|
|
3761
|
+
Fi.getOrCreate().withPrefix("nimble").register(Iu())
|
|
3763
3762
|
const Ou=ut`
|
|
3764
|
-
${
|
|
3763
|
+
${Zs("block")}
|
|
3765
3764
|
|
|
3766
3765
|
:host {
|
|
3767
3766
|
box-sizing: border-box;
|
|
@@ -3770,14 +3769,14 @@ const Ou=ut`
|
|
|
3770
3769
|
padding-top: ${Gn};
|
|
3771
3770
|
}
|
|
3772
3771
|
`
|
|
3773
|
-
const
|
|
3772
|
+
const Su=class extends ks{}.compose({baseName:"tab-panel",baseClass:ks,template:(t,e)=>q`
|
|
3774
3773
|
<template slot="tabpanel" role="tabpanel">
|
|
3775
3774
|
<slot></slot>
|
|
3776
3775
|
</template>
|
|
3777
3776
|
`,styles:Ou})
|
|
3778
|
-
|
|
3779
|
-
const
|
|
3780
|
-
${
|
|
3777
|
+
Fi.getOrCreate().withPrefix("nimble").register(Su())
|
|
3778
|
+
const Au=ut`
|
|
3779
|
+
${Zs("grid")}
|
|
3781
3780
|
|
|
3782
3781
|
:host {
|
|
3783
3782
|
box-sizing: border-box;
|
|
@@ -3799,7 +3798,7 @@ const Su=ut`
|
|
|
3799
3798
|
grid-column-end: 4;
|
|
3800
3799
|
}
|
|
3801
3800
|
`
|
|
3802
|
-
const Eu=class extends
|
|
3801
|
+
const Eu=class extends Is{constructor(){super(),this.activeindicator=!1}}.compose({baseName:"tabs",baseClass:Is,template:(t,e)=>q`
|
|
3803
3802
|
<template class="${t=>t.orientation}">
|
|
3804
3803
|
${kt(0,e)}
|
|
3805
3804
|
<div class="tablist" part="tablist" role="tablist">
|
|
@@ -3818,10 +3817,10 @@ const Eu=class extends Ii{constructor(){super(),this.activeindicator=!1}}.compos
|
|
|
3818
3817
|
<slot name="tabpanel" part="tabpanel" ${wt("tabpanels")}></slot>
|
|
3819
3818
|
</div>
|
|
3820
3819
|
</template>
|
|
3821
|
-
`,styles:
|
|
3822
|
-
|
|
3820
|
+
`,styles:Au})
|
|
3821
|
+
Fi.getOrCreate().withPrefix("nimble").register(Eu())
|
|
3823
3822
|
const Hu=ut`
|
|
3824
|
-
${
|
|
3823
|
+
${Zs("flex")}
|
|
3825
3824
|
|
|
3826
3825
|
:host {
|
|
3827
3826
|
align-items: center;
|
|
@@ -3845,9 +3844,9 @@ const Hu=ut`
|
|
|
3845
3844
|
</template>
|
|
3846
3845
|
`
|
|
3847
3846
|
const Vu=class extends le{}.compose({baseName:"tabs-toolbar",template:Mu,styles:Hu})
|
|
3848
|
-
|
|
3847
|
+
Fi.getOrCreate().withPrefix("nimble").register(Vu())
|
|
3849
3848
|
const Lu="outline",Tu="block",Pu=ut`
|
|
3850
|
-
${
|
|
3849
|
+
${Zs("inline-flex")}
|
|
3851
3850
|
|
|
3852
3851
|
:host {
|
|
3853
3852
|
font: ${_r};
|
|
@@ -3957,12 +3956,12 @@ const Lu="outline",Tu="block",Pu=ut`
|
|
|
3957
3956
|
background-color: rgba(${Dn}, 0.1);
|
|
3958
3957
|
}
|
|
3959
3958
|
`))
|
|
3960
|
-
class Ru extends
|
|
3961
|
-
const Du=Ru.compose({baseName:"text-area",baseClass:
|
|
3959
|
+
class Ru extends Es{constructor(){super(...arguments),this.appearance=Lu}}_n([tt],Ru.prototype,"appearance",void 0)
|
|
3960
|
+
const Du=Ru.compose({baseName:"text-area",baseClass:Es,template:(t,e)=>q`
|
|
3962
3961
|
<template
|
|
3963
3962
|
class="
|
|
3964
3963
|
${t=>t.readOnly?"readonly":""}
|
|
3965
|
-
${t=>t.resize!==
|
|
3964
|
+
${t=>t.resize!==As?`resize-${t.resize}`:""}"
|
|
3966
3965
|
>
|
|
3967
3966
|
<label
|
|
3968
3967
|
part="label"
|
|
@@ -4014,9 +4013,9 @@ const Du=Ru.compose({baseName:"text-area",baseClass:Ei,template:(t,e)=>q`
|
|
|
4014
4013
|
></textarea>
|
|
4015
4014
|
</template>
|
|
4016
4015
|
`,styles:Pu,shadowOptions:{delegatesFocus:!0}})
|
|
4017
|
-
|
|
4016
|
+
Fi.getOrCreate().withPrefix("nimble").register(Du())
|
|
4018
4017
|
const Bu="underline",Fu="outline",Nu="block",ju="frameless",qu=ut`
|
|
4019
|
-
${
|
|
4018
|
+
${Zs("inline-block")}
|
|
4020
4019
|
${Kh}
|
|
4021
4020
|
|
|
4022
4021
|
:host {
|
|
@@ -4244,8 +4243,8 @@ const Bu="underline",Fu="outline",Nu="block",ju="frameless",qu=ut`
|
|
|
4244
4243
|
filter: invert(100%);
|
|
4245
4244
|
}
|
|
4246
4245
|
`))
|
|
4247
|
-
class Uu extends
|
|
4248
|
-
const Ku=Uu.compose({baseName:"text-field",baseClass:
|
|
4246
|
+
class Uu extends ds{constructor(){super(...arguments),this.appearance=Bu}connectedCallback(){super.connectedCallback(),this.control.setAttribute("aria-errormessage","errortext")}}_n([tt],Uu.prototype,"appearance",void 0),_n([tt({attribute:"error-text"})],Uu.prototype,"errorText",void 0)
|
|
4247
|
+
const Ku=Uu.compose({baseName:"text-field",baseClass:ds,template:(t,e)=>q`
|
|
4249
4248
|
<template
|
|
4250
4249
|
class="
|
|
4251
4250
|
${t=>t.readOnly?"readonly":""}
|
|
@@ -4257,7 +4256,7 @@ const Ku=Uu.compose({baseName:"text-field",baseClass:di,template:(t,e)=>q`
|
|
|
4257
4256
|
class="${t=>t.defaultSlottedNodes&&t.defaultSlottedNodes.length?"label":"label label__hidden"}"
|
|
4258
4257
|
>
|
|
4259
4258
|
<slot
|
|
4260
|
-
${wt({property:"defaultSlottedNodes",filter:
|
|
4259
|
+
${wt({property:"defaultSlottedNodes",filter:ms})}
|
|
4261
4260
|
></slot>
|
|
4262
4261
|
</label>
|
|
4263
4262
|
<div class="root" part="root">
|
|
@@ -4314,7 +4313,7 @@ const Ku=Uu.compose({baseName:"text-field",baseClass:di,template:(t,e)=>q`
|
|
|
4314
4313
|
</span>
|
|
4315
4314
|
${Th}
|
|
4316
4315
|
`})
|
|
4317
|
-
|
|
4316
|
+
Fi.getOrCreate().withPrefix("nimble").register(Ku())
|
|
4318
4317
|
const Wu=ut`
|
|
4319
4318
|
.positioning-region {
|
|
4320
4319
|
display: flex;
|
|
@@ -4340,7 +4339,7 @@ const Wu=ut`
|
|
|
4340
4339
|
margin-left: auto;
|
|
4341
4340
|
}
|
|
4342
4341
|
`
|
|
4343
|
-
const Xu=class extends
|
|
4342
|
+
const Xu=class extends Ms{}.compose({baseName:"toolbar",baseClass:Ms,template:(t,e)=>q`
|
|
4344
4343
|
<template
|
|
4345
4344
|
aria-label="${t=>t.ariaLabel}"
|
|
4346
4345
|
aria-labelledby="${t=>t.ariaLabelledby}"
|
|
@@ -4362,12 +4361,12 @@ const Xu=class extends Mi{}.compose({baseName:"toolbar",baseClass:Mi,template:(t
|
|
|
4362
4361
|
</div>
|
|
4363
4362
|
</template>
|
|
4364
4363
|
`,styles:Wu,shadowOptions:{delegatesFocus:!0}})
|
|
4365
|
-
|
|
4364
|
+
Fi.getOrCreate().withPrefix("nimble").register(Xu())
|
|
4366
4365
|
const Yu=ut`
|
|
4367
|
-
${
|
|
4366
|
+
${Zs("inline-flex")}
|
|
4368
4367
|
|
|
4369
4368
|
:host {
|
|
4370
|
-
font: ${
|
|
4369
|
+
font: ${sa};
|
|
4371
4370
|
color: ${oa};
|
|
4372
4371
|
text-align: left;
|
|
4373
4372
|
--ni-private-tooltip-border-color: ${Hn(go,.3)};
|
|
@@ -4449,9 +4448,9 @@ const Yu=ut`
|
|
|
4449
4448
|
opacity: 0.6;
|
|
4450
4449
|
}
|
|
4451
4450
|
`))
|
|
4452
|
-
const Gu=class extends
|
|
4451
|
+
const Gu=class extends Ys{}.compose({baseName:"tooltip",baseClass:Ys,template:t=>q`
|
|
4453
4452
|
${gt((t=>t.tooltipVisible),q`
|
|
4454
|
-
<${t.tagFor(
|
|
4453
|
+
<${t.tagFor(io)}
|
|
4455
4454
|
class="anchored-region"
|
|
4456
4455
|
fixed-placement="true"
|
|
4457
4456
|
auto-update-mode="${t=>t.autoUpdateMode}"
|
|
@@ -4473,18 +4472,18 @@ const Gu=class extends Yi{}.compose({baseName:"tooltip",baseClass:Yi,template:t=
|
|
|
4473
4472
|
<${t.tagFor(tu)} class="information status-icon"></${t.tagFor(tu)}>
|
|
4474
4473
|
<slot></slot>
|
|
4475
4474
|
</div>
|
|
4476
|
-
</${t.tagFor(
|
|
4475
|
+
</${t.tagFor(io)}>
|
|
4477
4476
|
`)}
|
|
4478
4477
|
`,styles:Yu})
|
|
4479
|
-
|
|
4478
|
+
Fi.getOrCreate().withPrefix("nimble").register(Gu())
|
|
4480
4479
|
const Qu="group-selected",Ju="all",Zu="leaves-only",tp="none"
|
|
4481
4480
|
class ep{constructor(t,e){this.cache=new WeakMap,this.ltr=t,this.rtl=e}bind(t){this.attach(t)}unbind(t){const e=this.cache.get(t)
|
|
4482
|
-
e&&On.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new
|
|
4483
|
-
On.subscribe(e),e.attach(
|
|
4481
|
+
e&&On.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new ip(this.ltr,this.rtl,t),i=On.getValueFor(t)
|
|
4482
|
+
On.subscribe(e),e.attach(i),this.cache.set(t,e)}}class ip{constructor(t,e,i){this.ltr=t,this.rtl=e,this.source=i,this.attached=null}handleChange({target:t,token:e}){this.attach(e.getValueFor(t))}attach(t){this.attached!==this[t]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[t],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}const sp=class extends Qs{constructor(){super(...arguments),this.treeView=null,this.handleSelectedChange=t=>{t.target===this&&this.selected&&this.setGroupSelectionOnRootParentTreeItem(this)}}connectedCallback(){super.connectedCallback(),this.addEventListener("selected-change",this.handleSelectedChange),this.treeView=this.getParentTreeView(),this.treeView&&this.selected&&this.setGroupSelectionOnRootParentTreeItem(this)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("selected-change",this.handleSelectedChange),this.treeView=null}clearTreeGroupSelection(){const t=this.treeView?.querySelectorAll("[group-selected]")
|
|
4484
4483
|
t?.forEach((t=>t.removeAttribute(Qu)))}setGroupSelectionOnRootParentTreeItem(t){this.clearTreeGroupSelection()
|
|
4485
4484
|
let e=t
|
|
4486
4485
|
for(;e?.parentElement!==this.treeView;)e=e?.parentElement
|
|
4487
|
-
e&&e.setAttribute(Qu,"true")}getParentTreeView(){return this.parentElement.closest("[role='tree']")}}.compose({baseName:"tree-item",baseClass:
|
|
4486
|
+
e&&e.setAttribute(Qu,"true")}getParentTreeView(){return this.parentElement.closest("[role='tree']")}}.compose({baseName:"tree-item",baseClass:Qs,template:(t,e)=>q`
|
|
4488
4487
|
<template
|
|
4489
4488
|
role="treeitem"
|
|
4490
4489
|
slot="${t=>t.isNestedItem()?"item":void 0}"
|
|
@@ -4525,12 +4524,12 @@ e&&e.setAttribute(Qu,"true")}getParentTreeView(){return this.parentElement.close
|
|
|
4525
4524
|
`)}
|
|
4526
4525
|
</template>
|
|
4527
4526
|
`,styles:(t,e)=>ut`
|
|
4528
|
-
${
|
|
4527
|
+
${Zs("block")}
|
|
4529
4528
|
|
|
4530
4529
|
:host {
|
|
4531
4530
|
${""}
|
|
4532
4531
|
font-family: ${Or};
|
|
4533
|
-
font-weight: ${
|
|
4532
|
+
font-weight: ${Sr};
|
|
4534
4533
|
contain: content;
|
|
4535
4534
|
position: relative;
|
|
4536
4535
|
outline: none;
|
|
@@ -4594,7 +4593,7 @@ e&&e.setAttribute(Qu,"true")}getParentTreeView(){return this.parentElement.close
|
|
|
4594
4593
|
width: 100%;
|
|
4595
4594
|
padding-left: 10px;
|
|
4596
4595
|
font: inherit;
|
|
4597
|
-
font-size: ${
|
|
4596
|
+
font-size: ${Ar};
|
|
4598
4597
|
user-select: none;
|
|
4599
4598
|
position: relative;
|
|
4600
4599
|
margin-inline-start: ${Zn};
|
|
@@ -4649,7 +4648,7 @@ e&&e.setAttribute(Qu,"true")}getParentTreeView(){return this.parentElement.close
|
|
|
4649
4648
|
height: ${Zn};
|
|
4650
4649
|
}
|
|
4651
4650
|
|
|
4652
|
-
::slotted(${t.tagFor(
|
|
4651
|
+
::slotted(${t.tagFor(Qs)}) {
|
|
4653
4652
|
--ni-private-tree-item-nested-width: 1em;
|
|
4654
4653
|
--ni-private-expand-collapse-button-nested-width: calc(
|
|
4655
4654
|
${Zn} * -1
|
|
@@ -4705,9 +4704,9 @@ e&&e.setAttribute(Qu,"true")}getParentTreeView(){return this.parentElement.close
|
|
|
4705
4704
|
transform: rotate(135deg);
|
|
4706
4705
|
}
|
|
4707
4706
|
`)),expandCollapseGlyph:Da.data})
|
|
4708
|
-
|
|
4707
|
+
Fi.getOrCreate().withPrefix("nimble").register(sp())
|
|
4709
4708
|
const op=ut`
|
|
4710
|
-
${
|
|
4709
|
+
${Zs("flex")}
|
|
4711
4710
|
|
|
4712
4711
|
:host {
|
|
4713
4712
|
flex-direction: column;
|
|
@@ -4719,14 +4718,14 @@ const op=ut`
|
|
|
4719
4718
|
outline: none;
|
|
4720
4719
|
}
|
|
4721
4720
|
`
|
|
4722
|
-
class np extends
|
|
4723
|
-
if(!(t.target instanceof Element&&
|
|
4721
|
+
class np extends Js{constructor(){super(...arguments),this.selectionMode=Ju}handleClick(t){if(t.defaultPrevented)return!1
|
|
4722
|
+
if(!(t.target instanceof Element&&Gs(t.target)))return!0
|
|
4724
4723
|
const e=t.target
|
|
4725
4724
|
return!e.disabled&&(this.canSelect(e)?e.selected=!0:this.itemHasChildren(e)&&(e.expanded=!e.expanded),!0)}canSelect(t){switch(this.selectionMode){case Ju:return!0
|
|
4726
4725
|
case tp:return!1
|
|
4727
4726
|
case Zu:return!this.itemHasChildren(t)
|
|
4728
4727
|
default:return!0}}itemHasChildren(t){return null!==t.querySelector('[role="treeitem"]')}}_n([tt({attribute:"selection-mode"})],np.prototype,"selectionMode",void 0)
|
|
4729
|
-
const rp=np.compose({baseName:"tree-view",baseClass:
|
|
4728
|
+
const rp=np.compose({baseName:"tree-view",baseClass:Js,template:(t,e)=>q`
|
|
4730
4729
|
<template
|
|
4731
4730
|
role="tree"
|
|
4732
4731
|
${vt("treeView")}
|
|
@@ -4739,5 +4738,5 @@ const rp=np.compose({baseName:"tree-view",baseClass:Ji,template:(t,e)=>q`
|
|
|
4739
4738
|
<slot ${wt("slottedTreeItems")}></slot>
|
|
4740
4739
|
</template>
|
|
4741
4740
|
`,styles:op})
|
|
4742
|
-
|
|
4741
|
+
Fi.getOrCreate().withPrefix("nimble").register(rp())}()
|
|
4743
4742
|
//# sourceMappingURL=all-components-bundle.min.js.map
|