@ni/spright-components 1.0.29 → 1.0.31
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.
|
@@ -88,17 +88,17 @@ const n=e.length,i=e.map((e=>"string"==typeof e?()=>e:(t=e.targetName||t,e.bindi
|
|
|
88
88
|
for(let s=0;s<n;++s)o+=i[s](e,t)
|
|
89
89
|
return o}))
|
|
90
90
|
return o.targetName=t,o}const z=h.length
|
|
91
|
-
function
|
|
91
|
+
function V(e,t){const n=t.split(d)
|
|
92
92
|
if(1===n.length)return null
|
|
93
93
|
const i=[]
|
|
94
94
|
for(let t=0,o=n.length;t<o;++t){const o=n[t],s=o.indexOf(h)
|
|
95
95
|
let r
|
|
96
96
|
if(-1===s)r=o
|
|
97
97
|
else{const t=parseInt(o.substring(0,s))
|
|
98
|
-
i.push(e.directives[t]),r=o.substring(s+z)}""!==r&&i.push(r)}return i}function
|
|
99
|
-
for(let o=0,s=i.length;o<s;++o){const r=i[o],a=r.value,l=
|
|
98
|
+
i.push(e.directives[t]),r=o.substring(s+z)}""!==r&&i.push(r)}return i}function H(e,t,n=!1){const i=t.attributes
|
|
99
|
+
for(let o=0,s=i.length;o<s;++o){const r=i[o],a=r.value,l=V(e,a)
|
|
100
100
|
let c=null
|
|
101
|
-
null===l?n&&(c=new R((()=>a)),c.targetName=r.name):c=L(l),null!==c&&(t.removeAttributeNode(r),o--,s--,e.addFactory(c))}}function B(e,t,n){const i=
|
|
101
|
+
null===l?n&&(c=new R((()=>a)),c.targetName=r.name):c=L(l),null!==c&&(t.removeAttributeNode(r),o--,s--,e.addFactory(c))}}function B(e,t,n){const i=V(e,t.textContent)
|
|
102
102
|
if(null!==i){let o=t
|
|
103
103
|
for(let s=0,r=i.length;s<r;++s){const r=i[s],a=0===s?t:o.parentNode.insertBefore(document.createTextNode(""),o.nextSibling)
|
|
104
104
|
"string"==typeof r?a.textContent=r:(a.textContent=" ",e.captureContentBinding(r)),o=a,e.targetIndex++,a!==t&&n.nextNode()}e.targetIndex--}}const q=document.createRange()
|
|
@@ -134,12 +134,12 @@ null!==n&&"TEMPLATE"===n.tagName&&(e=n)}else e=t
|
|
|
134
134
|
const n=function(e,t){const n=e.content
|
|
135
135
|
document.adoptNode(n)
|
|
136
136
|
const i=P.borrow(t)
|
|
137
|
-
|
|
137
|
+
H(i,e,!0)
|
|
138
138
|
const o=i.behaviorFactories
|
|
139
139
|
i.reset()
|
|
140
140
|
const s=u.createTemplateWalker(n)
|
|
141
141
|
let r
|
|
142
|
-
for(;r=s.nextNode();)switch(i.targetIndex++,r.nodeType){case 1:
|
|
142
|
+
for(;r=s.nextNode();)switch(i.targetIndex++,r.nodeType){case 1:H(i,r)
|
|
143
143
|
break
|
|
144
144
|
case 3:B(i,r,s)
|
|
145
145
|
break
|
|
@@ -312,7 +312,7 @@ if(void 0===e&&void 0===t)return
|
|
|
312
312
|
this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0
|
|
313
313
|
const n=void 0===t?De(this.source,e):_e(this.source,0,this.source.length,t,0,t.length)
|
|
314
314
|
this.notify(n)}}class Ne{constructor(e,t){this.target=e,this.propertyName=t}bind(e){e[this.propertyName]=this.target}unbind(){}}function Pe(e){return new k("fast-ref",Ne,e)}const Le=e=>"function"==typeof e,ze=()=>null
|
|
315
|
-
function
|
|
315
|
+
function Ve(e){return void 0===e?ze:Le(e)?e:()=>e}function He(e,t,n){const i=Le(e)?e:()=>e,o=Ve(t),s=Ve(n)
|
|
316
316
|
return(e,t)=>i(e,t)?o(e,t):s(e,t)}const Be=Object.freeze({positioning:!1,recycle:!0})
|
|
317
317
|
function qe(e,t,n,i){e.bind(t[n],i)}function Ue(e,t,n,i){const o=Object.create(i)
|
|
318
318
|
o.index=n,o.length=t.length,e.bind(t[n],o)}class je{constructor(e,t,n,i,o,s){this.location=e,this.itemsBinding=t,this.templateBinding=i,this.options=s,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=qe,this.itemsBindingObserver=m.binding(t,this,n),this.templateBindingObserver=m.binding(i,this,o),s.positioning&&(this.bindView=Ue)}bind(e,t){this.source=e,this.originalContext=t,this.childContext=Object.create(t),this.childContext.parent=e,this.childContext.parentContext=this.originalContext,this.items=this.itemsBindingObserver.observe(e,this.originalContext),this.template=this.templateBindingObserver.observe(e,this.originalContext),this.observeItems(!0),this.refreshAllViews()}unbind(){this.source=null,this.items=null,null!==this.itemsObserver&&this.itemsObserver.unsubscribe(this),this.unbindAllViews(),this.itemsBindingObserver.disconnect(),this.templateBindingObserver.disconnect()}handleChange(e,t){e===this.itemsBinding?(this.items=this.itemsBindingObserver.observe(this.source,this.originalContext),this.observeItems(),this.refreshAllViews()):e===this.templateBinding?(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshAllViews(!0)):this.updateViews(t)}observeItems(e=!1){if(!this.items)return void(this.items=o)
|
|
@@ -526,12 +526,12 @@ return Rt[e]=!0}default:return!1}}function Nt(e){return`${e.toLowerCase()}:prese
|
|
|
526
526
|
void 0===Pt.get(i)?Pt.set(i,t):Pt.set(i,!1),n.register(It.instance(i,t))},forTag(e,t){const n=Nt(e),i=Pt.get(n)
|
|
527
527
|
if(!1===i){return ut.findResponsibleContainer(t).get(n)}return i||null}})
|
|
528
528
|
class zt{constructor(e,t){this.template=e||null,this.styles=void 0===t?null:Array.isArray(t)?Z.create(t):t instanceof Z?t:Z.create([t])}applyTo(e){const t=e.$fastController
|
|
529
|
-
null===t.template&&(t.template=this.template),null===t.styles&&(t.styles=this.styles)}}class
|
|
529
|
+
null===t.template&&(t.template=this.template),null===t.styles&&(t.styles=this.styles)}}class Vt extends be{constructor(){super(...arguments),this._presentation=void 0}get $presentation(){return void 0===this._presentation&&(this._presentation=Lt.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(e){return(t={})=>new Bt(this===Vt?class extends Vt{}:this,e,t)}}function Ht(e,t,n){return"function"==typeof e?e(t,n):e}it([g],Vt.prototype,"template",void 0),it([g],Vt.prototype,"styles",void 0)
|
|
530
530
|
class Bt{constructor(e,t,n){this.type=e,this.elementDefinition=t,this.overrideDefinition=n,this.definition=Object.assign(Object.assign({},this.elementDefinition),this.overrideDefinition)}register(e,t){const n=this.definition,i=this.overrideDefinition,o=`${n.prefix||t.elementPrefix}-${n.baseName}`
|
|
531
|
-
t.tryDefineElement({name:o,type:this.type,baseClass:this.elementDefinition.baseClass,callback:e=>{const t=new zt(
|
|
531
|
+
t.tryDefineElement({name:o,type:this.type,baseClass:this.elementDefinition.baseClass,callback:e=>{const t=new zt(Ht(n.template,e,n),Ht(n.styles,e,n))
|
|
532
532
|
e.definePresentation(t)
|
|
533
|
-
let o=
|
|
534
|
-
e.shadowRootMode&&(o?i.shadowOptions||(o.mode=e.shadowRootMode):null!==o&&(o={mode:e.shadowRootMode})),e.defineElement({elementOptions:
|
|
533
|
+
let o=Ht(n.shadowOptions,e,n)
|
|
534
|
+
e.shadowRootMode&&(o?i.shadowOptions||(o.mode=e.shadowRootMode):null!==o&&(o={mode:e.shadowRootMode})),e.defineElement({elementOptions:Ht(n.elementOptions,e,n),shadowOptions:o,attributes:Ht(n.attributes,e,n)})}})}}function qt(e,...t){const n=oe.locate(e)
|
|
535
535
|
t.forEach((t=>{Object.getOwnPropertyNames(t.prototype).forEach((n=>{"constructor"!==n&&Object.defineProperty(e.prototype,n,Object.getOwnPropertyDescriptor(t.prototype,n))}))
|
|
536
536
|
oe.locate(t).forEach((e=>n.push(e)))}))}const Ut="horizontal",jt="vertical"
|
|
537
537
|
function Wt(...e){return e.every((e=>e instanceof HTMLElement))}let Gt
|
|
@@ -543,14 +543,14 @@ var cn
|
|
|
543
543
|
function dn(e,t,n){return Math.min(Math.max(n,e),t)}function hn(e,t,n=0){return[t,n]=[t,n].sort(((e,t)=>e-t)),t<=e&&e<n}!function(e){e.ltr="ltr",e.rtl="rtl"}(cn||(cn={}))
|
|
544
544
|
let un=0
|
|
545
545
|
function pn(e=""){return`${e}${un++}`}class fn{}it([le({attribute:"aria-atomic"})],fn.prototype,"ariaAtomic",void 0),it([le({attribute:"aria-busy"})],fn.prototype,"ariaBusy",void 0),it([le({attribute:"aria-controls"})],fn.prototype,"ariaControls",void 0),it([le({attribute:"aria-current"})],fn.prototype,"ariaCurrent",void 0),it([le({attribute:"aria-describedby"})],fn.prototype,"ariaDescribedby",void 0),it([le({attribute:"aria-details"})],fn.prototype,"ariaDetails",void 0),it([le({attribute:"aria-disabled"})],fn.prototype,"ariaDisabled",void 0),it([le({attribute:"aria-errormessage"})],fn.prototype,"ariaErrormessage",void 0),it([le({attribute:"aria-flowto"})],fn.prototype,"ariaFlowto",void 0),it([le({attribute:"aria-haspopup"})],fn.prototype,"ariaHaspopup",void 0),it([le({attribute:"aria-hidden"})],fn.prototype,"ariaHidden",void 0),it([le({attribute:"aria-invalid"})],fn.prototype,"ariaInvalid",void 0),it([le({attribute:"aria-keyshortcuts"})],fn.prototype,"ariaKeyshortcuts",void 0),it([le({attribute:"aria-label"})],fn.prototype,"ariaLabel",void 0),it([le({attribute:"aria-labelledby"})],fn.prototype,"ariaLabelledby",void 0),it([le({attribute:"aria-live"})],fn.prototype,"ariaLive",void 0),it([le({attribute:"aria-owns"})],fn.prototype,"ariaOwns",void 0),it([le({attribute:"aria-relevant"})],fn.prototype,"ariaRelevant",void 0),it([le({attribute:"aria-roledescription"})],fn.prototype,"ariaRoledescription",void 0)
|
|
546
|
-
let mn=class extends
|
|
546
|
+
let mn=class extends Vt{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var e
|
|
547
547
|
window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(e=this.$fastController.definition.shadowOptions)||void 0===e?void 0:e.delegatesFocus)&&(this.focus=()=>{var e
|
|
548
548
|
null===(e=this.control)||void 0===e||e.focus()})}}connectedCallback(){super.connectedCallback(),this.handleUnsupportedDelegatesFocus()}}
|
|
549
549
|
it([le],mn.prototype,"download",void 0),it([le],mn.prototype,"href",void 0),it([le],mn.prototype,"hreflang",void 0),it([le],mn.prototype,"ping",void 0),it([le],mn.prototype,"referrerpolicy",void 0),it([le],mn.prototype,"rel",void 0),it([le],mn.prototype,"target",void 0),it([le],mn.prototype,"type",void 0),it([g],mn.prototype,"defaultSlottedContent",void 0)
|
|
550
550
|
class gn{}it([le({attribute:"aria-expanded"})],gn.prototype,"ariaExpanded",void 0),qt(gn,fn),qt(mn,et,gn)
|
|
551
551
|
const vn=e=>{const t=e.closest("[dir]")
|
|
552
552
|
return null!==t&&"rtl"===t.dir?cn.rtl:cn.ltr}
|
|
553
|
-
let bn=class e extends
|
|
553
|
+
let bn=class e extends Vt{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=cn.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||(e.intersectionService.requestPosition(this,this.handleIntersection),e.intersectionService.requestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&e.intersectionService.requestPosition(this.viewportElement,this.handleIntersection),this.pendingPositioningUpdate=!0)},this.stopObservers=()=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,e.intersectionService.cancelRequestPosition(this,this.handleIntersection),null!==this.anchorElement&&e.intersectionService.cancelRequestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&e.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=e=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,this.applyIntersectionEntries(e)&&this.updateLayout())},this.applyIntersectionEntries=e=>{const t=e.find((e=>e.target===this)),n=e.find((e=>e.target===this.anchorElement)),i=e.find((e=>e.target===this.viewportElement))
|
|
554
554
|
return void 0!==t&&void 0!==i&&void 0!==n&&(!!(!this.regionVisible||this.forceUpdate||void 0===this.regionRect||void 0===this.anchorRect||void 0===this.viewportRect||this.isRectDifferent(this.anchorRect,n.boundingClientRect)||this.isRectDifferent(this.viewportRect,i.boundingClientRect)||this.isRectDifferent(this.regionRect,t.boundingClientRect))&&(this.regionRect=t.boundingClientRect,this.anchorRect=n.boundingClientRect,this.viewportElement===document.documentElement?this.viewportRect=new DOMRectReadOnly(i.boundingClientRect.x+document.documentElement.scrollLeft,i.boundingClientRect.y+document.documentElement.scrollTop,i.boundingClientRect.width,i.boundingClientRect.height):this.viewportRect=i.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=(e,t)=>Math.abs(e.top-t.top)>this.updateThreshold||Math.abs(e.right-t.right)>this.updateThreshold||Math.abs(e.bottom-t.bottom)>this.updateThreshold||Math.abs(e.left-t.left)>this.updateThreshold,this.handleResize=e=>{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=vn(this),this.startObservers())},this.updateLayout=()=>{let e,t
|
|
555
555
|
if("uncontrolled"!==this.horizontalPositioningMode){const e=this.getPositioningOptions(this.horizontalInset)
|
|
556
556
|
if("center"===this.horizontalDefaultPosition)t="center"
|
|
@@ -610,7 +610,7 @@ const o=this.observedElements.get(e.target)
|
|
|
610
610
|
void 0!==o&&(o.forEach((i=>{let o=t.indexOf(i);-1===o&&(o=t.length,t.push(i),n.push([])),n[o].push(e)})),this.observedElements.delete(e.target))})),t.forEach(((e,t)=>{e(n[t])}))},this.initializeIntersectionDetector()}},it([le],bn.prototype,"anchor",void 0),it([le],bn.prototype,"viewport",void 0),it([le({attribute:"horizontal-positioning-mode"})],bn.prototype,"horizontalPositioningMode",void 0),it([le({attribute:"horizontal-default-position"})],bn.prototype,"horizontalDefaultPosition",void 0),it([le({attribute:"horizontal-viewport-lock",mode:"boolean"})],bn.prototype,"horizontalViewportLock",void 0),it([le({attribute:"horizontal-inset",mode:"boolean"})],bn.prototype,"horizontalInset",void 0),it([le({attribute:"horizontal-threshold"})],bn.prototype,"horizontalThreshold",void 0),it([le({attribute:"horizontal-scaling"})],bn.prototype,"horizontalScaling",void 0),it([le({attribute:"vertical-positioning-mode"})],bn.prototype,"verticalPositioningMode",void 0),it([le({attribute:"vertical-default-position"})],bn.prototype,"verticalDefaultPosition",void 0),it([le({attribute:"vertical-viewport-lock",mode:"boolean"})],bn.prototype,"verticalViewportLock",void 0),it([le({attribute:"vertical-inset",mode:"boolean"})],bn.prototype,"verticalInset",void 0),it([le({attribute:"vertical-threshold"})],bn.prototype,"verticalThreshold",void 0),it([le({attribute:"vertical-scaling"})],bn.prototype,"verticalScaling",void 0),it([le({attribute:"fixed-placement",mode:"boolean"})],bn.prototype,"fixedPlacement",void 0),it([le({attribute:"auto-update-mode"})],bn.prototype,"autoUpdateMode",void 0),it([g],bn.prototype,"anchorElement",void 0),it([g],bn.prototype,"viewportElement",void 0),it([g],bn.prototype,"initialLayoutComplete",void 0)
|
|
611
611
|
let yn=class extends mn{constructor(){super(...arguments),this.separator=!0}}
|
|
612
612
|
it([g],yn.prototype,"separator",void 0),qt(yn,et,gn)
|
|
613
|
-
let wn=class extends
|
|
613
|
+
let wn=class extends Vt{slottedBreadcrumbItemsChanged(){if(this.$fastController.isConnected){if(void 0===this.slottedBreadcrumbItems||0===this.slottedBreadcrumbItems.length)return
|
|
614
614
|
const e=this.slottedBreadcrumbItems[this.slottedBreadcrumbItems.length-1]
|
|
615
615
|
this.slottedBreadcrumbItems.forEach((t=>{const n=t===e
|
|
616
616
|
this.setItemSeparator(t,n),this.setAriaCurrent(t,n)}))}}setItemSeparator(e,t){e instanceof yn&&(e.separator=!t)}findChildWithHref(e){var t,n
|
|
@@ -627,7 +627,7 @@ this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none"
|
|
|
627
627
|
this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){if(e.key===tn)if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]")
|
|
628
628
|
null==e||e.click()}}stopPropagation(e){e.stopPropagation()}}
|
|
629
629
|
return le({mode:"boolean"})(t.prototype,"disabled"),le({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),le({attribute:"current-value"})(t.prototype,"currentValue"),le(t.prototype,"name"),le({mode:"boolean"})(t.prototype,"required"),g(t.prototype,"value"),t}function Mn(e){class t extends($n(e)){}class n extends t{constructor(...e){super(e),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(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null
|
|
630
|
-
this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return le({attribute:"checked",mode:"boolean"})(n.prototype,"checkedAttribute"),le({attribute:"current-checked",converter:se})(n.prototype,"currentChecked"),g(n.prototype,"defaultChecked"),g(n.prototype,"checked"),n}class En extends
|
|
630
|
+
this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return le({attribute:"checked",mode:"boolean"})(n.prototype,"checkedAttribute"),le({attribute:"current-checked",converter:se})(n.prototype,"currentChecked"),g(n.prototype,"defaultChecked"),g(n.prototype,"checked"),n}class En extends Vt{}class In extends($n(En)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let _n=class extends In{constructor(){super(...arguments),this.handleClick=e=>{var t
|
|
631
631
|
this.disabled&&(null===(t=this.defaultSlottedContent)||void 0===t?void 0:t.length)<=1&&e.stopPropagation()},this.handleSubmission=()=>{if(!this.form)return
|
|
632
632
|
const e=this.proxy.isConnected
|
|
633
633
|
e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e
|
|
@@ -641,16 +641,16 @@ const t=Array.from(null===(e=this.control)||void 0===e?void 0:e.children)
|
|
|
641
641
|
t&&t.forEach((e=>{e.removeEventListener("click",this.handleClick)}))}}
|
|
642
642
|
it([le({mode:"boolean"})],_n.prototype,"autofocus",void 0),it([le({attribute:"form"})],_n.prototype,"formId",void 0),it([le],_n.prototype,"formaction",void 0),it([le],_n.prototype,"formenctype",void 0),it([le],_n.prototype,"formmethod",void 0),it([le({mode:"boolean"})],_n.prototype,"formnovalidate",void 0),it([le],_n.prototype,"formtarget",void 0),it([le],_n.prototype,"type",void 0),it([g],_n.prototype,"defaultSlottedContent",void 0)
|
|
643
643
|
class Tn{}it([le({attribute:"aria-expanded"})],Tn.prototype,"ariaExpanded",void 0),it([le({attribute:"aria-pressed"})],Tn.prototype,"ariaPressed",void 0),qt(Tn,fn),qt(_n,et,Tn)
|
|
644
|
-
let An=class extends
|
|
645
|
-
class Dn extends
|
|
644
|
+
let An=class extends Vt{}
|
|
645
|
+
class Dn extends Vt{}class On extends(Mn(Dn)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let Rn=class extends On{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.readOnly&&e.key===rn)this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked},this.clickHandler=e=>{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)}}
|
|
646
646
|
function Fn(e){return Wt(e)&&("option"===e.getAttribute("role")||e instanceof HTMLOptionElement)}it([le({attribute:"readonly",mode:"boolean"})],Rn.prototype,"readOnly",void 0),it([g],Rn.prototype,"defaultSlottedNodes",void 0),it([g],Rn.prototype,"indeterminate",void 0)
|
|
647
|
-
class Nn extends
|
|
647
|
+
class Nn extends Vt{constructor(e,t,n,i){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,e&&(this.textContent=e),t&&(this.initialValue=t),n&&(this.defaultSelected=n),i&&(this.selected=i),this.proxy=new Option(`${this.textContent}`,this.initialValue,this.defaultSelected,this.selected),this.proxy.disabled=this.disabled}checkedChanged(e,t){this.ariaChecked="boolean"!=typeof t?null:t?"true":"false"}contentChanged(e,t){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(e,t){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(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){var e
|
|
648
648
|
return null!==(e=this.value)&&void 0!==e?e:this.text}get text(){var e,t
|
|
649
649
|
return null!==(t=null===(e=this.textContent)||void 0===e?void 0:e.replace(/\s+/g," ").trim())&&void 0!==t?t:""}set value(e){const t=`${null!=e?e:""}`
|
|
650
650
|
this._value=t,this.dirtyValue=!0,this.proxy instanceof HTMLOptionElement&&(this.proxy.value=t),m.notify(this,"value")}get value(){var e
|
|
651
651
|
return m.track(this,"value"),null!==(e=this._value)&&void 0!==e?e:this.text}get form(){return this.proxy?this.proxy.form:null}}it([g],Nn.prototype,"checked",void 0),it([g],Nn.prototype,"content",void 0),it([g],Nn.prototype,"defaultSelected",void 0),it([le({mode:"boolean"})],Nn.prototype,"disabled",void 0),it([le({attribute:"selected",mode:"boolean"})],Nn.prototype,"selectedAttribute",void 0),it([g],Nn.prototype,"selected",void 0),it([le({attribute:"value",mode:"fromView"})],Nn.prototype,"initialValue",void 0)
|
|
652
652
|
class Pn{}it([g],Pn.prototype,"ariaChecked",void 0),it([g],Pn.prototype,"ariaPosInSet",void 0),it([g],Pn.prototype,"ariaSelected",void 0),it([g],Pn.prototype,"ariaSetSize",void 0),qt(Pn,fn),qt(Nn,et,Pn)
|
|
653
|
-
class Ln extends
|
|
653
|
+
class Ln extends Vt{constructor(){super(...arguments),this._options=[],this.selectedIndex=-1,this.selectedOptions=[],this.shouldSkipFocus=!1,this.typeaheadBuffer="",this.typeaheadExpired=!0,this.typeaheadTimeout=-1}get firstSelectedOption(){var e
|
|
654
654
|
return null!==(e=this.selectedOptions[0])&&void 0!==e?e:null}get hasSelectableOptions(){return this.options.length>0&&!this.options.every((e=>e.disabled))}get length(){var e,t
|
|
655
655
|
return null!==(t=null===(e=this.options)||void 0===e?void 0:e.length)&&void 0!==t?t:0}get options(){return m.track(this,"options"),this._options}set options(e){this._options=e,m.notify(this,"options")}get typeAheadExpired(){return this.typeaheadExpired}set typeAheadExpired(e){this.typeaheadExpired=e}clickHandler(e){const t=e.target.closest("option,[role=option]")
|
|
656
656
|
if(t&&!t.disabled)return this.selectedIndex=this.options.indexOf(t),!0}focusAndScrollOptionIntoView(e=this.firstSelectedOption){this.contains(document.activeElement)&&null!==e&&(e.focus(),requestAnimationFrame((()=>{e.scrollIntoView({block:"nearest"})})))}focusinHandler(e){this.shouldSkipFocus||e.target!==e.currentTarget||(this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}getTypeaheadMatches(){const e=this.typeaheadBuffer.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),t=new RegExp(`^${e}`,"gi")
|
|
@@ -687,7 +687,7 @@ this.options.forEach(((e,t)=>{e.id||(e.id=pn("option-")),e.ariaPosInSet=`${t+1}`
|
|
|
687
687
|
if(e.length){const t=this.options.indexOf(e[0])
|
|
688
688
|
t>-1&&(this.selectedIndex=t)}this.typeaheadExpired=!1}}}Ln.slottedOptionFilter=e=>Fn(e)&&!e.hidden,Ln.TYPE_AHEAD_TIMEOUT_MS=1e3,it([le({mode:"boolean"})],Ln.prototype,"disabled",void 0),it([g],Ln.prototype,"selectedIndex",void 0),it([g],Ln.prototype,"selectedOptions",void 0),it([g],Ln.prototype,"slottedOptions",void 0),it([g],Ln.prototype,"typeaheadBuffer",void 0)
|
|
689
689
|
class zn{}it([g],zn.prototype,"ariaActiveDescendant",void 0),it([g],zn.prototype,"ariaDisabled",void 0),it([g],zn.prototype,"ariaExpanded",void 0),it([g],zn.prototype,"ariaMultiSelectable",void 0),qt(zn,fn),qt(Ln,zn)
|
|
690
|
-
const
|
|
690
|
+
const Vn="above",Hn="below"
|
|
691
691
|
class Bn extends Ln{}let qn=class extends($n(Bn)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}
|
|
692
692
|
const Un="inline",jn="list",Wn="both",Gn="none"
|
|
693
693
|
let Zn=class extends qn{constructor(){super(...arguments),this._value="",this.filteredOptions=[],this.filter="",this.forcedPosition=!1,this.listboxId=pn("listbox-"),this.maxHeight=0,this.open=!1}formResetCallback(){super.formResetCallback(),this.setDefaultSelectedOption(),this.updateValue()}validate(){super.validate(this.control)}get isAutocompleteInline(){return this.autocomplete===Un||this.isAutocompleteBoth}get isAutocompleteList(){return this.autocomplete===jn||this.isAutocompleteBoth}get isAutocompleteBoth(){return this.autocomplete===Wn}openChanged(){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),void u.queueUpdate((()=>this.focus()))
|
|
@@ -720,7 +720,7 @@ super.selectedIndexChanged(e,t)}}selectPreviousOption(){!this.disabled&&this.sel
|
|
|
720
720
|
this.selectedIndex=e,!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 e
|
|
721
721
|
const t=this.selectedIndex>-1?null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text:this.control.value
|
|
722
722
|
this.updateValue(this.value!==t)}setPositioning(){const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom
|
|
723
|
-
this.position=this.forcedPosition?this.positionAttribute:e.top>t?Hn
|
|
723
|
+
this.position=this.forcedPosition?this.positionAttribute:e.top>t?Vn:Hn,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===Vn?~~e.top:~~t}selectedOptionsChanged(e,t){this.$fastController.isConnected&&this._options.forEach((e=>{e.selected=t.includes(e)}))}slottedOptionsChanged(e,t){super.slottedOptionsChanged(e,t),this.updateValue()}updateValue(e){var t
|
|
724
724
|
this.$fastController.isConnected&&(this.value=(null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text)||this.control.value,this.control.value=this.value),e&&this.$emit("change")}clearSelectionRange(){const e=this.control.value.length
|
|
725
725
|
this.control.setSelectionRange(e,e)}}
|
|
726
726
|
it([le({attribute:"autocomplete",mode:"fromView"})],Zn.prototype,"autocomplete",void 0),it([g],Zn.prototype,"maxHeight",void 0),it([le({attribute:"open",mode:"boolean"})],Zn.prototype,"open",void 0),it([le],Zn.prototype,"placeholder",void 0),it([le({attribute:"position"})],Zn.prototype,"positionAttribute",void 0),it([g],Zn.prototype,"position",void 0)
|
|
@@ -805,7 +805,7 @@ for(;p;){const e=i(u,h,p)
|
|
|
805
805
|
switch(e){case fi.ignoreDuplicate:return
|
|
806
806
|
case fi.definitionCallbackOnly:f=!1,p=void 0
|
|
807
807
|
break
|
|
808
|
-
default:u=e,p=mi.get(u)}}f&&((gi.has(h)||h===
|
|
808
|
+
default:u=e,p=mi.get(u)}}f&&((gi.has(h)||h===Vt)&&(h=class extends h{}),mi.set(u,h),gi.set(h,u),d&&gi.set(d,u)),n.push(new xi(t,u,h,o,c,f))}}
|
|
809
809
|
this.designTokensInitialized||(this.designTokensInitialized=!0,null!==this.designTokenRoot&&pi.registerRoot(this.designTokenRoot)),t.registerWithContext(s,...e)
|
|
810
810
|
for(const e of n)e.callback(e),e.willDefine&&null!==e.definition&&e.definition.define()
|
|
811
811
|
return this}}class xi{constructor(e,t,n,i,o,s){this.container=e,this.name=t,this.type=n,this.shadowRootMode=i,this.callback=o,this.willDefine=s,this.definition=null}definePresentation(e){Lt.define(this.name,e,this.container)}defineElement(e){this.definition=new ue(this.type,Object.assign(Object.assign({},e),{name:this.name}))}tagFor(e){return yi.tagFor(e)}}
|
|
@@ -848,7 +848,7 @@ i!==t&&u.queueUpdate((()=>{this.size=i}))}toggleSelectedForAllCheckedOptions(){c
|
|
|
848
848
|
e.forEach((e=>e.selected=t)),this.selectedIndex=this.options.indexOf(e[e.length-1]),this.setSelectedOptions()}typeaheadBufferChanged(e,t){if(this.multiple){if(this.$fastController.isConnected){const e=this.getTypeaheadMatches(),t=this.options.indexOf(e[0])
|
|
849
849
|
t>-1&&(this.activeIndex=t,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(e,t)}uncheckAllOptions(e=!1){this.options.forEach((e=>e.checked=!this.multiple&&void 0)),e||(this.rangeStartIndex=-1)}}it([g],_i.prototype,"activeIndex",void 0),it([le({mode:"boolean"})],_i.prototype,"multiple",void 0),it([le({converter:re})],_i.prototype,"size",void 0)
|
|
850
850
|
const Ti="menuitem",Ai="menuitemcheckbox",Di="menuitemradio",Oi={[Ti]:"menuitem",[Ai]:"menuitemcheckbox",[Di]:"menuitemradio"}
|
|
851
|
-
let Ri=class extends
|
|
851
|
+
let Ri=class extends Vt{constructor(){super(...arguments),this.role=Ti,this.hasSubmenu=!1,this.currentDirection=cn.ltr,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1
|
|
852
852
|
switch(e.key){case tn:case rn:return this.invoke(),!1
|
|
853
853
|
case Qt:return this.expandAndFocus(),!1
|
|
854
854
|
case Jt:if(this.expanded)return this.expanded=!1,this.focus(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.hasSubmenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!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 Ai:this.checked=!this.checked
|
|
@@ -858,7 +858,7 @@ break
|
|
|
858
858
|
case Di:this.checked||(this.checked=!0)}},this.updateSubmenu=()=>{this.submenu=this.domChildren().find((e=>"menu"===e.getAttribute("role"))),this.hasSubmenu=void 0!==this.submenu}}expandedChanged(e){if(this.$fastController.isConnected){if(void 0===this.submenu)return
|
|
859
859
|
!1===this.expanded?this.submenu.collapseExpandedItem():this.currentDirection=vn(this),this.$emit("expanded-change",this,{bubbles:!1})}}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}connectedCallback(){super.connectedCallback(),u.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((e=>!e.hasAttribute("hidden")))}}
|
|
860
860
|
it([le({mode:"boolean"})],Ri.prototype,"disabled",void 0),it([le({mode:"boolean"})],Ri.prototype,"expanded",void 0),it([g],Ri.prototype,"startColumnCount",void 0),it([le],Ri.prototype,"role",void 0),it([le({mode:"boolean"})],Ri.prototype,"checked",void 0),it([g],Ri.prototype,"submenuRegion",void 0),it([g],Ri.prototype,"hasSubmenu",void 0),it([g],Ri.prototype,"currentDirection",void 0),it([g],Ri.prototype,"submenu",void 0),qt(Ri,et)
|
|
861
|
-
let Fi=class e extends
|
|
861
|
+
let Fi=class e extends Vt{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&Wt(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem()
|
|
862
862
|
const e=this.menuItems.findIndex(this.isFocusableElement)
|
|
863
863
|
this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target
|
|
864
864
|
void 0!==this.menuItems&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||void 0===this.menuItems||this.menuItems.indexOf(e.target)<0)return
|
|
@@ -884,11 +884,11 @@ default:return!0}}domChildren(){return Array.from(this.children).filter((e=>!e.h
|
|
|
884
884
|
if(this.isFocusableElement(n)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,n.setAttribute("tabindex","0"),n.focus()
|
|
885
885
|
break}e+=t}}}
|
|
886
886
|
Fi.focusableElementRoles=Oi,it([g],Fi.prototype,"items",void 0)
|
|
887
|
-
class Ni extends
|
|
887
|
+
class Ni extends Vt{}class Pi extends($n(Ni)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Li="text"
|
|
888
888
|
let zi=class extends Pi{constructor(){super(...arguments),this.type=Li}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&&u.queueUpdate((()=>{this.focus()}))}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}
|
|
889
889
|
it([le({attribute:"readonly",mode:"boolean"})],zi.prototype,"readOnly",void 0),it([le({mode:"boolean"})],zi.prototype,"autofocus",void 0),it([le],zi.prototype,"placeholder",void 0),it([le],zi.prototype,"type",void 0),it([le],zi.prototype,"list",void 0),it([le({converter:re})],zi.prototype,"maxlength",void 0),it([le({converter:re})],zi.prototype,"minlength",void 0),it([le],zi.prototype,"pattern",void 0),it([le({converter:re})],zi.prototype,"size",void 0),it([le({mode:"boolean"})],zi.prototype,"spellcheck",void 0),it([g],zi.prototype,"defaultSlottedNodes",void 0)
|
|
890
|
-
class
|
|
891
|
-
class
|
|
890
|
+
class Vi{}qt(Vi,fn),qt(zi,et,Vi)
|
|
891
|
+
class Hi extends Vt{}class Bi extends($n(Hi)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let qi=class extends Bi{constructor(){super(...arguments),this.hideStep=!1,this.step=1,this.isUserInput=!1}maxChanged(e,t){var n
|
|
892
892
|
this.max=Math.max(t,null!==(n=this.min)&&void 0!==n?n:t)
|
|
893
893
|
const i=Math.min(this.min,this.max)
|
|
894
894
|
void 0!==this.min&&this.min!==i&&(this.min=i),this.value=this.getValidValue(this.value)}minChanged(e,t){var n
|
|
@@ -900,8 +900,8 @@ return isNaN(i)?i="":(i=Math.min(i,null!==(t=this.max)&&void 0!==t?t:i),i=Math.m
|
|
|
900
900
|
this.value=t.toString()}stepDown(){const e=parseFloat(this.value),t=isNaN(e)?this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step:e-this.step
|
|
901
901
|
this.value=t.toString()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","number"),this.validate(),this.control.value=this.value,this.autofocus&&u.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(e){switch(e.key){case en:return this.stepUp(),!1
|
|
902
902
|
case Yt:return this.stepDown(),!1}return!0}handleBlur(){this.control.value=this.value}}
|
|
903
|
-
it([le({attribute:"readonly",mode:"boolean"})],qi.prototype,"readOnly",void 0),it([le({mode:"boolean"})],qi.prototype,"autofocus",void 0),it([le({attribute:"hide-step",mode:"boolean"})],qi.prototype,"hideStep",void 0),it([le],qi.prototype,"placeholder",void 0),it([le],qi.prototype,"list",void 0),it([le({converter:re})],qi.prototype,"maxlength",void 0),it([le({converter:re})],qi.prototype,"minlength",void 0),it([le({converter:re})],qi.prototype,"size",void 0),it([le({converter:re})],qi.prototype,"step",void 0),it([le({converter:re})],qi.prototype,"max",void 0),it([le({converter:re})],qi.prototype,"min",void 0),it([g],qi.prototype,"defaultSlottedNodes",void 0),qt(qi,et,
|
|
904
|
-
let Ui=class extends
|
|
903
|
+
it([le({attribute:"readonly",mode:"boolean"})],qi.prototype,"readOnly",void 0),it([le({mode:"boolean"})],qi.prototype,"autofocus",void 0),it([le({attribute:"hide-step",mode:"boolean"})],qi.prototype,"hideStep",void 0),it([le],qi.prototype,"placeholder",void 0),it([le],qi.prototype,"list",void 0),it([le({converter:re})],qi.prototype,"maxlength",void 0),it([le({converter:re})],qi.prototype,"minlength",void 0),it([le({converter:re})],qi.prototype,"size",void 0),it([le({converter:re})],qi.prototype,"step",void 0),it([le({converter:re})],qi.prototype,"max",void 0),it([le({converter:re})],qi.prototype,"min",void 0),it([g],qi.prototype,"defaultSlottedNodes",void 0),qt(qi,et,Vi)
|
|
904
|
+
let Ui=class extends Vt{constructor(){super(...arguments),this.orientation=Ut,this.radioChangeHandler=e=>{const t=e.target
|
|
905
905
|
t.checked&&(this.slottedRadioButtons.forEach((e=>{e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))})),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const n=e[t]
|
|
906
906
|
this.isInsideToolbar||(n.setAttribute("tabindex","0"),n.readOnly?this.slottedRadioButtons.forEach((e=>{e!==n&&e.setAttribute("tabindex","-1")})):(n.checked=!0,this.selectedRadio=n)),this.focusedRadio=n,n.focus()},this.moveRightOffGroup=()=>{var e
|
|
907
907
|
null===(e=this.nextElementSibling)||void 0===e||e.focus()},this.moveLeftOffGroup=()=>{var e
|
|
@@ -935,7 +935,7 @@ if(this.slottedRadioButtons.forEach((e=>{void 0!==this.name&&e.setAttribute("nam
|
|
|
935
935
|
if(t>0&&!n){const n=e[t-1]
|
|
936
936
|
n.checked=!0,this.focusedRadio=n,n.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}
|
|
937
937
|
it([le({attribute:"readonly",mode:"boolean"})],Ui.prototype,"readOnly",void 0),it([le({attribute:"disabled",mode:"boolean"})],Ui.prototype,"disabled",void 0),it([le],Ui.prototype,"name",void 0),it([le],Ui.prototype,"value",void 0),it([le],Ui.prototype,"orientation",void 0),it([g],Ui.prototype,"childItems",void 0),it([g],Ui.prototype,"slottedRadioButtons",void 0)
|
|
938
|
-
class ji extends
|
|
938
|
+
class ji extends Vt{}class Wi extends(Mn(ji)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let Gi=class extends Wi{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(e.key!==rn)return!0
|
|
939
939
|
this.checked||this.readOnly||(this.checked=!0)},this.proxy.setAttribute("type","radio")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}defaultCheckedChanged(){var e
|
|
940
940
|
this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t
|
|
941
941
|
super.connectedCallback(),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.closest("[role=radiogroup]")}clickHandler(e){this.disabled||this.readOnly||this.checked||(this.checked=!0)}}
|
|
@@ -945,7 +945,7 @@ this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.m
|
|
|
945
945
|
const l=`${this._value}`
|
|
946
946
|
if(null===(t=this._options)||void 0===t?void 0:t.length){const t=this._options.findIndex((t=>t.value===e)),l=null!==(i=null===(n=this._options[this.selectedIndex])||void 0===n?void 0:n.value)&&void 0!==i?i:null,c=null!==(s=null===(o=this._options[t])||void 0===o?void 0:o.value)&&void 0!==s?s:null;-1!==t&&l===c||(e="",this.selectedIndex=t),e=null!==(a=null===(r=this.firstSelectedOption)||void 0===r?void 0:r.value)&&void 0!==a?a:e}l!==e&&(this._value=e,super.valueChanged(l,e),m.notify(this,"value"),this.updateDisplayValue())}updateValue(e){var t,n
|
|
947
947
|
this.$fastController.isConnected&&(this.value=null!==(n=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.value)&&void 0!==n?n:""),e&&(this.$emit("input"),this.$emit("change",this,{bubbles:!0,composed:void 0}))}selectedIndexChanged(e,t){super.selectedIndexChanged(e,t),this.updateValue()}positionChanged(e,t){this.positionAttribute=t,this.setPositioning()}setPositioning(){const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom
|
|
948
|
-
this.position=this.forcedPosition?this.positionAttribute:e.top>t?Hn
|
|
948
|
+
this.position=this.forcedPosition?this.positionAttribute:e.top>t?Vn:Hn,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===Vn?~~e.top:~~t}get displayValue(){var e,t
|
|
949
949
|
return m.track(this,"displayValue"),null!==(t=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text)&&void 0!==t?t:""}disabledChanged(e,t){super.disabledChanged&&super.disabledChanged(e,t),this.ariaDisabled=this.disabled?"true":"false"}formResetCallback(){this.setProxyOptions(),super.setDefaultSelectedOption(),-1===this.selectedIndex&&(this.selectedIndex=0)}clickHandler(e){if(!this.disabled){if(this.open){const t=e.target.closest("option,[role=option]")
|
|
950
950
|
if(t&&t.disabled)return}return super.clickHandler(e),this.open=this.collapsible&&!this.open,this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}}focusoutHandler(e){var t
|
|
951
951
|
if(super.focusoutHandler(e),!this.open)return!0
|
|
@@ -970,13 +970,13 @@ break
|
|
|
970
970
|
case an:return this.collapsible&&this.open&&(e.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!(t===Yt||t===en)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(e,t){super.sizeChanged(e,t),this.proxy&&(this.proxy.size=t)}updateDisplayValue(){this.collapsible&&m.notify(this,"displayValue")}}
|
|
971
971
|
it([le({attribute:"open",mode:"boolean"})],Yi.prototype,"open",void 0),it([v],Yi.prototype,"collapsible",null),it([g],Yi.prototype,"control",void 0),it([le({attribute:"position"})],Yi.prototype,"positionAttribute",void 0),it([g],Yi.prototype,"position",void 0),it([g],Yi.prototype,"maxHeight",void 0)
|
|
972
972
|
class Ji{}it([g],Ji.prototype,"ariaControls",void 0),qt(Ji,zn),qt(Yi,et,Ji)
|
|
973
|
-
class Qi extends
|
|
973
|
+
class Qi extends Vt{}class eo extends(Mn(Qi)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let to=class extends eo{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case tn:case rn:this.checked=!this.checked}},this.clickHandler=e=>{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(e,t){super.checkedChanged(e,t),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}
|
|
974
974
|
it([le({attribute:"readonly",mode:"boolean"})],to.prototype,"readOnly",void 0),it([g],to.prototype,"defaultSlottedNodes",void 0)
|
|
975
|
-
let no=class extends
|
|
976
|
-
let io=class extends
|
|
975
|
+
let no=class extends Vt{}
|
|
976
|
+
let io=class extends Vt{}
|
|
977
977
|
it([le({mode:"boolean"})],io.prototype,"disabled",void 0)
|
|
978
978
|
const oo="horizontal"
|
|
979
|
-
let so=class extends
|
|
979
|
+
let so=class extends Vt{constructor(){super(...arguments),this.orientation=oo,this.activeindicator=!0,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.setTabs=()=>{const e="gridColumn",t="gridRow",n=this.isHorizontal()?e:t
|
|
980
980
|
this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach(((i,o)=>{if("tab"===i.slot){const e=this.activeTabIndex===o&&this.isFocusableElement(i)
|
|
981
981
|
this.activeindicator&&this.isFocusableElement(i)&&(this.showActiveIndicator=!0)
|
|
982
982
|
const t=this.tabIds[o],n=this.tabpanelIds[o]
|
|
@@ -1007,11 +1007,11 @@ const s=o-i
|
|
|
1007
1007
|
this.activeIndicatorRef.style.transform=`${t}(${s}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",(()=>{this.ticking=!1,this.activeIndicatorRef.style[e]=`${this.activeTabIndex+1}`,this.activeIndicatorRef.style.transform=`${t}(0px)`,this.activeIndicatorRef.classList.remove("activeIndicatorTransition")}))}adjust(e){const t=this.tabs.filter((e=>this.isFocusableElement(e))),n=t.indexOf(this.activetab),i=dn(0,t.length-1,n+e),o=this.tabs.indexOf(t[i])
|
|
1008
1008
|
o>-1&&this.moveToTabByIndex(this.tabs,o)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}
|
|
1009
1009
|
it([le],so.prototype,"orientation",void 0),it([le],so.prototype,"activeid",void 0),it([g],so.prototype,"tabs",void 0),it([g],so.prototype,"tabpanels",void 0),it([le({mode:"boolean"})],so.prototype,"activeindicator",void 0),it([g],so.prototype,"activeIndicatorRef",void 0),it([g],so.prototype,"showActiveIndicator",void 0),qt(so,et)
|
|
1010
|
-
class ro extends
|
|
1010
|
+
class ro extends Vt{}class ao extends($n(ro)){constructor(){super(...arguments),this.proxy=document.createElement("textarea")}}const lo="none"
|
|
1011
1011
|
let co=class extends ao{constructor(){super(...arguments),this.resize=lo,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")}validate(){super.validate(this.control)}}
|
|
1012
|
-
it([le({mode:"boolean"})],co.prototype,"readOnly",void 0),it([le],co.prototype,"resize",void 0),it([le({mode:"boolean"})],co.prototype,"autofocus",void 0),it([le({attribute:"form"})],co.prototype,"formId",void 0),it([le],co.prototype,"list",void 0),it([le({converter:re})],co.prototype,"maxlength",void 0),it([le({converter:re})],co.prototype,"minlength",void 0),it([le],co.prototype,"name",void 0),it([le],co.prototype,"placeholder",void 0),it([le({converter:re,mode:"fromView"})],co.prototype,"cols",void 0),it([le({converter:re,mode:"fromView"})],co.prototype,"rows",void 0),it([le({mode:"boolean"})],co.prototype,"spellcheck",void 0),it([g],co.prototype,"defaultSlottedNodes",void 0),qt(co,
|
|
1012
|
+
it([le({mode:"boolean"})],co.prototype,"readOnly",void 0),it([le],co.prototype,"resize",void 0),it([le({mode:"boolean"})],co.prototype,"autofocus",void 0),it([le({attribute:"form"})],co.prototype,"formId",void 0),it([le],co.prototype,"list",void 0),it([le({converter:re})],co.prototype,"maxlength",void 0),it([le({converter:re})],co.prototype,"minlength",void 0),it([le],co.prototype,"name",void 0),it([le],co.prototype,"placeholder",void 0),it([le({converter:re,mode:"fromView"})],co.prototype,"cols",void 0),it([le({converter:re,mode:"fromView"})],co.prototype,"rows",void 0),it([le({mode:"boolean"})],co.prototype,"spellcheck",void 0),it([g],co.prototype,"defaultSlottedNodes",void 0),qt(co,Vi)
|
|
1013
1013
|
const ho=Object.freeze({[ln.ArrowUp]:{[jt]:-1},[ln.ArrowDown]:{[jt]:1},[ln.ArrowLeft]:{[Ut]:{[cn.ltr]:-1,[cn.rtl]:1}},[ln.ArrowRight]:{[Ut]:{[cn.ltr]:1,[cn.rtl]:-1}}})
|
|
1014
|
-
let uo=class e extends
|
|
1014
|
+
let uo=class e extends Vt{constructor(){super(...arguments),this._activeIndex=0,this.direction=cn.ltr,this.orientation=Ut}get activeIndex(){return m.track(this,"activeIndex"),this._activeIndex}set activeIndex(e){this.$fastController.isConnected&&(this._activeIndex=dn(0,this.focusableElements.length-1,e),m.notify(this,"activeIndex"))}slottedItemsChanged(){this.$fastController.isConnected&&this.reduceFocusableElements()}mouseDownHandler(e){var t
|
|
1015
1015
|
const n=null===(t=this.focusableElements)||void 0===t?void 0:t.findIndex((t=>t.contains(e.target)))
|
|
1016
1016
|
return n>-1&&this.activeIndex!==n&&this.setFocusedElement(n),!0}childItemsChanged(e,t){this.$fastController.isConnected&&this.reduceFocusableElements()}connectedCallback(){super.connectedCallback(),this.direction=vn(this)}focusinHandler(e){const t=e.relatedTarget
|
|
1017
1017
|
t&&!this.contains(t)&&this.setFocusedElement()}getDirectionalIncrementer(e){var t,n,i,o,s
|
|
@@ -1031,7 +1031,7 @@ return n.hasAttribute("disabled")||n.hasAttribute("hidden")||!(Ii(n)||a||l||c)?n
|
|
|
1031
1031
|
it([g],uo.prototype,"direction",void 0),it([le],uo.prototype,"orientation",void 0),it([g],uo.prototype,"slottedItems",void 0),it([g],uo.prototype,"slottedLabel",void 0),it([g],uo.prototype,"childItems",void 0)
|
|
1032
1032
|
class po{}it([le({attribute:"aria-labelledby"})],po.prototype,"ariaLabelledby",void 0),it([le({attribute:"aria-label"})],po.prototype,"ariaLabel",void 0),qt(po,fn),qt(uo,et,po)
|
|
1033
1033
|
const fo="top",mo="right",go="bottom",vo="left",bo="start",yo="end",wo="top-left",xo="top-right",Co="bottom-left",ko="bottom-right",So="top-start",$o="top-end",Mo="bottom-start",Eo="bottom-end"
|
|
1034
|
-
let Io=class extends
|
|
1034
|
+
let Io=class extends Vt{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=cn.ltr,this.showDelayTimer=null,this.hideDelayTimer=null,this.isAnchorHoveredFocused=!1,this.isRegionHovered=!1,this.handlePositionChange=e=>{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=e=>{this.isRegionHovered=!0},this.handleRegionMouseOut=e=>{this.isRegionHovered=!1,this.startHideDelayTimer()},this.handleAnchorMouseOver=e=>{this.tooltipVisible?this.isAnchorHoveredFocused=!0:this.startShowDelayTimer()},this.handleAnchorMouseOut=e=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.handleAnchorFocusIn=e=>{this.startShowDelayTimer()},this.handleAnchorFocusOut=e=>{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 e=this.getRootNode()
|
|
1035
1035
|
return e instanceof ShadowRoot?e.getElementById(this.anchor):document.getElementById(this.anchor)},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&this.tooltipVisible&&e.key===nn)this.isAnchorHoveredFocused=!1,this.updateTooltipVisibility(),this.$emit("dismiss")},this.updateTooltipVisibility=()=>{if(!1===this.visible)this.hideTooltip()
|
|
1036
1036
|
else{if(!0===this.visible)return void this.showTooltip()
|
|
1037
1037
|
if(this.isAnchorHoveredFocused||this.isRegionHovered)return void this.showTooltip()
|
|
@@ -1059,10 +1059,10 @@ case Eo:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="en
|
|
|
1059
1059
|
break
|
|
1060
1060
|
default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}
|
|
1061
1061
|
it([le({mode:"boolean"})],Io.prototype,"visible",void 0),it([le],Io.prototype,"anchor",void 0),it([le],Io.prototype,"delay",void 0),it([le],Io.prototype,"position",void 0),it([le({attribute:"auto-update-mode"})],Io.prototype,"autoUpdateMode",void 0),it([le({attribute:"horizontal-viewport-lock"})],Io.prototype,"horizontalViewportLock",void 0),it([le({attribute:"vertical-viewport-lock"})],Io.prototype,"verticalViewportLock",void 0),it([g],Io.prototype,"anchorElement",void 0),it([g],Io.prototype,"viewportElement",void 0),it([g],Io.prototype,"verticalPositioningMode",void 0),it([g],Io.prototype,"horizontalPositioningMode",void 0),it([g],Io.prototype,"horizontalInset",void 0),it([g],Io.prototype,"verticalInset",void 0),it([g],Io.prototype,"horizontalScaling",void 0),it([g],Io.prototype,"verticalScaling",void 0),it([g],Io.prototype,"verticalDefaultPosition",void 0),it([g],Io.prototype,"horizontalDefaultPosition",void 0),it([g],Io.prototype,"tooltipVisible",void 0),it([g],Io.prototype,"currentDirection",void 0)
|
|
1062
|
-
function _o(e){return Wt(e)&&"treeitem"===e.getAttribute("role")}let To=class extends
|
|
1062
|
+
function _o(e){return Wt(e)&&"treeitem"===e.getAttribute("role")}let To=class extends Vt{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.isNestedItem=()=>_o(this.parentElement),this.handleExpandCollapseButtonClick=e=>{this.disabled||e.defaultPrevented||(this.expanded=!this.expanded)},this.handleFocus=e=>{this.setAttribute("tabindex","0")},this.handleBlur=e=>{this.setAttribute("tabindex","-1")}}expandedChanged(){this.$fastController.isConnected&&this.$emit("expanded-change",this)}selectedChanged(){this.$fastController.isConnected&&this.$emit("selected-change",this)}itemsChanged(e,t){this.$fastController.isConnected&&this.items.forEach((e=>{_o(e)&&(e.nested=!0)}))}static focusItem(e){e.focusable=!0,e.focus()}childItemLength(){const e=this.childItems.filter((e=>_o(e)))
|
|
1063
1063
|
return e?e.length:0}}
|
|
1064
1064
|
it([le({mode:"boolean"})],To.prototype,"expanded",void 0),it([le({mode:"boolean"})],To.prototype,"selected",void 0),it([le({mode:"boolean"})],To.prototype,"disabled",void 0),it([g],To.prototype,"focusable",void 0),it([g],To.prototype,"childItems",void 0),it([g],To.prototype,"items",void 0),it([g],To.prototype,"nested",void 0),it([g],To.prototype,"renderCollapsedChildren",void 0),qt(To,et)
|
|
1065
|
-
let Ao=class extends
|
|
1065
|
+
let Ao=class extends Vt{constructor(){super(...arguments),this.currentFocused=null,this.handleFocus=e=>{if(!(this.slottedTreeItems.length<1))return e.target===this?(null===this.currentFocused&&(this.currentFocused=this.getValidFocusableItem()),void(null!==this.currentFocused&&To.focusItem(this.currentFocused))):void(this.contains(e.target)&&(this.setAttribute("tabindex","-1"),this.currentFocused=e.target))},this.handleBlur=e=>{e.target instanceof HTMLElement&&(null===e.relatedTarget||!this.contains(e.relatedTarget))&&this.setAttribute("tabindex","0")},this.handleKeyDown=e=>{if(e.defaultPrevented)return
|
|
1066
1066
|
if(this.slottedTreeItems.length<1)return!0
|
|
1067
1067
|
const t=this.getVisibleNodes()
|
|
1068
1068
|
switch(e.key){case on:return void(t.length&&To.focusItem(t[0]))
|
|
@@ -1096,30 +1096,30 @@ return e?e.getAttribute("content"):null}()
|
|
|
1096
1096
|
null!==t&&e.setAttribute("nonce",t),document.head.appendChild(e)
|
|
1097
1097
|
try{e.sheet.insertRule("foo:focus-visible {color:inherit}",0),Gt=!0}catch(e){Gt=!1}finally{document.head.removeChild(e)}return Gt}()?"focus-visible":"focus"
|
|
1098
1098
|
class Ro extends mn{}const Fo=e=>`${Do(e)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host::before,:host::after,::before,::after{box-sizing:border-box;}`,No=`:${Oo}`
|
|
1099
|
-
function Po(e,t,n){return isNaN(e)||e<=t?t:e>=n?n:e}function Lo(e,t,n){return isNaN(e)||e<=t?0:e>=n?1:e/(n-t)}function zo(e,t,n){return isNaN(e)?t:t+e*(n-t)}function
|
|
1100
|
-
return Math.round(e*n)/n}class
|
|
1099
|
+
function Po(e,t,n){return isNaN(e)||e<=t?t:e>=n?n:e}function Lo(e,t,n){return isNaN(e)||e<=t?0:e>=n?1:e/(n-t)}function zo(e,t,n){return isNaN(e)?t:t+e*(n-t)}function Vo(e,t){const n=Math.pow(10,t)
|
|
1100
|
+
return Math.round(e*n)/n}class Ho{constructor(e,t,n,i){this.r=e,this.g=t,this.b=n,this.a="number"!=typeof i||isNaN(i)?1:i}static fromObject(e){return!e||isNaN(e.r)||isNaN(e.g)||isNaN(e.b)?null:new Ho(e.r,e.g,e.b,e.a)}equalValue(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}toStringHexRGB(){return"#"+[this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringHexRGBA(){return this.toStringHexRGB()+this.formatHexValue(this.a)}toStringHexARGB(){return"#"+[this.a,this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringWebRGB(){return`rgb(${Math.round(zo(this.r,0,255))},${Math.round(zo(this.g,0,255))},${Math.round(zo(this.b,0,255))})`}toStringWebRGBA(){return`rgba(${Math.round(zo(this.r,0,255))},${Math.round(zo(this.g,0,255))},${Math.round(zo(this.b,0,255))},${Po(this.a,0,1)})`}roundToPrecision(e){return new Ho(Vo(this.r,e),Vo(this.g,e),Vo(this.b,e),Vo(this.a,e))}clamp(){return new Ho(Po(this.r,0,1),Po(this.g,0,1),Po(this.b,0,1),Po(this.a,0,1))}toObject(){return{r:this.r,g:this.g,b:this.b,a:this.a}}formatHexValue(e){return function(e){const t=Math.round(Po(e,0,255)).toString(16)
|
|
1101
1101
|
return 1===t.length?"0"+t:t}(zo(e,0,255))}}const Bo={aliceblue:{r:.941176,g:.972549,b:1},antiquewhite:{r:.980392,g:.921569,b:.843137},aqua:{r:0,g:1,b:1},aquamarine:{r:.498039,g:1,b:.831373},azure:{r:.941176,g:1,b:1},beige:{r:.960784,g:.960784,b:.862745},bisque:{r:1,g:.894118,b:.768627},black:{r:0,g:0,b:0},blanchedalmond:{r:1,g:.921569,b:.803922},blue:{r:0,g:0,b:1},blueviolet:{r:.541176,g:.168627,b:.886275},brown:{r:.647059,g:.164706,b:.164706},burlywood:{r:.870588,g:.721569,b:.529412},cadetblue:{r:.372549,g:.619608,b:.627451},chartreuse:{r:.498039,g:1,b:0},chocolate:{r:.823529,g:.411765,b:.117647},coral:{r:1,g:.498039,b:.313725},cornflowerblue:{r:.392157,g:.584314,b:.929412},cornsilk:{r:1,g:.972549,b:.862745},crimson:{r:.862745,g:.078431,b:.235294},cyan:{r:0,g:1,b:1},darkblue:{r:0,g:0,b:.545098},darkcyan:{r:0,g:.545098,b:.545098},darkgoldenrod:{r:.721569,g:.52549,b:.043137},darkgray:{r:.662745,g:.662745,b:.662745},darkgreen:{r:0,g:.392157,b:0},darkgrey:{r:.662745,g:.662745,b:.662745},darkkhaki:{r:.741176,g:.717647,b:.419608},darkmagenta:{r:.545098,g:0,b:.545098},darkolivegreen:{r:.333333,g:.419608,b:.184314},darkorange:{r:1,g:.54902,b:0},darkorchid:{r:.6,g:.196078,b:.8},darkred:{r:.545098,g:0,b:0},darksalmon:{r:.913725,g:.588235,b:.478431},darkseagreen:{r:.560784,g:.737255,b:.560784},darkslateblue:{r:.282353,g:.239216,b:.545098},darkslategray:{r:.184314,g:.309804,b:.309804},darkslategrey:{r:.184314,g:.309804,b:.309804},darkturquoise:{r:0,g:.807843,b:.819608},darkviolet:{r:.580392,g:0,b:.827451},deeppink:{r:1,g:.078431,b:.576471},deepskyblue:{r:0,g:.74902,b:1},dimgray:{r:.411765,g:.411765,b:.411765},dimgrey:{r:.411765,g:.411765,b:.411765},dodgerblue:{r:.117647,g:.564706,b:1},firebrick:{r:.698039,g:.133333,b:.133333},floralwhite:{r:1,g:.980392,b:.941176},forestgreen:{r:.133333,g:.545098,b:.133333},fuchsia:{r:1,g:0,b:1},gainsboro:{r:.862745,g:.862745,b:.862745},ghostwhite:{r:.972549,g:.972549,b:1},gold:{r:1,g:.843137,b:0},goldenrod:{r:.854902,g:.647059,b:.12549},gray:{r:.501961,g:.501961,b:.501961},green:{r:0,g:.501961,b:0},greenyellow:{r:.678431,g:1,b:.184314},grey:{r:.501961,g:.501961,b:.501961},honeydew:{r:.941176,g:1,b:.941176},hotpink:{r:1,g:.411765,b:.705882},indianred:{r:.803922,g:.360784,b:.360784},indigo:{r:.294118,g:0,b:.509804},ivory:{r:1,g:1,b:.941176},khaki:{r:.941176,g:.901961,b:.54902},lavender:{r:.901961,g:.901961,b:.980392},lavenderblush:{r:1,g:.941176,b:.960784},lawngreen:{r:.486275,g:.988235,b:0},lemonchiffon:{r:1,g:.980392,b:.803922},lightblue:{r:.678431,g:.847059,b:.901961},lightcoral:{r:.941176,g:.501961,b:.501961},lightcyan:{r:.878431,g:1,b:1},lightgoldenrodyellow:{r:.980392,g:.980392,b:.823529},lightgray:{r:.827451,g:.827451,b:.827451},lightgreen:{r:.564706,g:.933333,b:.564706},lightgrey:{r:.827451,g:.827451,b:.827451},lightpink:{r:1,g:.713725,b:.756863},lightsalmon:{r:1,g:.627451,b:.478431},lightseagreen:{r:.12549,g:.698039,b:.666667},lightskyblue:{r:.529412,g:.807843,b:.980392},lightslategray:{r:.466667,g:.533333,b:.6},lightslategrey:{r:.466667,g:.533333,b:.6},lightsteelblue:{r:.690196,g:.768627,b:.870588},lightyellow:{r:1,g:1,b:.878431},lime:{r:0,g:1,b:0},limegreen:{r:.196078,g:.803922,b:.196078},linen:{r:.980392,g:.941176,b:.901961},magenta:{r:1,g:0,b:1},maroon:{r:.501961,g:0,b:0},mediumaquamarine:{r:.4,g:.803922,b:.666667},mediumblue:{r:0,g:0,b:.803922},mediumorchid:{r:.729412,g:.333333,b:.827451},mediumpurple:{r:.576471,g:.439216,b:.858824},mediumseagreen:{r:.235294,g:.701961,b:.443137},mediumslateblue:{r:.482353,g:.407843,b:.933333},mediumspringgreen:{r:0,g:.980392,b:.603922},mediumturquoise:{r:.282353,g:.819608,b:.8},mediumvioletred:{r:.780392,g:.082353,b:.521569},midnightblue:{r:.098039,g:.098039,b:.439216},mintcream:{r:.960784,g:1,b:.980392},mistyrose:{r:1,g:.894118,b:.882353},moccasin:{r:1,g:.894118,b:.709804},navajowhite:{r:1,g:.870588,b:.678431},navy:{r:0,g:0,b:.501961},oldlace:{r:.992157,g:.960784,b:.901961},olive:{r:.501961,g:.501961,b:0},olivedrab:{r:.419608,g:.556863,b:.137255},orange:{r:1,g:.647059,b:0},orangered:{r:1,g:.270588,b:0},orchid:{r:.854902,g:.439216,b:.839216},palegoldenrod:{r:.933333,g:.909804,b:.666667},palegreen:{r:.596078,g:.984314,b:.596078},paleturquoise:{r:.686275,g:.933333,b:.933333},palevioletred:{r:.858824,g:.439216,b:.576471},papayawhip:{r:1,g:.937255,b:.835294},peachpuff:{r:1,g:.854902,b:.72549},peru:{r:.803922,g:.521569,b:.247059},pink:{r:1,g:.752941,b:.796078},plum:{r:.866667,g:.627451,b:.866667},powderblue:{r:.690196,g:.878431,b:.901961},purple:{r:.501961,g:0,b:.501961},red:{r:1,g:0,b:0},rosybrown:{r:.737255,g:.560784,b:.560784},royalblue:{r:.254902,g:.411765,b:.882353},saddlebrown:{r:.545098,g:.270588,b:.07451},salmon:{r:.980392,g:.501961,b:.447059},sandybrown:{r:.956863,g:.643137,b:.376471},seagreen:{r:.180392,g:.545098,b:.341176},seashell:{r:1,g:.960784,b:.933333},sienna:{r:.627451,g:.321569,b:.176471},silver:{r:.752941,g:.752941,b:.752941},skyblue:{r:.529412,g:.807843,b:.921569},slateblue:{r:.415686,g:.352941,b:.803922},slategray:{r:.439216,g:.501961,b:.564706},slategrey:{r:.439216,g:.501961,b:.564706},snow:{r:1,g:.980392,b:.980392},springgreen:{r:0,g:1,b:.498039},steelblue:{r:.27451,g:.509804,b:.705882},tan:{r:.823529,g:.705882,b:.54902},teal:{r:0,g:.501961,b:.501961},thistle:{r:.847059,g:.74902,b:.847059},tomato:{r:1,g:.388235,b:.278431},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:.25098,g:.878431,b:.815686},violet:{r:.933333,g:.509804,b:.933333},wheat:{r:.960784,g:.870588,b:.701961},white:{r:1,g:1,b:1},whitesmoke:{r:.960784,g:.960784,b:.960784},yellow:{r:1,g:1,b:0},yellowgreen:{r:.603922,g:.803922,b:.196078}},qo=/^rgb\(\s*((?:(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*){2}(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*)\)$/i,Uo=/^rgba\(\s*((?:(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*){3}(?:0|1|0?\.\d*)\s*)\)$/i,jo=/^#((?:[0-9a-f]{6}|[0-9a-f]{3}))$/i,Wo=/^#((?:[0-9a-f]{8}|[0-9a-f]{4}))$/i
|
|
1102
1102
|
function Go(e){return function(e){return Wo.test(e)}(e)}function Zo(e){const t=jo.exec(e)
|
|
1103
1103
|
if(null===t)return null
|
|
1104
1104
|
let n=t[1]
|
|
1105
1105
|
if(3===n.length){const e=n.charAt(0),t=n.charAt(1),i=n.charAt(2)
|
|
1106
1106
|
n=e.concat(e,t,t,i,i)}const i=parseInt(n,16)
|
|
1107
|
-
return isNaN(i)?null:new
|
|
1107
|
+
return isNaN(i)?null:new Ho(Lo((16711680&i)>>>16,0,255),Lo((65280&i)>>>8,0,255),Lo(255&i,0,255),1)}function Ko(e){const t=e.toLowerCase()
|
|
1108
1108
|
return function(e){return jo.test(e)}(t)?Zo(t):Go(t)?function(e){const t=Wo.exec(e)
|
|
1109
1109
|
if(null===t)return null
|
|
1110
1110
|
let n=t[1]
|
|
1111
1111
|
if(4===n.length){const e=n.charAt(0),t=n.charAt(1),i=n.charAt(2),o=n.charAt(3)
|
|
1112
1112
|
n=e.concat(e,t,t,i,i,o,o)}const i=parseInt(n,16)
|
|
1113
|
-
return isNaN(i)?null:new
|
|
1113
|
+
return isNaN(i)?null:new Ho(Lo((16711680&i)>>>16,0,255),Lo((65280&i)>>>8,0,255),Lo(255&i,0,255),Lo((4278190080&i)>>>24,0,255))}(t):function(e){return qo.test(e)}(t)?function(e){const t=qo.exec(e)
|
|
1114
1114
|
if(null===t)return null
|
|
1115
1115
|
const n=t[1].split(",")
|
|
1116
|
-
return new
|
|
1116
|
+
return new Ho(Lo(Number(n[0]),0,255),Lo(Number(n[1]),0,255),Lo(Number(n[2]),0,255),1)}(t):function(e){return Uo.test(e)}(t)?function(e){const t=Uo.exec(e)
|
|
1117
1117
|
if(null===t)return null
|
|
1118
1118
|
const n=t[1].split(",")
|
|
1119
|
-
return 4===n.length?new
|
|
1120
|
-
return t?new
|
|
1119
|
+
return 4===n.length?new Ho(Lo(Number(n[0]),0,255),Lo(Number(n[1]),0,255),Lo(Number(n[2]),0,255),Number(n[3])):null}(t):function(e){return Bo.hasOwnProperty(e)}(t)?function(e){const t=Bo[e.toLowerCase()]
|
|
1120
|
+
return t?new Ho(t.r,t.g,t.b,t.hasOwnProperty("a")?t.a:void 0):null}(t):null}const Xo="#a46eff",Yo="#804ad9",Jo="#ff8126",Qo="#009921",es="#00c12b",ts="#c4000c",ns="#818386",is="#f1f1f2",ss="#f5f5f5",rs="#ffffff",as="#363738",ls="#505153",cs="#000000",ds="#161617",hs="#074023",us="#009b65",ps="#d63434",fs="#ff4b00",ms="#008557",gs="#00734b",vs="#32eb96",bs="#e54c8a",ys="#8e78b7",ws="Source Sans Pro",xs="Source Sans Pro",Cs="400",ks="14px",Ss="14px",$s="18px",Ms="18px",Es="14px",Is="0.25s"
|
|
1121
1121
|
function _s(e,t){const{r:n,g:i,b:o}=Zo(e)
|
|
1122
|
-
return`rgba(${255*n}, ${255*i}, ${255*o}, ${t})`}const Ts=_s(cs,.3),As=_s(cs,.6),Ds=_s(cs,.6),Os=Is,Rs={light:"light",dark:"dark",color:"color"},Fs="action-rgb-partial-color",Ns="application-background-color",Ps="divider-background-color",Ls="header-background-color",zs="section-background-color",
|
|
1122
|
+
return`rgba(${255*n}, ${255*i}, ${255*o}, ${t})`}const Ts=_s(cs,.3),As=_s(cs,.6),Ds=_s(cs,.6),Os=Is,Rs={light:"light",dark:"dark",color:"color"},Fs="action-rgb-partial-color",Ns="application-background-color",Ps="divider-background-color",Ls="header-background-color",zs="section-background-color",Vs="button-fill-primary-color",Hs="button-primary-font-color",Bs="button-fill-accent-color",qs="button-accent-block-font-color",Us="button-accent-outline-font-color",js="button-border-accent-outline-color",Ws="fill-selected-color",Gs="fill-selected-rgb-partial-color",Zs="fill-hover-selected-color",Ks="fill-hover-color",Xs="fill-hover-rgb-partial-color",Ys="fill-down-color",Js="border-color",Qs="border-rgb-partial-color",er="fail-color",tr="warning-color",nr="pass-color",ir="information-color",or="border-hover-color",sr="icon-color",rr="modal-backdrop-color",ar="popup-border-color",lr="card-border-color",cr="tag-fill-color",dr="control-height",hr="control-slim-height",ur="small-padding",pr="medium-padding",fr="standard-padding",mr="large-padding",gr="label-height",vr="border-width",br="icon-size",yr="group-header-text-transform",wr="drawer-width",xr="dialog-small-width",Cr="dialog-small-height",kr="dialog-small-max-height",Sr="dialog-large-width",$r="dialog-large-height",Mr="dialog-large-max-height",Er="menu-min-width",Ir="banner-gap-size",_r="spinner-small-height",Tr="spinner-medium-height",Ar="spinner-large-height",Dr="small-delay",Or="medium-delay",Rr="large-delay",Fr="headline-plus-1-font",Nr="headline-font",Pr="table-header-font",Lr="title-plus-2-font",zr="title-plus-1-font",Vr="title-font",Hr="subtitle-plus-1-font",Br="subtitle-font",qr="link-font",Ur="link-active-font",jr="link-prominent-font",Wr="link-active-prominent-font",Gr="placeholder-font",Zr="body-font",Kr="body-emphasized-font",Xr="body-plus-1-font",Yr="body-plus-1-emphasized-font",Jr="group-header-font",Qr="control-label-font",ea="button-label-font",ta="tooltip-caption-font",na="tooltip-background-color",ia="error-text-font",oa="table-row-border-color",sa="elevation-1-box-shadow",ra="elevation-2-box-shadow",aa="elevation-3-box-shadow",la="graph-gridline-color",ca="graph-trace-1-color",da="graph-trace-2-color",ha="graph-trace-3-color",ua="graph-trace-4-color",pa="graph-trace-5-color",fa="graph-trace-6-color",ma="graph-trace-7-color",ga="graph-trace-8-color",va="mention-font",ba=e=>`ni-nimble-${e}`
|
|
1123
1123
|
const ya="animationend",wa="change",xa="ArrowDown",Ca="ArrowLeft",ka="ArrowRight",Sa="ArrowUp",$a="End",Ma="Enter",Ea="Escape",Ia="Home",_a="PageDown",Ta="PageUp",Aa="Shift",Da=" ",Oa="Tab"
|
|
1124
1124
|
var Ra
|
|
1125
1125
|
!function(e){e.ltr="ltr",e.rtl="rtl"}(Ra||(Ra={}))
|
|
@@ -1129,17 +1129,17 @@ function Na(e=""){return`${e}${Fa++}`}const Pa=G`<slot></slot>`,La=xe`
|
|
|
1129
1129
|
`
|
|
1130
1130
|
class za{constructor(){this.lang=document.documentElement.lang
|
|
1131
1131
|
new MutationObserver((e=>{for(const t of e)"attributes"===t.type&&"lang"===t.attributeName&&(this.lang=t.target.lang)})).observe(document.documentElement,{attributeFilter:["lang"]})}}e([g],za.prototype,"lang",void 0)
|
|
1132
|
-
const
|
|
1133
|
-
function
|
|
1134
|
-
class ja extends
|
|
1135
|
-
|
|
1132
|
+
const Va=new za
|
|
1133
|
+
function Ha(e){try{return new Intl.Locale(e),!0}catch(e){return!1}}const Ba=pi.create({name:"lang",cssCustomPropertyName:null}).withDefault((()=>Ha(Va.lang)?Va.lang:"en-US")),qa=pi.create({name:"direction",cssCustomPropertyName:null}).withDefault(Ra.ltr),Ua=pi.create({name:"theme",cssCustomPropertyName:null}).withDefault(Rs.light)
|
|
1134
|
+
class ja extends Vt{constructor(){super(...arguments),this.theme=Rs.light,this.langIsInvalid=!1}get validity(){return{invalidLang:this.langIsInvalid}}checkValidity(){return!this.langIsInvalid}langChanged(e,t){if(null==t)return Ba.deleteValueFor(this),void(this.langIsInvalid=!1)
|
|
1135
|
+
Ha(t)?(Ba.setValueFor(this,t),this.langIsInvalid=!1):(Ba.deleteValueFor(this),this.langIsInvalid=!0)}directionChanged(e,t){null!=t?qa.setValueFor(this,t):qa.deleteValueFor(this)}themeChanged(e,t){null!=t?Ua.setValueFor(this,t):Ua.deleteValueFor(this)}}e([le()],ja.prototype,"lang",void 0),e([le()],ja.prototype,"direction",void 0),e([le()],ja.prototype,"theme",void 0)
|
|
1136
1136
|
const Wa=ja.compose({baseName:"theme-provider",styles:La,template:Pa})
|
|
1137
1137
|
yi.getOrCreate().withPrefix("nimble").register(Wa())
|
|
1138
|
-
const Ga="nimble-theme-provider",Za=pi.create(ba(Fs)).withDefault((e=>
|
|
1138
|
+
const Ga="nimble-theme-provider",Za=pi.create(ba(Fs)).withDefault((e=>Hd(qd(e,ds,is,rs)))),Ka=pi.create(ba(Ns)).withDefault((e=>qd(e,rs,as,hs)))
|
|
1139
1139
|
pi.create(ba(Ls)).withDefault((e=>qd(e,ss,"#252526",hs))),pi.create(ba(zs)).withDefault((e=>qd(e,is,ls,hs))),pi.create(ba(Ps)).withDefault((e=>qd(e,is,ls,hs)))
|
|
1140
|
-
const Xa=pi.create(ba(Ws)).withDefault((e=>_s(Gd(e),.2))),Ya=pi.create(ba(Gs)).withDefault((e=>
|
|
1141
|
-
pi.create(ba(Xs)).withDefault((e=>
|
|
1142
|
-
const el=pi.create(ba(Js)).withDefault((e=>jd(e))),tl=pi.create(ba(Qs)).withDefault((e=>
|
|
1140
|
+
const Xa=pi.create(ba(Ws)).withDefault((e=>_s(Gd(e),.2))),Ya=pi.create(ba(Gs)).withDefault((e=>Hd(Gd(e)))),Ja=pi.create(ba(Zs)).withDefault((e=>_s(Gd(e),.15))),Qa=pi.create(ba(Ks)).withDefault((e=>_s(Zd(e),.1)))
|
|
1141
|
+
pi.create(ba(Xs)).withDefault((e=>Hd(Zd(e)))),pi.create(ba(Ys)).withDefault((e=>_s(function(e){return qd(e,ds,is,rs)}(e),.15)))
|
|
1142
|
+
const el=pi.create(ba(Js)).withDefault((e=>jd(e))),tl=pi.create(ba(Qs)).withDefault((e=>Hd(jd(e)))),nl=pi.create(ba(er)).withDefault((e=>Ud(e))),il=pi.create(ba(tr)).withDefault((e=>function(e){return qd(e,fs,Jo,rs)}(e))),ol=pi.create(ba(nr)).withDefault((e=>function(e){return qd(e,Qo,es,rs)}(e))),sl=pi.create(ba(ir)).withDefault((e=>function(e){return qd(e,Yo,Xo,rs)}(e))),rl=pi.create(ba(or)).withDefault((e=>qd(e,us,vs,rs))),al=pi.create(ba(sr)).withDefault((e=>qd(e,ds,is,rs)))
|
|
1143
1143
|
pi.create(ba(rr)).withDefault((e=>function(e){switch(Ua.getValueFor(e)){case Rs.light:return Ts
|
|
1144
1144
|
case Rs.dark:return As
|
|
1145
1145
|
case Rs.color:return Ds
|
|
@@ -1148,7 +1148,7 @@ const ll=pi.create(ba(ar)).withDefault((e=>_s(qd(e,ds,is,rs),.3))),cl=pi.create(
|
|
|
1148
1148
|
pi.create(ba(la)).withDefault((e=>_s(qd(e,ds,is,rs),.2))),pi.create(ba(ca)).withDefault((e=>qd(e,"#312e7f","#3cb4e7",rs))),pi.create(ba(da)).withDefault((e=>qd(e,"#cd1722","#ef463f",_s(rs,.7)))),pi.create(ba(ha)).withDefault((e=>qd(e,"#499146","#76bc43",_s(rs,.4)))),pi.create(ba(ua)).withDefault((e=>qd(e,"#8c459a","#a5d8c8",_s(rs,.25)))),pi.create(ba(pa)).withDefault((e=>qd(e,"#00685f","#00aba5",_s(rs,.55)))),pi.create(ba(fa)).withDefault((e=>qd(e,bs,bs,_s(rs,.85)))),pi.create(ba(ma)).withDefault((e=>qd(e,"#371615","#ffe76b",_s(rs,.325)))),pi.create(ba(ga)).withDefault((e=>qd(e,ys,ys,_s(rs,.625)))),pi.create(ba(na)).withDefault((e=>qd(e,is,as,hs)))
|
|
1149
1149
|
const dl=pi.create(ba(oa)).withDefault((e=>qd(e,is,ls,hs)))
|
|
1150
1150
|
pi.create(ba(cr)).withDefault((e=>_s(qd(e,ds,is,rs),.1)))
|
|
1151
|
-
const hl=pi.create(ba(
|
|
1151
|
+
const hl=pi.create(ba(Vs)).withDefault((e=>qd(e,_s(ds,.75),_s(is,.3),_s(rs,.3)))),ul=pi.create(ba(Hs)).withDefault((e=>qd(e,is,is,rs))),pl=pi.create(ba(Bs)).withDefault((e=>qd(e,ms,us,_s(rs,.1)))),fl=pi.create(ba(qs)).withDefault((e=>qd(e,rs,is,rs))),ml=pi.create(ba(Us)).withDefault((e=>qd(e,gs,vs,rs))),gl=pi.create(ba(js)).withDefault((e=>qd(e,us,vs,_s(rs,.3)))),vl=pi.create(ba(dr)).withDefault("32px"),bl=pi.create(ba(hr)).withDefault("24px"),yl=pi.create(ba(ur)).withDefault("4px"),wl=pi.create(ba(pr)).withDefault("8px"),xl=pi.create(ba(fr)).withDefault("16px"),Cl=pi.create(ba(mr)).withDefault("24px")
|
|
1152
1152
|
pi.create(ba(gr)).withDefault("16px")
|
|
1153
1153
|
const kl=pi.create(ba(vr)).withDefault("1px"),Sl=pi.create(ba(br)).withDefault("16px"),$l=pi.create(ba(wr)).withDefault("784px"),Ml=pi.create(ba(xr)).withDefault("400px"),El=pi.create(ba(Cr)).withDefault("fit-content"),Il=pi.create(ba(kr)).withDefault("600px")
|
|
1154
1154
|
pi.create(ba(Sr)).withDefault("1024px"),pi.create(ba($r)).withDefault("680px"),pi.create(ba(Mr)).withDefault("680px")
|
|
@@ -1159,13 +1159,13 @@ pi.create(ba(Tr)).withDefault("32px"),pi.create(ba(Ar)).withDefault("64px"),pi.c
|
|
|
1159
1159
|
const Al=pi.create(ba(ra)).withDefault((e=>`0px 2px 4px ${_s(qd(e,cs,cs,cs),.16)}`)),Dl=pi.create(ba(aa)).withDefault((e=>`0px 4px 8px ${_s(qd(e,cs,cs,cs),.3)}`))
|
|
1160
1160
|
Bd(Nr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Noto Serif","400","25px","32px"),Bd(Fr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Noto Serif","400","29.100000381469727px","40px"),Bd(Lr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Source Sans Pro","400","25px","32px")
|
|
1161
1161
|
const[Ol,Rl,Fl,Nl,Pl,Ll,zl]=Bd(zr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Source Sans Pro","400","22px","28px")
|
|
1162
|
-
Bd(
|
|
1163
|
-
const[Hl,
|
|
1162
|
+
Bd(Vr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Source Sans Pro","400","19px","24px")
|
|
1163
|
+
const[Vl,Hl,Bl,ql,Ul,jl,Wl]=Bd(Hr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Source Sans Pro","300","16px","20px"),[Gl,Zl,Kl,Xl,Yl,Jl,Ql]=Bd(Br,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Source Sans Pro","300","12.800000190734863px","16px"),[ec,tc,nc,ic,oc,sc,rc]=Bd(qr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),xs,Cs,Ss,Ms),[ac,lc,cc,dc,hc,uc,pc]=Bd(Ur,(e=>qd(e,us,us,_s(rs,.75))),(e=>_s(Wd(e),.3)),xs,Cs,Ss,Ms),[fc,mc,gc,vc,bc,yc,wc]=Bd(jr,(e=>qd(e,gs,vs,rs)),(e=>_s(Wd(e),.3)),xs,Cs,Ss,Ms),[xc,Cc,kc,Sc,$c,Mc,Ec]=Bd(Wr,(e=>qd(e,us,us,_s(rs,.75))),(e=>_s(Wd(e),.3)),xs,Cs,Ss,Ms),[Ic,_c,Tc,Ac,Dc,Oc,Rc]=Bd(Gr,(e=>_s(Wd(e),.6)),(e=>_s(Wd(e),.3)),"Source Sans Pro","400","14px","18px"),[Fc,Nc,Pc,Lc,zc,Vc,Hc]=Bd(Zr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),ws,"400",ks,$s),[Bc,qc,Uc,jc,Wc,Gc,Zc]=Bd(Kr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Source Sans Pro","600","14px","18px")
|
|
1164
1164
|
Bd(Xr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Source Sans Pro","400","16px","16px"),Bd(Yr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Source Sans Pro","600","16px","16px")
|
|
1165
1165
|
const[Kc,Xc,Yc,Jc,Qc,ed,td]=Bd(Jr,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Source Sans Pro","600","11px","16px"),[nd,id,od,sd,rd,ad,ld]=Bd(Qr,(e=>_s(Wd(e),.6)),(e=>_s(Wd(e),.3)),"Source Sans Pro","600","11px","16px"),[cd,dd,hd,ud,pd,fd,md]=Bd(ea,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Source Sans Pro","600","14px","16px"),[gd,vd,bd,yd,wd,xd,Cd]=Bd(ta,(e=>Wd(e)),(e=>_s(Wd(e),.3)),"Source Sans Pro","400","11px",Es),[kd,Sd,$d,Md,Ed,Id,_d]=Bd(ia,(e=>Ud(e)),(e=>_s(Ud(e),.3)),"Source Sans Pro","400","11px",Es),[Td,Ad,Dd,Od,Rd,Fd,Nd]=Bd(Pr,(e=>_s(Wd(e),.6)),(e=>_s(Wd(e),.3)),"Source Sans Pro","600","12.800000190734863px",Es)
|
|
1166
1166
|
Bd(va,(e=>qd(e,ms,vs,vs)),(e=>_s(Wd(e),.3)),ws,"600",ks,$s)
|
|
1167
|
-
const Pd=pi.create(ba(yr)).withDefault("uppercase"),Ld=pi.create(ba(Dr)).withDefault("0.075s"),zd=pi.create(ba(Or)).withDefault("0.15s"),
|
|
1168
|
-
function
|
|
1167
|
+
const Pd=pi.create(ba(yr)).withDefault("uppercase"),Ld=pi.create(ba(Dr)).withDefault("0.075s"),zd=pi.create(ba(Or)).withDefault("0.15s"),Vd=pi.create(ba(Rr)).withDefault(Is)
|
|
1168
|
+
function Hd(e){const{r:t,g:n,b:i}=Zo(e)
|
|
1169
1169
|
return`${255*t}, ${255*n}, ${255*i}`}function Bd(e,t,n,i,o,s,r){if(""===e||""===i||""===o||""===s||""===r)throw new Error("createFontTokens parameter unexpectedly set to empty string")
|
|
1170
1170
|
const a=`${i}, ${i} Fallback`,l=pi.create(ba(e)).withDefault(`${o} ${s}/${r} ${a}`),c=e.split("-font"),d=c[0]
|
|
1171
1171
|
if(void 0===d||""!==c[1])throw new Error(`fontTokenName value of ${e} did not have the expected '-font' suffix`)
|
|
@@ -1925,7 +1925,7 @@ const vh=xe`
|
|
|
1925
1925
|
align-self: end;
|
|
1926
1926
|
}
|
|
1927
1927
|
`
|
|
1928
|
-
class bh extends
|
|
1928
|
+
class bh extends Vt{constructor(){super(...arguments),this.tabIds=[],this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.setTabs=()=>{let e
|
|
1929
1929
|
this.activetab=void 0,this.tabs.forEach(((t,n)=>{const i=this.tabIds[n],o=this.activeid===i
|
|
1930
1930
|
!e&&this.isFocusableElement(t)&&(e=t)
|
|
1931
1931
|
const s=this.activeid===i&&this.isFocusableElement(t)
|
|
@@ -2033,7 +2033,7 @@ const wh=ke`
|
|
|
2033
2033
|
width: 100%;
|
|
2034
2034
|
padding-left: 10px;
|
|
2035
2035
|
font: inherit;
|
|
2036
|
-
font-size: ${
|
|
2036
|
+
font-size: ${Vc};
|
|
2037
2037
|
${wh}
|
|
2038
2038
|
position: relative;
|
|
2039
2039
|
margin-inline-start: ${Sl};
|
|
@@ -2125,7 +2125,7 @@ const Sh="1",$h="1000",Mh=xe`
|
|
|
2125
2125
|
`
|
|
2126
2126
|
const Eh=class extends bn{}.compose({baseName:"anchored-region",baseClass:bn,template:(e,t)=>G`
|
|
2127
2127
|
<template class="${e=>e.initialLayoutComplete?"loaded":""}">
|
|
2128
|
-
${
|
|
2128
|
+
${He((e=>e.initialLayoutComplete),G`
|
|
2129
2129
|
<slot></slot>
|
|
2130
2130
|
`)}
|
|
2131
2131
|
</template>
|
|
@@ -2299,7 +2299,7 @@ const Fh=Rh.compose({baseName:"button",baseClass:_n,template:(e,t)=>G`
|
|
|
2299
2299
|
</button>
|
|
2300
2300
|
`,styles:Oh,shadowOptions:{delegatesFocus:!0}})
|
|
2301
2301
|
yi.getOrCreate().withPrefix("nimble").register(Fh())
|
|
2302
|
-
const Nh="nimble-button",Ph={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 7H9V3H7v4H3v2h4v4h2V9h4z" class="cls-1"/></svg>'},Lh={name:"arrow_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M9 2v6.207l2.5-1.188L8.021 14 4.5 7.019 7 8.207V2z"/></svg>'},zh={name:"arrow_down_left_and_arrow_up_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m2.007 13.171 2.247-2.276-2.284-.447 5.246-1.732-1.753 5.217-.456-2.284-2.26 2.291zM13.194 2l-2.261 2.29-.456-2.283-1.753 5.217 5.246-1.732-2.284-.447 2.247-2.276z" class="cls-1"/></svg>'},Hh={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 d="m13.171 13.933-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" class="cls-1"/></svg>'},Vh={name:"arrow_expander_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m3.5 4.737 1.11-.732 3.357 5.472L11.397 4l1.103.743L7.955 12z" class="cls-1"/></svg>'},Bh={name:"arrow_expander_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m11.263 3.5.732 1.11-5.472 3.357L12 11.397l-.743 1.103L4 7.955z" class="cls-1"/></svg>'},qh={name:"arrow_expander_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m4.737 12.5-.732-1.11 5.472-3.357L4 4.603 4.743 3.5 12 8.045z" class="cls-1"/></svg>'},Uh={name:"arrow_expander_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.5 11.263-1.11.732-3.357-5.472L4.603 12 3.5 11.257 8.045 4z" class="cls-1"/></svg>'},jh={name:"arrow_in_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.5 5.25a3.24 3.24 0 0 0-2.738 1.513L11.236 8.5l-3.474 1.737A3.24 3.24 0 0 0 10.5 11.75a3.25 3.25 0 0 0 0-6.5" class="cls-1"/><path d="m4 6 1 2H2v1h3l-1 2 5-2.5z" class="cls-1"/></svg>'},Wh={name:"arrow_left_from_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 14h2V2h-2ZM2 7.982 7.9 5 6.588 7.004 11 7v2H6.613L7.9 11Z" class="cls-1"/></svg>'},Gh={name:"arrow_out_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m9 6 1 2H7v1h3l-1 2 5-2.5z" class="cls-1"/><path d="M6 10V7h2.367A3.24 3.24 0 0 0 5.5 5.25a3.25 3.25 0 0 0 0 6.5c1.25 0 2.324-.714 2.867-1.75z" class="cls-1"/></svg>'},Zh={name:"arrow_partial_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 11.988a3.086 3.086 0 0 0 3.143-3.025 3.08 3.08 0 0 0-3.085-3.02v.088l.826 2.067-5.598-2.796L8.884 2.5l-.742 1.932a4.62 4.62 0 0 1 4.572 4.53A4.63 4.63 0 0 1 8 13.5Z" class="cls-1"/></svg>'},Kh={name:"arrow_right_to_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 14h2V2h-2Zm-6.9-3 1.287-2H2V7l4.412.004L5.1 5 11 7.982Z" class="cls-1"/></svg>'},Xh={name:"arrow_rotate_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.9 2.773v1.715a3.366 3.366 0 0 1 3.3 3.428 3.366 3.366 0 0 1-3.3 3.429 3.36 3.36 0 0 1-3.293-3.366h.095l2.255.901-3.05-6.107L1.85 8.88l2.108-.808A5.04 5.04 0 0 0 8.9 13.059a5.05 5.05 0 0 0 4.95-5.143A5.05 5.05 0 0 0 8.9 2.773" class="cls-1"/></svg>'},Yh={name:"arrow_u_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.857 9.453-2.571-1.68v.908a3 3 0 0 0 3 3 3 3 0 0 0 3-3V3.11H14v5.571a4.714 4.714 0 0 1-4.714 4.715A4.714 4.714 0 0 1 4.57 8.68v-.908L2 9.453l3.403-6.849Z" class="cls-1"/></svg>'},Jh={name:"arrow_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M7 14V7.793L4.5 8.981 7.979 2 11.5 8.981 9 7.793V14z"/></svg>'},Qh={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 d="m4.195 4.977-.451 2.296L2 2l5.256 1.762-2.301.458 6.849 6.803.452-2.296L14 14l-5.256-1.762 2.301-.458z" class="cls-1"/></svg>'},eu={name:"arrow_up_right_and_arrow_down_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m11.023 4.195-2.296-.45L14 2l-1.762 5.256-.458-2.301-6.803 6.85 2.296.45L2 14l1.762-5.256.458 2.301z" class="cls-1"/></svg>'},tu={name:"arrow_up_right_from_square",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.042 2.97-2.063 6.281-.49-2.344-4.117 4.122-1.414-1.414L9.06 5.513 6.736 5.01zM12 9v3H4V4h3V3H3v10h10V9z" class="cls-1"/></svg>'},nu={name:"arrows_maximize_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.26 8.735 14 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.03z" class="cls-1"/></svg>'},iu={name:"arrows_repeat_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.75 11.75 10 14l-6-3 6-3-1.25 2.25ZM8 11h1a4 4 0 0 0 4-4M7.25 5.75 6 8l6-3-6-3 1.25 2.25ZM8 5H7a4 4 0 0 0-4 4" class="cls-1"/></svg>'},ou={name:"at_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M12.139 3.621a5.5 5.5 0 0 1 1.206 1.845q.435 1.074.436 2.407 0 .961-.275 1.954t-.687 1.646H9.343l-.11-.536a4.6 4.6 0 0 1-.756.415q-.364.155-1.051.155-1.12 0-1.813-.924t-.694-2.49q0-.837.234-1.467.234-.628.639-1.095.377-.44.914-.687a2.5 2.5 0 0 1 1.064-.248q.453 0 .804.169.35.168.543.353v-.425h1.594v5.605h1.168q.248-.543.368-1.178.12-.636.12-1.22 0-1.161-.323-2.036-.322-.877-.892-1.453a3.7 3.7 0 0 0-1.366-.879 4.9 4.9 0 0 0-1.697-.289q-.871 0-1.657.343a4.6 4.6 0 0 0-1.383.928q-.61.598-.992 1.497c-.382.899-.381 1.257-.381 1.972q0 1.167.36 2.068.36.9.958 1.497.596.59 1.386.9a4.5 4.5 0 0 0 1.668.309q.583 0 1.328-.106a9 9 0 0 0 1.321-.279v1.333q-.64.144-1.271.22-.633.074-1.381.075a6.1 6.1 0 0 1-2.325-.433 5.4 5.4 0 0 1-1.852-1.23 5.6 5.6 0 0 1-1.212-1.91 6.7 6.7 0 0 1-.436-2.444q0-1.278.453-2.366a5.9 5.9 0 0 1 1.25-1.9A5.7 5.7 0 0 1 5.781 2.46 5.8 5.8 0 0 1 8.079 2q1.209 0 2.257.426a5.3 5.3 0 0 1 1.803 1.195M9.082 9.652V6.19a3 3 0 0 0-.522-.21 2 2 0 0 0-.543-.065q-.66 0-1.017.577c-.357.577-.357.912-.357 1.58q0 1.085.295 1.607.296.522.975.522.357 0 .625-.141.269-.14.544-.408"/></svg>'},su={name:"bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 13v-2h12v2Zm0-4V7h12v2Zm0-4V3h12v2Z" class="cls-1"/></svg>'},ru={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 14a2.05 2.05 0 0 1-2-2h4a2.05 2.05 0 0 1-2 2m-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" class="cls-1"/></svg>'},au={name:"bell_and_comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.836 4.75H9.57a.71.71 0 0 0-.71.71v2.032a.71.71 0 0 0 .71.711h.356L9.57 9.625l2.488-1.422h1.778a.71.71 0 0 0 .71-.71V5.46a.71.71 0 0 0-.71-.711M8.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 0 0-1.71 1.71v2.032a1.71 1.71 0 0 0 .844 1.475ZM6 12h4a2.05 2.05 0 0 1-2 2 2.05 2.05 0 0 1-2-2m7.25-1H9.18l2.868-1.64c.198.527.431.894.702.894.5 0 .5.746.5.746" class="cls-1"/></svg>'},lu={name:"bell_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.042 11h2a1 1 0 0 1-2 0m4.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.497m-3.5-7.5a5.5 5.5 0 1 1-5.5 5.5 5.506 5.506 0 0 1 5.5-5.5m0-1a6.5 6.5 0 1 0 6.5 6.5 6.5 6.5 0 0 0-6.5-6.5" class="cls-1"/></svg>'},cu={name:"bell_solid_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.5 8A6.5 6.5 0 0 0 8 14.5 6.5 6.5 0 0 0 14.5 8 6.5 6.5 0 0 0 8 1.5 6.5 6.5 0 0 0 1.5 8M8 12a1.025 1.025 0 0 1-1-1h2a1.025 1.025 0 0 1-1 1m-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" class="cls-1"/></svg>'},du={name:"block_with_ribbon_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v10h4.762A4.496 4.496 0 0 1 13 5.762V2Zm12 7.5a3.5 3.5 0 1 0-6 2.442V14l2.5-1.667L13 14v-2.058A3.49 3.49 0 0 0 14 9.5M10.5 8A1.5 1.5 0 1 1 9 9.5 1.5 1.5 0 0 1 10.5 8" class="cls-1"/></svg>'},hu={name:"bold_b_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M12.981 10.536q0 .843-.34 1.508c-.34.665-.538.81-.934 1.102a4.3 4.3 0 0 1-1.512.734q-.825.219-2.09.219H3.028V2.466h4.516q1.407 0 2.059.094a4.2 4.2 0 0 1 1.293.414q.664.336.988.902t.324 1.293q0 .844-.445 1.488c-.445.644-.716.765-1.258 1.004v.062q1.14.227 1.809.938c.669.711.667 1.099.667 1.875M9.137 5.755q0-.289-.145-.578t-.512-.43a2.5 2.5 0 0 0-.815-.137 68 68 0 0 0-1.372-.011h-.281V7.06h.469q.71 0 1.211-.023.5-.024.789-.157.406-.18.531-.465t.125-.66m.727 4.734q0-.555-.214-.855c-.214-.3-.387-.351-.73-.449q-.35-.102-.966-.11c-.616-.008-.84-.008-1.287-.008h-.655v2.898h.218q1.263 0 1.809-.008a2.7 2.7 0 0 0 1.006-.203q.468-.196.643-.52a1.53 1.53 0 0 0 .176-.745"/></svg>'},uu={name:"book_magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 10c0-.347.058-.678.142-1H5V8h1.556c.22-.378.498-.714.826-1H5V6h5c.732 0 1.41.212 2 .556V2H3v11h4.382A3.98 3.98 0 0 1 6 10M5 4h5v1H5z" class="cls-1"/><path d="m9.99 7.01-.076.002a3 3 0 1 0 1.799 5.452l1.593 1.53.69-.725-1.58-1.516a2.97 2.97 0 0 0 .57-1.816A3 3 0 0 0 9.99 7.01M10 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2" class="cls-1"/></svg>'},pu={name:"calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM6 9H4V7h2zm3-2H7v2h2zm3 0h-2v2h2zm-6 3H4v2h2zm3 0H7v2h2z" class="cls-1"/></svg>'},fu={name:"calendar_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10z" class="cls-2"/><path d="M5.743 11 4 9.242l.766-.742.97 1.007L8.273 7 9 7.758zM10 8h2v1h-2zM8 10h4v1H8z" class="cls-1"/></svg>'},mu={name:"calendar_day_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM6 9H4V7h2z" class="cls-1"/></svg>'},gu={name:"chart_diagram_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3Z" class="cls-1"/></svg>'},vu={name:"chart_diagram_child_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3Zm-8 2H3v-1h1Zm4 0H7v-1h1Zm4 0h-1v-1h1Z" class="cls-1"/></svg>'},bu={name:"chart_diagram_parent_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3ZM7 4V3h1v1Z" class="cls-1"/></svg>'},yu={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 d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3Zm-6 2H4v-1h1Zm6 0h-1v-1h1Z" class="cls-1"/></svg>'},wu={name:"check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 5.287 6.182 12 3 8.867l1.363-1.343L6.24 9.37 11.693 4Z" class="cls-1"/></svg>'},xu={name:"check_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="12.5" cy="11.5" r="1.5" class="cls-1"/><path d="m14 4.693-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545Z" class="cls-2"/></svg>'},Cu={name:"check_large_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m14 4.693-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545z" class="cls-1"/></svg>'},ku={name:"circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m0 9.429A3.429 3.429 0 1 1 11.429 8 3.43 3.43 0 0 1 8 11.429" class="cls-1"/></svg>'},Su={name:"circle_filled_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="4" class="cls-1"/></svg>'},$u={name:"circle_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 14A6.1 6.1 0 0 1 7 2v2.686a3.475 3.475 0 0 0 0 6.628ZM9 2v2.686a3.475 3.475 0 0 1 0 6.628V14A6.1 6.1 0 0 0 9 2" class="cls-1"/></svg>'},Mu={name:"circle_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m-1.212 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013Z" class="cls-1"/></svg>'},Eu={name:"circle_partial_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 2v2.686a3.475 3.475 0 0 1 0 6.628V14A6.1 6.1 0 0 0 9 2" class="cls-1"/><path d="M7 11.314a3.475 3.475 0 0 1 0-6.628V2a6.1 6.1 0 0 0 0 12Z" class="cls-2"/></svg>'},Iu={name:"circle_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.075 1.714a4.281 4.281 0 0 1 3.573 6.647L5.714 4.427a4.26 4.26 0 0 1 2.36-.713M3.789 8a4.26 4.26 0 0 1 .713-2.36l5.934 5.933A4.281 4.281 0 0 1 3.789 8" class="cls-1"/></svg>'},_u={name:"circle_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.075 1.714a4.26 4.26 0 0 1 2.409.743l-2.37 2.37-2.4-2.4a4.26 4.26 0 0 1 2.36-.713M4.502 5.64l2.4 2.4-2.37 2.37a4.27 4.27 0 0 1-.03-4.77m3.573 6.647a4.26 4.26 0 0 1-2.31-.685l2.349-2.35 2.322 2.322a4.26 4.26 0 0 1-2.361.713m3.573-1.925L9.326 8.039l2.35-2.349a4.25 4.25 0 0 1-.028 4.67" class="cls-1"/></svg>'},Tu={name:"clipboard_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 5H5a2 2 0 0 1 2-2V2a1 1 0 0 1 2 0v1a2 2 0 0 1 2 2m1-2v9H4V3H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1Zm-2 4H5v1h5ZM8 9H5v1h3Z" class="cls-1"/></svg>'},Au={name:"clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.576 4.87 1.555-1.557a1.64 1.64 0 0 1 .84-.256 2 2 0 0 1-.23.791c-.115.163-1.356 1.41-1.571 1.626a1.28 1.28 0 0 1 0 1.085l2.376 2.38a1.6 1.6 0 0 1 .458 1.072 1.62 1.62 0 0 1-1.222-.613c-.456-.456-1.94-1.963-2.207-2.235a1.275 1.275 0 1 1 0-2.293" class="cls-1"/></svg>'},Du={name:"clock_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.108 7.392.955-.957a1 1 0 0 1 .516-.157 1.2 1.2 0 0 1-.14.486c-.072.1-.834.866-.966.999a.79.79 0 0 1 0 .666l1.341 1.344a.98.98 0 0 1 .281.658 1 1 0 0 1-.75-.376c-.28-.28-1.073-1.088-1.237-1.255a.783.783 0 1 1 0-1.408m5.69 2.292L14 7.324l-1.327-.113a4.8 4.8 0 0 0-.402-1.26l1.02-.86-1.527-1.811-1.019.86a5 5 0 0 0-.563-.344 5 5 0 0 0-.612-.265l.114-1.329L7.324 2l-.113 1.329a4.8 4.8 0 0 0-1.26.401l-.86-1.02L3.28 4.237l.858 1.02A4.8 4.8 0 0 0 3.53 6.43l-1.329-.114L2 8.676l1.329.114a4.7 4.7 0 0 0 .401 1.26l-1.02.86 1.526 1.811 1.02-.859a4.7 4.7 0 0 0 1.175.608l-.113 1.33 2.358.2.114-1.328a4.7 4.7 0 0 0 1.26-.4l.86 1.02 1.81-1.527-.858-1.02a4.7 4.7 0 0 0 .608-1.175ZM8 11.45A3.45 3.45 0 1 1 11.45 8 3.45 3.45 0 0 1 8 11.45" class="cls-1"/></svg>'},Ou={name:"clock_exclamation_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.821 5.114h1.357V6H2.82zM2.798 1l.155 3.56h1.094L4.202 1zm7.481 2.575h.001l-.013-.007a5 5 0 0 0-.606-.262 5 5 0 0 0-.523-.163 5 5 0 0 0-.286-.055A4.7 4.7 0 0 0 8 3q-.023.002-.045.005a5 5 0 0 0-.785.079c-.097.016-.194.03-.29.052a5 5 0 0 0-.575.179c-.48.174-.907.438-1.305.74V7H3.109l-.017.092a5 5 0 0 0-.088.87Q3.002 7.98 3 8c0 .293.036.575.088.852q.023.143.055.285.068.273.165.532.11.308.259.595l.007.016h.001c.83 1.608 2.49 2.72 4.426 2.72C10.762 13 13 10.762 13 8c0-1.935-1.112-3.594-2.72-4.425m-.275 7.041c-.38-.38-1.454-1.473-1.675-1.699a1.06 1.06 0 0 1-1.523-.953 1.06 1.06 0 0 1 1.523-.954l1.293-1.296c.117-.117.509-.213.7-.213 0 .128-.085.51-.191.658-.097.136-1.128 1.173-1.308 1.353a1.06 1.06 0 0 1 0 .903l1.816 1.82s.445.466.382.89c-.297 0-.594-.085-1.017-.509" class="cls-1"/></svg>'},Ru={name:"clock_triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 3a4.95 4.95 0 0 0-2.152.505L7.096 6H3.422A4.997 4.997 0 1 0 8 3m2.003 7.616a454 454 0 0 1-1.675-1.7 1.061 1.061 0 1 1 0-1.907l1.294-1.297a1.36 1.36 0 0 1 .699-.212 1.65 1.65 0 0 1-.19.658c-.097.136-1.13 1.173-1.309 1.353a1.06 1.06 0 0 1 0 .903l1.817 1.82a1.33 1.33 0 0 1 .381.891 1.35 1.35 0 0 1-1.017-.51" class="cls-1"/><path d="M5.477 5H1.522L3.5 1.045z" class="cls-2"/></svg>'},Fu={name:"clone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Z" class="cls-1"/></svg>'},Nu={name:"cloud_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.08 11.977a5.1 5.1 0 0 1-1.295-.2C2.754 11.46 1.883 10.2 1.883 9.022a2.963 2.963 0 0 1 2.63-2.937A4.2 4.2 0 0 1 8.432 3.48a4.254 4.254 0 0 1 4.249 4.17 2.25 2.25 0 0 1 1.437 2.09 2.24 2.24 0 0 1-2.238 2.237l-4.947.003c-1.01 0-1.79-.001-1.853-.003m-.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 0 0 0-1.799.9.9 0 0 0-.337.067l-.493.202.159-.508q.134-.425.134-.872a2.914 2.914 0 0 0-2.91-2.911 2.9 2.9 0 0 0-2.87 2.436l-.043.268-.264-.067a1.6 1.6 0 0 0-.403-.051" class="cls-1"/></svg>'},Pu={name:"cloud_upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.476 7.298-1.927 3.848 1.48-.568v3.407h.948v-3.407l1.42.568ZM15 9.005a2.374 2.374 0 0 1-2.371 2.371h-.998l-.5-1h1.498a1.371 1.371 0 1 0-.516-2.64A3.77 3.77 0 1 0 4.797 5.99 2.238 2.238 0 0 0 2 8.148a2.223 2.223 0 0 0 2.057 2.22l1.758.009-.448.894a10.6 10.6 0 0 1-2.31-.121 3.224 3.224 0 0 1 .993-6.225 4.77 4.77 0 0 1 9.236 1.68q0 .06-.002.121A2.375 2.375 0 0 1 15 9.006" class="cls-1"/></svg>'},Lu={name:"cloud_with_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.429 10.1.001-.101A3.998 3.998 0 0 0 4.69 8.59a2.715 2.715 0 0 0-2.557 2.7 2.78 2.78 0 0 0 1.725 2.516 4.9 4.9 0 0 0 1.225.19h.004c.19.006 6.792 0 6.792 0a1.987 1.987 0 0 0 .55-3.897m-.55 3.06-7.183-.008a1.867 1.867 0 0 1 .156-3.728 2 2 0 0 1 .464.06 3.16 3.16 0 1 1 6.13 1.462 1.149 1.149 0 1 1 .433 2.213M4.5 4.5a1 1 0 1 1 1-1 1 1 0 0 1-1 1m5.138.681.496-1.241H7v-.828h3.134l-.496-1.293L13 3.502Z" class="cls-1"/></svg>'},zu={name:"cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.823 2-2.217.914.516 1.25a4.7 4.7 0 0 0-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.8 4.8 0 0 0-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.8 4.8 0 0 0 .945.949l-.518 1.247 2.214.921.519-1.246a5 5 0 0 0 .674.048 5 5 0 0 0 .666-.047L9.176 14l2.218-.914-.515-1.248a4.8 4.8 0 0 0 .95-.945l1.245.518.922-2.214-1.247-.519a4.7 4.7 0 0 0 .002-1.34L14 6.824l-.914-2.218-1.25.515a4.7 4.7 0 0 0-.944-.949l.518-1.246-2.212-.922-.52 1.247a5 5 0 0 0-.676-.049 5 5 0 0 0-.663.047Zm1.175 9a2.999 2.999 0 1 1 2.77-1.847 2.98 2.98 0 0 1-2.77 1.846M8 6.801a1.2 1.2 0 1 0 .46.093A1.2 1.2 0 0 0 8 6.8" class="cls-1"/></svg>'},Hu={name:"cog_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.147 11.648q-.015.01-.032.02a4 4 0 0 1-.46.224l-.012.005q-.05.022-.103.042c-.051.019-.11.036-.162.055-.094.034-.186.068-.285.099-.034.01-.064.024-.1.033q-.03.01-.062.019-.279.078-.58.144l-.133.03q-.324.068-.668.12l-.135.02q-.32.045-.653.079l-.103.012a18 18 0 0 1-.903.06q-.381.016-.759.018a19 19 0 0 1-1.66-.078l-.105-.012a16 16 0 0 1-.65-.08l-.134-.018q-.346-.053-.67-.122l-.132-.029a9 9 0 0 1-.582-.145l-.059-.017q-.052-.016-.1-.034a7 7 0 0 1-.285-.1c-.054-.018-.112-.035-.165-.055l-.101-.041-.01-.005a4 4 0 0 1-.462-.223l-.03-.02a2.3 2.3 0 0 1-.334-.24c-.014-.012-.033-.022-.045-.033v1.013c0 .364.524.749 1.427 1.051q.155.053.326.1.177.051.371.098a14.8 14.8 0 0 0 3.4.362 14.8 14.8 0 0 0 3.403-.362 8 8 0 0 0 .697-.197c.904-.303 1.43-.688 1.43-1.052v-1.013c-.015.012-.034.022-.047.034a2.5 2.5 0 0 1-.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.052q.155.052.328.1.175.05.37.097a14.8 14.8 0 0 0 3.399.362 14.8 14.8 0 0 0 3.401-.362 8 8 0 0 0 .7-.197c.902-.302 1.428-.687 1.428-1.052M3.931 7.697 2.802 7.6l.171-1.979 1.129.095a4 4 0 0 1 .516-.985l-.729-.856 1.537-1.28.73.855a4 4 0 0 1 1.071-.336L7.323 2l2.004.17-.097 1.114a4 4 0 0 1 .52.223 4 4 0 0 1 .478.288l.866-.721 1.296 1.52-.866.72a4 4 0 0 1 .341 1.058l1.127.095-.133 1.539a10.2 10.2 0 0 0-2.482-.618c.007-.048.021-.094.026-.143a2.48 2.48 0 0 0-1.346-2.416 2.54 2.54 0 0 0-2.938.45 2.41 2.41 0 0 0-.698 2.14 12 12 0 0 0-1.482.311zm4.067-.468c-.331 0-.697.012-1.077.035a1 1 0 0 1-.026-.314 1 1 0 0 1 .292-.618 1.01 1.01 0 0 1 1.174-.18.99.99 0 0 1 .539.967 1 1 0 0 1-.036.132 18 18 0 0 0-.866-.022" class="cls-1"/></svg>'},Vu={name:"cog_database_inset_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.751 7.338 14 6.824l-.914-2.218-1.25.515a4.7 4.7 0 0 0-.944-.949l.518-1.246-2.212-.922-.52 1.247a5 5 0 0 0-.676-.049 5 5 0 0 0-.663.047L6.823 2l-2.217.914.516 1.25a4.7 4.7 0 0 0-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.8 4.8 0 0 0-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.8 4.8 0 0 0 .945.949l-.518 1.247 2.214.921.519-1.246a5 5 0 0 0 .674.048 5 5 0 0 0 .666-.047L9.176 14l2.218-.914-.515-1.248a4.8 4.8 0 0 0 .95-.945l1.245.518.922-2.214-1.247-.519a4.7 4.7 0 0 0 .002-1.34m-1.06 2.418c0 .244-.35.5-.954.703a5 5 0 0 1-.466.131 10 10 0 0 1-2.273.243 10 10 0 0 1-2.271-.243 6 6 0 0 1-.466-.131c-.603-.202-.953-.46-.953-.703V9.08q.013.011.03.023a1.6 1.6 0 0 0 .223.16l.02.013a3 3 0 0 0 .309.15l.006.002.068.028q.054.02.11.037.093.035.19.066.033.012.067.023l.04.011q.185.054.389.098l.087.02q.217.045.448.08l.09.012q.212.03.434.054l.07.008q.244.022.491.035l.112.005a12 12 0 0 0 1.013 0l.11-.005q.248-.012.493-.035l.069-.008q.222-.022.436-.054l.09-.012q.23-.035.447-.08l.088-.02q.202-.045.388-.097l.042-.012.066-.023q.098-.03.19-.066.056-.018.109-.037l.069-.028.007-.003a3 3 0 0 0 .308-.149l.022-.014a2 2 0 0 0 .222-.159l.03-.023Zm0-1.76c0 .243-.35.5-.954.703a5 5 0 0 1-.466.13 10 10 0 0 1-2.273.243 10 10 0 0 1-2.271-.242 5 5 0 0 1-.466-.132c-.603-.202-.953-.459-.953-.703V7.32q.013.011.03.022a1.6 1.6 0 0 0 .223.16l.02.013a3 3 0 0 0 .309.15l.006.003q.034.014.068.027l.11.038q.093.034.19.066.033.011.067.023l.04.011q.185.052.389.097l.087.02q.217.045.448.08l.09.013q.212.03.434.053l.07.008a12 12 0 0 0 1.726.035q.248-.012.493-.035l.069-.008q.222-.023.436-.053l.09-.012q.23-.036.447-.081l.088-.02q.202-.044.388-.097.022-.005.042-.012.033-.01.067-.022.096-.031.19-.066l.108-.037.069-.028.008-.003a3 3 0 0 0 .307-.15l.022-.013a2 2 0 0 0 .222-.16q.015-.01.03-.022Zm-.953-1.05q-.105.034-.22.066-.117.035-.247.065a10 10 0 0 1-2.272.242 10 10 0 0 1-2.271-.242 6 6 0 0 1-.466-.132c-.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.702" class="cls-1"/></svg>'},Bu={name:"cog_small_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.712 5.956a.76.76 0 0 1-.224.477.79.79 0 0 1-.909.139.762.762 0 0 1-.19-1.224.78.78 0 0 1 .907-.14.77.77 0 0 1 .416.748M14 11.61l-.441 1.088-.62-.246a2 2 0 0 1-.232.268 2 2 0 0 1-.23.2l.263.606-1.09.46-.263-.606a2.4 2.4 0 0 1-.662.008l-.248.612-1.1-.435.249-.612a2 2 0 0 1-.256-.215 2.4 2.4 0 0 1-.218-.243l-.614.26-.466-1.077.614-.259a2.3 2.3 0 0 1-.008-.654l-.62-.246.44-1.087.62.246a2.4 2.4 0 0 1 .234-.27 3 3 0 0 1 .229-.198l-.263-.606 1.09-.46.263.605a2.4 2.4 0 0 1 .662-.008l.248-.612 1.1.436-.248.612a2.4 2.4 0 0 1 .473.458l.614-.26.466 1.076-.613.26a2.3 2.3 0 0 1 .008.654Zm-1.934-1.591a1.495 1.495 0 0 0-2.085.011 1.454 1.454 0 0 0 .01 2.081 1.5 1.5 0 0 0 .486.313 1.5 1.5 0 0 0 1.6-.324 1.454 1.454 0 0 0-.01-2.081M9.036 8.33l-1.189.99-.564-.661a3.1 3.1 0 0 1-.827.26l-.075.86-1.547-.13.074-.862a3 3 0 0 1-.77-.394l-.671.557-1.001-1.174.67-.557a3 3 0 0 1-.264-.817L2 6.328 2.132 4.8l.872.074a3 3 0 0 1 .4-.762l-.564-.66 1.188-.99.565.66a3.2 3.2 0 0 1 .827-.26L5.494 2l1.548.131-.074.861a3 3 0 0 1 .402.172 3 3 0 0 1 .369.223l.669-.557L9.41 4.004l-.67.557a3 3 0 0 1 .264.818l.871.073-.132 1.53-.872-.074a3 3 0 0 1-.4.762ZM7.874 6.054a1.92 1.92 0 0 0-1.04-1.868 1.965 1.965 0 0 0-2.27.348 1.907 1.907 0 0 0 .478 3.06 1.965 1.965 0 0 0 2.27-.347 1.9 1.9 0 0 0 .562-1.193m3.376 4.467a.6.6 0 0 0-.64.13.6.6 0 0 0-.131.196.584.584 0 0 0 .33.761.6.6 0 0 0 .64-.13.6.6 0 0 0 .13-.195.58.58 0 0 0-.135-.637.6.6 0 0 0-.194-.125" class="cls-1"/></svg>'},qu={name:"cog_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m14 3.11-1.178-.632-1.875 2.133a5.4 5.4 0 0 0-.716-.094L8.766 2l-2.138.627.2 2.863a5 5 0 0 0-.527.47l-2.77-.738-1.056 1.95L4.656 9.04a5 5 0 0 0-.087.704L2 11.144l.659 2.1 2.914-.197a5 5 0 0 0 .453.525l-.13.427h7.232a.82.82 0 0 0 .87-.759L14 13.2Zm-1.335 7.876a2.877 2.877 0 0 1-3.741 1.477 2.77 2.77 0 0 1-1.51-3.66 2.876 2.876 0 0 1 3.729-1.482 2.76 2.76 0 0 1 1.535 3.637Z" class="cls-1"/></svg>'},Uu={name:"comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 3.5v6a1.5 1.5 0 0 1-1.5 1.5H8.75L3.5 14l.75-3H3.5A1.5 1.5 0 0 1 2 9.5v-6A1.5 1.5 0 0 1 3.5 2h9A1.5 1.5 0 0 1 14 3.5" class="cls-1"/></svg>'},ju={name:"computer_and_monitor_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 12V6H5v6h4v1H7v1h5v-1h-2v-1Zm-8-1V7h7v4Zm1-6H4V4h3Zm1 0V3H3v7h1v3h2v1H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v2Z" class="cls-1"/></svg>'},Wu={name:"copy_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Zm7 7H7V7h6Z" class="cls-1"/></svg>'},Gu={name:"copy_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Zm7 7H7V7h6Zm-1-4H8V8h4Zm-1 2H8v-1h3Z" class="cls-1"/></svg>'},Zu={name:"dashboard_builder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.646 6.646 7 4.293l2 2 1.646-1.646.707.707L9 7.707l-2-2-1.646 1.647ZM14 2v12H2V2ZM8 9H4v3h4Zm4 2H9v1h3Zm0-2H9v1h3Zm0-5H4v4h8zm-5 6H5v1h2Z" class="cls-1"/></svg>'},Ku={name:"dashboard_builder_legend_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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" class="cls-1"/></svg>'},Xu={name:"dashboard_builder_templates_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V3h10Z" class="cls-1"/><path d="M9 9h3v1H9zM12 4H4v4h8Zm-1 3H5V5h6ZM8 9H4v3h4Zm-1 2H5v-1h2ZM9 11h3v1H9z" class="cls-1"/></svg>'},Yu={name:"dashboard_builder_tile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.646 10.646 7 8.293l2 2 1.646-1.646.707.707L9 11.707l-2-2-1.646 1.647ZM14 2v12H2V2ZM4 7h3V4H4Zm8 1H4v4h8zm0-4H8v3h4Z" class="cls-1"/></svg>'},Ju={name:"database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.588 11.46a3 3 0 0 0 .36-.257c.015-.012.036-.023.051-.036v1.093c0 .395-.57.81-1.551 1.137a9.133 9.133 0 0 1-.757.212A16.2 16.2 0 0 1 7.997 14a16 16 0 0 1-3.69-.391 9 9 0 0 1-.757-.213C2.57 13.069 2 12.655 2 12.26v-1.093c.013.013.033.023.049.036a2.6 2.6 0 0 0 .362.26q.017.01.033.02a4 4 0 0 0 .502.241l.01.005.11.046c.058.02.121.039.18.06q.15.055.308.106c.037.012.07.026.11.037.018.006.042.011.063.017.2.06.412.11.633.159l.142.031q.352.073.727.13.073.011.146.02a17 17 0 0 0 .82.1 25 25 0 0 0 .98.065c.273.01.55.019.822.019q.41-.001.824-.02.09-.005.179-.007.403-.022.801-.057l.112-.014q.36-.035.708-.086.073-.009.147-.02.374-.057.725-.13.074-.017.144-.031.328-.072.63-.157.034-.01.069-.02c.037-.01.07-.024.108-.036.107-.034.206-.07.309-.107.057-.02.12-.038.176-.06q.056-.02.111-.045l.013-.005a4 4 0 0 0 .5-.241zm0-2.845-.035.022a5 5 0 0 1-.5.241l-.013.005q-.055.023-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.025-.107.036q-.035.01-.069.02a11 11 0 0 1-.774.187q-.35.075-.725.13-.074.012-.147.021-.348.051-.708.086L9.8 9.59q-.398.037-.801.057l-.18.008q-.413.019-.823.02a19 19 0 0 1-.823-.02l-.18-.008a21 21 0 0 1-.8-.057l-.113-.013q-.36-.035-.706-.086-.073-.008-.146-.02a13 13 0 0 1-1.502-.32c-.021-.006-.045-.01-.063-.017-.04-.012-.073-.025-.11-.037a8 8 0 0 1-.309-.107c-.058-.02-.121-.039-.179-.06l-.11-.045-.01-.005a4 4 0 0 1-.502-.241c-.012-.007-.02-.014-.033-.02a2.5 2.5 0 0 1-.362-.26c-.016-.013-.036-.023-.049-.036v1.093c0 .394.57.81 1.55 1.136q.167.056.354.108.191.054.402.105a16 16 0 0 0 3.691.39 16.2 16.2 0 0 0 3.694-.39 9 9 0 0 0 .757-.213c.98-.327 1.551-.742 1.551-1.136V8.322c-.015.013-.036.024-.05.036a3 3 0 0 1-.361.258m0-2.845-.035.022a5 5 0 0 1-.5.241l-.013.005q-.055.023-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.026-.107.036q-.034.01-.069.02-.302.084-.63.156l-.144.031q-.351.075-.725.132-.074.009-.147.02-.348.049-.708.085l-.112.013a19 19 0 0 1-.98.066q-.414.016-.824.018a21 21 0 0 1-1.802-.084l-.114-.013q-.36-.036-.706-.086l-.146-.02q-.375-.057-.727-.13c-.05-.01-.094-.022-.142-.032q-.33-.072-.633-.157l-.063-.018c-.04-.011-.073-.025-.11-.037a8 8 0 0 1-.309-.107l-.179-.06-.11-.045-.01-.005a4 4 0 0 1-.502-.241c-.012-.007-.02-.014-.033-.02a2.5 2.5 0 0 1-.362-.26C2.033 5.5 2.013 5.488 2 5.476V6.57c0 .394.57.81 1.55 1.136q.167.056.354.108.191.054.402.105a16 16 0 0 0 3.691.39 16.2 16.2 0 0 0 3.694-.39 9 9 0 0 0 .757-.213c.98-.327 1.551-.742 1.551-1.136V5.477c-.015.013-.036.024-.05.036a3 3 0 0 1-.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.135q.168.057.355.11.192.053.402.103a16.2 16.2 0 0 0 3.69.39 16.2 16.2 0 0 0 3.692-.39 9 9 0 0 0 .759-.213C13.429 4.548 14 4.132 14 3.738" class="cls-1"/></svg>'},Qu={name:"database_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.919 12.103a12 12 0 0 1-1.594-.26 8 8 0 0 1-.644-.182c-.835-.28-1.32-.635-1.32-.973v-.936c.011.01.029.02.042.031a2 2 0 0 0 .308.222l.028.018a4 4 0 0 0 .428.206l.009.005.093.038c.049.019.103.034.153.051q.129.048.262.092c.032.01.06.022.094.032l.054.014q.256.075.538.136l.121.027q.301.062.62.111.062.01.124.018.295.042.6.073l.038.005-.613.613Zm-2.238-7.74q.145.049.303.093.163.045.343.09a13.7 13.7 0 0 0 3.142.333 13.7 13.7 0 0 0 3.144-.334 8 8 0 0 0 .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.973m5.047 6.495.008.007.008-.008Zm-5.047-4.07q.142.049.301.093.164.046.343.09a13.7 13.7 0 0 0 3.143.334 13.7 13.7 0 0 0 3.146-.335 8 8 0 0 0 .644-.181c.835-.28 1.321-.636 1.321-.973v-.937c-.013.012-.03.02-.043.032a2.3 2.3 0 0 1-.307.22l-.03.02a4 4 0 0 1-.426.206l-.01.004q-.047.02-.096.039c-.047.017-.101.033-.15.05q-.128.049-.263.092-.046.017-.092.032l-.058.016q-.257.073-.537.134l-.122.027q-.3.063-.618.112l-.124.017q-.297.043-.604.074l-.095.01a16 16 0 0 1-.835.057q-.352.015-.701.016a17 17 0 0 1-1.535-.072l-.097-.011a15 15 0 0 1-.6-.074l-.125-.017q-.319-.05-.62-.112l-.12-.027a9 9 0 0 1-.54-.134q-.028-.008-.053-.016c-.034-.01-.062-.022-.094-.032a7 7 0 0 1-.262-.091c-.05-.018-.104-.034-.153-.052l-.093-.038-.01-.004a4 4 0 0 1-.427-.207l-.028-.017a2 2 0 0 1-.308-.223c-.013-.011-.031-.02-.042-.03v.936c0 .337.485.692 1.32.972m0 2.436q.142.049.301.093.164.046.343.09a13 13 0 0 0 2.644.327l.318-.318.323.324a14.4 14.4 0 0 0 2.473-.222l1.753-1.753-.063.028-.01.004q-.047.02-.096.04c-.047.017-.101.033-.15.05-.087.032-.171.063-.263.091-.032.01-.06.022-.092.032q-.029.008-.058.017a9 9 0 0 1-.66.16q-.298.064-.617.112l-.124.017q-.297.044-.604.074l-.095.011q-.339.03-.682.049l-.153.007q-.352.016-.701.016-.35 0-.7-.016l-.155-.007a17 17 0 0 1-.68-.049l-.097-.011a15 15 0 0 1-.6-.074q-.063-.008-.125-.017a11 11 0 0 1-1.28-.274l-.053-.015c-.034-.01-.062-.021-.094-.032a7 7 0 0 1-.262-.09c-.05-.018-.104-.034-.153-.053q-.046-.017-.093-.038l-.01-.004a4 4 0 0 1-.427-.207l-.028-.017a2 2 0 0 1-.308-.223c-.014-.01-.031-.02-.042-.03v.936c0 .337.485.693 1.32.972m9.269-1.6L8.736 11.84l-1.449-1.45-1.053 1.055 2.458 2.458 5.268-5.268Z" class="cls-1"/></svg>'},ep={name:"debug_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.875 11.673a1 1 0 0 1-2 0c0-.02.01-.038.012-.058l-.741-.494C9.97 12.783 8 14 8 14s-2.003-1.36-3.174-3.027l-.963.642c.002.02.012.037.012.058a1 1 0 1 1-1-1 1 1 0 0 1 .435.109l1.01-.674C4.124 9.685 4 9.255 4 8.832v-.16h-.528a.99.99 0 0 1-.847.5 1 1 0 0 1 0-2c.366 0 .673.207.847.5H4V5h1.375v-.903a.99.99 0 0 1-.5-.847 1 1 0 0 1 2 0 .99.99 0 0 1-.5.847V5h3.25v-.903a.99.99 0 0 1-.5-.847 1 1 0 0 1 2 0 .99.99 0 0 1-.5.847V5H12v2.673h.278c.174-.294.48-.5.847-.5a1 1 0 1 1 0 2 .99.99 0 0 1-.847-.5H12v.159c0 .488-.133.967-.346 1.426l.786.524a1 1 0 0 1 .435-.11 1 1 0 0 1 1 1" class="cls-1"/></svg>'},tp={name:"desktop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 3H2v8h5v1H5v1h6v-1H9v-1h5V3Zm0 7H3V4h10Z" class="cls-1"/></svg>'},np={name:"donut_chart_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.872 10.956a4.123 4.123 0 0 1-6.997-2.962v-.007H2v.007a5.995 5.995 0 0 0 10.301 4.182ZM8.372 2v1.884a4.13 4.13 0 0 1 2.992 6.501l1.429 1.224A6.008 6.008 0 0 0 8.37 2M2.048 7.236h1.897a4.12 4.12 0 0 1 3.675-3.352V2A6.01 6.01 0 0 0 2.05 7.236" class="cls-1"/></svg>'},ip={name:"dot_solid_dot_stroke_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 8a3 3 0 1 1-3-3 3 3 0 0 1 3 3m5-2a2 2 0 1 0 2 2 2 2 0 0 0-2-2m0-1a3 3 0 1 1-3 3 3 3 0 0 1 3-3" class="cls-1"/></svg>'},op={name:"dot_solid_dot_stroke_measurement_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 3h1v3H5zM6 4h4v1H6zM10 3h1v3h-1zM7 10a3 3 0 1 1-6 0 3 3 0 0 1 6 0m5-2c-1.103 0-2 .897-2 2s.897 2 2 2 2-.897 2-2-.897-2-2-2m0-1a3 3 0 1 1 0 6 3 3 0 0 1 0-6" class="cls-1"/></svg>'},sp={name:"down_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m5.958 10.03 2.063-6.281.49 2.344 4.117-4.122 1.414 1.414L9.94 7.487l2.324.504z" class="cls-1"/><path d="M8 10.42V12H4V8h1.572l.657-2H2v8h8V9.774z" class="cls-1"/></svg>'},rp={name:"download_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 9v5H2V9h1v4h10V9Zm-5.982 2L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1Z" class="cls-1"/></svg>'},ap={name:"electronic_chip_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 14H7.333V9.333a2 2 0 0 1 2-2H14V13a1 1 0 0 1-1 1M12 2a.667.667 0 0 0-.667.667v2h1.334v-2A.667.667 0 0 0 12 2M8.444 2a.667.667 0 0 0-.666.667v2H9.11v-2A.667.667 0 0 0 8.444 2M2 8.444a.667.667 0 0 0 .667.667h2V7.778h-2A.667.667 0 0 0 2 8.444M2 12a.667.667 0 0 0 .667.667h2v-1.334h-2A.667.667 0 0 0 2 12m11.556-8.222v.889a.444.444 0 0 1-.445.444H10.89a.444.444 0 0 1-.445-.444v-.89H10v.89a.444.444 0 0 1-.444.444H7.333a.444.444 0 0 1-.444-.444v-.89H4.667a.89.89 0 0 0-.89.89v2.222h.89a.444.444 0 0 1 .444.444v2.223a.444.444 0 0 1-.444.444h-.89v.444h.89a.444.444 0 0 1 .444.445v2.222a.444.444 0 0 1-.444.445h-.89V14H6.89V8.222A1.333 1.333 0 0 1 8.222 6.89H14V3.778Z" class="cls-1"/></svg>'},lp={name:"exclamation_mark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.371 11.873h3.256V14H6.37ZM6.316 2l.37 8.542h2.628L9.684 2Z" class="cls-1"/></svg>'},cp={name:"eye_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.856 3.657A7 7 0 0 0 1 8.001a7.59 7.59 0 0 0 7.146 4.342A7 7 0 0 0 15 8a7.59 7.59 0 0 0-7.144-4.344m-1.199 7.289A5.11 5.11 0 0 1 2.443 8s.665-2.585 4.33-3.037a2.8 2.8 0 0 0-1.414 1.223l2.787 1.22H4.977a3.5 3.5 0 0 0-.053.576 3.35 3.35 0 0 0 1.734 2.962m2.85.02a3.4 3.4 0 0 0 .107-5.908 5 5 0 0 1 3.942 2.944s-.603 2.44-4.05 2.963" class="cls-1"/></svg>'},dp={name:"eye_dash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.832 3.902a9.5 9.5 0 0 1 2.024-.245c3.264.09 5.676 1.427 7.144 4.344-.543 1.222-1.279 2.157-2.173 2.852l-.83-.825c1.277-.888 1.56-2.027 1.56-2.027a5 5 0 0 0-3.942-2.944 3.36 3.36 0 0 1 1.664 2.926 3.3 3.3 0 0 1-.196 1.137zm-.674 3.505h-.18q-.052.286-.054.576a3.35 3.35 0 0 0 1.734 2.962 5.11 5.11 0 0 1-4.215-2.944s.252-.981 1.303-1.84c.029-.024.067-.046.097-.069l-.828-.828C2.19 5.947 1.512 6.849 1 8c1.469 2.916 3.882 4.252 7.146 4.342a9.7 9.7 0 0 0 1.754-.194zm-1.77-4.733-.708.708 9.9 9.9.707-.708z" class="cls-1"/></svg>'},hp={name:"fancy_a_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.597 9.844H7.865A7.5 7.5 0 0 1 6.19 11.96a3.32 3.32 0 0 1-2.042.667 2.84 2.84 0 0 1-1.964-.753L2 11.706l1.153-1.152.157.251a1.35 1.35 0 0 0 1.2.716 1.98 1.98 0 0 0 1.385-.625 11.6 11.6 0 0 0 1.722-2.403l2.252-3.88a8 8 0 0 0-.679-.037 2.37 2.37 0 0 0-1.66.54 1.97 1.97 0 0 0-.556 1.51V6.7l-.067.106-1.564.762.045-.423a3.85 3.85 0 0 1 .645-1.874 3.3 3.3 0 0 1 1.34-1.177 6.7 6.7 0 0 1 2.208-.443c.127 0 .277-.013.471-.029l.369-.03 1.387-.257.087 2.154.33 3.886a4.9 4.9 0 0 0 .29 1.701.5.5 0 0 0 .528.31c.057 0 .277 0 .641-.03L14 11.33l-.172.83-3.003.506Zm-.086-.896-.275-3.22-1.855 3.22Z" class="cls-1"/></svg>'},up={name:"file_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 3v10h8V7H8V3Zm5 0v3h3Z" class="cls-1"/></svg>'},pp={name:"file_arrow_curved_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7 2 3 3H7zM6 6V2H2v12h4.282l.03-.187A4.51 4.51 0 0 1 10 10.065V6zm8 5.5L11 9v2c-1.817-.091-3.412 1.137-3.701 2.97.576-.672 2.077-2.065 3.701-1.82V14z" class="cls-1"/></svg>'},fp={name:"file_drawer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 4v10h12V4Zm8 4H6V6h4Zm4-5H2V2h12Z" class="cls-1"/></svg>'},mp={name:"file_search_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 6v6h-3.333a3.7 3.7 0 0 0 .249-1.302A3.7 3.7 0 0 0 7.22 7 3.7 3.7 0 0 0 6 7.223V2h4v4Zm-3-4v3h3Zm-1.126 8.698a2.697 2.697 0 0 1-4.73 1.772L2.521 14l-.48-.823 2.613-1.523a2.698 2.698 0 1 1 5.22-.956m-.952 0a1.745 1.745 0 1 0-1.745 1.745 1.747 1.747 0 0 0 1.745-1.745" class="cls-1"/></svg>'},gp={name:"filter_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 3.045v1.29h.787a2.069 2.069 0 1 0 2.907 2.903l1.32 2.173v4.522l1.973-1.846V9.411l3.878-5.076h1.134v-1.29Zm2.033 4.059a1.154 1.154 0 0 1 0-2.308c.023 0 .045.006.068.007l1.002 1.575a1.15 1.15 0 0 1-1.07.726" class="cls-1"/></svg>'},vp={name:"floppy_disk_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.455 4H3.583A.585.585 0 0 0 3 4.598V11.5l1.5 1.497 7.858.003c.33 0 .6-.27.6-.6L13 4.545c0-.33-.215-.546-.545-.546M11 12H8v-2H6v2H5V9h6zm1-4H4V5h8z" class="cls-1"/></svg>'},bp={name:"floppy_disk_checkmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.455 5h-1.041l-1.005 1H12v3H4V6h3.782L6.79 5H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm2-10.99L9.091 5.9 7 3.79l.919-.89 1.164 1.208L12.128 1.1z" class="cls-1"/></svg>'},yp={name:"floppy_disk_pen_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.17 11.108 7.299 11H7V9H5v2H4V8h6v.696l1.626-1.386c.107-.09.228-.155.355-.206L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497 3.136.001zM3 7V4h8v3z" class="cls-2"/><path d="M12.275 8.07c.218-.185.693-.008 1.205.552s.635 1.038.418 1.223l-.92.784-1.621-1.775zm-4.92 6.113 1.98-.899-.985.164.043-.94-.32.161.104-.652-1.17 1.786zm2.212-.645L6 15l1.945-3.236 2.1-1.791 1.622 1.774zm2.862-2.49-1.622-1.774c-.118-.13.148-.349.262-.224l1.623 1.775c.117.128-.15.348-.263.224m-.522.452-1.622-1.775c-.118-.129.148-.349.262-.223l1.623 1.774c.117.128-.15.348-.263.224" class="cls-1"/></svg>'},wp={name:"floppy_disk_star_arrow_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.5 2.5a1 1 0 1 0-1 1 1 1 0 0 0 1-1m7.5.002L9.638.819l.496 1.293H7v.828h3.134L9.638 4.18ZM12.455 5H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm1-4H4V6h8Z" class="cls-1"/></svg>'},xp={name:"floppy_disk_three_dots_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 3a1 1 0 1 0-1 1 1 1 0 0 0 1-1m3 0a1 1 0 1 0-1 1 1 1 0 0 0 1-1m3 0a1 1 0 1 0-1 1 1 1 0 0 0 1-1m.455 2H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm1-4H4V6h8Z" class="cls-1"/></svg>'},Cp={name:"folder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 4V3H2v10h12V4Zm6 2H3V5h10Z" class="cls-1"/></svg>'},kp={name:"folder_open_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 3v1.002h6V6h-1V5H3v1H2V3ZM2 13h11l1-6H2Z" class="cls-1"/></svg>'},Sp={name:"forward_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.027 14 2.5-12h1.5l-2.5 12z" class="cls-1"/></svg>'},$p={name:"four_dots_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.5 11A1.5 1.5 0 1 1 5 9.5 1.5 1.5 0 0 1 6.5 11M5 3.5A1.5 1.5 0 1 0 6.5 5 1.5 1.5 0 0 0 5 3.5m7.5 7.5A1.5 1.5 0 1 1 11 9.5a1.5 1.5 0 0 1 1.5 1.5M11 3.5A1.5 1.5 0 1 0 12.5 5 1.5 1.5 0 0 0 11 3.5" class="cls-1"/></svg>'},Mp={name:"function_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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 3 0 0 0-.394-.1 2.5 2.5 0 0 0-.483-.05 1.32 1.32 0 0 0-.832.241 1.33 1.33 0 0 0-.405.895l-.128.937h1.846v1.282H6.812l-.376 2.462a3.6 3.6 0 0 1-.462 1.357 2.6 2.6 0 0 1-.784.808 3 3 0 0 1-.938.387A4.8 4.8 0 0 1 3.184 13q-.275 0-.629-.03A3.5 3.5 0 0 1 2 12.892v-1.815h.12a.56.56 0 0 0 .424.244 2.5 2.5 0 0 0 .5.052 1.3 1.3 0 0 0 .898-.29 1.6 1.6 0 0 0 .424-.985l.33-2.226H3.256V6.59H5.05l.178-1.162a2.94 2.94 0 0 1 .444-1.244 2.5 2.5 0 0 1 .76-.734 2.6 2.6 0 0 1 .94-.356A5.6 5.6 0 0 1 8.357 3q.294 0 .588.025t.599.076Z" class="cls-1"/></svg>'},Ep={name:"gauge_simple_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.969 5.196a1.76 1.76 0 0 1 1.142-.49 1.76 1.76 0 0 1-.49 1.142L9.205 8.263l.008.025.065.184.03.093a1.4 1.4 0 0 1 .032.295 1.385 1.385 0 0 1-2.769 0 1.3 1.3 0 0 1 .033-.294l.034-.11.055-.16.012-.033.014-.014a1.4 1.4 0 0 1 .625-.625l.015-.015.033-.011.16-.055.11-.035a1.3 1.3 0 0 1 .588 0l.11.035.16.055.033.011ZM14 8.86a5.98 5.98 0 0 1-1.799 4.28l-1.309-1.308a4.085 4.085 0 0 0 .83-4.78l.55-.55a2.6 2.6 0 0 0 .64-1.082A5.97 5.97 0 0 1 14 8.86m-6-6a5.998 5.998 0 0 0-4.201 10.28l1.309-1.308a4.14 4.14 0 0 1 4.644-6.725l.564-.564a2.6 2.6 0 0 1 1.07-.635A5.97 5.97 0 0 0 8 2.86" class="cls-1"/></svg>'},Ip={name:"grid_three_by_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 3v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1m4 9H4v-2h2Zm.001-2.999H4V7h2.001Zm0-3.001H4V4h2.001ZM9 12H7v-2h2Zm0-2.999H7V7h2ZM9 6H7V4h2Zm3 6h-2v-2h2Zm.001-2.999H10V7h2.001Zm0-3.001H10V4h2.001Z" class="cls-1"/></svg>'},_p={name:"grid_two_by_two_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 9h3v3H4Zm5 0h3v3H9ZM4 4h3v3H4Zm5 0h3v3H9ZM2 14h12V2H2Z" class="cls-1"/></svg>'},Tp={name:"hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 14H6V8h3ZM8.875 2H6.723A1.99 1.99 0 0 1 5 3a2.49 2.49 0 0 1-2-1H2v4h1a1.8 1.8 0 0 1 1.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 2" class="cls-1"/></svg>'},Ap={name:"hashtag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.76 14 .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" class="cls-1"/></svg>'},Dp={name:"home_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.988 2 2.5 9H4v5h3v-3h2v3h3V9h1.5z" class="cls-1"/></svg>'},Op={name:"horizontal_triangle_outline_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.05 2v12l11.4-6zM4 5.313 9.156 8 4 10.688z" class="cls-1"/></svg>'},Rp={name:"hourglass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.774 13.4h-.047v-.49h-.404a2.5 2.5 0 0 0 .355-1.258c0-1.826-2.083-2.886-2.083-3.652s2.083-1.826 2.083-3.652a2.5 2.5 0 0 0-.355-1.257h.404V2.6h.047a.556.556 0 0 0 .499-.6H4.727a.556.556 0 0 0 .499.6h.047v.49h.404a2.5 2.5 0 0 0-.355 1.258c0 1.826 2.083 2.87 2.083 3.652s-2.083 1.826-2.083 3.652a2.5 2.5 0 0 0 .355 1.257h-.404v.491h-.047a.556.556 0 0 0-.499.6h6.546a.556.556 0 0 0-.499-.6M8 12.957c-1.565 0-1.975-.585-1.975-1.305a7.2 7.2 0 0 1 1.723-.656c.268 0 .289-3.513 0-3.779l-.988-1h2.454l-.962 1c-.268.286-.275 3.779 0 3.779a7.7 7.7 0 0 1 1.738.656c0 .72-.409 1.305-1.99 1.305" class="cls-1"/></svg>'},Fp={name:"indent_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m2.5 7.5 1 2.5-1 2.5 5-2.5zM2 3h12v2H2zM9 7h5v2H9zM9 11h5v2H9z" class="cls-1"/></svg>'},Np={name:"indeterminant_checkbox_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm0-1H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2M4 4v8h8V4Zm6 6H6V6h4Z" class="cls-1"/></svg>'},Pp={name:"info_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.415 7.75v3.69H6.376v1.576h4.24V11.44H9.6V6.175H6.376V7.75Zm.276-2.698a1.19 1.19 0 0 0 2.035-.838 1.16 1.16 0 0 0-.346-.846 1.193 1.193 0 0 0-1.693 0 1.16 1.16 0 0 0-.35.846 1.14 1.14 0 0 0 .354.838" class="cls-1"/></svg>'},Lp={name:"info_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m-.697 2.28a.95.95 0 0 1 1.35 0 .93.93 0 0 1 .276.675.952.952 0 0 1-1.905 0 .92.92 0 0 1 .279-.674M9.7 12H6.3v-1.264h.833V7.777H6.3V6.513h2.584v4.223H9.7Z" class="cls-1"/></svg>'},zp={name:"inward_squares_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 10h2v2H4zm-1 3h1v-1H3zm7-7H6v4h4zM3 3v4h2V5h6v6H9v2h4V3z" class="cls-1"/></svg>'},Hp={name:"italic_i_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M8.99 13.802H4.38l.258-1.133h1.523l2.17-9.367H6.808l.258-1.133h4.61l-.258 1.133H9.895l-2.17 9.367h1.523z"/></svg>'},Vp={name:"key_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.045 7.348-.652-.652 1.444-.14Zm-3.818.698-4.912 4.912-.395-.396 4.12-4.12Zm4.734-2.918-1.697.136-.395-.395L11 3.176l.72-.067 1.304 1.304Zm-3.524-.386-.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" class="cls-1"/></svg>'},Bp={name:"laptop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 11V3H3v8H2v2h12v-2Zm-2 1H5v-1h6Zm1-1.996H4V4h8Z" class="cls-1"/></svg>'},qp={name:"layer_group_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m3.555 9.546.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.11.89-.444 5.333 2.667 1.778-.89.889.448v1.33L9.778 10.88 3.555 7.768Z" class="cls-1"/></svg>'},Up={name:"lightning_bolt_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.732 7.953 6.909 2h3.636L8.364 7.013h2.909L4.727 14l2.21-6.049Z" class="cls-1"/></svg>'},jp={name:"link_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.465 5.592A2.91 2.91 0 0 1 9.963 7.02l-1.06 1.065c-.053-.103-.095-.192-.144-.276a1.48 1.48 0 0 0-1.277-.769 1.43 1.43 0 0 0-.977.394c-.75.694-1.469 1.421-2.165 2.168a1.43 1.43 0 0 0 .054 2.038 1.5 1.5 0 0 0 1.039.432 1.28 1.28 0 0 0 .953-.417c.103-.11.435-.44.81-.805a3.46 3.46 0 0 0 1.908.188c-1.006 1.035-2.179 2.187-2.996 2.38a3 3 0 0 1-.693.082 2.91 2.91 0 0 1-2.182-4.842A47 47 0 0 1 5.53 6.356a2.83 2.83 0 0 1 1.935-.764M10.583 2.5a3 3 0 0 0-.69.081 10.4 10.4 0 0 0-2.996 2.377 3.5 3.5 0 0 1 .568-.054 3.6 3.6 0 0 1 1.31.249c.38-.332.701-.646.875-.834a1.22 1.22 0 0 1 .913-.395 1.51 1.51 0 0 1 1.074.469 1.433 1.433 0 0 1 .022 2.005c-.7.743-1.42 1.47-2.165 2.167a1.42 1.42 0 0 1-.975.395 1.48 1.48 0 0 1-1.28-.768c-.048-.085-.089-.175-.151-.298L6.043 8.987a2.88 2.88 0 0 0 2.493 1.42 2.8 2.8 0 0 0 1.93-.76 54 54 0 0 0 2.266-2.266A2.911 2.911 0 0 0 10.583 2.5" class="cls-1"/></svg>'},Wp={name:"link_cancel_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.202 9.45a2.64 2.64 0 0 1 .687 2.519l-1.364.002c.032-.1.062-.183.085-.269a1.34 1.34 0 0 0-.326-1.312 1.3 1.3 0 0 0-.88-.374 38 38 0 0 0-2.779.002 1.3 1.3 0 0 0-1.273 1.341 1.37 1.37 0 0 0 .39.944 1.16 1.16 0 0 0 .878.344c.137-.005.562-.002 1.036.004a3.14 3.14 0 0 0 1.104 1.344 8.1 8.1 0 0 1-3.45-.395 2.7 2.7 0 0 1-.496-.392A2.64 2.64 0 0 1 4.52 8.702a43 43 0 0 1 2.951-.003 2.56 2.56 0 0 1 1.731.751m3.984.017a2.7 2.7 0 0 0-.495-.39 9.4 9.4 0 0 0-3.447-.398 3 3 0 0 1 .4.33 3.3 3.3 0 0 1 .68 1c.457.031.864.035 1.096.027a1.1 1.1 0 0 1 .839.331 1.37 1.37 0 0 1 .389.99 1.3 1.3 0 0 1-1.272 1.3c-.926.028-1.854.033-2.78.002a1.3 1.3 0 0 1-.878-.372 1.35 1.35 0 0 1-.328-1.313c.023-.086.054-.17.093-.289l-1.371.031a2.61 2.61 0 0 0 .688 2.51 2.55 2.55 0 0 0 1.726.751c.968.033 1.94.025 2.908 0a2.641 2.641 0 0 0 1.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" class="cls-1"/></svg>'},Gp={name:"list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 13H2v-2h2Zm10-2H6v2h8ZM4 7H2v2h2Zm10 0H6v2h8ZM4 3H2v2h2Zm10 0H6v2h8Z" class="cls-1"/></svg>'},Zp={name:"list_tree_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10 5v2h4v2h-4v2h4v2H8V5H5V3h9v2ZM2 5h2V3H2Zm5 6H5v2h2Zm0-4H5v2h2Z" class="cls-1"/></svg>'},Kp={name:"list_tree_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.953 11.81c.013-.011.032-.02.046-.031v.917c0 .33-.523.678-1.42.953a8 8 0 0 1-.694.178 16 16 0 0 1-3.382.328 16 16 0 0 1-3.38-.328 9 9 0 0 1-.693-.179c-.898-.274-1.42-.622-1.42-.952v-.917c.012.01.031.02.045.03a2.3 2.3 0 0 0 .332.218l.03.017a4 4 0 0 0 .46.202l.01.005.1.037q.081.026.164.05.139.047.283.09.048.016.1.031l.058.015q.277.072.58.132.063.014.13.026.322.063.666.11l.134.017q.315.041.646.072l.104.01q.364.031.731.049l.166.007q.378.015.754.016.375-.001.754-.016l.164-.007q.37-.018.734-.048l.102-.011q.33-.03.649-.072.067-.008.134-.017.343-.048.664-.11.068-.012.132-.026.3-.06.577-.13.031-.01.063-.017c.034-.009.064-.021.099-.031.098-.028.189-.059.283-.09.052-.017.11-.032.16-.05q.053-.018.103-.037l.012-.005a4 4 0 0 0 .457-.202q.018-.01.032-.018a2.5 2.5 0 0 0 .33-.216m-5.45-2.946c-3.237 0-5.492.767-5.492 1.457 0 .33.523.679 1.42.952q.153.048.325.091.176.046.368.088a16 16 0 0 0 3.38.327 16 16 0 0 0 3.38-.327 9 9 0 0 0 .695-.18C13.477 11 14 10.652 14 10.322c0-.69-2.257-1.457-5.497-1.457M14 6V5H5V3h2V2H2v1h2v5.581a10 10 0 0 1 1-.255V6h3v2h6V7H9V6Z" class="cls-1"/></svg>'},Xp={name:"lock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 8V7a3.89 3.89 0 0 0-4-4 3.82 3.82 0 0 0-2.81 1.078A4.35 4.35 0 0 0 4.062 7v1H3v6h10V8ZM6.062 6.986a2.4 2.4 0 0 1 .566-1.516A1.83 1.83 0 0 1 8 5a1.883 1.883 0 0 1 2 2v1H6.062Z" class="cls-1"/></svg>'},Yp={name:"magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.073 12.29-2.926-2.926a3.971 3.971 0 1 0-.783.783l2.927 2.926ZM7.01 9.84a2.83 2.83 0 1 1 2.83-2.83 2.833 2.833 0 0 1-2.83 2.83" class="cls-1"/></svg>'},Jp={name:"markdown_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.25 3H1.75a.74.74 0 0 0-.75.73v8.54a.74.74 0 0 0 .75.73h12.5a.74.74 0 0 0 .75-.73V3.73a.74.74 0 0 0-.75-.73m-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" class="cls-1"/></svg>'},Qp={name:"minus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 7h8v2H4z" class="cls-1"/></svg>'},ef={name:"minus_wide_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 7h10v2H3z" class="cls-1"/></svg>'},tf={name:"mobile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.462 2.077H4.538A.54.54 0 0 0 4 2.615v10.77a.54.54 0 0 0 .538.538h5.924a.54.54 0 0 0 .538-.538V2.615a.54.54 0 0 0-.538-.538M10 12H5V3h5Z" class="cls-1"/></svg>'},nf={name:"ni_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.172 4c1.675 0 3 1.354 3 3.103V13h-3V7h-3V4zm-3 9h-3V7h3zm10.656-9v9c-1.681 0-3-1.378-3-3V4z" class="cls-1"/></svg>'},of={name:"notebook_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 2h1v3h-1Zm0 8h1V6h-1Zm0 4h1v-3h-1ZM4 7h6V6H4Zm0-2h6V4H4ZM2 2h10v12H2Z" class="cls-1"/></svg>'},sf={name:"number_list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M14 11H6v2h8zm0-4H6v2h8zm0-4H6v2h8zM1.999 4.644h.73V2.302h-.585v-.271c.295-.05.505-.13.681-.235h.32v2.848h.656v.346H1.999zM1.804 9.509c.951-.932 1.501-1.521 1.501-2.037 0-.365-.2-.621-.605-.621-.265 0-.496.17-.676.381l-.235-.226c.265-.3.551-.495.961-.495.591 0 .961.375.961.936 0 .621-.561 1.196-1.336 1.987.174-.016.37-.026.535-.026h.956v.355H1.804zM1.733 13.884l.21-.271c.19.201.44.376.816.376.385 0 .661-.226.661-.581 0-.38-.26-.635-1.021-.635v-.315c.676 0 .906-.261.906-.596 0-.306-.21-.501-.55-.501-.266 0-.491.136-.681.32l-.221-.26c.246-.23.541-.4.916-.4.556 0 .956.295.956.811 0 .386-.23.631-.576.761v.021c.385.09.691.37.691.811 0 .565-.471.91-1.056.91a1.36 1.36 0 0 1-1.051-.451"/></svg>'},rf={name:"outdent_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.5 12.5-1-2.5 1-2.5-5 2.5zM2 3h12v2H2zM9 7h5v2H9zM9 11h5v2H9z" class="cls-1"/></svg>'},af={name:"outward_squares_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 9H7V7h2zm-6 4h4V9H3zM3 3v4h2V5h6v6H9v2h4V3zm7 3H9v1h1z" class="cls-1"/></svg>'},lf={name:"paste_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 5V3H3v6h2v1H2V2h8v3ZM6 6v8h8V6Z" class="cls-1"/></svg>'},cf={name:"pause_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 3h3v10H4zM9 3h3v10H9z" class="cls-1"/></svg>'},df={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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.493 2.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" class="cls-1"/></svg>'},hf={name:"play",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.05 2v12l11.4-6z" class="cls-1"/></svg>'},uf={name:"pot_with_lid_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 4V2H5v2H2v1h12V4ZM6 4V3h4v1Zm-4 9h1v1h10v-1h1V6H2Z" class="cls-1"/></svg>'},pf={name:"question_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.303 5.594a3.3 3.3 0 0 1-.195 1.176 2.6 2.6 0 0 1-.549.885 4 4 0 0 1-.852.672 7.5 7.5 0 0 1-1.121.54v1.501H6.27V8.15q.467-.125.845-.256a3.2 3.2 0 0 0 .793-.429 2.1 2.1 0 0 0 .608-.612 1.45 1.45 0 0 0 .22-.791 1.04 1.04 0 0 0-.423-.939 2.16 2.16 0 0 0-1.195-.28 3.3 3.3 0 0 0-1.068.204 4.9 4.9 0 0 0-1.09.526h-.263V3.566a8 8 0 0 1 1.296-.372A8.2 8.2 0 0 1 7.77 3a4.2 4.2 0 0 1 2.579.718 2.24 2.24 0 0 1 .954 1.876M8.77 13H6.112v-1.737H8.77Z" class="cls-1"/></svg>'},ff={name:"rectangle_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 2v12h10V2zm9 11H4V3h8z" class="cls-2"/><path d="M5 9h6v1H5zM5 11h3v1H5z" class="cls-2"/><path d="M11 4.643 7.591 8 6 6.434l.682-.672.937.923L10.347 4z" class="cls-1"/></svg>'},mf={name:"running_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.45 7.985-7.602 4.013L7.75 8 5.848 3.987zM3.945 2.997 2.05 2 4.9 8l-2.85 6 1.902-1.005L6.325 8z" class="cls-1"/></svg>'},gf={name:"screen_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3H2v8h5v1H5v1h6v-1H9v-1h5V3zm10 7H3V4h10z" class="cls-1"/><path d="M5.743 9 4 7.242l.766-.742.97 1.007L8.273 5 9 5.758zM10 6h2v1h-2zM8 8h4v1H8z" class="cls-1"/></svg>'},vf={name:"screen_check_lines_calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 9H3V3h10v3h1V2H2v8h4zM4 11h2v1H4z" class="cls-1"/><path d="M13 8V7h-1v1H9V7H8v1H7v6h7V8zm0 5H8v-3h5zM5.465 8.052 3.723 6.295l.765-.743.97 1.007 2.538-2.507.727.758zM9.723 5.052h2v1h-2z" class="cls-1"/></svg>'},bf={name:"server_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 3H3v3h10ZM9 5H4V4h5ZM3 7v3h10V7Zm6 2H4V8h5Zm3 4H3v-2h10v1a1 1 0 0 1-1 1" class="cls-1"/></svg>'},yf={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 0 0 0-.836l4.544-2.273c.367.42.9.691 1.501.691a2 2 0 1 0-1.955-1.582L5.501 6.691C5.134 6.27 4.6 6 4 6a2 2 0 1 0 0 4c.601 0 1.134-.27 1.5-.69l4.545 2.272A2 2 0 1 0 12 10"/></svg>'},wf={name:"shield_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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" class="cls-1"/></svg>'},xf={name:"shield_xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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" class="cls-1"/></svg>'},Cf={name:"signal_bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 14H2V2h2Zm3-9H5v9h2Zm3 3H8v6h2Zm3 3h-2v3h2Z" class="cls-1"/></svg>'},kf={name:"sine_graph_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 12H2v-1.63a4.6 4.6 0 0 0 1.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.189s2.15-1.163 2.764-2.189a6.5 6.5 0 0 1 .9-1.267Zm0-6.054a4.6 4.6 0 0 0-1.764 1.967c-.635 1.061-1.08 1.705-1.9 1.705S9.07 8.974 8.434 7.913c-.615-1.026-1.312-2.189-2.766-2.189S3.517 6.887 2.902 7.913A6.5 6.5 0 0 1 2 9.18V4h12Z" class="cls-1"/></svg>'},Sf={name:"skip_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 2h-2v12h2zm-4 6.5-8 4v-8z" class="cls-1"/></svg>'},$f={name:"sparkle_swirls_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><linearGradient id="a" x1="2.044" x2="13.956" y1="8" y2="8" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#009b65"/><stop offset=".5" stop-color="#00a7d2"/><stop offset="1" stop-color="#bb3bff"/></linearGradient></defs><path d="m13.956 7.972-.001.066c-.001.023-.006.068-.006.068a1.038 1.038 0 0 1-2.068-.126c0-.107.045-.33.044-.34.034-.229.07-.458.07-.696A4.735 4.735 0 0 0 5.45 2.571 5.9 5.9 0 0 1 7.968 2a5.99 5.99 0 0 1 5.988 5.972M4.005 9.056c0-.238.036-.467.07-.696-.001-.01.044-.233.044-.34a1.038 1.038 0 0 0-2.068-.126s-.005.045-.006.068l-.001.066A5.99 5.99 0 0 0 8.032 14c.903 0 1.751-.214 2.518-.571a4.735 4.735 0 0 1-6.546-4.373M8 9.594c.915 0 1.706.198 2.078.484-.286-.372-.484-1.163-.484-2.078s.198-1.706.484-2.078c-.372.286-1.163.484-2.078.484s-1.706-.198-2.078-.484c.286.372.484 1.163.484 2.078s-.198 1.706-.484 2.078c.372-.286 1.163-.484 2.078-.484" style="fill:url(#a);stroke-width:0"/></svg>'},Mf={name:"sparkles_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.498 2a2.85 2.85 0 0 1-.811 1.69A2.85 2.85 0 0 1 9 4.498a2.85 2.85 0 0 1 1.69.809c.477.476.739 1.076.812 1.693a2.85 2.85 0 0 1 .811-1.69A2.85 2.85 0 0 1 14 4.502a2.85 2.85 0 0 1-1.69-.809A2.84 2.84 0 0 1 11.497 2M7.495 3c-.163 1.355-.737 2.674-1.784 3.719C4.668 7.76 3.352 8.332 2 8.496c1.355.163 2.674.736 3.72 1.78C6.768 11.321 7.343 12.642 7.505 14c.162-1.355.736-2.674 1.784-3.719C10.332 9.24 11.648 8.668 13 8.504c-1.356-.163-2.674-.736-3.72-1.78C8.231 5.679 7.656 4.358 7.495 3" class="cls-1"/></svg>'},Ef={name:"spinner",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.967 7.143h-.762a4.885 4.885 0 0 1 3.938-3.94v.771a4.12 4.12 0 0 0-3.176 3.169M8 2v1.875A4.125 4.125 0 1 1 3.875 8H2a6 6 0 1 0 6-6" class="cls-1"/></svg>'},If={name:"square_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm4.788 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013Z" class="cls-1"/></svg>'},_f={name:"square_t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm9.033 4.199-.016-.076a2.34 2.34 0 0 0-.497-1.18 2.1 2.1 0 0 0-1.281-.26h-.56v5.941c0 .552.11.718.176.768a1.8 1.8 0 0 0 .88.196l.09.006V12H6.193v-.405l.09-.007c.59-.046.8-.144.87-.218.06-.06.158-.255.158-.884V4.683h-.565a2.2 2.2 0 0 0-1.274.262 2 2 0 0 0-.498 1.174l-.015.08H4.49L4.565 4h6.859l.07 2.199Z" class="cls-1"/></svg>'},Tf={name:"square_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3v10h10V3zm8 7.01-.99.99L8 8.99 5.99 11 5 10.01 7.01 8 5 5.99 5.99 5 8 7.01 10.01 5l.99.99L8.99 8z" class="cls-1"/></svg>'},Af={name:"stop_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3h10v10H3z" class="cls-1"/></svg>'},Df={name:"systemlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.357 9.143H4.786V6.79c0-.927.442-1.714 1.262-2.211C6.674 4.2 7.505 4 8.451 4h5.335v2.571H8.69c-.911.124-1.262.548-1.333 1.267z" class="cls-1"/><path d="M8.643 7.857h2.571v2.352c0 .927-.442 1.714-1.262 2.211-.626.38-1.457.58-2.403.58H2.214v-2.571H7.31c.911-.124 1.262-.548 1.333-1.267z" class="cls-1"/></svg>'},Of={name:"t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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 0 0-1.477.291 2.26 2.26 0 0 0-.563 1.36l-.038.196h-.797L3.704 3h8.6l.092 2.925h-.784l-.021-.095a2.8 2.8 0 0 0-.589-1.466c-.147-.131-.523-.286-1.48-.286H8.96V11.2c0 .679.138.819.165.84a2.1 2.1 0 0 0 1.01.213l.223.018V13Z" class="cls-1"/></svg>'},Rf={name:"tablet_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.5 2h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5M8 13.25a.75.75 0 1 1 .75-.75.75.75 0 0 1-.75.75M12 11H4V3h8Z" class="cls-1"/></svg>'},Ff={name:"tag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path d="M8.044 3.588 5.23 3 3 5.229l.588 2.816L8.543 13 13 8.543ZM6.5 6.499a1.082 1.082 0 1 1-.013-1.516A1.07 1.07 0 0 1 6.499 6.5" class="cls-1"/></svg>'},Nf={name:"tags_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path d="M8.044 2.338 5.23 1.75 3 3.979l.588 2.816 4.955 4.955L13 7.293ZM6.5 5.249a1.082 1.082 0 1 1-.013-1.516 1.07 1.07 0 0 1 .013 1.516m6.251 4.794L8.543 14.25 4.257 9.964l-.283-1.369 4.569 4.57L12.207 9.5Z" class="cls-1"/></svg>'},Pf={name:"target_crosshairs_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 6.01a2 2 0 1 0 2 2 2 2 0 0 0-2-2m4.9.99A5 5 0 0 0 9 3.1V1H7v2.1A5 5 0 0 0 3.1 7H1v2h2.1A5 5 0 0 0 7 12.9V15h2v-2.1A5 5 0 0 0 12.9 9H15V7ZM8 12a4 4 0 1 1 4-4 4.005 4.005 0 0 1-4 4" class="cls-1"/></svg>'},Lf={name:"target_crosshairs_progress_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M15 7v2h-2.1A5 5 0 0 1 9 12.9V15H7v-2.108a4.99 4.99 0 0 1-3.898-3.985l-1.52.583 2.003-4 1.998 4L4.11 8.9A3.999 3.999 0 1 0 7 4.13V1h2v2.1A5 5 0 0 1 12.9 7Zm-5 1.01a2 2 0 1 1-2-2 2 2 0 0 1 2 2" class="cls-1"/></svg>'},zf={name:"three_circles_ascending_container_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 4H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M4 8.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5m3 .5a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5m4 .5a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5" class="cls-1"/></svg>'},Hf={name:"three_dots_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 6.5A1.5 1.5 0 1 1 6.5 8 1.5 1.5 0 0 1 8 6.5M.5 8A1.5 1.5 0 1 0 2 6.5 1.5 1.5 0 0 0 .5 8m12 0A1.5 1.5 0 1 0 14 6.5 1.5 1.5 0 0 0 12.5 8" class="cls-1"/></svg>'},Vf={name:"three_vertical_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 3h2v10h-2zM7 3h2v10H7zM3 3h2v10H3z" class="cls-1"/></svg>'},Bf={name:"thumbtack_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m10 7-.625-5H10V1H5v1h.625L5 7a2 2 0 0 0-2 2h4v4l.5 2 .5-2V9h4a2 2 0 0 0-2-2" class="cls-1"/></svg>'},qf={name:"tile_size_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 8h6v6H2Zm0-6v5h2V4h8v8H9v2h5V2Z" class="cls-1"/></svg>'},Uf={name:"times_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 9.103 5.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 12z" class="cls-1"/></svg>'},jf={name:"trash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10 4V2H6v2H3v2h1v8h8V6h1V4Zm-3 9H6V6h1Zm2-9H7V3h2Zm1 9H9V6h1Z" class="cls-1"/></svg>'},Wf={name:"triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2 2 14h12Zm0 4.875 2.438 4.875H5.586Z" class="cls-1"/></svg>'},Gf={name:"triangle_filled_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2 2 14h12z" class="cls-1"/></svg>'},Zf={name:"triangle_two_lines_horizontal",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.625 8 8 2l4.375 6zM14 12H2v2h12zm0-3H2v2h12z" class="cls-1"/></svg>'},Kf={name:"true_false_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.4 3.003H2.6a1.6 1.6 0 0 0-1.6 1.6v6.8a1.595 1.595 0 0 0 1.6 1.594h10.8a1.595 1.595 0 0 0 1.6-1.594v-6.8a1.6 1.6 0 0 0-1.6-1.6M7.587 6.58H6.141v3.736H4.946V6.58H3.5v-.896h4.087Zm4.913 0h-2.13v.862h1.974v.896H10.37v1.978H9.181V5.684H12.5Z" class="cls-1"/></svg>'},Xf={name:"two_squares_in_brackets",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 4h5v5H4zm6 3v3H7v2h5V7zM5 3V2H2v12h3v-1H3V3zm8-1h-2v1h2v10h-2v1h3V2z" class="cls-1"/></svg>'},Yf={name:"two_triangles_between_lines",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.11 2.11v12h2v-12zm12 0v12h2v-12zm-6 8.974-3-3 3-3zm1.925-5.948 3 3-3 3z" class="cls-1"/></svg>'},Jf={name:"unlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.126 8.585c-.581.123-1.117.241-1.362.303a1.55 1.55 0 0 0-1.182 1.51l.01.155.021.193a1.7 1.7 0 0 0 .216.54l.02.038.105.134.127.144.054.047a1.5 1.5 0 0 0 .992.36h.049a1.3 1.3 0 0 0 .224-.034l.03.015.006-.001q.694-.134 1.387-.287l.343 1.538c-.488.11-.976.221-1.467.314a3 3 0 0 1-.571.053 3.15 3.15 0 0 1-2.99-2.258l-.011-.045a3 3 0 0 1-.076-.35 3 3 0 0 1-.03-.206l-.004-.089a3 3 0 0 1-.016-.336A3.16 3.16 0 0 1 4.35 7.356c.272-.068.808-.203.802-.206l.623-.137Zm4.31-1.544-.353 1.575c.737.176 1.38.334 1.413.346a1.51 1.51 0 0 1 .789.768l.029.066.053.185.038.164.002.045a1.7 1.7 0 0 1-.035.58l-.064.185-.056.142a1.55 1.55 0 0 1-1.4.893 1.7 1.7 0 0 1-.313-.03 55 55 0 0 1-1.15-.24l-.347 1.55.406.097-.013-.017c.276.057.55.118.826.173a3 3 0 0 0 .578.056 3.19 3.19 0 0 0 2.811-1.74 3 3 0 0 0 .129-.311l.033-.083.061-.197a3 3 0 0 0 .082-.351l.008-.044a3.13 3.13 0 0 0-2.281-3.513c-.297-.077-.777-.19-1.245-.299M7.932 2.393 6.875 6.075h.75l.3 3.032 1.2-3.782h-.75Z" class="cls-1"/></svg>'},Qf={name:"unlock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.062 8V5.986a2.4 2.4 0 0 1 .566-1.516A1.83 1.83 0 0 1 8 4a1.883 1.883 0 0 1 2 2h2a3.89 3.89 0 0 0-4-4 3.82 3.82 0 0 0-2.81 1.078A4.35 4.35 0 0 0 4.062 6v2H3v6h10V8Z" class="cls-1"/></svg>'},em={name:"up_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 10.828V12H4V8h1.172l2-2H2v8h8V8.828z" class="cls-1"/><path d="m14.042 1.97-2.063 6.281-.49-2.344-4.117 4.122-1.414-1.414 4.102-4.102-2.324-.504z" class="cls-1"/></svg>'},tm={name:"upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 9v5H2V9h1v4h10V9ZM7.982 2 5 7.9l2.004-1.312L7 11h2V6.613L11 7.9Z" class="cls-1"/></svg>'},nm={name:"user_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.004 2a2.18 2.18 0 0 1 2.184 2.182v1.09c.647 0 .378.932 0 1.455a4 4 0 0 1-.335.364 9 9 0 0 1-.31.742l.208 1.076h.437l2.75 1.527A2.15 2.15 0 0 1 14 12.291V14H2v-1.673a2.16 2.16 0 0 1 1.063-1.869l2.758-1.55h.437l.21-1.068a9 9 0 0 1-.312-.749 4 4 0 0 1-.335-.364c-.378-.523-.647-1.454 0-1.454v-1.09A2.18 2.18 0 0 1 8.004 2" class="cls-1"/></svg>'},im={name:"watch_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.57 7.28-.06.013a4.56 4.56 0 0 0-1.38-2.609V3.44a.48.48 0 0 0-.48-.48h-.48V2H5.85v.96h-.48a.48.48 0 0 0-.48.48v1.24a4.545 4.545 0 0 0 0 6.64v1.24a.48.48 0 0 0 .48.48h.48V14h4.32v-.96h.48a.48.48 0 0 0 .48-.48v-1.24a4.55 4.55 0 0 0 1.379-2.612l.061.012a.48.48 0 0 0 .48-.48v-.48a.48.48 0 0 0-.48-.48m-2.3 2.662a1.6 1.6 0 0 0-.182-.26L8.747 8.338a.79.79 0 0 0 0-.666c.132-.133.894-.899.965-1a1.2 1.2 0 0 0 .14-.485 1 1 0 0 0-.515.157l-.955.957a.784.784 0 1 0 0 1.408c.163.167.956.974 1.236 1.254a1.5 1.5 0 0 0 .36.276 3.055 3.055 0 1 1 .291-.297" class="cls-1"/></svg>'},om={name:"waveform_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.77 11.225c-1.582 0-2.076-1.262-2.512-2.376l-.17-.426a26 26 0 0 1-.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.443q.123.308.221.572c.345.905.427 1.03.684 1.03.259 0 .409-.317.742-1.157q.119-.303.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.472" class="cls-1"/></svg>'},sm={name:"webvi_custom_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m4.089 2.526h-1.868a5.6 5.6 0 0 0-.854-1.712 5.36 5.36 0 0 1 2.722 1.712m-2.722 8.66a5.6 5.6 0 0 0 .854-1.712h1.868a5.36 5.36 0 0 1-2.722 1.712m3.181-2.344h-2.146a11 11 0 0 0 .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 5 0 0 0 .663 1.21 5.36 5.36 0 0 1-2.722-1.712h.317a1 1 0 0 1-.017-.17v-.462h-.76a5.3 5.3 0 0 1-.804-2.526h1.564v-.632H2.646a5.3 5.3 0 0 1 .805-2.526h.759V4.69a1 1 0 0 1 .016-.164h-.316a5.36 5.36 0 0 1 2.722-1.712 5 5 0 0 0-.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.344a11 11 0 0 0-.208-1.186h2.146a5.3 5.3 0 0 1 .804 2.526h-.67a.92.92 0 0 1-.001.632h.671a5.3 5.3 0 0 1-.804 2.526M12.105 8a.33.33 0 0 1-.19.296l-6.598 3.3-.148.036a.327.327 0 0 1-.327-.328V4.69a.327.327 0 0 1 .492-.281l6.595 3.302a.33.33 0 0 1 .176.29" class="cls-1"/></svg>'},rm={name:"webvi_host_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m4.09 2.526H10.22a5.6 5.6 0 0 0-.854-1.712 5.36 5.36 0 0 1 2.722 1.712m-2.723 8.66a5.6 5.6 0 0 0 .854-1.712h1.868a5.36 5.36 0 0 1-2.722 1.712m3.181-2.344h-2.146a11 11 0 0 0 .208-1.187L9.923 10a10 10 0 0 1-.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 5 0 0 0 .663 1.21 5.36 5.36 0 0 1-2.722-1.712h.317a1 1 0 0 1-.017-.17v-.462h-.76a5.3 5.3 0 0 1-.804-2.526H4.21v-.632H2.647a5.3 5.3 0 0 1 .805-2.526h.759V4.69a1 1 0 0 1 .016-.164h-.316a5.36 5.36 0 0 1 2.722-1.712 5 5 0 0 0-.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.344a11 11 0 0 0-.208-1.186h2.146a5.3 5.3 0 0 1 .804 2.526h-.67a.92.92 0 0 1-.001.632h.671a5.3 5.3 0 0 1-.804 2.526m-.619-3.131L5.334 4.409a.327.327 0 0 0-.492.281v6.613a.327.327 0 0 0 .327.328l.148-.035 6.598-3.3a.326.326 0 0 0 .014-.585m-6.087 2.505V5.78L10.274 8Z" class="cls-1"/></svg>'},am={name:"window_code_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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" class="cls-1"/></svg>'},lm={name:"window_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V5h10ZM7 8H4V6h3Zm5 2H4V9h8Zm0 2H4v-1h8Z" class="cls-1"/></svg>'},cm={name:"wrench_hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.286 11.714-5.791-5.79a2.5 2.5 0 0 0 .17-.755 2.2 2.2 0 0 0-.095-.814 2.1 2.1 0 0 0-.55-.904 2.33 2.33 0 0 0-1.76-.685h-.045a2.1 2.1 0 0 0-.718.155l1.102 1.104.32.32.244.245a1.86 1.86 0 0 1-.22.854 1 1 0 0 1-.114.145 1.65 1.65 0 0 1-1.003.335L2.61 4.704l-.449-.449a2 2 0 0 0-.135.545l-.015.105a2.34 2.34 0 0 0 .384 1.518 2.5 2.5 0 0 0 .295.36 2.2 2.2 0 0 0 1.576.65 2.5 2.5 0 0 0 .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" class="cls-1"/></svg>'},dm={name:"xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 4.667 9.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" class="cls-1"/></svg>'},hm={name:"xmark_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.033 14.026 4.9 10.866 6.277 9.53l1.744 1.81 4.562-4.507 1.307 1.363Zm1.155-10.68-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" class="cls-1"/></svg>'},um=G`<div
|
|
2302
|
+
const Nh="nimble-button",Ph={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 7H9V3H7v4H3v2h4v4h2V9h4z" class="cls-1"/></svg>'},Lh={name:"arrow_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M9 2v6.207l2.5-1.188L8.021 14 4.5 7.019 7 8.207V2z"/></svg>'},zh={name:"arrow_down_left_and_arrow_up_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m2.007 13.171 2.247-2.276-2.284-.447 5.246-1.732-1.753 5.217-.456-2.284-2.26 2.291zM13.194 2l-2.261 2.29-.456-2.283-1.753 5.217 5.246-1.732-2.284-.447 2.247-2.276z" class="cls-1"/></svg>'},Vh={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 d="m13.171 13.933-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" class="cls-1"/></svg>'},Hh={name:"arrow_expander_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m3.5 4.737 1.11-.732 3.357 5.472L11.397 4l1.103.743L7.955 12z" class="cls-1"/></svg>'},Bh={name:"arrow_expander_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m11.263 3.5.732 1.11-5.472 3.357L12 11.397l-.743 1.103L4 7.955z" class="cls-1"/></svg>'},qh={name:"arrow_expander_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m4.737 12.5-.732-1.11 5.472-3.357L4 4.603 4.743 3.5 12 8.045z" class="cls-1"/></svg>'},Uh={name:"arrow_expander_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.5 11.263-1.11.732-3.357-5.472L4.603 12 3.5 11.257 8.045 4z" class="cls-1"/></svg>'},jh={name:"arrow_in_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.5 5.25a3.24 3.24 0 0 0-2.738 1.513L11.236 8.5l-3.474 1.737A3.24 3.24 0 0 0 10.5 11.75a3.25 3.25 0 0 0 0-6.5" class="cls-1"/><path d="m4 6 1 2H2v1h3l-1 2 5-2.5z" class="cls-1"/></svg>'},Wh={name:"arrow_left_from_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 14h2V2h-2ZM2 7.982 7.9 5 6.588 7.004 11 7v2H6.613L7.9 11Z" class="cls-1"/></svg>'},Gh={name:"arrow_out_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m9 6 1 2H7v1h3l-1 2 5-2.5z" class="cls-1"/><path d="M6 10V7h2.367A3.24 3.24 0 0 0 5.5 5.25a3.25 3.25 0 0 0 0 6.5c1.25 0 2.324-.714 2.867-1.75z" class="cls-1"/></svg>'},Zh={name:"arrow_partial_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 11.988a3.086 3.086 0 0 0 3.143-3.025 3.08 3.08 0 0 0-3.085-3.02v.088l.826 2.067-5.598-2.796L8.884 2.5l-.742 1.932a4.62 4.62 0 0 1 4.572 4.53A4.63 4.63 0 0 1 8 13.5Z" class="cls-1"/></svg>'},Kh={name:"arrow_right_to_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 14h2V2h-2Zm-6.9-3 1.287-2H2V7l4.412.004L5.1 5 11 7.982Z" class="cls-1"/></svg>'},Xh={name:"arrow_rotate_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.9 2.773v1.715a3.366 3.366 0 0 1 3.3 3.428 3.366 3.366 0 0 1-3.3 3.429 3.36 3.36 0 0 1-3.293-3.366h.095l2.255.901-3.05-6.107L1.85 8.88l2.108-.808A5.04 5.04 0 0 0 8.9 13.059a5.05 5.05 0 0 0 4.95-5.143A5.05 5.05 0 0 0 8.9 2.773" class="cls-1"/></svg>'},Yh={name:"arrow_u_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.857 9.453-2.571-1.68v.908a3 3 0 0 0 3 3 3 3 0 0 0 3-3V3.11H14v5.571a4.714 4.714 0 0 1-4.714 4.715A4.714 4.714 0 0 1 4.57 8.68v-.908L2 9.453l3.403-6.849Z" class="cls-1"/></svg>'},Jh={name:"arrow_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M7 14V7.793L4.5 8.981 7.979 2 11.5 8.981 9 7.793V14z"/></svg>'},Qh={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 d="m4.195 4.977-.451 2.296L2 2l5.256 1.762-2.301.458 6.849 6.803.452-2.296L14 14l-5.256-1.762 2.301-.458z" class="cls-1"/></svg>'},eu={name:"arrow_up_right_and_arrow_down_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m11.023 4.195-2.296-.45L14 2l-1.762 5.256-.458-2.301-6.803 6.85 2.296.45L2 14l1.762-5.256.458 2.301z" class="cls-1"/></svg>'},tu={name:"arrow_up_right_from_square",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.042 2.97-2.063 6.281-.49-2.344-4.117 4.122-1.414-1.414L9.06 5.513 6.736 5.01zM12 9v3H4V4h3V3H3v10h10V9z" class="cls-1"/></svg>'},nu={name:"arrows_maximize_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.26 8.735 14 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.03z" class="cls-1"/></svg>'},iu={name:"arrows_repeat_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.75 11.75 10 14l-6-3 6-3-1.25 2.25ZM8 11h1a4 4 0 0 0 4-4M7.25 5.75 6 8l6-3-6-3 1.25 2.25ZM8 5H7a4 4 0 0 0-4 4" class="cls-1"/></svg>'},ou={name:"at_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M12.139 3.621a5.5 5.5 0 0 1 1.206 1.845q.435 1.074.436 2.407 0 .961-.275 1.954t-.687 1.646H9.343l-.11-.536a4.6 4.6 0 0 1-.756.415q-.364.155-1.051.155-1.12 0-1.813-.924t-.694-2.49q0-.837.234-1.467.234-.628.639-1.095.377-.44.914-.687a2.5 2.5 0 0 1 1.064-.248q.453 0 .804.169.35.168.543.353v-.425h1.594v5.605h1.168q.248-.543.368-1.178.12-.636.12-1.22 0-1.161-.323-2.036-.322-.877-.892-1.453a3.7 3.7 0 0 0-1.366-.879 4.9 4.9 0 0 0-1.697-.289q-.871 0-1.657.343a4.6 4.6 0 0 0-1.383.928q-.61.598-.992 1.497c-.382.899-.381 1.257-.381 1.972q0 1.167.36 2.068.36.9.958 1.497.596.59 1.386.9a4.5 4.5 0 0 0 1.668.309q.583 0 1.328-.106a9 9 0 0 0 1.321-.279v1.333q-.64.144-1.271.22-.633.074-1.381.075a6.1 6.1 0 0 1-2.325-.433 5.4 5.4 0 0 1-1.852-1.23 5.6 5.6 0 0 1-1.212-1.91 6.7 6.7 0 0 1-.436-2.444q0-1.278.453-2.366a5.9 5.9 0 0 1 1.25-1.9A5.7 5.7 0 0 1 5.781 2.46 5.8 5.8 0 0 1 8.079 2q1.209 0 2.257.426a5.3 5.3 0 0 1 1.803 1.195M9.082 9.652V6.19a3 3 0 0 0-.522-.21 2 2 0 0 0-.543-.065q-.66 0-1.017.577c-.357.577-.357.912-.357 1.58q0 1.085.295 1.607.296.522.975.522.357 0 .625-.141.269-.14.544-.408"/></svg>'},su={name:"bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 13v-2h12v2Zm0-4V7h12v2Zm0-4V3h12v2Z" class="cls-1"/></svg>'},ru={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 14a2.05 2.05 0 0 1-2-2h4a2.05 2.05 0 0 1-2 2m-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" class="cls-1"/></svg>'},au={name:"bell_and_comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.836 4.75H9.57a.71.71 0 0 0-.71.71v2.032a.71.71 0 0 0 .71.711h.356L9.57 9.625l2.488-1.422h1.778a.71.71 0 0 0 .71-.71V5.46a.71.71 0 0 0-.71-.711M8.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 0 0-1.71 1.71v2.032a1.71 1.71 0 0 0 .844 1.475ZM6 12h4a2.05 2.05 0 0 1-2 2 2.05 2.05 0 0 1-2-2m7.25-1H9.18l2.868-1.64c.198.527.431.894.702.894.5 0 .5.746.5.746" class="cls-1"/></svg>'},lu={name:"bell_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.042 11h2a1 1 0 0 1-2 0m4.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.497m-3.5-7.5a5.5 5.5 0 1 1-5.5 5.5 5.506 5.506 0 0 1 5.5-5.5m0-1a6.5 6.5 0 1 0 6.5 6.5 6.5 6.5 0 0 0-6.5-6.5" class="cls-1"/></svg>'},cu={name:"bell_solid_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.5 8A6.5 6.5 0 0 0 8 14.5 6.5 6.5 0 0 0 14.5 8 6.5 6.5 0 0 0 8 1.5 6.5 6.5 0 0 0 1.5 8M8 12a1.025 1.025 0 0 1-1-1h2a1.025 1.025 0 0 1-1 1m-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" class="cls-1"/></svg>'},du={name:"block_with_ribbon_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v10h4.762A4.496 4.496 0 0 1 13 5.762V2Zm12 7.5a3.5 3.5 0 1 0-6 2.442V14l2.5-1.667L13 14v-2.058A3.49 3.49 0 0 0 14 9.5M10.5 8A1.5 1.5 0 1 1 9 9.5 1.5 1.5 0 0 1 10.5 8" class="cls-1"/></svg>'},hu={name:"bold_b_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M12.981 10.536q0 .843-.34 1.508c-.34.665-.538.81-.934 1.102a4.3 4.3 0 0 1-1.512.734q-.825.219-2.09.219H3.028V2.466h4.516q1.407 0 2.059.094a4.2 4.2 0 0 1 1.293.414q.664.336.988.902t.324 1.293q0 .844-.445 1.488c-.445.644-.716.765-1.258 1.004v.062q1.14.227 1.809.938c.669.711.667 1.099.667 1.875M9.137 5.755q0-.289-.145-.578t-.512-.43a2.5 2.5 0 0 0-.815-.137 68 68 0 0 0-1.372-.011h-.281V7.06h.469q.71 0 1.211-.023.5-.024.789-.157.406-.18.531-.465t.125-.66m.727 4.734q0-.555-.214-.855c-.214-.3-.387-.351-.73-.449q-.35-.102-.966-.11c-.616-.008-.84-.008-1.287-.008h-.655v2.898h.218q1.263 0 1.809-.008a2.7 2.7 0 0 0 1.006-.203q.468-.196.643-.52a1.53 1.53 0 0 0 .176-.745"/></svg>'},uu={name:"book_magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 10c0-.347.058-.678.142-1H5V8h1.556c.22-.378.498-.714.826-1H5V6h5c.732 0 1.41.212 2 .556V2H3v11h4.382A3.98 3.98 0 0 1 6 10M5 4h5v1H5z" class="cls-1"/><path d="m9.99 7.01-.076.002a3 3 0 1 0 1.799 5.452l1.593 1.53.69-.725-1.58-1.516a2.97 2.97 0 0 0 .57-1.816A3 3 0 0 0 9.99 7.01M10 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2" class="cls-1"/></svg>'},pu={name:"calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM6 9H4V7h2zm3-2H7v2h2zm3 0h-2v2h2zm-6 3H4v2h2zm3 0H7v2h2z" class="cls-1"/></svg>'},fu={name:"calendar_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10z" class="cls-2"/><path d="M5.743 11 4 9.242l.766-.742.97 1.007L8.273 7 9 7.758zM10 8h2v1h-2zM8 10h4v1H8z" class="cls-1"/></svg>'},mu={name:"calendar_day_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM6 9H4V7h2z" class="cls-1"/></svg>'},gu={name:"chart_diagram_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3Z" class="cls-1"/></svg>'},vu={name:"chart_diagram_child_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3Zm-8 2H3v-1h1Zm4 0H7v-1h1Zm4 0h-1v-1h1Z" class="cls-1"/></svg>'},bu={name:"chart_diagram_parent_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3ZM7 4V3h1v1Z" class="cls-1"/></svg>'},yu={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 d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3Zm-6 2H4v-1h1Zm6 0h-1v-1h1Z" class="cls-1"/></svg>'},wu={name:"check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 5.287 6.182 12 3 8.867l1.363-1.343L6.24 9.37 11.693 4Z" class="cls-1"/></svg>'},xu={name:"check_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="12.5" cy="11.5" r="1.5" class="cls-1"/><path d="m14 4.693-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545Z" class="cls-2"/></svg>'},Cu={name:"check_large_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m14 4.693-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545z" class="cls-1"/></svg>'},ku={name:"circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m0 9.429A3.429 3.429 0 1 1 11.429 8 3.43 3.43 0 0 1 8 11.429" class="cls-1"/></svg>'},Su={name:"circle_filled_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="4" class="cls-1"/></svg>'},$u={name:"circle_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 14A6.1 6.1 0 0 1 7 2v2.686a3.475 3.475 0 0 0 0 6.628ZM9 2v2.686a3.475 3.475 0 0 1 0 6.628V14A6.1 6.1 0 0 0 9 2" class="cls-1"/></svg>'},Mu={name:"circle_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m-1.212 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013Z" class="cls-1"/></svg>'},Eu={name:"circle_partial_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 2v2.686a3.475 3.475 0 0 1 0 6.628V14A6.1 6.1 0 0 0 9 2" class="cls-1"/><path d="M7 11.314a3.475 3.475 0 0 1 0-6.628V2a6.1 6.1 0 0 0 0 12Z" class="cls-2"/></svg>'},Iu={name:"circle_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.075 1.714a4.281 4.281 0 0 1 3.573 6.647L5.714 4.427a4.26 4.26 0 0 1 2.36-.713M3.789 8a4.26 4.26 0 0 1 .713-2.36l5.934 5.933A4.281 4.281 0 0 1 3.789 8" class="cls-1"/></svg>'},_u={name:"circle_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.075 1.714a4.26 4.26 0 0 1 2.409.743l-2.37 2.37-2.4-2.4a4.26 4.26 0 0 1 2.36-.713M4.502 5.64l2.4 2.4-2.37 2.37a4.27 4.27 0 0 1-.03-4.77m3.573 6.647a4.26 4.26 0 0 1-2.31-.685l2.349-2.35 2.322 2.322a4.26 4.26 0 0 1-2.361.713m3.573-1.925L9.326 8.039l2.35-2.349a4.25 4.25 0 0 1-.028 4.67" class="cls-1"/></svg>'},Tu={name:"clipboard_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 5H5a2 2 0 0 1 2-2V2a1 1 0 0 1 2 0v1a2 2 0 0 1 2 2m1-2v9H4V3H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1Zm-2 4H5v1h5ZM8 9H5v1h3Z" class="cls-1"/></svg>'},Au={name:"clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.576 4.87 1.555-1.557a1.64 1.64 0 0 1 .84-.256 2 2 0 0 1-.23.791c-.115.163-1.356 1.41-1.571 1.626a1.28 1.28 0 0 1 0 1.085l2.376 2.38a1.6 1.6 0 0 1 .458 1.072 1.62 1.62 0 0 1-1.222-.613c-.456-.456-1.94-1.963-2.207-2.235a1.275 1.275 0 1 1 0-2.293" class="cls-1"/></svg>'},Du={name:"clock_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.108 7.392.955-.957a1 1 0 0 1 .516-.157 1.2 1.2 0 0 1-.14.486c-.072.1-.834.866-.966.999a.79.79 0 0 1 0 .666l1.341 1.344a.98.98 0 0 1 .281.658 1 1 0 0 1-.75-.376c-.28-.28-1.073-1.088-1.237-1.255a.783.783 0 1 1 0-1.408m5.69 2.292L14 7.324l-1.327-.113a4.8 4.8 0 0 0-.402-1.26l1.02-.86-1.527-1.811-1.019.86a5 5 0 0 0-.563-.344 5 5 0 0 0-.612-.265l.114-1.329L7.324 2l-.113 1.329a4.8 4.8 0 0 0-1.26.401l-.86-1.02L3.28 4.237l.858 1.02A4.8 4.8 0 0 0 3.53 6.43l-1.329-.114L2 8.676l1.329.114a4.7 4.7 0 0 0 .401 1.26l-1.02.86 1.526 1.811 1.02-.859a4.7 4.7 0 0 0 1.175.608l-.113 1.33 2.358.2.114-1.328a4.7 4.7 0 0 0 1.26-.4l.86 1.02 1.81-1.527-.858-1.02a4.7 4.7 0 0 0 .608-1.175ZM8 11.45A3.45 3.45 0 1 1 11.45 8 3.45 3.45 0 0 1 8 11.45" class="cls-1"/></svg>'},Ou={name:"clock_exclamation_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.821 5.114h1.357V6H2.82zM2.798 1l.155 3.56h1.094L4.202 1zm7.481 2.575h.001l-.013-.007a5 5 0 0 0-.606-.262 5 5 0 0 0-.523-.163 5 5 0 0 0-.286-.055A4.7 4.7 0 0 0 8 3q-.023.002-.045.005a5 5 0 0 0-.785.079c-.097.016-.194.03-.29.052a5 5 0 0 0-.575.179c-.48.174-.907.438-1.305.74V7H3.109l-.017.092a5 5 0 0 0-.088.87Q3.002 7.98 3 8c0 .293.036.575.088.852q.023.143.055.285.068.273.165.532.11.308.259.595l.007.016h.001c.83 1.608 2.49 2.72 4.426 2.72C10.762 13 13 10.762 13 8c0-1.935-1.112-3.594-2.72-4.425m-.275 7.041c-.38-.38-1.454-1.473-1.675-1.699a1.06 1.06 0 0 1-1.523-.953 1.06 1.06 0 0 1 1.523-.954l1.293-1.296c.117-.117.509-.213.7-.213 0 .128-.085.51-.191.658-.097.136-1.128 1.173-1.308 1.353a1.06 1.06 0 0 1 0 .903l1.816 1.82s.445.466.382.89c-.297 0-.594-.085-1.017-.509" class="cls-1"/></svg>'},Ru={name:"clock_triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 3a4.95 4.95 0 0 0-2.152.505L7.096 6H3.422A4.997 4.997 0 1 0 8 3m2.003 7.616a454 454 0 0 1-1.675-1.7 1.061 1.061 0 1 1 0-1.907l1.294-1.297a1.36 1.36 0 0 1 .699-.212 1.65 1.65 0 0 1-.19.658c-.097.136-1.13 1.173-1.309 1.353a1.06 1.06 0 0 1 0 .903l1.817 1.82a1.33 1.33 0 0 1 .381.891 1.35 1.35 0 0 1-1.017-.51" class="cls-1"/><path d="M5.477 5H1.522L3.5 1.045z" class="cls-2"/></svg>'},Fu={name:"clone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Z" class="cls-1"/></svg>'},Nu={name:"cloud_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.08 11.977a5.1 5.1 0 0 1-1.295-.2C2.754 11.46 1.883 10.2 1.883 9.022a2.963 2.963 0 0 1 2.63-2.937A4.2 4.2 0 0 1 8.432 3.48a4.254 4.254 0 0 1 4.249 4.17 2.25 2.25 0 0 1 1.437 2.09 2.24 2.24 0 0 1-2.238 2.237l-4.947.003c-1.01 0-1.79-.001-1.853-.003m-.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 0 0 0-1.799.9.9 0 0 0-.337.067l-.493.202.159-.508q.134-.425.134-.872a2.914 2.914 0 0 0-2.91-2.911 2.9 2.9 0 0 0-2.87 2.436l-.043.268-.264-.067a1.6 1.6 0 0 0-.403-.051" class="cls-1"/></svg>'},Pu={name:"cloud_upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.476 7.298-1.927 3.848 1.48-.568v3.407h.948v-3.407l1.42.568ZM15 9.005a2.374 2.374 0 0 1-2.371 2.371h-.998l-.5-1h1.498a1.371 1.371 0 1 0-.516-2.64A3.77 3.77 0 1 0 4.797 5.99 2.238 2.238 0 0 0 2 8.148a2.223 2.223 0 0 0 2.057 2.22l1.758.009-.448.894a10.6 10.6 0 0 1-2.31-.121 3.224 3.224 0 0 1 .993-6.225 4.77 4.77 0 0 1 9.236 1.68q0 .06-.002.121A2.375 2.375 0 0 1 15 9.006" class="cls-1"/></svg>'},Lu={name:"cloud_with_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.429 10.1.001-.101A3.998 3.998 0 0 0 4.69 8.59a2.715 2.715 0 0 0-2.557 2.7 2.78 2.78 0 0 0 1.725 2.516 4.9 4.9 0 0 0 1.225.19h.004c.19.006 6.792 0 6.792 0a1.987 1.987 0 0 0 .55-3.897m-.55 3.06-7.183-.008a1.867 1.867 0 0 1 .156-3.728 2 2 0 0 1 .464.06 3.16 3.16 0 1 1 6.13 1.462 1.149 1.149 0 1 1 .433 2.213M4.5 4.5a1 1 0 1 1 1-1 1 1 0 0 1-1 1m5.138.681.496-1.241H7v-.828h3.134l-.496-1.293L13 3.502Z" class="cls-1"/></svg>'},zu={name:"cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.823 2-2.217.914.516 1.25a4.7 4.7 0 0 0-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.8 4.8 0 0 0-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.8 4.8 0 0 0 .945.949l-.518 1.247 2.214.921.519-1.246a5 5 0 0 0 .674.048 5 5 0 0 0 .666-.047L9.176 14l2.218-.914-.515-1.248a4.8 4.8 0 0 0 .95-.945l1.245.518.922-2.214-1.247-.519a4.7 4.7 0 0 0 .002-1.34L14 6.824l-.914-2.218-1.25.515a4.7 4.7 0 0 0-.944-.949l.518-1.246-2.212-.922-.52 1.247a5 5 0 0 0-.676-.049 5 5 0 0 0-.663.047Zm1.175 9a2.999 2.999 0 1 1 2.77-1.847 2.98 2.98 0 0 1-2.77 1.846M8 6.801a1.2 1.2 0 1 0 .46.093A1.2 1.2 0 0 0 8 6.8" class="cls-1"/></svg>'},Vu={name:"cog_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.147 11.648q-.015.01-.032.02a4 4 0 0 1-.46.224l-.012.005q-.05.022-.103.042c-.051.019-.11.036-.162.055-.094.034-.186.068-.285.099-.034.01-.064.024-.1.033q-.03.01-.062.019-.279.078-.58.144l-.133.03q-.324.068-.668.12l-.135.02q-.32.045-.653.079l-.103.012a18 18 0 0 1-.903.06q-.381.016-.759.018a19 19 0 0 1-1.66-.078l-.105-.012a16 16 0 0 1-.65-.08l-.134-.018q-.346-.053-.67-.122l-.132-.029a9 9 0 0 1-.582-.145l-.059-.017q-.052-.016-.1-.034a7 7 0 0 1-.285-.1c-.054-.018-.112-.035-.165-.055l-.101-.041-.01-.005a4 4 0 0 1-.462-.223l-.03-.02a2.3 2.3 0 0 1-.334-.24c-.014-.012-.033-.022-.045-.033v1.013c0 .364.524.749 1.427 1.051q.155.053.326.1.177.051.371.098a14.8 14.8 0 0 0 3.4.362 14.8 14.8 0 0 0 3.403-.362 8 8 0 0 0 .697-.197c.904-.303 1.43-.688 1.43-1.052v-1.013c-.015.012-.034.022-.047.034a2.5 2.5 0 0 1-.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.052q.155.052.328.1.175.05.37.097a14.8 14.8 0 0 0 3.399.362 14.8 14.8 0 0 0 3.401-.362 8 8 0 0 0 .7-.197c.902-.302 1.428-.687 1.428-1.052M3.931 7.697 2.802 7.6l.171-1.979 1.129.095a4 4 0 0 1 .516-.985l-.729-.856 1.537-1.28.73.855a4 4 0 0 1 1.071-.336L7.323 2l2.004.17-.097 1.114a4 4 0 0 1 .52.223 4 4 0 0 1 .478.288l.866-.721 1.296 1.52-.866.72a4 4 0 0 1 .341 1.058l1.127.095-.133 1.539a10.2 10.2 0 0 0-2.482-.618c.007-.048.021-.094.026-.143a2.48 2.48 0 0 0-1.346-2.416 2.54 2.54 0 0 0-2.938.45 2.41 2.41 0 0 0-.698 2.14 12 12 0 0 0-1.482.311zm4.067-.468c-.331 0-.697.012-1.077.035a1 1 0 0 1-.026-.314 1 1 0 0 1 .292-.618 1.01 1.01 0 0 1 1.174-.18.99.99 0 0 1 .539.967 1 1 0 0 1-.036.132 18 18 0 0 0-.866-.022" class="cls-1"/></svg>'},Hu={name:"cog_database_inset_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.751 7.338 14 6.824l-.914-2.218-1.25.515a4.7 4.7 0 0 0-.944-.949l.518-1.246-2.212-.922-.52 1.247a5 5 0 0 0-.676-.049 5 5 0 0 0-.663.047L6.823 2l-2.217.914.516 1.25a4.7 4.7 0 0 0-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.8 4.8 0 0 0-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.8 4.8 0 0 0 .945.949l-.518 1.247 2.214.921.519-1.246a5 5 0 0 0 .674.048 5 5 0 0 0 .666-.047L9.176 14l2.218-.914-.515-1.248a4.8 4.8 0 0 0 .95-.945l1.245.518.922-2.214-1.247-.519a4.7 4.7 0 0 0 .002-1.34m-1.06 2.418c0 .244-.35.5-.954.703a5 5 0 0 1-.466.131 10 10 0 0 1-2.273.243 10 10 0 0 1-2.271-.243 6 6 0 0 1-.466-.131c-.603-.202-.953-.46-.953-.703V9.08q.013.011.03.023a1.6 1.6 0 0 0 .223.16l.02.013a3 3 0 0 0 .309.15l.006.002.068.028q.054.02.11.037.093.035.19.066.033.012.067.023l.04.011q.185.054.389.098l.087.02q.217.045.448.08l.09.012q.212.03.434.054l.07.008q.244.022.491.035l.112.005a12 12 0 0 0 1.013 0l.11-.005q.248-.012.493-.035l.069-.008q.222-.022.436-.054l.09-.012q.23-.035.447-.08l.088-.02q.202-.045.388-.097l.042-.012.066-.023q.098-.03.19-.066.056-.018.109-.037l.069-.028.007-.003a3 3 0 0 0 .308-.149l.022-.014a2 2 0 0 0 .222-.159l.03-.023Zm0-1.76c0 .243-.35.5-.954.703a5 5 0 0 1-.466.13 10 10 0 0 1-2.273.243 10 10 0 0 1-2.271-.242 5 5 0 0 1-.466-.132c-.603-.202-.953-.459-.953-.703V7.32q.013.011.03.022a1.6 1.6 0 0 0 .223.16l.02.013a3 3 0 0 0 .309.15l.006.003q.034.014.068.027l.11.038q.093.034.19.066.033.011.067.023l.04.011q.185.052.389.097l.087.02q.217.045.448.08l.09.013q.212.03.434.053l.07.008a12 12 0 0 0 1.726.035q.248-.012.493-.035l.069-.008q.222-.023.436-.053l.09-.012q.23-.036.447-.081l.088-.02q.202-.044.388-.097.022-.005.042-.012.033-.01.067-.022.096-.031.19-.066l.108-.037.069-.028.008-.003a3 3 0 0 0 .307-.15l.022-.013a2 2 0 0 0 .222-.16q.015-.01.03-.022Zm-.953-1.05q-.105.034-.22.066-.117.035-.247.065a10 10 0 0 1-2.272.242 10 10 0 0 1-2.271-.242 6 6 0 0 1-.466-.132c-.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.702" class="cls-1"/></svg>'},Bu={name:"cog_small_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.712 5.956a.76.76 0 0 1-.224.477.79.79 0 0 1-.909.139.762.762 0 0 1-.19-1.224.78.78 0 0 1 .907-.14.77.77 0 0 1 .416.748M14 11.61l-.441 1.088-.62-.246a2 2 0 0 1-.232.268 2 2 0 0 1-.23.2l.263.606-1.09.46-.263-.606a2.4 2.4 0 0 1-.662.008l-.248.612-1.1-.435.249-.612a2 2 0 0 1-.256-.215 2.4 2.4 0 0 1-.218-.243l-.614.26-.466-1.077.614-.259a2.3 2.3 0 0 1-.008-.654l-.62-.246.44-1.087.62.246a2.4 2.4 0 0 1 .234-.27 3 3 0 0 1 .229-.198l-.263-.606 1.09-.46.263.605a2.4 2.4 0 0 1 .662-.008l.248-.612 1.1.436-.248.612a2.4 2.4 0 0 1 .473.458l.614-.26.466 1.076-.613.26a2.3 2.3 0 0 1 .008.654Zm-1.934-1.591a1.495 1.495 0 0 0-2.085.011 1.454 1.454 0 0 0 .01 2.081 1.5 1.5 0 0 0 .486.313 1.5 1.5 0 0 0 1.6-.324 1.454 1.454 0 0 0-.01-2.081M9.036 8.33l-1.189.99-.564-.661a3.1 3.1 0 0 1-.827.26l-.075.86-1.547-.13.074-.862a3 3 0 0 1-.77-.394l-.671.557-1.001-1.174.67-.557a3 3 0 0 1-.264-.817L2 6.328 2.132 4.8l.872.074a3 3 0 0 1 .4-.762l-.564-.66 1.188-.99.565.66a3.2 3.2 0 0 1 .827-.26L5.494 2l1.548.131-.074.861a3 3 0 0 1 .402.172 3 3 0 0 1 .369.223l.669-.557L9.41 4.004l-.67.557a3 3 0 0 1 .264.818l.871.073-.132 1.53-.872-.074a3 3 0 0 1-.4.762ZM7.874 6.054a1.92 1.92 0 0 0-1.04-1.868 1.965 1.965 0 0 0-2.27.348 1.907 1.907 0 0 0 .478 3.06 1.965 1.965 0 0 0 2.27-.347 1.9 1.9 0 0 0 .562-1.193m3.376 4.467a.6.6 0 0 0-.64.13.6.6 0 0 0-.131.196.584.584 0 0 0 .33.761.6.6 0 0 0 .64-.13.6.6 0 0 0 .13-.195.58.58 0 0 0-.135-.637.6.6 0 0 0-.194-.125" class="cls-1"/></svg>'},qu={name:"cog_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m14 3.11-1.178-.632-1.875 2.133a5.4 5.4 0 0 0-.716-.094L8.766 2l-2.138.627.2 2.863a5 5 0 0 0-.527.47l-2.77-.738-1.056 1.95L4.656 9.04a5 5 0 0 0-.087.704L2 11.144l.659 2.1 2.914-.197a5 5 0 0 0 .453.525l-.13.427h7.232a.82.82 0 0 0 .87-.759L14 13.2Zm-1.335 7.876a2.877 2.877 0 0 1-3.741 1.477 2.77 2.77 0 0 1-1.51-3.66 2.876 2.876 0 0 1 3.729-1.482 2.76 2.76 0 0 1 1.535 3.637Z" class="cls-1"/></svg>'},Uu={name:"comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 3.5v6a1.5 1.5 0 0 1-1.5 1.5H8.75L3.5 14l.75-3H3.5A1.5 1.5 0 0 1 2 9.5v-6A1.5 1.5 0 0 1 3.5 2h9A1.5 1.5 0 0 1 14 3.5" class="cls-1"/></svg>'},ju={name:"computer_and_monitor_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 12V6H5v6h4v1H7v1h5v-1h-2v-1Zm-8-1V7h7v4Zm1-6H4V4h3Zm1 0V3H3v7h1v3h2v1H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v2Z" class="cls-1"/></svg>'},Wu={name:"copy_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Zm7 7H7V7h6Z" class="cls-1"/></svg>'},Gu={name:"copy_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Zm7 7H7V7h6Zm-1-4H8V8h4Zm-1 2H8v-1h3Z" class="cls-1"/></svg>'},Zu={name:"dashboard_builder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.646 6.646 7 4.293l2 2 1.646-1.646.707.707L9 7.707l-2-2-1.646 1.647ZM14 2v12H2V2ZM8 9H4v3h4Zm4 2H9v1h3Zm0-2H9v1h3Zm0-5H4v4h8zm-5 6H5v1h2Z" class="cls-1"/></svg>'},Ku={name:"dashboard_builder_legend_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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" class="cls-1"/></svg>'},Xu={name:"dashboard_builder_templates_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V3h10Z" class="cls-1"/><path d="M9 9h3v1H9zM12 4H4v4h8Zm-1 3H5V5h6ZM8 9H4v3h4Zm-1 2H5v-1h2ZM9 11h3v1H9z" class="cls-1"/></svg>'},Yu={name:"dashboard_builder_tile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.646 10.646 7 8.293l2 2 1.646-1.646.707.707L9 11.707l-2-2-1.646 1.647ZM14 2v12H2V2ZM4 7h3V4H4Zm8 1H4v4h8zm0-4H8v3h4Z" class="cls-1"/></svg>'},Ju={name:"database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.588 11.46a3 3 0 0 0 .36-.257c.015-.012.036-.023.051-.036v1.093c0 .395-.57.81-1.551 1.137a9.133 9.133 0 0 1-.757.212A16.2 16.2 0 0 1 7.997 14a16 16 0 0 1-3.69-.391 9 9 0 0 1-.757-.213C2.57 13.069 2 12.655 2 12.26v-1.093c.013.013.033.023.049.036a2.6 2.6 0 0 0 .362.26q.017.01.033.02a4 4 0 0 0 .502.241l.01.005.11.046c.058.02.121.039.18.06q.15.055.308.106c.037.012.07.026.11.037.018.006.042.011.063.017.2.06.412.11.633.159l.142.031q.352.073.727.13.073.011.146.02a17 17 0 0 0 .82.1 25 25 0 0 0 .98.065c.273.01.55.019.822.019q.41-.001.824-.02.09-.005.179-.007.403-.022.801-.057l.112-.014q.36-.035.708-.086.073-.009.147-.02.374-.057.725-.13.074-.017.144-.031.328-.072.63-.157.034-.01.069-.02c.037-.01.07-.024.108-.036.107-.034.206-.07.309-.107.057-.02.12-.038.176-.06q.056-.02.111-.045l.013-.005a4 4 0 0 0 .5-.241zm0-2.845-.035.022a5 5 0 0 1-.5.241l-.013.005q-.055.023-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.025-.107.036q-.035.01-.069.02a11 11 0 0 1-.774.187q-.35.075-.725.13-.074.012-.147.021-.348.051-.708.086L9.8 9.59q-.398.037-.801.057l-.18.008q-.413.019-.823.02a19 19 0 0 1-.823-.02l-.18-.008a21 21 0 0 1-.8-.057l-.113-.013q-.36-.035-.706-.086-.073-.008-.146-.02a13 13 0 0 1-1.502-.32c-.021-.006-.045-.01-.063-.017-.04-.012-.073-.025-.11-.037a8 8 0 0 1-.309-.107c-.058-.02-.121-.039-.179-.06l-.11-.045-.01-.005a4 4 0 0 1-.502-.241c-.012-.007-.02-.014-.033-.02a2.5 2.5 0 0 1-.362-.26c-.016-.013-.036-.023-.049-.036v1.093c0 .394.57.81 1.55 1.136q.167.056.354.108.191.054.402.105a16 16 0 0 0 3.691.39 16.2 16.2 0 0 0 3.694-.39 9 9 0 0 0 .757-.213c.98-.327 1.551-.742 1.551-1.136V8.322c-.015.013-.036.024-.05.036a3 3 0 0 1-.361.258m0-2.845-.035.022a5 5 0 0 1-.5.241l-.013.005q-.055.023-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.026-.107.036q-.034.01-.069.02-.302.084-.63.156l-.144.031q-.351.075-.725.132-.074.009-.147.02-.348.049-.708.085l-.112.013a19 19 0 0 1-.98.066q-.414.016-.824.018a21 21 0 0 1-1.802-.084l-.114-.013q-.36-.036-.706-.086l-.146-.02q-.375-.057-.727-.13c-.05-.01-.094-.022-.142-.032q-.33-.072-.633-.157l-.063-.018c-.04-.011-.073-.025-.11-.037a8 8 0 0 1-.309-.107l-.179-.06-.11-.045-.01-.005a4 4 0 0 1-.502-.241c-.012-.007-.02-.014-.033-.02a2.5 2.5 0 0 1-.362-.26C2.033 5.5 2.013 5.488 2 5.476V6.57c0 .394.57.81 1.55 1.136q.167.056.354.108.191.054.402.105a16 16 0 0 0 3.691.39 16.2 16.2 0 0 0 3.694-.39 9 9 0 0 0 .757-.213c.98-.327 1.551-.742 1.551-1.136V5.477c-.015.013-.036.024-.05.036a3 3 0 0 1-.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.135q.168.057.355.11.192.053.402.103a16.2 16.2 0 0 0 3.69.39 16.2 16.2 0 0 0 3.692-.39 9 9 0 0 0 .759-.213C13.429 4.548 14 4.132 14 3.738" class="cls-1"/></svg>'},Qu={name:"database_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.919 12.103a12 12 0 0 1-1.594-.26 8 8 0 0 1-.644-.182c-.835-.28-1.32-.635-1.32-.973v-.936c.011.01.029.02.042.031a2 2 0 0 0 .308.222l.028.018a4 4 0 0 0 .428.206l.009.005.093.038c.049.019.103.034.153.051q.129.048.262.092c.032.01.06.022.094.032l.054.014q.256.075.538.136l.121.027q.301.062.62.111.062.01.124.018.295.042.6.073l.038.005-.613.613Zm-2.238-7.74q.145.049.303.093.163.045.343.09a13.7 13.7 0 0 0 3.142.333 13.7 13.7 0 0 0 3.144-.334 8 8 0 0 0 .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.973m5.047 6.495.008.007.008-.008Zm-5.047-4.07q.142.049.301.093.164.046.343.09a13.7 13.7 0 0 0 3.143.334 13.7 13.7 0 0 0 3.146-.335 8 8 0 0 0 .644-.181c.835-.28 1.321-.636 1.321-.973v-.937c-.013.012-.03.02-.043.032a2.3 2.3 0 0 1-.307.22l-.03.02a4 4 0 0 1-.426.206l-.01.004q-.047.02-.096.039c-.047.017-.101.033-.15.05q-.128.049-.263.092-.046.017-.092.032l-.058.016q-.257.073-.537.134l-.122.027q-.3.063-.618.112l-.124.017q-.297.043-.604.074l-.095.01a16 16 0 0 1-.835.057q-.352.015-.701.016a17 17 0 0 1-1.535-.072l-.097-.011a15 15 0 0 1-.6-.074l-.125-.017q-.319-.05-.62-.112l-.12-.027a9 9 0 0 1-.54-.134q-.028-.008-.053-.016c-.034-.01-.062-.022-.094-.032a7 7 0 0 1-.262-.091c-.05-.018-.104-.034-.153-.052l-.093-.038-.01-.004a4 4 0 0 1-.427-.207l-.028-.017a2 2 0 0 1-.308-.223c-.013-.011-.031-.02-.042-.03v.936c0 .337.485.692 1.32.972m0 2.436q.142.049.301.093.164.046.343.09a13 13 0 0 0 2.644.327l.318-.318.323.324a14.4 14.4 0 0 0 2.473-.222l1.753-1.753-.063.028-.01.004q-.047.02-.096.04c-.047.017-.101.033-.15.05-.087.032-.171.063-.263.091-.032.01-.06.022-.092.032q-.029.008-.058.017a9 9 0 0 1-.66.16q-.298.064-.617.112l-.124.017q-.297.044-.604.074l-.095.011q-.339.03-.682.049l-.153.007q-.352.016-.701.016-.35 0-.7-.016l-.155-.007a17 17 0 0 1-.68-.049l-.097-.011a15 15 0 0 1-.6-.074q-.063-.008-.125-.017a11 11 0 0 1-1.28-.274l-.053-.015c-.034-.01-.062-.021-.094-.032a7 7 0 0 1-.262-.09c-.05-.018-.104-.034-.153-.053q-.046-.017-.093-.038l-.01-.004a4 4 0 0 1-.427-.207l-.028-.017a2 2 0 0 1-.308-.223c-.014-.01-.031-.02-.042-.03v.936c0 .337.485.693 1.32.972m9.269-1.6L8.736 11.84l-1.449-1.45-1.053 1.055 2.458 2.458 5.268-5.268Z" class="cls-1"/></svg>'},ep={name:"debug_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.875 11.673a1 1 0 0 1-2 0c0-.02.01-.038.012-.058l-.741-.494C9.97 12.783 8 14 8 14s-2.003-1.36-3.174-3.027l-.963.642c.002.02.012.037.012.058a1 1 0 1 1-1-1 1 1 0 0 1 .435.109l1.01-.674C4.124 9.685 4 9.255 4 8.832v-.16h-.528a.99.99 0 0 1-.847.5 1 1 0 0 1 0-2c.366 0 .673.207.847.5H4V5h1.375v-.903a.99.99 0 0 1-.5-.847 1 1 0 0 1 2 0 .99.99 0 0 1-.5.847V5h3.25v-.903a.99.99 0 0 1-.5-.847 1 1 0 0 1 2 0 .99.99 0 0 1-.5.847V5H12v2.673h.278c.174-.294.48-.5.847-.5a1 1 0 1 1 0 2 .99.99 0 0 1-.847-.5H12v.159c0 .488-.133.967-.346 1.426l.786.524a1 1 0 0 1 .435-.11 1 1 0 0 1 1 1" class="cls-1"/></svg>'},tp={name:"desktop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 3H2v8h5v1H5v1h6v-1H9v-1h5V3Zm0 7H3V4h10Z" class="cls-1"/></svg>'},np={name:"donut_chart_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.872 10.956a4.123 4.123 0 0 1-6.997-2.962v-.007H2v.007a5.995 5.995 0 0 0 10.301 4.182ZM8.372 2v1.884a4.13 4.13 0 0 1 2.992 6.501l1.429 1.224A6.008 6.008 0 0 0 8.37 2M2.048 7.236h1.897a4.12 4.12 0 0 1 3.675-3.352V2A6.01 6.01 0 0 0 2.05 7.236" class="cls-1"/></svg>'},ip={name:"dot_solid_dot_stroke_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 8a3 3 0 1 1-3-3 3 3 0 0 1 3 3m5-2a2 2 0 1 0 2 2 2 2 0 0 0-2-2m0-1a3 3 0 1 1-3 3 3 3 0 0 1 3-3" class="cls-1"/></svg>'},op={name:"dot_solid_dot_stroke_measurement_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 3h1v3H5zM6 4h4v1H6zM10 3h1v3h-1zM7 10a3 3 0 1 1-6 0 3 3 0 0 1 6 0m5-2c-1.103 0-2 .897-2 2s.897 2 2 2 2-.897 2-2-.897-2-2-2m0-1a3 3 0 1 1 0 6 3 3 0 0 1 0-6" class="cls-1"/></svg>'},sp={name:"down_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m5.958 10.03 2.063-6.281.49 2.344 4.117-4.122 1.414 1.414L9.94 7.487l2.324.504z" class="cls-1"/><path d="M8 10.42V12H4V8h1.572l.657-2H2v8h8V9.774z" class="cls-1"/></svg>'},rp={name:"download_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 9v5H2V9h1v4h10V9Zm-5.982 2L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1Z" class="cls-1"/></svg>'},ap={name:"electronic_chip_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 14H7.333V9.333a2 2 0 0 1 2-2H14V13a1 1 0 0 1-1 1M12 2a.667.667 0 0 0-.667.667v2h1.334v-2A.667.667 0 0 0 12 2M8.444 2a.667.667 0 0 0-.666.667v2H9.11v-2A.667.667 0 0 0 8.444 2M2 8.444a.667.667 0 0 0 .667.667h2V7.778h-2A.667.667 0 0 0 2 8.444M2 12a.667.667 0 0 0 .667.667h2v-1.334h-2A.667.667 0 0 0 2 12m11.556-8.222v.889a.444.444 0 0 1-.445.444H10.89a.444.444 0 0 1-.445-.444v-.89H10v.89a.444.444 0 0 1-.444.444H7.333a.444.444 0 0 1-.444-.444v-.89H4.667a.89.89 0 0 0-.89.89v2.222h.89a.444.444 0 0 1 .444.444v2.223a.444.444 0 0 1-.444.444h-.89v.444h.89a.444.444 0 0 1 .444.445v2.222a.444.444 0 0 1-.444.445h-.89V14H6.89V8.222A1.333 1.333 0 0 1 8.222 6.89H14V3.778Z" class="cls-1"/></svg>'},lp={name:"exclamation_mark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.371 11.873h3.256V14H6.37ZM6.316 2l.37 8.542h2.628L9.684 2Z" class="cls-1"/></svg>'},cp={name:"eye_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.856 3.657A7 7 0 0 0 1 8.001a7.59 7.59 0 0 0 7.146 4.342A7 7 0 0 0 15 8a7.59 7.59 0 0 0-7.144-4.344m-1.199 7.289A5.11 5.11 0 0 1 2.443 8s.665-2.585 4.33-3.037a2.8 2.8 0 0 0-1.414 1.223l2.787 1.22H4.977a3.5 3.5 0 0 0-.053.576 3.35 3.35 0 0 0 1.734 2.962m2.85.02a3.4 3.4 0 0 0 .107-5.908 5 5 0 0 1 3.942 2.944s-.603 2.44-4.05 2.963" class="cls-1"/></svg>'},dp={name:"eye_dash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.832 3.902a9.5 9.5 0 0 1 2.024-.245c3.264.09 5.676 1.427 7.144 4.344-.543 1.222-1.279 2.157-2.173 2.852l-.83-.825c1.277-.888 1.56-2.027 1.56-2.027a5 5 0 0 0-3.942-2.944 3.36 3.36 0 0 1 1.664 2.926 3.3 3.3 0 0 1-.196 1.137zm-.674 3.505h-.18q-.052.286-.054.576a3.35 3.35 0 0 0 1.734 2.962 5.11 5.11 0 0 1-4.215-2.944s.252-.981 1.303-1.84c.029-.024.067-.046.097-.069l-.828-.828C2.19 5.947 1.512 6.849 1 8c1.469 2.916 3.882 4.252 7.146 4.342a9.7 9.7 0 0 0 1.754-.194zm-1.77-4.733-.708.708 9.9 9.9.707-.708z" class="cls-1"/></svg>'},hp={name:"fancy_a_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.597 9.844H7.865A7.5 7.5 0 0 1 6.19 11.96a3.32 3.32 0 0 1-2.042.667 2.84 2.84 0 0 1-1.964-.753L2 11.706l1.153-1.152.157.251a1.35 1.35 0 0 0 1.2.716 1.98 1.98 0 0 0 1.385-.625 11.6 11.6 0 0 0 1.722-2.403l2.252-3.88a8 8 0 0 0-.679-.037 2.37 2.37 0 0 0-1.66.54 1.97 1.97 0 0 0-.556 1.51V6.7l-.067.106-1.564.762.045-.423a3.85 3.85 0 0 1 .645-1.874 3.3 3.3 0 0 1 1.34-1.177 6.7 6.7 0 0 1 2.208-.443c.127 0 .277-.013.471-.029l.369-.03 1.387-.257.087 2.154.33 3.886a4.9 4.9 0 0 0 .29 1.701.5.5 0 0 0 .528.31c.057 0 .277 0 .641-.03L14 11.33l-.172.83-3.003.506Zm-.086-.896-.275-3.22-1.855 3.22Z" class="cls-1"/></svg>'},up={name:"file_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 3v10h8V7H8V3Zm5 0v3h3Z" class="cls-1"/></svg>'},pp={name:"file_arrow_curved_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7 2 3 3H7zM6 6V2H2v12h4.282l.03-.187A4.51 4.51 0 0 1 10 10.065V6zm8 5.5L11 9v2c-1.817-.091-3.412 1.137-3.701 2.97.576-.672 2.077-2.065 3.701-1.82V14z" class="cls-1"/></svg>'},fp={name:"file_drawer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 4v10h12V4Zm8 4H6V6h4Zm4-5H2V2h12Z" class="cls-1"/></svg>'},mp={name:"file_search_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 6v6h-3.333a3.7 3.7 0 0 0 .249-1.302A3.7 3.7 0 0 0 7.22 7 3.7 3.7 0 0 0 6 7.223V2h4v4Zm-3-4v3h3Zm-1.126 8.698a2.697 2.697 0 0 1-4.73 1.772L2.521 14l-.48-.823 2.613-1.523a2.698 2.698 0 1 1 5.22-.956m-.952 0a1.745 1.745 0 1 0-1.745 1.745 1.747 1.747 0 0 0 1.745-1.745" class="cls-1"/></svg>'},gp={name:"filter_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 3.045v1.29h.787a2.069 2.069 0 1 0 2.907 2.903l1.32 2.173v4.522l1.973-1.846V9.411l3.878-5.076h1.134v-1.29Zm2.033 4.059a1.154 1.154 0 0 1 0-2.308c.023 0 .045.006.068.007l1.002 1.575a1.15 1.15 0 0 1-1.07.726" class="cls-1"/></svg>'},vp={name:"floppy_disk_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.455 4H3.583A.585.585 0 0 0 3 4.598V11.5l1.5 1.497 7.858.003c.33 0 .6-.27.6-.6L13 4.545c0-.33-.215-.546-.545-.546M11 12H8v-2H6v2H5V9h6zm1-4H4V5h8z" class="cls-1"/></svg>'},bp={name:"floppy_disk_checkmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.455 5h-1.041l-1.005 1H12v3H4V6h3.782L6.79 5H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm2-10.99L9.091 5.9 7 3.79l.919-.89 1.164 1.208L12.128 1.1z" class="cls-1"/></svg>'},yp={name:"floppy_disk_pen_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.17 11.108 7.299 11H7V9H5v2H4V8h6v.696l1.626-1.386c.107-.09.228-.155.355-.206L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497 3.136.001zM3 7V4h8v3z" class="cls-2"/><path d="M12.275 8.07c.218-.185.693-.008 1.205.552s.635 1.038.418 1.223l-.92.784-1.621-1.775zm-4.92 6.113 1.98-.899-.985.164.043-.94-.32.161.104-.652-1.17 1.786zm2.212-.645L6 15l1.945-3.236 2.1-1.791 1.622 1.774zm2.862-2.49-1.622-1.774c-.118-.13.148-.349.262-.224l1.623 1.775c.117.128-.15.348-.263.224m-.522.452-1.622-1.775c-.118-.129.148-.349.262-.223l1.623 1.774c.117.128-.15.348-.263.224" class="cls-1"/></svg>'},wp={name:"floppy_disk_star_arrow_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.5 2.5a1 1 0 1 0-1 1 1 1 0 0 0 1-1m7.5.002L9.638.819l.496 1.293H7v.828h3.134L9.638 4.18ZM12.455 5H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm1-4H4V6h8Z" class="cls-1"/></svg>'},xp={name:"floppy_disk_three_dots_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 3a1 1 0 1 0-1 1 1 1 0 0 0 1-1m3 0a1 1 0 1 0-1 1 1 1 0 0 0 1-1m3 0a1 1 0 1 0-1 1 1 1 0 0 0 1-1m.455 2H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm1-4H4V6h8Z" class="cls-1"/></svg>'},Cp={name:"folder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 4V3H2v10h12V4Zm6 2H3V5h10Z" class="cls-1"/></svg>'},kp={name:"folder_open_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 3v1.002h6V6h-1V5H3v1H2V3ZM2 13h11l1-6H2Z" class="cls-1"/></svg>'},Sp={name:"forward_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.027 14 2.5-12h1.5l-2.5 12z" class="cls-1"/></svg>'},$p={name:"four_dots_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.5 11A1.5 1.5 0 1 1 5 9.5 1.5 1.5 0 0 1 6.5 11M5 3.5A1.5 1.5 0 1 0 6.5 5 1.5 1.5 0 0 0 5 3.5m7.5 7.5A1.5 1.5 0 1 1 11 9.5a1.5 1.5 0 0 1 1.5 1.5M11 3.5A1.5 1.5 0 1 0 12.5 5 1.5 1.5 0 0 0 11 3.5" class="cls-1"/></svg>'},Mp={name:"function_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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 3 0 0 0-.394-.1 2.5 2.5 0 0 0-.483-.05 1.32 1.32 0 0 0-.832.241 1.33 1.33 0 0 0-.405.895l-.128.937h1.846v1.282H6.812l-.376 2.462a3.6 3.6 0 0 1-.462 1.357 2.6 2.6 0 0 1-.784.808 3 3 0 0 1-.938.387A4.8 4.8 0 0 1 3.184 13q-.275 0-.629-.03A3.5 3.5 0 0 1 2 12.892v-1.815h.12a.56.56 0 0 0 .424.244 2.5 2.5 0 0 0 .5.052 1.3 1.3 0 0 0 .898-.29 1.6 1.6 0 0 0 .424-.985l.33-2.226H3.256V6.59H5.05l.178-1.162a2.94 2.94 0 0 1 .444-1.244 2.5 2.5 0 0 1 .76-.734 2.6 2.6 0 0 1 .94-.356A5.6 5.6 0 0 1 8.357 3q.294 0 .588.025t.599.076Z" class="cls-1"/></svg>'},Ep={name:"gauge_simple_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.969 5.196a1.76 1.76 0 0 1 1.142-.49 1.76 1.76 0 0 1-.49 1.142L9.205 8.263l.008.025.065.184.03.093a1.4 1.4 0 0 1 .032.295 1.385 1.385 0 0 1-2.769 0 1.3 1.3 0 0 1 .033-.294l.034-.11.055-.16.012-.033.014-.014a1.4 1.4 0 0 1 .625-.625l.015-.015.033-.011.16-.055.11-.035a1.3 1.3 0 0 1 .588 0l.11.035.16.055.033.011ZM14 8.86a5.98 5.98 0 0 1-1.799 4.28l-1.309-1.308a4.085 4.085 0 0 0 .83-4.78l.55-.55a2.6 2.6 0 0 0 .64-1.082A5.97 5.97 0 0 1 14 8.86m-6-6a5.998 5.998 0 0 0-4.201 10.28l1.309-1.308a4.14 4.14 0 0 1 4.644-6.725l.564-.564a2.6 2.6 0 0 1 1.07-.635A5.97 5.97 0 0 0 8 2.86" class="cls-1"/></svg>'},Ip={name:"grid_three_by_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 3v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1m4 9H4v-2h2Zm.001-2.999H4V7h2.001Zm0-3.001H4V4h2.001ZM9 12H7v-2h2Zm0-2.999H7V7h2ZM9 6H7V4h2Zm3 6h-2v-2h2Zm.001-2.999H10V7h2.001Zm0-3.001H10V4h2.001Z" class="cls-1"/></svg>'},_p={name:"grid_two_by_two_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 9h3v3H4Zm5 0h3v3H9ZM4 4h3v3H4Zm5 0h3v3H9ZM2 14h12V2H2Z" class="cls-1"/></svg>'},Tp={name:"hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 14H6V8h3ZM8.875 2H6.723A1.99 1.99 0 0 1 5 3a2.49 2.49 0 0 1-2-1H2v4h1a1.8 1.8 0 0 1 1.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 2" class="cls-1"/></svg>'},Ap={name:"hashtag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.76 14 .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" class="cls-1"/></svg>'},Dp={name:"home_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.988 2 2.5 9H4v5h3v-3h2v3h3V9h1.5z" class="cls-1"/></svg>'},Op={name:"horizontal_triangle_outline_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.05 2v12l11.4-6zM4 5.313 9.156 8 4 10.688z" class="cls-1"/></svg>'},Rp={name:"hourglass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.774 13.4h-.047v-.49h-.404a2.5 2.5 0 0 0 .355-1.258c0-1.826-2.083-2.886-2.083-3.652s2.083-1.826 2.083-3.652a2.5 2.5 0 0 0-.355-1.257h.404V2.6h.047a.556.556 0 0 0 .499-.6H4.727a.556.556 0 0 0 .499.6h.047v.49h.404a2.5 2.5 0 0 0-.355 1.258c0 1.826 2.083 2.87 2.083 3.652s-2.083 1.826-2.083 3.652a2.5 2.5 0 0 0 .355 1.257h-.404v.491h-.047a.556.556 0 0 0-.499.6h6.546a.556.556 0 0 0-.499-.6M8 12.957c-1.565 0-1.975-.585-1.975-1.305a7.2 7.2 0 0 1 1.723-.656c.268 0 .289-3.513 0-3.779l-.988-1h2.454l-.962 1c-.268.286-.275 3.779 0 3.779a7.7 7.7 0 0 1 1.738.656c0 .72-.409 1.305-1.99 1.305" class="cls-1"/></svg>'},Fp={name:"indent_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m2.5 7.5 1 2.5-1 2.5 5-2.5zM2 3h12v2H2zM9 7h5v2H9zM9 11h5v2H9z" class="cls-1"/></svg>'},Np={name:"indeterminant_checkbox_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm0-1H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2M4 4v8h8V4Zm6 6H6V6h4Z" class="cls-1"/></svg>'},Pp={name:"info_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.415 7.75v3.69H6.376v1.576h4.24V11.44H9.6V6.175H6.376V7.75Zm.276-2.698a1.19 1.19 0 0 0 2.035-.838 1.16 1.16 0 0 0-.346-.846 1.193 1.193 0 0 0-1.693 0 1.16 1.16 0 0 0-.35.846 1.14 1.14 0 0 0 .354.838" class="cls-1"/></svg>'},Lp={name:"info_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m-.697 2.28a.95.95 0 0 1 1.35 0 .93.93 0 0 1 .276.675.952.952 0 0 1-1.905 0 .92.92 0 0 1 .279-.674M9.7 12H6.3v-1.264h.833V7.777H6.3V6.513h2.584v4.223H9.7Z" class="cls-1"/></svg>'},zp={name:"inward_squares_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 10h2v2H4zm-1 3h1v-1H3zm7-7H6v4h4zM3 3v4h2V5h6v6H9v2h4V3z" class="cls-1"/></svg>'},Vp={name:"italic_i_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M8.99 13.802H4.38l.258-1.133h1.523l2.17-9.367H6.808l.258-1.133h4.61l-.258 1.133H9.895l-2.17 9.367h1.523z"/></svg>'},Hp={name:"key_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.045 7.348-.652-.652 1.444-.14Zm-3.818.698-4.912 4.912-.395-.396 4.12-4.12Zm4.734-2.918-1.697.136-.395-.395L11 3.176l.72-.067 1.304 1.304Zm-3.524-.386-.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" class="cls-1"/></svg>'},Bp={name:"laptop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 11V3H3v8H2v2h12v-2Zm-2 1H5v-1h6Zm1-1.996H4V4h8Z" class="cls-1"/></svg>'},qp={name:"layer_group_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m3.555 9.546.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.11.89-.444 5.333 2.667 1.778-.89.889.448v1.33L9.778 10.88 3.555 7.768Z" class="cls-1"/></svg>'},Up={name:"lightning_bolt_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.732 7.953 6.909 2h3.636L8.364 7.013h2.909L4.727 14l2.21-6.049Z" class="cls-1"/></svg>'},jp={name:"link_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.465 5.592A2.91 2.91 0 0 1 9.963 7.02l-1.06 1.065c-.053-.103-.095-.192-.144-.276a1.48 1.48 0 0 0-1.277-.769 1.43 1.43 0 0 0-.977.394c-.75.694-1.469 1.421-2.165 2.168a1.43 1.43 0 0 0 .054 2.038 1.5 1.5 0 0 0 1.039.432 1.28 1.28 0 0 0 .953-.417c.103-.11.435-.44.81-.805a3.46 3.46 0 0 0 1.908.188c-1.006 1.035-2.179 2.187-2.996 2.38a3 3 0 0 1-.693.082 2.91 2.91 0 0 1-2.182-4.842A47 47 0 0 1 5.53 6.356a2.83 2.83 0 0 1 1.935-.764M10.583 2.5a3 3 0 0 0-.69.081 10.4 10.4 0 0 0-2.996 2.377 3.5 3.5 0 0 1 .568-.054 3.6 3.6 0 0 1 1.31.249c.38-.332.701-.646.875-.834a1.22 1.22 0 0 1 .913-.395 1.51 1.51 0 0 1 1.074.469 1.433 1.433 0 0 1 .022 2.005c-.7.743-1.42 1.47-2.165 2.167a1.42 1.42 0 0 1-.975.395 1.48 1.48 0 0 1-1.28-.768c-.048-.085-.089-.175-.151-.298L6.043 8.987a2.88 2.88 0 0 0 2.493 1.42 2.8 2.8 0 0 0 1.93-.76 54 54 0 0 0 2.266-2.266A2.911 2.911 0 0 0 10.583 2.5" class="cls-1"/></svg>'},Wp={name:"link_cancel_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.202 9.45a2.64 2.64 0 0 1 .687 2.519l-1.364.002c.032-.1.062-.183.085-.269a1.34 1.34 0 0 0-.326-1.312 1.3 1.3 0 0 0-.88-.374 38 38 0 0 0-2.779.002 1.3 1.3 0 0 0-1.273 1.341 1.37 1.37 0 0 0 .39.944 1.16 1.16 0 0 0 .878.344c.137-.005.562-.002 1.036.004a3.14 3.14 0 0 0 1.104 1.344 8.1 8.1 0 0 1-3.45-.395 2.7 2.7 0 0 1-.496-.392A2.64 2.64 0 0 1 4.52 8.702a43 43 0 0 1 2.951-.003 2.56 2.56 0 0 1 1.731.751m3.984.017a2.7 2.7 0 0 0-.495-.39 9.4 9.4 0 0 0-3.447-.398 3 3 0 0 1 .4.33 3.3 3.3 0 0 1 .68 1c.457.031.864.035 1.096.027a1.1 1.1 0 0 1 .839.331 1.37 1.37 0 0 1 .389.99 1.3 1.3 0 0 1-1.272 1.3c-.926.028-1.854.033-2.78.002a1.3 1.3 0 0 1-.878-.372 1.35 1.35 0 0 1-.328-1.313c.023-.086.054-.17.093-.289l-1.371.031a2.61 2.61 0 0 0 .688 2.51 2.55 2.55 0 0 0 1.726.751c.968.033 1.94.025 2.908 0a2.641 2.641 0 0 0 1.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" class="cls-1"/></svg>'},Gp={name:"list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 13H2v-2h2Zm10-2H6v2h8ZM4 7H2v2h2Zm10 0H6v2h8ZM4 3H2v2h2Zm10 0H6v2h8Z" class="cls-1"/></svg>'},Zp={name:"list_tree_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10 5v2h4v2h-4v2h4v2H8V5H5V3h9v2ZM2 5h2V3H2Zm5 6H5v2h2Zm0-4H5v2h2Z" class="cls-1"/></svg>'},Kp={name:"list_tree_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.953 11.81c.013-.011.032-.02.046-.031v.917c0 .33-.523.678-1.42.953a8 8 0 0 1-.694.178 16 16 0 0 1-3.382.328 16 16 0 0 1-3.38-.328 9 9 0 0 1-.693-.179c-.898-.274-1.42-.622-1.42-.952v-.917c.012.01.031.02.045.03a2.3 2.3 0 0 0 .332.218l.03.017a4 4 0 0 0 .46.202l.01.005.1.037q.081.026.164.05.139.047.283.09.048.016.1.031l.058.015q.277.072.58.132.063.014.13.026.322.063.666.11l.134.017q.315.041.646.072l.104.01q.364.031.731.049l.166.007q.378.015.754.016.375-.001.754-.016l.164-.007q.37-.018.734-.048l.102-.011q.33-.03.649-.072.067-.008.134-.017.343-.048.664-.11.068-.012.132-.026.3-.06.577-.13.031-.01.063-.017c.034-.009.064-.021.099-.031.098-.028.189-.059.283-.09.052-.017.11-.032.16-.05q.053-.018.103-.037l.012-.005a4 4 0 0 0 .457-.202q.018-.01.032-.018a2.5 2.5 0 0 0 .33-.216m-5.45-2.946c-3.237 0-5.492.767-5.492 1.457 0 .33.523.679 1.42.952q.153.048.325.091.176.046.368.088a16 16 0 0 0 3.38.327 16 16 0 0 0 3.38-.327 9 9 0 0 0 .695-.18C13.477 11 14 10.652 14 10.322c0-.69-2.257-1.457-5.497-1.457M14 6V5H5V3h2V2H2v1h2v5.581a10 10 0 0 1 1-.255V6h3v2h6V7H9V6Z" class="cls-1"/></svg>'},Xp={name:"lock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 8V7a3.89 3.89 0 0 0-4-4 3.82 3.82 0 0 0-2.81 1.078A4.35 4.35 0 0 0 4.062 7v1H3v6h10V8ZM6.062 6.986a2.4 2.4 0 0 1 .566-1.516A1.83 1.83 0 0 1 8 5a1.883 1.883 0 0 1 2 2v1H6.062Z" class="cls-1"/></svg>'},Yp={name:"magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.073 12.29-2.926-2.926a3.971 3.971 0 1 0-.783.783l2.927 2.926ZM7.01 9.84a2.83 2.83 0 1 1 2.83-2.83 2.833 2.833 0 0 1-2.83 2.83" class="cls-1"/></svg>'},Jp={name:"markdown_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.25 3H1.75a.74.74 0 0 0-.75.73v8.54a.74.74 0 0 0 .75.73h12.5a.74.74 0 0 0 .75-.73V3.73a.74.74 0 0 0-.75-.73m-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" class="cls-1"/></svg>'},Qp={name:"minus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 7h8v2H4z" class="cls-1"/></svg>'},ef={name:"minus_wide_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 7h10v2H3z" class="cls-1"/></svg>'},tf={name:"mobile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.462 2.077H4.538A.54.54 0 0 0 4 2.615v10.77a.54.54 0 0 0 .538.538h5.924a.54.54 0 0 0 .538-.538V2.615a.54.54 0 0 0-.538-.538M10 12H5V3h5Z" class="cls-1"/></svg>'},nf={name:"ni_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.172 4c1.675 0 3 1.354 3 3.103V13h-3V7h-3V4zm-3 9h-3V7h3zm10.656-9v9c-1.681 0-3-1.378-3-3V4z" class="cls-1"/></svg>'},of={name:"notebook_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 2h1v3h-1Zm0 8h1V6h-1Zm0 4h1v-3h-1ZM4 7h6V6H4Zm0-2h6V4H4ZM2 2h10v12H2Z" class="cls-1"/></svg>'},sf={name:"number_list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M14 11H6v2h8zm0-4H6v2h8zm0-4H6v2h8zM1.999 4.644h.73V2.302h-.585v-.271c.295-.05.505-.13.681-.235h.32v2.848h.656v.346H1.999zM1.804 9.509c.951-.932 1.501-1.521 1.501-2.037 0-.365-.2-.621-.605-.621-.265 0-.496.17-.676.381l-.235-.226c.265-.3.551-.495.961-.495.591 0 .961.375.961.936 0 .621-.561 1.196-1.336 1.987.174-.016.37-.026.535-.026h.956v.355H1.804zM1.733 13.884l.21-.271c.19.201.44.376.816.376.385 0 .661-.226.661-.581 0-.38-.26-.635-1.021-.635v-.315c.676 0 .906-.261.906-.596 0-.306-.21-.501-.55-.501-.266 0-.491.136-.681.32l-.221-.26c.246-.23.541-.4.916-.4.556 0 .956.295.956.811 0 .386-.23.631-.576.761v.021c.385.09.691.37.691.811 0 .565-.471.91-1.056.91a1.36 1.36 0 0 1-1.051-.451"/></svg>'},rf={name:"outdent_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.5 12.5-1-2.5 1-2.5-5 2.5zM2 3h12v2H2zM9 7h5v2H9zM9 11h5v2H9z" class="cls-1"/></svg>'},af={name:"outward_squares_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 9H7V7h2zm-6 4h4V9H3zM3 3v4h2V5h6v6H9v2h4V3zm7 3H9v1h1z" class="cls-1"/></svg>'},lf={name:"paste_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 5V3H3v6h2v1H2V2h8v3ZM6 6v8h8V6Z" class="cls-1"/></svg>'},cf={name:"pause_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 3h3v10H4zM9 3h3v10H9z" class="cls-1"/></svg>'},df={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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.493 2.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" class="cls-1"/></svg>'},hf={name:"play",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.05 2v12l11.4-6z" class="cls-1"/></svg>'},uf={name:"pot_with_lid_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 4V2H5v2H2v1h12V4ZM6 4V3h4v1Zm-4 9h1v1h10v-1h1V6H2Z" class="cls-1"/></svg>'},pf={name:"question_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.303 5.594a3.3 3.3 0 0 1-.195 1.176 2.6 2.6 0 0 1-.549.885 4 4 0 0 1-.852.672 7.5 7.5 0 0 1-1.121.54v1.501H6.27V8.15q.467-.125.845-.256a3.2 3.2 0 0 0 .793-.429 2.1 2.1 0 0 0 .608-.612 1.45 1.45 0 0 0 .22-.791 1.04 1.04 0 0 0-.423-.939 2.16 2.16 0 0 0-1.195-.28 3.3 3.3 0 0 0-1.068.204 4.9 4.9 0 0 0-1.09.526h-.263V3.566a8 8 0 0 1 1.296-.372A8.2 8.2 0 0 1 7.77 3a4.2 4.2 0 0 1 2.579.718 2.24 2.24 0 0 1 .954 1.876M8.77 13H6.112v-1.737H8.77Z" class="cls-1"/></svg>'},ff={name:"rectangle_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 2v12h10V2zm9 11H4V3h8z" class="cls-2"/><path d="M5 9h6v1H5zM5 11h3v1H5z" class="cls-2"/><path d="M11 4.643 7.591 8 6 6.434l.682-.672.937.923L10.347 4z" class="cls-1"/></svg>'},mf={name:"running_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.45 7.985-7.602 4.013L7.75 8 5.848 3.987zM3.945 2.997 2.05 2 4.9 8l-2.85 6 1.902-1.005L6.325 8z" class="cls-1"/></svg>'},gf={name:"screen_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3H2v8h5v1H5v1h6v-1H9v-1h5V3zm10 7H3V4h10z" class="cls-1"/><path d="M5.743 9 4 7.242l.766-.742.97 1.007L8.273 5 9 5.758zM10 6h2v1h-2zM8 8h4v1H8z" class="cls-1"/></svg>'},vf={name:"screen_check_lines_calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 9H3V3h10v3h1V2H2v8h4zM4 11h2v1H4z" class="cls-1"/><path d="M13 8V7h-1v1H9V7H8v1H7v6h7V8zm0 5H8v-3h5zM5.465 8.052 3.723 6.295l.765-.743.97 1.007 2.538-2.507.727.758zM9.723 5.052h2v1h-2z" class="cls-1"/></svg>'},bf={name:"server_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 3H3v3h10ZM9 5H4V4h5ZM3 7v3h10V7Zm6 2H4V8h5Zm3 4H3v-2h10v1a1 1 0 0 1-1 1" class="cls-1"/></svg>'},yf={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 0 0 0-.836l4.544-2.273c.367.42.9.691 1.501.691a2 2 0 1 0-1.955-1.582L5.501 6.691C5.134 6.27 4.6 6 4 6a2 2 0 1 0 0 4c.601 0 1.134-.27 1.5-.69l4.545 2.272A2 2 0 1 0 12 10"/></svg>'},wf={name:"shield_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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" class="cls-1"/></svg>'},xf={name:"shield_xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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" class="cls-1"/></svg>'},Cf={name:"signal_bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 14H2V2h2Zm3-9H5v9h2Zm3 3H8v6h2Zm3 3h-2v3h2Z" class="cls-1"/></svg>'},kf={name:"sine_graph_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 12H2v-1.63a4.6 4.6 0 0 0 1.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.189s2.15-1.163 2.764-2.189a6.5 6.5 0 0 1 .9-1.267Zm0-6.054a4.6 4.6 0 0 0-1.764 1.967c-.635 1.061-1.08 1.705-1.9 1.705S9.07 8.974 8.434 7.913c-.615-1.026-1.312-2.189-2.766-2.189S3.517 6.887 2.902 7.913A6.5 6.5 0 0 1 2 9.18V4h12Z" class="cls-1"/></svg>'},Sf={name:"skip_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 2h-2v12h2zm-4 6.5-8 4v-8z" class="cls-1"/></svg>'},$f={name:"sparkle_swirls_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><linearGradient id="a" x1="2.044" x2="13.956" y1="8" y2="8" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#009b65"/><stop offset=".5" stop-color="#00a7d2"/><stop offset="1" stop-color="#bb3bff"/></linearGradient></defs><path d="m13.956 7.972-.001.066c-.001.023-.006.068-.006.068a1.038 1.038 0 0 1-2.068-.126c0-.107.045-.33.044-.34.034-.229.07-.458.07-.696A4.735 4.735 0 0 0 5.45 2.571 5.9 5.9 0 0 1 7.968 2a5.99 5.99 0 0 1 5.988 5.972M4.005 9.056c0-.238.036-.467.07-.696-.001-.01.044-.233.044-.34a1.038 1.038 0 0 0-2.068-.126s-.005.045-.006.068l-.001.066A5.99 5.99 0 0 0 8.032 14c.903 0 1.751-.214 2.518-.571a4.735 4.735 0 0 1-6.546-4.373M8 9.594c.915 0 1.706.198 2.078.484-.286-.372-.484-1.163-.484-2.078s.198-1.706.484-2.078c-.372.286-1.163.484-2.078.484s-1.706-.198-2.078-.484c.286.372.484 1.163.484 2.078s-.198 1.706-.484 2.078c.372-.286 1.163-.484 2.078-.484" style="fill:url(#a);stroke-width:0"/></svg>'},Mf={name:"sparkles_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.498 2a2.85 2.85 0 0 1-.811 1.69A2.85 2.85 0 0 1 9 4.498a2.85 2.85 0 0 1 1.69.809c.477.476.739 1.076.812 1.693a2.85 2.85 0 0 1 .811-1.69A2.85 2.85 0 0 1 14 4.502a2.85 2.85 0 0 1-1.69-.809A2.84 2.84 0 0 1 11.497 2M7.495 3c-.163 1.355-.737 2.674-1.784 3.719C4.668 7.76 3.352 8.332 2 8.496c1.355.163 2.674.736 3.72 1.78C6.768 11.321 7.343 12.642 7.505 14c.162-1.355.736-2.674 1.784-3.719C10.332 9.24 11.648 8.668 13 8.504c-1.356-.163-2.674-.736-3.72-1.78C8.231 5.679 7.656 4.358 7.495 3" class="cls-1"/></svg>'},Ef={name:"spinner",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.967 7.143h-.762a4.885 4.885 0 0 1 3.938-3.94v.771a4.12 4.12 0 0 0-3.176 3.169M8 2v1.875A4.125 4.125 0 1 1 3.875 8H2a6 6 0 1 0 6-6" class="cls-1"/></svg>'},If={name:"square_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm4.788 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013Z" class="cls-1"/></svg>'},_f={name:"square_t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm9.033 4.199-.016-.076a2.34 2.34 0 0 0-.497-1.18 2.1 2.1 0 0 0-1.281-.26h-.56v5.941c0 .552.11.718.176.768a1.8 1.8 0 0 0 .88.196l.09.006V12H6.193v-.405l.09-.007c.59-.046.8-.144.87-.218.06-.06.158-.255.158-.884V4.683h-.565a2.2 2.2 0 0 0-1.274.262 2 2 0 0 0-.498 1.174l-.015.08H4.49L4.565 4h6.859l.07 2.199Z" class="cls-1"/></svg>'},Tf={name:"square_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3v10h10V3zm8 7.01-.99.99L8 8.99 5.99 11 5 10.01 7.01 8 5 5.99 5.99 5 8 7.01 10.01 5l.99.99L8.99 8z" class="cls-1"/></svg>'},Af={name:"stop_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3h10v10H3z" class="cls-1"/></svg>'},Df={name:"systemlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.357 9.143H4.786V6.79c0-.927.442-1.714 1.262-2.211C6.674 4.2 7.505 4 8.451 4h5.335v2.571H8.69c-.911.124-1.262.548-1.333 1.267z" class="cls-1"/><path d="M8.643 7.857h2.571v2.352c0 .927-.442 1.714-1.262 2.211-.626.38-1.457.58-2.403.58H2.214v-2.571H7.31c.911-.124 1.262-.548 1.333-1.267z" class="cls-1"/></svg>'},Of={name:"t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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 0 0-1.477.291 2.26 2.26 0 0 0-.563 1.36l-.038.196h-.797L3.704 3h8.6l.092 2.925h-.784l-.021-.095a2.8 2.8 0 0 0-.589-1.466c-.147-.131-.523-.286-1.48-.286H8.96V11.2c0 .679.138.819.165.84a2.1 2.1 0 0 0 1.01.213l.223.018V13Z" class="cls-1"/></svg>'},Rf={name:"tablet_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.5 2h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5M8 13.25a.75.75 0 1 1 .75-.75.75.75 0 0 1-.75.75M12 11H4V3h8Z" class="cls-1"/></svg>'},Ff={name:"tag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path d="M8.044 3.588 5.23 3 3 5.229l.588 2.816L8.543 13 13 8.543ZM6.5 6.499a1.082 1.082 0 1 1-.013-1.516A1.07 1.07 0 0 1 6.499 6.5" class="cls-1"/></svg>'},Nf={name:"tags_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path d="M8.044 2.338 5.23 1.75 3 3.979l.588 2.816 4.955 4.955L13 7.293ZM6.5 5.249a1.082 1.082 0 1 1-.013-1.516 1.07 1.07 0 0 1 .013 1.516m6.251 4.794L8.543 14.25 4.257 9.964l-.283-1.369 4.569 4.57L12.207 9.5Z" class="cls-1"/></svg>'},Pf={name:"target_crosshairs_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 6.01a2 2 0 1 0 2 2 2 2 0 0 0-2-2m4.9.99A5 5 0 0 0 9 3.1V1H7v2.1A5 5 0 0 0 3.1 7H1v2h2.1A5 5 0 0 0 7 12.9V15h2v-2.1A5 5 0 0 0 12.9 9H15V7ZM8 12a4 4 0 1 1 4-4 4.005 4.005 0 0 1-4 4" class="cls-1"/></svg>'},Lf={name:"target_crosshairs_progress_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M15 7v2h-2.1A5 5 0 0 1 9 12.9V15H7v-2.108a4.99 4.99 0 0 1-3.898-3.985l-1.52.583 2.003-4 1.998 4L4.11 8.9A3.999 3.999 0 1 0 7 4.13V1h2v2.1A5 5 0 0 1 12.9 7Zm-5 1.01a2 2 0 1 1-2-2 2 2 0 0 1 2 2" class="cls-1"/></svg>'},zf={name:"three_circles_ascending_container_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 4H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M4 8.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5m3 .5a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5m4 .5a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5" class="cls-1"/></svg>'},Vf={name:"three_dots_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 6.5A1.5 1.5 0 1 1 6.5 8 1.5 1.5 0 0 1 8 6.5M.5 8A1.5 1.5 0 1 0 2 6.5 1.5 1.5 0 0 0 .5 8m12 0A1.5 1.5 0 1 0 14 6.5 1.5 1.5 0 0 0 12.5 8" class="cls-1"/></svg>'},Hf={name:"three_vertical_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 3h2v10h-2zM7 3h2v10H7zM3 3h2v10H3z" class="cls-1"/></svg>'},Bf={name:"thumbtack_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m10 7-.625-5H10V1H5v1h.625L5 7a2 2 0 0 0-2 2h4v4l.5 2 .5-2V9h4a2 2 0 0 0-2-2" class="cls-1"/></svg>'},qf={name:"tile_size_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 8h6v6H2Zm0-6v5h2V4h8v8H9v2h5V2Z" class="cls-1"/></svg>'},Uf={name:"times_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 9.103 5.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 12z" class="cls-1"/></svg>'},jf={name:"trash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10 4V2H6v2H3v2h1v8h8V6h1V4Zm-3 9H6V6h1Zm2-9H7V3h2Zm1 9H9V6h1Z" class="cls-1"/></svg>'},Wf={name:"triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2 2 14h12Zm0 4.875 2.438 4.875H5.586Z" class="cls-1"/></svg>'},Gf={name:"triangle_filled_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2 2 14h12z" class="cls-1"/></svg>'},Zf={name:"triangle_two_lines_horizontal",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.625 8 8 2l4.375 6zM14 12H2v2h12zm0-3H2v2h12z" class="cls-1"/></svg>'},Kf={name:"true_false_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.4 3.003H2.6a1.6 1.6 0 0 0-1.6 1.6v6.8a1.595 1.595 0 0 0 1.6 1.594h10.8a1.595 1.595 0 0 0 1.6-1.594v-6.8a1.6 1.6 0 0 0-1.6-1.6M7.587 6.58H6.141v3.736H4.946V6.58H3.5v-.896h4.087Zm4.913 0h-2.13v.862h1.974v.896H10.37v1.978H9.181V5.684H12.5Z" class="cls-1"/></svg>'},Xf={name:"two_squares_in_brackets",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 4h5v5H4zm6 3v3H7v2h5V7zM5 3V2H2v12h3v-1H3V3zm8-1h-2v1h2v10h-2v1h3V2z" class="cls-1"/></svg>'},Yf={name:"two_triangles_between_lines",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.11 2.11v12h2v-12zm12 0v12h2v-12zm-6 8.974-3-3 3-3zm1.925-5.948 3 3-3 3z" class="cls-1"/></svg>'},Jf={name:"unlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.126 8.585c-.581.123-1.117.241-1.362.303a1.55 1.55 0 0 0-1.182 1.51l.01.155.021.193a1.7 1.7 0 0 0 .216.54l.02.038.105.134.127.144.054.047a1.5 1.5 0 0 0 .992.36h.049a1.3 1.3 0 0 0 .224-.034l.03.015.006-.001q.694-.134 1.387-.287l.343 1.538c-.488.11-.976.221-1.467.314a3 3 0 0 1-.571.053 3.15 3.15 0 0 1-2.99-2.258l-.011-.045a3 3 0 0 1-.076-.35 3 3 0 0 1-.03-.206l-.004-.089a3 3 0 0 1-.016-.336A3.16 3.16 0 0 1 4.35 7.356c.272-.068.808-.203.802-.206l.623-.137Zm4.31-1.544-.353 1.575c.737.176 1.38.334 1.413.346a1.51 1.51 0 0 1 .789.768l.029.066.053.185.038.164.002.045a1.7 1.7 0 0 1-.035.58l-.064.185-.056.142a1.55 1.55 0 0 1-1.4.893 1.7 1.7 0 0 1-.313-.03 55 55 0 0 1-1.15-.24l-.347 1.55.406.097-.013-.017c.276.057.55.118.826.173a3 3 0 0 0 .578.056 3.19 3.19 0 0 0 2.811-1.74 3 3 0 0 0 .129-.311l.033-.083.061-.197a3 3 0 0 0 .082-.351l.008-.044a3.13 3.13 0 0 0-2.281-3.513c-.297-.077-.777-.19-1.245-.299M7.932 2.393 6.875 6.075h.75l.3 3.032 1.2-3.782h-.75Z" class="cls-1"/></svg>'},Qf={name:"unlock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.062 8V5.986a2.4 2.4 0 0 1 .566-1.516A1.83 1.83 0 0 1 8 4a1.883 1.883 0 0 1 2 2h2a3.89 3.89 0 0 0-4-4 3.82 3.82 0 0 0-2.81 1.078A4.35 4.35 0 0 0 4.062 6v2H3v6h10V8Z" class="cls-1"/></svg>'},em={name:"up_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 10.828V12H4V8h1.172l2-2H2v8h8V8.828z" class="cls-1"/><path d="m14.042 1.97-2.063 6.281-.49-2.344-4.117 4.122-1.414-1.414 4.102-4.102-2.324-.504z" class="cls-1"/></svg>'},tm={name:"upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 9v5H2V9h1v4h10V9ZM7.982 2 5 7.9l2.004-1.312L7 11h2V6.613L11 7.9Z" class="cls-1"/></svg>'},nm={name:"user_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.004 2a2.18 2.18 0 0 1 2.184 2.182v1.09c.647 0 .378.932 0 1.455a4 4 0 0 1-.335.364 9 9 0 0 1-.31.742l.208 1.076h.437l2.75 1.527A2.15 2.15 0 0 1 14 12.291V14H2v-1.673a2.16 2.16 0 0 1 1.063-1.869l2.758-1.55h.437l.21-1.068a9 9 0 0 1-.312-.749 4 4 0 0 1-.335-.364c-.378-.523-.647-1.454 0-1.454v-1.09A2.18 2.18 0 0 1 8.004 2" class="cls-1"/></svg>'},im={name:"watch_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.57 7.28-.06.013a4.56 4.56 0 0 0-1.38-2.609V3.44a.48.48 0 0 0-.48-.48h-.48V2H5.85v.96h-.48a.48.48 0 0 0-.48.48v1.24a4.545 4.545 0 0 0 0 6.64v1.24a.48.48 0 0 0 .48.48h.48V14h4.32v-.96h.48a.48.48 0 0 0 .48-.48v-1.24a4.55 4.55 0 0 0 1.379-2.612l.061.012a.48.48 0 0 0 .48-.48v-.48a.48.48 0 0 0-.48-.48m-2.3 2.662a1.6 1.6 0 0 0-.182-.26L8.747 8.338a.79.79 0 0 0 0-.666c.132-.133.894-.899.965-1a1.2 1.2 0 0 0 .14-.485 1 1 0 0 0-.515.157l-.955.957a.784.784 0 1 0 0 1.408c.163.167.956.974 1.236 1.254a1.5 1.5 0 0 0 .36.276 3.055 3.055 0 1 1 .291-.297" class="cls-1"/></svg>'},om={name:"waveform_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.77 11.225c-1.582 0-2.076-1.262-2.512-2.376l-.17-.426a26 26 0 0 1-.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.443q.123.308.221.572c.345.905.427 1.03.684 1.03.259 0 .409-.317.742-1.157q.119-.303.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.472" class="cls-1"/></svg>'},sm={name:"webvi_custom_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m4.089 2.526h-1.868a5.6 5.6 0 0 0-.854-1.712 5.36 5.36 0 0 1 2.722 1.712m-2.722 8.66a5.6 5.6 0 0 0 .854-1.712h1.868a5.36 5.36 0 0 1-2.722 1.712m3.181-2.344h-2.146a11 11 0 0 0 .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 5 0 0 0 .663 1.21 5.36 5.36 0 0 1-2.722-1.712h.317a1 1 0 0 1-.017-.17v-.462h-.76a5.3 5.3 0 0 1-.804-2.526h1.564v-.632H2.646a5.3 5.3 0 0 1 .805-2.526h.759V4.69a1 1 0 0 1 .016-.164h-.316a5.36 5.36 0 0 1 2.722-1.712 5 5 0 0 0-.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.344a11 11 0 0 0-.208-1.186h2.146a5.3 5.3 0 0 1 .804 2.526h-.67a.92.92 0 0 1-.001.632h.671a5.3 5.3 0 0 1-.804 2.526M12.105 8a.33.33 0 0 1-.19.296l-6.598 3.3-.148.036a.327.327 0 0 1-.327-.328V4.69a.327.327 0 0 1 .492-.281l6.595 3.302a.33.33 0 0 1 .176.29" class="cls-1"/></svg>'},rm={name:"webvi_host_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m4.09 2.526H10.22a5.6 5.6 0 0 0-.854-1.712 5.36 5.36 0 0 1 2.722 1.712m-2.723 8.66a5.6 5.6 0 0 0 .854-1.712h1.868a5.36 5.36 0 0 1-2.722 1.712m3.181-2.344h-2.146a11 11 0 0 0 .208-1.187L9.923 10a10 10 0 0 1-.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 5 0 0 0 .663 1.21 5.36 5.36 0 0 1-2.722-1.712h.317a1 1 0 0 1-.017-.17v-.462h-.76a5.3 5.3 0 0 1-.804-2.526H4.21v-.632H2.647a5.3 5.3 0 0 1 .805-2.526h.759V4.69a1 1 0 0 1 .016-.164h-.316a5.36 5.36 0 0 1 2.722-1.712 5 5 0 0 0-.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.344a11 11 0 0 0-.208-1.186h2.146a5.3 5.3 0 0 1 .804 2.526h-.67a.92.92 0 0 1-.001.632h.671a5.3 5.3 0 0 1-.804 2.526m-.619-3.131L5.334 4.409a.327.327 0 0 0-.492.281v6.613a.327.327 0 0 0 .327.328l.148-.035 6.598-3.3a.326.326 0 0 0 .014-.585m-6.087 2.505V5.78L10.274 8Z" class="cls-1"/></svg>'},am={name:"window_code_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path 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" class="cls-1"/></svg>'},lm={name:"window_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V5h10ZM7 8H4V6h3Zm5 2H4V9h8Zm0 2H4v-1h8Z" class="cls-1"/></svg>'},cm={name:"wrench_hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.286 11.714-5.791-5.79a2.5 2.5 0 0 0 .17-.755 2.2 2.2 0 0 0-.095-.814 2.1 2.1 0 0 0-.55-.904 2.33 2.33 0 0 0-1.76-.685h-.045a2.1 2.1 0 0 0-.718.155l1.102 1.104.32.32.244.245a1.86 1.86 0 0 1-.22.854 1 1 0 0 1-.114.145 1.65 1.65 0 0 1-1.003.335L2.61 4.704l-.449-.449a2 2 0 0 0-.135.545l-.015.105a2.34 2.34 0 0 0 .384 1.518 2.5 2.5 0 0 0 .295.36 2.2 2.2 0 0 0 1.576.65 2.5 2.5 0 0 0 .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" class="cls-1"/></svg>'},dm={name:"xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 4.667 9.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" class="cls-1"/></svg>'},hm={name:"xmark_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.033 14.026 4.9 10.866 6.277 9.53l1.744 1.81 4.562-4.507 1.307 1.363Zm1.155-10.68-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" class="cls-1"/></svg>'},um=G`<div
|
|
2303
2303
|
class="icon"
|
|
2304
2304
|
aria-hidden="true"
|
|
2305
2305
|
:innerHTML=${e=>e.icon.data}
|
|
@@ -2340,7 +2340,7 @@ const Nh="nimble-button",Ph={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.
|
|
|
2340
2340
|
height: 100%;
|
|
2341
2341
|
}
|
|
2342
2342
|
`
|
|
2343
|
-
class fm extends
|
|
2343
|
+
class fm extends Vt{constructor(e){super(),this.icon=e}}e([le],fm.prototype,"severity",void 0)
|
|
2344
2344
|
const mm=(e,t)=>{const n=t.compose({baseName:e,template:um,styles:pm})
|
|
2345
2345
|
yi.getOrCreate().withPrefix("nimble").register(n())}
|
|
2346
2346
|
mm("icon-exclamation-mark",class extends fm{constructor(){super(lp)}})
|
|
@@ -2376,13 +2376,13 @@ const ym="nimble-icon-times",wm={default:void 0,error:"error",warning:"warning",
|
|
|
2376
2376
|
aria-roledescription="${e=>e.ariaRoledescription}"
|
|
2377
2377
|
>
|
|
2378
2378
|
<div class="icon">
|
|
2379
|
-
${
|
|
2379
|
+
${He((e=>e.severity===wm.error),G`
|
|
2380
2380
|
<${gm} role="img" aria-label="${e=>Om.getValueFor(e)}"></${gm}>
|
|
2381
2381
|
`)}
|
|
2382
|
-
${
|
|
2382
|
+
${He((e=>e.severity===wm.warning),G`
|
|
2383
2383
|
<${bm} role="img" aria-label="${e=>Rm.getValueFor(e)}"></${bm}>
|
|
2384
2384
|
`)}
|
|
2385
|
-
${
|
|
2385
|
+
${He((e=>e.severity===wm.information),G`
|
|
2386
2386
|
<${vm} role="img" aria-label="${e=>Fm.getValueFor(e)}"></${vm}>
|
|
2387
2387
|
`)}
|
|
2388
2388
|
</div>
|
|
@@ -2393,7 +2393,7 @@ const ym="nimble-icon-times",wm={default:void 0,error:"error",warning:"warning",
|
|
|
2393
2393
|
<div class="controls">
|
|
2394
2394
|
<slot name="action"></slot>
|
|
2395
2395
|
<div class="dismiss">
|
|
2396
|
-
${
|
|
2396
|
+
${He((e=>!e.preventDismiss),G`
|
|
2397
2397
|
<${Nh} appearance="${eh}" appearance-variant="${nh}" content-hidden @click="${e=>e.dismissBanner()}">
|
|
2398
2398
|
<${ym} slot="start"></${ym}>
|
|
2399
2399
|
${e=>Tm.getValueFor(e)}
|
|
@@ -2404,10 +2404,10 @@ const ym="nimble-icon-times",wm={default:void 0,error:"error",warning:"warning",
|
|
|
2404
2404
|
</div>
|
|
2405
2405
|
</${Ga}>
|
|
2406
2406
|
`
|
|
2407
|
-
class
|
|
2408
|
-
this.$emit("toggle",e)}dismissBanner(){this.open=!1}}e([le({mode:"boolean"})],
|
|
2409
|
-
const Vm
|
|
2410
|
-
yi.getOrCreate().withPrefix("nimble").register(
|
|
2407
|
+
class Vm extends Vt{constructor(){super(...arguments),this.open=!1,this.severity=wm.default,this.titleHidden=!1,this.preventDismiss=!1}openChanged(){const e={newState:this.open,oldState:!this.open}
|
|
2408
|
+
this.$emit("toggle",e)}dismissBanner(){this.open=!1}}e([le({mode:"boolean"})],Vm.prototype,"open",void 0),e([le()],Vm.prototype,"severity",void 0),e([le({attribute:"title-hidden",mode:"boolean"})],Vm.prototype,"titleHidden",void 0),e([le({attribute:"prevent-dismiss",mode:"boolean"})],Vm.prototype,"preventDismiss",void 0),qt(Vm,fn)
|
|
2409
|
+
const Hm=Vm.compose({baseName:"banner",template:zm,styles:Dh})
|
|
2410
|
+
yi.getOrCreate().withPrefix("nimble").register(Hm())
|
|
2411
2411
|
const Bm=xe`
|
|
2412
2412
|
${Fo("inline-block")}
|
|
2413
2413
|
|
|
@@ -2513,7 +2513,7 @@ const jm=xe`
|
|
|
2513
2513
|
`
|
|
2514
2514
|
const Wm=class extends yn{}.compose({baseName:"breadcrumb-item",baseClass:yn,template:(e,t)=>G`
|
|
2515
2515
|
<div role="listitem" class="listitem" part="listitem">
|
|
2516
|
-
${
|
|
2516
|
+
${He((e=>e.href&&e.href.length>0),G`
|
|
2517
2517
|
${((e,t)=>G`
|
|
2518
2518
|
<a
|
|
2519
2519
|
class="control"
|
|
@@ -2556,12 +2556,12 @@ const Wm=class extends yn{}.compose({baseName:"breadcrumb-item",baseClass:yn,tem
|
|
|
2556
2556
|
</a>
|
|
2557
2557
|
`)(0,t)}
|
|
2558
2558
|
`)}
|
|
2559
|
-
${
|
|
2559
|
+
${He((e=>!e.href),G`
|
|
2560
2560
|
${nt(0,t)}
|
|
2561
2561
|
<slot></slot>
|
|
2562
2562
|
${tt(0,t)}
|
|
2563
2563
|
`)}
|
|
2564
|
-
${
|
|
2564
|
+
${He((e=>e.separator),G`
|
|
2565
2565
|
<span class="separator" part="separator" aria-hidden="true">
|
|
2566
2566
|
<slot name="separator">${t.separator||""}</slot>
|
|
2567
2567
|
</span>
|
|
@@ -2587,7 +2587,7 @@ const Gm=xe`
|
|
|
2587
2587
|
}
|
|
2588
2588
|
|
|
2589
2589
|
slot[name='title'] {
|
|
2590
|
-
font: ${
|
|
2590
|
+
font: ${Vl};
|
|
2591
2591
|
font-weight: ${Wc};
|
|
2592
2592
|
color: ${Zl};
|
|
2593
2593
|
}
|
|
@@ -3004,7 +3004,7 @@ const rg="nimble-toggle-button",ag=G`
|
|
|
3004
3004
|
${e=>e.errorText}
|
|
3005
3005
|
</div>
|
|
3006
3006
|
`
|
|
3007
|
-
mm("icon-arrow-expander-down",class extends fm{constructor(){super(
|
|
3007
|
+
mm("icon-arrow-expander-down",class extends fm{constructor(){super(Hh)}})
|
|
3008
3008
|
const lg="nimble-icon-arrow-expander-down",cg="above",dg="underline",hg="outline",ug="block",pg=xe`
|
|
3009
3009
|
${Fo("inline-flex")}
|
|
3010
3010
|
|
|
@@ -3385,7 +3385,7 @@ this.selectedIndex=e,!this.dirtyValue&&this.firstSelectedOption&&(this.value=thi
|
|
|
3385
3385
|
if(n!==this.selectedIndex)return void(this.selectedIndex=n)
|
|
3386
3386
|
super.selectedIndexChanged(e,n)}}disabledChanged(e,t){super.disabledChanged&&super.disabledChanged(e,t),this.ariaDisabled=this.disabled?"true":"false"}selectPreviousOption(){!this.disabled&&this.selectedIndex>=0&&(this.selectedIndex-=1)}setPositioning(){if(!this.$fastController.isConnected)return
|
|
3387
3387
|
const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom
|
|
3388
|
-
this.forcedPosition?this.position=this.positionAttribute:e.top>t?this.position=
|
|
3388
|
+
this.forcedPosition?this.position=this.positionAttribute:e.top>t?this.position=Vn:this.position=Hn,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.availableViewportHeight=this.position===Vn?Math.trunc(e.top):Math.trunc(t)}focusAndScrollOptionIntoView(){this.open&&this.contains(document.activeElement)&&(this.control.focus(),this.firstSelectedOption&&requestAnimationFrame((()=>{this.firstSelectedOption?.scrollIntoView({block:"nearest"})})))}openChanged(){this.open?(this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),u.queueUpdate((()=>this.focus()))):(this.ariaControls="",this.ariaExpanded="false"),this.dropdownButton&&(this.dropdownButton.checked=this.open)}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder??"")}selectedOptionsChanged(e,t){this.$fastController.isConnected&&this._options.forEach((e=>{e.selected=t.includes(e)}))}positionChanged(e,t){this.positionAttribute=t,this.setPositioning()}regionChanged(e,t){this.region&&this.controlWrapper&&(this.region.anchorElement=this.controlWrapper)}controlWrapperChanged(e,t){this.region&&this.controlWrapper&&(this.region.anchorElement=this.controlWrapper)}ariaLabelChanged(e,t){this.updateInputAriaLabel()}updateValue(e){this.$fastController.isConnected&&(this.value=this.firstSelectedOption?.text||this.control.value,this.control.value=this.value),e&&this.$emit("change")}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"))}clearSelectionRange(){const e=this.control.value.length
|
|
3389
3389
|
this.control.setSelectionRange(e,e)}syncValue(){const e=this.selectedIndex>-1?this.firstSelectedOption?.text:this.control.value
|
|
3390
3390
|
this.updateValue(this.value!==e)}updateInputAriaLabel(){const e=this.shadowRoot?.querySelector(".selected-value")
|
|
3391
3391
|
this.ariaLabel?e?.setAttribute("aria-label",this.ariaLabel):e?.removeAttribute("aria-label")}emitChangeIfValueUpdated(){this.valueUpdatedByInput&&(this.value!==this.valueBeforeTextUpdate&&this.$emit("change"),this.valueUpdatedByInput=!1)}}e([le],xg.prototype,"appearance",void 0),e([le({attribute:"error-text"})],xg.prototype,"errorText",void 0),e([le({attribute:"error-visible",mode:"boolean"})],xg.prototype,"errorVisible",void 0),e([le({attribute:"autocomplete",mode:"fromView"})],xg.prototype,"autocomplete",void 0),e([le({attribute:"position"})],xg.prototype,"positionAttribute",void 0),e([le({attribute:"open",mode:"boolean"})],xg.prototype,"open",void 0),e([le],xg.prototype,"placeholder",void 0),e([g],xg.prototype,"position",void 0),e([g],xg.prototype,"region",void 0),e([g],xg.prototype,"controlWrapper",void 0),e([g],xg.prototype,"control",void 0),e([g],xg.prototype,"listbox",void 0),e([g],xg.prototype,"dropdownButton",void 0),e([g],xg.prototype,"hasOverflow",void 0),e([g],xg.prototype,"availableViewportHeight",void 0)
|
|
@@ -3611,7 +3611,7 @@ const kg=Symbol("user dismissed"),Sg=xe`
|
|
|
3611
3611
|
</dialog>
|
|
3612
3612
|
</template>
|
|
3613
3613
|
`
|
|
3614
|
-
class Mg extends
|
|
3614
|
+
class Mg extends Vt{constructor(){super(...arguments),this.preventDismiss=!1,this.headerHidden=!1,this.footerHidden=!1,this.footerIsEmpty=!0}get open(){return void 0!==this.resolveShow}async show(){if(this.open)throw new Error("Dialog is already open")
|
|
3615
3615
|
return this.dialogElement.showModal(),new Promise(((e,t)=>{this.resolveShow=e}))}close(e){if(!this.open)throw new Error("Dialog is not open")
|
|
3616
3616
|
this.dialogElement.close(),this.doResolveShow(e)}slottedFooterElementsChanged(e,t){this.footerIsEmpty=!t?.length}cancelHandler(e){return this.preventDismiss?e.preventDefault():this.doResolveShow(kg),!0}closeHandler(e){e.target===this.dialogElement&&this.resolveShow&&this.doResolveShow(kg)}doResolveShow(e){if(!this.resolveShow)throw new Error("Do not call doResolveShow unless there is a promise to resolve")
|
|
3617
3617
|
this.resolveShow(e),this.resolveShow=void 0}}Mg.UserDismissed=kg,e([le({attribute:"prevent-dismiss",mode:"boolean"})],Mg.prototype,"preventDismiss",void 0),e([le({attribute:"header-hidden",mode:"boolean"})],Mg.prototype,"headerHidden",void 0),e([le({attribute:"footer-hidden",mode:"boolean"})],Mg.prototype,"footerHidden",void 0),e([g],Mg.prototype,"footerIsEmpty",void 0),e([g],Mg.prototype,"slottedFooterElements",void 0),qt(Mg,fn)
|
|
@@ -3687,7 +3687,7 @@ const Ig=xe`
|
|
|
3687
3687
|
}
|
|
3688
3688
|
|
|
3689
3689
|
:host([location='left']) dialog.animating .dialog-contents {
|
|
3690
|
-
animation: ni-private-drawer-slide-in-left-keyframes ${
|
|
3690
|
+
animation: ni-private-drawer-slide-in-left-keyframes ${Vd}
|
|
3691
3691
|
ease-in;
|
|
3692
3692
|
}
|
|
3693
3693
|
|
|
@@ -3706,14 +3706,14 @@ const Ig=xe`
|
|
|
3706
3706
|
}
|
|
3707
3707
|
|
|
3708
3708
|
:host([location='right']) dialog.animating .dialog-contents {
|
|
3709
|
-
animation: ni-private-drawer-slide-in-right-keyframes ${
|
|
3709
|
+
animation: ni-private-drawer-slide-in-right-keyframes ${Vd}
|
|
3710
3710
|
ease-in;
|
|
3711
3711
|
}
|
|
3712
3712
|
|
|
3713
3713
|
@media (prefers-reduced-motion) {
|
|
3714
3714
|
:host([location='left']) dialog.animating .dialog-contents,
|
|
3715
3715
|
:host([location='right']) dialog.animating .dialog-contents {
|
|
3716
|
-
animation: ni-private-drawer-fade-in-keyframes ${
|
|
3716
|
+
animation: ni-private-drawer-fade-in-keyframes ${Vd} ease-in;
|
|
3717
3717
|
}
|
|
3718
3718
|
}
|
|
3719
3719
|
|
|
@@ -3770,7 +3770,7 @@ const Ig=xe`
|
|
|
3770
3770
|
</div>
|
|
3771
3771
|
</dialog>
|
|
3772
3772
|
`,Tg="right"
|
|
3773
|
-
class Ag extends
|
|
3773
|
+
class Ag extends Vt{constructor(){super(...arguments),this.location=Tg,this.preventDismiss=!1,this.closing=!1,this.animationEndHandlerFunction=()=>this.animationEndHandler()}get open(){return void 0!==this.resolveShow}async show(){if(this.open)throw new Error("Drawer is already open")
|
|
3774
3774
|
return this.openDialog(),new Promise(((e,t)=>{this.resolveShow=e}))}close(e){if(!this.open||this.closing)throw new Error("Drawer is not open or already closing")
|
|
3775
3775
|
this.closeReason=e,this.closeDialog()}cancelHandler(e){return e.preventDefault(),this.preventDismiss||(this.closeReason=kg,this.closeDialog()),!0}closeHandler(e){e.target===this.dialog&&this.resolveShow&&this.doResolveShow(kg)}doResolveShow(e){if(!this.resolveShow)throw new Error("Do not call doResolveShow unless there is a promise to resolve")
|
|
3776
3776
|
this.resolveShow(e),this.resolveShow=void 0}openDialog(){this.dialog.showModal(),this.triggerAnimation()}closeDialog(){this.closing=!0,this.triggerAnimation()}triggerAnimation(){this.dialog.offsetHeight,this.dialog.classList.add("animating"),this.closing&&this.dialog.classList.add("closing"),this.dialog.addEventListener(ya,this.animationEndHandlerFunction)}animationEndHandler(){this.dialog.removeEventListener(ya,this.animationEndHandlerFunction),this.dialog.classList.remove("animating"),this.closing&&(this.dialog.classList.remove("closing"),this.dialog.close(),this.closing=!1,this.doResolveShow(this.closeReason))}}Ag.UserDismissed=kg,e([le],Ag.prototype,"location",void 0),e([le({attribute:"prevent-dismiss",mode:"boolean"})],Ag.prototype,"preventDismiss",void 0),qt(Ag,fn)
|
|
@@ -3781,7 +3781,7 @@ const Og="nimble-icon-add"
|
|
|
3781
3781
|
mm("icon-arrow-down",class extends fm{constructor(){super(Lh)}})
|
|
3782
3782
|
const Rg="nimble-icon-arrow-down"
|
|
3783
3783
|
mm("icon-arrow-down-left-and-arrow-up-right",class extends fm{constructor(){super(zh)}})
|
|
3784
|
-
mm("icon-arrow-down-right-and-arrow-up-left",class extends fm{constructor(){super(
|
|
3784
|
+
mm("icon-arrow-down-right-and-arrow-up-left",class extends fm{constructor(){super(Vh)}})
|
|
3785
3785
|
mm("icon-arrow-expander-left",class extends fm{constructor(){super(Bh)}})
|
|
3786
3786
|
mm("icon-arrow-expander-right",class extends fm{constructor(){super(qh)}})
|
|
3787
3787
|
const Fg="nimble-icon-arrow-expander-right"
|
|
@@ -3837,8 +3837,8 @@ mm("icon-cloud",class extends fm{constructor(){super(Nu)}})
|
|
|
3837
3837
|
mm("icon-cloud-upload",class extends fm{constructor(){super(Pu)}})
|
|
3838
3838
|
mm("icon-cloud-with-arrow",class extends fm{constructor(){super(Lu)}})
|
|
3839
3839
|
mm("icon-cog",class extends fm{constructor(){super(zu)}})
|
|
3840
|
-
mm("icon-cog-database",class extends fm{constructor(){super(
|
|
3841
|
-
mm("icon-cog-database-inset",class extends fm{constructor(){super(
|
|
3840
|
+
mm("icon-cog-database",class extends fm{constructor(){super(Vu)}})
|
|
3841
|
+
mm("icon-cog-database-inset",class extends fm{constructor(){super(Hu)}})
|
|
3842
3842
|
mm("icon-cog-small-cog",class extends fm{constructor(){super(Bu)}})
|
|
3843
3843
|
mm("icon-cog-zoomed",class extends fm{constructor(){super(qu)}})
|
|
3844
3844
|
mm("icon-comment",class extends fm{constructor(){super(Uu)}})
|
|
@@ -3889,9 +3889,9 @@ mm("icon-indent",class extends fm{constructor(){super(Fp)}})
|
|
|
3889
3889
|
mm("icon-indeterminant-checkbox",class extends fm{constructor(){super(Np)}})
|
|
3890
3890
|
mm("icon-info-circle",class extends fm{constructor(){super(Lp)}})
|
|
3891
3891
|
mm("icon-inward-squares-three",class extends fm{constructor(){super(zp)}})
|
|
3892
|
-
mm("icon-italic-i",class extends fm{constructor(){super(
|
|
3892
|
+
mm("icon-italic-i",class extends fm{constructor(){super(Vp)}})
|
|
3893
3893
|
const Lg="nimble-icon-italic-i"
|
|
3894
|
-
mm("icon-key",class extends fm{constructor(){super(
|
|
3894
|
+
mm("icon-key",class extends fm{constructor(){super(Hp)}})
|
|
3895
3895
|
mm("icon-laptop",class extends fm{constructor(){super(Bp)}})
|
|
3896
3896
|
mm("icon-layer-group",class extends fm{constructor(){super(qp)}})
|
|
3897
3897
|
mm("icon-lightning-bolt",class extends fm{constructor(){super(Up)}})
|
|
@@ -3903,11 +3903,11 @@ mm("icon-list-tree",class extends fm{constructor(){super(Zp)}})
|
|
|
3903
3903
|
mm("icon-list-tree-database",class extends fm{constructor(){super(Kp)}})
|
|
3904
3904
|
mm("icon-lock",class extends fm{constructor(){super(Xp)}})
|
|
3905
3905
|
mm("icon-magnifying-glass",class extends fm{constructor(){super(Yp)}})
|
|
3906
|
-
const
|
|
3906
|
+
const Vg="nimble-icon-magnifying-glass"
|
|
3907
3907
|
mm("icon-markdown",class extends fm{constructor(){super(Jp)}})
|
|
3908
3908
|
mm("icon-minus",class extends fm{constructor(){super(Qp)}})
|
|
3909
3909
|
mm("icon-minus-wide",class extends fm{constructor(){super(ef)}})
|
|
3910
|
-
const
|
|
3910
|
+
const Hg="nimble-icon-minus-wide"
|
|
3911
3911
|
mm("icon-mobile",class extends fm{constructor(){super(tf)}})
|
|
3912
3912
|
mm("icon-ni",class extends fm{constructor(){super(nf)}})
|
|
3913
3913
|
mm("icon-notebook",class extends fm{constructor(){super(of)}})
|
|
@@ -3947,9 +3947,9 @@ mm("icon-tags",class extends fm{constructor(){super(Nf)}})
|
|
|
3947
3947
|
mm("icon-target-crosshairs",class extends fm{constructor(){super(Pf)}})
|
|
3948
3948
|
mm("icon-target-crosshairs-progress",class extends fm{constructor(){super(Lf)}})
|
|
3949
3949
|
mm("icon-three-circles-ascending-container",class extends fm{constructor(){super(zf)}})
|
|
3950
|
-
mm("icon-three-dots-line",class extends fm{constructor(){super(
|
|
3950
|
+
mm("icon-three-dots-line",class extends fm{constructor(){super(Vf)}})
|
|
3951
3951
|
const qg="nimble-icon-three-dots-line"
|
|
3952
|
-
mm("icon-three-vertical-lines",class extends fm{constructor(){super(
|
|
3952
|
+
mm("icon-three-vertical-lines",class extends fm{constructor(){super(Hf)}})
|
|
3953
3953
|
mm("icon-thumbtack",class extends fm{constructor(){super(Bf)}})
|
|
3954
3954
|
mm("icon-tile-size",class extends fm{constructor(){super(qf)}})
|
|
3955
3955
|
mm("icon-trash",class extends fm{constructor(){super(jf)}})
|
|
@@ -3974,7 +3974,7 @@ mm("icon-window-text",class extends fm{constructor(){super(lm)}})
|
|
|
3974
3974
|
mm("icon-wrench-hammer",class extends fm{constructor(){super(cm)}})
|
|
3975
3975
|
mm("icon-xmark",class extends fm{constructor(){super(dm)}})
|
|
3976
3976
|
mm("icon-xmark-check",class extends fm{constructor(){super(hm)}})
|
|
3977
|
-
class Wg extends
|
|
3977
|
+
class Wg extends Vt{constructor(){super(...arguments),this.propertyNotifier=m.getNotifier(this)}connectedCallback(){super.connectedCallback(),this.initializeThemeProvider(),this.propertyNotifier.subscribe(this)}disconnectedCallback(){if(super.disconnectedCallback(),this.propertyNotifier.unsubscribe(this),this.themeProvider){for(const e of Object.values(this.supportedLabels))e.deleteValueFor(this.themeProvider)
|
|
3978
3978
|
this.themeProvider=void 0}}handleChange(e,t){if(this.supportedLabels[t]){const e=this.supportedLabels[t],n=this[t]
|
|
3979
3979
|
this.themeProvider&&(null==n?e.deleteValueFor(this.themeProvider):e.setValueFor(this.themeProvider,n))}}initializeThemeProvider(){if(this.themeProvider=this.closest(Ga)??void 0,this.themeProvider)for(const[e,t]of Object.entries(this.supportedLabels)){const n=this[e]
|
|
3980
3980
|
null==n?t.deleteValueFor(this.themeProvider):t.setValueFor(this.themeProvider,n)}}}const Gg=xe`
|
|
@@ -4155,7 +4155,7 @@ const Fv="nimble-list-option",Nv=xe`
|
|
|
4155
4155
|
title=${e=>e.hasOverflow&&e.labelContent?e.labelContent:null}
|
|
4156
4156
|
@click="${(e,t)=>e.clickHandler(t.event)}"
|
|
4157
4157
|
>
|
|
4158
|
-
${
|
|
4158
|
+
${He((e=>"string"==typeof e.label),G`${e=>e.label}`)}
|
|
4159
4159
|
<slot ${Pe("labelSlot")}
|
|
4160
4160
|
class="label-slot ${e=>"string"==typeof e.label?"hidden":""}"
|
|
4161
4161
|
>
|
|
@@ -4168,36 +4168,36 @@ const Fv="nimble-list-option",Nv=xe`
|
|
|
4168
4168
|
</span>
|
|
4169
4169
|
</template>
|
|
4170
4170
|
`
|
|
4171
|
-
class Lv extends
|
|
4171
|
+
class Lv extends Vt{constructor(){super(...arguments),this.hidden=!1,this.visuallyHidden=!1,this.topSeparatorVisible=!1,this.bottomSeparatorVisible=!1,this.hasOverflow=!1,this.hiddenOptions=new Set}get labelContent(){if(this.label)return this.label
|
|
4172
4172
|
if(!this.$fastController.isConnected)return""
|
|
4173
4173
|
return this.labelSlot.assignedNodes().filter((e=>""!==e.textContent?.trim())).map((e=>e.textContent?.trim())).join(" ")}clickHandler(e){e.preventDefault(),e.stopImmediatePropagation()}handleChange(e,t){e instanceof Ov&&("hidden"===t||"visuallyHidden"===t)&&(e.hidden||e.visuallyHidden?this.hiddenOptions.add(e):this.hiddenOptions.delete(e),this.visuallyHidden=this.hiddenOptions.size===this.listOptions.length)}listOptionsChanged(e,t){this.hiddenOptions.clear(),t.filter((e=>e.hidden||e.visuallyHidden)).forEach((e=>this.hiddenOptions.add(e))),e?.forEach((e=>{const t=m.getNotifier(e)
|
|
4174
4174
|
t.unsubscribe(this,"hidden"),t.unsubscribe(this,"visuallyHidden")}))
|
|
4175
4175
|
let n=!0
|
|
4176
4176
|
t?.forEach((e=>{const t=m.getNotifier(e)
|
|
4177
4177
|
t.subscribe(this,"hidden"),t.subscribe(this,"visuallyHidden"),n=n&&(e.hidden||e.visuallyHidden)})),this.visuallyHidden=0===t.length||n}}e([le],Lv.prototype,"label",void 0),e([le({mode:"boolean"})],Lv.prototype,"hidden",void 0),e([le({attribute:"visually-hidden",mode:"boolean"})],Lv.prototype,"visuallyHidden",void 0),e([le({attribute:"top-separator-visible",mode:"boolean"})],Lv.prototype,"topSeparatorVisible",void 0),e([le({attribute:"bottom-separator-visible",mode:"boolean"})],Lv.prototype,"bottomSeparatorVisible",void 0),e([g],Lv.prototype,"hasOverflow",void 0),e([g],Lv.prototype,"listOptions",void 0),e([v],Lv.prototype,"labelContent",null)
|
|
4178
|
-
const zv=Lv.compose({baseName:"list-option-group",baseClass:
|
|
4178
|
+
const zv=Lv.compose({baseName:"list-option-group",baseClass:Vt,template:Pv,styles:Nv})
|
|
4179
4179
|
yi.getOrCreate().withPrefix("nimble").register(zv())
|
|
4180
|
-
let
|
|
4181
|
-
e([le()],
|
|
4182
|
-
const
|
|
4180
|
+
let Vv=class extends Vt{}
|
|
4181
|
+
e([le()],Vv.prototype,"key",void 0)
|
|
4182
|
+
const Hv=G`<template slot="mapping"></template>`,Bv=xe`
|
|
4183
4183
|
${Fo("none")}
|
|
4184
4184
|
`
|
|
4185
|
-
class qv extends
|
|
4186
|
-
const Uv=qv.compose({baseName:"mapping-empty",template:
|
|
4185
|
+
class qv extends Vv{}e([le()],qv.prototype,"text",void 0)
|
|
4186
|
+
const Uv=qv.compose({baseName:"mapping-empty",template:Hv,styles:Bv})
|
|
4187
4187
|
function jv(e){return e.prototype instanceof fm}yi.getOrCreate().withPrefix("nimble").register(Uv())
|
|
4188
|
-
class Wv extends
|
|
4188
|
+
class Wv extends Vv{constructor(){super(...arguments),this.textHidden=!1}async resolveIconAsync(e){try{this.resolvedIcon=void 0,await customElements.whenDefined(e)}catch(e){return}if(e!==this.icon)return
|
|
4189
4189
|
const t=customElements.get(e)
|
|
4190
4190
|
this.resolvedIcon=jv(t)?e:void 0}iconChanged(){const e=this.icon
|
|
4191
4191
|
if(!e)return void(this.resolvedIcon=void 0)
|
|
4192
4192
|
const t=customElements.get(e)
|
|
4193
4193
|
t?this.resolvedIcon=jv(t)?e:void 0:this.resolveIconAsync(e)}}e([le()],Wv.prototype,"icon",void 0),e([le()],Wv.prototype,"severity",void 0),e([le()],Wv.prototype,"text",void 0),e([le({attribute:"text-hidden",mode:"boolean"})],Wv.prototype,"textHidden",void 0),e([g],Wv.prototype,"resolvedIcon",void 0)
|
|
4194
|
-
const Gv=Wv.compose({baseName:"mapping-icon",template:
|
|
4194
|
+
const Gv=Wv.compose({baseName:"mapping-icon",template:Hv,styles:Bv})
|
|
4195
4195
|
yi.getOrCreate().withPrefix("nimble").register(Gv())
|
|
4196
|
-
class Zv extends
|
|
4197
|
-
const Kv=Zv.compose({baseName:"mapping-spinner",template:
|
|
4196
|
+
class Zv extends Vv{constructor(){super(...arguments),this.textHidden=!1}}e([le()],Zv.prototype,"text",void 0),e([le({attribute:"text-hidden",mode:"boolean"})],Zv.prototype,"textHidden",void 0)
|
|
4197
|
+
const Kv=Zv.compose({baseName:"mapping-spinner",template:Hv,styles:Bv})
|
|
4198
4198
|
yi.getOrCreate().withPrefix("nimble").register(Kv())
|
|
4199
|
-
class Xv extends
|
|
4200
|
-
const Yv=Xv.compose({baseName:"mapping-text",template:
|
|
4199
|
+
class Xv extends Vv{}e([le()],Xv.prototype,"text",void 0)
|
|
4200
|
+
const Yv=Xv.compose({baseName:"mapping-text",template:Hv,styles:Bv})
|
|
4201
4201
|
yi.getOrCreate().withPrefix("nimble").register(Yv())
|
|
4202
4202
|
const Jv=xe`
|
|
4203
4203
|
${Fo("grid")}
|
|
@@ -4304,7 +4304,7 @@ const eb="auto",tb=xe`
|
|
|
4304
4304
|
<slot></slot>
|
|
4305
4305
|
<slot slot="end" name="end"></slot>
|
|
4306
4306
|
</${rg}>
|
|
4307
|
-
${
|
|
4307
|
+
${He((e=>e.open),G`
|
|
4308
4308
|
<${Ih}
|
|
4309
4309
|
fixed-placement="true"
|
|
4310
4310
|
auto-update-mode="auto"
|
|
@@ -4323,7 +4323,7 @@ const eb="auto",tb=xe`
|
|
|
4323
4323
|
`)}
|
|
4324
4324
|
</template>
|
|
4325
4325
|
`
|
|
4326
|
-
class ib extends
|
|
4326
|
+
class ib extends Vt{constructor(){super(...arguments),this.appearance=Qd,this.disabled=!1,this.contentHidden=!1,this.open=!1,this.position=eb,this.focusLastItemWhenOpened=!1,this.menuChangeHandler=()=>{this.setOpen(!1),this.toggleButton.focus()}}disconnectedCallback(){super.disconnectedCallback(),this.region&&this.region.removeEventListener(wa,this.menuChangeHandler)}toggleButtonChanged(e,t){this.region&&this.toggleButton&&(this.region.anchorElement=this.toggleButton)}regionChanged(e,t){e&&e.removeEventListener(wa,this.menuChangeHandler),this.region&&(this.toggleButton&&(this.region.anchorElement=this.toggleButton),this.region.addEventListener(wa,this.menuChangeHandler,{capture:!0}))}openChanged(e,t){if(this.toggleButton&&(this.toggleButton.checked=this.open),!this.open){const e={oldState:!0,newState:!1}
|
|
4327
4327
|
this.$emit("toggle",e)}}regionLoadedHandler(){this.focusLastItemWhenOpened?(this.focusLastMenuItem(),this.focusLastItemWhenOpened=!1):this.focusMenu()
|
|
4328
4328
|
this.$emit("toggle",{oldState:!1,newState:!0})}focusoutHandler(e){if(!this.open)return!0
|
|
4329
4329
|
const t=e.relatedTarget
|
|
@@ -4431,7 +4431,7 @@ const ab=class extends Ri{}.compose({baseName:"menu-item",baseClass:Ri,template:
|
|
|
4431
4431
|
@mouseout="${(e,t)=>e.handleMouseOut(t.event)}"
|
|
4432
4432
|
class="${e=>e.disabled?"disabled":""} ${e=>e.expanded?"expanded":""} ${e=>`indent-${e.startColumnCount}`}"
|
|
4433
4433
|
>
|
|
4434
|
-
${
|
|
4434
|
+
${He((e=>e.role===Ai),G`
|
|
4435
4435
|
<div part="input-container" class="input-container">
|
|
4436
4436
|
<span part="checkbox" class="checkbox">
|
|
4437
4437
|
<slot name="checkbox-indicator">
|
|
@@ -4440,7 +4440,7 @@ const ab=class extends Ri{}.compose({baseName:"menu-item",baseClass:Ri,template:
|
|
|
4440
4440
|
</span>
|
|
4441
4441
|
</div>
|
|
4442
4442
|
`)}
|
|
4443
|
-
${
|
|
4443
|
+
${He((e=>e.role===Di),G`
|
|
4444
4444
|
<div part="input-container" class="input-container">
|
|
4445
4445
|
<span part="radio" class="radio">
|
|
4446
4446
|
<slot name="radio-indicator">
|
|
@@ -4455,7 +4455,7 @@ const ab=class extends Ri{}.compose({baseName:"menu-item",baseClass:Ri,template:
|
|
|
4455
4455
|
<slot></slot>
|
|
4456
4456
|
</span>
|
|
4457
4457
|
${tt(0,t)}
|
|
4458
|
-
${
|
|
4458
|
+
${He((e=>e.hasSubmenu),G`
|
|
4459
4459
|
<div
|
|
4460
4460
|
part="expand-collapse-glyph-container"
|
|
4461
4461
|
class="expand-collapse-glyph-container"
|
|
@@ -4467,7 +4467,7 @@ const ab=class extends Ri{}.compose({baseName:"menu-item",baseClass:Ri,template:
|
|
|
4467
4467
|
</span>
|
|
4468
4468
|
</div>
|
|
4469
4469
|
`)}
|
|
4470
|
-
${
|
|
4470
|
+
${He((e=>e.expanded),G`
|
|
4471
4471
|
<${e.tagFor(bn)}
|
|
4472
4472
|
:anchorElement="${e=>e}"
|
|
4473
4473
|
vertical-positioning-mode="dynamic"
|
|
@@ -4718,7 +4718,7 @@ const pb=ub.compose({baseName:"number-field",baseClass:qi,template:(e,t)=>G`
|
|
|
4718
4718
|
aria-roledescription="${e=>e.ariaRoledescription}"
|
|
4719
4719
|
${Pe("control")}
|
|
4720
4720
|
/>
|
|
4721
|
-
${
|
|
4721
|
+
${He((e=>!e.hideStep&&!e.readOnly&&!e.disabled),G`
|
|
4722
4722
|
<div class="controls" part="controls">
|
|
4723
4723
|
<div class="step-up" part="step-up" @click="${e=>e.stepUp()}">
|
|
4724
4724
|
<slot name="step-up-glyph">
|
|
@@ -4748,10 +4748,10 @@ const pb=ub.compose({baseName:"number-field",baseClass:qi,template:(e,t)=>G`
|
|
|
4748
4748
|
aria-hidden="true"
|
|
4749
4749
|
>
|
|
4750
4750
|
${e=>Am.getValueFor(e)}
|
|
4751
|
-
<${
|
|
4751
|
+
<${Hg}
|
|
4752
4752
|
slot="start"
|
|
4753
4753
|
>
|
|
4754
|
-
</${
|
|
4754
|
+
</${Hg}>
|
|
4755
4755
|
</${Nh}>
|
|
4756
4756
|
`,stepUpGlyph:G`
|
|
4757
4757
|
<${Nh}
|
|
@@ -5079,9 +5079,11 @@ let n=[],i=0,o=t
|
|
|
5079
5079
|
for(let t=e;;){let{index:e,offset:s}=t.content.findIndex(o),r=o-s
|
|
5080
5080
|
if(n.push(t,e,i+s),!r)break
|
|
5081
5081
|
if(t=t.child(e),t.isText)break
|
|
5082
|
-
o=r-1,i+=s+1}return new zb(t,n,o)}static resolveCached(e,t){
|
|
5083
|
-
if(
|
|
5084
|
-
return
|
|
5082
|
+
o=r-1,i+=s+1}return new zb(t,n,o)}static resolveCached(e,t){let n=Bb.get(e)
|
|
5083
|
+
if(n)for(let e=0;e<n.elts.length;e++){let i=n.elts[e]
|
|
5084
|
+
if(i.pos==t)return i}else Bb.set(e,n=new Vb)
|
|
5085
|
+
let i=n.elts[n.i]=zb.resolve(e,t)
|
|
5086
|
+
return n.i=(n.i+1)%Hb,i}}class Vb{constructor(){this.elts=[],this.i=0}}const Hb=12,Bb=new WeakMap
|
|
5085
5087
|
class qb{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const Ub=Object.create(null)
|
|
5086
5088
|
let jb=class e{constructor(e,t,n,i=$b.none){this.type=e,this.attrs=t,this.marks=i,this.content=n||xb.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,i=0){this.content.nodesBetween(e,t,n,i,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,n,i){return this.content.textBetween(e,t,n,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&Sb(this.attrs,t||e.defaultAttrs||Ub)&&$b.sameSet(this.marks,n||$b.none)}copy(t=null){return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return Eb.empty
|
|
5087
5089
|
let i=this.resolve(e),o=this.resolve(t),s=n?0:i.sharedDepth(t),r=i.start(s),a=i.node(s).content.cut(i.pos-r,o.pos-r)
|
|
@@ -5110,7 +5112,7 @@ if(!$b.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks f
|
|
|
5110
5112
|
this.content.forEach((e=>e.check()))}toJSON(){let e={type:this.type.name}
|
|
5111
5113
|
for(let t in this.attrs){e.attrs=this.attrs
|
|
5112
5114
|
break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map((e=>e.toJSON()))),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON")
|
|
5113
|
-
let n
|
|
5115
|
+
let n
|
|
5114
5116
|
if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON")
|
|
5115
5117
|
n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON")
|
|
5116
5118
|
return e.text(t.text,n)}let i=xb.fromJSON(e,t.content)
|
|
@@ -5248,7 +5250,11 @@ if(!t)throw new RangeError("Unknown node type: "+e)
|
|
|
5248
5250
|
return t}}function dy(e,t){let n=[]
|
|
5249
5251
|
for(let i=0;i<t.length;i++){let o=t[i],s=e.marks[o],r=s
|
|
5250
5252
|
if(s)n.push(s)
|
|
5251
|
-
else for(let t in e.marks){let i=e.marks[t];("_"==o||i.spec.group&&i.spec.group.split(" ").indexOf(o)>-1)&&n.push(r=i)}if(!r)throw new SyntaxError("Unknown mark type: '"+t[i]+"'")}return n}class hy{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[]
|
|
5253
|
+
else for(let t in e.marks){let i=e.marks[t];("_"==o||i.spec.group&&i.spec.group.split(" ").indexOf(o)>-1)&&n.push(r=i)}if(!r)throw new SyntaxError("Unknown mark type: '"+t[i]+"'")}return n}class hy{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[]
|
|
5254
|
+
let n=this.matchedStyles=[]
|
|
5255
|
+
t.forEach((e=>{if(function(e){return null!=e.tag}(e))this.tags.push(e)
|
|
5256
|
+
else if(function(e){return null!=e.style}(e)){let t=/[^=]*/.exec(e.style)[0]
|
|
5257
|
+
n.indexOf(t)<0&&n.push(t),this.styles.push(e)}})),this.normalizeLists=!this.tags.some((t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1
|
|
5252
5258
|
let n=e.nodes[t.node]
|
|
5253
5259
|
return n.contentMatch.matchType(n)}))}parse(e,t={}){let n=new vy(this,t,!1)
|
|
5254
5260
|
return n.addAll(e,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new vy(this,t,!0)
|
|
@@ -5272,11 +5278,9 @@ if(t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))){let n=t
|
|
|
5272
5278
|
t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-e[0].length))}}let t=xb.from(this.content)
|
|
5273
5279
|
return!e&&this.match&&(t=t.append(this.match.fillBefore(xb.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}popFromStashMark(e){for(let t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}applyPending(e){for(let t=0,n=this.pendingMarks;t<n.length;t++){let i=n[t];(this.type?this.type.allowsMarkType(i.type):wy(i.type,e))&&!i.isInSet(this.activeMarks)&&(this.activeMarks=i.addToSet(this.activeMarks),this.pendingMarks=i.removeFromSet(this.pendingMarks))}}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!uy.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class vy{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0
|
|
5274
5280
|
let i,o=t.topNode,s=my(null,t.preserveWhitespace,0)|(n?4:0)
|
|
5275
|
-
i=o?new gy(o.type,o.attrs,$b.none,$b.none,!0,t.topMatch||o.type.contentMatch,s):new gy(n?null:e.schema.topNodeType,null,$b.none,$b.none,!0,null,s),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e){3==e.nodeType?this.addTextNode(e):1==e.nodeType&&this.addElement(e)}withStyleRules(e,t){let n=e.
|
|
5276
|
-
if(!n)return t()
|
|
5277
|
-
let i=this.readStyles(
|
|
5278
|
-
for(;t=n.exec(e);)i.push(t[1],t[2].trim())
|
|
5279
|
-
return i}(n))
|
|
5281
|
+
i=o?new gy(o.type,o.attrs,$b.none,$b.none,!0,t.topMatch||o.type.contentMatch,s):new gy(n?null:e.schema.topNodeType,null,$b.none,$b.none,!0,null,s),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e){3==e.nodeType?this.addTextNode(e):1==e.nodeType&&this.addElement(e)}withStyleRules(e,t){let n=e.style
|
|
5282
|
+
if(!n||!n.length)return t()
|
|
5283
|
+
let i=this.readStyles(e.style)
|
|
5280
5284
|
if(!i)return
|
|
5281
5285
|
let[o,s]=i,r=this.top
|
|
5282
5286
|
for(let e=0;e<s.length;e++)this.removePendingMark(s[e],r)
|
|
@@ -5295,11 +5299,12 @@ let t,n=this.top,s=this.needsBlock
|
|
|
5295
5299
|
if(uy.hasOwnProperty(i))n.content.length&&n.content[0].isInline&&this.open&&(this.open--,n=this.top),t=!0,n.type||(this.needsBlock=!0)
|
|
5296
5300
|
else if(!e.firstChild)return void this.leafFallback(e)
|
|
5297
5301
|
o&&o.skip?this.addAll(e):this.withStyleRules(e,(()=>this.addAll(e))),t&&this.sync(n),this.needsBlock=s}else this.withStyleRules(e,(()=>{this.addElementByRule(e,o,!1===o.consuming?n:void 0)}))}leafFallback(e){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"))}ignoreFallback(e){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))}readStyles(e){let t=$b.none,n=$b.none
|
|
5298
|
-
for(let i=0;i<
|
|
5299
|
-
if(
|
|
5300
|
-
if(
|
|
5301
|
-
if(
|
|
5302
|
-
|
|
5302
|
+
if(e.length)for(let i=0;i<this.parser.matchedStyles.length;i++){let o=this.parser.matchedStyles[i],s=e.getPropertyValue(o)
|
|
5303
|
+
if(s)for(let e;;){let i=this.parser.matchStyle(o,s,this,e)
|
|
5304
|
+
if(!i)break
|
|
5305
|
+
if(i.ignore)return null
|
|
5306
|
+
if(i.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach((e=>{i.clearMark(e)&&(n=e.addToSet(n))})):t=this.parser.schema.marks[i.mark].create(i.attrs).addToSet(t),!1!==i.consuming)break
|
|
5307
|
+
e=i}}return[t,n]}addElementByRule(e,t,n){let i,o,s
|
|
5303
5308
|
if(t.node)o=this.parser.schema.nodes[t.node],o.isLeaf?this.insertNode(o.create(t.attrs))||this.leafFallback(e):i=this.enter(o,t.attrs||null,t.preserveWhitespace)
|
|
5304
5309
|
else{s=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(s)}let r=this.top
|
|
5305
5310
|
if(o&&o.isLeaf)this.findInside(e)
|
|
@@ -5462,17 +5467,17 @@ return new Ly(t.from,t.to,t.gapFrom,t.gapTo,Eb.fromJSON(e,t.slice),t.insert,!!t.
|
|
|
5462
5467
|
for(;o>0&&s>0&&i.indexAfter(s)==i.node(s).childCount;)s--,o--
|
|
5463
5468
|
if(o>0){let e=i.node(s).maybeChild(i.indexAfter(s))
|
|
5464
5469
|
for(;o>0;){if(!e||e.isLeaf)return!0
|
|
5465
|
-
e=e.firstChild,o--}}return!1}function
|
|
5470
|
+
e=e.firstChild,o--}}return!1}function Vy(e,t,n,i=n.contentMatch,o=!0){let s=e.doc.nodeAt(t),r=[],a=t+1
|
|
5466
5471
|
for(let t=0;t<s.childCount;t++){let l=s.child(t),c=a+l.nodeSize,d=i.matchType(l.type)
|
|
5467
5472
|
if(d){i=d
|
|
5468
5473
|
for(let t=0;t<l.marks.length;t++)n.allowsMarkType(l.marks[t].type)||e.step(new Ry(a,c,l.marks[t]))
|
|
5469
5474
|
if(o&&l.isText&&"pre"!=n.whitespace){let e,t,i=/\r?\n|\r/g
|
|
5470
5475
|
for(;e=i.exec(l.text);)t||(t=new Eb(xb.from(n.schema.text(" ",n.allowedMarks(l.marks))),0,0)),r.push(new Py(a+e.index,a+e.index+e[0].length,t))}}else r.push(new Py(a,c,Eb.empty))
|
|
5471
5476
|
a=c}if(!i.validEnd){let t=i.fillBefore(xb.empty,!0)
|
|
5472
|
-
e.replace(a,a,new Eb(t,0,0))}for(let t=r.length-1;t>=0;t--)e.step(r[t])}function
|
|
5477
|
+
e.replace(a,a,new Eb(t,0,0))}for(let t=r.length-1;t>=0;t--)e.step(r[t])}function Hy(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function By(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex)
|
|
5473
5478
|
for(let n=e.depth;;--n){let i=e.$from.node(n),o=e.$from.index(n),s=e.$to.indexAfter(n)
|
|
5474
5479
|
if(n<e.depth&&i.canReplace(o,s,t))return n
|
|
5475
|
-
if(0==n||i.type.spec.isolating||!
|
|
5480
|
+
if(0==n||i.type.spec.isolating||!Hy(i,o,s))break}return null}function qy(e,t,n=null,i=e){let o=function(e,t){let{parent:n,startIndex:i,endIndex:o}=e,s=n.contentMatchAt(i).findWrapping(t)
|
|
5476
5481
|
if(!s)return null
|
|
5477
5482
|
let r=s.length?s[0]:t
|
|
5478
5483
|
return n.canReplaceWith(i,o,r)?s:null}(e,t),s=o&&function(e,t){let{parent:n,startIndex:i,endIndex:o}=e,s=n.child(i),r=t.contentMatch.findWrapping(s.type)
|
|
@@ -5619,7 +5624,7 @@ e.doc.nodesBetween(t,n,((t,n)=>{if(t.isTextblock&&!t.hasMarkup(i,o)&&function(e,
|
|
|
5619
5624
|
return i.parent.canReplaceWith(o,o+1,n)}(e.doc,e.mapping.slice(s).map(n),i)){let r=null
|
|
5620
5625
|
if(i.schema.linebreakReplacement){let e="pre"==i.whitespace,t=!!i.contentMatch.matchType(i.schema.linebreakReplacement)
|
|
5621
5626
|
e&&!t?r=!1:!e&&t&&(r=!0)}!1===r&&function(e,t,n,i){t.forEach(((o,s)=>{if(o.type==o.type.schema.linebreakReplacement){let o=e.mapping.slice(i).map(n+1+s)
|
|
5622
|
-
e.replaceWith(o,o+1,t.type.schema.text("\n"))}}))}(e,t,n,s),
|
|
5627
|
+
e.replaceWith(o,o+1,t.type.schema.text("\n"))}}))}(e,t,n,s),Vy(e,e.mapping.slice(s).map(n,1),i,void 0,null===r)
|
|
5623
5628
|
let a=e.mapping.slice(s),l=a.map(n,1),c=a.map(n+t.nodeSize,1)
|
|
5624
5629
|
return e.step(new Ly(l,c,l+1,c-1,new Eb(xb.from(i.create(o,null,t.marks)),0,0),1,!0)),!0===r&&function(e,t,n,i){t.forEach(((o,s)=>{if(o.isText){let r,a=/\r?\n|\r/g
|
|
5625
5630
|
for(;r=a.exec(o.text);){let o=e.mapping.slice(i).map(n+1+s+r.index)
|
|
@@ -5648,7 +5653,7 @@ for(;t=i.isInSet(n);)(a||(a=[])).push(t),n=t.removeFromSet(n)}else i?i.isInSet(e
|
|
|
5648
5653
|
if(a&&a.length){let i=Math.min(r+e.nodeSize,n)
|
|
5649
5654
|
for(let e=0;e<a.length;e++){let n,l=a[e]
|
|
5650
5655
|
for(let e=0;e<o.length;e++){let t=o[e]
|
|
5651
|
-
t.step==s-1&&l.eq(o[e].style)&&(n=t)}n?(n.to=i,n.step=s):o.push({style:l,from:Math.max(r,t),to:i,step:s})}}})),o.forEach((t=>e.step(new Ry(t.from,t.to,t.style))))}(this,e,t,n),this}clearIncompatible(e,t,n){return
|
|
5656
|
+
t.step==s-1&&l.eq(o[e].style)&&(n=t)}n?(n.to=i,n.step=s):o.push({style:l,from:Math.max(r,t),to:i,step:s})}}})),o.forEach((t=>e.step(new Ry(t.from,t.to,t.style))))}(this,e,t,n),this}clearIncompatible(e,t,n){return Vy(this,e,t,n),this}}
|
|
5652
5657
|
const cw=Object.create(null)
|
|
5653
5658
|
let dw=class{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new hw(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges
|
|
5654
5659
|
for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1
|
|
@@ -5736,11 +5741,11 @@ let Fw=null
|
|
|
5736
5741
|
const Nw=function(e,t,n){let i=Fw||(Fw=document.createRange())
|
|
5737
5742
|
return i.setEnd(e,null==n?e.nodeValue.length:n),i.setStart(e,t||0),i},Pw=function(e,t,n,i){return n&&(zw(e,t,n,i,-1)||zw(e,t,n,i,1))},Lw=/^(img|br|input|textarea|hr)$/i
|
|
5738
5743
|
function zw(e,t,n,i,o){for(;;){if(e==n&&t==i)return!0
|
|
5739
|
-
if(t==(o<0?0:
|
|
5740
|
-
if(!n||1!=n.nodeType||
|
|
5744
|
+
if(t==(o<0?0:Vw(e))){let n=e.parentNode
|
|
5745
|
+
if(!n||1!=n.nodeType||Hw(e)||Lw.test(e.nodeName)||"false"==e.contentEditable)return!1
|
|
5741
5746
|
t=Ow(e)+(o<0?0:1),e=n}else{if(1!=e.nodeType)return!1
|
|
5742
5747
|
if("false"==(e=e.childNodes[t+(o<0?-1:0)]).contentEditable)return!1
|
|
5743
|
-
t=o<0?
|
|
5748
|
+
t=o<0?Vw(e):0}}}function Vw(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Hw(e){let t
|
|
5744
5749
|
for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const Bw=function(e){return e.focusNode&&Pw(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)}
|
|
5745
5750
|
function qw(e,t){let n=document.createEvent("Event")
|
|
5746
5751
|
return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}const Uw="undefined"!=typeof navigator?navigator:null,jw="undefined"!=typeof document?document:null,Ww=Uw&&Uw.userAgent||"",Gw=/Edge\/(\d+)/.exec(Ww),Zw=/MSIE \d/.exec(Ww),Kw=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ww),Xw=!!(Zw||Kw||Gw),Yw=Zw?document.documentMode:Kw?+Kw[1]:Gw?+Gw[1]:0,Jw=!Xw&&/gecko\/(\d+)/i.test(Ww)
|
|
@@ -5801,10 +5806,10 @@ if(3==i.nodeType){if(!r||!Cx.test(i.nodeValue)&&(n<0?o:o!=i.nodeValue.length)){l
|
|
|
5801
5806
|
return n<0&&!o?(t++,s=-1):n>=0&&o==i.nodeValue.length?(e--,s=1):n<0?e--:t++,Sx(xx(Nw(i,e,t),s),s<0)}{let e=xx(Nw(i,o,o),n)
|
|
5802
5807
|
if(Jw&&o&&/\s/.test(i.nodeValue[o-1])&&o<i.nodeValue.length){let t=xx(Nw(i,o-1,o-1),-1)
|
|
5803
5808
|
if(t.top==e.top){let n=xx(Nw(i,o,o+1),-1)
|
|
5804
|
-
if(n.top!=e.top)return Sx(n,n.left<t.left)}}return e}}if(!e.state.doc.resolve(t-(s||0)).parent.inlineContent){if(null==s&&o&&(n<0||o==
|
|
5805
|
-
if(1==e.nodeType)return $x(e.getBoundingClientRect(),!1)}if(null==s&&o<
|
|
5806
|
-
if(1==e.nodeType)return $x(e.getBoundingClientRect(),!0)}return $x(i.getBoundingClientRect(),n>=0)}if(null==s&&o&&(n<0||o==
|
|
5807
|
-
if(t)return Sx(xx(t,1),!1)}if(null==s&&o<
|
|
5809
|
+
if(n.top!=e.top)return Sx(n,n.left<t.left)}}return e}}if(!e.state.doc.resolve(t-(s||0)).parent.inlineContent){if(null==s&&o&&(n<0||o==Vw(i))){let e=i.childNodes[o-1]
|
|
5810
|
+
if(1==e.nodeType)return $x(e.getBoundingClientRect(),!1)}if(null==s&&o<Vw(i)){let e=i.childNodes[o]
|
|
5811
|
+
if(1==e.nodeType)return $x(e.getBoundingClientRect(),!0)}return $x(i.getBoundingClientRect(),n>=0)}if(null==s&&o&&(n<0||o==Vw(i))){let e=i.childNodes[o-1],t=3==e.nodeType?Nw(e,Vw(e)-(r?0:1)):1!=e.nodeType||"BR"==e.nodeName&&e.nextSibling?null:e
|
|
5812
|
+
if(t)return Sx(xx(t,1),!1)}if(null==s&&o<Vw(i)){let e=i.childNodes[o]
|
|
5808
5813
|
for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling
|
|
5809
5814
|
let t=e?3==e.nodeType?Nw(e,0,r?0:1):1==e.nodeType?e:null:null
|
|
5810
5815
|
if(t)return Sx(xx(t,-1),!0)}return Sx(xx(3==i.nodeType?Nw(i):i,-n),n>=0)}function Sx(e,t){if(0==e.width)return e
|
|
@@ -5912,7 +5917,7 @@ if(t.isText)if(c){if(3!=c.nodeType)throw new RangeError("Text must be rendered a
|
|
|
5912
5917
|
else c||({dom:c,contentDOM:d}=xy.renderSpec(document,t.type.spec.toDOM(t)))
|
|
5913
5918
|
d||t.isText||"BR"==c.nodeName||(c.hasAttribute("contenteditable")||(c.contentEditable="false"),t.type.spec.draggable&&(c.draggable=!0))
|
|
5914
5919
|
let h=c
|
|
5915
|
-
return c=Gx(c,n,t),l?r=new
|
|
5920
|
+
return c=Gx(c,n,t),l?r=new Vx(e,t,n,i,c,d||null,h,l,o,s+1):t.isText?new Lx(e,t,n,i,c,h,o):new Nx(e,t,n,i,c,d||null,h,o,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null
|
|
5916
5921
|
let e={node:this.node.type.name,attrs:this.node.attrs}
|
|
5917
5922
|
if("pre"==this.node.type.whitespace&&(e.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let t=this.children.length-1;t>=0;t--){let n=this.children[t]
|
|
5918
5923
|
if(this.dom.contains(n.dom.parentNode)){e.contentElement=n.dom.parentNode
|
|
@@ -5936,7 +5941,7 @@ r<o.length&&o[r].from<e&&(e=o[r].from)
|
|
|
5936
5941
|
for(let t=0;t<a.length;t++)a[t].to<e&&(e=a[t].to)
|
|
5937
5942
|
e<f&&(l=u.cut(e-s),u=u.cut(0,e-s),f=e,p=-1)}else for(;r<o.length&&o[r].to<f;)r++
|
|
5938
5943
|
i(u,u.isInline&&!u.isLeaf?a.filter((e=>!e.inline)):a.slice(),t.forChild(s,u),p),s=f}}(this.node,this.innerDeco,((t,o,s)=>{t.spec.marks?a.syncToMarks(t.spec.marks,n,e):t.type.side>=0&&!s&&a.syncToMarks(o==this.node.childCount?$b.none:this.node.child(o).marks,n,e),a.placeWidget(t,e,i)}),((t,s,l,c)=>{let d
|
|
5939
|
-
a.syncToMarks(t.marks,n,e),a.findNodeMatch(t,s,l,c)||r&&e.state.selection.from>i&&e.state.selection.to<i+t.nodeSize&&(d=a.findIndexWithChild(o.node))>-1&&a.updateNodeAt(t,s,l,d,e)||a.updateNextNode(t,s,l,e,c,i)||a.addNode(t,s,l,e,i),i+=t.nodeSize})),a.syncToMarks([],n,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||2==this.dirty)&&(s&&this.protectLocalComposition(e,s),
|
|
5944
|
+
a.syncToMarks(t.marks,n,e),a.findNodeMatch(t,s,l,c)||r&&e.state.selection.from>i&&e.state.selection.to<i+t.nodeSize&&(d=a.findIndexWithChild(o.node))>-1&&a.updateNodeAt(t,s,l,d,e)||a.updateNextNode(t,s,l,e,c,i)||a.addNode(t,s,l,e,i),i+=t.nodeSize})),a.syncToMarks([],n,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||2==this.dirty)&&(s&&this.protectLocalComposition(e,s),Hx(this.contentDOM,this.children,e),ix&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText
|
|
5940
5945
|
e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:i}=e.state.selection
|
|
5941
5946
|
if(!(e.state.selection instanceof fw)||n<t||i>t+this.node.content.size)return null
|
|
5942
5947
|
let o=e.input.compositionNode
|
|
@@ -5964,14 +5969,14 @@ for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode
|
|
|
5964
5969
|
return{skip:e||!0}}update(e,t,n,i){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=0,!0)}inParent(){let e=this.parent.contentDOM
|
|
5965
5970
|
for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0
|
|
5966
5971
|
return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let i=this.node.cut(e,t),o=document.createTextNode(i.text)
|
|
5967
|
-
return new Lx(this.parent,i,this.outerDeco,this.innerDeco,o,o,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}get domAtom(){return!1}isText(e){return this.node.text==e}}class zx extends Dx{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class
|
|
5972
|
+
return new Lx(this.parent,i,this.outerDeco,this.innerDeco,o,o,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}get domAtom(){return!1}isText(e){return this.node.text==e}}class zx extends Dx{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class Vx extends Nx{constructor(e,t,n,i,o,s,r,a,l,c){super(e,t,n,i,o,s,r,l,c),this.spec=a}update(e,t,n,i){if(3==this.dirty)return!1
|
|
5968
5973
|
if(this.spec.update){let o=this.spec.update(e,t,n)
|
|
5969
|
-
return o&&this.updateInner(e,t,n,i),o}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,i){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function
|
|
5974
|
+
return o&&this.updateInner(e,t,n,i),o}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,i){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function Hx(e,t,n){let i=e.firstChild,o=!1
|
|
5970
5975
|
for(let s=0;s<t.length;s++){let r=t[s],a=r.dom
|
|
5971
5976
|
if(a.parentNode==e){for(;a!=i;)i=Kx(i),o=!0
|
|
5972
5977
|
i=i.nextSibling}else o=!0,e.insertBefore(a,i)
|
|
5973
5978
|
if(r instanceof Fx){let t=i?i.previousSibling:e.lastChild
|
|
5974
|
-
|
|
5979
|
+
Hx(r.contentDOM,r.children,n),i=t?t.nextSibling:e.firstChild}}for(;i;)i=Kx(i),o=!0
|
|
5975
5980
|
o&&n.trackWrites==e&&(n.trackWrites=null)}const Bx=function(e){e&&(this.nodeName=e)}
|
|
5976
5981
|
Bx.prototype=Object.create(null)
|
|
5977
5982
|
const qx=[new Bx]
|
|
@@ -6044,10 +6049,10 @@ if(r<0)return null
|
|
|
6044
6049
|
let a,l,c=i.resolve(r)
|
|
6045
6050
|
if(Bw(n)){for(a=c;o&&!o.node;)o=o.parent
|
|
6046
6051
|
let e=o.node
|
|
6047
|
-
if(o&&e.isAtom&&gw.isSelectable(e)&&o.parent&&(!e.isInline||!function(e,t,n){for(let i=0==t,o=t==
|
|
6052
|
+
if(o&&e.isAtom&&gw.isSelectable(e)&&o.parent&&(!e.isInline||!function(e,t,n){for(let i=0==t,o=t==Vw(e);i||o;){if(e==n)return!0
|
|
6048
6053
|
let t=Ow(e)
|
|
6049
6054
|
if(!(e=e.parentNode))return!1
|
|
6050
|
-
i=i&&0==t,o=o&&t==
|
|
6055
|
+
i=i&&0==t,o=o&&t==Vw(e)}}(n.focusNode,n.focusOffset,o.dom))){let e=o.posBefore
|
|
6051
6056
|
l=new gw(r==e?c:i.resolve(e))}}else{let t=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1)
|
|
6052
6057
|
if(t<0)return null
|
|
6053
6058
|
a=i.resolve(t)}if(!l){l=lC(e,a,c,"pointer"==t||e.state.selection.head<c.pos&&!s?1:-1)}return l}function eC(e){return e.editable?e.hasFocus():dC(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function tC(e,t=!1){let n=e.state.selection
|
|
@@ -6103,11 +6108,11 @@ for(;t&&mC(t,1);)o=t.parentNode,s=Ow(t)+1,t=t.nextSibling
|
|
|
6103
6108
|
if(t)n=t,i=0,r=fC(n)
|
|
6104
6109
|
else{if(n=n.parentNode,n==e.dom)break
|
|
6105
6110
|
i=r=0}}}o&&bC(e,o,s)}(e)}function vC(e){let t=e.pmViewDesc
|
|
6106
|
-
return t&&t.node&&t.node.isBlock}function bC(e,t,n){if(3!=t.nodeType){let e,i;(i=function(e,t){for(;e&&t==e.childNodes.length&&!
|
|
6111
|
+
return t&&t.node&&t.node.isBlock}function bC(e,t,n){if(3!=t.nodeType){let e,i;(i=function(e,t){for(;e&&t==e.childNodes.length&&!Hw(e);)t=Ow(e)+1,e=e.parentNode
|
|
6107
6112
|
for(;e&&t<e.childNodes.length;){let n=e.childNodes[t]
|
|
6108
6113
|
if(3==n.nodeType)return n
|
|
6109
6114
|
if(1==n.nodeType&&"false"==n.contentEditable)break
|
|
6110
|
-
e=n,t=0}}(t,n))?(t=i,n=0):(e=function(e,t){for(;e&&!t&&!
|
|
6115
|
+
e=n,t=0}}(t,n))?(t=i,n=0):(e=function(e,t){for(;e&&!t&&!Hw(e);)t=Ow(e),e=e.parentNode
|
|
6111
6116
|
for(;e&&t;){let n=e.childNodes[t-1]
|
|
6112
6117
|
if(3==n.nodeType)return n
|
|
6113
6118
|
if(1==n.nodeType&&"false"==n.contentEditable)break
|
|
@@ -6197,7 +6202,7 @@ return e.copy(n.append(i))}function TC(e,t,n,i,o,s){let r=t<0?e.firstChild:e.las
|
|
|
6197
6202
|
return e.childCount>1&&(s=0),o<i-1&&(a=TC(a,t,n,i,o+1,s)),o>=n&&(a=t<0?r.contentMatchAt(0).fillBefore(a,s<=o).append(a):a.append(r.contentMatchAt(r.childCount).fillBefore(xb.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,r.copy(a))}function AC(e,t,n){return t<e.openStart&&(e=new Eb(TC(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new Eb(TC(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const DC={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]}
|
|
6198
6203
|
let OC=null
|
|
6199
6204
|
function RC(){return OC||(OC=document.implementation.createHTMLDocument("title"))}const FC={},NC={},PC={touchstart:!0,touchmove:!0}
|
|
6200
|
-
class LC{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function zC(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function
|
|
6205
|
+
class LC{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function zC(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function VC(e){e.someProp("handleDOMEvents",(t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>HC(e,t))}))}function HC(e,t){return e.someProp("handleDOMEvents",(n=>{let i=n[t.type]
|
|
6201
6206
|
return!!i&&(i(e,t)||t.defaultPrevented)}))}function BC(e,t){if(!t.bubbles)return!0
|
|
6202
6207
|
if(t.defaultPrevented)return!1
|
|
6203
6208
|
for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1
|
|
@@ -6251,10 +6256,10 @@ return e.initEvent("event",!0,!0),e.timeStamp}());e.input.compositionNodes.lengt
|
|
|
6251
6256
|
if(!t.focusNode)return null
|
|
6252
6257
|
let n=function(e,t){for(;;){if(3==e.nodeType&&t)return e
|
|
6253
6258
|
if(1==e.nodeType&&t>0){if("false"==e.contentEditable)return null
|
|
6254
|
-
t=
|
|
6259
|
+
t=Vw(e=e.childNodes[t-1])}else{if(!e.parentNode||Hw(e))return null
|
|
6255
6260
|
t=Ow(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),i=function(e,t){for(;;){if(3==e.nodeType&&t<e.nodeValue.length)return e
|
|
6256
6261
|
if(1==e.nodeType&&t<e.childNodes.length){if("false"==e.contentEditable)return null
|
|
6257
|
-
e=e.childNodes[t],t=0}else{if(!e.parentNode||
|
|
6262
|
+
e=e.childNodes[t],t=0}else{if(!e.parentNode||Hw(e))return null
|
|
6258
6263
|
t=Ow(e)+1,e=e.parentNode}}}(t.focusNode,t.focusOffset)
|
|
6259
6264
|
if(n&&i&&n!=i){let t=i.pmViewDesc
|
|
6260
6265
|
if(!t||!t.isText(i.nodeValue))return i
|
|
@@ -6519,11 +6524,11 @@ for(;i>0&&(t||e.indexAfter(i)==e.node(i).childCount);)i--,o++,t=!1
|
|
|
6519
6524
|
if(n){let t=e.node(i).maybeChild(e.indexAfter(i))
|
|
6520
6525
|
for(;t&&!t.isLeaf;)t=t.firstChild,o++}return o}function zk(e){if(2!=e.length)return!1
|
|
6521
6526
|
let t=e.charCodeAt(0),n=e.charCodeAt(1)
|
|
6522
|
-
return t>=56320&&t<=57343&&n>=55296&&n<=56319}class
|
|
6523
|
-
e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!BC(e,t)||
|
|
6527
|
+
return t>=56320&&t<=57343&&n>=55296&&n<=56319}class Vk{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new LC,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(jk),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=qk(this),Bk(this),this.nodeViews=Uk(this),this.docView=Px(this.state.doc,Hk(this),Mk(this),this.dom,this),this.domObserver=new Tk(this,((e,t,n,i)=>Nk(this,e,t,n,i))),this.domObserver.start(),function(e){for(let t in FC){let n=FC[t]
|
|
6528
|
+
e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!BC(e,t)||HC(e,t)||!e.editable&&t.type in NC||n(e,t)},PC[t]?{passive:!0}:void 0)}nx&&e.dom.addEventListener("input",(()=>null)),VC(e)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props
|
|
6524
6529
|
this._props={}
|
|
6525
6530
|
for(let t in e)this._props[t]=e[t]
|
|
6526
|
-
this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&
|
|
6531
|
+
this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&VC(this)
|
|
6527
6532
|
let t=this._props
|
|
6528
6533
|
this._props=e,e.plugins&&(e.plugins.forEach(jk),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={}
|
|
6529
6534
|
for(let e in this._props)t[e]=this._props[e]
|
|
@@ -6536,8 +6541,8 @@ let r=i.plugins!=e.plugins||this._props.plugins!=t.plugins
|
|
|
6536
6541
|
if(r||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=Uk(this);(function(e,t){let n=0,i=0
|
|
6537
6542
|
for(let i in e){if(e[i]!=t[i])return!0
|
|
6538
6543
|
n++}for(let e in t)i++
|
|
6539
|
-
return n!=i})(e,this.nodeViews)&&(this.nodeViews=e,o=!0)}(r||t.handleDOMEvents!=this._props.handleDOMEvents)&&
|
|
6540
|
-
let a=Mk(this),l=
|
|
6544
|
+
return n!=i})(e,this.nodeViews)&&(this.nodeViews=e,o=!0)}(r||t.handleDOMEvents!=this._props.handleDOMEvents)&&VC(this),this.editable=qk(this),Bk(this)
|
|
6545
|
+
let a=Mk(this),l=Hk(this),c=i.plugins==e.plugins||i.doc.eq(e.doc)?e.scrollToSelection>i.scrollToSelection?"to selection":"preserve":"reset",d=o||!this.docView.matchesNode(e.doc,l,a)
|
|
6541
6546
|
!d&&e.selection.eq(i.selection)||(s=!0)
|
|
6542
6547
|
let h="preserve"==c&&s&&null==this.dom.style.overflowAnchor&&function(e){let t,n,i=e.dom.getBoundingClientRect(),o=Math.max(0,i.top)
|
|
6543
6548
|
for(let s=(i.left+i.right)/2,r=o+1;r<Math.min(innerHeight,i.bottom);r+=5){let i=e.root.elementFromPoint(s,r)
|
|
@@ -6579,13 +6584,13 @@ return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let i=this.docView.posFromDOM(e,t,n)
|
|
|
6579
6584
|
if(null==i)throw new RangeError("DOM position not inside the editor")
|
|
6580
6585
|
return i}endOfTextblock(e,t){return Ax(this,t||this.state,e)}pasteHTML(e,t){return sk(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return sk(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&&(!function(e){e.domObserver.stop()
|
|
6581
6586
|
for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t])
|
|
6582
|
-
clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Mk(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,Fw=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){
|
|
6587
|
+
clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Mk(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,Fw=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){HC(e,t)||!FC[t.type]||!e.editable&&t.type in NC||FC[t.type](e,t)}(this,e)}dispatch(e){let t=this._props.dispatchTransaction
|
|
6583
6588
|
t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection()
|
|
6584
6589
|
return nx&&11===this.root.nodeType&&function(e){let t=e.activeElement
|
|
6585
6590
|
for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement
|
|
6586
6591
|
return t}(this.dom.ownerDocument)==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0]
|
|
6587
6592
|
if(n)return Ok(e,n)}let n
|
|
6588
|
-
function i(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",i,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",i,!0),n?Ok(e,n):null}(this,e)||e}domSelection(){return this.root.getSelection()}}function
|
|
6593
|
+
function i(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",i,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",i,!0),n?Ok(e,n):null}(this,e)||e}domSelection(){return this.root.getSelection()}}function Hk(e){let t=Object.create(null)
|
|
6589
6594
|
return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))})),t.translate||(t.translate="no"),[pk.node(0,e.state.doc.content.size,t)]}function Bk(e){if(e.markCursor){let t=document.createElement("img")
|
|
6590
6595
|
t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:pk.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function qk(e){return!e.someProp("editable",(t=>!1===t(e.state)))}function Uk(e){let t=Object.create(null)
|
|
6591
6596
|
function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function jk(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var Wk={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Gk={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Zk="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),Kk="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Xk=0;Xk<10;Xk++)Wk[48+Xk]=Wk[96+Xk]=String(Xk)
|
|
@@ -6761,7 +6766,7 @@ const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer})
|
|
|
6761
6766
|
return null===(t=n.clipboardData)||void 0===t||t.setData("text/html",e),n})(n)
|
|
6762
6767
|
return l({rule:e,state:i,from:t,to:{b:o},pasteEvt:s})}const p=n.doc.content.findDiffStart(i.doc.content),f=n.doc.content.findDiffEnd(i.doc.content)
|
|
6763
6768
|
return"number"==typeof p&&f&&p!==f.b?l({rule:e,state:i,from:p,to:f,pasteEvt:r}):void 0}})))
|
|
6764
|
-
return c}class
|
|
6769
|
+
return c}class VS{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=VS.resolve(e),this.schema=function(e,t){var n
|
|
6765
6770
|
const i=xS(e),{nodeExtensions:o,markExtensions:s}=wS(e),r=null===(n=o.find((e=>yS(e,"topNode"))))||void 0===n?void 0:n.name,a=Object.fromEntries(o.map((n=>{const o=i.filter((e=>e.type===n.name)),s={name:n.name,options:n.options,storage:n.storage,editor:t},r=IS({...e.reduce(((e,t)=>{const i=yS(t,"extendNodeSchema",s)
|
|
6766
6771
|
return{...e,...i?i(n):{}}}),{}),content:MS(yS(n,"content",s)),marks:MS(yS(n,"marks",s)),group:MS(yS(n,"group",s)),inline:MS(yS(n,"inline",s)),atom:MS(yS(n,"atom",s)),selectable:MS(yS(n,"selectable",s)),draggable:MS(yS(n,"draggable",s)),code:MS(yS(n,"code",s)),defining:MS(yS(n,"defining",s)),isolating:MS(yS(n,"isolating",s)),attrs:Object.fromEntries(o.map((e=>{var t
|
|
6767
6772
|
return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:t.default}]})))}),a=MS(yS(n,"parseHTML",s))
|
|
@@ -6775,12 +6780,12 @@ return[e.name,{default:null===(t=null==e?void 0:e.attribute)||void 0===t?void 0:
|
|
|
6775
6780
|
a&&(r.parseDOM=a.map((e=>ES(e,o))))
|
|
6776
6781
|
const l=yS(n,"renderHTML",s)
|
|
6777
6782
|
return l&&(r.toDOM=e=>l({mark:e,HTMLAttributes:SS(e,o)})),[n.name,r]})))
|
|
6778
|
-
return new cy({topNode:r,nodes:a,marks:l})}(this.extensions,t),this.setupExtensions()}static resolve(e){const t=
|
|
6783
|
+
return new cy({topNode:r,nodes:a,marks:l})}(this.extensions,t),this.setupExtensions()}static resolve(e){const t=VS.sort(VS.flatten(e)),n=function(e){const t=e.filter(((t,n)=>e.indexOf(t)!==n))
|
|
6779
6784
|
return[...new Set(t)]}(t.map((e=>e.name)))
|
|
6780
6785
|
return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map((e=>`'${e}'`)).join(", ")}]. This can lead to issues.`),t}static flatten(e){return e.map((e=>{const t=yS(e,"addExtensions",{name:e.name,options:e.options,storage:e.storage})
|
|
6781
6786
|
return t?[e,...this.flatten(t())]:e})).flat(10)}static sort(e){return e.sort(((e,t)=>{const n=yS(e,"priority")||100,i=yS(t,"priority")||100
|
|
6782
6787
|
return n>i?-1:n<i?1:0}))}get commands(){return this.extensions.reduce(((e,t)=>{const n=yS(t,"addCommands",{name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:_S(t.name,this.schema)})
|
|
6783
|
-
return n?{...e,...n()}:e}),{})}get plugins(){const{editor:e}=this,t=
|
|
6788
|
+
return n?{...e,...n()}:e}),{})}get plugins(){const{editor:e}=this,t=VS.sort([...this.extensions].reverse()),n=[],i=[],o=t.map((t=>{const o={name:t.name,options:t.options,storage:t.storage,editor:e,type:_S(t.name,this.schema)},s=[],r=yS(t,"addKeyboardShortcuts",o)
|
|
6784
6789
|
let a={}
|
|
6785
6790
|
if("mark"===t.type&&t.config.exitable&&(a.ArrowRight=()=>A$.handleExit({editor:e,mark:t})),r){const t=Object.fromEntries(Object.entries(r()).map((([t,n])=>[t,()=>n({editor:e})])))
|
|
6786
6791
|
a={...a,...t}}const l=new _w({props:{handleKeyDown:tS(a)}})
|
|
@@ -6800,8 +6805,8 @@ return o()({editor:e,node:i,getPos:r,decorations:a,HTMLAttributes:l,extension:t}
|
|
|
6800
6805
|
this.editor.extensionStorage[e.name]=e.storage
|
|
6801
6806
|
const n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:_S(e.name,this.schema)}
|
|
6802
6807
|
if("mark"===e.type){(null===(t=MS(yS(e,"keepOnSplit",n)))||void 0===t||t)&&this.splittableMarks.push(e.name)}const i=yS(e,"onBeforeCreate",n),o=yS(e,"onCreate",n),s=yS(e,"onUpdate",n),r=yS(e,"onSelectionUpdate",n),a=yS(e,"onTransaction",n),l=yS(e,"onFocus",n),c=yS(e,"onBlur",n),d=yS(e,"onDestroy",n)
|
|
6803
|
-
i&&this.editor.on("beforeCreate",i),o&&this.editor.on("create",o),s&&this.editor.on("update",s),r&&this.editor.on("selectionUpdate",r),a&&this.editor.on("transaction",a),l&&this.editor.on("focus",l),c&&this.editor.on("blur",c),d&&this.editor.on("destroy",d)}))}}function
|
|
6804
|
-
return
|
|
6808
|
+
i&&this.editor.on("beforeCreate",i),o&&this.editor.on("create",o),s&&this.editor.on("update",s),r&&this.editor.on("selectionUpdate",r),a&&this.editor.on("transaction",a),l&&this.editor.on("focus",l),c&&this.editor.on("blur",c),d&&this.editor.on("destroy",d)}))}}function HS(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function BS(e,t){const n={...e}
|
|
6809
|
+
return HS(e)&&HS(t)&&Object.keys(t).forEach((i=>{HS(t[i])?i in e?n[i]=BS(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})})),n}class qS{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=MS(yS(this,"addOptions",{name:this.name}))),this.storage=MS(yS(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new qS(e)}configure(e={}){const t=this.extend()
|
|
6805
6810
|
return t.parent=this.parent,t.options=BS(this.options,e),t.storage=MS(yS(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new qS({...this.config,...e})
|
|
6806
6811
|
return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=MS(yS(t,"addOptions",{name:t.name})),t.storage=MS(yS(t,"addStorage",{name:t.name,options:t.options})),t}}function US(e,t,n){const{from:i,to:o}=t,{blockSeparator:s="\n\n",textSerializers:r={}}=n||{}
|
|
6807
6812
|
let a=""
|
|
@@ -7115,8 +7120,8 @@ this.view.updateState(i)}unregisterPlugin(e){if(this.isDestroyed)return
|
|
|
7115
7120
|
const t="string"==typeof e?`${e}$`:e.key,n=this.state.reconfigure({plugins:this.state.plugins.filter((e=>!e.key.startsWith(t)))})
|
|
7116
7121
|
this.view.updateState(n)}createExtensionManager(){var e,t
|
|
7117
7122
|
const n=[...this.options.enableCoreExtensions?[k$,WS.configure({blockSeparator:null===(t=null===(e=this.options.coreExtensionOptions)||void 0===e?void 0:e.clipboardTextSerializer)||void 0===t?void 0:t.blockSeparator}),C$,S$,$$,M$]:[],...this.options.extensions].filter((e=>["extension","node","mark"].includes(null==e?void 0:e.type)))
|
|
7118
|
-
this.extensionManager=new
|
|
7119
|
-
this.view=new
|
|
7123
|
+
this.extensionManager=new VS(n,this)}createCommandManager(){this.commandManager=new vS({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){const e=c$(this.options.content,this.schema,this.options.parseOptions),t=e$(e,this.options.autofocus)
|
|
7124
|
+
this.view=new Vk(this.options.element,{...this.options.editorProps,dispatchTransaction:this.dispatchTransaction.bind(this),state:Ew.create({doc:e,selection:t||void 0})})
|
|
7120
7125
|
const n=this.state.reconfigure({plugins:this.extensionManager.plugins})
|
|
7121
7126
|
this.view.updateState(n),this.createNodeViews(),this.prependClass()
|
|
7122
7127
|
this.view.dom.editor=this}createNodeViews(){this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1
|
|
@@ -7220,7 +7225,7 @@ const N$=class extends uo{}.compose({baseName:"toolbar",baseClass:uo,template:(e
|
|
|
7220
7225
|
</template>
|
|
7221
7226
|
`,styles:F$,shadowOptions:{delegatesFocus:!0}})
|
|
7222
7227
|
yi.getOrCreate().withPrefix("nimble").register(N$())
|
|
7223
|
-
const P$="nimble-toolbar",L$="Bold",z$="Italics",
|
|
7228
|
+
const P$="nimble-toolbar",L$="Bold",z$="Italics",V$="Bulleted List",H$="Numbered List",B$=pi.create({name:"rich-text-toggle-bold-label",cssCustomPropertyName:null}).withDefault(L$),q$=pi.create({name:"rich-text-toggle-italics-label",cssCustomPropertyName:null}).withDefault(z$),U$=pi.create({name:"rich-text-toggle-bulleted-list-label",cssCustomPropertyName:null}).withDefault(V$),j$=pi.create({name:"rich-text-toggle-numbered-list-label",cssCustomPropertyName:null}).withDefault(H$),W$=xe`
|
|
7224
7229
|
${pg}
|
|
7225
7230
|
|
|
7226
7231
|
:host {
|
|
@@ -7679,7 +7684,7 @@ var OM
|
|
|
7679
7684
|
!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(OM||(OM={}))
|
|
7680
7685
|
var RM,FM,NM
|
|
7681
7686
|
function PM(e){return e>=OM.ZERO&&e<=OM.NINE}function LM(e){return e>=OM.UPPER_A&&e<=OM.UPPER_F||e>=OM.LOWER_A&&e<=OM.LOWER_F}function zM(e){return e===OM.EQUALS||function(e){return e>=OM.UPPER_A&&e<=OM.UPPER_Z||e>=OM.LOWER_A&&e<=OM.LOWER_Z||PM(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(RM||(RM={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(FM||(FM={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(NM||(NM={}))
|
|
7682
|
-
class
|
|
7687
|
+
class VM{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=FM.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=NM.Strict}startEntity(e){this.decodeMode=e,this.state=FM.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case FM.EntityStart:return e.charCodeAt(t)===OM.NUM?(this.state=FM.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=FM.NamedEntity,this.stateNamedEntity(e,t))
|
|
7683
7688
|
case FM.NumericStart:return this.stateNumericStart(e,t)
|
|
7684
7689
|
case FM.NumericDecimal:return this.stateNumericDecimal(e,t)
|
|
7685
7690
|
case FM.NumericHex:return this.stateNumericHex(e,t)
|
|
@@ -7708,8 +7713,8 @@ switch(this.state){case FM.NamedEntity:return 0===this.result||this.decodeMode==
|
|
|
7708
7713
|
case FM.NumericDecimal:return this.emitNumericEntity(0,2)
|
|
7709
7714
|
case FM.NumericHex:return this.emitNumericEntity(0,3)
|
|
7710
7715
|
case FM.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0
|
|
7711
|
-
case FM.EntityStart:return 0}}}function
|
|
7712
|
-
const n=new
|
|
7716
|
+
case FM.EntityStart:return 0}}}function HM(e){let t=""
|
|
7717
|
+
const n=new VM(e,(e=>t+=DM(e)))
|
|
7713
7718
|
return function(e,i){let o=0,s=0
|
|
7714
7719
|
for(;(s=e.indexOf("&",s))>=0;){t+=e.slice(o,s),n.startEntity(i)
|
|
7715
7720
|
const r=n.write(e,s+1)
|
|
@@ -7722,8 +7727,8 @@ return t<0||t>=o?-1:e[n+t]-1}let r=n,a=r+o-1
|
|
|
7722
7727
|
for(;r<=a;){const t=r+a>>>1,n=e[t]
|
|
7723
7728
|
if(n<i)r=t+1
|
|
7724
7729
|
else{if(!(n>i))return e[t+o]
|
|
7725
|
-
a=t-1}}return-1}const qM=
|
|
7726
|
-
function UM(e,t=NM.Legacy){return qM(e,t)}function jM(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}
|
|
7730
|
+
a=t-1}}return-1}const qM=HM(_M)
|
|
7731
|
+
function UM(e,t=NM.Legacy){return qM(e,t)}function jM(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}HM(TM)
|
|
7727
7732
|
const WM=Object.prototype.hasOwnProperty
|
|
7728
7733
|
function GM(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object")
|
|
7729
7734
|
Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e}function ZM(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function KM(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function XM(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e)
|
|
@@ -7901,11 +7906,11 @@ function LE(e,t){const n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t]
|
|
|
7901
7906
|
return e.src.slice(n,i)}function zE(e){const t=[],n=e.length
|
|
7902
7907
|
let i=0,o=e.charCodeAt(i),s=!1,r=0,a=""
|
|
7903
7908
|
for(;i<n;)124===o&&(s?(a+=e.substring(r,i-1),r=i):(t.push(a+e.substring(r,i)),a="",r=i+1)),s=92===o,i++,o=e.charCodeAt(i)
|
|
7904
|
-
return t.push(a+e.substring(r)),t}function
|
|
7909
|
+
return t.push(a+e.substring(r)),t}function VE(e,t){const n=e.eMarks[t]
|
|
7905
7910
|
let i=e.bMarks[t]+e.tShift[t]
|
|
7906
7911
|
const o=e.src.charCodeAt(i++)
|
|
7907
7912
|
if(42!==o&&45!==o&&43!==o)return-1
|
|
7908
|
-
if(i<n){if(!aE(e.src.charCodeAt(i)))return-1}return i}function
|
|
7913
|
+
if(i<n){if(!aE(e.src.charCodeAt(i)))return-1}return i}function HE(e,t){const n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t]
|
|
7909
7914
|
let o=n
|
|
7910
7915
|
if(o+1>=i)return-1
|
|
7911
7916
|
let s=e.src.charCodeAt(o++)
|
|
@@ -8023,7 +8028,7 @@ return l.map=[t,e.line],l.markup=Array(a+1).join(String.fromCharCode(r)),!0},["p
|
|
|
8023
8028
|
if(e.sCount[l]-e.blkIndent>=4)return!1
|
|
8024
8029
|
if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1
|
|
8025
8030
|
let d,h,u,p=!1
|
|
8026
|
-
if(i&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(p=!0),(u=
|
|
8031
|
+
if(i&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(p=!0),(u=HE(e,l))>=0){if(d=!0,r=e.bMarks[l]+e.tShift[l],h=Number(e.src.slice(r,u-1)),p&&1!==h)return!1}else{if(!((u=VE(e,l))>=0))return!1
|
|
8027
8032
|
d=!1}if(p&&e.skipSpaces(u)>=e.eMarks[l])return!1
|
|
8028
8033
|
if(i)return!0
|
|
8029
8034
|
const f=e.src.charCodeAt(u-1),m=e.tokens.length
|
|
@@ -8052,8 +8057,8 @@ if(e.sCount[l]-e.blkIndent>=4)break
|
|
|
8052
8057
|
let k=!1
|
|
8053
8058
|
for(let t=0,i=b.length;t<i;t++)if(b[t](e,l,n,!0)){k=!0
|
|
8054
8059
|
break}if(k)break
|
|
8055
|
-
if(d){if(u=
|
|
8056
|
-
r=e.bMarks[l]+e.tShift[l]}else if(u=
|
|
8060
|
+
if(d){if(u=HE(e,l),u<0)break
|
|
8061
|
+
r=e.bMarks[l]+e.tShift[l]}else if(u=VE(e,l),u<0)break
|
|
8057
8062
|
if(f!==e.src.charCodeAt(u-1))break}return a=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),a.markup=String.fromCharCode(f),g[1]=l,e.line=l,e.parentType=y,c&&function(e,t){const n=e.level+2
|
|
8058
8063
|
for(let i=t+2,o=e.tokens.length-2;i<o;i++)e.tokens[i].level===n&&"paragraph_open"===e.tokens[i].type&&(e.tokens[i+2].hidden=!0,e.tokens[i].hidden=!0,i+=2)}(e,m),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,i){let o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],r=t+1
|
|
8059
8064
|
if(e.sCount[t]-e.blkIndent>=4)return!1
|
|
@@ -8433,9 +8438,9 @@ for(let n=SI;;n+=SI){const i=n<=s?1:n>=s+26?26:n-s
|
|
|
8433
8438
|
if(e<i)break
|
|
8434
8439
|
const o=e-i,r=SI-i
|
|
8435
8440
|
t.push(TI(RI(i+o%r,0))),e=_I(o/r)}t.push(TI(RI(e,0))),s=FI(o,l,a===r),o=0,++a}++o,++i}return t.join("")},LI={version:"2.3.1",ucs2:{decode:OI,encode:e=>String.fromCodePoint(...e)},decode:NI,encode:PI,toASCII:function(e){return DI(e,(function(e){return MI.test(e)?"xn--"+PI(e):e}))},toUnicode:function(e){return DI(e,(function(e){return $I.test(e)?NI(e.slice(4).toLowerCase()):e}))}}
|
|
8436
|
-
const zI={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},
|
|
8441
|
+
const zI={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},VI=/^(vbscript|javascript|file|data):/,HI=/^data:image\/(gif|png|jpeg|webp);/
|
|
8437
8442
|
function BI(e){const t=e.trim().toLowerCase()
|
|
8438
|
-
return!
|
|
8443
|
+
return!VI.test(t)||HI.test(t)}const qI=["http:","https:","mailto:"]
|
|
8439
8444
|
function UI(e){const t=wM(e,!0)
|
|
8440
8445
|
if(t.hostname&&(!t.protocol||qI.indexOf(t.protocol)>=0))try{t.hostname=LI.toASCII(t.hostname)}catch(e){}return rM(aM(t))}function jI(e){const t=wM(e,!0)
|
|
8441
8446
|
if(t.hostname&&(!t.protocol||qI.indexOf(t.protocol)>=0))try{t.hostname=LI.toUnicode(t.hostname)}catch(e){}return oM(aM(t),oM.defaultChars+"%")}function WI(e,t){if(!(this instanceof WI))return new WI(e,t)
|
|
@@ -8536,8 +8541,8 @@ return`${e.repeat(" ",i-o.length)+o}. `}))},doc:o_.nodes.doc,paragraph:o_.nodes.
|
|
|
8536
8541
|
e.forEach((e=>{n[e]=t}))
|
|
8537
8542
|
const i={italic:o_.marks.em,bold:o_.marks.strong,link:{open:"<",close:">",escape:!1,expelEnclosingWhitespace:!0}}
|
|
8538
8543
|
return new i_(n,i)}}class d_{constructor(e,t){this.iconTemplate=G`<${e.icon} slot="start"></${e.icon}>`,this.character=e.character,this.viewElement=e.viewElement,this.validator=e.validator,this.mentionUpdateEmitter=t}}e([g],d_.prototype,"mappingConfigs",void 0),e([g],d_.prototype,"pattern",void 0),e([g],d_.prototype,"buttonLabel",void 0)
|
|
8539
|
-
class h_ extends
|
|
8540
|
-
this.$emit("mention-update",t)}handleChange(e,t){e instanceof
|
|
8544
|
+
class h_ extends Vt{constructor(){super(...arguments),this.mentionInternals=new d_(this.getMentionInternalsOptions(),(e=>{this.emitMentionUpdate(e)})),this.mappingNotifiers=[],this.mappingElements=[]}checkValidity(){return this.mentionInternals.validator.isValid()}get validity(){return this.mentionInternals.validator.getValidity()}emitMentionUpdate(e){const t={filter:e}
|
|
8545
|
+
this.$emit("mention-update",t)}handleChange(e,t){e instanceof Vv&&"string"==typeof t&&this.getObservedMappingProperty().includes(t)&&this.updateMappingConfigs()}getMappingConfigs(){const e=new Map
|
|
8541
8546
|
return this.mappingElements.forEach((t=>{const n=t.key??void 0
|
|
8542
8547
|
if(void 0===n||"string"!=typeof n)throw Error("mentionHref was invalid for type. Validation should have prevented this.")
|
|
8543
8548
|
const i=this.createMappingConfig(t)
|
|
@@ -8553,7 +8558,7 @@ case"pattern":this.track("pattern")
|
|
|
8553
8558
|
break
|
|
8554
8559
|
case"buttonLabel":this.track("buttonLabel")}this.queueUpdate()}trackMentionElementsInstancesChanged(){this.track("pattern"),this.track("mappingConfigs"),this.track("buttonLabel"),this.queueUpdate()}queueUpdate(){this.richText.$fastController.isConnected&&(this.updateQueued||(this.updateQueued=!0,u.queueUpdate((()=>{this.richText.createConfig(),this.untrackAll(),this.updateQueued=!1}))))}}class b_{constructor(){this.invalidMentionConfiguration=!1,this.duplicateMentionConfiguration=!1}getValidity(){return{invalidMentionConfiguration:this.invalidMentionConfiguration,duplicateMentionConfiguration:this.duplicateMentionConfiguration}}isValid(){return Object.values(this.getValidity()).every((e=>!1===e))}validate(e){this.validateDuplicateMentionConfigurations(e),this.validateMentionConfigurations(e)}validateMentionConfigurations(e){return this.invalidMentionConfiguration=e.some((e=>!e.mentionInternals.validator.isValid())),!this.invalidMentionConfiguration}validateDuplicateMentionConfigurations(e){const t=e.map((e=>e.mentionInternals.character))
|
|
8555
8560
|
return this.duplicateMentionConfiguration=t.length!==new Set(t).size,!this.duplicateMentionConfiguration}}async function y_(e){const t=e.map((async e=>e.matches(":not(:defined)")?customElements.whenDefined(e.localName):Promise.resolve()))
|
|
8556
|
-
await Promise.all(t)}class w_ extends
|
|
8561
|
+
await Promise.all(t)}class w_ extends Vt{constructor(){super(...arguments),this.mentionInternalsNotifiers=[],this.childItems=[],this.richTextUpdateTracker=new v_(this),this.richTextValidator=new b_}get validity(){return this.richTextValidator.getValidity()}checkValidity(){return this.richTextValidator.isValid()}handleChange(e,t){e instanceof d_&&"string"==typeof t&&this.richTextUpdateTracker.trackMentionInternalsPropertyChanged(t)}createConfig(){this.validate(),this.richTextValidator.isValid()?(this.richTextUpdateTracker.updateMappingConfigs||this.richTextUpdateTracker.updatePattern)&&(this.configuration=new p_(this.mentionElements)):this.configuration=void 0}validate(){this.richTextValidator.validate(this.mentionElements)}childItemsChanged(e,t){void 0!==e&&this.updateMentionElementsFromChildItems()}async updateMentionElementsFromChildItems(){await y_(this.childItems),this.mentionElements=this.childItems.filter((e=>e instanceof h_)),this.observeMentionInternals(),this.richTextUpdateTracker.trackMentionElementsInstancesChanged()}observeMentionInternals(){this.removeMentionInternalsObservers()
|
|
8557
8562
|
for(const e of this.mentionElements){const t=m.getNotifier(e.mentionInternals)
|
|
8558
8563
|
t.subscribe(this),this.mentionInternalsNotifiers.push(t)}}removeMentionInternalsObservers(){this.mentionInternalsNotifiers.forEach((e=>{e.unsubscribe(this)})),this.mentionInternalsNotifiers=[]}}e([g],w_.prototype,"childItems",void 0),e([g],w_.prototype,"configuration",void 0)
|
|
8559
8564
|
const x_=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,C_=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,k_=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,S_=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,$_=A$.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"strong"},{tag:"b",getAttrs:e=>"normal"!==e.style.fontWeight&&null},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}],renderHTML({HTMLAttributes:e}){return["strong",kS(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[_$({find:x_,type:this.type}),_$({find:k_,type:this.type})]},addPasteRules(){return[O$({find:C_,type:this.type}),O$({find:S_,type:this.type})]}}),M_=D$.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",kS(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),E_=A$.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:e}){return["span",kS(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:e,commands:t})=>{const n=d$(e,this.type)
|
|
@@ -8611,25 +8616,25 @@ let l,c=new N_(r.invert(),e,a),d=i.length-1;(l=i.length&&i[d].merge(c))?i[d]=l:i
|
|
|
8611
8616
|
class N_{constructor(e,t,n,i){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let t=e.step.merge(this.step)
|
|
8612
8617
|
if(t)return new N_(t.getMap().invert(),t,this.selection)}}}class P_{constructor(e,t,n,i,o){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=i,this.prevComposition=o}}const L_=20
|
|
8613
8618
|
function z_(e){let t=[]
|
|
8614
|
-
return e.forEach(((e,n,i,o)=>t.push(i,o))),t}function
|
|
8619
|
+
return e.forEach(((e,n,i,o)=>t.push(i,o))),t}function V_(e,t){if(!e)return null
|
|
8615
8620
|
let n=[]
|
|
8616
8621
|
for(let i=0;i<e.length;i+=2){let o=t.map(e[i],1),s=t.map(e[i+1],-1)
|
|
8617
|
-
o<=s&&n.push(o,s)}return n}let
|
|
8622
|
+
o<=s&&n.push(o,s)}return n}let H_=!1,B_=null
|
|
8618
8623
|
function q_(e){let t=e.plugins
|
|
8619
|
-
if(B_!=t){
|
|
8620
|
-
for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){
|
|
8621
|
-
break}}return
|
|
8624
|
+
if(B_!=t){H_=!1,B_=t
|
|
8625
|
+
for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){H_=!0
|
|
8626
|
+
break}}return H_}const U_=new Dw("history"),j_=new Dw("closeHistory")
|
|
8622
8627
|
function W_(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new _w({key:U_,state:{init:()=>new P_(F_.empty,F_.empty,null,0,-1),apply:(t,n,i)=>function(e,t,n,i){let o,s=n.getMeta(U_)
|
|
8623
8628
|
if(s)return s.historyState
|
|
8624
8629
|
n.getMeta(j_)&&(e=new P_(e.done,e.undone,null,0,-1))
|
|
8625
8630
|
let r=n.getMeta("appendedTransaction")
|
|
8626
8631
|
if(0==n.steps.length)return e
|
|
8627
8632
|
if(r&&r.getMeta(U_))return r.getMeta(U_).redo?new P_(e.done.addTransform(n,void 0,i,q_(t)),e.undone,z_(n.mapping.maps[n.steps.length-1]),e.prevTime,e.prevComposition):new P_(e.done,e.undone.addTransform(n,void 0,i,q_(t)),null,e.prevTime,e.prevComposition)
|
|
8628
|
-
if(!1===n.getMeta("addToHistory")||r&&!1===r.getMeta("addToHistory"))return(o=n.getMeta("rebased"))?new P_(e.done.rebased(n,o),e.undone.rebased(n,o),
|
|
8633
|
+
if(!1===n.getMeta("addToHistory")||r&&!1===r.getMeta("addToHistory"))return(o=n.getMeta("rebased"))?new P_(e.done.rebased(n,o),e.undone.rebased(n,o),V_(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new P_(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),V_(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)
|
|
8629
8634
|
{let o=n.getMeta("composition"),s=0==e.prevTime||!r&&e.prevComposition!=o&&(e.prevTime<(n.time||0)-i.newGroupDelay||!function(e,t){if(!t)return!1
|
|
8630
8635
|
if(!e.docChanged)return!0
|
|
8631
8636
|
let n=!1
|
|
8632
|
-
return e.mapping.maps[0].forEach(((e,i)=>{for(let o=0;o<t.length;o+=2)e<=t[o+1]&&i>=t[o]&&(n=!0)})),n}(n,e.prevRanges)),a=r?
|
|
8637
|
+
return e.mapping.maps[0].forEach(((e,i)=>{for(let o=0;o<t.length;o+=2)e<=t[o+1]&&i>=t[o]&&(n=!0)})),n}(n,e.prevRanges)),a=r?V_(e.prevRanges,n.mapping):z_(n.mapping.maps[n.steps.length-1])
|
|
8633
8638
|
return new P_(e.done.addTransform(n,s?t.selection.getBookmark():void 0,i,q_(t)),F_.empty,a,n.time,null==o?e.prevComposition:o)}}(n,i,t,e)},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,i="historyUndo"==n?Z_:"historyRedo"==n?K_:null
|
|
8634
8639
|
return!!i&&(t.preventDefault(),i(e.state,e.dispatch))}}}})}function G_(e,t){return(n,i)=>{let o=U_.getState(n)
|
|
8635
8640
|
if(!o||0==(e?o.undone:o.done).eventCount)return!1
|
|
@@ -8659,8 +8664,8 @@ for(const i in t)t[i].indexOf(e)>=0&&(n[i]=!0)
|
|
|
8659
8664
|
return n}(r.t,i),n)
|
|
8660
8665
|
gT(s,e,i)}else n&&gT(s,n,i)
|
|
8661
8666
|
r.t=s}return o.j[e]=r,r}}
|
|
8662
|
-
const bT=(e,t,n,i,o)=>e.ta(t,n,i,o),yT=(e,t,n,i,o)=>e.tr(t,n,i,o),wT=(e,t,n,i,o)=>e.ts(t,n,i,o),xT=(e,t,n,i,o)=>e.tt(t,n,i,o),CT="WORD",kT="UWORD",ST="LOCALHOST",$T="TLD",MT="UTLD",ET="SCHEME",IT="SLASH_SCHEME",_T="NUM",TT="WS",AT="NL",DT="OPENBRACE",OT="CLOSEBRACE",RT="OPENBRACKET",FT="CLOSEBRACKET",NT="OPENPAREN",PT="CLOSEPAREN",LT="OPENANGLEBRACKET",zT="CLOSEANGLEBRACKET",
|
|
8663
|
-
var wA=Object.freeze({__proto__:null,WORD:CT,UWORD:kT,LOCALHOST:ST,TLD:$T,UTLD:MT,SCHEME:ET,SLASH_SCHEME:IT,NUM:_T,WS:TT,NL:AT,OPENBRACE:DT,CLOSEBRACE:OT,OPENBRACKET:RT,CLOSEBRACKET:FT,OPENPAREN:NT,CLOSEPAREN:PT,OPENANGLEBRACKET:LT,CLOSEANGLEBRACKET:zT,FULLWIDTHLEFTPAREN:
|
|
8667
|
+
const bT=(e,t,n,i,o)=>e.ta(t,n,i,o),yT=(e,t,n,i,o)=>e.tr(t,n,i,o),wT=(e,t,n,i,o)=>e.ts(t,n,i,o),xT=(e,t,n,i,o)=>e.tt(t,n,i,o),CT="WORD",kT="UWORD",ST="LOCALHOST",$T="TLD",MT="UTLD",ET="SCHEME",IT="SLASH_SCHEME",_T="NUM",TT="WS",AT="NL",DT="OPENBRACE",OT="CLOSEBRACE",RT="OPENBRACKET",FT="CLOSEBRACKET",NT="OPENPAREN",PT="CLOSEPAREN",LT="OPENANGLEBRACKET",zT="CLOSEANGLEBRACKET",VT="FULLWIDTHLEFTPAREN",HT="FULLWIDTHRIGHTPAREN",BT="LEFTCORNERBRACKET",qT="RIGHTCORNERBRACKET",UT="LEFTWHITECORNERBRACKET",jT="RIGHTWHITECORNERBRACKET",WT="FULLWIDTHLESSTHAN",GT="FULLWIDTHGREATERTHAN",ZT="AMPERSAND",KT="APOSTROPHE",XT="ASTERISK",YT="AT",JT="BACKSLASH",QT="BACKTICK",eA="CARET",tA="COLON",nA="COMMA",iA="DOLLAR",oA="DOT",sA="EQUALS",rA="EXCLAMATION",aA="HYPHEN",lA="PERCENT",cA="PIPE",dA="PLUS",hA="POUND",uA="QUERY",pA="QUOTE",fA="SEMI",mA="SLASH",gA="TILDE",vA="UNDERSCORE",bA="EMOJI",yA="SYM"
|
|
8668
|
+
var wA=Object.freeze({__proto__:null,WORD:CT,UWORD:kT,LOCALHOST:ST,TLD:$T,UTLD:MT,SCHEME:ET,SLASH_SCHEME:IT,NUM:_T,WS:TT,NL:AT,OPENBRACE:DT,CLOSEBRACE:OT,OPENBRACKET:RT,CLOSEBRACKET:FT,OPENPAREN:NT,CLOSEPAREN:PT,OPENANGLEBRACKET:LT,CLOSEANGLEBRACKET:zT,FULLWIDTHLEFTPAREN:VT,FULLWIDTHRIGHTPAREN:HT,LEFTCORNERBRACKET:BT,RIGHTCORNERBRACKET:qT,LEFTWHITECORNERBRACKET:UT,RIGHTWHITECORNERBRACKET:jT,FULLWIDTHLESSTHAN:WT,FULLWIDTHGREATERTHAN:GT,AMPERSAND:ZT,APOSTROPHE:KT,ASTERISK:XT,AT:YT,BACKSLASH:JT,BACKTICK:QT,CARET:eA,COLON:tA,COMMA:nA,DOLLAR:iA,DOT:oA,EQUALS:sA,EXCLAMATION:rA,HYPHEN:aA,PERCENT:lA,PIPE:cA,PLUS:dA,POUND:hA,QUERY:uA,QUOTE:pA,SEMI:fA,SLASH:mA,TILDE:gA,UNDERSCORE:vA,EMOJI:bA,SYM:yA})
|
|
8664
8669
|
const xA=/[a-z]/,CA=/\p{L}/u,kA=/\p{Emoji}/u,SA=/\d/,$A=/\s/,MA="\n",EA="️",IA=""
|
|
8665
8670
|
let _A=null,TA=null
|
|
8666
8671
|
function AA(e,t,n,i,o){let s
|
|
@@ -8686,7 +8691,7 @@ return"function"==typeof i&&null!=t&&(i=i(t,n.t,n)),i},render(e){const t=e.rende
|
|
|
8686
8691
|
return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},NA.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),i=e.get("format",t,this)
|
|
8687
8692
|
return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=OA.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),i=e.get("formatHref",n,this),o=e.get("tagName",n,t),s=this.toFormattedString(e),r={},a=e.get("className",n,t),l=e.get("target",n,t),c=e.get("rel",n,t),d=e.getObj("attributes",n,t),h=e.getObj("events",n,t)
|
|
8688
8693
|
return r.href=i,a&&(r.class=a),l&&(r.target=l),c&&(r.rel=c),d&&oT(r,d),{tagName:o,attributes:r,content:s,eventListeners:h}}}
|
|
8689
|
-
const LA=PA("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),zA=PA("text"),
|
|
8694
|
+
const LA=PA("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),zA=PA("text"),VA=PA("nl"),HA=PA("url",{isLink:!0,toHref(e){return void 0===e&&(e=OA.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk
|
|
8690
8695
|
return e.length>=2&&e[0].t!==ST&&e[1].t===tA}}),BA=e=>new vT(e)
|
|
8691
8696
|
function qA(e,t,n){const i=n[0].s,o=n[n.length-1].e
|
|
8692
8697
|
return new e(t.slice(i,o),n)}const UA="undefined"!=typeof console&&console&&console.warn||(()=>{}),jA={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1}
|
|
@@ -8695,7 +8700,7 @@ jA.customSchemes.push([e,t])}function GA(){jA.scanner=function(e){void 0===e&&(e
|
|
|
8695
8700
|
const t={}
|
|
8696
8701
|
vT.groups=t
|
|
8697
8702
|
const n=new vT
|
|
8698
|
-
null==_A&&(_A=DA(nT)),null==TA&&(TA=DA(iT)),xT(n,"'",KT),xT(n,"{",DT),xT(n,"}",OT),xT(n,"[",RT),xT(n,"]",FT),xT(n,"(",NT),xT(n,")",PT),xT(n,"<",LT),xT(n,">",zT),xT(n,"(",
|
|
8703
|
+
null==_A&&(_A=DA(nT)),null==TA&&(TA=DA(iT)),xT(n,"'",KT),xT(n,"{",DT),xT(n,"}",OT),xT(n,"[",RT),xT(n,"]",FT),xT(n,"(",NT),xT(n,")",PT),xT(n,"<",LT),xT(n,">",zT),xT(n,"(",VT),xT(n,")",HT),xT(n,"「",BT),xT(n,"」",qT),xT(n,"『",UT),xT(n,"』",jT),xT(n,"<",WT),xT(n,">",GT),xT(n,"&",ZT),xT(n,"*",XT),xT(n,"@",YT),xT(n,"`",QT),xT(n,"^",eA),xT(n,":",tA),xT(n,",",nA),xT(n,"$",iA),xT(n,".",oA),xT(n,"=",sA),xT(n,"!",rA),xT(n,"-",aA),xT(n,"%",lA),xT(n,"|",cA),xT(n,"+",dA),xT(n,"#",hA),xT(n,"?",uA),xT(n,'"',pA),xT(n,"/",mA),xT(n,";",fA),xT(n,"~",gA),xT(n,"_",vA),xT(n,"\\",JT)
|
|
8699
8704
|
const i=yT(n,SA,_T,{[sT]:!0})
|
|
8700
8705
|
yT(i,SA,i)
|
|
8701
8706
|
const o=yT(n,xA,CT,{[rT]:!0})
|
|
@@ -8716,7 +8721,7 @@ for(let t=0;t<e.length;t++){const i=e[t][0],o=e[t][1]?{[uT]:!0}:{[pT]:!0}
|
|
|
8716
8721
|
i.indexOf("-")>=0?o[dT]=!0:xA.test(i)?SA.test(i)?o[lT]=!0:o[rT]=!0:o[sT]=!0,wT(n,i,i,o)}return wT(n,"localhost",ST,{ascii:!0}),n.jd=new vT(yA),{start:n,tokens:oT({groups:t},wA)}}(jA.customSchemes)
|
|
8717
8722
|
for(let e=0;e<jA.tokenQueue.length;e++)jA.tokenQueue[e][1]({scanner:jA.scanner})
|
|
8718
8723
|
jA.parser=function(e){let{groups:t}=e
|
|
8719
|
-
const n=t.domain.concat([ZT,XT,YT,JT,QT,eA,iA,sA,aA,_T,lA,cA,dA,hA,mA,yA,gA,vA]),i=[KT,tA,nA,oA,rA,uA,pA,fA,LT,zT,DT,OT,FT,RT,NT,PT,HT,
|
|
8724
|
+
const n=t.domain.concat([ZT,XT,YT,JT,QT,eA,iA,sA,aA,_T,lA,cA,dA,hA,mA,yA,gA,vA]),i=[KT,tA,nA,oA,rA,uA,pA,fA,LT,zT,DT,OT,FT,RT,NT,PT,VT,HT,BT,qT,UT,jT,WT,GT],o=[ZT,KT,XT,JT,QT,eA,iA,sA,aA,DT,OT,lA,cA,dA,hA,uA,mA,yA,gA,vA],s=BA(),r=xT(s,gA)
|
|
8720
8725
|
bT(r,o,r),bT(r,t.domain,r)
|
|
8721
8726
|
const a=BA(),l=BA(),c=BA()
|
|
8722
8727
|
bT(s,t.domain,a),bT(s,t.scheme,l),bT(s,t.slashscheme,c),bT(a,o,r),bT(a,t.domain,a)
|
|
@@ -8736,21 +8741,21 @@ const g=xT(f,tA)
|
|
|
8736
8741
|
bT(g,t.numeric,LA)
|
|
8737
8742
|
const v=xT(a,aA),b=xT(a,oA)
|
|
8738
8743
|
bT(v,t.domain,a),bT(b,o,r),bT(b,t.domain,a)
|
|
8739
|
-
const y=BA(
|
|
8744
|
+
const y=BA(HA)
|
|
8740
8745
|
bT(b,t.tld,y),bT(b,t.utld,y),bT(y,t.domain,a),bT(y,o,r),xT(y,oA,b),xT(y,aA,v),xT(y,YT,d)
|
|
8741
|
-
const w=xT(y,tA),x=BA(
|
|
8746
|
+
const w=xT(y,tA),x=BA(HA)
|
|
8742
8747
|
bT(w,t.numeric,x)
|
|
8743
|
-
const C=BA(
|
|
8748
|
+
const C=BA(HA),k=BA()
|
|
8744
8749
|
bT(C,n,C),bT(C,i,k),bT(k,n,C),bT(k,i,k),xT(y,mA,C),xT(x,mA,C)
|
|
8745
8750
|
const S=xT(l,tA),$=xT(c,tA),M=xT($,mA),E=xT(M,mA)
|
|
8746
8751
|
bT(l,t.domain,a),xT(l,oA,b),xT(l,aA,v),bT(c,t.domain,a),xT(c,oA,b),xT(c,aA,v),bT(S,t.domain,C),xT(S,mA,C),bT(E,t.domain,C),bT(E,n,C),xT(E,mA,C)
|
|
8747
|
-
const I=[[DT,OT],[RT,FT],[NT,PT],[LT,zT],[HT
|
|
8752
|
+
const I=[[DT,OT],[RT,FT],[NT,PT],[LT,zT],[VT,HT],[BT,qT],[UT,jT],[WT,GT]]
|
|
8748
8753
|
for(let e=0;e<I.length;e++){const[t,o]=I[e],s=xT(C,t)
|
|
8749
8754
|
xT(k,t,s),xT(s,o,C)
|
|
8750
|
-
const r=BA(
|
|
8755
|
+
const r=BA(HA)
|
|
8751
8756
|
bT(s,n,r)
|
|
8752
8757
|
const a=BA()
|
|
8753
|
-
bT(s,i),bT(r,n,r),bT(r,i,a),bT(a,n,r),bT(a,i,a),xT(r,o,C),xT(a,o,C)}return xT(s,ST,y),xT(s,AT,
|
|
8758
|
+
bT(s,i),bT(r,n,r),bT(r,i,a),bT(a,n,r),bT(a,i,a),xT(r,o,C),xT(a,o,C)}return xT(s,ST,y),xT(s,AT,VA),{start:s,tokens:wA}}(jA.scanner.tokens)
|
|
8754
8759
|
for(let e=0;e<jA.pluginQueue.length;e++)jA.pluginQueue[e][1]({scanner:jA.scanner,parser:jA.parser})
|
|
8755
8760
|
jA.initialized=!0}function ZA(e){return jA.initialized||GA(),function(e,t,n){let i=n.length,o=0,s=[],r=[]
|
|
8756
8761
|
for(;o<i;){let a=e,l=null,c=null,d=0,h=null,u=-1
|
|
@@ -9272,7 +9277,7 @@ const CD=xe`
|
|
|
9272
9277
|
</div>
|
|
9273
9278
|
</template>
|
|
9274
9279
|
`,$D={default:void 0,accent:"accent"}
|
|
9275
|
-
class MD extends
|
|
9280
|
+
class MD extends Vt{constructor(){super(...arguments),this.appearance=$D.default}}e([le],MD.prototype,"appearance",void 0)
|
|
9276
9281
|
const ED=MD.compose({baseName:"spinner",template:SD,styles:kD})
|
|
9277
9282
|
yi.getOrCreate().withPrefix("nimble").register(ED())
|
|
9278
9283
|
const ID="nimble-spinner",_D=e=>e instanceof Ov,TD=e=>e instanceof Lv
|
|
@@ -9353,7 +9358,7 @@ n!==e&&_D(i)&&(i.activeOption=!1),this.openActiveIndex=e,this.focusAndScrollActi
|
|
|
9353
9358
|
this.ariaActiveDescendant=t?.id??""}focusAndScrollActiveOptionIntoView(){const e=this.options[this.openActiveIndex??this.selectedIndex]
|
|
9354
9359
|
void 0!==e&&this.contains(e)&&(e.focus(),requestAnimationFrame((()=>{e.scrollIntoView({block:"nearest"})})))}getPlaceholderOption(){return this.options.find((e=>e.hidden&&e.disabled))}setPositioning(){if(!this.$fastController.isConnected)return
|
|
9355
9360
|
const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom
|
|
9356
|
-
this.forcedPosition?this.position=this.positionAttribute:e.top>t?this.position=
|
|
9361
|
+
this.forcedPosition?this.position=this.positionAttribute:e.top>t?this.position=Vn:this.position=Hn,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.availableViewportHeight=this.position===Vn?Math.trunc(e.top):Math.trunc(t)}updateAdjacentSeparatorState(e){const t=this.getPreviousVisibleOptionOrGroup(e),n=this.getNextVisibleOptionOrGroup(e)
|
|
9357
9362
|
if(RD(e)){const i=_D(t)
|
|
9358
9363
|
this.setTopSeparatorState(e,i)
|
|
9359
9364
|
const o=null!==n
|
|
@@ -9393,7 +9398,7 @@ const ND=FD.compose({baseName:"select",baseClass:Yi,template:(e,t)=>G`
|
|
|
9393
9398
|
@keydown="${(e,t)=>e.keydownHandler(t.event)}"
|
|
9394
9399
|
@mousedown="${(e,t)=>e.mousedownHandler(t.event)}"
|
|
9395
9400
|
>
|
|
9396
|
-
${
|
|
9401
|
+
${He((e=>e.collapsible),G`
|
|
9397
9402
|
<div
|
|
9398
9403
|
class="control"
|
|
9399
9404
|
part="control"
|
|
@@ -9405,7 +9410,7 @@ const ND=FD.compose({baseName:"select",baseClass:Yi,template:(e,t)=>G`
|
|
|
9405
9410
|
<div class="selected-value ${e=>e.displayPlaceholder?"placeholder":""}" part="selected-value" ${bg("hasOverflow")} title=${e=>e.hasOverflow&&e.displayValue?e.displayValue:null}>
|
|
9406
9411
|
<slot name="selected-value">${e=>e.displayValue}</slot>
|
|
9407
9412
|
</div>
|
|
9408
|
-
${
|
|
9413
|
+
${He((e=>!e.disabled&&e.clearable&&!e.displayPlaceholder&&e.selectedIndex>=0),G`
|
|
9409
9414
|
<${Nh}
|
|
9410
9415
|
class="clear-button"
|
|
9411
9416
|
tabindex="-1"
|
|
@@ -9451,9 +9456,9 @@ const ND=FD.compose({baseName:"select",baseClass:Yi,template:(e,t)=>G`
|
|
|
9451
9456
|
style="--ni-private-listbox-available-viewport-height: ${e=>e.availableViewportHeight}px;"
|
|
9452
9457
|
${Pe("listbox")}
|
|
9453
9458
|
>
|
|
9454
|
-
${
|
|
9459
|
+
${He((e=>e.filterMode!==mg.none),G`
|
|
9455
9460
|
<div class="filter-field ${e=>e.positionAttribute}">
|
|
9456
|
-
<${
|
|
9461
|
+
<${Vg} class="filter-icon"></${Vg}>
|
|
9457
9462
|
<input
|
|
9458
9463
|
${Pe("filterInput")}
|
|
9459
9464
|
class="filter-input"
|
|
@@ -9473,12 +9478,12 @@ const ND=FD.compose({baseName:"select",baseClass:Yi,template:(e,t)=>G`
|
|
|
9473
9478
|
${Ye({filter:e=>e instanceof HTMLElement&&(_D(e)||TD(e)),flatten:!0,property:"slottedOptions"})}
|
|
9474
9479
|
></slot>
|
|
9475
9480
|
</div>
|
|
9476
|
-
${
|
|
9481
|
+
${He((e=>e.filterMode!==mg.none&&0===e.filteredOptions.length&&!e.loadingVisible),G`
|
|
9477
9482
|
<span class="no-results-label ${e=>e.positionAttribute}">
|
|
9478
9483
|
${e=>Pm.getValueFor(e)}
|
|
9479
9484
|
</span>
|
|
9480
9485
|
`)}
|
|
9481
|
-
${
|
|
9486
|
+
${He((e=>e.loadingVisible),G`
|
|
9482
9487
|
<div class="loading-container ${e=>e.positionAttribute} ${e=>0===e.filteredOptions.length?"empty":""}"
|
|
9483
9488
|
@click="${(e,t)=>e.ignoreClickHandler(t.event)}">
|
|
9484
9489
|
<span class="loading-label">
|
|
@@ -9491,7 +9496,7 @@ const ND=FD.compose({baseName:"select",baseClass:Yi,template:(e,t)=>G`
|
|
|
9491
9496
|
</div>
|
|
9492
9497
|
</${Ih}>
|
|
9493
9498
|
</template>
|
|
9494
|
-
`,styles:CD,indicator:
|
|
9499
|
+
`,styles:CD,indicator:Hh.data,end:G`
|
|
9495
9500
|
<${gm}
|
|
9496
9501
|
severity="error"
|
|
9497
9502
|
class="error-icon"
|
|
@@ -9695,7 +9700,7 @@ const PD=xe`
|
|
|
9695
9700
|
`
|
|
9696
9701
|
const zD=class extends to{}.compose({baseClass:to,baseName:"switch",template:LD,styles:PD})
|
|
9697
9702
|
yi.getOrCreate().withPrefix("nimble").register(zD())
|
|
9698
|
-
const
|
|
9703
|
+
const VD=xe`
|
|
9699
9704
|
${Fo("inline-flex")}
|
|
9700
9705
|
|
|
9701
9706
|
:host {
|
|
@@ -9795,12 +9800,12 @@ const HD=xe`
|
|
|
9795
9800
|
border-bottom-color: rgba(${rl}, 0.3);
|
|
9796
9801
|
}
|
|
9797
9802
|
`
|
|
9798
|
-
const
|
|
9803
|
+
const HD=class extends io{}.compose({baseName:"tab",baseClass:io,template:(e,t)=>G`
|
|
9799
9804
|
<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">
|
|
9800
9805
|
<slot></slot>
|
|
9801
9806
|
</template>
|
|
9802
|
-
`,styles:
|
|
9803
|
-
yi.getOrCreate().withPrefix("nimble").register(
|
|
9807
|
+
`,styles:VD})
|
|
9808
|
+
yi.getOrCreate().withPrefix("nimble").register(HD())
|
|
9804
9809
|
const BD=xe`
|
|
9805
9810
|
${Fo("block")}
|
|
9806
9811
|
|
|
@@ -10060,15 +10065,15 @@ return"function"==typeof i?i(e):null==(n=null!=i?i:o)||n},e.getIsPinned=()=>{con
|
|
|
10060
10065
|
return s?"top":!!r&&"bottom"},e.getPinnedIndex=()=>{var n,i
|
|
10061
10066
|
const o=e.getIsPinned()
|
|
10062
10067
|
if(!o)return-1
|
|
10063
|
-
const s=null==(n=t.
|
|
10068
|
+
const s=null==(n="top"===o?t.getTopRows():t.getBottomRows())?void 0:n.map((e=>{let{id:t}=e
|
|
10064
10069
|
return t}))
|
|
10065
10070
|
return null!=(i=null==s?void 0:s.indexOf(e.id))?i:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,i
|
|
10066
10071
|
return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(i=e.initialState)?void 0:i.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n
|
|
10067
10072
|
const i=e.getState().rowPinning
|
|
10068
10073
|
var o,s
|
|
10069
|
-
return t?Boolean(null==(n=i[t])?void 0:n.length):Boolean((null==(o=i.top)?void 0:o.length)||(null==(s=i.bottom)?void 0:s.length))},e._getPinnedRows=
|
|
10074
|
+
return t?Boolean(null==(n=i[t])?void 0:n.length):Boolean((null==(o=i.top)?void 0:o.length)||(null==(s=i.bottom)?void 0:s.length))},e._getPinnedRows=(t,n,i)=>{var o
|
|
10070
10075
|
return(null==(o=e.options.keepPinnedRows)||o?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0)
|
|
10071
|
-
return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:i})))}),KD(e.options,"debugRows")),e.
|
|
10076
|
+
return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:i})))},e.getTopRows=ZD((()=>[e.getRowModel().rows,e.getState().rowPinning.top]),((t,n)=>e._getPinnedRows(t,n,"top")),KD(e.options,"debugRows")),e.getBottomRows=ZD((()=>[e.getRowModel().rows,e.getState().rowPinning.bottom]),((t,n)=>e._getPinnedRows(t,n,"bottom")),KD(e.options,"debugRows")),e.getCenterRows=ZD((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const i=new Set([...null!=t?t:[],...null!=n?n:[]])
|
|
10072
10077
|
return e.filter((e=>!i.has(e.id)))}),KD(e.options,"debugRows"))}},TO={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:jD("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n
|
|
10073
10078
|
return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected()
|
|
10074
10079
|
const i={...n},o=e.getPreGroupedRowModel().flatRows
|
|
@@ -10110,7 +10115,7 @@ if(isNaN(r[0])){if(e>t)return 1
|
|
|
10110
10115
|
if(t>e)return-1}else{if(isNaN(r[1]))return isNaN(o)?-1:1
|
|
10111
10116
|
if(o>s)return 1
|
|
10112
10117
|
if(s>o)return-1}}return n.length-i.length}const zO={alphanumeric:(e,t,n)=>LO(PO(e.getValue(n)).toLowerCase(),PO(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>LO(PO(e.getValue(n)),PO(t.getValue(n))),text:(e,t,n)=>NO(PO(e.getValue(n)).toLowerCase(),PO(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>NO(PO(e.getValue(n)),PO(t.getValue(n))),datetime:(e,t,n)=>{const i=e.getValue(n),o=t.getValue(n)
|
|
10113
|
-
return i>o?1:i<o?-1:0},basic:(e,t,n)=>NO(e.getValue(n),t.getValue(n))},
|
|
10118
|
+
return i>o?1:i<o?-1:0},basic:(e,t,n)=>NO(e.getValue(n),t.getValue(n))},VO={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:jD("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10)
|
|
10114
10119
|
let i=!1
|
|
10115
10120
|
for(const t of n){const n=null==t?void 0:t.getValue(e.id)
|
|
10116
10121
|
if("[object Date]"===Object.prototype.toString.call(n))return zO.datetime
|
|
@@ -10131,9 +10136,9 @@ const i=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id))
|
|
|
10131
10136
|
return!!i&&(i.desc?"desc":"asc")},e.getSortIndex=()=>{var n,i
|
|
10132
10137
|
return null!=(n=null==(i=t.getState().sorting)?void 0:i.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort()
|
|
10133
10138
|
return i=>{n&&(null==i.persist||i.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(i))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,i
|
|
10134
|
-
e.setSorting(t?[]:null!=(n=null==(i=e.initialState)?void 0:i.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},
|
|
10139
|
+
e.setSorting(t?[]:null!=(n=null==(i=e.initialState)?void 0:i.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},HO=[JD,kO,vO,bO,tO,pO,$O,MO,VO,gO,EO,IO,_O,TO,wO]
|
|
10135
10140
|
function BO(e){var t,n
|
|
10136
|
-
const i=[...
|
|
10141
|
+
const i=[...HO,...null!=(t=e._features)?t:[]]
|
|
10137
10142
|
let o={_features:i}
|
|
10138
10143
|
const s=o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o))),{})
|
|
10139
10144
|
let r={...null!=(n=e.initialState)?n:{}}
|
|
@@ -10180,7 +10185,7 @@ const o=e.getColumn(t),s=null==o?void 0:o.getAggregationFn()
|
|
|
10180
10185
|
return s?(m._groupingValuesCache[t]=s(t,f,h),m._groupingValuesCache[t]):void 0}}),p.forEach((e=>{o.push(e),s[e.id]=e})),m}))
|
|
10181
10186
|
return d},a=r(n.rows,0)
|
|
10182
10187
|
return a.forEach((e=>{o.push(e),s[e.id]=e})),{rows:a,flatRows:o,rowsById:s}}),KD(e.options,"debugTable",0,(()=>{e._queue((()=>{e._autoResetExpanded(),e._autoResetPageIndex()}))})))}const UO=void 0,jO="can-load-children",WO="loading-children",GO={none:void 0,ascending:"ascending",descending:"descending"},ZO={none:void 0,single:"single",multiple:"multiple"},KO="not-selected",XO="selected",YO="partially-selected",JO="none",QO="columnHeader",eR="headerActions",tR="row",nR="rowSelectionCheckbox",iR="cell",oR="cellActionMenu",sR="cellContent",rR="basic",aR="localeAwareCaseSensitive",lR=117,cR=1
|
|
10183
|
-
class dR extends
|
|
10188
|
+
class dR extends Vt{}e([g],dR.prototype,"groupHeaderValue",void 0),e([g],dR.prototype,"columnConfig",void 0)
|
|
10184
10189
|
const hR=e=>((e=>{let t
|
|
10185
10190
|
try{t=document.createElement(e)}catch(e){}if(!(t instanceof dR))throw new Error(`Group header view tag name (${e}) must evaluate to an element extending TableGroupHeaderView`)})(e),G`
|
|
10186
10191
|
<${e}
|
|
@@ -10190,7 +10195,7 @@ try{t=document.createElement(e)}catch(e){}if(!(t instanceof dR))throw new Error(
|
|
|
10190
10195
|
>
|
|
10191
10196
|
</${e}>
|
|
10192
10197
|
`)
|
|
10193
|
-
class uR extends
|
|
10198
|
+
class uR extends Vt{constructor(){super(...arguments),this.delegatedEvents=[],this.delegatedEventHandler=()=>{}}get tabbableChildren(){return[]}focusedRecycleCallback(){}columnChanged(){for(const e of this.delegatedEvents)this.removeEventListener(e,this.delegatedEventHandler)
|
|
10194
10199
|
if(this.delegatedEvents=[],this.delegatedEventHandler=()=>{},this.column){this.delegatedEvents=this.column.columnInternals.delegatedEvents,this.delegatedEventHandler=e=>{this.recordId&&this.column?.dispatchEvent(new CustomEvent("delegated-event",{detail:{originalEvent:e,recordId:this.recordId}}))}
|
|
10195
10200
|
for(const e of this.delegatedEvents)this.addEventListener(e,this.delegatedEventHandler)}}}e([g],uR.prototype,"cellRecord",void 0),e([g],uR.prototype,"columnConfig",void 0),e([g],uR.prototype,"column",void 0),e([g],uR.prototype,"recordId",void 0)
|
|
10196
10201
|
const pR=e=>((e=>{let t
|
|
@@ -10206,7 +10211,7 @@ try{t=document.createElement(e)}catch(e){}if(!(t instanceof uR))throw new Error(
|
|
|
10206
10211
|
`)
|
|
10207
10212
|
class fR{constructor(e){this.uniqueId=Na("table-column-slot"),this.sortOperation=rR,this.dataRecordFieldNames=[],this.groupingDisabled=!1,this.fractionalWidth=cR,this.minPixelWidth=lR,this.resizingDisabled=!1,this.hideHeaderIndicators=!1,this.currentFractionalWidth=cR,this.sortingDisabled=!1,this.currentSortDirection=GO.none,this.cellRecordFieldNames=e.cellRecordFieldNames,this.cellViewTemplate=pR(e.cellViewTag),this.groupHeaderViewTemplate=hR(e.groupHeaderViewTag),this.delegatedEvents=e.delegatedEvents,this.sortOperation=e.sortOperation??rR,this.validator=e.validator}fractionalWidthChanged(){this.currentFractionalWidth=this.fractionalWidth}pixelWidthChanged(){this.currentPixelWidth=this.pixelWidth}}function mR(e,...t){for(const n of t)if(e===n)return!0
|
|
10208
10213
|
return!1}e([g],fR.prototype,"columnConfig",void 0),e([g],fR.prototype,"operandDataRecordFieldName",void 0),e([g],fR.prototype,"sortOperation",void 0),e([g],fR.prototype,"dataRecordFieldNames",void 0),e([g],fR.prototype,"groupingDisabled",void 0),e([g],fR.prototype,"groupIndex",void 0),e([g],fR.prototype,"pixelWidth",void 0),e([g],fR.prototype,"fractionalWidth",void 0),e([g],fR.prototype,"minPixelWidth",void 0),e([g],fR.prototype,"resizingDisabled",void 0),e([g],fR.prototype,"hideHeaderIndicators",void 0),e([g],fR.prototype,"currentFractionalWidth",void 0),e([g],fR.prototype,"currentPixelWidth",void 0),e([g],fR.prototype,"sortingDisabled",void 0),e([g],fR.prototype,"currentSortIndex",void 0),e([g],fR.prototype,"currentSortDirection",void 0)
|
|
10209
|
-
class gR extends
|
|
10214
|
+
class gR extends Vt{constructor(){super(...arguments),this.columnInternals=new fR(this.getColumnInternalsOptions()),this.columnHidden=!1,this.hasOverflow=!1}checkValidity(){return this.columnInternals.validator.isColumnValid}get validity(){return this.columnInternals.validator.getValidity()}get headerTextContent(){return this.contentSlot.assignedNodes().map((e=>e.textContent?.trim())).join(" ")}connectedCallback(){super.connectedCallback(),this.setAttribute("slot",this.columnInternals.uniqueId)}}e([le({attribute:"column-id"})],gR.prototype,"columnId",void 0),e([le({attribute:"action-menu-slot"})],gR.prototype,"actionMenuSlot",void 0),e([le({attribute:"action-menu-label"})],gR.prototype,"actionMenuLabel",void 0),e([le({attribute:"column-hidden",mode:"boolean"})],gR.prototype,"columnHidden",void 0),e([g],gR.prototype,"hasOverflow",void 0)
|
|
10210
10215
|
class vR{constructor(){this.duplicateRecordId=!1,this.missingRecordId=!1,this.invalidRecordId=!1,this.duplicateColumnId=!1,this.missingColumnId=!1,this.duplicateSortIndex=!1,this.duplicateGroupIndex=!1,this.idFieldNameNotConfigured=!1,this.invalidColumnConfiguration=!1,this.invalidParentIdConfiguration=!1,this.recordIds=new Set}getValidity(){return{duplicateRecordId:this.duplicateRecordId,missingRecordId:this.missingRecordId,invalidRecordId:this.invalidRecordId,duplicateColumnId:this.duplicateColumnId,missingColumnId:this.missingColumnId,duplicateSortIndex:this.duplicateSortIndex,duplicateGroupIndex:this.duplicateGroupIndex,idFieldNameNotConfigured:this.idFieldNameNotConfigured,invalidColumnConfiguration:this.invalidColumnConfiguration,invalidParentIdConfiguration:this.invalidParentIdConfiguration}}isValid(){return Object.values(this.getValidity()).every((e=>!1===e))}areRecordIdsValid(){const e=this.getValidity()
|
|
10211
10216
|
return!e.duplicateRecordId&&!e.missingRecordId&&!e.invalidRecordId}validateIdFieldConfiguration(e,t,n){const i=e!==ZO.none||"string"==typeof n
|
|
10212
10217
|
return this.idFieldNameNotConfigured=!!i&&"string"!=typeof t,!this.idFieldNameNotConfigured}validateRecordIds(e,t){if(this.duplicateRecordId=!1,this.missingRecordId=!1,this.invalidRecordId=!1,this.recordIds.clear(),"string"!=typeof t)return!0
|
|
@@ -10447,23 +10452,23 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(e
|
|
|
10447
10452
|
>
|
|
10448
10453
|
<slot></slot>
|
|
10449
10454
|
|
|
10450
|
-
${
|
|
10455
|
+
${He((e=>!e.indicatorsHidden),G`
|
|
10451
10456
|
${""}
|
|
10452
|
-
${
|
|
10457
|
+
${He((e=>e.sortDirection===GO.ascending),G`
|
|
10453
10458
|
<${Ng}
|
|
10454
10459
|
class="sort-indicator"
|
|
10455
10460
|
title="${e=>wv.getValueFor(e)}"
|
|
10456
10461
|
aria-hidden="true"
|
|
10457
10462
|
></${Ng}>
|
|
10458
10463
|
`)}
|
|
10459
|
-
${
|
|
10464
|
+
${He((e=>e.sortDirection===GO.descending),G`
|
|
10460
10465
|
<${Rg}
|
|
10461
10466
|
class="sort-indicator"
|
|
10462
10467
|
title="${e=>xv.getValueFor(e)}"
|
|
10463
10468
|
aria-hidden="true"
|
|
10464
10469
|
></${Rg}>
|
|
10465
10470
|
`)}
|
|
10466
|
-
${
|
|
10471
|
+
${He((e=>e.isGrouped),G`
|
|
10467
10472
|
<${jg}
|
|
10468
10473
|
class="grouped-indicator"
|
|
10469
10474
|
title="${e=>yv.getValueFor(e)}"
|
|
@@ -10474,7 +10479,7 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(e
|
|
|
10474
10479
|
`)}
|
|
10475
10480
|
</template>
|
|
10476
10481
|
`
|
|
10477
|
-
class xR extends
|
|
10482
|
+
class xR extends Vt{constructor(){super(...arguments),this.sortDirection=GO.none,this.firstSortedColumn=!1,this.indicatorsHidden=!1,this.isGrouped=!1}sortDirectionChanged(e,t){this.updateAriaSort()}firstSortedColumnChanged(e,t){this.updateAriaSort()}updateAriaSort(){this.firstSortedColumn&&this.sortDirection!==GO.none?this.sortDirection===GO.ascending?this.ariaSort="ascending":this.ariaSort="descending":this.ariaSort=null}}e([le({attribute:"sort-direction"})],xR.prototype,"sortDirection",void 0),e([le({attribute:"first-sorted-column",mode:"boolean"})],xR.prototype,"firstSortedColumn",void 0),e([le({attribute:"indicators-hidden",mode:"boolean"})],xR.prototype,"indicatorsHidden",void 0),e([g],xR.prototype,"isGrouped",void 0)
|
|
10478
10483
|
const CR=xR.compose({baseName:"table-header",template:wR,styles:yR})
|
|
10479
10484
|
yi.getOrCreate().withPrefix("nimble").register(CR())
|
|
10480
10485
|
const kR="nimble-table-header",SR=xe`
|
|
@@ -10714,7 +10719,7 @@ const kR="nimble-table-header",SR=xe`
|
|
|
10714
10719
|
<div ${Pe("cellViewContainer")} class="cell-view-container" @focusin="${e=>e.onCellViewFocusIn()}">
|
|
10715
10720
|
${e=>e.cellViewTemplate}
|
|
10716
10721
|
</div>
|
|
10717
|
-
${
|
|
10722
|
+
${He((e=>e.hasActionMenu),G`
|
|
10718
10723
|
<${sb} ${Pe("actionMenuButton")}
|
|
10719
10724
|
content-hidden
|
|
10720
10725
|
appearance="${eh}"
|
|
@@ -10734,7 +10739,7 @@ const kR="nimble-table-header",SR=xe`
|
|
|
10734
10739
|
`)}
|
|
10735
10740
|
</template>
|
|
10736
10741
|
`
|
|
10737
|
-
class IR extends
|
|
10742
|
+
class IR extends Vt{constructor(){super(...arguments),this.hasActionMenu=!1,this.menuOpen=!1,this.nestingLevel=0}get cellView(){return this.cellViewContainer.firstElementChild}onActionMenuBeforeToggle(e){this.$emit("cell-action-menu-beforetoggle",e.detail)}onActionMenuToggle(e){this.menuOpen=e.detail.newState,this.$emit("cell-action-menu-toggle",e.detail)}onActionMenuBlur(){this.$emit("cell-action-menu-blur",this)}onCellViewFocusIn(){this.$emit("cell-view-focus-in",this)}onCellFocusIn(){this.$emit("cell-focus-in",this)}onCellBlur(){this.$emit("cell-blur",this)}}e([g],IR.prototype,"cellState",void 0),e([g],IR.prototype,"column",void 0),e([g],IR.prototype,"recordId",void 0),e([le({attribute:"column-id"})],IR.prototype,"columnId",void 0),e([le({attribute:"has-action-menu",mode:"boolean"})],IR.prototype,"hasActionMenu",void 0),e([le({attribute:"menu-open",mode:"boolean"})],IR.prototype,"menuOpen",void 0),e([le({attribute:"action-menu-label"})],IR.prototype,"actionMenuLabel",void 0),e([g],IR.prototype,"cellViewTemplate",void 0),e([g],IR.prototype,"cellViewContainer",void 0),e([g],IR.prototype,"nestingLevel",void 0)
|
|
10738
10743
|
const _R=IR.compose({baseName:"table-cell",template:ER,styles:MR})
|
|
10739
10744
|
yi.getOrCreate().withPrefix("nimble").register(_R())
|
|
10740
10745
|
const TR="nimble-table-cell",AR=G`
|
|
@@ -10744,9 +10749,9 @@ const TR="nimble-table-cell",AR=G`
|
|
|
10744
10749
|
aria-expanded=${e=>e.expanded}
|
|
10745
10750
|
style="--ni-private-table-row-indent-level: ${e=>e.nestingLevel};"
|
|
10746
10751
|
>
|
|
10747
|
-
${
|
|
10752
|
+
${He((e=>!e.rowOperationGridCellHidden),G`
|
|
10748
10753
|
<span role="gridcell" class="row-operations-container">
|
|
10749
|
-
${
|
|
10754
|
+
${He((e=>e.showSelectionCheckbox),G`
|
|
10750
10755
|
<${ng}
|
|
10751
10756
|
${Pe("selectionCheckbox")}
|
|
10752
10757
|
class="selection-checkbox"
|
|
@@ -10762,8 +10767,8 @@ const TR="nimble-table-cell",AR=G`
|
|
|
10762
10767
|
</span>
|
|
10763
10768
|
`)}
|
|
10764
10769
|
<span class="row-front-spacer ${e=>e.isTopLevelParentRow?"top-level-parent":""}"></span>
|
|
10765
|
-
${
|
|
10766
|
-
${
|
|
10770
|
+
${He((e=>e.isParentRow),G`
|
|
10771
|
+
${He((e=>e.loading),G`
|
|
10767
10772
|
<span class="spinner-container">
|
|
10768
10773
|
<${ID}
|
|
10769
10774
|
appearance="${$D.accent}"
|
|
@@ -10773,7 +10778,7 @@ const TR="nimble-table-cell",AR=G`
|
|
|
10773
10778
|
</${ID}>
|
|
10774
10779
|
</span>
|
|
10775
10780
|
`)}
|
|
10776
|
-
${
|
|
10781
|
+
${He((e=>!e.loading),G`
|
|
10777
10782
|
<${Nh}
|
|
10778
10783
|
appearance="${eh}"
|
|
10779
10784
|
content-hidden
|
|
@@ -10792,7 +10797,7 @@ const TR="nimble-table-cell",AR=G`
|
|
|
10792
10797
|
class="cell-container ${e=>e.isNestedParent?"nested-parent":""}"
|
|
10793
10798
|
>
|
|
10794
10799
|
${Ge((e=>e.columns),G`
|
|
10795
|
-
${
|
|
10800
|
+
${He((e=>!e.columnHidden),G`
|
|
10796
10801
|
<${TR}
|
|
10797
10802
|
class="cell"
|
|
10798
10803
|
:cellState="${(e,t)=>t.parent.cellStates[t.index]}"
|
|
@@ -10807,7 +10812,7 @@ const TR="nimble-table-cell",AR=G`
|
|
|
10807
10812
|
:nestingLevel="${(e,t)=>t.parent.cellIndentLevels[t.index]}"
|
|
10808
10813
|
>
|
|
10809
10814
|
|
|
10810
|
-
${
|
|
10815
|
+
${He(((e,t)=>t.parent.currentActionMenuColumn===e&&e.actionMenuSlot),G`
|
|
10811
10816
|
<slot
|
|
10812
10817
|
name="${e=>`row-action-menu-${e.actionMenuSlot}`}"
|
|
10813
10818
|
slot="cellActionMenu"
|
|
@@ -10819,7 +10824,7 @@ const TR="nimble-table-cell",AR=G`
|
|
|
10819
10824
|
</span>
|
|
10820
10825
|
</template>
|
|
10821
10826
|
`
|
|
10822
|
-
class DR extends
|
|
10827
|
+
class DR extends Vt{constructor(){super(...arguments),this.selectable=!1,this.selected=!1,this.hideSelection=!1,this.expanded=!1,this.columnNotifiers=[],this.columns=[],this.nestingLevel=0,this.isParentRow=!1,this.menuOpen=!1,this.rowOperationGridCellHidden=!1,this.loading=!1,this.cellIndentLevels=[],this.cellStates=[],this.animationClass="",this.ignoreSelectionChangeEvents=!1,this.removeAnimatingClass=()=>{this.animationClass="",this.expandIcon?.removeEventListener("transitionend",this.removeAnimatingClass)}}get isTopLevelParentRow(){return this.isParentRow&&0===this.nestingLevel}get isNestedParent(){return this.isParentRow&&this.nestingLevel>0}get showSelectionCheckbox(){return this.selectable&&!this.hideSelection}get ariaSelected(){return this.selectable?this.selected?"true":"false":null}onSelectionCheckboxChange(e){if(this.ignoreSelectionChangeEvents)return
|
|
10823
10828
|
const t=e.target.checked
|
|
10824
10829
|
this.onSelectionChange(!t,t)}onSelectionChange(e,t){this.selected=t
|
|
10825
10830
|
const n={oldState:e,newState:t}
|
|
@@ -10928,7 +10933,7 @@ const RR="nimble-table-row",FR=xe`
|
|
|
10928
10933
|
aria-expanded=${e=>e.expanded}
|
|
10929
10934
|
style="--ni-private-table-group-row-indent-level: ${e=>e.nestingLevel};"
|
|
10930
10935
|
>
|
|
10931
|
-
${
|
|
10936
|
+
${He((e=>e.selectable),G`
|
|
10932
10937
|
<span role="gridcell" class="checkbox-container">
|
|
10933
10938
|
<${ng}
|
|
10934
10939
|
${Pe("selectionCheckbox")}
|
|
@@ -10961,14 +10966,14 @@ const RR="nimble-table-row",FR=xe`
|
|
|
10961
10966
|
</div>
|
|
10962
10967
|
</template>
|
|
10963
10968
|
`
|
|
10964
|
-
class PR extends
|
|
10969
|
+
class PR extends Vt{constructor(){super(...arguments),this.nestingLevel=0,this.expanded=!1,this.selectable=!1,this.selectionState=KO,this.animationClass="",this.ignoreSelectionChangeEvents=!1,this.removeAnimatingClass=()=>{this.animationClass="",this.expandIcon.removeEventListener("transitionend",this.removeAnimatingClass)}}onGroupExpandToggle(){this.$emit("group-expand-toggle"),this.animationClass="animating",this.expandIcon.addEventListener("transitionend",this.removeAnimatingClass)}onSelectionCheckboxChange(e){if(this.ignoreSelectionChangeEvents)return
|
|
10965
10970
|
const t=e.target.checked
|
|
10966
10971
|
this.selectionState=t?XO:KO
|
|
10967
10972
|
const n={oldState:!t,newState:t}
|
|
10968
10973
|
this.$emit("group-selection-toggle",n)}getFocusableElements(){return{selectionCheckbox:this.selectable?this.selectionCheckbox:void 0,cells:[]}}selectionStateChanged(){this.setSelectionCheckboxState()}selectionCheckboxChanged(){this.setSelectionCheckboxState()}setSelectionCheckboxState(){this.selectionCheckbox&&(this.ignoreSelectionChangeEvents=!0,this.selectionCheckbox.checked=this.selectionState===XO,this.selectionCheckbox.indeterminate=this.selectionState===YO,this.ignoreSelectionChangeEvents=!1)}}e([g],PR.prototype,"groupRowValue",void 0),e([g],PR.prototype,"nestingLevel",void 0),e([g],PR.prototype,"resolvedRowIndex",void 0),e([g],PR.prototype,"immediateChildCount",void 0),e([g],PR.prototype,"groupColumn",void 0),e([le({mode:"boolean"})],PR.prototype,"expanded",void 0),e([le({mode:"boolean"})],PR.prototype,"selectable",void 0),e([le({attribute:"selection-state"})],PR.prototype,"selectionState",void 0),e([g],PR.prototype,"selectionCheckbox",void 0),e([g],PR.prototype,"animationClass",void 0)
|
|
10969
10974
|
const LR=PR.compose({baseName:"table-group-row",template:NR,styles:FR})
|
|
10970
10975
|
yi.getOrCreate().withPrefix("nimble").register(LR())
|
|
10971
|
-
const zR="nimble-table-group-row",
|
|
10976
|
+
const zR="nimble-table-group-row",VR=G`
|
|
10972
10977
|
<template
|
|
10973
10978
|
role="treegrid"
|
|
10974
10979
|
${""}
|
|
@@ -10991,12 +10996,12 @@ const zR="nimble-table-group-row",HR=G`
|
|
|
10991
10996
|
<div role="rowgroup" class="header-row-container">
|
|
10992
10997
|
<div class="header-row" role="row">
|
|
10993
10998
|
<span role="${e=>e.showRowOperationColumn?"columnheader":""}" class="header-row-action-container" ${Pe("headerRowActionContainer")}>
|
|
10994
|
-
${
|
|
10999
|
+
${He((e=>e.showRowOperationColumn),G`
|
|
10995
11000
|
<span class="accessibly-hidden">
|
|
10996
11001
|
${e=>$v.getValueFor(e)}
|
|
10997
11002
|
</span>
|
|
10998
11003
|
`)}
|
|
10999
|
-
${
|
|
11004
|
+
${He((e=>e.selectionMode===ZO.multiple),G`
|
|
11000
11005
|
<span class="checkbox-container">
|
|
11001
11006
|
<${ng}
|
|
11002
11007
|
${Pe("selectionCheckbox")}
|
|
@@ -11027,7 +11032,7 @@ const zR="nimble-table-group-row",HR=G`
|
|
|
11027
11032
|
<span class="column-headers-container" ${Pe("columnHeadersContainer")}>
|
|
11028
11033
|
${Ge((e=>e.visibleColumns),G`
|
|
11029
11034
|
<div class="header-container">
|
|
11030
|
-
${
|
|
11035
|
+
${He(((e,t)=>t.index>0),G`
|
|
11031
11036
|
<div
|
|
11032
11037
|
class="
|
|
11033
11038
|
column-divider
|
|
@@ -11051,7 +11056,7 @@ const zR="nimble-table-group-row",HR=G`
|
|
|
11051
11056
|
>
|
|
11052
11057
|
<slot name="${e=>e.slot}"></slot>
|
|
11053
11058
|
</${kR}>
|
|
11054
|
-
${
|
|
11059
|
+
${He(((e,t)=>t.index<t.length-1),G`
|
|
11055
11060
|
<div
|
|
11056
11061
|
class="
|
|
11057
11062
|
column-divider
|
|
@@ -11073,9 +11078,9 @@ const zR="nimble-table-group-row",HR=G`
|
|
|
11073
11078
|
<div class="table-scroll"></div>
|
|
11074
11079
|
<div class="table-row-container ${e=>""+(e.showCollapseAll?"collapse-all-visible":"")}" ${Qe({property:"rowElements",filter:Ze(`${RR}, ${zR}`)})}
|
|
11075
11080
|
role="rowgroup">
|
|
11076
|
-
${
|
|
11081
|
+
${He((e=>e.columns.length>0&&e.canRenderRows),G`
|
|
11077
11082
|
${Ge((e=>e.virtualizer.visibleItems),G`
|
|
11078
|
-
${
|
|
11083
|
+
${He(((e,t)=>t.parent.tableData[e.index]?.isGroupRow),G`
|
|
11079
11084
|
<${zR}
|
|
11080
11085
|
class="group-row"
|
|
11081
11086
|
${""}
|
|
@@ -11095,7 +11100,7 @@ const zR="nimble-table-group-row",HR=G`
|
|
|
11095
11100
|
>
|
|
11096
11101
|
</${zR}>
|
|
11097
11102
|
`)}
|
|
11098
|
-
${
|
|
11103
|
+
${He(((e,t)=>!t.parent.tableData[e.index]?.isGroupRow),G`
|
|
11099
11104
|
<${RR}
|
|
11100
11105
|
class="row"
|
|
11101
11106
|
${""}
|
|
@@ -11120,7 +11125,7 @@ const zR="nimble-table-group-row",HR=G`
|
|
|
11120
11125
|
@row-action-menu-toggle="${(e,t)=>t.parent.onRowActionMenuToggle(t.event)}"
|
|
11121
11126
|
@row-expand-toggle="${(e,t)=>t.parent.handleRowExpanded(e.index)}"
|
|
11122
11127
|
>
|
|
11123
|
-
${
|
|
11128
|
+
${He(((e,t)=>t.parent.openActionMenuRecordId===t.parent.tableData[e.index]?.id),G`
|
|
11124
11129
|
${Ge(((e,t)=>t.parent.actionMenuSlots),G`
|
|
11125
11130
|
<slot
|
|
11126
11131
|
name="${e=>e}"
|
|
@@ -11138,7 +11143,7 @@ const zR="nimble-table-group-row",HR=G`
|
|
|
11138
11143
|
</div>
|
|
11139
11144
|
</template>
|
|
11140
11145
|
`
|
|
11141
|
-
function
|
|
11146
|
+
function HR(e,t,n){let i,o=n.initialDeps??[]
|
|
11142
11147
|
return()=>{var s,r,a,l
|
|
11143
11148
|
let c
|
|
11144
11149
|
n.key&&(null==(s=n.debug)?void 0:s.call(n))&&(c=Date.now())
|
|
@@ -11148,22 +11153,26 @@ let h
|
|
|
11148
11153
|
if(o=d,n.key&&(null==(r=n.debug)?void 0:r.call(n))&&(h=Date.now()),i=t(...d),n.key&&(null==(a=n.debug)?void 0:a.call(n))){const e=Math.round(100*(Date.now()-c))/100,t=Math.round(100*(Date.now()-h))/100,i=t/16,o=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e
|
|
11149
11154
|
return e}
|
|
11150
11155
|
console.info(`%c⏱ ${o(t,5)} /${o(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*i,120))}deg 100% 31%);`,null==n?void 0:n.key)}return null==(l=null==n?void 0:n.onChange)||l.call(n,i),i}}function BR(e,t){if(void 0===e)throw new Error("Unexpected undefined")
|
|
11151
|
-
return e}const qR=(e,t)=>{let
|
|
11152
|
-
return function(...
|
|
11156
|
+
return e}const qR=(e,t,n)=>{let i
|
|
11157
|
+
return function(...o){e.clearTimeout(i),i=e.setTimeout((()=>t.apply(this,o)),n)}},UR=e=>e,jR=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),i=[]
|
|
11153
11158
|
for(let e=t;e<=n;e++)i.push(e)
|
|
11154
11159
|
return i},WR=(e,t)=>{const n=e.scrollElement
|
|
11155
11160
|
if(!n)return
|
|
11156
|
-
const i=e
|
|
11161
|
+
const i=e.targetWindow
|
|
11162
|
+
if(!i)return
|
|
11163
|
+
const o=e=>{const{width:n,height:i}=e
|
|
11157
11164
|
t({width:Math.round(n),height:Math.round(i)})}
|
|
11158
|
-
if(
|
|
11159
|
-
const
|
|
11165
|
+
if(o(n.getBoundingClientRect()),!i.ResizeObserver)return()=>{}
|
|
11166
|
+
const s=new i.ResizeObserver((e=>{const t=e[0]
|
|
11160
11167
|
if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0]
|
|
11161
|
-
if(e)return void
|
|
11162
|
-
return
|
|
11168
|
+
if(e)return void o({width:e.inlineSize,height:e.blockSize})}o(n.getBoundingClientRect())}))
|
|
11169
|
+
return s.observe(n,{box:"border-box"}),()=>{s.unobserve(n)}},GR={passive:!0},ZR="undefined"==typeof window||"onscrollend"in window,KR=(e,t)=>{const n=e.scrollElement
|
|
11163
11170
|
if(!n)return
|
|
11164
|
-
|
|
11165
|
-
|
|
11166
|
-
|
|
11171
|
+
const i=e.targetWindow
|
|
11172
|
+
if(!i)return
|
|
11173
|
+
let o=0
|
|
11174
|
+
const s=ZR?()=>{}:qR(i,(()=>{t(o,!1)}),e.options.isScrollingResetDelay),r=i=>()=>{o=n[e.options.horizontal?"scrollLeft":"scrollTop"],s(),t(o,i)},a=r(!0),l=r(!1)
|
|
11175
|
+
return l(),n.addEventListener("scroll",a,GR),n.addEventListener("scrollend",l,GR),()=>{n.removeEventListener("scroll",a),n.removeEventListener("scrollend",l)}},XR=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0]
|
|
11167
11176
|
if(e){return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},YR=(e,{adjustments:t=0,behavior:n},i)=>{var o,s
|
|
11168
11177
|
const r=e+t
|
|
11169
11178
|
null==(s=null==(o=i.scrollElement)?void 0:o.scrollTo)||s.call(o,{[i.options.horizontal?"left":"top"]:r,behavior:n})}
|
|
@@ -11174,54 +11183,68 @@ t=o-1}}return e>0?e-1:0}
|
|
|
11174
11183
|
class QR{get pageSize(){return this._pageSize}get rowHeight(){return parseFloat(vl.getValueFor(this.table))+2*parseFloat(kl.getValueFor(this.table))}constructor(e,t){this.visibleItems=[],this.scrollHeight=0,this.headerContainerMarginRight=0,this.rowContainerYOffset=0,this._pageSize=0,this.table=e,this.tanStackTable=t,this.viewportResizeObserver=new ResizeObserver((e=>{const t=e[0]?.borderBoxSize[0]
|
|
11175
11184
|
if(t){this.updatePageSize()
|
|
11176
11185
|
const e=t.inlineSize
|
|
11177
|
-
this.headerContainerMarginRight=e-this.table.viewport.clientWidth}}))}connect(){this.viewportResizeObserver.observe(this.table.viewport),this.updateVirtualizer()
|
|
11178
|
-
|
|
11179
|
-
|
|
11186
|
+
this.headerContainerMarginRight=e-this.table.viewport.clientWidth}}))}connect(){this.viewportResizeObserver.observe(this.table.viewport),this.updateVirtualizer()
|
|
11187
|
+
const e=this.virtualizer.scrollOffset
|
|
11188
|
+
null!==e&&this.table.viewport.scrollTo({top:e})}disconnect(){this.viewportResizeObserver.disconnect()}dataChanged(){this.table.$fastController.isConnected&&this.updateVirtualizer()}scrollToIndex(e,t){this.virtualizer?.scrollToIndex(e,t)}updateVirtualizer(){const e=this.createVirtualizerOptions()
|
|
11189
|
+
this.virtualizer?this.virtualizer.setOptions(e):this.virtualizer=new class{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null
|
|
11190
|
+
const t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver((e=>{e.forEach((e=>{this._measureElement(e.target,e)}))})):null)
|
|
11180
11191
|
return{disconnect:()=>{var e
|
|
11181
11192
|
return null==(e=t())?void 0:e.disconnect()},observe:e=>{var n
|
|
11182
11193
|
return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n
|
|
11183
|
-
return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach((([t,n])=>{void 0===n&&delete e[t]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:UR,rangeExtractor:jR,onChange:()=>{},measureElement:XR,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,...e}},this.notify=(e,t)=>{var n,i
|
|
11184
|
-
const{startIndex:o,endIndex:s}=this.range??{startIndex:void 0,endIndex:void 0},r=this.calculateRange();(e||o!==(null==r?void 0:r.startIndex)||s!==(null==r?void 0:r.endIndex))&&(null==(i=(n=this.options).onChange)||i.call(n,this,t))},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((e=>e())),this.unsubs=[],this.scrollElement=null
|
|
11185
|
-
|
|
11194
|
+
return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach((([t,n])=>{void 0===n&&delete e[t]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:UR,rangeExtractor:jR,onChange:()=>{},measureElement:XR,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,...e}},this.notify=(e,t)=>{var n,i
|
|
11195
|
+
const{startIndex:o,endIndex:s}=this.range??{startIndex:void 0,endIndex:void 0},r=this.calculateRange();(e||o!==(null==r?void 0:r.startIndex)||s!==(null==r?void 0:r.endIndex))&&(null==(i=(n=this.options).onChange)||i.call(n,this,t))},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((e=>e())),this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.observer.disconnect(),this.elementsCache.clear()},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e
|
|
11196
|
+
const t=this.options.enabled?this.options.getScrollElement():null
|
|
11197
|
+
if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.notify(!1,!1)
|
|
11198
|
+
this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(e=>{this.scrollRect=e,this.notify(!1,!1)}))),this.unsubs.push(this.options.observeElementOffset(this,((e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e
|
|
11186
11199
|
const n=this.isScrolling
|
|
11187
|
-
this.isScrolling=t,this.notify(n!==t,t)})))
|
|
11200
|
+
this.isScrolling=t,this.notify(n!==t,t)})))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{const n=new Map,i=new Map
|
|
11188
11201
|
for(let o=t-1;o>=0;o--){const t=e[o]
|
|
11189
11202
|
if(n.has(t.lane))continue
|
|
11190
11203
|
const s=i.get(t.lane)
|
|
11191
|
-
if(null==s||t.end>s.end?i.set(t.lane,t):t.end<s.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return i.size===this.options.lanes?Array.from(i.values()).sort(((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end))[0]:void 0},this.
|
|
11204
|
+
if(null==s||t.end>s.end?i.set(t.lane,t):t.end<s.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return i.size===this.options.lanes?Array.from(i.values()).sort(((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end))[0]:void 0},this.getMeasurementOptions=HR((()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled]),((e,t,n,i,o)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:i,enabled:o})),{key:!1}),this.getMeasurements=HR((()=>[this.getMeasurementOptions(),this.itemSizeCache]),(({count:e,paddingStart:t,scrollMargin:n,getItemKey:i,enabled:o},s)=>{var r
|
|
11205
|
+
if(!o)return this.measurementsCache=[],this.itemSizeCache.clear(),[]
|
|
11206
|
+
0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach((e=>{this.itemSizeCache.set(e.key,e.size)})))
|
|
11207
|
+
const a=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0
|
|
11192
11208
|
this.pendingMeasuredCacheIndexes=[]
|
|
11193
|
-
const
|
|
11194
|
-
for(let a
|
|
11195
|
-
|
|
11209
|
+
const l=this.measurementsCache.slice(0,a)
|
|
11210
|
+
for(let o=a;o<e;o++){let e=null==(r=this.measurementsCache[o])?void 0:r.measureElement
|
|
11211
|
+
e||(e=e=>{const t=i(o),n=this.elementsCache.get(t)
|
|
11212
|
+
e?(n!==e&&(n&&this.observer.unobserve(n),this.observer.observe(e),this.elementsCache.set(t,e)),e.isConnected&&this.resizeItem(o,this.options.measureElement(e,void 0,this))):n&&(this.observer.unobserve(n),this.elementsCache.delete(t))})
|
|
11213
|
+
const a=i(o),c=1===this.options.lanes?l[o-1]:this.getFurthestMeasurement(l,o),d=c?c.end+this.options.gap:t+n,h=s.get(a),u="number"==typeof h?h:this.options.estimateSize(o),p=d+u,f=c?c.lane:o%this.options.lanes
|
|
11214
|
+
l[o]={index:o,start:d,size:u,end:p,key:a,lane:f,measureElement:e}}return this.measurementsCache=l,l}),{key:!1,debug:()=>this.options.debug}),this.calculateRange=HR((()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()]),((e,t,n)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n}){const i=e.length-1,o=JR(0,i,(t=>e[t].start),n)
|
|
11196
11215
|
let s=o
|
|
11197
11216
|
for(;s<i&&e[s].end<n+t;)s++
|
|
11198
|
-
return{startIndex:o,endIndex:s}}({measurements:e,outerSize:t,scrollOffset:n}):null),{key:!1,debug:()=>this.options.debug}),this.getIndexes=
|
|
11199
|
-
return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const n=this.
|
|
11200
|
-
if(!
|
|
11201
|
-
const
|
|
11202
|
-
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
0!==
|
|
11217
|
+
return{startIndex:o,endIndex:s}}({measurements:e,outerSize:t,scrollOffset:n}):null),{key:!1,debug:()=>this.options.debug}),this.getIndexes=HR((()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count]),((e,t,n,i)=>null===t?[]:e({startIndex:t.startIndex,endIndex:t.endIndex,overscan:n,count:i})),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const t=this.options.indexAttribute,n=e.getAttribute(t)
|
|
11218
|
+
return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const n=this.indexFromElement(e),i=this.getMeasurements()[n]
|
|
11219
|
+
if(!i||!e.isConnected)return void this.elementsCache.forEach(((t,n)=>{t===e&&(this.observer.unobserve(e),this.elementsCache.delete(n))}))
|
|
11220
|
+
const o=this.elementsCache.get(i.key)
|
|
11221
|
+
o!==e&&(o&&this.observer.unobserve(o),this.observer.observe(e),this.elementsCache.set(i.key,e)),this.resizeItem(n,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{const n=this.getMeasurements()[e]
|
|
11222
|
+
if(!n)return
|
|
11223
|
+
const i=t-(this.itemSizeCache.get(n.key)??n.size)
|
|
11224
|
+
0!==i&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,i,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=i,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,t)),this.notify(!0,!1))},this.measureElement=e=>{e&&this._measureElement(e,void 0)},this.getVirtualItems=HR((()=>[this.getIndexes(),this.getMeasurements()]),((e,t)=>{const n=[]
|
|
11206
11225
|
for(let i=0,o=e.length;i<o;i++){const o=t[e[i]]
|
|
11207
11226
|
n.push(o)}return n}),{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{const t=this.getMeasurements()
|
|
11208
|
-
return BR(t[JR(0,t.length-1,(e=>BR(t[e]).start),e)])},this.getOffsetForAlignment=(e,t)=>{const n=this.getSize()
|
|
11209
|
-
"auto"===t&&(t=e<=
|
|
11210
|
-
const
|
|
11211
|
-
return Math.max(Math.min(
|
|
11212
|
-
const n=
|
|
11213
|
-
if(
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11217
|
-
const
|
|
11218
|
-
this.
|
|
11219
|
-
|
|
11220
|
-
|
|
11227
|
+
if(0!==t.length)return BR(t[JR(0,t.length-1,(e=>BR(t[e]).start),e)])},this.getOffsetForAlignment=(e,t)=>{const n=this.getSize(),i=this.getScrollOffset()
|
|
11228
|
+
"auto"===t&&(t=e<=i?"start":e>=i+n?"end":"start"),"start"===t||("end"===t?e-=n:"center"===t&&(e-=n/2))
|
|
11229
|
+
const o=this.options.horizontal?"scrollWidth":"scrollHeight",s=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[o]:this.scrollElement[o]:0)-n
|
|
11230
|
+
return Math.max(Math.min(s,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1))
|
|
11231
|
+
const n=this.getMeasurements()[e]
|
|
11232
|
+
if(!n)return
|
|
11233
|
+
const i=this.getSize(),o=this.getScrollOffset()
|
|
11234
|
+
if("auto"===t)if(n.end>=o+i-this.options.scrollPaddingEnd)t="end"
|
|
11235
|
+
else{if(!(n.start<=o+this.options.scrollPaddingStart))return[o,t]
|
|
11236
|
+
t="start"}const s="end"===t?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart
|
|
11237
|
+
return[this.getOffsetForAlignment(s,t),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.")
|
|
11238
|
+
const i=this.getOffsetForIndex(e,t)
|
|
11239
|
+
if(!i)return
|
|
11240
|
+
const[o,s]=i
|
|
11241
|
+
this._scrollToOffset(o,{adjustments:void 0,behavior:n}),"smooth"!==n&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout((()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){const[o]=BR(this.getOffsetForIndex(e,s))
|
|
11242
|
+
t=o,i=this.getScrollOffset(),Math.abs(t-i)<1||this.scrollToIndex(e,{align:s,behavior:n})}else this.scrollToIndex(e,{align:s,behavior:n})
|
|
11243
|
+
var t,i})))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{var e
|
|
11221
11244
|
const t=this.getMeasurements()
|
|
11222
11245
|
let n
|
|
11223
11246
|
return n=0===t.length?this.options.paddingStart:1===this.options.lanes?(null==(e=t[t.length-1])?void 0:e.end)??0:Math.max(...t.slice(-this.options.lanes).map((e=>e.end))),n-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{var e,t
|
|
11224
|
-
this.itemSizeCache=new Map,null==(t=(e=this.options).onChange)||t.call(e,this,!1)},this.setOptions(e)
|
|
11247
|
+
this.itemSizeCache=new Map,null==(t=(e=this.options).onChange)||t.call(e,this,!1)},this.setOptions(e)}}(e),this.virtualizer._willUpdate(),this.handleVirtualizerChange()}createVirtualizerOptions(){const e=this.rowHeight
|
|
11225
11248
|
return{count:this.tanStackTable.getRowModel().rows.length,getScrollElement:()=>this.table.viewport,estimateSize:t=>e,enableSmoothScroll:!0,overscan:3,scrollingDelay:5,scrollToFn:YR,observeElementOffset:KR,observeElementRect:WR,onChange:()=>this.handleVirtualizerChange()}}handleVirtualizerChange(){this.table.handleFocusedCellRecycling()
|
|
11226
11249
|
const e=this.virtualizer
|
|
11227
11250
|
this.visibleItems=e.getVirtualItems(),this.scrollHeight=e.getTotalSize()
|
|
@@ -11445,14 +11468,14 @@ for(;n&&n!==this.table;){if(t(n))return n
|
|
|
11445
11468
|
n=n.parentElement??n.parentNode?.host}}isInTable(e){let t=e
|
|
11446
11469
|
for(;t&&t!==this.table;)t=t.parentElement??t.parentNode?.host
|
|
11447
11470
|
return t===this.table}getActiveElement(){let e=document.activeElement
|
|
11448
|
-
for(;e?.shadowRoot?.activeElement&&(e=e.shadowRoot.activeElement,!(e instanceof
|
|
11471
|
+
for(;e?.shadowRoot?.activeElement&&(e=e.shadowRoot.activeElement,!(e instanceof Vt)||this.isResolvedRowType(e)||e instanceof IR||e instanceof uR););return e}focusFirstInteractiveElementInCurrentCell(e){return!!e&&(this.trySetCellContentFocus(e,0)||this.trySetCellActionMenuFocus(e))}hasRowOrCellFocusType(){switch(this.focusType){case iR:case oR:case sR:case tR:case nR:return!0
|
|
11449
11472
|
default:return!1}}hasHeaderFocusType(){switch(this.focusType){case eR:case QO:return!0
|
|
11450
11473
|
default:return!1}}trySetRowSelectionCheckboxFocus(e){return!!e?.selectionCheckbox&&(this.focusType=nR,this.focusCurrentRow(!0),!0)}trySetColumnHeaderFocus(e,t){return t>=0&&t<e.columnHeaders.length&&(this.focusType=QO,this.columnIndex=t,this.focusHeaderElement(),!0)}trySetHeaderActionFocus(e,t){return t>=0&&t<e.headerActions.length&&(this.focusType=eR,this.headerActionIndex=t,this.focusHeaderElement(),!0)}trySetCellFocus(e,t,n){if(!e)return!1
|
|
11451
11474
|
const i=t??this.columnIndex,o=n??this.rowIndex
|
|
11452
11475
|
return i>=0&&i<e.cells.length&&(this.focusType=iR,this.setRowCellFocusState(i,o,!0),!0)}trySetCellContentFocus(e,t,n,i){if(!e)return!1
|
|
11453
11476
|
const o=n??this.columnIndex,s=i??this.rowIndex
|
|
11454
11477
|
return o>=0&&o<e.cells.length&&t>=0&&t<e.cells[o].cell.cellView.tabbableChildren.length&&(this.setCellContentFocusState(t,s,o,!0),!0)}trySetCellActionMenuFocus(e,t,n){const i=t??this.columnIndex,o=n??this.rowIndex
|
|
11455
|
-
return!!(i>=0&&i<e.cells.length&&e.cells[i].actionMenuButton)&&(this.setCellActionMenuFocusState(o,i,!0),!0)}setCellActionMenuFocusState(e,t,n){this.focusType=oR,this.setRowCellFocusState(t,e,n)}setCellContentFocusState(e,t,n,i){this.focusType=sR,this.cellContentIndex=e,this.setRowCellFocusState(n,t,i)}setRowFocusState(e){this.focusType=tR,void 0!==e&&(this.rowIndex=e)}setCellFocusState(e,t,n){this.focusType=iR,this.setRowCellFocusState(e,t,n)}setRowCellFocusState(e,t,n){this.rowIndex=t,this.columnIndex=e,n&&this.focusCurrentRow(!0)}isResolvedRowType(e){return e instanceof DR||e instanceof PR}}class yF extends
|
|
11478
|
+
return!!(i>=0&&i<e.cells.length&&e.cells[i].actionMenuButton)&&(this.setCellActionMenuFocusState(o,i,!0),!0)}setCellActionMenuFocusState(e,t,n){this.focusType=oR,this.setRowCellFocusState(t,e,n)}setCellContentFocusState(e,t,n,i){this.focusType=sR,this.cellContentIndex=e,this.setRowCellFocusState(n,t,i)}setRowFocusState(e){this.focusType=tR,void 0!==e&&(this.rowIndex=e)}setCellFocusState(e,t,n){this.focusType=iR,this.setRowCellFocusState(e,t,n)}setRowCellFocusState(e,t,n){this.rowIndex=t,this.columnIndex=e,n&&this.focusCurrentRow(!0)}isResolvedRowType(e){return e instanceof DR||e instanceof PR}}class yF extends Vt{get validity(){return this.tableValidator.getValidity()}get showRowOperationColumn(){return this.selectionMode===ZO.multiple||this.showCollapseAll}constructor(){super(),this.selectionMode=ZO.none,this.tableData=[],this.columns=[],this.childItems=[],this.rowElements=[],this.actionMenuSlots=[],this.canRenderRows=!0,this.scrollX=0,this.selectionState=KO,this.showCollapseAll=!1,this.visibleColumns=[],this.tableScrollableMinWidth=0,this.documentShiftKeyDown=!1,this.tableValidator=new vR,this.tableUpdateTracker=new rF(this),this.columnNotifiers=[],this.isInitialized=!1,this.ignoreSelectionChangeEvents=!1,this.onViewPortScroll=e=>{this.scrollX=e.target.scrollLeft},this.onKeyDown=e=>{e.key===Aa&&(this.documentShiftKeyDown=!0)},this.onKeyUp=e=>{e.key===Aa&&(this.documentShiftKeyDown=!1)},this.getRowCanExpand=e=>this.expansionManager.isRowExpandable(e),this.getIsRowExpanded=e=>this.expansionManager.isRowExpanded(e),this.handleRowSelectionChange=e=>{const t=e instanceof Function?e(this.table.getState().rowSelection):e
|
|
11456
11479
|
this.updateTableOptions({state:{rowSelection:t}})},this.handleExpandedChange=e=>{const t=e instanceof Function?e(this.table.getState().expanded):e
|
|
11457
11480
|
this.updateTableOptions({state:{expanded:t}})},this.options={data:[],onStateChange:e=>{},onRowSelectionChange:this.handleRowSelectionChange,onExpandedChange:this.handleExpandedChange,getCoreRowModel:e=>ZD((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},i=function(t,o,s){void 0===o&&(o=0)
|
|
11458
11481
|
const r=[]
|
|
@@ -11531,7 +11554,7 @@ if("string"==typeof n)return t.clientRecord[n]},sortingFn:eF(e.columnInternals.s
|
|
|
11531
11554
|
const t={},n=this.tableValidator.getPresentRecordIds(e)
|
|
11532
11555
|
for(const e of n)if(t[e]=!0,this.selectionMode===ZO.single)break
|
|
11533
11556
|
return t}}e([le({attribute:"id-field-name"})],yF.prototype,"idFieldName",void 0),e([le({attribute:"parent-id-field-name"})],yF.prototype,"parentIdFieldName",void 0),e([le({attribute:"selection-mode"})],yF.prototype,"selectionMode",void 0),e([g],yF.prototype,"tableData",void 0),e([g],yF.prototype,"columns",void 0),e([g],yF.prototype,"childItems",void 0),e([g],yF.prototype,"rowElements",void 0),e([g],yF.prototype,"actionMenuSlots",void 0),e([g],yF.prototype,"openActionMenuRecordId",void 0),e([g],yF.prototype,"canRenderRows",void 0),e([g],yF.prototype,"scrollX",void 0),e([g],yF.prototype,"rowGridColumns",void 0),e([g],yF.prototype,"selectionState",void 0),e([g],yF.prototype,"selectionCheckbox",void 0),e([g],yF.prototype,"collapseAllButton",void 0),e([g],yF.prototype,"showCollapseAll",void 0),e([g],yF.prototype,"firstSortedColumn",void 0),e([g],yF.prototype,"visibleColumns",void 0),e([g],yF.prototype,"tableScrollableMinWidth",void 0),e([g],yF.prototype,"documentShiftKeyDown",void 0)
|
|
11534
|
-
const wF=yF.compose({baseName:"table",template:
|
|
11557
|
+
const wF=yF.compose({baseName:"table",template:VR,styles:bR})
|
|
11535
11558
|
yi.getOrCreate().withPrefix("nimble").register(wF())
|
|
11536
11559
|
const xF=xe`
|
|
11537
11560
|
${Fo("contents")}
|
|
@@ -11582,7 +11605,7 @@ function kF(e){class t extends e{fractionalWidthChanged(){this.columnInternals.f
|
|
|
11582
11605
|
@click="${(e,t)=>("string"==typeof e.cellRecord?.href&&t.event.stopPropagation(),!0)}"
|
|
11583
11606
|
class="${e=>e.isPlaceholder?"placeholder":""}"
|
|
11584
11607
|
>
|
|
11585
|
-
${
|
|
11608
|
+
${He((e=>e.showAnchor),G`
|
|
11586
11609
|
<${Jd}
|
|
11587
11610
|
${Pe("anchor")}
|
|
11588
11611
|
${bg("hasOverflow")}
|
|
@@ -11602,7 +11625,7 @@ function kF(e){class t extends e{fractionalWidthChanged(){this.columnInternals.f
|
|
|
11602
11625
|
>
|
|
11603
11626
|
${e=>e.text}
|
|
11604
11627
|
</${Jd}>`)}
|
|
11605
|
-
${
|
|
11628
|
+
${He((e=>!e.showAnchor),G`
|
|
11606
11629
|
<span
|
|
11607
11630
|
${bg("hasOverflow")}
|
|
11608
11631
|
title=${e=>e.hasOverflow?e.text:null}
|
|
@@ -11640,10 +11663,10 @@ const RF="nimble-table-column-text-group-header-view"
|
|
|
11640
11663
|
function FF(e){class t extends e{constructor(){super(...arguments),this.sortingDisabled=!1,this.sortDirection=GO.none}sortingDisabledChanged(){this.columnInternals.sortingDisabled=this.sortingDisabled,this.sortingDisabled?(this.columnInternals.currentSortDirection=GO.none,this.columnInternals.currentSortIndex=void 0):(this.columnInternals.currentSortDirection=this.sortDirection,this.columnInternals.currentSortIndex=this.sortIndex??void 0)}sortDirectionChanged(){this.sortingDisabled||(this.columnInternals.currentSortDirection=this.sortDirection)}sortIndexChanged(){this.sortingDisabled||(this.columnInternals.currentSortIndex=this.sortIndex??void 0)}}return le({attribute:"sorting-disabled",mode:"boolean"})(t.prototype,"sortingDisabled"),le({attribute:"sort-index",converter:re})(t.prototype,"sortIndex"),le({attribute:"sort-direction"})(t.prototype,"sortDirection"),t}class NF extends(SF(kF($F(FF(gR))))){constructor(){super(...arguments),this.underlineHidden=!1}placeholderChanged(){this.updateColumnConfig()}getColumnInternalsOptions(){return{cellRecordFieldNames:["label","href"],cellViewTag:"nimble-table-column-anchor-cell-view",groupHeaderViewTag:RF,delegatedEvents:["click"],sortOperation:aR,validator:new vF([])}}labelFieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.labelFieldName,this.hrefFieldName],this.columnInternals.operandDataRecordFieldName=this.labelFieldName}hrefFieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.labelFieldName,this.hrefFieldName]}appearanceChanged(){this.updateColumnConfig()}underlineHiddenChanged(){this.updateColumnConfig()}hreflangChanged(){this.updateColumnConfig()}pingChanged(){this.updateColumnConfig()}referrerpolicyChanged(){this.updateColumnConfig()}relChanged(){this.updateColumnConfig()}targetChanged(){this.updateColumnConfig()}typeChanged(){this.updateColumnConfig()}downloadChanged(){this.updateColumnConfig()}updateColumnConfig(){this.columnInternals.columnConfig={appearance:this.appearance,underlineHidden:this.underlineHidden,hreflang:this.hreflang,ping:this.ping,referrerpolicy:this.referrerpolicy,rel:this.rel,target:this.target,type:this.type,download:this.download,placeholder:this.placeholder}}}e([le({attribute:"label-field-name"})],NF.prototype,"labelFieldName",void 0),e([le({attribute:"href-field-name"})],NF.prototype,"hrefFieldName",void 0),e([le],NF.prototype,"appearance",void 0),e([le({attribute:"underline-hidden",mode:"boolean"})],NF.prototype,"underlineHidden",void 0),e([le],NF.prototype,"hreflang",void 0),e([le],NF.prototype,"ping",void 0),e([le],NF.prototype,"referrerpolicy",void 0),e([le],NF.prototype,"rel",void 0),e([le],NF.prototype,"target",void 0),e([le],NF.prototype,"type",void 0),e([le],NF.prototype,"download",void 0)
|
|
11641
11664
|
const PF=NF.compose({baseName:"table-column-anchor",template:CF,styles:xF})
|
|
11642
11665
|
yi.getOrCreate().withPrefix("nimble").register(PF())
|
|
11643
|
-
class LF extends gR{fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}}function zF(e){return SF(kF($F(FF(e))))}function
|
|
11666
|
+
class LF extends gR{fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}}function zF(e){return SF(kF($F(FF(e))))}function VF(e,t){if("number"!=typeof t)return""
|
|
11644
11667
|
try{return e.format(t)}catch(e){return""}}e([le({attribute:"field-name"})],LF.prototype,"fieldName",void 0)
|
|
11645
|
-
const
|
|
11646
|
-
yi.getOrCreate().withPrefix("nimble").register(
|
|
11668
|
+
const HF=class extends TF{updateText(){this.columnConfig?this.text=VF(this.columnConfig.formatter,this.groupHeaderValue):this.text=""}}.compose({baseName:"table-column-date-text-group-header-view",template:AF,styles:DF})
|
|
11669
|
+
yi.getOrCreate().withPrefix("nimble").register(HF())
|
|
11647
11670
|
const BF="left",qF="right",UF=G`
|
|
11648
11671
|
<template
|
|
11649
11672
|
class="
|
|
@@ -11684,7 +11707,7 @@ const BF="left",qF="right",UF=G`
|
|
|
11684
11707
|
`
|
|
11685
11708
|
class WF extends uR{constructor(){super(...arguments),this.hasOverflow=!1,this.text="",this.alignment=BF,this.isPlaceholder=!1}columnConfigChanged(){this.applyPlaceholderTextIfNeeded()||this.updateText()}cellRecordChanged(){this.applyPlaceholderTextIfNeeded()||this.updateText()}applyPlaceholderTextIfNeeded(){const e=this.cellRecord?.value,t=this.columnConfig?.placeholder
|
|
11686
11709
|
return"string"==typeof t&&null==e?(this.text=t,this.isPlaceholder=!0):this.isPlaceholder=!1,this.isPlaceholder}}e([g],WF.prototype,"hasOverflow",void 0),e([g],WF.prototype,"text",void 0),e([g],WF.prototype,"alignment",void 0),e([g],WF.prototype,"isPlaceholder",void 0)
|
|
11687
|
-
const GF=class extends WF{updateText(){this.columnConfig?this.text=
|
|
11710
|
+
const GF=class extends WF{updateText(){this.columnConfig?this.text=VF(this.columnConfig.formatter,this.cellRecord?.value):this.text=""}}.compose({baseName:"table-column-date-text-cell-view",template:UF,styles:jF})
|
|
11688
11711
|
yi.getOrCreate().withPrefix("nimble").register(GF())
|
|
11689
11712
|
const ZF=void 0,KF=["invalidCustomOptionsCombination"]
|
|
11690
11713
|
class XF extends vF{constructor(){super(KF)}setCustomOptionsValidity(e){this.setConditionValue("invalidCustomOptionsCombination",!e)}}const YF={toView:e=>"boolean"==typeof e?e.toString():null,fromView:e=>"true"===e||!0===e||"false"!==e&&!1!==e&&void 0}
|
|
@@ -11717,7 +11740,7 @@ this.columnInternals.columnConfig=e}}const oN=iN.compose({baseName:"table-column
|
|
|
11717
11740
|
yi.getOrCreate().withPrefix("nimble").register(oN())
|
|
11718
11741
|
const sN=(e,t)=>{if("number"===t){const t=re.fromView(e)
|
|
11719
11742
|
return null===t?void 0:t}return"boolean"===t?!1!==e&&"false"!==e&&(!0===e||"true"===e||void 0):e?.toString()??void 0}
|
|
11720
|
-
class rN extends gR{constructor(){super(...arguments),this.mappingNotifiers=[],this.mappings=[],this.keyType="string"}handleChange(e,t){e instanceof
|
|
11743
|
+
class rN extends gR{constructor(){super(...arguments),this.mappingNotifiers=[],this.mappings=[],this.keyType="string"}handleChange(e,t){e instanceof Vv&&"string"==typeof t&&this.updateColumnConfig()}updateColumnConfig(){this.columnInternals.validator.validate(this.mappings,this.keyType),this.columnInternals.columnConfig=this.checkValidity()?this.createColumnConfig(this.getMappingConfigs()):void 0}getMappingConfigs(){const e=new Map
|
|
11721
11744
|
return this.mappings.forEach((t=>{const n=sN(t.key,this.keyType)
|
|
11722
11745
|
if(void 0===n)throw Error("Key was invalid for type. Validation should have prevented this.")
|
|
11723
11746
|
const i=this.createMappingConfig(t)
|
|
@@ -11763,7 +11786,7 @@ this.setConditionValue("unsupportedMappingType",!t)}}const uN=xe`
|
|
|
11763
11786
|
text-overflow: ellipsis;
|
|
11764
11787
|
}
|
|
11765
11788
|
`,pN=G`
|
|
11766
|
-
${
|
|
11789
|
+
${He((e=>e.visualizationTemplate),G`
|
|
11767
11790
|
<span class="reserve-icon-size">
|
|
11768
11791
|
${e=>e.visualizationTemplate}
|
|
11769
11792
|
</span>
|
|
@@ -11820,12 +11843,12 @@ const kN=xe`
|
|
|
11820
11843
|
text-overflow: ellipsis;
|
|
11821
11844
|
}
|
|
11822
11845
|
`,SN=G`
|
|
11823
|
-
${
|
|
11846
|
+
${He((e=>e.visualizationTemplate),G`
|
|
11824
11847
|
<span class="reserve-icon-size">
|
|
11825
11848
|
${e=>e.visualizationTemplate}
|
|
11826
11849
|
</span>
|
|
11827
11850
|
`)}
|
|
11828
|
-
${
|
|
11851
|
+
${He((e=>!e.textHidden),G`
|
|
11829
11852
|
<span
|
|
11830
11853
|
${bg("hasOverflow")}
|
|
11831
11854
|
title=${e=>e.hasOverflow&&e.text?e.text:null}
|
|
@@ -11864,7 +11887,7 @@ const DN=class extends WF{columnConfigChanged(){super.columnConfigChanged(),this
|
|
|
11864
11887
|
yi.getOrCreate().withPrefix("nimble").register(DN())
|
|
11865
11888
|
const ON={default:void 0,decimal:"decimal"},RN="left",FN="right"
|
|
11866
11889
|
class NN{format(e){if("number"!=typeof e)return""
|
|
11867
|
-
try{return this.tryFormat(e)}catch{return""}}}class PN{constructor(e){this.locale=e.locale,this.intlNumberFormatOptions=e.intlNumberFormatOptions}}class LN extends PN{constructor(e,t){super(e),this.formatter=new Intl.NumberFormat(this.locale,{...t,...this.intlNumberFormatOptions})}static createFactory(e){return t=>new LN(t,e)}format(e){return this.formatter.format(e)}}class zN{constructor(e,t){this.scaleFactor=e,this.scaledUnitFormatFactory=t}isBase(){return 1===this.scaleFactor}}class
|
|
11890
|
+
try{return this.tryFormat(e)}catch{return""}}}class PN{constructor(e){this.locale=e.locale,this.intlNumberFormatOptions=e.intlNumberFormatOptions}}class LN extends PN{constructor(e,t){super(e),this.formatter=new Intl.NumberFormat(this.locale,{...t,...this.intlNumberFormatOptions})}static createFactory(e){return t=>new LN(t,e)}format(e){return this.formatter.format(e)}}class zN{constructor(e,t){this.scaleFactor=e,this.scaledUnitFormatFactory=t}isBase(){return 1===this.scaleFactor}}class VN{constructor(e){this.supportedScaledUnits=e
|
|
11868
11891
|
const t=e.every(((e,t,n)=>0===t||n[t-1].scaleFactor<e.scaleFactor))
|
|
11869
11892
|
if(!t)throw new Error("Supported scaled units must have unique and ordered scale factors")
|
|
11870
11893
|
const n=e.find((e=>e.isBase()))
|
|
@@ -11873,27 +11896,27 @@ this.supportedScaledUnits=e,this.baseScaledUnit=n}scaleNumber(e){const t=Math.ab
|
|
|
11873
11896
|
if(1===this.supportedScaledUnits.length||0===t||t===1/0||Number.isNaN(t))return{scaledValue:e,scaledUnit:this.baseScaledUnit}
|
|
11874
11897
|
for(let n=this.supportedScaledUnits.length-1;n>=0;n-=1){const i=this.supportedScaledUnits[n]
|
|
11875
11898
|
if(t/i.scaleFactor>=1)return{scaledValue:e/i.scaleFactor,scaledUnit:i}}const n=this.supportedScaledUnits[0]
|
|
11876
|
-
return{scaledValue:e/n.scaleFactor,scaledUnit:n}}}const
|
|
11877
|
-
class qN extends NN{constructor(e,{unitScale:t=
|
|
11899
|
+
return{scaledValue:e/n.scaleFactor,scaledUnit:n}}}const HN=new class extends VN{constructor(){super([new zN(1,LN.createFactory({}))])}},BN="negative"
|
|
11900
|
+
class qN extends NN{constructor(e,{unitScale:t=HN}={unitScale:HN}){super(),this.defaultIntlNumberFormatOptions={maximumSignificantDigits:qN.maximumDigits,maximumFractionDigits:qN.maximumDigits-1,roundingPriority:"lessPrecision",signDisplay:BN},this.defaultScaledUnitFormatters=new Map,this.exponentialIntlNumberFormatOptions={maximumSignificantDigits:qN.maximumDigits,notation:"scientific",signDisplay:BN}
|
|
11878
11901
|
for(const n of t.supportedScaledUnits)this.defaultScaledUnitFormatters.set(n.scaleFactor,n.scaledUnitFormatFactory({locale:e,intlNumberFormatOptions:this.defaultIntlNumberFormatOptions}))
|
|
11879
11902
|
this.exponentialScaledUnitFormatter=t.baseScaledUnit.scaledUnitFormatFactory({locale:e,intlNumberFormatOptions:this.exponentialIntlNumberFormatOptions}),this.unitScale=t}resolvedOptions(){return{unitScale:this.unitScale}}tryFormat(e){const{scaledValue:t,scaledUnit:n}=this.unitScale.scaleNumber(e),i=Math.abs(t)
|
|
11880
11903
|
return 0!==i&&(i>=qN.exponentialUpperBound||i<qN.exponentialLowerBound)?this.exponentialScaledUnitFormatter.format(e):this.defaultScaledUnitFormatters.get(n.scaleFactor).format(t)}}qN.maximumDigits=6,qN.exponentialLowerBound=995e-6,qN.exponentialUpperBound=999999.5
|
|
11881
|
-
class UN extends NN{constructor(e,{minimumFractionDigits:t=0,maximumFractionDigits:n=Math.max(3,t),unitScale:i=
|
|
11904
|
+
class UN extends NN{constructor(e,{minimumFractionDigits:t=0,maximumFractionDigits:n=Math.max(3,t),unitScale:i=HN}={minimumFractionDigits:0,maximumFractionDigits:3,unitScale:HN}){super(),this.scaledUnitFormatters=new Map
|
|
11882
11905
|
const o={maximumFractionDigits:n,minimumFractionDigits:t,signDisplay:"negative"}
|
|
11883
11906
|
for(const t of i.supportedScaledUnits)this.scaledUnitFormatters.set(t.scaleFactor,t.scaledUnitFormatFactory({locale:e,intlNumberFormatOptions:o}))
|
|
11884
11907
|
this.unitScale=i,this.minimumFractionDigits=t,this.maximumFractionDigits=n}resolvedOptions(){return{unitScale:this.unitScale,maximumFractionDigits:this.maximumFractionDigits,minimumFractionDigits:this.minimumFractionDigits}}tryFormat(e){const{scaledValue:t,scaledUnit:n}=this.unitScale.scaleNumber(e)
|
|
11885
11908
|
return this.scaledUnitFormatters.get(n.scaleFactor).format(t)}}class jN extends NN{constructor(e,t){super(),this._resolvedOptions=this.resolveOptions(t),this.resolvedUnitFormat=this.resolveUnitFormat(e,this._resolvedOptions)}resolvedOptions(){return{...this._resolvedOptions}}optionsMatch(e){const t=this.resolveOptions(e)
|
|
11886
11909
|
return this._resolvedOptions.decimalDigits===t.decimalDigits&&this._resolvedOptions.decimalMaximumDigits===t.decimalMaximumDigits&&this._resolvedOptions.numberTextFormat===t.numberTextFormat&&this._resolvedOptions.unitScale===t.unitScale}tryFormat(e){return this.resolvedUnitFormat.format(e)}resolveUnitFormat(e,t){const{numberTextFormat:n,decimalMaximumDigits:i,decimalDigits:o,unitScale:s}=t
|
|
11887
|
-
return n===ON.default?new qN(e,{unitScale:s}):new UN(e,"number"==typeof o?{minimumFractionDigits:o,maximumFractionDigits:o,unitScale:s}:{minimumFractionDigits:0,maximumFractionDigits:i,unitScale:s})}resolveOptions(e){if(!e||e.numberTextFormat===ON.default)return{numberTextFormat:ON.default,decimalDigits:void 0,decimalMaximumDigits:void 0,unitScale:e?.unitScale??
|
|
11910
|
+
return n===ON.default?new qN(e,{unitScale:s}):new UN(e,"number"==typeof o?{minimumFractionDigits:o,maximumFractionDigits:o,unitScale:s}:{minimumFractionDigits:0,maximumFractionDigits:i,unitScale:s})}resolveOptions(e){if(!e||e.numberTextFormat===ON.default)return{numberTextFormat:ON.default,decimalDigits:void 0,decimalMaximumDigits:void 0,unitScale:e?.unitScale??HN}
|
|
11888
11911
|
const t="number"==typeof e.decimalDigits,n="number"==typeof e.decimalMaximumDigits
|
|
11889
11912
|
if(t&&n)throw new Error("decimalDigits and decimalMaximumDigits are mutually exclusive. Do not specify both.")
|
|
11890
|
-
return t||n?{numberTextFormat:ON.decimal,decimalDigits:e.decimalDigits,decimalMaximumDigits:e.decimalMaximumDigits,unitScale:e.unitScale??
|
|
11913
|
+
return t||n?{numberTextFormat:ON.decimal,decimalDigits:e.decimalDigits,decimalMaximumDigits:e.decimalMaximumDigits,unitScale:e.unitScale??HN}:{numberTextFormat:ON.decimal,decimalDigits:jN.defaultDecimalDigits,decimalMaximumDigits:void 0,unitScale:e.unitScale??HN}}}jN.defaultDecimalDigits=2
|
|
11891
11914
|
const WN=["invalidDecimalDigits","invalidDecimalMaximumDigits","decimalDigitsMutuallyExclusiveWithDecimalMaximumDigits","moreThanOneUnitSpecified"]
|
|
11892
11915
|
class GN extends vF{constructor(){super(WN)}validateDecimalDigits(e,t){const n=!!(e===ON.decimal&&"number"==typeof t)&&this.isInvalidDecimalDigitsValue(t)
|
|
11893
11916
|
this.setConditionValue("invalidDecimalDigits",n)}validateDecimalMaximumDigits(e,t){const n=!!(e===ON.decimal&&"number"==typeof t)&&this.isInvalidDecimalDigitsValue(t)
|
|
11894
11917
|
this.setConditionValue("invalidDecimalMaximumDigits",n)}validateNoMutuallyExclusiveProperties(e,t,n){const i=!!(e===ON.decimal)&&("number"==typeof t&&"number"==typeof n)
|
|
11895
11918
|
this.setConditionValue("decimalDigitsMutuallyExclusiveWithDecimalMaximumDigits",i)}validateAtMostOneUnit(e){const t=e.length>1
|
|
11896
|
-
this.setConditionValue("moreThanOneUnitSpecified",t)}isInvalidDecimalDigitsValue(e){return e<0||e>20}}class ZN extends
|
|
11919
|
+
this.setConditionValue("moreThanOneUnitSpecified",t)}isInvalidDecimalDigitsValue(e){return e<0||e>20}}class ZN extends Vt{}e([g],ZN.prototype,"resolvedUnitScale",void 0)
|
|
11897
11920
|
class KN extends(zF(LF)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}},this.unitSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),Ba.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),Ba.unsubscribe(this.langSubscriber,this)}placeholderChanged(){this.updateColumnConfig()}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-number-text-cell-view",groupHeaderViewTag:"nimble-table-column-number-text-group-header-view",delegatedEvents:[],sortOperation:rR,validator:new GN}}updateUnitNotifier(){if(this.unitNotifier&&(this.unitNotifier.unsubscribe(this.unitSubscriber),this.unitNotifier=void 0),this.unit){const e=m.getNotifier(this.unit)
|
|
11898
11921
|
e.subscribe(this.unitSubscriber,"resolvedUnitScale"),this.unitNotifier=e}}formatChanged(){this.updateColumnConfig()}alignmentChanged(){this.updateColumnConfig()}decimalDigitsChanged(){this.updateColumnConfig()}decimalMaximumDigitsChanged(){this.updateColumnConfig()}unitElementsChanged(){this.updateUnit()}async updateUnit(){this.unit=void 0,this.unitElements&&(await y_(this.unitElements),this.unit=this.unitElements.find((e=>e instanceof ZN))),this.updateUnitNotifier()}unitChanged(){this.updateColumnConfig()}updateColumnConfig(){const e=this.columnInternals.validator
|
|
11899
11922
|
if(e.validateDecimalDigits(this.format,this.decimalDigits),e.validateDecimalMaximumDigits(this.format,this.decimalMaximumDigits),e.validateNoMutuallyExclusiveProperties(this.format,this.decimalDigits,this.decimalMaximumDigits),e.validateAtMostOneUnit(this.unitElements??[]),e.isValid()){const e={formatter:this.createFormatter(),alignment:this.determineCellContentAlignment(),placeholder:this.placeholder}
|
|
@@ -11938,7 +11961,7 @@ const tP=class extends so{constructor(){super(),this.activeindicator=!1}}.compos
|
|
|
11938
11961
|
<div class="tablist" part="tablist" role="tablist">
|
|
11939
11962
|
<slot class="tab" name="tab" part="tab" ${Ye("tabs")}></slot>
|
|
11940
11963
|
|
|
11941
|
-
${
|
|
11964
|
+
${He((e=>e.showActiveIndicator),G`
|
|
11942
11965
|
<div
|
|
11943
11966
|
${Pe("activeIndicatorRef")}
|
|
11944
11967
|
class="activeIndicator"
|
|
@@ -11976,7 +11999,7 @@ const nP=xe`
|
|
|
11976
11999
|
<slot></slot>
|
|
11977
12000
|
</template>
|
|
11978
12001
|
`
|
|
11979
|
-
const oP=class extends
|
|
12002
|
+
const oP=class extends Vt{}.compose({baseName:"tabs-toolbar",template:iP,styles:nP})
|
|
11980
12003
|
yi.getOrCreate().withPrefix("nimble").register(oP())
|
|
11981
12004
|
const sP="outline",rP="block",aP=xe`
|
|
11982
12005
|
${Fo("inline-flex")}
|
|
@@ -12588,7 +12611,7 @@ const vP=xe`
|
|
|
12588
12611
|
opacity: 0.6;
|
|
12589
12612
|
}
|
|
12590
12613
|
`)),bP=G`
|
|
12591
|
-
${
|
|
12614
|
+
${He((e=>e.tooltipVisible),G`
|
|
12592
12615
|
<${Ih}
|
|
12593
12616
|
class="anchored-region"
|
|
12594
12617
|
fixed-placement="true"
|
|
@@ -12702,7 +12725,7 @@ class $P{constructor(e,t,n){this.ltr=e,this.rtl=t,this.source=n,this.attached=nu
|
|
|
12702
12725
|
width: 100%;
|
|
12703
12726
|
padding-left: 10px;
|
|
12704
12727
|
font: inherit;
|
|
12705
|
-
font-size: ${
|
|
12728
|
+
font-size: ${Vc};
|
|
12706
12729
|
${wh}
|
|
12707
12730
|
position: relative;
|
|
12708
12731
|
margin-inline-start: ${Sl};
|
|
@@ -12821,7 +12844,7 @@ const IP=EP.compose({baseName:"tree-item",baseClass:To,template:(e,t)=>G`
|
|
|
12821
12844
|
>
|
|
12822
12845
|
<div class="positioning-region" part="positioning-region">
|
|
12823
12846
|
<div class="content-region" part="content-region">
|
|
12824
|
-
${
|
|
12847
|
+
${He((e=>e.childItems&&e.childItemLength()>0),G`
|
|
12825
12848
|
<div
|
|
12826
12849
|
aria-hidden="true"
|
|
12827
12850
|
class="expand-collapse-button"
|
|
@@ -12839,7 +12862,7 @@ const IP=EP.compose({baseName:"tree-item",baseClass:To,template:(e,t)=>G`
|
|
|
12839
12862
|
${tt(0,t)}
|
|
12840
12863
|
</div>
|
|
12841
12864
|
</div>
|
|
12842
|
-
${
|
|
12865
|
+
${He((e=>e.childItems&&e.childItemLength()>0&&(e.expanded||e.renderCollapsedChildren)),G`
|
|
12843
12866
|
<div role="group" class="items" part="items">
|
|
12844
12867
|
<slot name="item" ${Ye("items")}></slot>
|
|
12845
12868
|
</div>
|
|
@@ -12890,16 +12913,16 @@ this.pluralRules=new Intl.PluralRules(this.locale),this.formatter=new Intl.Numbe
|
|
|
12890
12913
|
if(""!==this.scaledPrefixText)return`${t} ${this.scaledPrefixText}${this.unitTranslation.symbol}`
|
|
12891
12914
|
return`${t} ${"one"===this.pluralRules.select(e)?this.unitTranslation.singular:this.unitTranslation.plural}`}getTranslationToUse(e,t){const n=new Intl.Locale(t??"en"),i=n.language,o=n.region
|
|
12892
12915
|
return(o?e.get(`${i}-${o}`):void 0)??e.get(i)??e.get("en")}}const NP=new Map([["en",new RP("byte","bytes","B")],["fr",new RP("octet","octets","o")],["de",new RP("Byte","Byte","B")],["ja",new RP("バイト","バイト","B")],["zh",new RP("字节","字节","B")]]),PP=[[1,""],[1024,"Ki"],[1048576,"Mi"],[1024**3,"Gi"],[1024**4,"Ti"],[1024**5,"Pi"]]
|
|
12893
|
-
const LP=new class extends
|
|
12894
|
-
const
|
|
12916
|
+
const LP=new class extends VN{constructor(){super(PP.map((([e,t])=>new zN(e,FP.createFactory({unitTranslations:NP,scaledPrefixText:t})))))}},zP=[[1,"byte","long"],[1e3,"kilobyte","short"],[1e6,"megabyte","short"],[1e3**3,"gigabyte","short"],[1e3**4,"terabyte","short"],[1e3**5,"petabyte","short"]]
|
|
12917
|
+
const VP=new class extends VN{constructor(){super(zP.map((([e,t,n])=>new zN(e,LN.createFactory({style:"unit",unit:t,unitDisplay:n})))))}},HP=xe`
|
|
12895
12918
|
${Fo("none")}
|
|
12896
12919
|
`
|
|
12897
|
-
class BP extends ZN{constructor(){super(),this.binary=!1,this.resolvedUnitScale=
|
|
12898
|
-
const qP=BP.compose({baseName:"unit-byte",template:OP,styles:
|
|
12920
|
+
class BP extends ZN{constructor(){super(),this.binary=!1,this.resolvedUnitScale=VP}binaryChanged(){this.resolvedUnitScale=this.binary?LP:VP}}e([le({mode:"boolean"})],BP.prototype,"binary",void 0)
|
|
12921
|
+
const qP=BP.compose({baseName:"unit-byte",template:OP,styles:HP})
|
|
12899
12922
|
yi.getOrCreate().withPrefix("nimble").register(qP())
|
|
12900
12923
|
const UP=[[1e-15,"f"],[1e-12,"p"],[1e-9,"n"],[10**-6,"μ"],[.001,"m"],[.01,"c"],[.1,"d"],[1,""],[1e3,"k"],[10**6,"M"],[10**9,"G"],[10**12,"T"],[10**15,"P"],[10**18,"E"]],jP=new Map([["en",new RP("volt","volts","V")],["fr",new RP("volt","volts","V")],["de",new RP("Volt","Volt","V")],["ja",new RP("ボルト","ボルト","V")],["zh",new RP("伏特","伏特","V")]])
|
|
12901
|
-
const WP=new class extends
|
|
12902
|
-
const GP=class extends ZN{constructor(){super(),this.resolvedUnitScale=WP}}.compose({baseName:"unit-volt",template:OP,styles:
|
|
12924
|
+
const WP=new class extends VN{constructor(){super(UP.map((([e,t])=>new zN(e,FP.createFactory({unitTranslations:jP,scaledPrefixText:t})))))}}
|
|
12925
|
+
const GP=class extends ZN{constructor(){super(),this.resolvedUnitScale=WP}}.compose({baseName:"unit-volt",template:OP,styles:HP})
|
|
12903
12926
|
yi.getOrCreate().withPrefix("nimble").register(GP())
|
|
12904
12927
|
var ZP={value:()=>{}}
|
|
12905
12928
|
function KP(){for(var e,t=0,n=arguments.length,i={};t<n;++t){if(!(e=arguments[t]+"")||e in i||/[\s.]/.test(e))throw new Error("illegal type: "+e)
|
|
@@ -12931,7 +12954,7 @@ for(a=0;a<h;++a)(l=t[a])&&d.get(p[a])===l&&(o[a]=l)}function wL(e){return e.__da
|
|
|
12931
12954
|
null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function IL(e,t){return function(){var n=t.apply(this,arguments)
|
|
12932
12955
|
null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function _L(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function TL(e){return function(){this.style.removeProperty(e)}}function AL(e,t,n){return function(){this.style.setProperty(e,t,n)}}function DL(e,t,n){return function(){var i=t.apply(this,arguments)
|
|
12933
12956
|
null==i?this.style.removeProperty(e):this.style.setProperty(e,i,n)}}function OL(e,t){return e.style.getPropertyValue(t)||_L(e).getComputedStyle(e,null).getPropertyValue(t)}function RL(e){return function(){delete this[e]}}function FL(e,t){return function(){this[e]=t}}function NL(e,t){return function(){var n=t.apply(this,arguments)
|
|
12934
|
-
null==n?delete this[e]:this[e]=n}}function PL(e){return e.trim().split(/^|\s+/)}function LL(e){return e.classList||new zL(e)}function zL(e){this._node=e,this._names=PL(e.getAttribute("class")||"")}function
|
|
12957
|
+
null==n?delete this[e]:this[e]=n}}function PL(e){return e.trim().split(/^|\s+/)}function LL(e){return e.classList||new zL(e)}function zL(e){this._node=e,this._names=PL(e.getAttribute("class")||"")}function VL(e,t){for(var n=LL(e),i=-1,o=t.length;++i<o;)n.add(t[i])}function HL(e,t){for(var n=LL(e),i=-1,o=t.length;++i<o;)n.remove(t[i])}function BL(e){return function(){VL(this,e)}}function qL(e){return function(){HL(this,e)}}function UL(e,t){return function(){(t.apply(this,arguments)?VL:HL)(this,e)}}function jL(){this.textContent=""}function WL(e){return function(){this.textContent=e}}function GL(e){return function(){var t=e.apply(this,arguments)
|
|
12935
12958
|
this.textContent=null==t?"":t}}function ZL(){this.innerHTML=""}function KL(e){return function(){this.innerHTML=e}}function XL(e){return function(){var t=e.apply(this,arguments)
|
|
12936
12959
|
this.innerHTML=null==t?"":t}}function YL(){this.nextSibling&&this.parentNode.appendChild(this)}function JL(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function QL(){return null}function ez(){var e=this.parentNode
|
|
12937
12960
|
e&&e.removeChild(this)}function tz(){var e=this.cloneNode(!1),t=this.parentNode
|
|
@@ -12987,13 +13010,13 @@ for(var i in t)n[i]=t[i]
|
|
|
12987
13010
|
return n}function vz(){}var bz=.7,yz=1/bz,wz="\\s*([+-]?\\d+)\\s*",xz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Cz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",kz=/^#([0-9a-f]{3,8})$/,Sz=new RegExp(`^rgb\\(${wz},${wz},${wz}\\)$`),$z=new RegExp(`^rgb\\(${Cz},${Cz},${Cz}\\)$`),Mz=new RegExp(`^rgba\\(${wz},${wz},${wz},${xz}\\)$`),Ez=new RegExp(`^rgba\\(${Cz},${Cz},${Cz},${xz}\\)$`),Iz=new RegExp(`^hsl\\(${xz},${Cz},${Cz}\\)$`),_z=new RegExp(`^hsla\\(${xz},${Cz},${Cz},${xz}\\)$`),Tz={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074}
|
|
12988
13011
|
function Az(){return this.rgb().formatHex()}function Dz(){return this.rgb().formatRgb()}function Oz(e){var t,n
|
|
12989
13012
|
return e=(e+"").trim().toLowerCase(),(t=kz.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Rz(t):3===n?new Pz(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Fz(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Fz(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Sz.exec(e))?new Pz(t[1],t[2],t[3],1):(t=$z.exec(e))?new Pz(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Mz.exec(e))?Fz(t[1],t[2],t[3],t[4]):(t=Ez.exec(e))?Fz(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Iz.exec(e))?qz(t[1],t[2]/100,t[3]/100,1):(t=_z.exec(e))?qz(t[1],t[2]/100,t[3]/100,t[4]):Tz.hasOwnProperty(e)?Rz(Tz[e]):"transparent"===e?new Pz(NaN,NaN,NaN,0):null}function Rz(e){return new Pz(e>>16&255,e>>8&255,255&e,1)}function Fz(e,t,n,i){return i<=0&&(e=t=n=NaN),new Pz(e,t,n,i)}function Nz(e,t,n,i){return 1===arguments.length?((o=e)instanceof vz||(o=Oz(o)),o?new Pz((o=o.rgb()).r,o.g,o.b,o.opacity):new Pz):new Pz(e,t,n,null==i?1:i)
|
|
12990
|
-
var o}function Pz(e,t,n,i){this.r=+e,this.g=+t,this.b=+n,this.opacity=+i}function Lz(){return`#${Bz(this.r)}${Bz(this.g)}${Bz(this.b)}`}function zz(){const e=
|
|
12991
|
-
return`${1===e?"rgb(":"rgba("}${
|
|
13013
|
+
var o}function Pz(e,t,n,i){this.r=+e,this.g=+t,this.b=+n,this.opacity=+i}function Lz(){return`#${Bz(this.r)}${Bz(this.g)}${Bz(this.b)}`}function zz(){const e=Vz(this.opacity)
|
|
13014
|
+
return`${1===e?"rgb(":"rgba("}${Hz(this.r)}, ${Hz(this.g)}, ${Hz(this.b)}${1===e?")":`, ${e})`}`}function Vz(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Hz(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Bz(e){return((e=Hz(e))<16?"0":"")+e.toString(16)}function qz(e,t,n,i){return i<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new jz(e,t,n,i)}function Uz(e){if(e instanceof jz)return new jz(e.h,e.s,e.l,e.opacity)
|
|
12992
13015
|
if(e instanceof vz||(e=Oz(e)),!e)return new jz
|
|
12993
13016
|
if(e instanceof jz)return e
|
|
12994
13017
|
var t=(e=e.rgb()).r/255,n=e.g/255,i=e.b/255,o=Math.min(t,n,i),s=Math.max(t,n,i),r=NaN,a=s-o,l=(s+o)/2
|
|
12995
|
-
return a?(r=t===s?(n-i)/a+6*(n<i):n===s?(i-t)/a+2:(t-n)/a+4,a/=l<.5?s+o:2-s-o,r*=60):a=l>0&&l<1?0:r,new jz(r,a,l,e.opacity)}function jz(e,t,n,i){this.h=+e,this.s=+t,this.l=+n,this.opacity=+i}function Wz(e){return(e=(e||0)%360)<0?e+360:e}function Gz(e){return Math.max(0,Math.min(1,e||0))}function Zz(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}mz(vz,Oz,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Az,formatHex:Az,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Uz(this).formatHsl()},formatRgb:Dz,toString:Dz}),mz(Pz,Nz,gz(vz,{brighter(e){return e=null==e?yz:Math.pow(yz,e),new Pz(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?bz:Math.pow(bz,e),new Pz(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Pz(
|
|
12996
|
-
return new Pz(Zz(e>=240?e-240:e+120,o,i),Zz(e,o,i),Zz(e<120?e+240:e-120,o,i),this.opacity)},clamp(){return new jz(Wz(this.h),Gz(this.s),Gz(this.l),
|
|
13018
|
+
return a?(r=t===s?(n-i)/a+6*(n<i):n===s?(i-t)/a+2:(t-n)/a+4,a/=l<.5?s+o:2-s-o,r*=60):a=l>0&&l<1?0:r,new jz(r,a,l,e.opacity)}function jz(e,t,n,i){this.h=+e,this.s=+t,this.l=+n,this.opacity=+i}function Wz(e){return(e=(e||0)%360)<0?e+360:e}function Gz(e){return Math.max(0,Math.min(1,e||0))}function Zz(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}mz(vz,Oz,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Az,formatHex:Az,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Uz(this).formatHsl()},formatRgb:Dz,toString:Dz}),mz(Pz,Nz,gz(vz,{brighter(e){return e=null==e?yz:Math.pow(yz,e),new Pz(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?bz:Math.pow(bz,e),new Pz(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Pz(Hz(this.r),Hz(this.g),Hz(this.b),Vz(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Lz,formatHex:Lz,formatHex8:function(){return`#${Bz(this.r)}${Bz(this.g)}${Bz(this.b)}${Bz(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:zz,toString:zz})),mz(jz,(function(e,t,n,i){return 1===arguments.length?Uz(e):new jz(e,t,n,null==i?1:i)}),gz(vz,{brighter(e){return e=null==e?yz:Math.pow(yz,e),new jz(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?bz:Math.pow(bz,e),new jz(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*t,o=2*n-i
|
|
13019
|
+
return new Pz(Zz(e>=240?e-240:e+120,o,i),Zz(e,o,i),Zz(e<120?e+240:e-120,o,i),this.opacity)},clamp(){return new jz(Wz(this.h),Gz(this.s),Gz(this.l),Vz(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Vz(this.opacity)
|
|
12997
13020
|
return`${1===e?"hsl(":"hsla("}${Wz(this.h)}, ${100*Gz(this.s)}%, ${100*Gz(this.l)}%${1===e?")":`, ${e})`}`}}))
|
|
12998
13021
|
var Kz=e=>()=>e
|
|
12999
13022
|
function Xz(e){return 1==(e=+e)?Yz:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(i){return Math.pow(e+i*t,n)}}(t,n,e):Kz(isNaN(t)?n:t)}}function Yz(e,t){var n=t-e
|
|
@@ -13003,116 +13026,116 @@ return function(t){return e.r=i(t),e.g=o(t),e.b=s(t),e.opacity=r(t),e+""}}return
|
|
|
13003
13026
|
function Qz(e,t){t||(t=[])
|
|
13004
13027
|
var n,i=e?Math.min(t.length,e.length):0,o=t.slice()
|
|
13005
13028
|
return function(s){for(n=0;n<i;++n)o[n]=e[n]*(1-s)+t[n]*s
|
|
13006
|
-
return o}}function
|
|
13007
|
-
for(n=0;n<o;++n)s[n]=
|
|
13029
|
+
return o}}function eV(e,t){var n,i=t?t.length:0,o=e?Math.min(i,e.length):0,s=new Array(o),r=new Array(i)
|
|
13030
|
+
for(n=0;n<o;++n)s[n]=aV(e[n],t[n])
|
|
13008
13031
|
for(;n<i;++n)r[n]=t[n]
|
|
13009
13032
|
return function(e){for(n=0;n<o;++n)r[n]=s[n](e)
|
|
13010
|
-
return r}}function
|
|
13011
|
-
return e=+e,t=+t,function(i){return n.setTime(e*(1-i)+t*i),n}}function
|
|
13012
|
-
for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?i[n]=
|
|
13033
|
+
return r}}function tV(e,t){var n=new Date
|
|
13034
|
+
return e=+e,t=+t,function(i){return n.setTime(e*(1-i)+t*i),n}}function nV(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function iV(e,t){var n,i={},o={}
|
|
13035
|
+
for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?i[n]=aV(e[n],t[n]):o[n]=t[n]
|
|
13013
13036
|
return function(e){for(n in i)o[n]=i[n](e)
|
|
13014
|
-
return o}}var
|
|
13015
|
-
function
|
|
13016
|
-
for(e+="",t+="";(n=
|
|
13037
|
+
return o}}var oV=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,sV=new RegExp(oV.source,"g")
|
|
13038
|
+
function rV(e,t){var n,i,o,s=oV.lastIndex=sV.lastIndex=0,r=-1,a=[],l=[]
|
|
13039
|
+
for(e+="",t+="";(n=oV.exec(e))&&(i=sV.exec(t));)(o=i.index)>s&&(o=t.slice(s,o),a[r]?a[r]+=o:a[++r]=o),(n=n[0])===(i=i[0])?a[r]?a[r]+=i:a[++r]=i:(a[++r]=null,l.push({i:r,x:nV(n,i)})),s=sV.lastIndex
|
|
13017
13040
|
return s<t.length&&(o=t.slice(s),a[r]?a[r]+=o:a[++r]=o),a.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,i=0;i<t;++i)a[(n=l[i]).i]=n.x(e)
|
|
13018
|
-
return a.join("")})}function
|
|
13019
|
-
return null==t||"boolean"===o?Kz(t):("number"===o?
|
|
13020
|
-
function
|
|
13021
|
-
return(r=Math.sqrt(e*e+t*t))&&(e/=r,t/=r),(l=e*n+t*i)&&(n-=e*l,i-=t*l),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,l/=a),e*i<t*n&&(e=-e,t=-t,l=-l,r=-r),{translateX:o,translateY:s,rotate:Math.atan2(t,e)*
|
|
13041
|
+
return a.join("")})}function aV(e,t){var n,i,o=typeof t
|
|
13042
|
+
return null==t||"boolean"===o?Kz(t):("number"===o?nV:"string"===o?(n=Oz(t))?(t=n,Jz):rV:t instanceof Oz?Jz:t instanceof Date?tV:(i=t,!ArrayBuffer.isView(i)||i instanceof DataView?Array.isArray(t)?eV:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?iV:nV:Qz))(e,t)}function lV(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var cV,dV=180/Math.PI,hV={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1}
|
|
13043
|
+
function uV(e,t,n,i,o,s){var r,a,l
|
|
13044
|
+
return(r=Math.sqrt(e*e+t*t))&&(e/=r,t/=r),(l=e*n+t*i)&&(n-=e*l,i-=t*l),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,l/=a),e*i<t*n&&(e=-e,t=-t,l=-l,r=-r),{translateX:o,translateY:s,rotate:Math.atan2(t,e)*dV,skewX:Math.atan(l)*dV,scaleX:r,scaleY:a}}function pV(e,t,n,i){function o(e){return e.length?e.pop()+" ":""}return function(s,r){var a=[],l=[]
|
|
13022
13045
|
return s=e(s),r=e(r),function(e,i,o,s,r,a){if(e!==o||i!==s){var l=r.push("translate(",null,t,null,n)
|
|
13023
|
-
a.push({i:l-4,x:
|
|
13024
|
-
r.push({i:a-4,x:
|
|
13025
|
-
return a.join("")}}}var
|
|
13026
|
-
return t.isIdentity?
|
|
13027
|
-
function
|
|
13046
|
+
a.push({i:l-4,x:nV(e,o)},{i:l-2,x:nV(i,s)})}else(o||s)&&r.push("translate("+o+t+s+n)}(s.translateX,s.translateY,r.translateX,r.translateY,a,l),function(e,t,n,s){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),s.push({i:n.push(o(n)+"rotate(",null,i)-2,x:nV(e,t)})):t&&n.push(o(n)+"rotate("+t+i)}(s.rotate,r.rotate,a,l),function(e,t,n,s){e!==t?s.push({i:n.push(o(n)+"skewX(",null,i)-2,x:nV(e,t)}):t&&n.push(o(n)+"skewX("+t+i)}(s.skewX,r.skewX,a,l),function(e,t,n,i,s,r){if(e!==n||t!==i){var a=s.push(o(s)+"scale(",null,",",null,")")
|
|
13047
|
+
r.push({i:a-4,x:nV(e,n)},{i:a-2,x:nV(t,i)})}else 1===n&&1===i||s.push(o(s)+"scale("+n+","+i+")")}(s.scaleX,s.scaleY,r.scaleX,r.scaleY,a,l),s=r=null,function(e){for(var t,n=-1,i=l.length;++n<i;)a[(t=l[n]).i]=t.x(e)
|
|
13048
|
+
return a.join("")}}}var fV=pV((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"")
|
|
13049
|
+
return t.isIdentity?hV:uV(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),mV=pV((function(e){return null==e?hV:(cV||(cV=document.createElementNS("http://www.w3.org/2000/svg","g")),cV.setAttribute("transform",e),(e=cV.transform.baseVal.consolidate())?uV((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):hV)}),", ",")",")")
|
|
13050
|
+
function gV(e){return((e=Math.exp(e))+1/e)/2}var vV,bV,yV=function e(t,n,i){function o(e,o){var s,r,a=e[0],l=e[1],c=e[2],d=o[0],h=o[1],u=o[2],p=d-a,f=h-l,m=p*p+f*f
|
|
13028
13051
|
if(m<1e-12)r=Math.log(u/c)/t,s=function(e){return[a+e*p,l+e*f,c*Math.exp(t*e*r)]}
|
|
13029
13052
|
else{var g=Math.sqrt(m),v=(u*u-c*c+i*m)/(2*c*n*g),b=(u*u-c*c-i*m)/(2*u*n*g),y=Math.log(Math.sqrt(v*v+1)-v),w=Math.log(Math.sqrt(b*b+1)-b)
|
|
13030
|
-
r=(w-y)/t,s=function(e){var i,o=e*r,s=
|
|
13031
|
-
return[a+d*p,l+d*f,c*s/
|
|
13032
|
-
return e(n,i,i*i)},o}(Math.SQRT2,2,4),
|
|
13033
|
-
function
|
|
13034
|
-
return i.restart(e,t,n),i}function
|
|
13035
|
-
try{!function(){
|
|
13036
|
-
for(var e,t=
|
|
13037
|
-
for(;n;)n._call?(i>n._time&&(i=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:
|
|
13038
|
-
|
|
13039
|
-
t>
|
|
13040
|
-
return t=null==t?0:+t,i.restart((n=>{i.stop(),e(n+t)}),t,n),i}
|
|
13041
|
-
n=(null==n?
|
|
13042
|
-
var
|
|
13043
|
-
function
|
|
13053
|
+
r=(w-y)/t,s=function(e){var i,o=e*r,s=gV(y),d=c/(n*g)*(s*(i=t*o+y,((i=Math.exp(2*i))-1)/(i+1))-function(e){return((e=Math.exp(e))-1/e)/2}(y))
|
|
13054
|
+
return[a+d*p,l+d*f,c*s/gV(t*o+y)]}}return s.duration=1e3*r*t/Math.SQRT2,s}return o.rho=function(t){var n=Math.max(.001,+t),i=n*n
|
|
13055
|
+
return e(n,i,i*i)},o}(Math.SQRT2,2,4),wV=0,xV=0,CV=0,kV=1e3,SV=0,$V=0,MV=0,EV="object"==typeof performance&&performance.now?performance:Date,IV="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)}
|
|
13056
|
+
function _V(){return $V||(IV(TV),$V=EV.now()+MV)}function TV(){$V=0}function AV(){this._call=this._time=this._next=null}function DV(e,t,n){var i=new AV
|
|
13057
|
+
return i.restart(e,t,n),i}function OV(){$V=(SV=EV.now())+MV,wV=xV=0
|
|
13058
|
+
try{!function(){_V(),++wV
|
|
13059
|
+
for(var e,t=vV;t;)(e=$V-t._time)>=0&&t._call.call(void 0,e),t=t._next;--wV}()}finally{wV=0,function(){var e,t,n=vV,i=1/0
|
|
13060
|
+
for(;n;)n._call?(i>n._time&&(i=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:vV=t)
|
|
13061
|
+
bV=e,FV(i)}(),$V=0}}function RV(){var e=EV.now(),t=e-SV
|
|
13062
|
+
t>kV&&(MV-=t,SV=e)}function FV(e){wV||(xV&&(xV=clearTimeout(xV)),e-$V>24?(e<1/0&&(xV=setTimeout(OV,e-EV.now()-MV)),CV&&(CV=clearInterval(CV))):(CV||(SV=EV.now(),CV=setInterval(RV,kV)),wV=1,IV(OV)))}function NV(e,t,n){var i=new AV
|
|
13063
|
+
return t=null==t?0:+t,i.restart((n=>{i.stop(),e(n+t)}),t,n),i}AV.prototype=DV.prototype={constructor:AV,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function")
|
|
13064
|
+
n=(null==n?_V():+n)+(null==t?0:+t),this._next||bV===this||(bV?bV._next=this:vV=this,bV=this),this._call=e,this._time=n,FV()},stop:function(){this._call&&(this._call=null,this._time=1/0,FV())}}
|
|
13065
|
+
var PV=KP("start","end","cancel","interrupt"),LV=[],zV=0,VV=1,HV=2,BV=3,qV=4,UV=5,jV=6
|
|
13066
|
+
function WV(e,t,n,i,o,s){var r=e.__transition
|
|
13044
13067
|
if(r){if(n in r)return}else e.__transition={}
|
|
13045
13068
|
!function(e,t,n){var i,o=e.__transition
|
|
13046
|
-
function s(e){n.state=
|
|
13047
|
-
if(n.state!==
|
|
13048
|
-
for(c in o)if((u=o[c]).name===n.name){if(u.state===
|
|
13049
|
-
u.state===
|
|
13050
|
-
i.length=d+1}}function a(t){for(var o=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=
|
|
13051
|
-
n.state===
|
|
13052
|
-
delete e.__transition}o[t]=n,n.timer=
|
|
13053
|
-
if(n.state>
|
|
13054
|
-
return n}function
|
|
13055
|
-
if(n.state>
|
|
13056
|
-
return n}function
|
|
13069
|
+
function s(e){n.state=VV,n.timer.restart(r,n.delay,n.time),n.delay<=e&&r(e-n.delay)}function r(s){var c,d,h,u
|
|
13070
|
+
if(n.state!==VV)return l()
|
|
13071
|
+
for(c in o)if((u=o[c]).name===n.name){if(u.state===BV)return NV(r)
|
|
13072
|
+
u.state===qV?(u.state=jV,u.timer.stop(),u.on.call("interrupt",e,e.__data__,u.index,u.group),delete o[c]):+c<t&&(u.state=jV,u.timer.stop(),u.on.call("cancel",e,e.__data__,u.index,u.group),delete o[c])}if(NV((function(){n.state===BV&&(n.state=qV,n.timer.restart(a,n.delay,n.time),a(s))})),n.state=HV,n.on.call("start",e,e.__data__,n.index,n.group),n.state===HV){for(n.state=BV,i=new Array(h=n.tween.length),c=0,d=-1;c<h;++c)(u=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(i[++d]=u)
|
|
13073
|
+
i.length=d+1}}function a(t){for(var o=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=UV,1),s=-1,r=i.length;++s<r;)i[s].call(e,o)
|
|
13074
|
+
n.state===UV&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var i in n.state=jV,n.timer.stop(),delete o[t],o)return
|
|
13075
|
+
delete e.__transition}o[t]=n,n.timer=DV(s,0,n.time)}(e,n,{name:t,index:i,group:o,on:PV,tween:LV,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:zV})}function GV(e,t){var n=KV(e,t)
|
|
13076
|
+
if(n.state>zV)throw new Error("too late; already scheduled")
|
|
13077
|
+
return n}function ZV(e,t){var n=KV(e,t)
|
|
13078
|
+
if(n.state>BV)throw new Error("too late; already running")
|
|
13079
|
+
return n}function KV(e,t){var n=e.__transition
|
|
13057
13080
|
if(!n||!(n=n[t]))throw new Error("transition not found")
|
|
13058
|
-
return n}function
|
|
13059
|
-
if(s){for(o in t=null==t?null:t+"",s)(n=s[o]).name===t?(i=n.state>
|
|
13060
|
-
r&&delete e.__transition}}function
|
|
13061
|
-
return function(){var o=
|
|
13081
|
+
return n}function XV(e,t){var n,i,o,s=e.__transition,r=!0
|
|
13082
|
+
if(s){for(o in t=null==t?null:t+"",s)(n=s[o]).name===t?(i=n.state>HV&&n.state<UV,n.state=jV,n.timer.stop(),n.on.call(i?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete s[o]):r=!1
|
|
13083
|
+
r&&delete e.__transition}}function YV(e,t){var n,i
|
|
13084
|
+
return function(){var o=ZV(this,e),s=o.tween
|
|
13062
13085
|
if(s!==n)for(var r=0,a=(i=n=s).length;r<a;++r)if(i[r].name===t){(i=i.slice()).splice(r,1)
|
|
13063
|
-
break}o.tween=i}}function
|
|
13086
|
+
break}o.tween=i}}function JV(e,t,n){var i,o
|
|
13064
13087
|
if("function"!=typeof n)throw new Error
|
|
13065
|
-
return function(){var s=
|
|
13088
|
+
return function(){var s=ZV(this,e),r=s.tween
|
|
13066
13089
|
if(r!==i){o=(i=r).slice()
|
|
13067
13090
|
for(var a={name:t,value:n},l=0,c=o.length;l<c;++l)if(o[l].name===t){o[l]=a
|
|
13068
|
-
break}l===c&&o.push(a)}s.tween=o}}function
|
|
13069
|
-
return e.each((function(){var e=
|
|
13070
|
-
return("number"==typeof t?
|
|
13091
|
+
break}l===c&&o.push(a)}s.tween=o}}function QV(e,t,n){var i=e._id
|
|
13092
|
+
return e.each((function(){var e=ZV(this,i);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return KV(e,i).value[t]}}function eH(e,t){var n
|
|
13093
|
+
return("number"==typeof t?nV:t instanceof Oz?Jz:(n=Oz(t))?(t=n,Jz):rV)(e,t)}function tH(e){return function(){this.removeAttribute(e)}}function nH(e){return function(){this.removeAttributeNS(e.space,e.local)}}function iH(e,t,n){var i,o,s=n+""
|
|
13071
13094
|
return function(){var r=this.getAttribute(e)
|
|
13072
|
-
return r===s?null:r===i?o:o=t(i=r,n)}}function
|
|
13095
|
+
return r===s?null:r===i?o:o=t(i=r,n)}}function oH(e,t,n){var i,o,s=n+""
|
|
13073
13096
|
return function(){var r=this.getAttributeNS(e.space,e.local)
|
|
13074
|
-
return r===s?null:r===i?o:o=t(i=r,n)}}function
|
|
13097
|
+
return r===s?null:r===i?o:o=t(i=r,n)}}function sH(e,t,n){var i,o,s
|
|
13075
13098
|
return function(){var r,a,l=n(this)
|
|
13076
13099
|
if(null!=l)return(r=this.getAttribute(e))===(a=l+"")?null:r===i&&a===o?s:(o=a,s=t(i=r,l))
|
|
13077
|
-
this.removeAttribute(e)}}function
|
|
13100
|
+
this.removeAttribute(e)}}function rH(e,t,n){var i,o,s
|
|
13078
13101
|
return function(){var r,a,l=n(this)
|
|
13079
13102
|
if(null!=l)return(r=this.getAttributeNS(e.space,e.local))===(a=l+"")?null:r===i&&a===o?s:(o=a,s=t(i=r,l))
|
|
13080
|
-
this.removeAttributeNS(e.space,e.local)}}function
|
|
13103
|
+
this.removeAttributeNS(e.space,e.local)}}function aH(e,t){var n,i
|
|
13081
13104
|
function o(){var o=t.apply(this,arguments)
|
|
13082
|
-
return o!==i&&(n=(i=o)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,o)),n}return o._value=t,o}function
|
|
13105
|
+
return o!==i&&(n=(i=o)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,o)),n}return o._value=t,o}function lH(e,t){var n,i
|
|
13083
13106
|
function o(){var o=t.apply(this,arguments)
|
|
13084
|
-
return o!==i&&(n=(i=o)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,o)),n}return o._value=t,o}function
|
|
13085
|
-
function
|
|
13086
|
-
function
|
|
13087
|
-
|
|
13107
|
+
return o!==i&&(n=(i=o)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,o)),n}return o._value=t,o}function cH(e,t){return function(){GV(this,e).delay=+t.apply(this,arguments)}}function dH(e,t){return t=+t,function(){GV(this,e).delay=t}}function hH(e,t){return function(){ZV(this,e).duration=+t.apply(this,arguments)}}function uH(e,t){return t=+t,function(){ZV(this,e).duration=t}}var pH=dz.prototype.constructor
|
|
13108
|
+
function fH(e){return function(){this.style.removeProperty(e)}}var mH=0
|
|
13109
|
+
function gH(e,t,n,i){this._groups=e,this._parents=t,this._name=n,this._id=i}function vH(){return++mH}var bH=dz.prototype
|
|
13110
|
+
gH.prototype={constructor:gH,select:function(e){var t=this._name,n=this._id
|
|
13088
13111
|
"function"!=typeof e&&(e=rL(e))
|
|
13089
|
-
for(var i=this._groups,o=i.length,s=new Array(o),r=0;r<o;++r)for(var a,l,c=i[r],d=c.length,h=s[r]=new Array(d),u=0;u<d;++u)(a=c[u])&&(l=e.call(a,a.__data__,u,c))&&("__data__"in a&&(l.__data__=a.__data__),h[u]=l,
|
|
13090
|
-
return new
|
|
13112
|
+
for(var i=this._groups,o=i.length,s=new Array(o),r=0;r<o;++r)for(var a,l,c=i[r],d=c.length,h=s[r]=new Array(d),u=0;u<d;++u)(a=c[u])&&(l=e.call(a,a.__data__,u,c))&&("__data__"in a&&(l.__data__=a.__data__),h[u]=l,WV(h[u],t,n,u,h,KV(a,n)))
|
|
13113
|
+
return new gH(s,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id
|
|
13091
13114
|
"function"!=typeof e&&(e=lL(e))
|
|
13092
|
-
for(var i=this._groups,o=i.length,s=[],r=[],a=0;a<o;++a)for(var l,c=i[a],d=c.length,h=0;h<d;++h)if(l=c[h]){for(var u,p=e.call(l,l.__data__,h,c),f=
|
|
13093
|
-
s.push(p),r.push(l)}return new
|
|
13115
|
+
for(var i=this._groups,o=i.length,s=[],r=[],a=0;a<o;++a)for(var l,c=i[a],d=c.length,h=0;h<d;++h)if(l=c[h]){for(var u,p=e.call(l,l.__data__,h,c),f=KV(l,n),m=0,g=p.length;m<g;++m)(u=p[m])&&WV(u,t,n,m,p,f)
|
|
13116
|
+
s.push(p),r.push(l)}return new gH(s,r,t,n)},selectChild:bH.selectChild,selectChildren:bH.selectChildren,filter:function(e){"function"!=typeof e&&(e=dL(e))
|
|
13094
13117
|
for(var t=this._groups,n=t.length,i=new Array(n),o=0;o<n;++o)for(var s,r=t[o],a=r.length,l=i[o]=[],c=0;c<a;++c)(s=r[c])&&e.call(s,s.__data__,c,r)&&l.push(s)
|
|
13095
|
-
return new
|
|
13118
|
+
return new gH(i,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error
|
|
13096
13119
|
for(var t=this._groups,n=e._groups,i=t.length,o=n.length,s=Math.min(i,o),r=new Array(i),a=0;a<s;++a)for(var l,c=t[a],d=n[a],h=c.length,u=r[a]=new Array(h),p=0;p<h;++p)(l=c[p]||d[p])&&(u[p]=l)
|
|
13097
13120
|
for(;a<i;++a)r[a]=t[a]
|
|
13098
|
-
return new
|
|
13099
|
-
|
|
13100
|
-
return arguments.length<2?
|
|
13101
|
-
return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?
|
|
13121
|
+
return new gH(r,this._parents,this._name,this._id)},selection:function(){return new pH(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=vH(),i=this._groups,o=i.length,s=0;s<o;++s)for(var r,a=i[s],l=a.length,c=0;c<l;++c)if(r=a[c]){var d=KV(r,t)
|
|
13122
|
+
WV(r,e,n,c,a,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new gH(i,this._parents,e,n)},call:bH.call,nodes:bH.nodes,node:bH.node,size:bH.size,empty:bH.empty,each:bH.each,on:function(e,t){var n=this._id
|
|
13123
|
+
return arguments.length<2?KV(this.node(),n).on.on(e):this.each(function(e,t,n){var i,o,s=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".")
|
|
13124
|
+
return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?GV:ZV
|
|
13102
13125
|
return function(){var r=s(this,e),a=r.on
|
|
13103
|
-
a!==i&&(o=(i=a).copy()).on(t,n),r.on=o}}(n,e,t))},attr:function(e,t){var n=tL(e),i="transform"===n?
|
|
13104
|
-
return this.attrTween(e,"function"==typeof t?(n.local?
|
|
13126
|
+
a!==i&&(o=(i=a).copy()).on(t,n),r.on=o}}(n,e,t))},attr:function(e,t){var n=tL(e),i="transform"===n?mV:eH
|
|
13127
|
+
return this.attrTween(e,"function"==typeof t?(n.local?rH:sH)(n,i,QV(this,"attr."+e,t)):null==t?(n.local?nH:tH)(n):(n.local?oH:iH)(n,i,t))},attrTween:function(e,t){var n="attr."+e
|
|
13105
13128
|
if(arguments.length<2)return(n=this.tween(n))&&n._value
|
|
13106
13129
|
if(null==t)return this.tween(n,null)
|
|
13107
13130
|
if("function"!=typeof t)throw new Error
|
|
13108
13131
|
var i=tL(e)
|
|
13109
|
-
return this.tween(n,(i.local?
|
|
13132
|
+
return this.tween(n,(i.local?aH:lH)(i,t))},style:function(e,t,n){var i="transform"==(e+="")?fV:eH
|
|
13110
13133
|
return null==t?this.styleTween(e,function(e,t){var n,i,o
|
|
13111
13134
|
return function(){var s=OL(this,e),r=(this.style.removeProperty(e),OL(this,e))
|
|
13112
|
-
return s===r?null:s===n&&r===i?o:o=t(n=s,i=r)}}(e,i)).on("end.style."+e,
|
|
13135
|
+
return s===r?null:s===n&&r===i?o:o=t(n=s,i=r)}}(e,i)).on("end.style."+e,fH(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var i,o,s
|
|
13113
13136
|
return function(){var r=OL(this,e),a=n(this),l=a+""
|
|
13114
|
-
return null==a&&(this.style.removeProperty(e),l=a=OL(this,e)),r===l?null:r===i&&l===o?s:(o=l,s=t(i=r,a))}}(e,i,
|
|
13115
|
-
return function(){var l=
|
|
13137
|
+
return null==a&&(this.style.removeProperty(e),l=a=OL(this,e)),r===l?null:r===i&&l===o?s:(o=l,s=t(i=r,a))}}(e,i,QV(this,"style."+e,t))).each(function(e,t){var n,i,o,s,r="style."+t,a="end."+r
|
|
13138
|
+
return function(){var l=ZV(this,e),c=l.on,d=null==l.value[r]?s||(s=fH(t)):void 0
|
|
13116
13139
|
c===n&&o===d||(i=(n=c).copy()).on(a,o=d),l.on=i}}(this._id,e)):this.styleTween(e,function(e,t,n){var i,o,s=n+""
|
|
13117
13140
|
return function(){var r=OL(this,e)
|
|
13118
13141
|
return r===s?null:r===i?o:o=t(i=r,n)}}(e,i,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var i="style."+(e+="")
|
|
@@ -13122,7 +13145,7 @@ if("function"!=typeof t)throw new Error
|
|
|
13122
13145
|
return this.tween(i,function(e,t,n){var i,o
|
|
13123
13146
|
function s(){var s=t.apply(this,arguments)
|
|
13124
13147
|
return s!==o&&(i=(o=s)&&function(e,t,n){return function(i){this.style.setProperty(e,t.call(this,i),n)}}(e,s,n)),i}return s._value=t,s}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this)
|
|
13125
|
-
this.textContent=null==t?"":t}}(
|
|
13148
|
+
this.textContent=null==t?"":t}}(QV(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text"
|
|
13126
13149
|
if(arguments.length<1)return(t=this.tween(t))&&t._value
|
|
13127
13150
|
if(null==e)return this.tween(t,null)
|
|
13128
13151
|
if("function"!=typeof e)throw new Error
|
|
@@ -13131,59 +13154,59 @@ function i(){var i=e.apply(this,arguments)
|
|
|
13131
13154
|
return i!==n&&(t=(n=i)&&function(e){return function(t){this.textContent=e.call(this,t)}}(i)),t}return i._value=e,i}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode
|
|
13132
13155
|
for(var n in this.__transition)if(+n!==e)return
|
|
13133
13156
|
t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id
|
|
13134
|
-
if(e+="",arguments.length<2){for(var i,o=
|
|
13135
|
-
return null}return this.each((null==t?
|
|
13136
|
-
return arguments.length?this.each(("function"==typeof e?
|
|
13137
|
-
return arguments.length?this.each(("function"==typeof e?
|
|
13157
|
+
if(e+="",arguments.length<2){for(var i,o=KV(this.node(),n).tween,s=0,r=o.length;s<r;++s)if((i=o[s]).name===e)return i.value
|
|
13158
|
+
return null}return this.each((null==t?YV:JV)(n,e,t))},delay:function(e){var t=this._id
|
|
13159
|
+
return arguments.length?this.each(("function"==typeof e?cH:dH)(t,e)):KV(this.node(),t).delay},duration:function(e){var t=this._id
|
|
13160
|
+
return arguments.length?this.each(("function"==typeof e?hH:uH)(t,e)):KV(this.node(),t).duration},ease:function(e){var t=this._id
|
|
13138
13161
|
return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error
|
|
13139
|
-
return function(){
|
|
13162
|
+
return function(){ZV(this,e).ease=t}}(t,e)):KV(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error
|
|
13140
13163
|
return this.each(function(e,t){return function(){var n=t.apply(this,arguments)
|
|
13141
13164
|
if("function"!=typeof n)throw new Error
|
|
13142
|
-
|
|
13165
|
+
ZV(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,i=n._id,o=n.size()
|
|
13143
13166
|
return new Promise((function(s,r){var a={value:r},l={value:function(){0==--o&&s()}}
|
|
13144
|
-
n.each((function(){var n=
|
|
13145
|
-
o!==e&&((t=(e=o).copy())._.cancel.push(a),t._.interrupt.push(a),t._.end.push(l)),n.on=t})),0===o&&s()}))},[Symbol.iterator]:
|
|
13146
|
-
var
|
|
13147
|
-
function
|
|
13148
|
-
return n}dz.prototype.interrupt=function(e){return this.each((function(){
|
|
13149
|
-
e instanceof
|
|
13150
|
-
for(var i=this._groups,o=i.length,s=0;s<o;++s)for(var r,a=i[s],l=a.length,c=0;c<l;++c)(r=a[c])&&
|
|
13151
|
-
return new
|
|
13152
|
-
var
|
|
13153
|
-
function
|
|
13154
|
-
var
|
|
13155
|
-
function $
|
|
13156
|
-
return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function
|
|
13157
|
-
return e.translate(o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o),r>s?(s+r)/2:Math.min(0,s)||Math.max(0,r))}function
|
|
13158
|
-
function v(e){e.property("__zoom",
|
|
13159
|
-
return i===e.x&&o===e.y?e:new
|
|
13167
|
+
n.each((function(){var n=ZV(this,i),o=n.on
|
|
13168
|
+
o!==e&&((t=(e=o).copy())._.cancel.push(a),t._.interrupt.push(a),t._.end.push(l)),n.on=t})),0===o&&s()}))},[Symbol.iterator]:bH[Symbol.iterator]}
|
|
13169
|
+
var yH={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}}
|
|
13170
|
+
function wH(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`)
|
|
13171
|
+
return n}dz.prototype.interrupt=function(e){return this.each((function(){XV(this,e)}))},dz.prototype.transition=function(e){var t,n
|
|
13172
|
+
e instanceof gH?(t=e._id,e=e._name):(t=vH(),(n=yH).time=_V(),e=null==e?null:e+"")
|
|
13173
|
+
for(var i=this._groups,o=i.length,s=0;s<o;++s)for(var r,a=i[s],l=a.length,c=0;c<l;++c)(r=a[c])&&WV(r,e,t,c,a,n||wH(r,t))
|
|
13174
|
+
return new gH(i,this._parents,e,t)}
|
|
13175
|
+
var xH=e=>()=>e
|
|
13176
|
+
function CH(e,{sourceEvent:t,target:n,transform:i,dispatch:o}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function kH(e,t,n){this.k=e,this.x=t,this.y=n}kH.prototype={constructor:kH,scale:function(e){return 1===e?this:new kH(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new kH(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}}
|
|
13177
|
+
var SH=new kH(1,0,0)
|
|
13178
|
+
function $H(e){e.stopImmediatePropagation()}function MH(e){e.preventDefault(),e.stopImmediatePropagation()}function EH(e){return!(e.ctrlKey&&"wheel"!==e.type||e.button)}function IH(){var e=this
|
|
13179
|
+
return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function _H(){return this.__zoom||SH}function TH(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function AH(){return navigator.maxTouchPoints||"ontouchstart"in this}function DH(e,t,n){var i=e.invertX(t[0][0])-n[0][0],o=e.invertX(t[1][0])-n[1][0],s=e.invertY(t[0][1])-n[0][1],r=e.invertY(t[1][1])-n[1][1]
|
|
13180
|
+
return e.translate(o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o),r>s?(s+r)/2:Math.min(0,s)||Math.max(0,r))}function OH(){var e,t,n,i=EH,o=IH,s=DH,r=TH,a=AH,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],d=250,h=yV,u=KP("start","zoom","end"),p=500,f=150,m=0,g=10
|
|
13181
|
+
function v(e){e.property("__zoom",_H).on("wheel.zoom",S,{passive:!1}).on("mousedown.zoom",$).on("dblclick.zoom",M).filter(a).on("touchstart.zoom",E).on("touchmove.zoom",I).on("touchend.zoom touchcancel.zoom",_).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function b(e,t){return(t=Math.max(l[0],Math.min(l[1],t)))===e.k?e:new kH(t,e.x,e.y)}function y(e,t,n){var i=t[0]-n[0]*e.k,o=t[1]-n[1]*e.k
|
|
13182
|
+
return i===e.x&&o===e.y?e:new kH(e.k,i,o)}function w(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function x(e,t,n,i){e.on("start.zoom",(function(){C(this,arguments).event(i).start()})).on("interrupt.zoom end.zoom",(function(){C(this,arguments).event(i).end()})).tween("zoom",(function(){var e=this,s=arguments,r=C(e,s).event(i),a=o.apply(e,s),l=null==n?w(a):"function"==typeof n?n.apply(e,s):n,c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),d=e.__zoom,u="function"==typeof t?t.apply(e,s):t,p=h(d.invert(l).concat(c/d.k),u.invert(l).concat(c/u.k))
|
|
13160
13183
|
return function(e){if(1===e)e=u
|
|
13161
13184
|
else{var t=p(e),n=c/t[2]
|
|
13162
|
-
e=new
|
|
13185
|
+
e=new kH(n,l[0]-t[0]*n,l[1]-t[1]*n)}r.zoom(null,e)}}))}function C(e,t,n){return!n&&e.__zooming||new k(e,t)}function k(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=o.apply(e,t),this.taps=0}function S(e,...t){if(i.apply(this,arguments)){var n=C(this,t).event(e),o=this.__zoom,a=Math.max(l[0],Math.min(l[1],o.k*Math.pow(2,r.apply(this,arguments)))),d=uz(e)
|
|
13163
13186
|
if(n.wheel)n.mouse[0][0]===d[0]&&n.mouse[0][1]===d[1]||(n.mouse[1]=o.invert(n.mouse[0]=d)),clearTimeout(n.wheel)
|
|
13164
13187
|
else{if(o.k===a)return
|
|
13165
|
-
n.mouse=[d,o.invert(d)],
|
|
13188
|
+
n.mouse=[d,o.invert(d)],XV(this),n.start()}MH(e),n.wheel=setTimeout((function(){n.wheel=null,n.end()}),f),n.zoom("mouse",s(y(b(o,a),n.mouse[0],n.mouse[1]),n.extent,c))}}function $(e,...t){if(!n&&i.apply(this,arguments)){var o=e.currentTarget,r=C(this,t,!0).event(e),a=hz(e.view).on("mousemove.zoom",(function(e){if(MH(e),!r.moved){var t=e.clientX-d,n=e.clientY-h
|
|
13166
13189
|
r.moved=t*t+n*n>m}r.event(e).zoom("mouse",s(y(r.that.__zoom,r.mouse[0]=uz(e,o),r.mouse[1]),r.extent,c))}),!0).on("mouseup.zoom",(function(e){a.on("mousemove.zoom mouseup.zoom",null),function(e,t){var n=e.document.documentElement,i=hz(e).on("dragstart.drag",null)
|
|
13167
|
-
t&&(i.on("click.drag",fz,pz),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(e.view,r.moved),
|
|
13190
|
+
t&&(i.on("click.drag",fz,pz),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(e.view,r.moved),MH(e),r.event(e).end()}),!0),l=uz(e,o),d=e.clientX,h=e.clientY
|
|
13168
13191
|
!function(e){var t=e.document.documentElement,n=hz(e).on("dragstart.drag",fz,pz)
|
|
13169
|
-
"onselectstart"in t?n.on("selectstart.drag",fz,pz):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(e.view),$
|
|
13170
|
-
|
|
13171
|
-
for($
|
|
13172
|
-
e&&(e=clearTimeout(e)),s&&(h.taps<2&&(t=l[0],e=setTimeout((function(){e=null}),p)),
|
|
13173
|
-
for(
|
|
13192
|
+
"onselectstart"in t?n.on("selectstart.drag",fz,pz):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(e.view),$H(e),r.mouse=[l,this.__zoom.invert(l)],XV(this),r.start()}}function M(e,...t){if(i.apply(this,arguments)){var n=this.__zoom,r=uz(e.changedTouches?e.changedTouches[0]:e,this),a=n.invert(r),l=n.k*(e.shiftKey?.5:2),h=s(y(b(n,l),r,a),o.apply(this,t),c)
|
|
13193
|
+
MH(e),d>0?hz(this).transition().duration(d).call(x,h,r,e):hz(this).call(v.transform,h,r,e)}}function E(n,...o){if(i.apply(this,arguments)){var s,r,a,l,c=n.touches,d=c.length,h=C(this,o,n.changedTouches.length===d).event(n)
|
|
13194
|
+
for($H(n),r=0;r<d;++r)l=[l=uz(a=c[r],this),this.__zoom.invert(l),a.identifier],h.touch0?h.touch1||h.touch0[2]===l[2]||(h.touch1=l,h.taps=0):(h.touch0=l,s=!0,h.taps=1+!!e)
|
|
13195
|
+
e&&(e=clearTimeout(e)),s&&(h.taps<2&&(t=l[0],e=setTimeout((function(){e=null}),p)),XV(this),h.start())}}function I(e,...t){if(this.__zooming){var n,i,o,r,a=C(this,t).event(e),l=e.changedTouches,d=l.length
|
|
13196
|
+
for(MH(e),n=0;n<d;++n)o=uz(i=l[n],this),a.touch0&&a.touch0[2]===i.identifier?a.touch0[0]=o:a.touch1&&a.touch1[2]===i.identifier&&(a.touch1[0]=o)
|
|
13174
13197
|
if(i=a.that.__zoom,a.touch1){var h=a.touch0[0],u=a.touch0[1],p=a.touch1[0],f=a.touch1[1],m=(m=p[0]-h[0])*m+(m=p[1]-h[1])*m,g=(g=f[0]-u[0])*g+(g=f[1]-u[1])*g
|
|
13175
13198
|
i=b(i,Math.sqrt(m/g)),o=[(h[0]+p[0])/2,(h[1]+p[1])/2],r=[(u[0]+f[0])/2,(u[1]+f[1])/2]}else{if(!a.touch0)return
|
|
13176
13199
|
o=a.touch0[0],r=a.touch0[1]}a.zoom("touch",s(y(i,o,r),a.extent,c))}}function _(e,...i){if(this.__zooming){var o,s,r=C(this,i).event(e),a=e.changedTouches,l=a.length
|
|
13177
|
-
for($
|
|
13200
|
+
for($H(e),n&&clearTimeout(n),n=setTimeout((function(){n=null}),p),o=0;o<l;++o)s=a[o],r.touch0&&r.touch0[2]===s.identifier?delete r.touch0:r.touch1&&r.touch1[2]===s.identifier&&delete r.touch1
|
|
13178
13201
|
if(r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0)r.touch0[1]=this.__zoom.invert(r.touch0[0])
|
|
13179
13202
|
else if(r.end(),2===r.taps&&(s=uz(s,this),Math.hypot(t[0]-s[0],t[1]-s[1])<g)){var c=hz(this).on("dblclick.zoom")
|
|
13180
13203
|
c&&c.apply(this,arguments)}}}return v.transform=function(e,t,n,i){var o=e.selection?e.selection():e
|
|
13181
|
-
o.property("__zoom",
|
|
13204
|
+
o.property("__zoom",_H),e!==o?x(e,t,n,i):o.interrupt().each((function(){C(this,arguments).event(i).start().zoom(null,"function"==typeof t?t.apply(this,arguments):t).end()}))},v.scaleBy=function(e,t,n,i){v.scaleTo(e,(function(){return this.__zoom.k*("function"==typeof t?t.apply(this,arguments):t)}),n,i)},v.scaleTo=function(e,t,n,i){v.transform(e,(function(){var e=o.apply(this,arguments),i=this.__zoom,r=null==n?w(e):"function"==typeof n?n.apply(this,arguments):n,a=i.invert(r),l="function"==typeof t?t.apply(this,arguments):t
|
|
13182
13205
|
return s(y(b(i,l),r,a),e,c)}),n,i)},v.translateBy=function(e,t,n,i){v.transform(e,(function(){return s(this.__zoom.translate("function"==typeof t?t.apply(this,arguments):t,"function"==typeof n?n.apply(this,arguments):n),o.apply(this,arguments),c)}),null,i)},v.translateTo=function(e,t,n,i,r){v.transform(e,(function(){var e=o.apply(this,arguments),r=this.__zoom,a=null==i?w(e):"function"==typeof i?i.apply(this,arguments):i
|
|
13183
|
-
return s(
|
|
13184
|
-
u.call(e,this.that,new
|
|
13185
|
-
return e===u?v:e},v.clickDistance=function(e){return arguments.length?(m=(e=+e)*e,v):Math.sqrt(m)},v.tapDistance=function(e){return arguments.length?(g=+e,v):g},v}
|
|
13186
|
-
const
|
|
13206
|
+
return s(SH.translate(a[0],a[1]).scale(r.k).translate("function"==typeof t?-t.apply(this,arguments):-t,"function"==typeof n?-n.apply(this,arguments):-n),e,c)}),i,r)},k.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(e,t){return this.mouse&&"mouse"!==e&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(e){var t=hz(this.that).datum()
|
|
13207
|
+
u.call(e,this.that,new CH(e,{sourceEvent:this.sourceEvent,target:v,type:e,transform:this.that.__zoom,dispatch:u}),t)}},v.wheelDelta=function(e){return arguments.length?(r="function"==typeof e?e:xH(+e),v):r},v.filter=function(e){return arguments.length?(i="function"==typeof e?e:xH(!!e),v):i},v.touchable=function(e){return arguments.length?(a="function"==typeof e?e:xH(!!e),v):a},v.extent=function(e){return arguments.length?(o="function"==typeof e?e:xH([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),v):o},v.scaleExtent=function(e){return arguments.length?(l[0]=+e[0],l[1]=+e[1],v):[l[0],l[1]]},v.translateExtent=function(e){return arguments.length?(c[0][0]=+e[0][0],c[1][0]=+e[1][0],c[0][1]=+e[0][1],c[1][1]=+e[1][1],v):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},v.constrain=function(e){return arguments.length?(s=e,v):s},v.duration=function(e){return arguments.length?(d=+e,v):d},v.interpolate=function(e){return arguments.length?(h=e,v):h},v.on=function(){var e=u.on.apply(u,arguments)
|
|
13208
|
+
return e===u?v:e},v.clickDistance=function(e){return arguments.length?(m=(e=+e)*e,v):Math.sqrt(m)},v.tapDistance=function(e){return arguments.length?(g=+e,v):g},v}kH.prototype
|
|
13209
|
+
const RH=G`
|
|
13187
13210
|
<div class="wafer-map-container">
|
|
13188
13211
|
<svg class="svg-root">
|
|
13189
13212
|
<g ${Pe("zoomContainer")} transform=${e=>e.transform.toString()}>
|
|
@@ -13214,7 +13237,7 @@ const RV=G`
|
|
|
13214
13237
|
/>
|
|
13215
13238
|
</svg>
|
|
13216
13239
|
</div>
|
|
13217
|
-
`,
|
|
13240
|
+
`,FH=xe`
|
|
13218
13241
|
${Fo("inline-block")}
|
|
13219
13242
|
|
|
13220
13243
|
:host {
|
|
@@ -13304,49 +13327,49 @@ const RV=G`
|
|
|
13304
13327
|
outline-width: 0px;
|
|
13305
13328
|
}
|
|
13306
13329
|
`
|
|
13307
|
-
function
|
|
13330
|
+
function NH(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function PH(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function LH(e){let t,n,i
|
|
13308
13331
|
function o(e,i,o=0,s=e.length){if(o<s){if(0!==t(i,i))return s
|
|
13309
13332
|
do{const t=o+s>>>1
|
|
13310
|
-
n(e[t],i)<0?o=t+1:s=t}while(o<s)}return o}return 2!==e.length?(t=
|
|
13333
|
+
n(e[t],i)<0?o=t+1:s=t}while(o<s)}return o}return 2!==e.length?(t=NH,n=(t,n)=>NH(e(t),n),i=(t,n)=>e(t)-n):(t=e===NH||e===PH?e:zH,n=e,i=e),{left:o,center:function(e,t,n=0,s=e.length){const r=o(e,t,n,s-1)
|
|
13311
13334
|
return r>n&&i(e[r-1],t)>-i(e[r],t)?r-1:r},right:function(e,i,o=0,s=e.length){if(o<s){if(0!==t(i,i))return s
|
|
13312
13335
|
do{const t=o+s>>>1
|
|
13313
|
-
n(e[t],i)<=0?o=t+1:s=t}while(o<s)}return o}}}function
|
|
13314
|
-
|
|
13315
|
-
class
|
|
13336
|
+
n(e[t],i)<=0?o=t+1:s=t}while(o<s)}return o}}}function zH(){return 0}function VH(e){return null===e?NaN:+e}const HH=LH(NH).right
|
|
13337
|
+
LH(VH).center
|
|
13338
|
+
class BH extends Map{constructor(e,t=UH){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(qH(this,e))}has(e){return super.has(qH(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const i=t(n)
|
|
13316
13339
|
return e.has(i)?e.get(i):(e.set(i,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const i=t(n)
|
|
13317
13340
|
e.has(i)&&(n=e.get(i),e.delete(i))
|
|
13318
|
-
return n}(this,e))}}function
|
|
13319
|
-
return e.has(i)?e.get(i):n}function
|
|
13320
|
-
function
|
|
13341
|
+
return n}(this,e))}}function qH({_intern:e,_key:t},n){const i=t(n)
|
|
13342
|
+
return e.has(i)?e.get(i):n}function UH(e){return null!==e&&"object"==typeof e?e.valueOf():e}const jH=Math.sqrt(50),WH=Math.sqrt(10),GH=Math.sqrt(2)
|
|
13343
|
+
function ZH(e,t,n){const i=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(i)),s=i/Math.pow(10,o),r=s>=jH?10:s>=WH?5:s>=GH?2:1
|
|
13321
13344
|
let a,l,c
|
|
13322
|
-
return o<0?(c=Math.pow(10,-o)/r,a=Math.round(e*c),l=Math.round(t*c),a/c<e&&++a,l/c>t&&--l,c=-c):(c=Math.pow(10,o)*r,a=Math.round(e/c),l=Math.round(t/c),a*c<e&&++a,l*c>t&&--l),l<a&&.5<=n&&n<2?
|
|
13345
|
+
return o<0?(c=Math.pow(10,-o)/r,a=Math.round(e*c),l=Math.round(t*c),a/c<e&&++a,l/c>t&&--l,c=-c):(c=Math.pow(10,o)*r,a=Math.round(e/c),l=Math.round(t/c),a*c<e&&++a,l*c>t&&--l),l<a&&.5<=n&&n<2?ZH(e,t,2*n):[a,l,c]}function KH(e,t,n){return ZH(e=+e,t=+t,n=+n)[2]}function XH(e,t,n=VH){if((i=e.length)&&!isNaN(t=+t)){if(t<=0||i<2)return+n(e[0],0,e)
|
|
13323
13346
|
if(t>=1)return+n(e[i-1],i-1,e)
|
|
13324
13347
|
var i,o=(i-1)*t,s=Math.floor(o),r=+n(e[s],s,e)
|
|
13325
|
-
return r+(+n(e[s+1],s+1,e)-r)*(o-s)}}function
|
|
13348
|
+
return r+(+n(e[s+1],s+1,e)-r)*(o-s)}}function YH(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n
|
|
13326
13349
|
for(var i=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),s=new Array(o);++i<o;)s[i]=e+i*n
|
|
13327
|
-
return s}function
|
|
13350
|
+
return s}function JH(e,t){switch(arguments.length){case 0:break
|
|
13328
13351
|
case 1:this.range(e)
|
|
13329
13352
|
break
|
|
13330
|
-
default:this.range(t).domain(e)}return this}const
|
|
13331
|
-
function eB(){var e=new
|
|
13353
|
+
default:this.range(t).domain(e)}return this}const QH=Symbol("implicit")
|
|
13354
|
+
function eB(){var e=new BH,t=[],n=[],i=QH
|
|
13332
13355
|
function o(o){let s=e.get(o)
|
|
13333
|
-
if(void 0===s){if(i!==
|
|
13356
|
+
if(void 0===s){if(i!==QH)return i
|
|
13334
13357
|
e.set(o,s=t.push(o)-1)}return n[s%n.length]}return o.domain=function(n){if(!arguments.length)return t.slice()
|
|
13335
|
-
t=[],e=new
|
|
13358
|
+
t=[],e=new BH
|
|
13336
13359
|
for(const i of n)e.has(i)||e.set(i,t.push(i)-1)
|
|
13337
|
-
return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(i=e,o):i},o.copy=function(){return eB(t,n).unknown(i)},
|
|
13360
|
+
return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(i=e,o):i},o.copy=function(){return eB(t,n).unknown(i)},JH.apply(o,arguments),o}function tB(){var e,t,n=eB().unknown(void 0),i=n.domain,o=n.range,s=0,r=1,a=!1,l=0,c=0,d=.5
|
|
13338
13361
|
function h(){var n=i().length,h=r<s,u=h?r:s,p=h?s:r
|
|
13339
13362
|
e=(p-u)/Math.max(1,n-l+2*c),a&&(e=Math.floor(e)),u+=(p-u-e*(n-l))*d,t=e*(1-l),a&&(u=Math.round(u),t=Math.round(t))
|
|
13340
|
-
var f=
|
|
13341
|
-
return o(h?f.reverse():f)}return delete n.unknown,n.domain=function(e){return arguments.length?(i(e),h()):i()},n.range=function(e){return arguments.length?([s,r]=e,s=+s,r=+r,h()):[s,r]},n.rangeRound=function(e){return[s,r]=e,s=+s,r=+r,a=!0,h()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,h()):a},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),h()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),h()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,h()):c},n.align=function(e){return arguments.length?(d=Math.max(0,Math.min(1,e)),h()):d},n.copy=function(){return tB(i(),[s,r]).round(a).paddingInner(l).paddingOuter(c).align(d)},
|
|
13363
|
+
var f=YH(n).map((function(t){return u+e*t}))
|
|
13364
|
+
return o(h?f.reverse():f)}return delete n.unknown,n.domain=function(e){return arguments.length?(i(e),h()):i()},n.range=function(e){return arguments.length?([s,r]=e,s=+s,r=+r,h()):[s,r]},n.rangeRound=function(e){return[s,r]=e,s=+s,r=+r,a=!0,h()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,h()):a},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),h()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),h()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,h()):c},n.align=function(e){return arguments.length?(d=Math.max(0,Math.min(1,e)),h()):d},n.copy=function(){return tB(i(),[s,r]).round(a).paddingInner(l).paddingOuter(c).align(d)},JH.apply(h(),arguments)}function nB(e){return+e}var iB=[0,1]
|
|
13342
13365
|
function oB(e){return e}function sB(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n})
|
|
13343
13366
|
var n}function rB(e,t,n){var i=e[0],o=e[1],s=t[0],r=t[1]
|
|
13344
13367
|
return o<i?(i=sB(o,i),s=n(r,s)):(i=sB(i,o),s=n(s,r)),function(e){return s(i(e))}}function aB(e,t,n){var i=Math.min(e.length,t.length)-1,o=new Array(i),s=new Array(i),r=-1
|
|
13345
13368
|
for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++r<i;)o[r]=sB(e[r],e[r+1]),s[r]=n(t[r],t[r+1])
|
|
13346
|
-
return function(t){var n=
|
|
13347
|
-
return s[n](o[n](t))}}function lB(){var e,t,n,i,o,s,r=iB,a=iB,l=
|
|
13369
|
+
return function(t){var n=HH(e,t,1,i)-1
|
|
13370
|
+
return s[n](o[n](t))}}function lB(){var e,t,n,i,o,s,r=iB,a=iB,l=aV,c=oB
|
|
13348
13371
|
function d(){var e,t,n,l=Math.min(r.length,a.length)
|
|
13349
|
-
return c!==oB&&(e=r[0],t=r[l-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),i=l>2?aB:rB,o=s=null,h}function h(t){return null==t||isNaN(t=+t)?n:(o||(o=i(r.map(e),a,l)))(e(c(t)))}return h.invert=function(n){return c(t((s||(s=i(a,r.map(e),
|
|
13372
|
+
return c!==oB&&(e=r[0],t=r[l-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),i=l>2?aB:rB,o=s=null,h}function h(t){return null==t||isNaN(t=+t)?n:(o||(o=i(r.map(e),a,l)))(e(c(t)))}return h.invert=function(n){return c(t((s||(s=i(a,r.map(e),nV)))(n)))},h.domain=function(e){return arguments.length?(r=Array.from(e,nB),d()):r.slice()},h.range=function(e){return arguments.length?(a=Array.from(e),d()):a.slice()},h.rangeRound=function(e){return a=Array.from(e),l=lV,d()},h.clamp=function(e){return arguments.length?(c=!!e||oB,d()):c!==oB},h.interpolate=function(e){return arguments.length?(l=e,d()):l},h.unknown=function(e){return arguments.length?(n=e,h):n},function(n,i){return e=n,t=i,d()}}function cB(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null
|
|
13350
13373
|
var n,i=e.slice(0,n)
|
|
13351
13374
|
return[i.length>1?i[0]+i.slice(2):i,+e.slice(n+1)]}function dB(e){return(e=cB(Math.abs(e)))?e[1]:NaN}var hB,uB=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i
|
|
13352
13375
|
function pB(e){if(!(t=uB.exec(e)))throw new Error("invalid format: "+e)
|
|
@@ -13384,7 +13407,7 @@ case"^":e=M.slice(0,$=M.length>>1)+u+e+k+M.slice($)
|
|
|
13384
13407
|
break
|
|
13385
13408
|
default:e=M+u+e+k}return a(e)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return e+""},k}return{format:h,formatPrefix:function(e,t){var n=h(((e=pB(e)).type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor(dB(t)/3))),o=Math.pow(10,-i),s=CB[8+i/3]
|
|
13386
13409
|
return function(e){return n(o*e)+s}}}}function SB(e,t,n,i){var o,s=function(e,t,n){n=+n
|
|
13387
|
-
const i=(t=+t)<(e=+e),o=i?
|
|
13410
|
+
const i=(t=+t)<(e=+e),o=i?KH(t,e,n):KH(e,t,n)
|
|
13388
13411
|
return(i?-1:1)*(o<0?1/-o:o)}(e,t,n)
|
|
13389
13412
|
switch((i=pB(null==i?",f":i)).type){case"s":var r=Math.max(Math.abs(e),Math.abs(t))
|
|
13390
13413
|
return null!=i.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(dB(t)/3)))-dB(Math.abs(e)))}(s,r))||(i.precision=o),wB(i,r)
|
|
@@ -13394,7 +13417,7 @@ case"f":case"%":null!=i.precision||isNaN(o=function(e){return Math.max(0,-dB(Mat
|
|
|
13394
13417
|
return e.ticks=function(e){var n=t()
|
|
13395
13418
|
return function(e,t,n){if(!((n=+n)>0))return[]
|
|
13396
13419
|
if((e=+e)==(t=+t))return[e]
|
|
13397
|
-
const i=t<e,[o,s,r]=i?
|
|
13420
|
+
const i=t<e,[o,s,r]=i?ZH(t,e,n):ZH(e,t,n)
|
|
13398
13421
|
if(!(s>=o))return[]
|
|
13399
13422
|
const a=s-o+1,l=new Array(a)
|
|
13400
13423
|
if(i)if(r<0)for(let e=0;e<a;++e)l[e]=(s-e)/-r
|
|
@@ -13404,19 +13427,19 @@ else for(let e=0;e<a;++e)l[e]=(o+e)*r
|
|
|
13404
13427
|
return l}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var i=t()
|
|
13405
13428
|
return SB(i[0],i[i.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10)
|
|
13406
13429
|
var i,o,s=t(),r=0,a=s.length-1,l=s[r],c=s[a],d=10
|
|
13407
|
-
for(c<l&&(o=l,l=c,c=o,o=r,r=a,a=o);d-- >0;){if((o=
|
|
13430
|
+
for(c<l&&(o=l,l=c,c=o,o=r,r=a,a=o);d-- >0;){if((o=KH(l,c,n))===i)return s[r]=l,s[a]=c,t(s)
|
|
13408
13431
|
if(o>0)l=Math.floor(l/o)*o,c=Math.ceil(c/o)*o
|
|
13409
13432
|
else{if(!(o<0))break
|
|
13410
13433
|
l=Math.ceil(l*o)/o,c=Math.floor(c*o)/o}i=o}return e},e}function MB(){var e=lB()(oB,oB)
|
|
13411
13434
|
return e.copy=function(){return t=e,MB().domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())
|
|
13412
|
-
var t},
|
|
13435
|
+
var t},JH.apply(e,arguments),$B(e)}function EB(){var e,t=[],n=[],i=[]
|
|
13413
13436
|
function o(){var e=0,o=Math.max(1,n.length)
|
|
13414
|
-
for(i=new Array(o-1);++e<o;)i[e-1]=
|
|
13415
|
-
return s}function s(t){return null==t||isNaN(t=+t)?e:n[
|
|
13437
|
+
for(i=new Array(o-1);++e<o;)i[e-1]=XH(t,e/o)
|
|
13438
|
+
return s}function s(t){return null==t||isNaN(t=+t)?e:n[HH(i,t)]}return s.invertExtent=function(e){var o=n.indexOf(e)
|
|
13416
13439
|
return o<0?[NaN,NaN]:[o>0?i[o-1]:t[0],o<i.length?i[o]:t[t.length-1]]},s.domain=function(e){if(!arguments.length)return t.slice()
|
|
13417
13440
|
t=[]
|
|
13418
13441
|
for(let n of e)null==n||isNaN(n=+n)||t.push(n)
|
|
13419
|
-
return t.sort(
|
|
13442
|
+
return t.sort(NH),o()},s.range=function(e){return arguments.length?(n=Array.from(e),o()):n.slice()},s.unknown=function(t){return arguments.length?(e=t,s):e},s.quantiles=function(){return i.slice()},s.copy=function(){return EB().domain(t).range(n).unknown(e)},JH.apply(s,arguments)}bB=kB({thousands:",",grouping:[3],currency:["$",""]}),yB=bB.format,wB=bB.formatPrefix
|
|
13420
13443
|
const IB="bottom-left",_B="bottom-right",TB="top-left",AB="top",DB="show",OB="hide",RB="linear",FB="ordinal"
|
|
13421
13444
|
class NB{get labelsFontSize(){return this._labelsFontSize}get diesRenderInfo(){return this._diesRenderInfo}constructor(e){this.wafermap=e,this.fontSizeFactor=.8,this.nonHighlightedOpacity=.3,this.emptyDieColor="rgba(218,223,236,1)",this.nanDieColor="rgba(122,122,122,1)"}updateLabelsFontSize(){this._labelsFontSize=this.calculateLabelsFontSize(this.wafermap.dataManager.dieDimensions,this.wafermap.maxCharacters),this.updateDiesRenderInfo()}updateDiesRenderInfo(){this.d3ColorScale=this.createD3ColorScale(this.wafermap.colorScale,this.wafermap.colorScaleMode)
|
|
13422
13445
|
const e=e=>null!==e
|
|
@@ -13428,7 +13451,7 @@ const n=new Set(t)
|
|
|
13428
13451
|
return e?.some((e=>n.has(e)))?1:this.nonHighlightedOpacity}isColorScaleLinear(e){return e===RB}isColorScaleOrdinal(e){return e===FB}calculateFillStyle(e,t,n,i){let o=this.emptyDieColor
|
|
13429
13452
|
if(this.dieHasData(e)&&(isNaN(+e)?o=this.nanDieColor:this.isColorScaleLinear(t)?o=this.d3ColorScale(+e):this.isColorScaleOrdinal(t)&&(o=this.d3ColorScale(e))),void 0===o)return this.emptyDieColor
|
|
13430
13453
|
let s=Ko(o)
|
|
13431
|
-
return null===s?this.emptyDieColor:(s=new
|
|
13454
|
+
return null===s?this.emptyDieColor:(s=new Ho(s.r,s.g,s.b,this.calculateOpacity(i,n)),s.toStringWebRGBA())}}class PB{get containerDimensions(){return this.computations.containerDimensions}get dieDimensions(){return this.computations.dieDimensions}get radius(){return this.computations.radius}get margin(){return this.computations.margin}get horizontalScale(){return this.computations.horizontalScale}get invertedHorizontalScale(){return this.computations.invertedHorizontalScale}get verticalScale(){return this.computations.verticalScale}get invertedVerticalScale(){return this.computations.invertedVerticalScale}get labelsFontSize(){return this.prerendering.labelsFontSize}get diesRenderInfo(){return this.prerendering.diesRenderInfo}get data(){return this.dataMap}constructor(e){this.wafermap=e,this.computations=new class{get containerDimensions(){return this._containerDimensions}get dieDimensions(){return this._dieDimensions}get radius(){return this._radius}get margin(){return this._margin}get horizontalScale(){return this._horizontalScale}get verticalScale(){return this._verticalScale}get invertedHorizontalScale(){return this._invertedHorizontalScale}get invertedVerticalScale(){return this._invertedVerticalScale}constructor(e){this.wafermap=e,this.defaultPadding=0,this.baseMarginPercentage=.04}updateContainerDimensions(){const e={width:this.wafermap.canvasWidth,height:this.wafermap.canvasHeight},t=Math.min(e.width,e.height),n={top:(e.height-t)/2,right:(e.width-t)/2,bottom:(e.height-t)/2,left:(e.width-t)/2},i={top:t*this.baseMarginPercentage,right:t*this.baseMarginPercentage,bottom:t*this.baseMarginPercentage,left:t*this.baseMarginPercentage}
|
|
13432
13455
|
this._margin=this.calculateMarginAddition(i,n),this._containerDimensions=this.calculateContainerDimensions(e,this._margin)
|
|
13433
13456
|
const o=Math.min(this._containerDimensions.width,this._containerDimensions.height)
|
|
13434
13457
|
this._radius=o/2,this.updateScales()}updateScales(){const e=Math.min(this._containerDimensions.width,this._containerDimensions.height),t=this.gridDimensionsValidAndDefined()?this.calculateGridDimensionsFromBoundingBox():this.calculateGridDimensionsFromDies(this.wafermap.dies),n=this.wafermap.originLocation
|
|
@@ -13438,11 +13461,11 @@ this._dieDimensions={width:isNaN(i)?0:i,height:isNaN(o)?0:o}}gridDimensionsValid
|
|
|
13438
13461
|
return"number"==typeof this.wafermap.gridMaxY&&"number"==typeof this.wafermap.gridMinY&&"number"==typeof this.wafermap.gridMaxX&&"number"==typeof this.wafermap.gridMinX&&(e.origin.x=this.wafermap.gridMinX,e.origin.y=this.wafermap.gridMinY,e.rows=this.wafermap.gridMaxY-this.wafermap.gridMinY+1,e.cols=this.wafermap.gridMaxX-this.wafermap.gridMinX+1),e}calculateGridDimensionsFromDies(e){if(0===e.length||void 0===e[0])return{origin:{x:0,y:0},rows:0,cols:0}
|
|
13439
13462
|
const t={x:e[0].x,y:e[0].y},n={x:e[0].x,y:e[0].y}
|
|
13440
13463
|
for(const i of e)i.x<t.x&&(t.x=i.x),i.y<t.y&&(t.y=i.y),i.x>n.x&&(n.x=i.x),i.y>n.y&&(n.y=i.y)
|
|
13441
|
-
return{origin:t,rows:n.y-t.y+1,cols:n.x-t.x+1}}calculateContainerDimensions(e,t){return{width:e.width-t.left-t.right,height:e.height-t.top-t.bottom}}createHorizontalScale(e,t,n){const i=tB().domain(
|
|
13464
|
+
return{origin:t,rows:n.y-t.y+1,cols:n.x-t.x+1}}calculateContainerDimensions(e,t){return{width:e.width-t.left-t.right,height:e.height-t.top-t.bottom}}createHorizontalScale(e,t,n){const i=tB().domain(YH(t.origin.x,t.origin.x+t.cols)).paddingInner(0).paddingOuter(0).align(0).round(!1)
|
|
13442
13465
|
return e===IB||e===TB?i.range([0,n]):i.range([n,0])}createInvertedHorizontalScale(e,t,n){const i=EB().domain([0,n])
|
|
13443
|
-
return e===IB||e===TB?i.range(
|
|
13466
|
+
return e===IB||e===TB?i.range(YH(t.origin.x,t.origin.x+t.cols)):i.range(YH(t.origin.x,t.origin.x+t.cols).reverse())}createVerticalScale(e,t,n){const i=tB().domain(YH(t.origin.y,t.origin.y+t.rows)).paddingInner(this.defaultPadding).paddingOuter(0).align(0).round(!1)
|
|
13444
13467
|
return e===IB||e===_B?i.range([n,0]):i.range([0,n])}createInvertedVerticalScale(e,t,n){const i=EB().domain([0,n])
|
|
13445
|
-
return e===IB||e===_B?i.range(
|
|
13468
|
+
return e===IB||e===_B?i.range(YH(t.origin.y,t.origin.y+t.rows).reverse()):i.range(YH(t.origin.y,t.origin.y+t.rows))}calculateMarginAddition(e,t){return{top:e.top+t.top,right:e.right+t.right,bottom:e.bottom+t.bottom,left:e.left+t.left}}}(e),this.prerendering=new NB(e)}updateContainerDimensions(){this.computations.updateContainerDimensions(),this.updateDataMap(),this.updateLabelsFontSize()}updateScales(){this.computations.updateScales(),this.updateDataMap(),this.updateLabelsFontSize()}updateLabelsFontSize(){this.prerendering.updateLabelsFontSize()}updateDiesRenderInfo(){this.prerendering.updateDiesRenderInfo()}getWaferMapDie(e){return this.dataMap.get(`${e.x}_${e.y}`)}updateDataMap(){this.dataMap=new Map(this.wafermap.dies.map((e=>[`${e.x}_${e.y}`,e])))}}class LB{constructor(e){this.wafermap=e,this.minDieDim=50}updateSortedDiesAndDrawWafer(){this.dies=this.wafermap.dataManager.diesRenderInfo.sort(((e,t)=>e.fillStyle>t.fillStyle?1:t.fillStyle>e.fillStyle?-1:0)),this.drawWafer()}drawWafer(){this.wafermap.canvasContext.save(),this.clearCanvas(),this.scaleCanvas(),this.renderDies(),this.renderText(),this.wafermap.canvasContext.restore(),this.renderHover()}renderHover(){void 0!==this.wafermap.dataManager.dieDimensions&&void 0!==this.wafermap.transform&&(this.wafermap.hoverWidth=this.wafermap.dataManager.dieDimensions.width*this.wafermap.transform.k,this.wafermap.hoverHeight=this.wafermap.dataManager.dieDimensions.height*this.wafermap.transform.k,this.wafermap.hoverOpacity=void 0===this.wafermap.hoverDie?OB:DB,this.wafermap.hoverTransform=this.calculateHoverTransform())}calculateHoverTransform(){if(void 0!==this.wafermap.hoverDie){const e=this.wafermap.dataManager.horizontalScale(this.wafermap.hoverDie.x)
|
|
13446
13469
|
if(void 0===e)return""
|
|
13447
13470
|
const t=this.wafermap.dataManager.verticalScale(this.wafermap.hoverDie.y)
|
|
13448
13471
|
if(void 0===t)return""
|
|
@@ -13456,9 +13479,9 @@ i.font=`${n.toString()}px sans-serif`,i.fillStyle="#ffffff",i.textAlign="center"
|
|
|
13456
13479
|
const o=i.measureText("M"),s=this.wafermap.transform.invert([0,0]),r=this.wafermap.transform.invert([this.wafermap.canvas.width,this.wafermap.canvas.height])
|
|
13457
13480
|
s[0]-=e,s[1]-=t
|
|
13458
13481
|
for(const n of this.dies)this.isDieVisible(n,s,r)&&i.fillText(n.text,n.x+e/2,n.y+t/2+o.width/2,e-e/100*20)}}clearCanvas(){this.wafermap.canvasContext.clearRect(0,0,this.wafermap.canvas.width,this.wafermap.canvas.height)}scaleCanvas(){this.wafermap.canvasContext.translate(this.wafermap.transform.x,this.wafermap.transform.y),this.wafermap.canvasContext.scale(this.wafermap.transform.k,this.wafermap.transform.k)}isDieVisible(e,t,n){return e.x>=t[0]&&e.x<n[0]&&e.y>=t[1]&&e.y<n[1]}}const zB=["highlightedTags","canvasWidth","canvasHeight","originLocation","gridMinX","gridMaxX","gridMinY","gridMaxY","dies","maxCharacters","colorScale","colorScaleMode","dieLabelsHidden","dieLabelsSuffix","transform","hoverDie"]
|
|
13459
|
-
class
|
|
13460
|
-
!function(e){e[e.Sparse=0]="Sparse",e[e.Dense=1]="Dense"}(
|
|
13461
|
-
class XB{static isNull(e){return(null==e?void 0:e.typeId)===WB.Null}static isInt(e){return(null==e?void 0:e.typeId)===WB.Int}static isFloat(e){return(null==e?void 0:e.typeId)===WB.Float}static isBinary(e){return(null==e?void 0:e.typeId)===WB.Binary}static isLargeBinary(e){return(null==e?void 0:e.typeId)===WB.LargeBinary}static isUtf8(e){return(null==e?void 0:e.typeId)===WB.Utf8}static isLargeUtf8(e){return(null==e?void 0:e.typeId)===WB.LargeUtf8}static isBool(e){return(null==e?void 0:e.typeId)===WB.Bool}static isDecimal(e){return(null==e?void 0:e.typeId)===WB.Decimal}static isDate(e){return(null==e?void 0:e.typeId)===WB.Date}static isTime(e){return(null==e?void 0:e.typeId)===WB.Time}static isTimestamp(e){return(null==e?void 0:e.typeId)===WB.Timestamp}static isInterval(e){return(null==e?void 0:e.typeId)===WB.Interval}static isDuration(e){return(null==e?void 0:e.typeId)===WB.Duration}static isList(e){return(null==e?void 0:e.typeId)===WB.List}static isStruct(e){return(null==e?void 0:e.typeId)===WB.Struct}static isUnion(e){return(null==e?void 0:e.typeId)===WB.Union}static isFixedSizeBinary(e){return(null==e?void 0:e.typeId)===WB.FixedSizeBinary}static isFixedSizeList(e){return(null==e?void 0:e.typeId)===WB.FixedSizeList}static isMap(e){return(null==e?void 0:e.typeId)===WB.Map}static isDictionary(e){return(null==e?void 0:e.typeId)===WB.Dictionary}static isDenseUnion(e){return XB.isUnion(e)&&e.mode===
|
|
13482
|
+
class VB extends m_{constructor(e){super(zB),this.wafermap=e,this.updateQueued=!1}get requiresEventsUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")||this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")||this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")||this.isTracked("transform")}get requiresWorkerWaferSetup(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")||this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")||this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresContainerDimensionsUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")}get requiresComponentResizeUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")}get requiresScalesUpdate(){return this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")}get requiresInputDataUpdate(){return this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")}get requiresLabelsFontSizeUpdate(){return this.isTracked("maxCharacters")}get requiresDiesRenderInfoUpdate(){return this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresColorAndTextUpdate(){return this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresDrawnWaferUpdate(){return this.isTracked("transform")}get requiresRenderHoverUpdate(){return this.isTracked("hoverDie")}queueUpdate(){this.wafermap.$fastController.isConnected&&!this.updateQueued&&(this.updateQueued=!0,void 0===this.wafermap.currentTask?u.queueUpdate((()=>{this.wafermap.update(),this.untrackAll(),this.updateQueued=!1})):(async()=>{await this.wafermap.currentTask,u.queueUpdate((()=>{this.wafermap.update(),this.untrackAll(),this.updateQueued=!1,this.wafermap.currentTask=void 0}))})())}}var HB,BB,qB,UB,jB,WB,GB,ZB,KB
|
|
13483
|
+
!function(e){e[e.Sparse=0]="Sparse",e[e.Dense=1]="Dense"}(HB||(HB={})),function(e){e[e.HALF=0]="HALF",e[e.SINGLE=1]="SINGLE",e[e.DOUBLE=2]="DOUBLE"}(BB||(BB={})),function(e){e[e.DAY=0]="DAY",e[e.MILLISECOND=1]="MILLISECOND"}(qB||(qB={})),function(e){e[e.SECOND=0]="SECOND",e[e.MILLISECOND=1]="MILLISECOND",e[e.MICROSECOND=2]="MICROSECOND",e[e.NANOSECOND=3]="NANOSECOND"}(UB||(UB={})),function(e){e[e.YEAR_MONTH=0]="YEAR_MONTH",e[e.DAY_TIME=1]="DAY_TIME",e[e.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"}(jB||(jB={})),function(e){e[e.NONE=0]="NONE",e[e.Null=1]="Null",e[e.Int=2]="Int",e[e.Float=3]="Float",e[e.Binary=4]="Binary",e[e.Utf8=5]="Utf8",e[e.Bool=6]="Bool",e[e.Decimal=7]="Decimal",e[e.Date=8]="Date",e[e.Time=9]="Time",e[e.Timestamp=10]="Timestamp",e[e.Interval=11]="Interval",e[e.List=12]="List",e[e.Struct=13]="Struct",e[e.Union=14]="Union",e[e.FixedSizeBinary=15]="FixedSizeBinary",e[e.FixedSizeList=16]="FixedSizeList",e[e.Map=17]="Map",e[e.Duration=18]="Duration",e[e.LargeBinary=19]="LargeBinary",e[e.LargeUtf8=20]="LargeUtf8",e[e.Dictionary=-1]="Dictionary",e[e.Int8=-2]="Int8",e[e.Int16=-3]="Int16",e[e.Int32=-4]="Int32",e[e.Int64=-5]="Int64",e[e.Uint8=-6]="Uint8",e[e.Uint16=-7]="Uint16",e[e.Uint32=-8]="Uint32",e[e.Uint64=-9]="Uint64",e[e.Float16=-10]="Float16",e[e.Float32=-11]="Float32",e[e.Float64=-12]="Float64",e[e.DateDay=-13]="DateDay",e[e.DateMillisecond=-14]="DateMillisecond",e[e.TimestampSecond=-15]="TimestampSecond",e[e.TimestampMillisecond=-16]="TimestampMillisecond",e[e.TimestampMicrosecond=-17]="TimestampMicrosecond",e[e.TimestampNanosecond=-18]="TimestampNanosecond",e[e.TimeSecond=-19]="TimeSecond",e[e.TimeMillisecond=-20]="TimeMillisecond",e[e.TimeMicrosecond=-21]="TimeMicrosecond",e[e.TimeNanosecond=-22]="TimeNanosecond",e[e.DenseUnion=-23]="DenseUnion",e[e.SparseUnion=-24]="SparseUnion",e[e.IntervalDayTime=-25]="IntervalDayTime",e[e.IntervalYearMonth=-26]="IntervalYearMonth",e[e.DurationSecond=-27]="DurationSecond",e[e.DurationMillisecond=-28]="DurationMillisecond",e[e.DurationMicrosecond=-29]="DurationMicrosecond",e[e.DurationNanosecond=-30]="DurationNanosecond"}(WB||(WB={})),function(e){e[e.OFFSET=0]="OFFSET",e[e.DATA=1]="DATA",e[e.VALIDITY=2]="VALIDITY",e[e.TYPE=3]="TYPE"}(GB||(GB={}))
|
|
13484
|
+
class XB{static isNull(e){return(null==e?void 0:e.typeId)===WB.Null}static isInt(e){return(null==e?void 0:e.typeId)===WB.Int}static isFloat(e){return(null==e?void 0:e.typeId)===WB.Float}static isBinary(e){return(null==e?void 0:e.typeId)===WB.Binary}static isLargeBinary(e){return(null==e?void 0:e.typeId)===WB.LargeBinary}static isUtf8(e){return(null==e?void 0:e.typeId)===WB.Utf8}static isLargeUtf8(e){return(null==e?void 0:e.typeId)===WB.LargeUtf8}static isBool(e){return(null==e?void 0:e.typeId)===WB.Bool}static isDecimal(e){return(null==e?void 0:e.typeId)===WB.Decimal}static isDate(e){return(null==e?void 0:e.typeId)===WB.Date}static isTime(e){return(null==e?void 0:e.typeId)===WB.Time}static isTimestamp(e){return(null==e?void 0:e.typeId)===WB.Timestamp}static isInterval(e){return(null==e?void 0:e.typeId)===WB.Interval}static isDuration(e){return(null==e?void 0:e.typeId)===WB.Duration}static isList(e){return(null==e?void 0:e.typeId)===WB.List}static isStruct(e){return(null==e?void 0:e.typeId)===WB.Struct}static isUnion(e){return(null==e?void 0:e.typeId)===WB.Union}static isFixedSizeBinary(e){return(null==e?void 0:e.typeId)===WB.FixedSizeBinary}static isFixedSizeList(e){return(null==e?void 0:e.typeId)===WB.FixedSizeList}static isMap(e){return(null==e?void 0:e.typeId)===WB.Map}static isDictionary(e){return(null==e?void 0:e.typeId)===WB.Dictionary}static isDenseUnion(e){return XB.isUnion(e)&&e.mode===HB.Dense}static isSparseUnion(e){return XB.isUnion(e)&&e.mode===HB.Sparse}constructor(e){this.typeId=e}}ZB=Symbol.toStringTag,XB[ZB]=((KB=XB.prototype).children=null,KB.ArrayType=Array,KB.OffsetArrayType=Int32Array,KB[Symbol.toStringTag]="DataType")
|
|
13462
13485
|
class YB extends XB{constructor(){super(WB.Null)}toString(){return"Null"}}YB[Symbol.toStringTag]=(e=>e[Symbol.toStringTag]="Null")(YB.prototype)
|
|
13463
13486
|
class JB extends XB{constructor(e,t){super(WB.Int),this.isSigned=e,this.bitWidth=t}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array
|
|
13464
13487
|
case 16:return this.isSigned?Int16Array:Uint16Array
|
|
@@ -13507,12 +13530,12 @@ throw e.value}}]])
|
|
|
13507
13530
|
function Iq(e,t=globalThis,n=["*"]){t.addEventListener("message",(function i(o){if(!o||!o.data)return
|
|
13508
13531
|
if(!function(e,t){for(const n of e){if(t===n||"*"===n)return!0
|
|
13509
13532
|
if(n instanceof RegExp&&n.test(t))return!0}return!1}(n,o.origin))return void console.warn(`Invalid origin '${o.origin}' for comlink proxy`)
|
|
13510
|
-
const{id:s,type:r,path:a}=Object.assign({path:[]},o.data),l=(o.data.argumentList||[]).map(
|
|
13533
|
+
const{id:s,type:r,path:a}=Object.assign({path:[]},o.data),l=(o.data.argumentList||[]).map(Vq)
|
|
13511
13534
|
let c
|
|
13512
13535
|
try{const t=a.slice(0,-1).reduce(((e,t)=>e[t]),e),n=a.reduce(((e,t)=>e[t]),e)
|
|
13513
13536
|
switch(r){case"GET":c=n
|
|
13514
13537
|
break
|
|
13515
|
-
case"SET":t[a.slice(-1)[0]]=
|
|
13538
|
+
case"SET":t[a.slice(-1)[0]]=Vq(o.data.value),c=!0
|
|
13516
13539
|
break
|
|
13517
13540
|
case"APPLY":c=n.apply(t,l)
|
|
13518
13541
|
break
|
|
@@ -13524,29 +13547,29 @@ case"RELEASE":c=void 0
|
|
|
13524
13547
|
break
|
|
13525
13548
|
default:return}}catch(e){c={value:e,[$q]:0}}Promise.resolve(c).catch((e=>({value:e,[$q]:0}))).then((n=>{const[o,a]=zq(n)
|
|
13526
13549
|
t.postMessage(Object.assign(Object.assign({},o),{id:s}),a),"RELEASE"===r&&(t.removeEventListener("message",i),_q(t),Sq in e&&"function"==typeof e[Sq]&&e[Sq]())})).catch((e=>{const[n,i]=zq({value:new TypeError("Unserializable return value"),[$q]:0})
|
|
13527
|
-
t.postMessage(Object.assign(Object.assign({},n),{id:s}),i)}))})),t.start&&t.start()}function _q(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function Tq(e,t){return Fq(e,[],t)}function Aq(e){if(e)throw new Error("Proxy has been released and is not useable")}function Dq(e){return
|
|
13550
|
+
t.postMessage(Object.assign(Object.assign({},n),{id:s}),i)}))})),t.start&&t.start()}function _q(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function Tq(e,t){return Fq(e,[],t)}function Aq(e){if(e)throw new Error("Proxy has been released and is not useable")}function Dq(e){return Hq(e,{type:"RELEASE"}).then((()=>{_q(e)}))}const Oq=new WeakMap,Rq="FinalizationRegistry"in globalThis&&new FinalizationRegistry((e=>{const t=(Oq.get(e)||0)-1
|
|
13528
13551
|
Oq.set(e,t),0===t&&Dq(e)}))
|
|
13529
13552
|
function Fq(e,t=[],n=function(){}){let i=!1
|
|
13530
13553
|
const o=new Proxy(n,{get(n,s){if(Aq(i),s===kq)return()=>{!function(e){Rq&&Rq.unregister(e)}(o),Dq(e),i=!0}
|
|
13531
13554
|
if("then"===s){if(0===t.length)return{then:()=>o}
|
|
13532
|
-
const n=
|
|
13555
|
+
const n=Hq(e,{type:"GET",path:t.map((e=>e.toString()))}).then(Vq)
|
|
13533
13556
|
return n.then.bind(n)}return Fq(e,[...t,s])},set(n,o,s){Aq(i)
|
|
13534
13557
|
const[r,a]=zq(s)
|
|
13535
|
-
return
|
|
13558
|
+
return Hq(e,{type:"SET",path:[...t,o].map((e=>e.toString())),value:r},a).then(Vq)},apply(n,o,s){Aq(i)
|
|
13536
13559
|
const r=t[t.length-1]
|
|
13537
|
-
if(r===Cq)return
|
|
13560
|
+
if(r===Cq)return Hq(e,{type:"ENDPOINT"}).then(Vq)
|
|
13538
13561
|
if("bind"===r)return Fq(e,t.slice(0,-1))
|
|
13539
13562
|
const[a,l]=Nq(s)
|
|
13540
|
-
return
|
|
13563
|
+
return Hq(e,{type:"APPLY",path:t.map((e=>e.toString())),argumentList:a},l).then(Vq)},construct(n,o){Aq(i)
|
|
13541
13564
|
const[s,r]=Nq(o)
|
|
13542
|
-
return
|
|
13565
|
+
return Hq(e,{type:"CONSTRUCT",path:t.map((e=>e.toString())),argumentList:s},r).then(Vq)}})
|
|
13543
13566
|
return function(e,t){const n=(Oq.get(t)||0)+1
|
|
13544
13567
|
Oq.set(t,n),Rq&&Rq.register(e,t,e)}(o,e),o}function Nq(e){const t=e.map(zq)
|
|
13545
13568
|
return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))]
|
|
13546
13569
|
var n}const Pq=new WeakMap
|
|
13547
13570
|
function Lq(e,t){return Pq.set(e,t),e}function zq(e){for(const[t,n]of Eq)if(n.canHandle(e)){const[i,o]=n.serialize(e)
|
|
13548
|
-
return[{type:"HANDLER",name:t,value:i},o]}return[{type:"RAW",value:e},Pq.get(e)||[]]}function
|
|
13549
|
-
case"RAW":return e.value}}function
|
|
13571
|
+
return[{type:"HANDLER",name:t,value:i},o]}return[{type:"RAW",value:e},Pq.get(e)||[]]}function Vq(e){switch(e.type){case"HANDLER":return Eq.get(e.name).deserialize(e.value)
|
|
13572
|
+
case"RAW":return e.value}}function Hq(e,t,n){return new Promise((i=>{const o=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-")
|
|
13550
13573
|
e.addEventListener("message",(function t(n){n.data&&n.data.id&&n.data.id===o&&(e.removeEventListener("message",t),i(n.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:o},t),n)}))}let Bq
|
|
13551
13574
|
class qq{constructor(e){this.wafermap=e,this.minDieDim=100}async setupWafer(e){if(void 0===this.matrixRenderer){const{matrixRenderer:e}=await(async()=>{if(void 0===Bq){const e=new Blob(['var MatrixRenderer = (function (exports) {\n \'use strict\';\n\n /**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n const proxyMarker = Symbol("Comlink.proxy");\n const createEndpoint = Symbol("Comlink.endpoint");\n const releaseProxy = Symbol("Comlink.releaseProxy");\n const finalizer = Symbol("Comlink.finalizer");\n const throwMarker = Symbol("Comlink.thrown");\n const isObject = (val) => (typeof val === "object" && val !== null) || typeof val === "function";\n /**\n * Internal transfer handle to handle objects marked to proxy.\n */\n const proxyTransferHandler = {\n canHandle: (val) => isObject(val) && val[proxyMarker],\n serialize(obj) {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port1);\n return [port2, [port2]];\n },\n deserialize(port) {\n port.start();\n return wrap(port);\n },\n };\n /**\n * Internal transfer handler to handle thrown exceptions.\n */\n const throwTransferHandler = {\n canHandle: (value) => isObject(value) && throwMarker in value,\n serialize({ value }) {\n let serialized;\n if (value instanceof Error) {\n serialized = {\n isError: true,\n value: {\n message: value.message,\n name: value.name,\n stack: value.stack,\n },\n };\n }\n else {\n serialized = { isError: false, value };\n }\n return [serialized, []];\n },\n deserialize(serialized) {\n if (serialized.isError) {\n throw Object.assign(new Error(serialized.value.message), serialized.value);\n }\n throw serialized.value;\n },\n };\n /**\n * Allows customizing the serialization of certain values.\n */\n const transferHandlers = new Map([\n ["proxy", proxyTransferHandler],\n ["throw", throwTransferHandler],\n ]);\n function isAllowedOrigin(allowedOrigins, origin) {\n for (const allowedOrigin of allowedOrigins) {\n if (origin === allowedOrigin || allowedOrigin === "*") {\n return true;\n }\n if (allowedOrigin instanceof RegExp && allowedOrigin.test(origin)) {\n return true;\n }\n }\n return false;\n }\n function expose(obj, ep = globalThis, allowedOrigins = ["*"]) {\n ep.addEventListener("message", function callback(ev) {\n if (!ev || !ev.data) {\n return;\n }\n if (!isAllowedOrigin(allowedOrigins, ev.origin)) {\n console.warn(`Invalid origin \'${ev.origin}\' for comlink proxy`);\n return;\n }\n const { id, type, path } = Object.assign({ path: [] }, ev.data);\n const argumentList = (ev.data.argumentList || []).map(fromWireValue);\n let returnValue;\n try {\n const parent = path.slice(0, -1).reduce((obj, prop) => obj[prop], obj);\n const rawValue = path.reduce((obj, prop) => obj[prop], obj);\n switch (type) {\n case "GET" /* MessageType.GET */:\n {\n returnValue = rawValue;\n }\n break;\n case "SET" /* MessageType.SET */:\n {\n parent[path.slice(-1)[0]] = fromWireValue(ev.data.value);\n returnValue = true;\n }\n break;\n case "APPLY" /* MessageType.APPLY */:\n {\n returnValue = rawValue.apply(parent, argumentList);\n }\n break;\n case "CONSTRUCT" /* MessageType.CONSTRUCT */:\n {\n const value = new rawValue(...argumentList);\n returnValue = proxy(value);\n }\n break;\n case "ENDPOINT" /* MessageType.ENDPOINT */:\n {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port2);\n returnValue = transfer(port1, [port1]);\n }\n break;\n case "RELEASE" /* MessageType.RELEASE */:\n {\n returnValue = undefined;\n }\n break;\n default:\n return;\n }\n }\n catch (value) {\n returnValue = { value, [throwMarker]: 0 };\n }\n Promise.resolve(returnValue)\n .catch((value) => {\n return { value, [throwMarker]: 0 };\n })\n .then((returnValue) => {\n const [wireValue, transferables] = toWireValue(returnValue);\n ep.postMessage(Object.assign(Object.assign({}, wireValue), { id }), transferables);\n if (type === "RELEASE" /* MessageType.RELEASE */) {\n // detach and deactive after sending release response above.\n ep.removeEventListener("message", callback);\n closeEndPoint(ep);\n if (finalizer in obj && typeof obj[finalizer] === "function") {\n obj[finalizer]();\n }\n }\n })\n .catch((error) => {\n // Send Serialization Error To Caller\n const [wireValue, transferables] = toWireValue({\n value: new TypeError("Unserializable return value"),\n [throwMarker]: 0,\n });\n ep.postMessage(Object.assign(Object.assign({}, wireValue), { id }), transferables);\n });\n });\n if (ep.start) {\n ep.start();\n }\n }\n function isMessagePort(endpoint) {\n return endpoint.constructor.name === "MessagePort";\n }\n function closeEndPoint(endpoint) {\n if (isMessagePort(endpoint))\n endpoint.close();\n }\n function wrap(ep, target) {\n return createProxy(ep, [], target);\n }\n function throwIfProxyReleased(isReleased) {\n if (isReleased) {\n throw new Error("Proxy has been released and is not useable");\n }\n }\n function releaseEndpoint(ep) {\n return requestResponseMessage(ep, {\n type: "RELEASE" /* MessageType.RELEASE */,\n }).then(() => {\n closeEndPoint(ep);\n });\n }\n const proxyCounter = new WeakMap();\n const proxyFinalizers = "FinalizationRegistry" in globalThis &&\n new FinalizationRegistry((ep) => {\n const newCount = (proxyCounter.get(ep) || 0) - 1;\n proxyCounter.set(ep, newCount);\n if (newCount === 0) {\n releaseEndpoint(ep);\n }\n });\n function registerProxy(proxy, ep) {\n const newCount = (proxyCounter.get(ep) || 0) + 1;\n proxyCounter.set(ep, newCount);\n if (proxyFinalizers) {\n proxyFinalizers.register(proxy, ep, proxy);\n }\n }\n function unregisterProxy(proxy) {\n if (proxyFinalizers) {\n proxyFinalizers.unregister(proxy);\n }\n }\n function createProxy(ep, path = [], target = function () { }) {\n let isProxyReleased = false;\n const proxy = new Proxy(target, {\n get(_target, prop) {\n throwIfProxyReleased(isProxyReleased);\n if (prop === releaseProxy) {\n return () => {\n unregisterProxy(proxy);\n releaseEndpoint(ep);\n isProxyReleased = true;\n };\n }\n if (prop === "then") {\n if (path.length === 0) {\n return { then: () => proxy };\n }\n const r = requestResponseMessage(ep, {\n type: "GET" /* MessageType.GET */,\n path: path.map((p) => p.toString()),\n }).then(fromWireValue);\n return r.then.bind(r);\n }\n return createProxy(ep, [...path, prop]);\n },\n set(_target, prop, rawValue) {\n throwIfProxyReleased(isProxyReleased);\n // FIXME: ES6 Proxy Handler `set` methods are supposed to return a\n // boolean. To show good will, we return true asynchronously ¯\\_(ツ)_/¯\n const [value, transferables] = toWireValue(rawValue);\n return requestResponseMessage(ep, {\n type: "SET" /* MessageType.SET */,\n path: [...path, prop].map((p) => p.toString()),\n value,\n }, transferables).then(fromWireValue);\n },\n apply(_target, _thisArg, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const last = path[path.length - 1];\n if (last === createEndpoint) {\n return requestResponseMessage(ep, {\n type: "ENDPOINT" /* MessageType.ENDPOINT */,\n }).then(fromWireValue);\n }\n // We just pretend that `bind()` didn’t happen.\n if (last === "bind") {\n return createProxy(ep, path.slice(0, -1));\n }\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(ep, {\n type: "APPLY" /* MessageType.APPLY */,\n path: path.map((p) => p.toString()),\n argumentList,\n }, transferables).then(fromWireValue);\n },\n construct(_target, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(ep, {\n type: "CONSTRUCT" /* MessageType.CONSTRUCT */,\n path: path.map((p) => p.toString()),\n argumentList,\n }, transferables).then(fromWireValue);\n },\n });\n registerProxy(proxy, ep);\n return proxy;\n }\n function myFlat(arr) {\n return Array.prototype.concat.apply([], arr);\n }\n function processArguments(argumentList) {\n const processed = argumentList.map(toWireValue);\n return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];\n }\n const transferCache = new WeakMap();\n function transfer(obj, transfers) {\n transferCache.set(obj, transfers);\n return obj;\n }\n function proxy(obj) {\n return Object.assign(obj, { [proxyMarker]: true });\n }\n function toWireValue(value) {\n for (const [name, handler] of transferHandlers) {\n if (handler.canHandle(value)) {\n const [serializedValue, transferables] = handler.serialize(value);\n return [\n {\n type: "HANDLER" /* WireValueType.HANDLER */,\n name,\n value: serializedValue,\n },\n transferables,\n ];\n }\n }\n return [\n {\n type: "RAW" /* WireValueType.RAW */,\n value,\n },\n transferCache.get(value) || [],\n ];\n }\n function fromWireValue(value) {\n switch (value.type) {\n case "HANDLER" /* WireValueType.HANDLER */:\n return transferHandlers.get(value.name).deserialize(value.value);\n case "RAW" /* WireValueType.RAW */:\n return value.value;\n }\n }\n function requestResponseMessage(ep, msg, transfers) {\n return new Promise((resolve) => {\n const id = generateUUID();\n ep.addEventListener("message", function l(ev) {\n if (!ev.data || !ev.data.id || ev.data.id !== id) {\n return;\n }\n ep.removeEventListener("message", l);\n resolve(ev.data);\n });\n if (ep.start) {\n ep.start();\n }\n ep.postMessage(Object.assign({ id }, msg), transfers);\n });\n }\n function generateUUID() {\n return new Array(4)\n .fill(0)\n .map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16))\n .join("-");\n }\n\n /**\n * MatrixRenderer class is meant to be used within a Web Worker context,\n * using Comlink to facilitate communication between the main thread and the worker.\n * The MatrixRenderer class manages a matrix of dies, once an instance of MatrixRenderer is created,\n * it is exposed to the main thread using Comlink\'s `expose` method.\n * This setup is used in the wafer-map component to perform heavy computational duties\n */\n class MatrixRenderer {\n constructor() {\n this.values = Float64Array.from([]);\n this.scaledColumnIndices = Float64Array.from([]);\n this.scaledRowIndices = Float64Array.from([]);\n this.columnIndicesPositions = Int32Array.from([]);\n this.colorIndices = Int32Array.from([]);\n this.colors = [];\n this.colorValues = Float64Array.from([]);\n this.outsideRangeDieColor = \'rgba(218,223,236,1)\';\n this.fontSizeFactor = 0.8;\n this.renderConfig = {\n dieDimensions: {\n width: 0,\n height: 0\n },\n margin: {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n verticalCoefficient: 1,\n horizontalCoefficient: 1,\n horizontalConstant: 0,\n verticalConstant: 0,\n gridMinX: 0,\n gridMaxX: 0,\n gridMinY: 0,\n gridMaxY: 0,\n labelsFontSize: 0,\n colorScale: [],\n dieLabelsSuffix: \'\',\n maxCharacters: 0\n };\n this.transformConfig = {\n transform: {\n k: 1,\n x: 0,\n y: 0\n },\n topLeftCanvasCorner: {\n x: 0,\n y: 0\n },\n bottomRightCanvasCorner: {\n x: 0,\n y: 0\n }\n };\n }\n setMatrixData(columnIndices, rowIndices, valuesBuffer) {\n const scaledColumnIndex = [];\n const columnPositions = [];\n const scaledRowIndices = [];\n const values = [];\n const colorIndices = [];\n let prevXIndex;\n let dieCount = 0;\n for (let i = 0; i < columnIndices.length; i++) {\n const xIndex = columnIndices[i];\n const yIndex = rowIndices[i];\n if (this.isDieInGrid(xIndex, yIndex)) {\n if (xIndex !== prevXIndex) {\n scaledColumnIndex.push(this.calculateHorizontalScaledIndices(xIndex));\n columnPositions.push(dieCount);\n prevXIndex = xIndex;\n }\n scaledRowIndices.push(this.calculateVerticalScaledIndices(yIndex));\n const value = valuesBuffer[i];\n values.push(value);\n colorIndices.push(this.findColorIndex(value));\n dieCount += 1;\n }\n }\n this.scaledColumnIndices = Float64Array.from(scaledColumnIndex);\n this.columnIndicesPositions = Int32Array.from(columnPositions);\n this.scaledRowIndices = Float64Array.from(scaledRowIndices);\n this.values = Float64Array.from(values);\n this.colorIndices = Int32Array.from(colorIndices);\n }\n setRenderConfig(renderConfig) {\n this.renderConfig = renderConfig;\n this.colors = renderConfig.colorScale.map(marker => marker.color);\n this.colorValues = Float64Array.from(renderConfig.colorScale.map(marker => marker.value));\n }\n setTransformConfig(transformData) {\n this.transformConfig = transformData;\n }\n setCanvas(canvas) {\n this.canvas = canvas;\n this.context = canvas.getContext(\'2d\');\n }\n scaleCanvas() {\n this.context.translate(this.transformConfig.transform.x, this.transformConfig.transform.y);\n this.context.scale(this.transformConfig.transform.k, this.transformConfig.transform.k);\n }\n setCanvasDimensions(data) {\n this.canvas.width = data.width;\n this.canvas.height = data.height;\n }\n getCanvasDimensions() {\n return {\n width: this.canvas.width,\n height: this.canvas.height\n };\n }\n clearCanvas() {\n this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);\n }\n drawWafer() {\n this.context.restore();\n this.context.save();\n this.clearCanvas();\n this.scaleCanvas();\n for (let i = 0; i < this.scaledColumnIndices.length; i++) {\n const scaledX = this.scaledColumnIndices[i];\n if (!(scaledX >= this.transformConfig.topLeftCanvasCorner.x\n && scaledX < this.transformConfig.bottomRightCanvasCorner.x)) {\n continue;\n }\n // columnIndexPositions is used to get chunks to determine the start and end index of the column, it looks something like [0, 1, 4, 9, 12]\n // This means that the first column has a start index of 0 and an end index of 1, the second column has a start index of 1 and an end index of 4, and so on\n // scaledRowIndices is used when we reach the end of the columnIndexPositions, when columnIndexPositions is [0, 1, 4, 9, 12], scaledRowIndices is 13\n const columnEndIndex = this.columnIndicesPositions[i + 1] !== undefined\n ? this.columnIndicesPositions[i + 1]\n : this.scaledRowIndices.length;\n for (let columnStartIndex = this.columnIndicesPositions[i]; columnStartIndex < columnEndIndex; columnStartIndex++) {\n const scaledY = this.scaledRowIndices[columnStartIndex];\n if (!(scaledY >= this.transformConfig.topLeftCanvasCorner.y\n && scaledY < this.transformConfig.bottomRightCanvasCorner.y)) {\n continue;\n }\n // Fill style is temporary green for all dies, will be replaced with a color based on the value of the die in a future implementation\n this.context.fillStyle = this.colors[this.colorIndices[columnStartIndex]]\n ?? this.outsideRangeDieColor;\n this.context.fillRect(scaledX, scaledY, this.renderConfig.dieDimensions.width, this.renderConfig.dieDimensions.height);\n }\n }\n }\n drawText() {\n this.context.font = `${this.renderConfig.labelsFontSize.toString()}px sans-serif`;\n this.context.fillStyle = \'#ffffff\';\n this.context.textAlign = \'center\';\n this.context.lineCap = \'butt\';\n const approximateTextHeight = this.context.measureText(\'M\');\n for (let i = 0; i < this.scaledColumnIndices.length; i++) {\n const scaledX = this.scaledColumnIndices[i];\n if (!(scaledX >= this.transformConfig.topLeftCanvasCorner.x\n && scaledX < this.transformConfig.bottomRightCanvasCorner.x)) {\n continue;\n }\n // columnIndexPositions is used to get chunks to determine the start and end index of the column, it looks something like [0, 1, 4, 9, 12]\n // This means that the first column has a start index of 0 and an end index of 1, the second column has a start index of 1 and an end index of 4, and so on\n // scaledRowIndices is used when we reach the end of the columnIndexPositions, when columnIndexPositions is [0, 1, 4, 9, 12], scaledRowIndices is 13\n const columnEndIndex = this.columnIndicesPositions[i + 1] !== undefined\n ? this.columnIndicesPositions[i + 1]\n : this.scaledRowIndices.length;\n for (let columnStartIndex = this.columnIndicesPositions[i]; columnStartIndex < columnEndIndex; columnStartIndex++) {\n const scaledY = this.scaledRowIndices[columnStartIndex];\n if (!(scaledY >= this.transformConfig.topLeftCanvasCorner.y\n && scaledY < this.transformConfig.bottomRightCanvasCorner.y)) {\n continue;\n }\n let label = `${this.values[columnStartIndex] || \'NaN\'}${this.renderConfig.dieLabelsSuffix}`;\n if (label.length >= this.renderConfig.maxCharacters) {\n label = `${label.substring(0, this.renderConfig.maxCharacters)}…`;\n }\n this.context.fillText(label, scaledX + this.renderConfig.dieDimensions.width / 2, scaledY\n + this.renderConfig.dieDimensions.height / 2\n + approximateTextHeight.width / 2, this.renderConfig.dieDimensions.width * this.fontSizeFactor);\n }\n }\n }\n isDieInGrid(x, y) {\n return (x >= this.renderConfig.gridMinX\n && x <= this.renderConfig.gridMaxX\n && y >= this.renderConfig.gridMinY\n && y <= this.renderConfig.gridMaxY);\n }\n calculateHorizontalScaledIndices(columnIndex) {\n return (this.renderConfig.horizontalCoefficient * columnIndex\n + this.renderConfig.horizontalConstant\n + this.renderConfig.margin.left);\n }\n calculateVerticalScaledIndices(rowIndex) {\n return (this.renderConfig.verticalCoefficient * rowIndex\n + this.renderConfig.verticalConstant\n + this.renderConfig.margin.top);\n }\n findColorIndex(value) {\n let index = -1;\n if (this.colorValues.length === 0 || this.colorValues[0] >= value) {\n return index;\n }\n for (let i = 0; i < this.colorValues.length; i++) {\n if (value <= this.colorValues[i]) {\n index = i;\n break;\n }\n }\n return index;\n }\n }\n expose(MatrixRenderer);\n\n exports.MatrixRenderer = MatrixRenderer;\n\n return exports;\n\n})({});\n'],{type:"text/javascript"})
|
|
13552
13575
|
Bq=URL.createObjectURL(e)}const e=new Worker(Bq),t=Tq(e)
|
|
@@ -13565,7 +13588,7 @@ if(void 0===n||!this.isDieInGrid(n.x,n.y))return void(this.wafermap.hoverDie=voi
|
|
|
13565
13588
|
const i=this.wafermap.diesTable.getChild("colIndex").toArray(),o=this.wafermap.diesTable.getChild("rowIndex").toArray()
|
|
13566
13589
|
for(let e=0;e<i.length;e++)if(i[e]===n.x&&o[e]===n.y)return void(this.wafermap.hoverDie={index:e,x:n.x,y:n.y})
|
|
13567
13590
|
this.wafermap.hoverDie=void 0},this.onMouseOut=e=>{this.wafermap.hoverDie=void 0}}connect(){this.wafermap.addEventListener("mousemove",this.onMouseMove),this.wafermap.addEventListener("mouseout",this.onMouseOut)}disconnect(){this.wafermap.removeEventListener("mousemove",this.onMouseMove),this.wafermap.removeEventListener("mouseout",this.onMouseOut)}calculateDieCoordinates(e){if(this.wafermap.isExperimentalUpdate()){const t=this.wafermap.originLocation,n=t===IB||t===TB?Math.floor:Math.ceil,i=t===IB||t===_B?Math.ceil:Math.floor
|
|
13568
|
-
return{x:n(this.wafermap.computations.horizontalScale.invert(e.x-this.wafermap.computations.margin.left)),y:i(this.wafermap.computations.verticalScale.invert(e.y-this.wafermap.computations.margin.top))}}}isDieInGrid(e,t){return e>=this.wafermap.computations.gridMinX&&e<=this.wafermap.computations.gridMaxX&&t>=this.wafermap.computations.gridMinY&&t<=this.wafermap.computations.gridMaxY}}class jq{constructor(e){this.wafermap=e,this.scaleExtent=[1,100],this.minExtentPoint=[0,0],this.onWheelMove=e=>{e.preventDefault()},this.wafermapNotifier=m.getNotifier(this.wafermap),this.wafermapNotifier.subscribe(this,"canvasWidth"),this.wafermapNotifier.subscribe(this,"canvasHeight")}connect(){this.createZoomBehavior(),this.wafermap.addEventListener("wheel",this.onWheelMove,{passive:!1})}disconnect(){
|
|
13591
|
+
return{x:n(this.wafermap.computations.horizontalScale.invert(e.x-this.wafermap.computations.margin.left)),y:i(this.wafermap.computations.verticalScale.invert(e.y-this.wafermap.computations.margin.top))}}}isDieInGrid(e,t){return e>=this.wafermap.computations.gridMinX&&e<=this.wafermap.computations.gridMaxX&&t>=this.wafermap.computations.gridMinY&&t<=this.wafermap.computations.gridMaxY}}class jq{constructor(e){this.wafermap=e,this.scaleExtent=[1,100],this.minExtentPoint=[0,0],this.onWheelMove=e=>{e.preventDefault()},this.wafermapNotifier=m.getNotifier(this.wafermap),this.wafermapNotifier.subscribe(this,"canvasWidth"),this.wafermapNotifier.subscribe(this,"canvasHeight")}connect(){this.createZoomBehavior(),this.wafermap.addEventListener("wheel",this.onWheelMove,{passive:!1})}disconnect(){OH().on("zoom",null)(hz(this.wafermap)),this.wafermap.removeEventListener("wheel",this.onWheelMove)}handleChange(e,t){e!==this.wafermap||"canvasWidth"!==t&&"canvasHeight"!==t||this.createZoomBehavior()}createZoomBehavior(){OH().scaleExtent(this.scaleExtent).translateExtent([this.minExtentPoint,[this.wafermap.canvasWidth,this.wafermap.canvasHeight]]).on("zoom",(e=>{this.wafermap.transform=e.transform}))(hz(this.wafermap))}}class Wq{get horizontalScale(){return this._horizontalScale}get verticalScale(){return this._verticalScale}get containerDimensions(){return this._containerDimensions}get dieDimensions(){return this._dieDimensions}get margin(){return this._margin}get verticalCoefficient(){return this._verticalCoefficient}get horizontalCoefficient(){return this._horizontalCoefficient}get horizontalConstant(){return this._horizontalConstant}get verticalConstant(){return this._verticalConstant}get gridMinX(){return this._gridMinX}get gridMaxX(){return this._gridMaxX}get gridMinY(){return this._gridMinY}get gridMaxY(){return this._gridMaxY}get labelsFontSize(){return this._labelsFontSize}get colorScale(){return this._colorScale}constructor(e){this.wafermap=e,this.baseMarginPercentage=.04,this.fontSizeFactor=.8,this.colorScaleResolution=10}componentResizeUpdate(){const e={width:this.wafermap.canvasWidth,height:this.wafermap.canvasHeight},t=Math.min(e.width,e.height),n={top:(e.height-t)/2,right:(e.width-t)/2,bottom:(e.height-t)/2,left:(e.width-t)/2},i={top:t*this.baseMarginPercentage,right:t*this.baseMarginPercentage,bottom:t*this.baseMarginPercentage,left:t*this.baseMarginPercentage}
|
|
13569
13592
|
this._margin=this.calculateMarginAddition(i,n),this._containerDimensions=this.calculateContainerDimensions(e,this.margin),this.inputDataUpdate()}inputDataUpdate(){if(void 0===this._containerDimensions)return void this.componentResizeUpdate()
|
|
13570
13593
|
const e=Math.min(this._containerDimensions.width,this._containerDimensions.height)
|
|
13571
13594
|
this.gridDimensionsValidAndDefined()?this.setGridDimensionsFromBoundingBox():this.setGridDimensionsFromDies()
|
|
@@ -13578,7 +13601,7 @@ return e===IB||e===TB?n.domain([this._gridMinX,this._gridMaxX+1]).range([0,t]):n
|
|
|
13578
13601
|
return e===IB||e===_B?n.domain([this._gridMinY-1,this._gridMaxY]).range([t,0]):n.domain([this._gridMinY,this._gridMaxY+1]).range([0,t])}calculateMarginAddition(e,t){return{top:e.top+t.top,right:e.right+t.right,bottom:e.bottom+t.bottom,left:e.left+t.left}}calculateColorScale(){if(this.wafermap.colorScaleMode===RB){const e=this.wafermap.colorScale.values.map((e=>+e)),t=MB().domain(e).range(this.wafermap.colorScale.colors)
|
|
13579
13602
|
let n=e[0],i=e[0]
|
|
13580
13603
|
e.forEach((e=>{e<n&&(n=e),e>i&&(i=e)}))
|
|
13581
|
-
return
|
|
13604
|
+
return YH(n,i,(i-n)/(e.length*this.colorScaleResolution)).concat(i).map((e=>({color:t(e),value:e})))}return this.wafermap.colorScale.colors.map(((e,t)=>({color:e,value:+this.wafermap.colorScale.values[t]}))).sort(((e,t)=>e.value-t.value))}calculateLabelsFontSize(e,t){return Math.min(e.height,e.width/(.5*Math.max(2,t))*this.fontSizeFactor)}}class Gq extends Vt{constructor(){super(...arguments),this.waferMapUpdateTracker=new VB(this.asRequiredFieldsWaferMap),this.originLocation=IB,this.gridMinX=void 0,this.gridMaxX=void 0,this.gridMinY=void 0,this.gridMaxY=void 0,this.orientation=AB,this.maxCharacters=4,this.dieLabelsHidden=!1,this.dieLabelsSuffix="",this.colorScaleMode=RB,this.computations=new Wq(this.asRequiredFieldsWaferMap),this.dataManager=new PB(this.asRequiredFieldsWaferMap),this.workerRenderer=new qq(this.asRequiredFieldsWaferMap),this.renderer=new LB(this.asRequiredFieldsWaferMap),this.renderQueued=!1,this.transform=SH,this.hoverTransform="",this.hoverOpacity=OB,this.hoverWidth=0,this.hoverHeight=0,this.highlightedTags=[],this.dies=[],this.colorScale={colors:[],values:[]},this.hoverHandler=new class{constructor(e){this.wafermap=e,this.onMouseMove=e=>{if(this.wafermap.isExperimentalUpdate())return
|
|
13582
13605
|
const t={x:e.offsetX,y:e.offsetY}
|
|
13583
13606
|
if(!this.hoversOverDie(t))return void(this.wafermap.hoverDie=void 0)
|
|
13584
13607
|
const n=this.wafermap.transform.invert([t.x,t.y]),i=this.calculateDieCoordinates({x:n[0],y:n[1]})
|
|
@@ -13594,7 +13617,7 @@ return{canvasDimensions:e,renderConfig:t,columnIndices:this.diesTable.getChild("
|
|
|
13594
13617
|
if(void 0===t)return
|
|
13595
13618
|
const{height:n,width:i}=t.contentRect
|
|
13596
13619
|
this.canvas.width=i,this.canvas.height=n,this.canvasWidth=i,this.canvasHeight=n}))}originLocationChanged(){this.waferMapUpdateTracker.track("originLocation"),this.waferMapUpdateTracker.queueUpdate()}gridMinXChanged(){this.waferMapUpdateTracker.track("gridMinX"),this.waferMapUpdateTracker.queueUpdate()}gridMaxXChanged(){this.waferMapUpdateTracker.track("gridMaxX"),this.waferMapUpdateTracker.queueUpdate()}gridMinYChanged(){this.waferMapUpdateTracker.track("gridMinY"),this.waferMapUpdateTracker.queueUpdate()}gridMaxYChanged(){this.waferMapUpdateTracker.track("gridMaxY"),this.waferMapUpdateTracker.queueUpdate()}maxCharactersChanged(){this.waferMapUpdateTracker.track("maxCharacters"),this.waferMapUpdateTracker.queueUpdate()}dieLabelsHiddenChanged(){this.waferMapUpdateTracker.track("dieLabelsHidden"),this.waferMapUpdateTracker.queueUpdate()}dieLabelsSuffixChanged(){this.waferMapUpdateTracker.track("dieLabelsSuffix"),this.waferMapUpdateTracker.queueUpdate()}colorScaleModeChanged(){this.waferMapUpdateTracker.track("colorScaleMode"),this.waferMapUpdateTracker.queueUpdate()}highlightedTagsChanged(){this.waferMapUpdateTracker.track("highlightedTags"),this.waferMapUpdateTracker.queueUpdate()}diesChanged(){this.waferMapUpdateTracker.track("dies"),this.waferMapUpdateTracker.queueUpdate()}diesTableChanged(){this.waferMapUpdateTracker.track("dies"),this.waferMapUpdateTracker.queueUpdate()}colorScaleChanged(){this.waferMapUpdateTracker.track("colorScale"),this.waferMapUpdateTracker.queueUpdate()}transformChanged(){this.waferMapUpdateTracker.track("transform"),this.waferMapUpdateTracker.queueUpdate()}canvasWidthChanged(){this.waferMapUpdateTracker.track("canvasWidth"),this.waferMapUpdateTracker.queueUpdate()}canvasHeightChanged(){this.waferMapUpdateTracker.track("canvasHeight"),this.waferMapUpdateTracker.queueUpdate()}hoverDieChanged(){this.$emit("die-hover",{currentDie:this.hoverDie}),this.waferMapUpdateTracker.track("hoverDie"),this.waferMapUpdateTracker.queueUpdate()}get asRequiredFieldsWaferMap(){return this}}e([le({attribute:"origin-location"})],Gq.prototype,"originLocation",void 0),e([le({attribute:"grid-min-x",converter:re})],Gq.prototype,"gridMinX",void 0),e([le({attribute:"grid-max-x",converter:re})],Gq.prototype,"gridMaxX",void 0),e([le({attribute:"grid-min-y",converter:re})],Gq.prototype,"gridMinY",void 0),e([le({attribute:"grid-max-y",converter:re})],Gq.prototype,"gridMaxY",void 0),e([le],Gq.prototype,"orientation",void 0),e([le({attribute:"max-characters",converter:re})],Gq.prototype,"maxCharacters",void 0),e([le({attribute:"die-labels-hidden",mode:"boolean"})],Gq.prototype,"dieLabelsHidden",void 0),e([le({attribute:"die-labels-suffix"})],Gq.prototype,"dieLabelsSuffix",void 0),e([le({attribute:"color-scale-mode"})],Gq.prototype,"colorScaleMode",void 0),e([g],Gq.prototype,"renderer",void 0),e([g],Gq.prototype,"canvasWidth",void 0),e([g],Gq.prototype,"canvasHeight",void 0),e([g],Gq.prototype,"transform",void 0),e([g],Gq.prototype,"hoverTransform",void 0),e([g],Gq.prototype,"hoverOpacity",void 0),e([g],Gq.prototype,"hoverWidth",void 0),e([g],Gq.prototype,"hoverHeight",void 0),e([g],Gq.prototype,"hoverDie",void 0),e([g],Gq.prototype,"highlightedTags",void 0),e([g],Gq.prototype,"dies",void 0),e([g],Gq.prototype,"diesTable",void 0),e([g],Gq.prototype,"colorScale",void 0)
|
|
13597
|
-
const Zq=Gq.compose({baseName:"wafer-map",template:
|
|
13620
|
+
const Zq=Gq.compose({baseName:"wafer-map",template:RH,styles:FH})
|
|
13598
13621
|
yi.getOrCreate().withPrefix("nimble").register(Zq())
|
|
13599
13622
|
const Kq=xe`
|
|
13600
13623
|
${Xq="inline-block",`${Do(Xq)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host::before,:host::after,::before,::after{box-sizing:border-box;}`}
|
|
@@ -13622,6 +13645,6 @@ const Kq=xe`
|
|
|
13622
13645
|
`
|
|
13623
13646
|
var Xq
|
|
13624
13647
|
const Yq=G`<slot></slot>`
|
|
13625
|
-
const Jq=class extends
|
|
13648
|
+
const Jq=class extends Vt{}.compose({baseName:"rectangle",template:Yq,styles:Kq})
|
|
13626
13649
|
yi.getOrCreate().withPrefix("spright").register(Jq())}()
|
|
13627
13650
|
//# sourceMappingURL=all-components-bundle.min.js.map
|