@ni/spright-components 5.5.2 → 5.5.4
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.
|
@@ -84,19 +84,19 @@ let i=this.version||0
|
|
|
84
84
|
if(null!=t&&t.length){const s=t.split(/\s+/)
|
|
85
85
|
for(let t=0,o=s.length;t<o;++t){const o=s[t]
|
|
86
86
|
""!==o&&(e[o]=i,n.classList.add(o))}}if(this.classVersions=e,this.version=i+1,0!==i){i-=1
|
|
87
|
-
for(const t in e)e[t]===i&&n.classList.remove(t)}}class
|
|
87
|
+
for(const t in e)e[t]===i&&n.classList.remove(t)}}class V extends M{constructor(t){super(),this.binding=t,this.bind=E,this.unbind=O,this.updateTarget=F,this.isBindingVolatile=x.isVolatileBinding(this.binding)}get targetName(){return this.originalTargetName}set targetName(t){if(this.originalTargetName=t,void 0!==t)switch(t[0]){case":":if(this.cleanedTargetName=t.substr(1),this.updateTarget=B,"innerHTML"===this.cleanedTargetName){const t=this.binding
|
|
88
88
|
this.binding=(e,n)=>b.createHTML(t(e,n))}break
|
|
89
89
|
case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=N
|
|
90
90
|
break
|
|
91
91
|
case"@":this.cleanedTargetName=t.substr(1),this.bind=A,this.unbind=R
|
|
92
92
|
break
|
|
93
|
-
default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=P)}}targetAtContent(){this.updateTarget=L,this.unbind=T}createBehavior(t){return new
|
|
93
|
+
default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=P)}}targetAtContent(){this.updateTarget=L,this.unbind=T}createBehavior(t){return new z(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}}class z{constructor(t,e,n,i,s,o,r){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=e,this.isBindingVolatile=n,this.bind=i,this.unbind=s,this.updateTarget=o,this.targetName=r}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){_.setEvent(t)
|
|
94
94
|
const e=this.binding(this.source,this.context)
|
|
95
95
|
_.setEvent(null),!0!==e&&t.preventDefault()}}let H=null
|
|
96
96
|
class U{addFactory(t){t.targetIndex=this.targetIndex,this.behaviorFactories.push(t)}captureContentBinding(t){t.targetAtContent(),this.addFactory(t)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){H=this}static borrow(t){const e=H||new U
|
|
97
97
|
return e.directives=t,e.reset(),H=null,e}}function q(t){if(1===t.length)return t[0]
|
|
98
98
|
let e
|
|
99
|
-
const n=t.length,i=t.map((t=>"string"==typeof t?()=>t:(e=t.targetName||e,t.binding))),s=new
|
|
99
|
+
const n=t.length,i=t.map((t=>"string"==typeof t?()=>t:(e=t.targetName||e,t.binding))),s=new V(((t,e)=>{let s=""
|
|
100
100
|
for(let o=0;o<n;++o)s+=i[o](t,e)
|
|
101
101
|
return s}))
|
|
102
102
|
return s.targetName=e,s}const j=v.length
|
|
@@ -110,7 +110,7 @@ else{const e=parseInt(s.substring(0,o))
|
|
|
110
110
|
i.push(t.directives[e]),r=s.substring(o+j)}""!==r&&i.push(r)}return i}function G(t,e,n=!1){const i=e.attributes
|
|
111
111
|
for(let s=0,o=i.length;s<o;++s){const r=i[s],a=r.value,l=W(t,a)
|
|
112
112
|
let c=null
|
|
113
|
-
null===l?n&&(c=new
|
|
113
|
+
null===l?n&&(c=new V((()=>a)),c.targetName=r.name):c=q(l),null!==c&&(e.removeAttributeNode(r),s--,o--,t.addFactory(c))}}function Z(t,e,n){const i=W(t,e.textContent)
|
|
114
114
|
if(null!==i){let s=e
|
|
115
115
|
for(let o=0,r=i.length;o<r;++o){const r=i[o],a=0===o?e:s.parentNode.insertBefore(document.createTextNode(""),s.nextSibling)
|
|
116
116
|
"string"==typeof r?a.textContent=r:(a.textContent=" ",t.captureContentBinding(r)),s=a,t.targetIndex++,a!==e&&n.nextNode()}t.targetIndex--}}const K=document.createRange()
|
|
@@ -171,7 +171,7 @@ let i=""
|
|
|
171
171
|
for(let s=0,o=t.length-1;s<o;++s){const o=t[s]
|
|
172
172
|
let r=e[s]
|
|
173
173
|
if(i+=o,r instanceof X){const t=r
|
|
174
|
-
r=()=>t}if("function"==typeof r&&(r=new
|
|
174
|
+
r=()=>t}if("function"==typeof r&&(r=new V(r)),r instanceof M){const t=J.exec(o)
|
|
175
175
|
null!==t&&(r.targetName=t[2])}r instanceof $?(i+=r.createPlaceholder(n.length),n.push(r)):i+=r}return i+=t[t.length-1],new X(i,n)}class tt{constructor(){this.targets=new WeakSet}addStylesTo(t){this.targets.add(t)}removeStylesFrom(t){this.targets.delete(t)}isAttachedTo(t){return this.targets.has(t)}withBehaviors(...t){return this.behaviors=null===this.behaviors?t:this.behaviors.concat(t),this}}function et(t){return t.map((t=>t instanceof tt?et(t.styles):[t])).reduce(((t,e)=>t.concat(e)),[])}function nt(t){return t.map((t=>t instanceof tt?t.behaviors:null)).reduce(((t,e)=>null===e?t:(null===t&&(t=[]),t.concat(e))),null)}tt.create=(()=>{if(b.supportsAdoptedStyleSheets){const t=new Map
|
|
176
176
|
return e=>new at(e,t)}return t=>new ct(t)})()
|
|
177
177
|
const it=Symbol("prependToAdoptedStyleSheets")
|
|
@@ -317,9 +317,9 @@ for(let n=0,i=t.length;n<i;n++){const i=t[n]
|
|
|
317
317
|
Lt(e,i.index,i.removed,i.addedCount)}return e}(e)
|
|
318
318
|
for(let e=0,s=i.length;e<s;++e){const s=i[e]
|
|
319
319
|
1!==s.addedCount||1!==s.removed.length?n=n.concat(Ft(t,s.index,s.index+s.addedCount,s.removed,0,s.removed.length)):s.removed[0]!==t[s.index]&&n.push(s)}return n}let Pt=!1
|
|
320
|
-
function
|
|
320
|
+
function Vt(t,e){let n=t.index
|
|
321
321
|
const i=e.length
|
|
322
|
-
return n>i?n=i-t.addedCount:n<0&&(n=i+t.removed.length+n-t.addedCount),n<0&&(n=0),t.index=n,t}class
|
|
322
|
+
return n>i?n=i-t.addedCount:n<0&&(n=i+t.removed.length+n-t.addedCount),n<0&&(n=0),t.index=n,t}class zt extends y{constructor(t){super(t),this.oldCollection=void 0,this.splices=void 0,this.needsQueue=!0,this.call=this.flush,Reflect.defineProperty(t,"$fastController",{value:this,enumerable:!1})}subscribe(t){this.flush(),super.subscribe(t)}addSplice(t){void 0===this.splices?this.splices=[t]:this.splices.push(t),this.needsQueue&&(this.needsQueue=!1,b.queueUpdate(this))}reset(t){this.oldCollection=t,this.needsQueue&&(this.needsQueue=!1,b.queueUpdate(this))}flush(){const t=this.splices,e=this.oldCollection
|
|
323
323
|
if(void 0===t&&void 0===e)return
|
|
324
324
|
this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0
|
|
325
325
|
const n=void 0===e?Bt(this.source,t):Ft(this.source,0,this.source.length,e,0,e.length)
|
|
@@ -347,14 +347,14 @@ for(;t<r;++t)if(t<l){o(a[t],e,t,n)}else{const r=i.create()
|
|
|
347
347
|
o(r,e,t,n),a.push(r),r.insertBefore(s)}const c=a.splice(t,l-t)
|
|
348
348
|
for(t=0,r=c.length;t<r;++t)c[t].dispose()}}unbindAllViews(){const t=this.views
|
|
349
349
|
for(let e=0,n=t.length;e<n;++e)t[e].unbind()}}class Jt extends ${constructor(t,e,n){super(),this.itemsBinding=t,this.templateBinding=e,this.options=n,this.createPlaceholder=b.createBlockPlaceholder,function(){if(Pt)return
|
|
350
|
-
Pt=!0,x.setArrayObserverFactory((t=>new
|
|
350
|
+
Pt=!0,x.setArrayObserverFactory((t=>new zt(t)))
|
|
351
351
|
const t=Array.prototype
|
|
352
352
|
if(t.$fastPatch)return
|
|
353
353
|
Reflect.defineProperty(t,"$fastPatch",{value:1,enumerable:!1})
|
|
354
354
|
const e=t.pop,n=t.push,i=t.reverse,s=t.shift,o=t.sort,r=t.splice,a=t.unshift
|
|
355
355
|
t.pop=function(){const t=this.length>0,n=e.apply(this,arguments),i=this.$fastController
|
|
356
356
|
return void 0!==i&&t&&i.addSplice(Et(this.length,[n],0)),n},t.push=function(){const t=n.apply(this,arguments),e=this.$fastController
|
|
357
|
-
return void 0!==e&&e.addSplice(
|
|
357
|
+
return void 0!==e&&e.addSplice(Vt(Et(this.length-arguments.length,[],arguments.length),this)),t},t.reverse=function(){let t
|
|
358
358
|
const e=this.$fastController
|
|
359
359
|
void 0!==e&&(e.flush(),t=this.slice())
|
|
360
360
|
const n=i.apply(this,arguments)
|
|
@@ -364,8 +364,8 @@ const e=this.$fastController
|
|
|
364
364
|
void 0!==e&&(e.flush(),t=this.slice())
|
|
365
365
|
const n=o.apply(this,arguments)
|
|
366
366
|
return void 0!==e&&e.reset(t),n},t.splice=function(){const t=r.apply(this,arguments),e=this.$fastController
|
|
367
|
-
return void 0!==e&&e.addSplice(
|
|
368
|
-
return void 0!==e&&e.addSplice(
|
|
367
|
+
return void 0!==e&&e.addSplice(Vt(Et(+arguments[0],t,arguments.length>2?arguments.length-2:0),this)),t},t.unshift=function(){const t=a.apply(this,arguments),e=this.$fastController
|
|
368
|
+
return void 0!==e&&e.addSplice(Vt(Et(0,[],arguments.length),this)),t}}(),this.isItemsBindingVolatile=x.isVolatileBinding(t),this.isTemplateBindingVolatile=x.isVolatileBinding(e)}createBehavior(t){return new Xt(t,this.itemsBinding,this.isItemsBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile,this.options)}}function Qt(t,e,n=Zt){return new Jt(t,"function"==typeof e?e:()=>e,Object.assign(Object.assign({},Zt),n))}function te(t){return t?function(e,n,i){return 1===e.nodeType&&e.matches(t)}:function(t,e,n){return 1===t.nodeType}}class ee{constructor(t,e){this.target=t,this.options=e,this.source=null}bind(t){const e=this.options.property
|
|
369
369
|
this.shouldUpdate=x.getAccessors(t).some((t=>t.name===e)),this.source=t,this.updateTarget(this.computeNodes()),this.shouldUpdate&&this.observe()}unbind(){this.updateTarget(d),this.source=null,this.shouldUpdate&&this.disconnect()}handleEvent(){this.updateTarget(this.computeNodes())}computeNodes(){let t=this.getNodes()
|
|
370
370
|
return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateTarget(t){this.source[this.options.property]=t}}class ne extends ee{constructor(t,e){super(t,e)}observe(){this.target.addEventListener("slotchange",this)}disconnect(){this.target.removeEventListener("slotchange",this)}getNodes(){return this.target.assignedNodes(this.options)}}function ie(t){return"string"==typeof t&&(t={property:t}),new D("fast-slotted",ne,t)}class se extends ee{constructor(t,e){super(t,e),this.observer=null,e.childList=!0}observe(){null===this.observer&&(this.observer=new MutationObserver(this.handleEvent.bind(this))),this.observer.observe(this.target,this.options)}disconnect(){this.observer.disconnect()}getNodes(){return"subtree"in this.options?Array.from(this.target.querySelectorAll(this.options.selector)):Array.from(this.target.childNodes)}}function oe(t){return"string"==typeof t&&(t={property:t}),new D("fast-children",se,t)}class re{handleStartContentChange(){this.startContainer.classList.toggle("start",this.start.assignedNodes().length>0)}handleEndContentChange(){this.endContainer.classList.toggle("end",this.end.assignedNodes().length>0)}}const ae=(t,e)=>Q`
|
|
371
371
|
<span
|
|
@@ -416,7 +416,7 @@ if(void 0!==n)return n.get(t)})
|
|
|
416
416
|
class de{constructor(t,e){this.container=t,this.key=e}instance(t){return this.registerResolver(0,t)}singleton(t){return this.registerResolver(1,t)}transient(t){return this.registerResolver(2,t)}callback(t){return this.registerResolver(3,t)}cachedCallback(t){return this.registerResolver(3,Oe(t))}aliasTo(t){return this.registerResolver(5,t)}registerResolver(t,e){const{container:n,key:i}=this
|
|
417
417
|
return this.container=this.key=void 0,n.registerResolver(i,new we(i,t,e))}}function he(t){const e=t.slice(),n=Object.keys(t),i=n.length
|
|
418
418
|
let s
|
|
419
|
-
for(let o=0;o<i;++o)s=n[o],
|
|
419
|
+
for(let o=0;o<i;++o)s=n[o],Ve(s)||(e[s]=t[s])
|
|
420
420
|
return e}const ue=Object.freeze({none(t){throw Error(`${t.toString()} not registered, did you forget to add @singleton()?`)},singleton:t=>new we(t,1,t),transient:t=>new we(t,2,t)}),pe=Object.freeze({default:Object.freeze({parentLocator:()=>null,responsibleForOwnerRequests:!1,defaultResolver:ue.singleton})}),fe=new Map
|
|
421
421
|
function me(t){return e=>Reflect.getOwnMetadata(t,e)}let ge=null
|
|
422
422
|
const ve=Object.freeze({createContainer:t=>new Ee(null,Object.assign({},pe.default,t)),findResponsibleContainer(t){const e=t.$$container$$
|
|
@@ -434,7 +434,7 @@ for(let n=0;n<s;++n)t=i[n],void 0!==t&&(e[n]=t)
|
|
|
434
434
|
const o=Object.keys(i)
|
|
435
435
|
let r
|
|
436
436
|
s=o.length
|
|
437
|
-
for(let t=0;t<s;++t)r=o[t],
|
|
437
|
+
for(let t=0;t<s;++t)r=o[t],Ve(r)||(e[r]=i[r])}}else e=he(n)
|
|
438
438
|
fe.set(t,e)}return e},defineProperty(t,e,n,i=!1){const s=`$di_${e}`
|
|
439
439
|
Reflect.defineProperty(t,e,{get:function(){let t=this[s]
|
|
440
440
|
if(void 0===t){const o=this instanceof HTMLElement?ve.findResponsibleContainer(this):ve.getOrCreateDOMContainer()
|
|
@@ -509,15 +509,15 @@ return o}return[t.resolve(e,n)]}const Ne="(anonymous)"
|
|
|
509
509
|
function Le(t){return"object"==typeof t&&null!==t||"function"==typeof t}const Be=function(){const t=new WeakMap
|
|
510
510
|
let e=!1,n="",i=0
|
|
511
511
|
return function(s){return e=t.get(s),void 0===e&&(n=s.toString(),i=n.length,e=i>=29&&i<=100&&125===n.charCodeAt(i-1)&&n.charCodeAt(i-2)<=32&&93===n.charCodeAt(i-3)&&101===n.charCodeAt(i-4)&&100===n.charCodeAt(i-5)&&111===n.charCodeAt(i-6)&&99===n.charCodeAt(i-7)&&32===n.charCodeAt(i-8)&&101===n.charCodeAt(i-9)&&118===n.charCodeAt(i-10)&&105===n.charCodeAt(i-11)&&116===n.charCodeAt(i-12)&&97===n.charCodeAt(i-13)&&110===n.charCodeAt(i-14)&&88===n.charCodeAt(i-15),t.set(s,e)),e}}(),Pe={}
|
|
512
|
-
function
|
|
512
|
+
function Ve(t){switch(typeof t){case"number":return t>=0&&(0|t)===t
|
|
513
513
|
case"string":{const e=Pe[t]
|
|
514
514
|
if(void 0!==e)return e
|
|
515
515
|
const n=t.length
|
|
516
516
|
if(0===n)return Pe[t]=!1
|
|
517
517
|
let i=0
|
|
518
518
|
for(let e=0;e<n;++e)if(i=t.charCodeAt(e),0===e&&48===i&&n>1||i<48||i>57)return Pe[t]=!1
|
|
519
|
-
return Pe[t]=!0}default:return!1}}function
|
|
520
|
-
void 0===He.get(i)?He.set(i,e):He.set(i,!1),n.register(Te.instance(i,e))},forTag(t,e){const n=
|
|
519
|
+
return Pe[t]=!0}default:return!1}}function ze(t){return`${t.toLowerCase()}:presentation`}const He=new Map,Ue=Object.freeze({define(t,e,n){const i=ze(t)
|
|
520
|
+
void 0===He.get(i)?He.set(i,e):He.set(i,!1),n.register(Te.instance(i,e))},forTag(t,e){const n=ze(t),i=He.get(n)
|
|
521
521
|
if(!1===i){return ve.findResponsibleContainer(e).get(n)}return i||null}})
|
|
522
522
|
class qe{constructor(t,e){this.template=t||null,this.styles=void 0===e?null:Array.isArray(e)?tt.create(e):e instanceof tt?e:tt.create([e])}applyTo(t){const e=t.$fastController
|
|
523
523
|
null===e.template&&(e.template=this.template),null===e.styles&&(e.styles=this.styles)}}class je extends St{constructor(){super(...arguments),this._presentation=void 0}get $presentation(){return void 0===this._presentation&&(this._presentation=Ue.forTag(this.tagName,this)),this._presentation}templateChanged(){void 0!==this.template&&(this.$fastController.template=this.template)}stylesChanged(){void 0!==this.styles&&(this.$fastController.styles=this.styles)}connectedCallback(){null!==this.$presentation&&this.$presentation.applyTo(this),super.connectedCallback()}static compose(t){return(e={})=>new Ge(this===je?class extends je{}:this,t,e)}}function We(t,e,n){return"function"==typeof t?t(e,n):t}t([C],je.prototype,"template",void 0),t([C],je.prototype,"styles",void 0)
|
|
@@ -636,8 +636,8 @@ super.disconnectedCallback()
|
|
|
636
636
|
const e=Array.from(null===(t=this.control)||void 0===t?void 0:t.children)
|
|
637
637
|
e&&e.forEach((t=>{t.removeEventListener("click",this.handleClick)}))}}
|
|
638
638
|
t([ft({mode:"boolean"})],Pn.prototype,"autofocus",void 0),t([ft({attribute:"form"})],Pn.prototype,"formId",void 0),t([ft],Pn.prototype,"formaction",void 0),t([ft],Pn.prototype,"formenctype",void 0),t([ft],Pn.prototype,"formmethod",void 0),t([ft({mode:"boolean"})],Pn.prototype,"formnovalidate",void 0),t([ft],Pn.prototype,"formtarget",void 0),t([ft],Pn.prototype,"type",void 0),t([C],Pn.prototype,"defaultSlottedContent",void 0)
|
|
639
|
-
class
|
|
640
|
-
let
|
|
639
|
+
class Vn{}t([ft({attribute:"aria-expanded"})],Vn.prototype,"ariaExpanded",void 0),t([ft({attribute:"aria-pressed"})],Vn.prototype,"ariaPressed",void 0),Ze(Vn,Sn),Ze(Pn,re,Vn)
|
|
640
|
+
let zn=class extends je{}
|
|
641
641
|
class Hn extends je{}class Un extends(Nn(Hn)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let qn=class extends Un{readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=t=>{if(!this.readOnly&&t.key===gn)this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked},this.clickHandler=t=>{this.disabled||this.readOnly||(this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}}
|
|
642
642
|
function jn(t){return Je(t)&&("option"===t.getAttribute("role")||t instanceof HTMLOptionElement)}t([ft({attribute:"readonly",mode:"boolean"})],qn.prototype,"readOnly",void 0),t([C],qn.prototype,"defaultSlottedNodes",void 0),t([C],qn.prototype,"indeterminate",void 0)
|
|
643
643
|
class Wn extends je{checkedChanged(t,e){this.ariaChecked="boolean"!=typeof e?null:e?"true":"false"}contentChanged(t,e){this.proxy instanceof HTMLOptionElement&&(this.proxy.textContent=this.textContent),this.$emit("contentchange",null,{bubbles:!0})}defaultSelectedChanged(){this.dirtySelected||(this.selected=this.defaultSelected,this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.defaultSelected))}disabledChanged(t,e){this.ariaDisabled=this.disabled?"true":"false",this.proxy instanceof HTMLOptionElement&&(this.proxy.disabled=this.disabled)}selectedAttributeChanged(){this.defaultSelected=this.selectedAttribute,this.proxy instanceof HTMLOptionElement&&(this.proxy.defaultSelected=this.defaultSelected)}selectedChanged(){this.ariaSelected=this.selected?"true":"false",this.dirtySelected||(this.dirtySelected=!0),this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.selected)}initialValueChanged(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){var t
|
|
@@ -824,9 +824,9 @@ t=t.assignedSlot?t.assignedSlot:r||a===t.ownerDocument?r:a.host}t=o}if(function(
|
|
|
824
824
|
if(o&&o!==t)for(a=!!(null!==(n=r)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(r)||null!=t&&null!==(s=t.ownerDocument)&&void 0!==s&&s.contains(t));!a&&r;){var l,c,d
|
|
825
825
|
a=!(null===(c=r=null===(l=o=Ri(r))||void 0===l?void 0:l.host)||void 0===c||null===(d=c.ownerDocument)||void 0===d||!d.contains(r))}return a}(t))return!t.getClientRects().length
|
|
826
826
|
if("legacy-full"!==n)return!0}return!1},Bi=function(t,e){return!(e.disabled||Fi(e)||function(t){return function(t){return"INPUT"===t.tagName}(t)&&"hidden"===t.type}(e)||Li(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var i=e.children.item(n)
|
|
827
|
-
if("LEGEND"===i.tagName)return!!Ti.call(e,"fieldset[disabled] *")||!i.contains(t)}return!0}e=e.parentElement}return!1}(e))},Pi=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].concat("iframe").join(","),
|
|
827
|
+
if("LEGEND"===i.tagName)return!!Ti.call(e,"fieldset[disabled] *")||!i.contains(t)}return!0}e=e.parentElement}return!1}(e))},Pi=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].concat("iframe").join(","),Vi=function(t,e){if(e=e||{},!t)throw new Error("No node provided")
|
|
828
828
|
return!1!==Ti.call(t,Pi)&&Bi(e,t)}
|
|
829
|
-
class
|
|
829
|
+
class zi extends Zn{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var t
|
|
830
830
|
return null===(t=this.options)||void 0===t?void 0:t.filter((t=>t.checked))}get firstSelectedOptionIndex(){return this.options.indexOf(this.firstSelectedOption)}activeIndexChanged(t,e){var n,i
|
|
831
831
|
this.ariaActiveDescendant=null!==(i=null===(n=this.options[e])||void 0===n?void 0:n.id)&&void 0!==i?i:"",this.focusAndScrollOptionIntoView()}checkActiveIndex(){if(!this.multiple)return
|
|
832
832
|
const t=this.activeOption
|
|
@@ -849,7 +849,7 @@ this.ariaMultiSelectable=e?"true":null,null===(n=this.options)||void 0===n||n.fo
|
|
|
849
849
|
const i=Math.max(0,parseInt(null!==(n=null==e?void 0:e.toFixed())&&void 0!==n?n:"",10))
|
|
850
850
|
i!==e&&b.queueUpdate((()=>{this.size=i}))}toggleSelectedForAllCheckedOptions(){const t=this.checkedOptions.filter((t=>!t.disabled)),e=!t.every((t=>t.selected))
|
|
851
851
|
t.forEach((t=>t.selected=e)),this.selectedIndex=this.options.indexOf(t[t.length-1]),this.setSelectedOptions()}typeaheadBufferChanged(t,e){if(this.multiple){if(this.$fastController.isConnected){const t=this.getTypeaheadMatches(),e=this.options.indexOf(t[0])
|
|
852
|
-
e>-1&&(this.activeIndex=e,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(t,e)}uncheckAllOptions(t=!1){this.options.forEach((t=>t.checked=!this.multiple&&void 0)),t||(this.rangeStartIndex=-1)}}t([C],
|
|
852
|
+
e>-1&&(this.activeIndex=e,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(t,e)}uncheckAllOptions(t=!1){this.options.forEach((t=>t.checked=!this.multiple&&void 0)),t||(this.rangeStartIndex=-1)}}t([C],zi.prototype,"activeIndex",void 0),t([ft({mode:"boolean"})],zi.prototype,"multiple",void 0),t([ft({converter:ut})],zi.prototype,"size",void 0)
|
|
853
853
|
const Hi="menuitem",Ui="menuitemcheckbox",qi="menuitemradio",ji={[Hi]:"menuitem",[Ui]:"menuitemcheckbox",[qi]:"menuitemradio"}
|
|
854
854
|
let Wi=class extends je{constructor(){super(...arguments),this.role=Hi,this.hasSubmenu=!1,this.currentDirection=yn.ltr,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1
|
|
855
855
|
switch(t.key){case dn:case gn:return this.invoke(),!1
|
|
@@ -871,12 +871,12 @@ const i=Math.min(this.min,this.max)
|
|
|
871
871
|
void 0!==this.min&&this.min!==i&&(this.min=i),this.value=this.getValidValue(this.value)}minChanged(t,e){var n
|
|
872
872
|
this.min=Math.min(e,null!==(n=this.max)&&void 0!==n?n:e)
|
|
873
873
|
const i=Math.max(this.min,this.max)
|
|
874
|
-
void 0!==this.max&&this.max!==i&&(this.max=i),this.value=this.getValidValue(this.value)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(t){this.value=t.toString()}valueChanged(t,e){this.value=this.getValidValue(e),e===this.value&&(this.control&&!this.isUserInput&&
|
|
874
|
+
void 0!==this.max&&this.max!==i&&(this.max=i),this.value=this.getValidValue(this.value)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(t){this.value=t.toString()}valueChanged(t,e){this.value=this.getValidValue(e),e===this.value&&(this.control&&!this.isUserInput&&this.syncValueToInnerControl(),super.valueChanged(t,this.value),void 0===t||this.isUserInput||(this.$emit("input"),this.$emit("change")),this.isUserInput=!1)}validate(){super.validate(this.control)}getValidValue(t){var e,n
|
|
875
875
|
let i=parseFloat(parseFloat(t).toPrecision(12))
|
|
876
876
|
return isNaN(i)?i="":(i=Math.min(i,null!==(e=this.max)&&void 0!==e?e:i),i=Math.max(i,null!==(n=this.min)&&void 0!==n?n:i).toString()),i}stepUp(){const t=parseFloat(this.value),e=isNaN(t)?this.min>0?this.min:this.max<0?this.max:this.min?0:this.step:t+this.step
|
|
877
877
|
this.value=e.toString()}stepDown(){const t=parseFloat(this.value),e=isNaN(t)?this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step:t-this.step
|
|
878
|
-
this.value=e.toString()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","number"),this.validate(),this.
|
|
879
|
-
case rn:return this.stepDown(),!1}return!0}handleBlur(){this.control.value=this.value}}
|
|
878
|
+
this.value=e.toString()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","number"),this.validate(),this.syncValueToInnerControl(),this.autofocus&&b.queueUpdate((()=>{this.focus()}))}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.control.value=this.sanitizeInput(this.control.value),this.isUserInput=!0,this.syncValueFromInnerControl()}handleChange(){this.$emit("change")}handleKeyDown(t){switch(t.key){case cn:return this.stepUp(),!1
|
|
879
|
+
case rn:return this.stepDown(),!1}return!0}handleBlur(){this.syncValueToInnerControl()}sanitizeInput(t){return t.replace(/[^0-9\-+e.]/g,"")}syncValueFromInnerControl(){this.value=this.control.value}syncValueToInnerControl(){this.control.value=this.value}}
|
|
880
880
|
t([ft({attribute:"readonly",mode:"boolean"})],ts.prototype,"readOnly",void 0),t([ft({mode:"boolean"})],ts.prototype,"autofocus",void 0),t([ft({attribute:"hide-step",mode:"boolean"})],ts.prototype,"hideStep",void 0),t([ft],ts.prototype,"placeholder",void 0),t([ft],ts.prototype,"list",void 0),t([ft({converter:ut})],ts.prototype,"maxlength",void 0),t([ft({converter:ut})],ts.prototype,"minlength",void 0),t([ft({converter:ut})],ts.prototype,"size",void 0),t([ft({converter:ut})],ts.prototype,"step",void 0),t([ft({converter:ut})],ts.prototype,"max",void 0),t([ft({converter:ut})],ts.prototype,"min",void 0),t([C],ts.prototype,"defaultSlottedNodes",void 0),Ze(ts,re,Xi)
|
|
881
881
|
let es=class extends je{constructor(){super(...arguments),this.orientation=Ke,this.radioChangeHandler=t=>{const e=t.target
|
|
882
882
|
e.checked&&(this.slottedRadioButtons.forEach((t=>{t!==e&&(t.checked=!1,this.isInsideFoundationToolbar||t.setAttribute("tabindex","-1"))})),this.selectedRadio=e,this.value=e.value,e.setAttribute("tabindex","0"),this.focusedRadio=e),t.stopPropagation()},this.moveToRadioByIndex=(t,e)=>{const n=t[e]
|
|
@@ -917,7 +917,7 @@ this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()
|
|
|
917
917
|
this.checked||this.readOnly||(this.checked=!0)},this.proxy.setAttribute("type","radio")}connectedCallback(){var t,e
|
|
918
918
|
super.connectedCallback(),this.validate(),"radiogroup"!==(null===(t=this.parentElement)||void 0===t?void 0:t.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.closest("[role=radiogroup]")}clickHandler(t){this.disabled||this.readOnly||this.checked||(this.checked=!0)}}
|
|
919
919
|
t([ft({attribute:"readonly",mode:"boolean"})],ss.prototype,"readOnly",void 0),t([C],ss.prototype,"name",void 0),t([C],ss.prototype,"defaultSlottedNodes",void 0)
|
|
920
|
-
class rs extends
|
|
920
|
+
class rs extends zi{}let as=class extends(Fn(rs)){constructor(){super(...arguments),this.proxy=document.createElement("select")}},ls=class extends as{constructor(){super(...arguments),this.open=!1,this.forcedPosition=!1,this.listboxId=kn("listbox-"),this.maxHeight=0}openChanged(t,e){if(this.collapsible){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),this.indexWhenOpened=this.selectedIndex,void b.queueUpdate((()=>this.focus()))
|
|
921
921
|
this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get value(){return x.track(this,"value"),this._value}set value(t){var e,n,i,s,o,r,a
|
|
922
922
|
const l=`${this._value}`
|
|
923
923
|
if(null===(e=this._options)||void 0===e?void 0:e.length){const e=this._options.findIndex((e=>e.value===t)),l=null!==(i=null===(n=this._options[this.selectedIndex])||void 0===n?void 0:n.value)&&void 0!==i?i:null,c=null!==(o=null===(s=this._options[e])||void 0===s?void 0:s.value)&&void 0!==o?o:null;-1!==e&&l===c||(t="",this.selectedIndex=e),t=null!==(a=null===(r=this.firstSelectedOption)||void 0===r?void 0:r.value)&&void 0!==a?a:t}l!==t&&(this._value=t,super.valueChanged(l,t),x.notify(this,"value"),this.updateDisplayValue())}updateValue(t){var e,n
|
|
@@ -1003,8 +1003,8 @@ this.focusableElements=this.allSlottedItems.reduce(t.reduceFocusableItems,[])
|
|
|
1003
1003
|
const i=this.focusableElements.indexOf(n)
|
|
1004
1004
|
this.activeIndex=Math.max(0,i),this.setFocusableElements()}setFocusedElement(t=this.activeIndex){this.activeIndex=t,this.setFocusableElements(),this.focusableElements[this.activeIndex]&&this.contains(function(t){const e=t.getRootNode()
|
|
1005
1005
|
return e instanceof ShadowRoot?e.activeElement:document.activeElement}(this))&&this.focusableElements[this.activeIndex].focus()}static reduceFocusableItems(e,n){var i,s,o,r
|
|
1006
|
-
const a="radio"===n.getAttribute("role"),l=null===(s=null===(i=n.$fastController)||void 0===i?void 0:i.definition.shadowOptions)||void 0===s?void 0:s.delegatesFocus,c=Array.from(null!==(r=null===(o=n.shadowRoot)||void 0===o?void 0:o.querySelectorAll("*"))&&void 0!==r?r:[]).some((t=>
|
|
1007
|
-
return n.hasAttribute("disabled")||n.hasAttribute("hidden")||!(
|
|
1006
|
+
const a="radio"===n.getAttribute("role"),l=null===(s=null===(i=n.$fastController)||void 0===i?void 0:i.definition.shadowOptions)||void 0===s?void 0:s.delegatesFocus,c=Array.from(null!==(r=null===(o=n.shadowRoot)||void 0===o?void 0:o.querySelectorAll("*"))&&void 0!==r?r:[]).some((t=>Vi(t)))
|
|
1007
|
+
return n.hasAttribute("disabled")||n.hasAttribute("hidden")||!(Vi(n)||a||l||c)?n.childElementCount?e.concat(Array.from(n.children).reduce(t.reduceFocusableItems,[])):e:(e.push(n),e)}setFocusableElements(){this.$fastController.isConnected&&this.focusableElements.length>0&&this.focusableElements.forEach(((t,e)=>{t.tabIndex=this.activeIndex===e?0:-1}))}}
|
|
1008
1008
|
t([C],Cs.prototype,"direction",void 0),t([ft],Cs.prototype,"orientation",void 0),t([C],Cs.prototype,"slottedItems",void 0),t([C],Cs.prototype,"slottedLabel",void 0),t([C],Cs.prototype,"childItems",void 0)
|
|
1009
1009
|
class ks{}t([ft({attribute:"aria-labelledby"})],ks.prototype,"ariaLabelledby",void 0),t([ft({attribute:"aria-label"})],ks.prototype,"ariaLabel",void 0),Ze(ks,Sn),Ze(Cs,re,ks)
|
|
1010
1010
|
const Ss="top",_s="right",Is="bottom",$s="left",Ms="start",Ds="end",Es="top-left",As="top-right",Os="bottom-left",Ts="bottom-right",Rs="top-start",Fs="top-end",Ns="bottom-start",Ls="bottom-end"
|
|
@@ -1036,18 +1036,18 @@ case Ls:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="en
|
|
|
1036
1036
|
break
|
|
1037
1037
|
default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}
|
|
1038
1038
|
t([ft({mode:"boolean"})],Bs.prototype,"visible",void 0),t([ft],Bs.prototype,"anchor",void 0),t([ft],Bs.prototype,"delay",void 0),t([ft],Bs.prototype,"position",void 0),t([ft({attribute:"auto-update-mode"})],Bs.prototype,"autoUpdateMode",void 0),t([ft({attribute:"horizontal-viewport-lock"})],Bs.prototype,"horizontalViewportLock",void 0),t([ft({attribute:"vertical-viewport-lock"})],Bs.prototype,"verticalViewportLock",void 0),t([C],Bs.prototype,"anchorElement",void 0),t([C],Bs.prototype,"viewportElement",void 0),t([C],Bs.prototype,"verticalPositioningMode",void 0),t([C],Bs.prototype,"horizontalPositioningMode",void 0),t([C],Bs.prototype,"horizontalInset",void 0),t([C],Bs.prototype,"verticalInset",void 0),t([C],Bs.prototype,"horizontalScaling",void 0),t([C],Bs.prototype,"verticalScaling",void 0),t([C],Bs.prototype,"verticalDefaultPosition",void 0),t([C],Bs.prototype,"horizontalDefaultPosition",void 0),t([C],Bs.prototype,"tooltipVisible",void 0),t([C],Bs.prototype,"currentDirection",void 0)
|
|
1039
|
-
function Ps(t){return Je(t)&&"treeitem"===t.getAttribute("role")}let
|
|
1039
|
+
function Ps(t){return Je(t)&&"treeitem"===t.getAttribute("role")}let Vs=class extends je{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.isNestedItem=()=>Ps(this.parentElement),this.handleExpandCollapseButtonClick=t=>{this.disabled||t.defaultPrevented||(this.expanded=!this.expanded)},this.handleFocus=t=>{this.setAttribute("tabindex","0")},this.handleBlur=t=>{this.setAttribute("tabindex","-1")}}expandedChanged(){this.$fastController.isConnected&&this.$emit("expanded-change",this)}selectedChanged(){this.$fastController.isConnected&&this.$emit("selected-change",this)}itemsChanged(t,e){this.$fastController.isConnected&&this.items.forEach((t=>{Ps(t)&&(t.nested=!0)}))}static focusItem(t){t.focusable=!0,t.focus()}childItemLength(){const t=this.childItems.filter((t=>Ps(t)))
|
|
1040
1040
|
return t?t.length:0}}
|
|
1041
|
-
t([ft({mode:"boolean"})],
|
|
1042
|
-
let
|
|
1041
|
+
t([ft({mode:"boolean"})],Vs.prototype,"expanded",void 0),t([ft({mode:"boolean"})],Vs.prototype,"selected",void 0),t([ft({mode:"boolean"})],Vs.prototype,"disabled",void 0),t([C],Vs.prototype,"focusable",void 0),t([C],Vs.prototype,"childItems",void 0),t([C],Vs.prototype,"items",void 0),t([C],Vs.prototype,"nested",void 0),t([C],Vs.prototype,"renderCollapsedChildren",void 0),Ze(Vs,re)
|
|
1042
|
+
let zs=class extends je{constructor(){super(...arguments),this.currentFocused=null,this.handleFocus=t=>{if(!(this.slottedTreeItems.length<1))return t.target===this?(null===this.currentFocused&&(this.currentFocused=this.getValidFocusableItem()),void(null!==this.currentFocused&&Vs.focusItem(this.currentFocused))):void(this.contains(t.target)&&(this.setAttribute("tabindex","-1"),this.currentFocused=t.target))},this.handleBlur=t=>{t.target instanceof HTMLElement&&(null===t.relatedTarget||!this.contains(t.relatedTarget))&&this.setAttribute("tabindex","0")},this.handleKeyDown=t=>{if(t.defaultPrevented)return
|
|
1043
1043
|
if(this.slottedTreeItems.length<1)return!0
|
|
1044
1044
|
const e=this.getVisibleNodes()
|
|
1045
|
-
switch(t.key){case un:return void(e.length&&
|
|
1046
|
-
case pn:return void(e.length&&
|
|
1045
|
+
switch(t.key){case un:return void(e.length&&Vs.focusItem(e[0]))
|
|
1046
|
+
case pn:return void(e.length&&Vs.focusItem(e[e.length-1]))
|
|
1047
1047
|
case an:if(t.target&&this.isFocusableElement(t.target)){const e=t.target
|
|
1048
|
-
e instanceof
|
|
1048
|
+
e instanceof Vs&&e.childItemLength()>0&&e.expanded?e.expanded=!1:e instanceof Vs&&e.parentElement instanceof Vs&&Vs.focusItem(e.parentElement)}return!1
|
|
1049
1049
|
case ln:if(t.target&&this.isFocusableElement(t.target)){const e=t.target
|
|
1050
|
-
e instanceof
|
|
1050
|
+
e instanceof Vs&&e.childItemLength()>0&&!e.expanded?e.expanded=!0:e instanceof Vs&&e.childItemLength()>0&&this.focusNextNode(1,t.target)}return
|
|
1051
1051
|
case rn:return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(1,t.target))
|
|
1052
1052
|
case cn:return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(-1,t.target))
|
|
1053
1053
|
case dn:return void this.handleClick(t)}return!0},this.handleSelectedChange=t=>{if(t.defaultPrevented)return
|
|
@@ -1061,11 +1061,11 @@ const e=t.target
|
|
|
1061
1061
|
e.disabled||(e.selected=!e.selected)}focusNextNode(t,e){const n=this.getVisibleNodes()
|
|
1062
1062
|
if(!n)return
|
|
1063
1063
|
const i=n[n.indexOf(e)+t]
|
|
1064
|
-
Je(i)&&
|
|
1064
|
+
Je(i)&&Vs.focusItem(i)}getValidFocusableItem(){const t=this.getVisibleNodes()
|
|
1065
1065
|
let e=t.findIndex(this.isSelectedElement)
|
|
1066
1066
|
return-1===e&&(e=t.findIndex(this.isFocusableElement)),-1!==e?t[e]:null}checkForNestedItems(){return this.slottedTreeItems.some((t=>Ps(t)&&t.querySelector("[role='treeitem']")))}getVisibleNodes(){return function(t,e){if(!t||!Je(t))return
|
|
1067
1067
|
return Array.from(t.querySelectorAll(e)).filter((t=>null!==t.offsetParent))}(this,"[role='treeitem']")||[]}}
|
|
1068
|
-
t([ft({attribute:"render-collapsed-nodes"})],
|
|
1068
|
+
t([ft({attribute:"render-collapsed-nodes"})],zs.prototype,"renderCollapsedNodes",void 0),t([C],zs.prototype,"currentSelected",void 0),t([C],zs.prototype,"slottedTreeItems",void 0)
|
|
1069
1069
|
function Hs(t){return`:host([hidden]){display:none}:host{display:${t}}`}const Us=function(){if("boolean"==typeof Qe)return Qe
|
|
1070
1070
|
if("undefined"==typeof window||!window.document||!window.document.createElement)return Qe=!1,Qe
|
|
1071
1071
|
const t=document.createElement("style"),e=function(){const t=document.querySelector('meta[property="csp-nonce"]')
|
|
@@ -1094,7 +1094,7 @@ return new Xs(Zs(Number(n[0]),0,255),Zs(Number(n[1]),0,255),Zs(Number(n[2]),0,25
|
|
|
1094
1094
|
if(null===e)return null
|
|
1095
1095
|
const n=e[1].split(",")
|
|
1096
1096
|
return 4===n.length?new Xs(Zs(Number(n[0]),0,255),Zs(Number(n[1]),0,255),Zs(Number(n[2]),0,255),Number(n[3])):null}(e):function(t){return Js.hasOwnProperty(t)}(e)?function(t){const e=Js[t.toLowerCase()]
|
|
1097
|
-
return e?new Xs(e.r,e.g,e.b,e.hasOwnProperty("a")?e.a:void 0):null}(e):null}const ro="#a46eff",ao="#804ad9",lo="#ff8126",co="#009921",ho="#00c12b",uo="#c4000c",po="#818386",fo="#f1f1f2",mo="#f5f5f5",go="#ffffff",vo="#252526",bo="#363738",yo="#505153",wo="#000000",xo="#161617",Co="#074023",ko="#009b65",So="#d63434",_o="#ff4b00",Io="#008557",$o="#00734b",Mo="#00613f",Do="#32eb96",Eo="#364941",Ao="#356d54",Oo="#98f5ca",To="#434445",Ro="#e54c8a",Fo="#8e78b7",No="Source Sans Pro",Lo="Source Sans Pro",Bo="400",Po="14px",
|
|
1097
|
+
return e?new Xs(e.r,e.g,e.b,e.hasOwnProperty("a")?e.a:void 0):null}(e):null}const ro="#a46eff",ao="#804ad9",lo="#ff8126",co="#009921",ho="#00c12b",uo="#c4000c",po="#818386",fo="#f1f1f2",mo="#f5f5f5",go="#ffffff",vo="#252526",bo="#363738",yo="#505153",wo="#000000",xo="#161617",Co="#074023",ko="#009b65",So="#d63434",_o="#ff4b00",Io="#008557",$o="#00734b",Mo="#00613f",Do="#32eb96",Eo="#364941",Ao="#356d54",Oo="#98f5ca",To="#434445",Ro="#e54c8a",Fo="#8e78b7",No="Source Sans Pro",Lo="Source Sans Pro",Bo="400",Po="14px",Vo="14px",zo="18px",Ho="18px",Uo="14px",qo={light:"light",dark:"dark",color:"color"},jo="action-rgb-partial-color",Wo="application-background-color",Go="divider-background-color",Zo="header-background-color",Ko="section-background-color",Yo="section-background-image",Xo="button-fill-primary-color",Jo="button-primary-font-color",Qo="button-fill-accent-color",tr="button-accent-block-font-color",er="button-accent-outline-font-color",nr="button-border-accent-outline-color",ir="fill-selected-color",sr="fill-selected-rgb-partial-color",or="fill-hover-selected-color",rr="fill-hover-color",ar="fill-hover-rgb-partial-color",lr="fill-down-color",cr="border-color",dr="border-rgb-partial-color",hr="fail-color",ur="warning-color",pr="pass-color",fr="information-color",mr="border-hover-color",gr="icon-color",vr="modal-backdrop-color",br="popup-border-color",yr="card-border-color",wr="tag-fill-color",xr="control-height",Cr="control-slim-height",kr="small-padding",Sr="medium-padding",_r="standard-padding",Ir="large-padding",$r="label-height",Mr="border-width",Dr="divider-width",Er="icon-size",Ar="group-header-text-transform",Or="drawer-width",Tr="dialog-small-width",Rr="dialog-small-height",Fr="dialog-small-max-height",Nr="dialog-large-width",Lr="dialog-large-height",Br="dialog-large-max-height",Pr="menu-min-width",Vr="banner-gap-size",zr="spinner-small-height",Hr="spinner-medium-height",Ur="spinner-large-height",qr="table-fit-rows-height",jr="small-delay",Wr="medium-delay",Gr="large-delay",Zr="headline-plus-1-font",Kr="headline-font",Yr="table-header-font",Xr="title-plus-2-font",Jr="title-plus-1-font",Qr="title-font",ta="subtitle-plus-1-font",ea="subtitle-font",na="link-font",ia="link-active-font",sa="link-prominent-font",oa="link-active-prominent-font",ra="placeholder-font",aa="body-font",la="body-emphasized-font",ca="body-plus-1-font",da="body-plus-1-emphasized-font",ha="group-header-font",ua="control-label-font",pa="button-label-font",fa="tooltip-caption-font",ma="tooltip-background-color",ga="error-text-font",va="table-row-border-color",ba="elevation-1-box-shadow",ya="elevation-2-box-shadow",wa="elevation-3-box-shadow",xa="graph-gridline-color",Ca="graph-trace-1-color",ka="graph-trace-2-color",Sa="graph-trace-3-color",_a="graph-trace-4-color",Ia="graph-trace-5-color",$a="graph-trace-6-color",Ma="graph-trace-7-color",Da="graph-trace-8-color",Ea="mention-font",Aa="calendar-event-background-static-color",Oa="calendar-event-background-dynamic-color",Ta="calendar-event-background-transient-color",Ra="calendar-event-border-static-color",Fa="calendar-event-border-transient-color",Na="calendar-event-static-font-color",La="calendar-event-dynamic-font-color",Ba="calendar-event-transient-font-color",Pa="calendar-event-background-hover-static-color",Va="calendar-event-background-hover-dynamic-color",za="calendar-event-background-hover-transient-color",Ha="calendar-event-outer-border-highlighted-color",Ua="calendar-row-background-selected-color",qa="calendar-event-fill-blocked-color",ja="calendar-grab-handle-background-color",Wa="calendar-grid-border-color",Ga="calendar-group-header-background-color",Za=t=>`ni-nimble-${t}`,Ka=Q`<slot></slot>`,Ya=$t`
|
|
1098
1098
|
${js("contents")}
|
|
1099
1099
|
`
|
|
1100
1100
|
class Xa{constructor(){this.lang=document.documentElement.lang
|
|
@@ -1110,7 +1110,7 @@ function rl(t,e){const{r:n,g:i,b:s}=so(t)
|
|
|
1110
1110
|
return`rgba(${255*n}, ${255*i}, ${255*s}, ${e})`}const al=ki.create(Za(jo)).withDefault((t=>ih(oh(t,xo,fo,go)))),ll=ki.create(Za(Wo)).withDefault((t=>oh(t,go,bo,Co)))
|
|
1111
1111
|
ki.create(Za(Zo)).withDefault((t=>oh(t,mo,vo,Co))),ki.create(Za(Ko)).withDefault((t=>oh(t,fo,yo,Co)))
|
|
1112
1112
|
const cl=ki.create(Za(Yo)).withDefault((t=>`linear-gradient(${oh(t,fo,To,Co)}, ${oh(t,rl(fo,0),rl(To,0),rl(Co,0))})`))
|
|
1113
|
-
ki.create(Za(Go)).withDefault((t=>oh(t,
|
|
1113
|
+
ki.create(Za(Go)).withDefault((t=>oh(t,fo,yo,Co)))
|
|
1114
1114
|
const dl=ki.create(Za(ir)).withDefault((t=>rl(ch(t),.2))),hl=ki.create(Za(sr)).withDefault((t=>ih(ch(t)))),ul=ki.create(Za(or)).withDefault((t=>rl(ch(t),.15))),pl=ki.create(Za(rr)).withDefault((t=>rl(dh(t),.1)))
|
|
1115
1115
|
ki.create(Za(ar)).withDefault((t=>ih(dh(t)))),ki.create(Za(lr)).withDefault((t=>rl(function(t){return oh(t,xo,fo,go)}(t),.15)))
|
|
1116
1116
|
const fl=ki.create(Za(cr)).withDefault((t=>ah(t))),ml=ki.create(Za(dr)).withDefault((t=>ih(ah(t)))),gl=ki.create(Za(hr)).withDefault((t=>rh(t))),vl=ki.create(Za(ur)).withDefault((t=>function(t){return oh(t,_o,lo,go)}(t))),bl=ki.create(Za(pr)).withDefault((t=>function(t){return oh(t,co,ho,go)}(t))),yl=ki.create(Za(fr)).withDefault((t=>function(t){return oh(t,ao,ro,go)}(t))),wl=ki.create(Za(mr)).withDefault((t=>oh(t,ko,Do,go))),xl=ki.create(Za(gr)).withDefault((t=>oh(t,xo,fo,go))),Cl=ki.create(Za(vr)).withDefault((t=>function(t){switch(nl.getValueFor(t)){case qo.light:return rl(wo,.3)
|
|
@@ -1120,16 +1120,16 @@ ki.create(Za(xa)).withDefault((t=>rl(oh(t,xo,fo,go),.2))),ki.create(Za(Ca)).with
|
|
|
1120
1120
|
const _l=ki.create(Za(va)).withDefault((t=>oh(t,fo,yo,Co)))
|
|
1121
1121
|
ki.create(Za(wr)).withDefault((t=>rl(oh(t,xo,fo,go),.1)))
|
|
1122
1122
|
const Il=ki.create(Za(Xo)).withDefault((t=>oh(t,rl(xo,.75),rl(fo,.3),rl(go,.3)))),$l=ki.create(Za(Jo)).withDefault((t=>oh(t,fo,fo,go))),Ml=ki.create(Za(Qo)).withDefault((t=>oh(t,Io,ko,rl(go,.1)))),Dl=ki.create(Za(tr)).withDefault((t=>oh(t,go,fo,go))),El=ki.create(Za(er)).withDefault((t=>oh(t,$o,Do,go))),Al=ki.create(Za(nr)).withDefault((t=>oh(t,ko,Do,rl(go,.3))))
|
|
1123
|
-
ki.create(Za(Aa)).withDefault((t=>oh(t,"#e6f5f0",Eo,Eo))),ki.create(Za(Oa)).withDefault((t=>oh(t,$o,Io,Io))),ki.create(Za(Ta)).withDefault((t=>oh(t,$o,Io,Io))),ki.create(Za(Ra)).withDefault((t=>oh(t,ko,ko,ko))),ki.create(Za(Fa)).withDefault((t=>oh(t,ko,rl(Do,.85),rl(Do,.85)))),ki.create(Za(Na)).withDefault((t=>oh(t,Mo,Oo,Oo))),ki.create(Za(La)).withDefault((t=>oh(t,go,go,go))),ki.create(Za(Ba)).withDefault((t=>oh(t,go,go,go))),ki.create(Za(Pa)).withDefault((t=>oh(t,"#b3e1d1",Ao,Ao))),ki.create(Za(
|
|
1123
|
+
ki.create(Za(Aa)).withDefault((t=>oh(t,"#e6f5f0",Eo,Eo))),ki.create(Za(Oa)).withDefault((t=>oh(t,$o,Io,Io))),ki.create(Za(Ta)).withDefault((t=>oh(t,$o,Io,Io))),ki.create(Za(Ra)).withDefault((t=>oh(t,ko,ko,ko))),ki.create(Za(Fa)).withDefault((t=>oh(t,ko,rl(Do,.85),rl(Do,.85)))),ki.create(Za(Na)).withDefault((t=>oh(t,Mo,Oo,Oo))),ki.create(Za(La)).withDefault((t=>oh(t,go,go,go))),ki.create(Za(Ba)).withDefault((t=>oh(t,go,go,go))),ki.create(Za(Pa)).withDefault((t=>oh(t,"#b3e1d1",Ao,Ao))),ki.create(Za(Va)).withDefault((t=>oh(t,Mo,$o,$o))),ki.create(Za(za)).withDefault((t=>oh(t,Mo,$o,$o))),ki.create(Za(Ha)).withDefault((t=>oh(t,vo,rl(go,.85),rl(go,.85)))),ki.create(Za(Ua)).withDefault((t=>oh(t,rl(ko,.2),rl(Do,.2),rl(Do,.2)))),ki.create(Za(qa)).withDefault((t=>oh(t,rl(xo,.07),To,To))),ki.create(Za(ja)).withDefault((t=>oh(t,ko,Do,Do))),ki.create(Za(Wa)).withDefault((t=>oh(t,"#e6e6e6",yo,yo))),ki.create(Za(Ga)).withDefault((t=>oh(t,mo,rl(xo,.1),rl(xo,.1))))
|
|
1124
1124
|
const Ol=ki.create(Za(xr)).withDefault("32px"),Tl=ki.create(Za(Cr)).withDefault("24px"),Rl=ki.create(Za(kr)).withDefault("4px"),Fl=ki.create(Za(Sr)).withDefault("8px"),Nl=ki.create(Za(_r)).withDefault("16px"),Ll=ki.create(Za(Ir)).withDefault("24px")
|
|
1125
1125
|
ki.create(Za($r)).withDefault("16px")
|
|
1126
1126
|
const Bl=ki.create(Za(Mr)).withDefault("1px")
|
|
1127
1127
|
ki.create(Za(Dr)).withDefault("2px")
|
|
1128
|
-
const Pl=ki.create(Za(Er)).withDefault("16px"),
|
|
1128
|
+
const Pl=ki.create(Za(Er)).withDefault("16px"),Vl=ki.create(Za(Or)).withDefault("784px"),zl=ki.create(Za(Tr)).withDefault("400px"),Hl=ki.create(Za(Rr)).withDefault("fit-content"),Ul=ki.create(Za(Fr)).withDefault("600px")
|
|
1129
1129
|
ki.create(Za(Nr)).withDefault("1024px"),ki.create(Za(Lr)).withDefault("680px"),ki.create(Za(Br)).withDefault("680px")
|
|
1130
1130
|
const ql=ki.create(Za(Pr)).withDefault("176px")
|
|
1131
|
-
ki.create(Za(
|
|
1132
|
-
const jl=ki.create(Za(
|
|
1131
|
+
ki.create(Za(Vr)).withDefault("1px")
|
|
1132
|
+
const jl=ki.create(Za(zr)).withDefault("16px")
|
|
1133
1133
|
ki.create(Za(Hr)).withDefault("32px"),ki.create(Za(Ur)).withDefault("64px")
|
|
1134
1134
|
const Wl=ki.create(Za(qr)).withDefault("480px")
|
|
1135
1135
|
ki.create(Za(ba)).withDefault((t=>`0px 1px 4px ${rl(oh(t,wo,wo,wo),.16)}`))
|
|
@@ -1137,10 +1137,10 @@ const Gl=ki.create(Za(ya)).withDefault((t=>`0px 2px 4px ${rl(oh(t,wo,wo,wo),.16)
|
|
|
1137
1137
|
sh(Kr,(t=>lh(t)),(t=>rl(lh(t),.3)),"Noto Serif","400","25px","32px"),sh(Zr,(t=>lh(t)),(t=>rl(lh(t),.3)),"Noto Serif","400","29.1px","40px"),sh(Xr,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","400","25px","32px")
|
|
1138
1138
|
const[Kl,Yl,Xl,Jl,Ql,tc,ec]=sh(Jr,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","400","22px","28px")
|
|
1139
1139
|
sh(Qr,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","400","19px","24px")
|
|
1140
|
-
const[nc,ic,sc,oc,rc,ac,lc]=sh(ta,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","300","16px","20px"),[cc,dc,hc,uc,pc,fc,mc]=sh(ea,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","300","12.8px","16px"),[gc,vc,bc,yc,wc,xc,Cc]=sh(na,(t=>lh(t)),(t=>rl(lh(t),.3)),Lo,Bo,
|
|
1140
|
+
const[nc,ic,sc,oc,rc,ac,lc]=sh(ta,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","300","16px","20px"),[cc,dc,hc,uc,pc,fc,mc]=sh(ea,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","300","12.8px","16px"),[gc,vc,bc,yc,wc,xc,Cc]=sh(na,(t=>lh(t)),(t=>rl(lh(t),.3)),Lo,Bo,Vo,Ho),[kc,Sc,_c,Ic,$c,Mc,Dc]=sh(ia,(t=>oh(t,ko,ko,rl(go,.75))),(t=>rl(lh(t),.3)),Lo,Bo,Vo,Ho),[Ec,Ac,Oc,Tc,Rc,Fc,Nc]=sh(sa,(t=>oh(t,$o,Do,go)),(t=>rl(lh(t),.3)),Lo,Bo,Vo,Ho),[Lc,Bc,Pc,Vc,zc,Hc,Uc]=sh(oa,(t=>oh(t,ko,ko,rl(go,.75))),(t=>rl(lh(t),.3)),Lo,Bo,Vo,Ho),[qc,jc,Wc,Gc,Zc,Kc,Yc]=sh(ra,(t=>rl(lh(t),.6)),(t=>rl(lh(t),.3)),"Source Sans Pro","400","14px","18px"),[Xc,Jc,Qc,td,ed,nd,id]=sh(aa,(t=>lh(t)),(t=>rl(lh(t),.3)),No,"400",Po,zo),[sd,od,rd,ad,ld,cd,dd]=sh(la,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","600","14px","18px")
|
|
1141
1141
|
sh(ca,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","400","16px","16px"),sh(da,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","600","16px","16px")
|
|
1142
|
-
const[hd,ud,pd,fd,md,gd,vd]=sh(ha,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","600","11px","16px"),[bd,yd,wd,xd,Cd,kd,Sd]=sh(ua,(t=>rl(lh(t),.6)),(t=>rl(lh(t),.3)),"Source Sans Pro","600","11px","16px"),[_d,Id,$d,Md,Dd,Ed,Ad]=sh(pa,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","600","14px","16px"),[Od,Td,Rd,Fd,Nd,Ld,Bd]=sh(fa,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","400","11px",Uo),[Pd,zd,
|
|
1143
|
-
sh(Ea,(t=>oh(t,Io,Do,Do)),(t=>rl(lh(t),.3)),No,"600",Po,
|
|
1142
|
+
const[hd,ud,pd,fd,md,gd,vd]=sh(ha,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","600","11px","16px"),[bd,yd,wd,xd,Cd,kd,Sd]=sh(ua,(t=>rl(lh(t),.6)),(t=>rl(lh(t),.3)),"Source Sans Pro","600","11px","16px"),[_d,Id,$d,Md,Dd,Ed,Ad]=sh(pa,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","600","14px","16px"),[Od,Td,Rd,Fd,Nd,Ld,Bd]=sh(fa,(t=>lh(t)),(t=>rl(lh(t),.3)),"Source Sans Pro","400","11px",Uo),[Pd,Vd,zd,Hd,Ud,qd,jd]=sh(ga,(t=>rh(t)),(t=>rl(rh(t),.3)),"Source Sans Pro","400","11px",Uo),[Wd,Gd,Zd,Kd,Yd,Xd,Jd]=sh(Yr,(t=>rl(lh(t),.6)),(t=>rl(lh(t),.3)),"Source Sans Pro","600","12.8px",Uo)
|
|
1143
|
+
sh(Ea,(t=>oh(t,Io,Do,Do)),(t=>rl(lh(t),.3)),No,"600",Po,zo)
|
|
1144
1144
|
const Qd=ki.create(Za(Ar)).withDefault("uppercase"),th=ki.create(Za(jr)).withDefault("0.075s"),eh=ki.create(Za(Wr)).withDefault("0.15s"),nh=ki.create(Za(Gr)).withDefault("0.25s")
|
|
1145
1145
|
function ih(t){const{r:e,g:n,b:i}=so(t)
|
|
1146
1146
|
return`${255*e}, ${255*n}, ${255*i}`}function sh(t,e,n,i,s,o,r){if(""===t||""===i||""===s||""===o||""===r)throw new Error("createFontTokens parameter unexpectedly set to empty string")
|
|
@@ -1982,7 +1982,7 @@ const Nh=Fh.compose({baseName:"button",baseClass:Pn,template:(t,e)=>Q`
|
|
|
1982
1982
|
</button>
|
|
1983
1983
|
`,styles:Rh,shadowOptions:{delegatesFocus:!0}})
|
|
1984
1984
|
Di.getOrCreate().withPrefix("nimble").register(Nh())
|
|
1985
|
-
const Lh="nimble-button",Bh={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>'},Ph={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_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.018 11 11 5.1 8.996 6.412 9 2H7v4.387L5 5.1zm0 0L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1zM14 9v5H2V9h3.871l.512 1H3v3h10v-3H9.643l.506-1z" 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>'},Uh={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>'},qh={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>'},jh={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>'},Wh={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>'},Gh={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>'},Zh={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>'},Kh={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>'},Yh={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>'},Xh={name:"arrow_right_thin_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.831 4.386-.706 1.127 3.128 1.837H2v1.3h8.365L7.49 10.528l.768 1.085L13.875 8z" class="cls-1"/></svg>'},Jh={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>'},Qh={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>'},tu={name:"arrow_u_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m9.453 8.857-1.68-2.571h.908a3 3 0 0 1 0 6H3.11V14h5.571a4.714 4.714 0 0 0 0-9.429h-.908L9.453 2 2.604 5.403z" class="cls-1"/></svg>'},eu={name:"arrow_u_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.547 8.857 1.68-2.571H7.32a3 3 0 0 0 0 6h5.571V14H7.319a4.714 4.714 0 0 1 0-9.429h.908L6.547 2l6.849 3.403z" class="cls-1"/></svg>'},nu={name:"arrow_u_up_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>'},iu={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>'},su={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>'},ou={name:"arrow_up_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.982 2 5 7.9l2.004-1.312L7 11h2V6.613L11 7.9zm0 0L5 7.9l2.004-1.312L7 11h2V6.613L11 7.9zM14 9v5H2V9h4v1H3v3h10v-3h-3V9z" class="cls-1"/></svg>'},ru={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>'},au={name:"arrow_up_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.436 10h1v3h-9V4h3v1h-2v7h7zm-3.42-6.173.298 1.296 2.92-.748L5.068 9.53l.925.926L11.13 5.33l-.52 2.532 1.31.225 1.2-5.839z" class="cls-1"/></svg>'},lu={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>'},cu={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>'},du={name:"arrows_rotate_reverse_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.07 4.56a5.28 5.28 0 0 1 1.28 3.43c0 2.84-2.22 5.15-5.02 5.32L7.89 12h.1c2.22 0 4.02-1.8 4.02-4.02 0-.92-.32-1.76-.85-2.44l-.63 1.9-1.79-5.36 5.36 1.78-2.03.68Zm-7.04 6.12A3.96 3.96 0 0 1 3.98 8c0-2.22 1.8-4.02 4.02-4.02h.25L7.8 2.65c-2.87.11-5.16 2.45-5.16 5.34 0 1.42.57 2.7 1.48 3.65l-2.02.67 5.36 1.78-1.79-5.36-.64 1.93Zm1.36-2.69a1.609 1.609 0 1 0 3.22 0 1.609 1.609 0 1 0-3.22 0" class="cls-1"/></svg>'},hu={name:"asterisk_5_x_5",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 5"><path d="m.721 4.076.813-1.372-1.429-.63.266-.84 1.527.349L2.05 0h.883l.154 1.583 1.541-.35.266.84-1.442.631.812 1.372-.715.519L2.5 3.376 1.435 4.595z" class="cls-1"/></svg>'},uu={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>'},pu={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>'},fu={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>'},mu={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>'},gu={name:"bell_and_message_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>'},vu={name:"bell_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.117 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.297.098 2.145.587 2.25 1.43v.483c0 .32.108.426.183.463H11s.25 0 .25.483v.02s.14 1.37.42 2.664l-1.18 1.164L8.944 7.56l-2.671 2.589zm.99 1H6c.053 1.113.924 2 2 2 .57 0 1.078-.254 1.442-.654zm7.588-4.212-1.162-1.212-4.06 4.01-1.553-1.61-1.225 1.187 2.788 2.813z" class="cls-1"/></svg>'},bu={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>'},yu={name:"bell_on_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.951 14c-1.075 0-1.946-.887-2-2h4c-.053 1.113-.924 2-2 2m-7.25-3s0-.746.5-.746h.065c.935 0 1.435-4.919 1.435-4.919 0-.503.25-.503.25-.503h.067c.075-.037.184-.143.184-.464v-.483c.105-.842.952-1.331 2.25-1.43v-.262c0-.082.09-.15.218-.193h.563c.128.043.218.111.218.193v.262c1.297.099 2.145.588 2.25 1.43v.483c0 .32.109.427.183.464h.067s.25 0 .25.483v.02s.5 4.92 1.5 4.92c.5 0 .5.745.5.745zM15 8V7h-2v1zM3 8V7H1v1zm10.012-6.29-.707-.708-1.414 1.415.707.707zM3.414 3.124l.707-.707-1.414-1.415L2 1.71z" class="cls-1"/></svg>'},wu={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>'},xu={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>'},Cu={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>'},ku={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>'},Su={name:"calendar_arrows_rotate_reverse_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 13h3v1H2V3h2V2h2v1h4V2h2v1h2v3H3zm6.4-.12c-.42-.46-.68-1.07-.68-1.74 0-1.44 1.17-2.61 2.61-2.61h.16l-.29-.86a3.474 3.474 0 0 0-3.35 3.47c0 .93.37 1.75.96 2.37l-1.31.44 3.48 1.16-1.16-3.48-.42 1.26Zm5.9-4.42L11.82 7.3l1.16 3.48.41-1.24c.34.44.55.98.55 1.58 0 1.44-1.17 2.61-2.61 2.61h-.07l.28.85a3.473 3.473 0 0 0 3.27-3.46c0-.86-.32-1.63-.83-2.23l1.32-.44Zm-5.01 2.67a1.04 1.04 0 1 0 2.078.002 1.04 1.04 0 0 0-2.078-.002" class="cls-1"/></svg>'},_u={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>'},Iu={name:"calendar_circle_exclamation_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.29 13c.13.36.3.69.51 1H2V3h2V2h2v1h4V2h2v1h2v4.7c-.31-.21-.65-.36-1-.48V6.01H3v7h4.29ZM15 11.44c0 1.93-1.57 3.5-3.5 3.5S8 13.37 8 11.44s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5m-2.99 1.29H11v.71h1.01zm.01-3.29h-1.05l.12 2.85h.82l.12-2.85Z" class="cls-1"/></svg>'},$u={name:"calendar_clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 8.79V3h-2V2h-2v1H6V2H4v1H2v11h7.47c.545.35 1.19.559 1.885.559a3.5 3.5 0 0 0 3.5-3.5c0-.87-.33-1.657-.855-2.269M3 6h10v1.987a3.46 3.46 0 0 0-1.645-.428A3.5 3.5 0 0 0 8.445 13H3zm9.978 7.041a391 391 0 0 1-1.288-1.304.743.743 0 1 1 0-1.338l.908-.908c.081-.081.356-.149.49-.149 0 .09-.06.358-.134.462-.068.095-.791.822-.917.948a.75.75 0 0 1 0 .633l1.386 1.389s.312.327.268.625c-.208 0-.416-.06-.713-.358" 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="M7 10H4V7h3zm7-7v11H2V3h2V2h2v1h4V2h2v1zm-1 3H3v7h10z" class="cls-1"/></svg>'},Du={name:"calendar_day_outline_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM7 7H4v3h3zM6 9H5V8h1z" class="cls-1"/></svg>'},Eu={name:"calendar_days_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>'},Au={name:"calendar_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-5H4V7h8zm0 2H4V9h8zm0 2H4v-1h8z" class="cls-1"/></svg>'},Ou={name:"calendar_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-1H4V7h8z" class="cls-1"/></svg>'},Tu={name:"calendar_week_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="cls-3"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-4H4V7h8z" class="cls-1"/></g></svg>'},Ru={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>'},Fu={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>'},Nu={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>'},Lu={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>'},Bu={name:"check_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>'},Pu={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>'},zu={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>'},Vu={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>'},Hu={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>'},Uu={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>'},qu={name:"circle_minus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 4c2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4 1.79-4 4-4m0-2C4.69 2 2 4.69 2 8s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6m3 7H5V7h6z" class="cls-1"/></svg>'},ju={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>'},Wu={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>'},Gu={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>'},Zu={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>'},Ku={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>'},Yu={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>'},Xu={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>'},Ju={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>'},Qu={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>'},tp={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>'},ep={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>'},np={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>'},ip={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>'},sp={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>'},op={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>'},rp={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>'},ap={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>'},lp={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>'},cp={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>'},dp={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>'},hp={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>'},up={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>'},pp={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>'},fp={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>'},mp={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>'},gp={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>'},vp={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>'},bp={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>'},yp={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>'},wp={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>'},xp={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>'},Cp={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>'},kp={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>'},Sp={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>'},_p={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>'},Ip={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>'},$p={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>'},Mp={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>'},Dp={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>'},Ep={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>'},Ap={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>'},Op={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>'},Tp={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>'},Rp={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>'},Fp={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>'},Np={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>'},Lp={name:"floppy_disk_pen_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.803 11H7V9H5v2H4V8h6v.617l1.469-1.471q.227-.224.514-.347L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497L7.372 12zM3 7V4h8v3zm11.166 1.935L13.09 7.859a.64.64 0 0 0-.908 0l-3.388 3.393-1.503 3.483 3.487-1.5 3.388-3.392a.64.64 0 0 0 0-.908m-5.683 4.803-.198-.199.916-2.116.34 1.06 1.058.35z" class="cls-1"/></svg>'},Bp={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>'},Pp={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>'},zp={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>'},Vp={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>'},Hp={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>'},Up={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>'},qp={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>'},jp={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>'},Wp={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>'},Gp={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>'},Zp={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>'},Kp={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>'},Yp={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>'},Xp={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>'},Jp={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>'},Qp={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>'},tf={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>'},ef={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>'},nf={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>'},sf={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>'},of={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>'},rf={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>'},af={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>'},lf={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>'},cf={name:"lightbulb_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 5.53C12 3.584 10.206 2 8 2S4 3.583 4 5.53c0 .736.256 1.44.74 2.04.801.99 1.285 2.456 1.555 3.427h3.41c.27-.97.754-2.437 1.556-3.428.483-.598.739-1.303.739-2.038M9.138 14H6.862l-.569-1.001v-.3l.285-.15-.285-.15v-.401h3.414v.4l-.285.15.285.15V13z" class="cls-1"/></svg>'},df={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>'},hf={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>'},uf={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>'},pf={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>'},ff={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>'},mf={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>'},gf={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>'},vf={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>'},bf={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>'},yf={name:"message_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>'},wf={name:"message_bot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.985 2.016c.286.284.645.44 1.015.485-.369.044-.728.2-1.012.484a1.7 1.7 0 0 0-.487 1.013c-.044-.37-.2-.73-.487-1.015A1.7 1.7 0 0 0 13 2.498c.369-.044.728-.2 1.012-.484.286-.285.442-.644.487-1.013.044.37.2.73.486 1.015M13 7.994c0 2.208-2.239 3.997-5 3.997S3 10.2 3 7.994s2.239-3.996 5-3.996 5 1.79 5 3.996m-7 0a1 1 0 1 0 0-1.999 1 1 0 0 0 0 2m4.5 1.008h-5s.917 1.481 2.5 1.481c1.514 0 2.5-1.48 2.5-1.48m.5-2.007a1 1 0 1 0-1.999.001 1 1 0 0 0 1.999 0m3.692 2.759c-.878 2.452-3.541 4.235-6.692 4.235a8 8 0 0 1-1.782-.204L3 15.5v-3.3c-.764-.673-1.363-1.527-1.692-2.446C.696 9.418 0 8.76 0 7.994S.696 6.57 1.308 6.235C2.186 3.783 4.849 2 8 2c1.075 0 2.09.214 3 .585V1h1v2.078c1.267.758 2.23 1.862 2.692 3.156.612.335 1.308.993 1.308 1.76s-.696 1.423-1.308 1.759M14 7.994C14 5.24 11.308 3 8 3S2 5.24 2 7.994s2.692 4.996 6 4.996 6-2.241 6-4.996" class="cls-1"/></svg>'},xf={name:"messages_sparkle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.99 8.01 2 10l.5-2H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h6c.55 0 1 .45 1 1v3H8c-1.1 0-2 .91-2.01 2.01M8 7h6c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1h-.5l.5 2-4-2H8c-.55 0-1-.45-1-1V8c0-.55.45-1 1-1m4.5-6c-.07.62-.34 1.22-.81 1.69s-1.07.73-1.69.81c.62.07 1.22.33 1.69.81s.74 1.08.81 1.69c.07-.62.34-1.22.81-1.69s1.07-.73 1.69-.81c-.62-.07-1.22-.33-1.69-.81-.48-.48-.74-1.08-.81-1.69" class="cls-1"/></svg>'},Cf={name:"microphone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 8V4a2 2 0 1 1 4 0v4a2 2 0 0 1-4 0m6 0v-.5a.5.5 0 1 0-1 0V8a3 3 0 1 1-6 0v-.5a.5.5 0 1 0-1 0V8c0 1.859 1.28 3.411 3 3.858V14h2v-2.142c1.72-.447 3-2 3-3.858" class="cls-1"/><path d="M6 8V4a2 2 0 1 1 4 0v4a2 2 0 0 1-4 0m6 0v-.5a.5.5 0 1 0-1 0V8a3 3 0 1 1-6 0v-.5a.5.5 0 1 0-1 0V8c0 1.859 1.28 3.411 3 3.858V14h2v-2.142c1.72-.447 3-2 3-3.858" class="cls-1"/></svg>'},kf={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>'},Sf={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>'},_f={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>'},If={name:"mountain_sun_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.457 10.097-1.468-3.011-1.195-1.026-.677.48-2.343-3.556L4.688 8.14l-1.204-.678-1.468 1.543L1 13h14zm-10.478-.2-.939 1.047.372-1.652.975-.993 2.722 3.04zm5.924.764L7.181 9.335l.17-1.958-2.192.896L7.605 4.19 9.4 7.06l-.11.943 1.197-1.038 2.228 4.345zM4.5 4.487a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0" class="cls-1"/></svg>'},$f={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>'},Mf={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>'},Df={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>'},Ef={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>'},Of={name:"paper_plane_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m1 12.5 2-4 6-1-6-1-2-4 14 5z" class="cls-1"/></svg>'},Tf={name:"paperclip_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.5 14C6.406 14 5 12.393 5 10V5c0-1.822.981-3 2.5-3S10 3.178 10 5v3.98c0 1.328-.505 2-1.5 2s-1.5-.672-1.5-2V6h1v2.98c0 1 .266 1 .5 1s.5 0 .5-1V5c0-.602-.146-2-1.5-2S6 4.398 6 5v5c0 1.384.654 3 2.5 3s2.5-1.616 2.5-3V6h1v4c0 2.393-1.406 4-3.5 4"/></svg>'},Rf={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>'},Ff={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>'},Nf={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.118 2.793 4.84 8.076 2.5 13.5l5.43-2.335 5.278-5.284a1 1 0 0 0-.001-1.414l-1.675-1.674a1 1 0 0 0-1.414 0m-5.76 9.154-.31-.309 1.427-3.296.53 1.652 1.648.543z" class="cls-1"/></svg>'},Lf={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>'},Bf={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>'},zf={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>'},Vf={name:"rectangle_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 2v12h10V2zm6 7H5V8h4zm2-2H5V6h6zm0-2H5V4h6z" class="cls-1"/></svg>'},Hf={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>'},Uf={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>'},qf={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>'},jf={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>'},Wf={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>'},Gf={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>'},Zf={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>'},Kf={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>'},Yf={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>'},Xf={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>'},Jf={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>'},Qf={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>'},tm={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>'},em={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>'},nm={name:"square_list_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.77 10.85a.715.715 0 0 0-.92.38c-.15.36.02.77.38.92a.715.715 0 0 0 .92-.38.69.69 0 0 0-.38-.91Z" class="cls-1"/><path d="m14.27 11.11.73-.3-.53-1.29-.73.3c-.15-.21-.34-.39-.55-.55l.3-.73L12.2 8l-.3.73q-.195-.03-.39-.03c-.195 0-.26 0-.39.03l-.3-.73-1.29.53.3.73c-.21.15-.39.34-.55.55l-.73-.3-.54 1.29.73.3c-.04.26-.04.53 0 .78l-.73.3.53 1.29.73-.3c.16.21.34.39.55.55l-.3.73 1.29.54.3-.73q.195.03.39.03c.195 0 .26 0 .39-.03l.3.73 1.29-.53-.3-.73c.21-.16.39-.34.55-.55l.73.3.54-1.29-.73-.3c.04-.26.04-.53 0-.78m-1.16 1.06a1.757 1.757 0 0 1-2.29.95 1.75 1.75 0 0 1-.94-2.29 1.757 1.757 0 0 1 2.29-.95c.89.37 1.31 1.39.94 2.29M7.01 11H6v-1h1.23c.12-.35.28-.69.48-1h-1.7V8h2.62c.68-.56 1.51-.91 2.43-1H6V6h6v1c.73.1 1.42.33 2 .73V2H2v12h5.73c-.48-.72-.77-1.59-.77-2.52 0-.16.03-.32.05-.48M4 4h8v1H4zm1 7H4v-1h1zm0-2H4V8h1zm0-2H4V6h1z" class="cls-1"/></svg>'},im={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>'},sm={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>'},om={name:"star_8_point_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.756 6.872 15 8.002 10.754 9.13l1.722 3.335-3.31-1.74L8.046 15l-1.118-4.276-3.312 1.736 1.727-3.332L1 7.996 5.343 6.87 3.621 3.535l3.308 1.74L8.052 1l1.12 4.276 3.31-1.734z" class="cls-1"/></svg>'},rm={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>'},am={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>'},lm={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>'},cm={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>'},dm={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>'},hm={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>'},um={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>'},pm={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>'},fm={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>'},mm={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>'},gm={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>'},vm={name:"thumb_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 10h-2V3h2zM2 6.554c0 .488.558.923.581 1.158s-.194.503-.194.796c0 .635.51 1.492 1.315 1.492H5.75c.336 0 .525.327.426.648C6.08 10.96 6 11 6 11.5 6 13 7.001 14 8 14a.5.5 0 0 0 .5-.5V12c0-1.5 1.317-1.13 2.5-3V3S8.255 2 6.5 2H5.064C3.68 2 4.034 3.334 3.839 3.404c-.453.162-1.023.676-1.023 1.35 0 .172.145.393.084.486-.123.186-.9.689-.9 1.314" class="cls-1"/></svg>'},bm={name:"thumb_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 7h2v7H2zm12 2.446c0-.488-.558-.923-.581-1.158s.194-.503.194-.796c0-.635-.51-1.492-1.315-1.492H10.25c-.336 0-.525-.327-.426-.648C9.92 5.04 10 5 10 4.5 10 3 8.999 2 8 2a.5.5 0 0 0-.5.5V4c0 1.5-1.317 1.13-2.5 3v6s2.745 1 4.5 1h1.436c1.383 0 1.03-1.334 1.225-1.404.453-.162 1.023-.676 1.023-1.35 0-.172-.145-.393-.084-.486.123-.186.9-.689.9-1.314" class="cls-1"/></svg>'},ym={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>'},wm={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>'},xm={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>'},Cm={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>'},km={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>'},Sm={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>'},_m={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>'},Im={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>'},$m={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>'},Mm={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>'},Dm={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>'},Em={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>'},Am={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>'},Om={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>'},Tm={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>'},Rm={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>'},Fm={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>'},Nm={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>'},Lm={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>'},Bm={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>'},Pm={name:"window_dock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 6h8v5H4z" class="cls-1"/><path d="M1 2v12h14V2m-2 10H3V4h10z" class="cls-1"/></svg>'},zm={name:"window_restore_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 11V4H1v10h11v-3z" class="cls-1"/><path d="M5 2v8h10V2zm9.02 7.02L6 9V4h8z" class="cls-1"/></svg>'},Vm={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>'},Hm={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>'},Um={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>'},qm={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>'},jm=Q`<div
|
|
1985
|
+
const Lh="nimble-button",Bh={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>'},Ph={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>'},Vh={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>'},zh={name:"arrow_down_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.018 11 11 5.1 8.996 6.412 9 2H7v4.387L5 5.1zm0 0L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1zM14 9v5H2V9h3.871l.512 1H3v3h10v-3H9.643l.506-1z" 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>'},Uh={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>'},qh={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>'},jh={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>'},Wh={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>'},Gh={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>'},Zh={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>'},Kh={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>'},Yh={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>'},Xh={name:"arrow_right_thin_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.831 4.386-.706 1.127 3.128 1.837H2v1.3h8.365L7.49 10.528l.768 1.085L13.875 8z" class="cls-1"/></svg>'},Jh={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>'},Qh={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>'},tu={name:"arrow_u_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m9.453 8.857-1.68-2.571h.908a3 3 0 0 1 0 6H3.11V14h5.571a4.714 4.714 0 0 0 0-9.429h-.908L9.453 2 2.604 5.403z" class="cls-1"/></svg>'},eu={name:"arrow_u_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.547 8.857 1.68-2.571H7.32a3 3 0 0 0 0 6h5.571V14H7.319a4.714 4.714 0 0 1 0-9.429h.908L6.547 2l6.849 3.403z" class="cls-1"/></svg>'},nu={name:"arrow_u_up_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>'},iu={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>'},su={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>'},ou={name:"arrow_up_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.982 2 5 7.9l2.004-1.312L7 11h2V6.613L11 7.9zm0 0L5 7.9l2.004-1.312L7 11h2V6.613L11 7.9zM14 9v5H2V9h4v1H3v3h10v-3h-3V9z" class="cls-1"/></svg>'},ru={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>'},au={name:"arrow_up_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.436 10h1v3h-9V4h3v1h-2v7h7zm-3.42-6.173.298 1.296 2.92-.748L5.068 9.53l.925.926L11.13 5.33l-.52 2.532 1.31.225 1.2-5.839z" class="cls-1"/></svg>'},lu={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>'},cu={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>'},du={name:"arrows_rotate_reverse_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.07 4.56a5.28 5.28 0 0 1 1.28 3.43c0 2.84-2.22 5.15-5.02 5.32L7.89 12h.1c2.22 0 4.02-1.8 4.02-4.02 0-.92-.32-1.76-.85-2.44l-.63 1.9-1.79-5.36 5.36 1.78-2.03.68Zm-7.04 6.12A3.96 3.96 0 0 1 3.98 8c0-2.22 1.8-4.02 4.02-4.02h.25L7.8 2.65c-2.87.11-5.16 2.45-5.16 5.34 0 1.42.57 2.7 1.48 3.65l-2.02.67 5.36 1.78-1.79-5.36-.64 1.93Zm1.36-2.69a1.609 1.609 0 1 0 3.22 0 1.609 1.609 0 1 0-3.22 0" class="cls-1"/></svg>'},hu={name:"asterisk_5_x_5",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 5"><path d="m.721 4.076.813-1.372-1.429-.63.266-.84 1.527.349L2.05 0h.883l.154 1.583 1.541-.35.266.84-1.442.631.812 1.372-.715.519L2.5 3.376 1.435 4.595z" class="cls-1"/></svg>'},uu={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>'},pu={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>'},fu={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>'},mu={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>'},gu={name:"bell_and_message_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>'},vu={name:"bell_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.117 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.297.098 2.145.587 2.25 1.43v.483c0 .32.108.426.183.463H11s.25 0 .25.483v.02s.14 1.37.42 2.664l-1.18 1.164L8.944 7.56l-2.671 2.589zm.99 1H6c.053 1.113.924 2 2 2 .57 0 1.078-.254 1.442-.654zm7.588-4.212-1.162-1.212-4.06 4.01-1.553-1.61-1.225 1.187 2.788 2.813z" class="cls-1"/></svg>'},bu={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>'},yu={name:"bell_on_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.951 14c-1.075 0-1.946-.887-2-2h4c-.053 1.113-.924 2-2 2m-7.25-3s0-.746.5-.746h.065c.935 0 1.435-4.919 1.435-4.919 0-.503.25-.503.25-.503h.067c.075-.037.184-.143.184-.464v-.483c.105-.842.952-1.331 2.25-1.43v-.262c0-.082.09-.15.218-.193h.563c.128.043.218.111.218.193v.262c1.297.099 2.145.588 2.25 1.43v.483c0 .32.109.427.183.464h.067s.25 0 .25.483v.02s.5 4.92 1.5 4.92c.5 0 .5.745.5.745zM15 8V7h-2v1zM3 8V7H1v1zm10.012-6.29-.707-.708-1.414 1.415.707.707zM3.414 3.124l.707-.707-1.414-1.415L2 1.71z" class="cls-1"/></svg>'},wu={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>'},xu={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>'},Cu={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>'},ku={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>'},Su={name:"calendar_arrows_rotate_reverse_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 13h3v1H2V3h2V2h2v1h4V2h2v1h2v3H3zm6.4-.12c-.42-.46-.68-1.07-.68-1.74 0-1.44 1.17-2.61 2.61-2.61h.16l-.29-.86a3.474 3.474 0 0 0-3.35 3.47c0 .93.37 1.75.96 2.37l-1.31.44 3.48 1.16-1.16-3.48-.42 1.26Zm5.9-4.42L11.82 7.3l1.16 3.48.41-1.24c.34.44.55.98.55 1.58 0 1.44-1.17 2.61-2.61 2.61h-.07l.28.85a3.473 3.473 0 0 0 3.27-3.46c0-.86-.32-1.63-.83-2.23l1.32-.44Zm-5.01 2.67a1.04 1.04 0 1 0 2.078.002 1.04 1.04 0 0 0-2.078-.002" class="cls-1"/></svg>'},_u={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>'},Iu={name:"calendar_circle_exclamation_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.29 13c.13.36.3.69.51 1H2V3h2V2h2v1h4V2h2v1h2v4.7c-.31-.21-.65-.36-1-.48V6.01H3v7h4.29ZM15 11.44c0 1.93-1.57 3.5-3.5 3.5S8 13.37 8 11.44s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5m-2.99 1.29H11v.71h1.01zm.01-3.29h-1.05l.12 2.85h.82l.12-2.85Z" class="cls-1"/></svg>'},$u={name:"calendar_clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 8.79V3h-2V2h-2v1H6V2H4v1H2v11h7.47c.545.35 1.19.559 1.885.559a3.5 3.5 0 0 0 3.5-3.5c0-.87-.33-1.657-.855-2.269M3 6h10v1.987a3.46 3.46 0 0 0-1.645-.428A3.5 3.5 0 0 0 8.445 13H3zm9.978 7.041a391 391 0 0 1-1.288-1.304.743.743 0 1 1 0-1.338l.908-.908c.081-.081.356-.149.49-.149 0 .09-.06.358-.134.462-.068.095-.791.822-.917.948a.75.75 0 0 1 0 .633l1.386 1.389s.312.327.268.625c-.208 0-.416-.06-.713-.358" 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="M7 10H4V7h3zm7-7v11H2V3h2V2h2v1h4V2h2v1zm-1 3H3v7h10z" class="cls-1"/></svg>'},Du={name:"calendar_day_outline_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM7 7H4v3h3zM6 9H5V8h1z" class="cls-1"/></svg>'},Eu={name:"calendar_days_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>'},Au={name:"calendar_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-5H4V7h8zm0 2H4V9h8zm0 2H4v-1h8z" class="cls-1"/></svg>'},Ou={name:"calendar_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-1H4V7h8z" class="cls-1"/></svg>'},Tu={name:"calendar_week_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="cls-3"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-4H4V7h8z" class="cls-1"/></g></svg>'},Ru={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>'},Fu={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>'},Nu={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>'},Lu={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>'},Bu={name:"check_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>'},Pu={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>'},Vu={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>'},zu={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>'},Hu={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>'},Uu={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>'},qu={name:"circle_minus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 4c2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4 1.79-4 4-4m0-2C4.69 2 2 4.69 2 8s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6m3 7H5V7h6z" class="cls-1"/></svg>'},ju={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>'},Wu={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>'},Gu={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>'},Zu={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>'},Ku={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>'},Yu={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>'},Xu={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>'},Ju={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>'},Qu={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>'},tp={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>'},ep={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>'},np={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>'},ip={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>'},sp={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>'},op={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>'},rp={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>'},ap={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>'},lp={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>'},cp={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>'},dp={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>'},hp={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>'},up={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>'},pp={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>'},fp={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>'},mp={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>'},gp={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>'},vp={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>'},bp={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>'},yp={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>'},wp={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>'},xp={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>'},Cp={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>'},kp={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>'},Sp={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>'},_p={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>'},Ip={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>'},$p={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>'},Mp={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>'},Dp={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>'},Ep={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>'},Ap={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>'},Op={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>'},Tp={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>'},Rp={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>'},Fp={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>'},Np={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>'},Lp={name:"floppy_disk_pen_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.803 11H7V9H5v2H4V8h6v.617l1.469-1.471q.227-.224.514-.347L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497L7.372 12zM3 7V4h8v3zm11.166 1.935L13.09 7.859a.64.64 0 0 0-.908 0l-3.388 3.393-1.503 3.483 3.487-1.5 3.388-3.392a.64.64 0 0 0 0-.908m-5.683 4.803-.198-.199.916-2.116.34 1.06 1.058.35z" class="cls-1"/></svg>'},Bp={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>'},Pp={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>'},Vp={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>'},zp={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>'},Hp={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>'},Up={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>'},qp={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>'},jp={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>'},Wp={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>'},Gp={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>'},Zp={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>'},Kp={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>'},Yp={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>'},Xp={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>'},Jp={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>'},Qp={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>'},tf={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>'},ef={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>'},nf={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>'},sf={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>'},of={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>'},rf={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>'},af={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>'},lf={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>'},cf={name:"lightbulb_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 5.53C12 3.584 10.206 2 8 2S4 3.583 4 5.53c0 .736.256 1.44.74 2.04.801.99 1.285 2.456 1.555 3.427h3.41c.27-.97.754-2.437 1.556-3.428.483-.598.739-1.303.739-2.038M9.138 14H6.862l-.569-1.001v-.3l.285-.15-.285-.15v-.401h3.414v.4l-.285.15.285.15V13z" class="cls-1"/></svg>'},df={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>'},hf={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>'},uf={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>'},pf={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>'},ff={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>'},mf={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>'},gf={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>'},vf={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>'},bf={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>'},yf={name:"message_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>'},wf={name:"message_bot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.985 2.016c.286.284.645.44 1.015.485-.369.044-.728.2-1.012.484a1.7 1.7 0 0 0-.487 1.013c-.044-.37-.2-.73-.487-1.015A1.7 1.7 0 0 0 13 2.498c.369-.044.728-.2 1.012-.484.286-.285.442-.644.487-1.013.044.37.2.73.486 1.015M13 7.994c0 2.208-2.239 3.997-5 3.997S3 10.2 3 7.994s2.239-3.996 5-3.996 5 1.79 5 3.996m-7 0a1 1 0 1 0 0-1.999 1 1 0 0 0 0 2m4.5 1.008h-5s.917 1.481 2.5 1.481c1.514 0 2.5-1.48 2.5-1.48m.5-2.007a1 1 0 1 0-1.999.001 1 1 0 0 0 1.999 0m3.692 2.759c-.878 2.452-3.541 4.235-6.692 4.235a8 8 0 0 1-1.782-.204L3 15.5v-3.3c-.764-.673-1.363-1.527-1.692-2.446C.696 9.418 0 8.76 0 7.994S.696 6.57 1.308 6.235C2.186 3.783 4.849 2 8 2c1.075 0 2.09.214 3 .585V1h1v2.078c1.267.758 2.23 1.862 2.692 3.156.612.335 1.308.993 1.308 1.76s-.696 1.423-1.308 1.759M14 7.994C14 5.24 11.308 3 8 3S2 5.24 2 7.994s2.692 4.996 6 4.996 6-2.241 6-4.996" class="cls-1"/></svg>'},xf={name:"messages_sparkle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.99 8.01 2 10l.5-2H2c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1h6c.55 0 1 .45 1 1v3H8c-1.1 0-2 .91-2.01 2.01M8 7h6c.55 0 1 .45 1 1v4c0 .55-.45 1-1 1h-.5l.5 2-4-2H8c-.55 0-1-.45-1-1V8c0-.55.45-1 1-1m4.5-6c-.07.62-.34 1.22-.81 1.69s-1.07.73-1.69.81c.62.07 1.22.33 1.69.81s.74 1.08.81 1.69c.07-.62.34-1.22.81-1.69s1.07-.73 1.69-.81c-.62-.07-1.22-.33-1.69-.81-.48-.48-.74-1.08-.81-1.69" class="cls-1"/></svg>'},Cf={name:"microphone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 8V4a2 2 0 1 1 4 0v4a2 2 0 0 1-4 0m6 0v-.5a.5.5 0 1 0-1 0V8a3 3 0 1 1-6 0v-.5a.5.5 0 1 0-1 0V8c0 1.859 1.28 3.411 3 3.858V14h2v-2.142c1.72-.447 3-2 3-3.858" class="cls-1"/><path d="M6 8V4a2 2 0 1 1 4 0v4a2 2 0 0 1-4 0m6 0v-.5a.5.5 0 1 0-1 0V8a3 3 0 1 1-6 0v-.5a.5.5 0 1 0-1 0V8c0 1.859 1.28 3.411 3 3.858V14h2v-2.142c1.72-.447 3-2 3-3.858" class="cls-1"/></svg>'},kf={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>'},Sf={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>'},_f={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>'},If={name:"mountain_sun_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.457 10.097-1.468-3.011-1.195-1.026-.677.48-2.343-3.556L4.688 8.14l-1.204-.678-1.468 1.543L1 13h14zm-10.478-.2-.939 1.047.372-1.652.975-.993 2.722 3.04zm5.924.764L7.181 9.335l.17-1.958-2.192.896L7.605 4.19 9.4 7.06l-.11.943 1.197-1.038 2.228 4.345zM4.5 4.487a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0" class="cls-1"/></svg>'},$f={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>'},Mf={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>'},Df={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>'},Ef={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>'},Of={name:"paper_plane_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m1 12.5 2-4 6-1-6-1-2-4 14 5z" class="cls-1"/></svg>'},Tf={name:"paperclip_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.5 14C6.406 14 5 12.393 5 10V5c0-1.822.981-3 2.5-3S10 3.178 10 5v3.98c0 1.328-.505 2-1.5 2s-1.5-.672-1.5-2V6h1v2.98c0 1 .266 1 .5 1s.5 0 .5-1V5c0-.602-.146-2-1.5-2S6 4.398 6 5v5c0 1.384.654 3 2.5 3s2.5-1.616 2.5-3V6h1v4c0 2.393-1.406 4-3.5 4"/></svg>'},Rf={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>'},Ff={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>'},Nf={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.118 2.793 4.84 8.076 2.5 13.5l5.43-2.335 5.278-5.284a1 1 0 0 0-.001-1.414l-1.675-1.674a1 1 0 0 0-1.414 0m-5.76 9.154-.31-.309 1.427-3.296.53 1.652 1.648.543z" class="cls-1"/></svg>'},Lf={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>'},Bf={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>'},Vf={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>'},zf={name:"rectangle_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 2v12h10V2zm6 7H5V8h4zm2-2H5V6h6zm0-2H5V4h6z" class="cls-1"/></svg>'},Hf={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>'},Uf={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>'},qf={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>'},jf={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>'},Wf={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>'},Gf={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>'},Zf={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>'},Kf={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>'},Yf={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>'},Xf={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>'},Jf={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>'},Qf={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>'},tm={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>'},em={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>'},nm={name:"square_list_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.77 10.85a.715.715 0 0 0-.92.38c-.15.36.02.77.38.92a.715.715 0 0 0 .92-.38.69.69 0 0 0-.38-.91Z" class="cls-1"/><path d="m14.27 11.11.73-.3-.53-1.29-.73.3c-.15-.21-.34-.39-.55-.55l.3-.73L12.2 8l-.3.73q-.195-.03-.39-.03c-.195 0-.26 0-.39.03l-.3-.73-1.29.53.3.73c-.21.15-.39.34-.55.55l-.73-.3-.54 1.29.73.3c-.04.26-.04.53 0 .78l-.73.3.53 1.29.73-.3c.16.21.34.39.55.55l-.3.73 1.29.54.3-.73q.195.03.39.03c.195 0 .26 0 .39-.03l.3.73 1.29-.53-.3-.73c.21-.16.39-.34.55-.55l.73.3.54-1.29-.73-.3c.04-.26.04-.53 0-.78m-1.16 1.06a1.757 1.757 0 0 1-2.29.95 1.75 1.75 0 0 1-.94-2.29 1.757 1.757 0 0 1 2.29-.95c.89.37 1.31 1.39.94 2.29M7.01 11H6v-1h1.23c.12-.35.28-.69.48-1h-1.7V8h2.62c.68-.56 1.51-.91 2.43-1H6V6h6v1c.73.1 1.42.33 2 .73V2H2v12h5.73c-.48-.72-.77-1.59-.77-2.52 0-.16.03-.32.05-.48M4 4h8v1H4zm1 7H4v-1h1zm0-2H4V8h1zm0-2H4V6h1z" class="cls-1"/></svg>'},im={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>'},sm={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>'},om={name:"star_8_point_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.756 6.872 15 8.002 10.754 9.13l1.722 3.335-3.31-1.74L8.046 15l-1.118-4.276-3.312 1.736 1.727-3.332L1 7.996 5.343 6.87 3.621 3.535l3.308 1.74L8.052 1l1.12 4.276 3.31-1.734z" class="cls-1"/></svg>'},rm={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>'},am={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>'},lm={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>'},cm={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>'},dm={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>'},hm={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>'},um={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>'},pm={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>'},fm={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>'},mm={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>'},gm={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>'},vm={name:"thumb_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 10h-2V3h2zM2 6.554c0 .488.558.923.581 1.158s-.194.503-.194.796c0 .635.51 1.492 1.315 1.492H5.75c.336 0 .525.327.426.648C6.08 10.96 6 11 6 11.5 6 13 7.001 14 8 14a.5.5 0 0 0 .5-.5V12c0-1.5 1.317-1.13 2.5-3V3S8.255 2 6.5 2H5.064C3.68 2 4.034 3.334 3.839 3.404c-.453.162-1.023.676-1.023 1.35 0 .172.145.393.084.486-.123.186-.9.689-.9 1.314" class="cls-1"/></svg>'},bm={name:"thumb_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 7h2v7H2zm12 2.446c0-.488-.558-.923-.581-1.158s.194-.503.194-.796c0-.635-.51-1.492-1.315-1.492H10.25c-.336 0-.525-.327-.426-.648C9.92 5.04 10 5 10 4.5 10 3 8.999 2 8 2a.5.5 0 0 0-.5.5V4c0 1.5-1.317 1.13-2.5 3v6s2.745 1 4.5 1h1.436c1.383 0 1.03-1.334 1.225-1.404.453-.162 1.023-.676 1.023-1.35 0-.172-.145-.393-.084-.486.123-.186.9-.689.9-1.314" class="cls-1"/></svg>'},ym={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>'},wm={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>'},xm={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>'},Cm={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>'},km={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>'},Sm={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>'},_m={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>'},Im={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>'},$m={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>'},Mm={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>'},Dm={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>'},Em={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>'},Am={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>'},Om={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>'},Tm={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>'},Rm={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>'},Fm={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>'},Nm={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>'},Lm={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>'},Bm={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>'},Pm={name:"window_dock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 6h8v5H4z" class="cls-1"/><path d="M1 2v12h14V2m-2 10H3V4h10z" class="cls-1"/></svg>'},Vm={name:"window_restore_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 11V4H1v10h11v-3z" class="cls-1"/><path d="M5 2v8h10V2zm9.02 7.02L6 9V4h8z" class="cls-1"/></svg>'},zm={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>'},Hm={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>'},Um={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>'},qm={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>'},jm=Q`<div
|
|
1986
1986
|
class="icon"
|
|
1987
1987
|
aria-hidden="true"
|
|
1988
1988
|
:innerHTML=${t=>t.icon.data}
|
|
@@ -2216,7 +2216,7 @@ const kg=$t`
|
|
|
2216
2216
|
class Sg extends qs{constructor(){super(...arguments),this.selected=!1,this.disabled=!1}isNestedItem(){return Ps(this.parentElement)}handleFocus(t){this.setAttribute("tabindex","0")}handleBlur(t){this.setAttribute("tabindex","-1")}keydownHandler(t){if(t.defaultPrevented)return!1
|
|
2217
2217
|
switch(t.key){case dn:t.stopPropagation()
|
|
2218
2218
|
break
|
|
2219
|
-
case an:this.parentElement&&this.isNestedItem()&&
|
|
2219
|
+
case an:this.parentElement&&this.isNestedItem()&&Vs.focusItem(this.parentElement)}return!0}clickHandler(t){return!t.defaultPrevented&&(t.stopPropagation(),!0)}selectedChanged(t,e){this.$fastController.isConnected&&this.$emit("selected-change",this)}}t([ft({mode:"boolean"})],Sg.prototype,"selected",void 0),t([ft({mode:"boolean"})],Sg.prototype,"disabled",void 0)
|
|
2220
2220
|
const _g=Sg.compose({baseName:"anchor-tree-item",template:(t,e)=>Q`
|
|
2221
2221
|
<template
|
|
2222
2222
|
role="treeitem"
|
|
@@ -2402,7 +2402,7 @@ const Ng="nimble-icon-info"
|
|
|
2402
2402
|
Km("icon-triangle-filled",class extends Zm{constructor(){super(Sm)}})
|
|
2403
2403
|
const Lg="nimble-icon-triangle-filled"
|
|
2404
2404
|
Km("icon-times",class extends Zm{constructor(){super(xm)}})
|
|
2405
|
-
const Bg="nimble-icon-times",Pg={default:void 0,error:"error",warning:"warning",information:"information"},
|
|
2405
|
+
const Bg="nimble-icon-times",Pg={default:void 0,error:"error",warning:"warning",information:"information"},Vg=Q`
|
|
2406
2406
|
<${ol} theme="${qo.color}">
|
|
2407
2407
|
<div class="container"
|
|
2408
2408
|
role="status"
|
|
@@ -2456,9 +2456,9 @@ const Bg="nimble-icon-times",Pg={default:void 0,error:"error",warning:"warning",
|
|
|
2456
2456
|
</div>
|
|
2457
2457
|
</${ol}>
|
|
2458
2458
|
`
|
|
2459
|
-
class
|
|
2460
|
-
this.$emit("toggle",t)}dismissBanner(){this.open=!1}}t([ft({mode:"boolean"})],
|
|
2461
|
-
const Hg=
|
|
2459
|
+
class zg extends je{constructor(){super(...arguments),this.open=!1,this.severity=Pg.default,this.titleHidden=!1,this.preventDismiss=!1}openChanged(){const t={newState:this.open,oldState:!this.open}
|
|
2460
|
+
this.$emit("toggle",t)}dismissBanner(){this.open=!1}}t([ft({mode:"boolean"})],zg.prototype,"open",void 0),t([ft()],zg.prototype,"severity",void 0),t([ft({attribute:"title-hidden",mode:"boolean"})],zg.prototype,"titleHidden",void 0),t([ft({attribute:"prevent-dismiss",mode:"boolean"})],zg.prototype,"preventDismiss",void 0),Ze(zg,Sn)
|
|
2461
|
+
const Hg=zg.compose({baseName:"banner",template:Vg,styles:Rg})
|
|
2462
2462
|
Di.getOrCreate().withPrefix("nimble").register(Hg())
|
|
2463
2463
|
const Ug=$t`
|
|
2464
2464
|
${js("inline-block")}
|
|
@@ -2659,7 +2659,7 @@ const Zg=$t`
|
|
|
2659
2659
|
<slot></slot>
|
|
2660
2660
|
</section>
|
|
2661
2661
|
`
|
|
2662
|
-
const Yg=class extends
|
|
2662
|
+
const Yg=class extends zn{}.compose({baseName:"card",baseClass:zn,template:Kg,styles:Zg})
|
|
2663
2663
|
Di.getOrCreate().withPrefix("nimble").register(Yg())
|
|
2664
2664
|
const Xg=$t`
|
|
2665
2665
|
${js("inline-flex")}
|
|
@@ -3092,7 +3092,7 @@ const lv="nimble-checkbox",cv=$t`
|
|
|
3092
3092
|
}
|
|
3093
3093
|
`))
|
|
3094
3094
|
class dv extends us{constructor(){super(...arguments),this.appearance=mh,this.contentHidden=!1}get resolvedTabindex(){const t=this.tabIndex??0
|
|
3095
|
-
return this.disabled?void 0:`${t}`}}t([ft],dv.prototype,"appearance",void 0),t([ft({attribute:"appearance-variant"})],dv.prototype,"appearanceVariant",void 0),t([ft({attribute:"content-hidden",mode:"boolean"})],dv.prototype,"contentHidden",void 0),t([ft({attribute:"tabindex",converter:ut})],dv.prototype,"tabIndex",void 0),Ze(dv,re,
|
|
3095
|
+
return this.disabled?void 0:`${t}`}}t([ft],dv.prototype,"appearance",void 0),t([ft({attribute:"appearance-variant"})],dv.prototype,"appearanceVariant",void 0),t([ft({attribute:"content-hidden",mode:"boolean"})],dv.prototype,"contentHidden",void 0),t([ft({attribute:"tabindex",converter:ut})],dv.prototype,"tabIndex",void 0),Ze(dv,re,Vn)
|
|
3096
3096
|
const hv=dv.compose({baseName:"toggle-button",template:(t,e)=>Q`
|
|
3097
3097
|
<div
|
|
3098
3098
|
role="button"
|
|
@@ -3540,7 +3540,7 @@ function Sv(t){return Q`
|
|
|
3540
3540
|
<slot></slot>
|
|
3541
3541
|
</label>
|
|
3542
3542
|
`)
|
|
3543
|
-
let Iv=class extends
|
|
3543
|
+
let Iv=class extends zi{}
|
|
3544
3544
|
class $v extends(Fn(Iv)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}function Mv(t){class e extends t{constructor(){super(...arguments),this.requiredVisible=!1}}return ft({attribute:"required-visible",mode:"boolean"})(e.prototype,"requiredVisible"),e}class Dv extends(ov(Mv($v))){constructor(){super(...arguments),this.appearance=mv,this.appearanceReadOnly=!1,this.fullBleed=!1,this.open=!1,this.filteredOptions=[],this.hasOverflow=!1,this.listboxId=kn("listbox-"),this.availableViewportHeight=0,this.valueUpdatedByInput=!1,this._value="",this.filter="",this.forcedPosition=!1}get value(){return x.track(this,"value"),this._value}set value(t){const e=this._value
|
|
3545
3545
|
let n=t
|
|
3546
3546
|
if(this.$fastController.isConnected&&this.options){const e=this.findIndexOfValidOption(t),i=this.options[this.selectedIndex]?.text,s=this.options[e]?.text
|
|
@@ -3697,7 +3697,7 @@ const Av=Symbol("user dismissed"),Ov=$t`
|
|
|
3697
3697
|
border: none;
|
|
3698
3698
|
box-shadow: ${Zl};
|
|
3699
3699
|
padding: 0px;
|
|
3700
|
-
width: ${
|
|
3700
|
+
width: ${zl};
|
|
3701
3701
|
height: ${Hl};
|
|
3702
3702
|
max-height: ${Ul};
|
|
3703
3703
|
}
|
|
@@ -3862,7 +3862,7 @@ const Nv=$t`
|
|
|
3862
3862
|
display: flex;
|
|
3863
3863
|
flex-direction: column;
|
|
3864
3864
|
position: absolute;
|
|
3865
|
-
width: ${
|
|
3865
|
+
width: ${Vl};
|
|
3866
3866
|
height: 100%;
|
|
3867
3867
|
background-color: ${ll};
|
|
3868
3868
|
}
|
|
@@ -3957,14 +3957,14 @@ class Pv extends je{constructor(){super(...arguments),this.location=Bv,this.prev
|
|
|
3957
3957
|
return this.openDialog(),await new Promise(((t,e)=>{this.resolveShow=t}))}close(t){if(!this.open||this.closing)throw new Error("Drawer is not open or already closing")
|
|
3958
3958
|
this.closeReason=t,this.closeDialog()}cancelHandler(t){return t.preventDefault(),this.preventDismiss||(this.closeReason=Av,this.closeDialog()),!0}closeHandler(t){t.target===this.dialog&&this.resolveShow&&this.doResolveShow(Av)}doResolveShow(t){if(!this.resolveShow)throw new Error("Do not call doResolveShow unless there is a promise to resolve")
|
|
3959
3959
|
this.resolveShow(t),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(tn,this.animationEndHandlerFunction)}animationEndHandler(){this.dialog.removeEventListener(tn,this.animationEndHandlerFunction),this.dialog.classList.remove("animating"),this.closing&&(this.dialog.classList.remove("closing"),this.dialog.close(),this.closing=!1,this.doResolveShow(this.closeReason))}}Pv.UserDismissed=Av,t([ft],Pv.prototype,"location",void 0),t([ft({attribute:"prevent-dismiss",mode:"boolean"})],Pv.prototype,"preventDismiss",void 0),Ze(Pv,Sn)
|
|
3960
|
-
const
|
|
3961
|
-
Di.getOrCreate().withPrefix("nimble").register(
|
|
3960
|
+
const Vv=Pv.compose({baseName:"drawer",template:Lv,styles:Nv})
|
|
3961
|
+
Di.getOrCreate().withPrefix("nimble").register(Vv())
|
|
3962
3962
|
Km("icon-add",class extends Zm{constructor(){super(Bh)}})
|
|
3963
|
-
const
|
|
3963
|
+
const zv="nimble-icon-add"
|
|
3964
3964
|
Km("icon-arrow-down",class extends Zm{constructor(){super(Ph)}})
|
|
3965
3965
|
const Hv="nimble-icon-arrow-down"
|
|
3966
|
-
Km("icon-arrow-down-left-and-arrow-up-right",class extends Zm{constructor(){super(
|
|
3967
|
-
Km("icon-arrow-down-rectangle",class extends Zm{constructor(){super(
|
|
3966
|
+
Km("icon-arrow-down-left-and-arrow-up-right",class extends Zm{constructor(){super(Vh)}})
|
|
3967
|
+
Km("icon-arrow-down-rectangle",class extends Zm{constructor(){super(zh)}})
|
|
3968
3968
|
Km("icon-arrow-down-right-and-arrow-up-left",class extends Zm{constructor(){super(Hh)}})
|
|
3969
3969
|
Km("icon-arrow-expander-up",class extends Zm{constructor(){super(Wh)}})
|
|
3970
3970
|
Km("icon-arrow-in-circle",class extends Zm{constructor(){super(Gh)}})
|
|
@@ -4015,10 +4015,10 @@ Km("icon-chart-diagram-parent-focus",class extends Zm{constructor(){super(Nu)}})
|
|
|
4015
4015
|
Km("icon-chart-diagram-parent-focus-two-child",class extends Zm{constructor(){super(Lu)}})
|
|
4016
4016
|
Km("icon-check",class extends Zm{constructor(){super(Bu)}})
|
|
4017
4017
|
Km("icon-check-dot",class extends Zm{constructor(){super(Pu)}})
|
|
4018
|
-
Km("icon-circle",class extends Zm{constructor(){super(
|
|
4018
|
+
Km("icon-circle",class extends Zm{constructor(){super(Vu)}})
|
|
4019
4019
|
Km("icon-circle-broken",class extends Zm{constructor(){super(Hu)}})
|
|
4020
4020
|
Km("icon-circle-check",class extends Zm{constructor(){super(Uu)}})
|
|
4021
|
-
Km("icon-circle-filled",class extends Zm{constructor(){super(
|
|
4021
|
+
Km("icon-circle-filled",class extends Zm{constructor(){super(zu)}})
|
|
4022
4022
|
Km("icon-circle-minus",class extends Zm{constructor(){super(qu)}})
|
|
4023
4023
|
Km("icon-circle-partial-broken",class extends Zm{constructor(){super(ju)}})
|
|
4024
4024
|
Km("icon-circle-slash",class extends Zm{constructor(){super(Wu)}})
|
|
@@ -4068,8 +4068,8 @@ Km("icon-floppy-disk-checkmark",class extends Zm{constructor(){super(Np)}})
|
|
|
4068
4068
|
Km("icon-floppy-disk-pen",class extends Zm{constructor(){super(Lp)}})
|
|
4069
4069
|
Km("icon-floppy-disk-star-arrow-right",class extends Zm{constructor(){super(Bp)}})
|
|
4070
4070
|
Km("icon-floppy-disk-three-dots",class extends Zm{constructor(){super(Pp)}})
|
|
4071
|
-
Km("icon-folder",class extends Zm{constructor(){super(
|
|
4072
|
-
Km("icon-folder-open",class extends Zm{constructor(){super(
|
|
4071
|
+
Km("icon-folder",class extends Zm{constructor(){super(Vp)}})
|
|
4072
|
+
Km("icon-folder-open",class extends Zm{constructor(){super(zp)}})
|
|
4073
4073
|
Km("icon-forward-slash",class extends Zm{constructor(){super(Hp)}})
|
|
4074
4074
|
Km("icon-four-dots-square",class extends Zm{constructor(){super(Up)}})
|
|
4075
4075
|
Km("icon-function",class extends Zm{constructor(){super(qp)}})
|
|
@@ -4126,8 +4126,8 @@ Km("icon-pencil",class extends Zm{constructor(){super(Nf)}})
|
|
|
4126
4126
|
Km("icon-play",class extends Zm{constructor(){super(Lf)}})
|
|
4127
4127
|
Km("icon-pot-with-lid",class extends Zm{constructor(){super(Bf)}})
|
|
4128
4128
|
Km("icon-question",class extends Zm{constructor(){super(Pf)}})
|
|
4129
|
-
Km("icon-rectangle-check-lines",class extends Zm{constructor(){super(
|
|
4130
|
-
Km("icon-rectangle-lines",class extends Zm{constructor(){super(
|
|
4129
|
+
Km("icon-rectangle-check-lines",class extends Zm{constructor(){super(Vf)}})
|
|
4130
|
+
Km("icon-rectangle-lines",class extends Zm{constructor(){super(zf)}})
|
|
4131
4131
|
Km("icon-running-arrow",class extends Zm{constructor(){super(Hf)}})
|
|
4132
4132
|
Km("icon-screen-check-lines",class extends Zm{constructor(){super(Uf)}})
|
|
4133
4133
|
Km("icon-screen-check-lines-calendar",class extends Zm{constructor(){super(qf)}})
|
|
@@ -4181,8 +4181,8 @@ Km("icon-webvi-custom",class extends Zm{constructor(){super(Nm)}})
|
|
|
4181
4181
|
Km("icon-webvi-host",class extends Zm{constructor(){super(Lm)}})
|
|
4182
4182
|
Km("icon-window-code",class extends Zm{constructor(){super(Bm)}})
|
|
4183
4183
|
Km("icon-window-dock",class extends Zm{constructor(){super(Pm)}})
|
|
4184
|
-
Km("icon-window-restore",class extends Zm{constructor(){super(
|
|
4185
|
-
Km("icon-window-text",class extends Zm{constructor(){super(
|
|
4184
|
+
Km("icon-window-restore",class extends Zm{constructor(){super(Vm)}})
|
|
4185
|
+
Km("icon-window-text",class extends Zm{constructor(){super(zm)}})
|
|
4186
4186
|
Km("icon-wrench-hammer",class extends Zm{constructor(){super(Hm)}})
|
|
4187
4187
|
Km("icon-xmark",class extends Zm{constructor(){super(Um)}})
|
|
4188
4188
|
Km("icon-xmark-check",class extends Zm{constructor(){super(qm)}})
|
|
@@ -4199,7 +4199,7 @@ const ob="Collapse group",rb="Expand group",ab="Collapse row",lb="Expand row",cb
|
|
|
4199
4199
|
class Bb extends tb{constructor(){super(...arguments),this.supportedLabels=Lb}}t([ft({attribute:"group-collapse"})],Bb.prototype,"groupCollapse",void 0),t([ft({attribute:"group-expand"})],Bb.prototype,"groupExpand",void 0),t([ft({attribute:"row-collapse"})],Bb.prototype,"rowCollapse",void 0),t([ft({attribute:"row-expand"})],Bb.prototype,"rowExpand",void 0),t([ft({attribute:"collapse-all"})],Bb.prototype,"collapseAll",void 0),t([ft({attribute:"cell-action-menu"})],Bb.prototype,"cellActionMenu",void 0),t([ft({attribute:"column-header-grouped"})],Bb.prototype,"columnHeaderGrouped",void 0),t([ft({attribute:"column-header-sorted-ascending"})],Bb.prototype,"columnHeaderSortedAscending",void 0),t([ft({attribute:"column-header-sorted-descending"})],Bb.prototype,"columnHeaderSortedDescending",void 0),t([ft({attribute:"select-all"})],Bb.prototype,"selectAll",void 0),t([ft({attribute:"group-select-all"})],Bb.prototype,"groupSelectAll",void 0),t([ft({attribute:"row-select"})],Bb.prototype,"rowSelect",void 0),t([ft({attribute:"row-operation-column"})],Bb.prototype,"rowOperationColumn",void 0),t([ft({attribute:"row-loading"})],Bb.prototype,"rowLoading",void 0),t([ft({attribute:"group-row-placeholder-no-value"})],Bb.prototype,"groupRowPlaceholderNoValue",void 0),t([ft({attribute:"group-row-placeholder-empty"})],Bb.prototype,"groupRowPlaceholderEmpty",void 0)
|
|
4200
4200
|
const Pb=Bb.compose({baseName:"label-provider-table",styles:eb})
|
|
4201
4201
|
Di.getOrCreate().withPrefix("nimble").register(Pb())
|
|
4202
|
-
const
|
|
4202
|
+
const Vb=$t`
|
|
4203
4203
|
${js("flex")}
|
|
4204
4204
|
|
|
4205
4205
|
:host {
|
|
@@ -4268,8 +4268,8 @@ const zb=$t`
|
|
|
4268
4268
|
[part='end'] {
|
|
4269
4269
|
display: none;
|
|
4270
4270
|
}
|
|
4271
|
-
`,
|
|
4272
|
-
class Hb extends Wn{constructor(){super(...arguments),this.hidden=!1,this.visuallyHidden=!1,this.activeOption=!1,this.hasOverflow=!1}get elementTextContent(){return
|
|
4271
|
+
`,zb=t=>t.assignedNodes().map((t=>t.textContent?.trim())).filter((t=>void 0!==t&&""!==t)).join(" ")
|
|
4272
|
+
class Hb extends Wn{constructor(){super(...arguments),this.hidden=!1,this.visuallyHidden=!1,this.activeOption=!1,this.hasOverflow=!1}get elementTextContent(){return zb(this.contentSlot)}connectedCallback(){super.connectedCallback()
|
|
4273
4273
|
const t=this.getListOptionOwner()
|
|
4274
4274
|
t?.registerOption(this)}getListOptionOwner(){let t=this.parentElement
|
|
4275
4275
|
for(;t;){if(this.isListOptionOwner(t))return t
|
|
@@ -4296,7 +4296,7 @@ const Ub=Hb.compose({baseName:"list-option",baseClass:Wn,template:(t,e)=>Q`
|
|
|
4296
4296
|
</span>
|
|
4297
4297
|
${ae(0,e)}
|
|
4298
4298
|
</template>
|
|
4299
|
-
`,styles:
|
|
4299
|
+
`,styles:Vb})
|
|
4300
4300
|
Di.getOrCreate().withPrefix("nimble").register(Ub())
|
|
4301
4301
|
const qb="nimble-list-option",jb=$t`
|
|
4302
4302
|
${js("flex")}
|
|
@@ -4380,7 +4380,7 @@ const qb="nimble-list-option",jb=$t`
|
|
|
4380
4380
|
</span>
|
|
4381
4381
|
</template>
|
|
4382
4382
|
`
|
|
4383
|
-
class Gb extends je{constructor(){super(...arguments),this.hidden=!1,this.visuallyHidden=!1,this.topSeparatorVisible=!1,this.bottomSeparatorVisible=!1,this.hasOverflow=!1,this.hiddenOptions=new Set}get labelContent(){return this.label?this.label:this.$fastController.isConnected?
|
|
4383
|
+
class Gb extends je{constructor(){super(...arguments),this.hidden=!1,this.visuallyHidden=!1,this.topSeparatorVisible=!1,this.bottomSeparatorVisible=!1,this.hasOverflow=!1,this.hiddenOptions=new Set}get labelContent(){return this.label?this.label:this.$fastController.isConnected?zb(this.labelSlot):""}clickHandler(t){t.preventDefault(),t.stopImmediatePropagation()}handleChange(t,e){t instanceof Hb&&("hidden"===e||"visuallyHidden"===e)&&(t.hidden||t.visuallyHidden?this.hiddenOptions.add(t):this.hiddenOptions.delete(t),this.visuallyHidden=this.hiddenOptions.size===this.listOptions.length)}listOptionsChanged(t,e){this.hiddenOptions.clear(),e.filter((t=>t.hidden||t.visuallyHidden)).forEach((t=>this.hiddenOptions.add(t))),t?.forEach((t=>{const e=x.getNotifier(t)
|
|
4384
4384
|
e.unsubscribe(this,"hidden"),e.unsubscribe(this,"visuallyHidden")}))
|
|
4385
4385
|
let n=!0
|
|
4386
4386
|
e?.forEach((t=>{const e=x.getNotifier(t)
|
|
@@ -4945,7 +4945,8 @@ const by="underline",yy="outline",wy="block",xy="frameless",Cy=$t`
|
|
|
4945
4945
|
>
|
|
4946
4946
|
<slot ${ie("defaultSlottedNodes")}></slot>
|
|
4947
4947
|
</label>`)
|
|
4948
|
-
class Sy extends(ov(Mv(ts))){constructor(){super(...arguments),this.appearance=by,this.fullBleed=!1,this.appearanceReadOnly=!1}connectedCallback(){super.connectedCallback(),this.control.setAttribute("role","spinbutton")}}t(
|
|
4948
|
+
class Sy extends(ov(Mv(ts))){constructor(){super(...arguments),this.appearance=by,this.fullBleed=!1,this.appearanceReadOnly=!1,this.decimalSeparator=".",this.inputFilterRegExp=this.buildFilterRegExp(this.decimalSeparator),this.langSubscriber={handleChange:()=>this.updateDecimalSeparatorAndInputFilter()}}connectedCallback(){super.connectedCallback(),this.control.setAttribute("role","spinbutton"),this.updateDecimalSeparatorAndInputFilter(),tl.subscribe(this.langSubscriber,this)}disconnectedCallback(){super.disconnectedCallback(),tl.unsubscribe(this.langSubscriber,this)}sanitizeInput(t){return t.replace(this.inputFilterRegExp,"")}syncValueFromInnerControl(){this.value="."!==this.decimalSeparator?this.control.value.replace(this.decimalSeparator,"."):this.control.value}syncValueToInnerControl(){this.control.value="."!==this.decimalSeparator?this.value.replace(".",this.decimalSeparator):this.value}updateDecimalSeparatorAndInputFilter(){const t=this.decimalSeparator
|
|
4949
|
+
this.decimalSeparator=this.getSeparatorForLanguange(tl.getValueFor(this)),this.decimalSeparator!==t&&(this.inputFilterRegExp=this.buildFilterRegExp(this.decimalSeparator),this.control.value=this.control.value.replace(t,this.decimalSeparator))}getSeparatorForLanguange(t){return Intl.NumberFormat(t).formatToParts(1.1).find((t=>"decimal"===t.type)).value}buildFilterRegExp(t){return new RegExp(`[^0-9\\-+e${t}]`,"g")}}t([ft],Sy.prototype,"appearance",void 0),t([ft({attribute:"full-bleed",mode:"boolean"})],Sy.prototype,"fullBleed",void 0),t([ft({attribute:"appearance-readonly",mode:"boolean"})],Sy.prototype,"appearanceReadOnly",void 0)
|
|
4949
4950
|
const _y=Sy.compose({baseName:"number-field",baseClass:ts,template:(t,e)=>Q`
|
|
4950
4951
|
<template class="${t=>t.readOnly?"readonly":""}">
|
|
4951
4952
|
${ky}
|
|
@@ -4969,7 +4970,7 @@ const _y=Sy.compose({baseName:"number-field",baseClass:ts,template:(t,e)=>Q`
|
|
|
4969
4970
|
?required="${t=>t.required}"
|
|
4970
4971
|
size="${t=>t.size}"
|
|
4971
4972
|
type="text"
|
|
4972
|
-
inputmode="
|
|
4973
|
+
inputmode="text"
|
|
4973
4974
|
min="${t=>t.min}"
|
|
4974
4975
|
max="${t=>t.max}"
|
|
4975
4976
|
step="${t=>t.step}"
|
|
@@ -5043,9 +5044,9 @@ const _y=Sy.compose({baseName:"number-field",baseClass:ts,template:(t,e)=>Q`
|
|
|
5043
5044
|
aria-hidden="true"
|
|
5044
5045
|
>
|
|
5045
5046
|
${t=>hg.getValueFor(t)}
|
|
5046
|
-
<${
|
|
5047
|
+
<${zv}
|
|
5047
5048
|
slot="start">
|
|
5048
|
-
</${
|
|
5049
|
+
</${zv}>
|
|
5049
5050
|
</${Lh}>
|
|
5050
5051
|
`,end:Q`
|
|
5051
5052
|
<${Fg}
|
|
@@ -5164,7 +5165,7 @@ const $y=class extends ss{}.compose({baseName:"radio",baseClass:ss,template:(t,e
|
|
|
5164
5165
|
<slot ${ie("defaultSlottedNodes")}></slot>
|
|
5165
5166
|
</label>
|
|
5166
5167
|
</template>
|
|
5167
|
-
`,styles:Iy,checkedIndicator:
|
|
5168
|
+
`,styles:Iy,checkedIndicator:zu.data})
|
|
5168
5169
|
Di.getOrCreate().withPrefix("nimble").register($y())
|
|
5169
5170
|
const My=$t`
|
|
5170
5171
|
${js("inline-block")}
|
|
@@ -5323,37 +5324,37 @@ if(e instanceof t)return[e]
|
|
|
5323
5324
|
let n=e.slice()
|
|
5324
5325
|
return n.sort(((t,e)=>t.type.rank-e.type.rank)),n}}
|
|
5325
5326
|
Py.none=[]
|
|
5326
|
-
class
|
|
5327
|
-
return n&&new
|
|
5327
|
+
class Vy extends Error{}class zy{constructor(t,e,n){this.content=t,this.openStart=e,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let n=Uy(this.content,t+this.openStart,e)
|
|
5328
|
+
return n&&new zy(n,this.openStart,this.openEnd)}removeBetween(t,e){return new zy(Hy(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null
|
|
5328
5329
|
let t={content:this.content.toJSON()}
|
|
5329
|
-
return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return
|
|
5330
|
+
return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return zy.empty
|
|
5330
5331
|
let n=e.openStart||0,i=e.openEnd||0
|
|
5331
5332
|
if("number"!=typeof n||"number"!=typeof i)throw new RangeError("Invalid input for Slice.fromJSON")
|
|
5332
|
-
return new
|
|
5333
|
+
return new zy(Fy.fromJSON(t,e.content),n,i)}static maxOpen(t,e=!0){let n=0,i=0
|
|
5333
5334
|
for(let i=t.firstChild;i&&!i.isLeaf&&(e||!i.type.spec.isolating);i=i.firstChild)n++
|
|
5334
5335
|
for(let n=t.lastChild;n&&!n.isLeaf&&(e||!n.type.spec.isolating);n=n.lastChild)i++
|
|
5335
|
-
return new
|
|
5336
|
+
return new zy(t,n,i)}}function Hy(t,e,n){let{index:i,offset:s}=t.findIndex(e),o=t.maybeChild(i),{index:r,offset:a}=t.findIndex(n)
|
|
5336
5337
|
if(s==e||o.isText){if(a!=n&&!t.child(r).isText)throw new RangeError("Removing non-flat range")
|
|
5337
5338
|
return t.cut(0,e).append(t.cut(n))}if(i!=r)throw new RangeError("Removing non-flat range")
|
|
5338
5339
|
return t.replaceChild(i,o.copy(Hy(o.content,e-s-1,n-s-1)))}function Uy(t,e,n,i){let{index:s,offset:o}=t.findIndex(e),r=t.maybeChild(s)
|
|
5339
5340
|
if(o==e||r.isText)return t.cut(0,e).append(n).append(t.cut(e))
|
|
5340
5341
|
let a=Uy(r.content,e-o-1,n)
|
|
5341
|
-
return a&&t.replaceChild(s,r.copy(a))}function qy(t,e,n){if(n.openStart>t.depth)throw new
|
|
5342
|
-
if(t.depth-n.openStart!=e.depth-n.openEnd)throw new
|
|
5342
|
+
return a&&t.replaceChild(s,r.copy(a))}function qy(t,e,n){if(n.openStart>t.depth)throw new Vy("Inserted content deeper than insertion position")
|
|
5343
|
+
if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Vy("Inconsistent open depths")
|
|
5343
5344
|
return jy(t,e,n,0)}function jy(t,e,n,i){let s=t.index(i),o=t.node(i)
|
|
5344
5345
|
if(s==e.index(i)&&i<t.depth-n.openStart){let r=jy(t,e,n,i+1)
|
|
5345
5346
|
return o.copy(o.content.replaceChild(s,r))}if(n.content.size){if(n.openStart||n.openEnd||t.depth!=i||e.depth!=i){let{start:s,end:r}=function(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content)
|
|
5346
5347
|
for(let t=n-1;t>=0;t--)i=e.node(t).copy(Fy.from(i))
|
|
5347
5348
|
return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}(n,t)
|
|
5348
5349
|
return Yy(o,Xy(t,s,r,e,i))}{let i=t.parent,s=i.content
|
|
5349
|
-
return Yy(i,s.cut(0,t.parentOffset).append(n.content).append(s.cut(e.parentOffset)))}}return Yy(o,Jy(t,e,i))}function Wy(t,e){if(!e.type.compatibleContent(t.type))throw new
|
|
5350
|
+
return Yy(i,s.cut(0,t.parentOffset).append(n.content).append(s.cut(e.parentOffset)))}}return Yy(o,Jy(t,e,i))}function Wy(t,e){if(!e.type.compatibleContent(t.type))throw new Vy("Cannot join "+e.type.name+" onto "+t.type.name)}function Gy(t,e,n){let i=t.node(n)
|
|
5350
5351
|
return Wy(i,e.node(n)),i}function Zy(t,e){let n=e.length-1
|
|
5351
5352
|
n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function Ky(t,e,n,i){let s=(e||t).node(n),o=0,r=e?e.index(n):s.childCount
|
|
5352
5353
|
t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(Zy(t.nodeAfter,i),o++))
|
|
5353
5354
|
for(let t=o;t<r;t++)Zy(s.child(t),i)
|
|
5354
5355
|
e&&e.depth==n&&e.textOffset&&Zy(e.nodeBefore,i)}function Yy(t,e){return t.type.checkContent(e),t.copy(e)}function Xy(t,e,n,i,s){let o=t.depth>s&&Gy(t,e,s+1),r=i.depth>s&&Gy(n,i,s+1),a=[]
|
|
5355
5356
|
return Ky(null,t,s,a),o&&r&&e.index(s)==n.index(s)?(Wy(o,r),Zy(Yy(o,Xy(t,e,n,i,s+1)),a)):(o&&Zy(Yy(o,Jy(t,e,s+1)),a),Ky(e,n,s,a),r&&Zy(Yy(r,Jy(n,i,s+1)),a)),Ky(i,null,s,a),new Fy(a)}function Jy(t,e,n){let i=[]
|
|
5356
|
-
if(Ky(null,t,n,i),t.depth>n){Zy(Yy(Gy(t,e,n+1),Jy(t,e,n+1)),i)}return Ky(e,null,n,i),new Fy(i)}
|
|
5357
|
+
if(Ky(null,t,n,i),t.depth>n){Zy(Yy(Gy(t,e,n+1),Jy(t,e,n+1)),i)}return Ky(e,null,n,i),new Fy(i)}zy.empty=new zy(Fy.empty,0,0)
|
|
5357
5358
|
class Qy{constructor(t,e,n){this.pos=t,this.path=e,this.parentOffset=n,this.depth=e.length/3-1}resolveDepth(t){return null==t?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[3*this.resolveDepth(t)]}index(t){return this.path[3*this.resolveDepth(t)+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t!=this.depth||this.textOffset?1:0)}start(t){return 0==(t=this.resolveDepth(t))?0:this.path[3*t-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position before the top-level node")
|
|
5358
5359
|
return t==this.depth+1?this.pos:this.path[3*t-1]}after(t){if(!(t=this.resolveDepth(t)))throw new RangeError("There is no position after the top-level node")
|
|
5359
5360
|
return t==this.depth+1?this.pos:this.path[3*t-1]+this.path[3*t].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,e=this.index(this.depth)
|
|
@@ -5390,9 +5391,9 @@ if(i.pos==e)return i}else nw.set(t,n=new tw)
|
|
|
5390
5391
|
let i=n.elts[n.i]=Qy.resolve(t,e)
|
|
5391
5392
|
return n.i=(n.i+1)%ew,i}}class tw{constructor(){this.elts=[],this.i=0}}const ew=12,nw=new WeakMap
|
|
5392
5393
|
class iw{constructor(t,e,n){this.$from=t,this.$to=e,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 sw=Object.create(null)
|
|
5393
|
-
let ow=class t{constructor(t,e,n,i=Py.none){this.type=t,this.attrs=e,this.marks=i,this.content=n||Fy.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,e,n,i=0){this.content.nodesBetween(t,e,n,i,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,e,n,i){return this.content.textBetween(t,e,n,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,e,n){return this.type==t&&By(this.attrs,e||t.defaultAttrs||sw)&&Py.sameSet(this.marks,n||Py.none)}copy(e=null){return e==this.content?this:new t(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new t(this.type,this.attrs,this.content,e)}cut(t,e=this.content.size){return 0==t&&e==this.content.size?this:this.copy(this.content.cut(t,e))}slice(t,e=this.content.size,n=!1){if(t==e)return
|
|
5394
|
+
let ow=class t{constructor(t,e,n,i=Py.none){this.type=t,this.attrs=e,this.marks=i,this.content=n||Fy.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,e,n,i=0){this.content.nodesBetween(t,e,n,i,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,e,n,i){return this.content.textBetween(t,e,n,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,e,n){return this.type==t&&By(this.attrs,e||t.defaultAttrs||sw)&&Py.sameSet(this.marks,n||Py.none)}copy(e=null){return e==this.content?this:new t(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new t(this.type,this.attrs,this.content,e)}cut(t,e=this.content.size){return 0==t&&e==this.content.size?this:this.copy(this.content.cut(t,e))}slice(t,e=this.content.size,n=!1){if(t==e)return zy.empty
|
|
5394
5395
|
let i=this.resolve(t),s=this.resolve(e),o=n?0:i.sharedDepth(e),r=i.start(o),a=i.node(o).content.cut(i.pos-r,s.pos-r)
|
|
5395
|
-
return new
|
|
5396
|
+
return new zy(a,i.depth-o,s.depth-o)}replace(t,e,n){return qy(this.resolve(t),this.resolve(e),n)}nodeAt(t){for(let e=this;;){let{index:n,offset:i}=e.content.findIndex(t)
|
|
5396
5397
|
if(e=e.maybeChild(n),!e)return null
|
|
5397
5398
|
if(i==t||e.isText)return e
|
|
5398
5399
|
t-=i+1}}childAfter(t){let{index:e,offset:n}=this.content.findIndex(t)
|
|
@@ -5568,7 +5569,7 @@ n.indexOf(e)<0&&n.push(e),this.styles.push(t)}})),this.normalizeLists=!this.tags
|
|
|
5568
5569
|
let n=t.nodes[e.node]
|
|
5569
5570
|
return n.contentMatch.matchType(n)}))}parse(t,e={}){let n=new Ow(this,e,!1)
|
|
5570
5571
|
return n.addAll(t,Py.none,e.from,e.to),n.finish()}parseSlice(t,e={}){let n=new Ow(this,e,!0)
|
|
5571
|
-
return n.addAll(t,Py.none,e.from,e.to),
|
|
5572
|
+
return n.addAll(t,Py.none,e.from,e.to),zy.maxOpen(n.finish())}matchTag(t,e,n){for(let i=n?this.tags.indexOf(n)+1:0;i<this.tags.length;i++){let n=this.tags[i]
|
|
5572
5573
|
if(Tw(t,n.tag)&&(void 0===n.namespace||t.namespaceURI==n.namespace)&&(!n.context||e.matchesContext(n.context))){if(n.getAttrs){let e=n.getAttrs(t)
|
|
5573
5574
|
if(!1===e)continue
|
|
5574
5575
|
n.attrs=e||void 0}return n}}}matchStyle(t,e,n,i){for(let s=i?this.styles.indexOf(i)+1:0;s<this.styles.length;s++){let i=this.styles[s],o=i.style
|
|
@@ -5673,25 +5674,25 @@ for(;n<s.length&&o<t.marks.length;){let e=t.marks[o]
|
|
|
5673
5674
|
if(this.marks[e.type.name]){if(!e.eq(s[n][0])||!1===e.type.spec.spanning)break
|
|
5674
5675
|
n++,o++}else o++}for(;n<s.length;)i=s.pop()[1]
|
|
5675
5676
|
for(;o<t.marks.length;){let n=t.marks[o++],r=this.serializeMark(n,t.isInline,e)
|
|
5676
|
-
r&&(s.push([n,i]),i.appendChild(r.dom),i=r.contentDOM||r.dom)}}i.appendChild(this.serializeNodeInner(t,e))})),n}serializeNodeInner(t,e){let{dom:n,contentDOM:i}=
|
|
5677
|
+
r&&(s.push([n,i]),i.appendChild(r.dom),i=r.contentDOM||r.dom)}}i.appendChild(this.serializeNodeInner(t,e))})),n}serializeNodeInner(t,e){let{dom:n,contentDOM:i}=zw(Bw(e),this.nodes[t.type.name](t),null,t.attrs)
|
|
5677
5678
|
if(i){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec")
|
|
5678
5679
|
this.serializeFragment(t.content,e,i)}return n}serializeNode(t,e={}){let n=this.serializeNodeInner(t,e)
|
|
5679
5680
|
for(let i=t.marks.length-1;i>=0;i--){let s=this.serializeMark(t.marks[i],t.isInline,e)
|
|
5680
5681
|
s&&((s.contentDOM||s.dom).appendChild(n),n=s.dom)}return n}serializeMark(t,e,n={}){let i=this.marks[t.type.name]
|
|
5681
|
-
return i&&
|
|
5682
|
+
return i&&zw(Bw(n),i(t,e),null,t.attrs)}static renderSpec(t,e,n=null,i){return zw(t,e,n,i)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new Nw(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let e=Lw(t.nodes)
|
|
5682
5683
|
return e.text||(e.text=t=>t.text),e}static marksFromSchema(t){return Lw(t.marks)}}function Lw(t){let e={}
|
|
5683
5684
|
for(let n in t){let i=t[n].spec.toDOM
|
|
5684
5685
|
i&&(e[n]=i)}return e}function Bw(t){return t.document||window.document}const Pw=new WeakMap
|
|
5685
|
-
function
|
|
5686
|
+
function Vw(t){let e=Pw.get(t)
|
|
5686
5687
|
return void 0===e&&Pw.set(t,e=function(t){let e=null
|
|
5687
5688
|
function n(t){if(t&&"object"==typeof t)if(Array.isArray(t))if("string"==typeof t[0])e||(e=[]),e.push(t)
|
|
5688
5689
|
else for(let e=0;e<t.length;e++)n(t[e])
|
|
5689
|
-
else for(let e in t)n(t[e])}return n(t),e}(t)),e}function
|
|
5690
|
+
else for(let e in t)n(t[e])}return n(t),e}(t)),e}function zw(t,e,n,i){if("string"==typeof e)return{dom:t.createTextNode(e)}
|
|
5690
5691
|
if(null!=e.nodeType)return{dom:e}
|
|
5691
5692
|
if(e.dom&&null!=e.dom.nodeType)return e
|
|
5692
5693
|
let s,o=e[0]
|
|
5693
5694
|
if("string"!=typeof o)throw new RangeError("Invalid array passed to renderSpec")
|
|
5694
|
-
if(i&&(s=
|
|
5695
|
+
if(i&&(s=Vw(i))&&s.indexOf(e)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.")
|
|
5695
5696
|
let r,a=o.indexOf(" ")
|
|
5696
5697
|
a>0&&(n=o.slice(0,a),o=o.slice(a+1))
|
|
5697
5698
|
let l=n?t.createElementNS(n,o):t.createElement(o),c=e[1],d=1
|
|
@@ -5699,7 +5700,7 @@ if(c&&"object"==typeof c&&null==c.nodeType&&!Array.isArray(c)){d=2
|
|
|
5699
5700
|
for(let t in c)if(null!=c[t]){let e=t.indexOf(" ")
|
|
5700
5701
|
e>0?l.setAttributeNS(t.slice(0,e),t.slice(e+1),c[t]):l.setAttribute(t,c[t])}}for(let s=d;s<e.length;s++){let o=e[s]
|
|
5701
5702
|
if(0===o){if(s<e.length-1||s>d)throw new RangeError("Content hole must be the only child of its parent node")
|
|
5702
|
-
return{dom:l,contentDOM:l}}{let{dom:e,contentDOM:s}=
|
|
5703
|
+
return{dom:l,contentDOM:l}}{let{dom:e,contentDOM:s}=zw(t,o,n,i)
|
|
5703
5704
|
if(l.appendChild(e),s){if(r)throw new RangeError("Multiple content holes")
|
|
5704
5705
|
r=s}}}return{dom:l,contentDOM:r}}const Hw=Math.pow(2,16)
|
|
5705
5706
|
function Uw(t){return 65535&t}class qw{constructor(t,e,n){this.pos=t,this.delInfo=e,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class jw{constructor(t,e=!1){if(this.ranges=t,this.inverted=e,!t.length&&jw.empty)return jw.empty}recover(t){let e=0,n=Uw(t)
|
|
@@ -5733,21 +5734,21 @@ class Zw{getMap(){return jw.empty}merge(t){return null}static fromJSON(t,e){if(!
|
|
|
5733
5734
|
let n=Gw[e.stepType]
|
|
5734
5735
|
if(!n)throw new RangeError(`No step type ${e.stepType} defined`)
|
|
5735
5736
|
return n.fromJSON(t,e)}static jsonID(t,e){if(t in Gw)throw new RangeError("Duplicate use of step JSON ID "+t)
|
|
5736
|
-
return Gw[t]=e,e.prototype.jsonID=t,e}}class Kw{constructor(t,e){this.doc=t,this.failed=e}static ok(t){return new Kw(t,null)}static fail(t){return new Kw(null,t)}static fromReplace(t,e,n,i){try{return Kw.ok(t.replace(e,n,i))}catch(t){if(t instanceof
|
|
5737
|
+
return Gw[t]=e,e.prototype.jsonID=t,e}}class Kw{constructor(t,e){this.doc=t,this.failed=e}static ok(t){return new Kw(t,null)}static fail(t){return new Kw(null,t)}static fromReplace(t,e,n,i){try{return Kw.ok(t.replace(e,n,i))}catch(t){if(t instanceof Vy)return Kw.fail(t.message)
|
|
5737
5738
|
throw t}}}function Yw(t,e,n){let i=[]
|
|
5738
5739
|
for(let s=0;s<t.childCount;s++){let o=t.child(s)
|
|
5739
|
-
o.content.size&&(o=o.copy(Yw(o.content,e,o))),o.isInline&&(o=e(o,n,s)),i.push(o)}return Fy.fromArray(i)}class Xw extends Zw{constructor(t,e,n){super(),this.from=t,this.to=e,this.mark=n}apply(t){let e=t.slice(this.from,this.to),n=t.resolve(this.from),i=n.node(n.sharedDepth(this.to)),s=new
|
|
5740
|
+
o.content.size&&(o=o.copy(Yw(o.content,e,o))),o.isInline&&(o=e(o,n,s)),i.push(o)}return Fy.fromArray(i)}class Xw extends Zw{constructor(t,e,n){super(),this.from=t,this.to=e,this.mark=n}apply(t){let e=t.slice(this.from,this.to),n=t.resolve(this.from),i=n.node(n.sharedDepth(this.to)),s=new zy(Yw(e.content,((t,e)=>t.isAtom&&e.type.allowsMarkType(this.mark.type)?t.mark(this.mark.addToSet(t.marks)):t),i),e.openStart,e.openEnd)
|
|
5740
5741
|
return Kw.fromReplace(t,this.from,this.to,s)}invert(){return new Jw(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1)
|
|
5741
5742
|
return e.deleted&&n.deleted||e.pos>=n.pos?null:new Xw(e.pos,n.pos,this.mark)}merge(t){return t instanceof Xw&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Xw(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON")
|
|
5742
5743
|
return new Xw(e.from,e.to,t.markFromJSON(e.mark))}}Zw.jsonID("addMark",Xw)
|
|
5743
|
-
class Jw extends Zw{constructor(t,e,n){super(),this.from=t,this.to=e,this.mark=n}apply(t){let e=t.slice(this.from,this.to),n=new
|
|
5744
|
+
class Jw extends Zw{constructor(t,e,n){super(),this.from=t,this.to=e,this.mark=n}apply(t){let e=t.slice(this.from,this.to),n=new zy(Yw(e.content,(t=>t.mark(this.mark.removeFromSet(t.marks))),t),e.openStart,e.openEnd)
|
|
5744
5745
|
return Kw.fromReplace(t,this.from,this.to,n)}invert(){return new Xw(this.from,this.to,this.mark)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1)
|
|
5745
5746
|
return e.deleted&&n.deleted||e.pos>=n.pos?null:new Jw(e.pos,n.pos,this.mark)}merge(t){return t instanceof Jw&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new Jw(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON")
|
|
5746
5747
|
return new Jw(e.from,e.to,t.markFromJSON(e.mark))}}Zw.jsonID("removeMark",Jw)
|
|
5747
5748
|
class Qw extends Zw{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos)
|
|
5748
5749
|
if(!e)return Kw.fail("No node at mark step's position")
|
|
5749
5750
|
let n=e.type.create(e.attrs,null,this.mark.addToSet(e.marks))
|
|
5750
|
-
return Kw.fromReplace(t,this.pos,this.pos+1,new
|
|
5751
|
+
return Kw.fromReplace(t,this.pos,this.pos+1,new zy(Fy.from(n),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos)
|
|
5751
5752
|
if(e){let t=this.mark.addToSet(e.marks)
|
|
5752
5753
|
if(t.length==e.marks.length){for(let n=0;n<e.marks.length;n++)if(!e.marks[n].isInSet(t))return new Qw(this.pos,e.marks[n])
|
|
5753
5754
|
return new Qw(this.pos,this.mark)}}return new tx(this.pos,this.mark)}map(t){let e=t.mapResult(this.pos,1)
|
|
@@ -5756,18 +5757,18 @@ return new Qw(e.pos,t.markFromJSON(e.mark))}}Zw.jsonID("addNodeMark",Qw)
|
|
|
5756
5757
|
class tx extends Zw{constructor(t,e){super(),this.pos=t,this.mark=e}apply(t){let e=t.nodeAt(this.pos)
|
|
5757
5758
|
if(!e)return Kw.fail("No node at mark step's position")
|
|
5758
5759
|
let n=e.type.create(e.attrs,null,this.mark.removeFromSet(e.marks))
|
|
5759
|
-
return Kw.fromReplace(t,this.pos,this.pos+1,new
|
|
5760
|
+
return Kw.fromReplace(t,this.pos,this.pos+1,new zy(Fy.from(n),0,e.isLeaf?0:1))}invert(t){let e=t.nodeAt(this.pos)
|
|
5760
5761
|
return e&&this.mark.isInSet(e.marks)?new Qw(this.pos,this.mark):this}map(t){let e=t.mapResult(this.pos,1)
|
|
5761
5762
|
return e.deletedAfter?null:new tx(e.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,e){if("number"!=typeof e.pos)throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON")
|
|
5762
5763
|
return new tx(e.pos,t.markFromJSON(e.mark))}}Zw.jsonID("removeNodeMark",tx)
|
|
5763
5764
|
class ex extends Zw{constructor(t,e,n,i=!1){super(),this.from=t,this.to=e,this.slice=n,this.structure=i}apply(t){return this.structure&&ix(t,this.from,this.to)?Kw.fail("Structure replace would overwrite content"):Kw.fromReplace(t,this.from,this.to,this.slice)}getMap(){return new jw([this.from,this.to-this.from,this.slice.size])}invert(t){return new ex(this.from,this.from+this.slice.size,t.slice(this.from,this.to))}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1)
|
|
5764
5765
|
return e.deletedAcross&&n.deletedAcross?null:new ex(e.pos,Math.max(e.pos,n.pos),this.slice,this.structure)}merge(t){if(!(t instanceof ex)||t.structure||this.structure)return null
|
|
5765
5766
|
if(this.from+this.slice.size!=t.from||this.slice.openEnd||t.slice.openStart){if(t.to!=this.from||this.slice.openStart||t.slice.openEnd)return null
|
|
5766
|
-
{let e=this.slice.size+t.slice.size==0?
|
|
5767
|
-
return new ex(t.from,this.to,e,this.structure)}}{let e=this.slice.size+t.slice.size==0?
|
|
5767
|
+
{let e=this.slice.size+t.slice.size==0?zy.empty:new zy(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd)
|
|
5768
|
+
return new ex(t.from,this.to,e,this.structure)}}{let e=this.slice.size+t.slice.size==0?zy.empty:new zy(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd)
|
|
5768
5769
|
return new ex(this.from,this.to+(t.to-t.from),e,this.structure)}}toJSON(){let t={stepType:"replace",from:this.from,to:this.to}
|
|
5769
5770
|
return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON")
|
|
5770
|
-
return new ex(e.from,e.to,
|
|
5771
|
+
return new ex(e.from,e.to,zy.fromJSON(t,e.slice),!!e.structure)}}Zw.jsonID("replace",ex)
|
|
5771
5772
|
class nx extends Zw{constructor(t,e,n,i,s,o,r=!1){super(),this.from=t,this.to=e,this.gapFrom=n,this.gapTo=i,this.slice=s,this.insert=o,this.structure=r}apply(t){if(this.structure&&(ix(t,this.from,this.gapFrom)||ix(t,this.gapTo,this.to)))return Kw.fail("Structure gap-replace would overwrite content")
|
|
5772
5773
|
let e=t.slice(this.gapFrom,this.gapTo)
|
|
5773
5774
|
if(e.openStart||e.openEnd)return Kw.fail("Gap is not a flat range")
|
|
@@ -5776,7 +5777,7 @@ return n?Kw.fromReplace(t,this.from,this.to,n):Kw.fail("Content does not fit in
|
|
|
5776
5777
|
return new nx(this.from,this.from+this.slice.size+e,this.from+this.insert,this.from+this.insert+e,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(t){let e=t.mapResult(this.from,1),n=t.mapResult(this.to,-1),i=this.from==this.gapFrom?e.pos:t.map(this.gapFrom,-1),s=this.to==this.gapTo?n.pos:t.map(this.gapTo,1)
|
|
5777
5778
|
return e.deletedAcross&&n.deletedAcross||i<e.pos||s>n.pos?null:new nx(e.pos,n.pos,i,s,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert}
|
|
5778
5779
|
return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,e){if("number"!=typeof e.from||"number"!=typeof e.to||"number"!=typeof e.gapFrom||"number"!=typeof e.gapTo||"number"!=typeof e.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON")
|
|
5779
|
-
return new nx(e.from,e.to,e.gapFrom,e.gapTo,
|
|
5780
|
+
return new nx(e.from,e.to,e.gapFrom,e.gapTo,zy.fromJSON(t,e.slice),e.insert,!!e.structure)}}function ix(t,e,n){let i=t.resolve(e),s=n-e,o=i.depth
|
|
5780
5781
|
for(;s>0&&o>0&&i.indexAfter(o)==i.node(o).childCount;)o--,s--
|
|
5781
5782
|
if(s>0){let t=i.node(o).maybeChild(i.indexAfter(o))
|
|
5782
5783
|
for(;s>0;){if(!t||t.isLeaf)return!0
|
|
@@ -5785,9 +5786,9 @@ for(let e=0;e<o.childCount;e++){let l=o.child(e),c=a+l.nodeSize,d=i.matchType(l.
|
|
|
5785
5786
|
if(d){i=d
|
|
5786
5787
|
for(let e=0;e<l.marks.length;e++)n.allowsMarkType(l.marks[e].type)||t.step(new Jw(a,c,l.marks[e]))
|
|
5787
5788
|
if(s&&l.isText&&"pre"!=n.whitespace){let t,e,i=/\r?\n|\r/g
|
|
5788
|
-
for(;t=i.exec(l.text);)e||(e=new
|
|
5789
|
+
for(;t=i.exec(l.text);)e||(e=new zy(Fy.from(n.schema.text(" ",n.allowedMarks(l.marks))),0,0)),r.push(new ex(a+t.index,a+t.index+t[0].length,e))}}else r.push(new ex(a,c,zy.empty))
|
|
5789
5790
|
a=c}if(!i.validEnd){let e=i.fillBefore(Fy.empty,!0)
|
|
5790
|
-
t.replace(a,a,new
|
|
5791
|
+
t.replace(a,a,new zy(e,0,0))}for(let e=r.length-1;e>=0;e--)t.step(r[e])}function ox(t,e,n){return(0==e||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function rx(t){let e=t.parent.content.cutByIndex(t.startIndex,t.endIndex)
|
|
5791
5792
|
for(let n=t.depth;;--n){let i=t.$from.node(n),s=t.$from.index(n),o=t.$to.indexAfter(n)
|
|
5792
5793
|
if(n<t.depth&&i.canReplace(s,o,e))return n
|
|
5793
5794
|
if(0==n||i.type.spec.isolating||!ox(i,s,o))break}return null}function ax(t,e,n=null,i=t){let s=function(t,e){let{parent:n,startIndex:i,endIndex:s}=t,o=n.contentMatchAt(i).findWrapping(e)
|
|
@@ -5818,7 +5819,7 @@ if(!t.type.allowsMarks(o.marks))return!1}return n.validEnd}(t,e))}function fx(t,
|
|
|
5818
5819
|
for(let t=i.depth;;t--){let s,o,r=i.index(t)
|
|
5819
5820
|
if(t==i.depth?(s=i.nodeBefore,o=i.nodeAfter):n>0?(s=i.node(t+1),r++,o=i.node(t).maybeChild(r)):(s=i.node(t).maybeChild(r-1),o=i.node(t+1)),s&&!s.isTextblock&&px(s,o)&&i.node(t).canReplace(r,r+1))return e
|
|
5820
5821
|
if(0==t)break
|
|
5821
|
-
e=n<0?i.before(t):i.after(t)}}function mx(t,e,n=e,i=
|
|
5822
|
+
e=n<0?i.before(t):i.after(t)}}function mx(t,e,n=e,i=zy.empty){if(e==n&&!i.size)return null
|
|
5822
5823
|
let s=t.resolve(e),o=t.resolve(n)
|
|
5823
5824
|
return gx(s,o,i)?new ex(e,n,i):new vx(s,o,i).fit()}function gx(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}Zw.jsonID("replaceAround",nx)
|
|
5824
5825
|
class vx{constructor(t,e,n){this.$from=t,this.$to=e,this.unplaced=n,this.frontier=[],this.placed=Fy.empty
|
|
@@ -5828,7 +5829,7 @@ t?this.placeNodes(t):this.openMore()||this.dropNode()}let t=this.mustMoveInline(
|
|
|
5828
5829
|
if(!i)return null
|
|
5829
5830
|
let s=this.placed,o=n.depth,r=i.depth
|
|
5830
5831
|
for(;o&&r&&1==s.childCount;)s=s.firstChild.content,o--,r--
|
|
5831
|
-
let a=new
|
|
5832
|
+
let a=new zy(s,o,r)
|
|
5832
5833
|
return t>-1?new nx(n.pos,t,this.$to.pos,this.$to.end(),a,e):a.size||n.pos!=this.$to.pos?new ex(n.pos,i.pos,a):null}findFittable(){let t=this.unplaced.openStart
|
|
5833
5834
|
for(let e=this.unplaced.content,n=0,i=this.unplaced.openEnd;n<t;n++){let s=e.firstChild
|
|
5834
5835
|
if(e.childCount>1&&(i=0),s.type.spec.isolating&&i<=n){t=n
|
|
@@ -5839,9 +5840,9 @@ for(let t=this.depth;t>=0;t--){let o,{type:r,match:a}=this.frontier[t],l=null
|
|
|
5839
5840
|
if(1==e&&(s?a.matchType(s.type)||(l=a.fillBefore(Fy.from(s),!1)):i&&r.compatibleContent(i.type)))return{sliceDepth:n,frontierDepth:t,parent:i,inject:l}
|
|
5840
5841
|
if(2==e&&s&&(o=a.findWrapping(s.type)))return{sliceDepth:n,frontierDepth:t,parent:i,wrap:o}
|
|
5841
5842
|
if(i&&a.matchType(i.type))break}}}openMore(){let{content:t,openStart:e,openEnd:n}=this.unplaced,i=wx(t,e)
|
|
5842
|
-
return!(!i.childCount||i.firstChild.isLeaf)&&(this.unplaced=new
|
|
5843
|
+
return!(!i.childCount||i.firstChild.isLeaf)&&(this.unplaced=new zy(t,e+1,Math.max(n,i.size+e>=t.size-n?e+1:0)),!0)}dropNode(){let{content:t,openStart:e,openEnd:n}=this.unplaced,i=wx(t,e)
|
|
5843
5844
|
if(i.childCount<=1&&e>0){let s=t.size-e<=e+i.size
|
|
5844
|
-
this.unplaced=new
|
|
5845
|
+
this.unplaced=new zy(bx(t,e-1,1),e-1,s?e-1:n)}else this.unplaced=new zy(bx(t,e,1),e,n)}placeNodes({sliceDepth:t,frontierDepth:e,parent:n,inject:i,wrap:s}){for(;this.depth>e;)this.closeFrontierNode()
|
|
5845
5846
|
if(s)for(let t=0;t<s.length;t++)this.openFrontierNode(s[t])
|
|
5846
5847
|
let o=this.unplaced,r=n?n.content:o.content,a=o.openStart-t,l=0,c=[],{match:d,type:h}=this.frontier[e]
|
|
5847
5848
|
if(i){for(let t=0;t<i.childCount;t++)c.push(i.child(t))
|
|
@@ -5851,7 +5852,7 @@ if(!e)break
|
|
|
5851
5852
|
l++,(l>1||0==a||t.content.size)&&(d=e,c.push(xx(t.mark(h.allowedMarks(t.marks)),1==l?a:0,l==r.childCount?u:-1)))}let p=l==r.childCount
|
|
5852
5853
|
p||(u=-1),this.placed=yx(this.placed,e,Fy.from(c)),this.frontier[e].match=d,p&&u<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode()
|
|
5853
5854
|
for(let t=0,e=r;t<u;t++){let t=e.lastChild
|
|
5854
|
-
this.frontier.push({type:t.type,match:t.contentMatchAt(t.childCount)}),e=t.content}this.unplaced=p?0==t?
|
|
5855
|
+
this.frontier.push({type:t.type,match:t.contentMatchAt(t.childCount)}),e=t.content}this.unplaced=p?0==t?zy.empty:new zy(bx(o.content,t-1,1),t-1,u<0?o.openEnd:t-1):new zy(bx(o.content,t,l),o.openStart,o.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1
|
|
5855
5856
|
let t,e=this.frontier[this.depth]
|
|
5856
5857
|
if(!e.type.isTextblock||!Cx(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return-1
|
|
5857
5858
|
let{depth:n}=this.$to,i=this.$to.after(n)
|
|
@@ -5882,7 +5883,7 @@ let n=Object.create(null)
|
|
|
5882
5883
|
for(let t in e.attrs)n[t]=e.attrs[t]
|
|
5883
5884
|
n[this.attr]=this.value
|
|
5884
5885
|
let i=e.type.create(n,null,e.marks)
|
|
5885
|
-
return Kw.fromReplace(t,this.pos,this.pos+1,new
|
|
5886
|
+
return Kw.fromReplace(t,this.pos,this.pos+1,new zy(Fy.from(i),0,e.isLeaf?0:1))}getMap(){return jw.empty}invert(t){return new _x(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let e=t.mapResult(this.pos,1)
|
|
5886
5887
|
return e.deletedAfter?null:new _x(e.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,e){if("number"!=typeof e.pos||"string"!=typeof e.attr)throw new RangeError("Invalid input for AttrStep.fromJSON")
|
|
5887
5888
|
return new _x(e.pos,e.attr,e.value)}}Zw.jsonID("attr",_x)
|
|
5888
5889
|
class Ix extends Zw{constructor(t,e){super(),this.attr=t,this.value=e}apply(t){let e=Object.create(null)
|
|
@@ -5897,8 +5898,8 @@ return n.__proto__=t.prototype,n},($x.prototype=Object.create(Error.prototype)).
|
|
|
5897
5898
|
let Mx=class{constructor(t){this.doc=t,this.steps=[],this.docs=[],this.mapping=new Ww}get before(){return this.docs.length?this.docs[0]:this.doc}step(t){let e=this.maybeStep(t)
|
|
5898
5899
|
if(e.failed)throw new $x(e.failed)
|
|
5899
5900
|
return this}maybeStep(t){let e=t.apply(this.doc)
|
|
5900
|
-
return e.failed||this.addStep(t,e.doc),e}get docChanged(){return this.steps.length>0}addStep(t,e){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=e}replace(t,e=t,n=
|
|
5901
|
-
return i&&this.step(i),this}replaceWith(t,e,n){return this.replace(t,e,new
|
|
5901
|
+
return e.failed||this.addStep(t,e.doc),e}get docChanged(){return this.steps.length>0}addStep(t,e){this.docs.push(this.doc),this.steps.push(t),this.mapping.appendMap(t.getMap()),this.doc=e}replace(t,e=t,n=zy.empty){let i=mx(this.doc,t,e,n)
|
|
5902
|
+
return i&&this.step(i),this}replaceWith(t,e,n){return this.replace(t,e,new zy(Fy.from(n),0,0))}delete(t,e){return this.replace(t,e,zy.empty)}insert(t,e){return this.replaceWith(t,t,e)}replaceRange(t,e,n){return function(t,e,n,i){if(!i.size)return t.deleteRange(e,n)
|
|
5902
5903
|
let s=t.doc.resolve(e),o=t.doc.resolve(n)
|
|
5903
5904
|
if(gx(s,o,i))return t.step(new ex(e,n,i))
|
|
5904
5905
|
let r=Sx(s,t.doc.resolve(n))
|
|
@@ -5917,7 +5918,7 @@ for(let e=i.openStart;e>=0;e--){let a=(e+d+1)%(i.openStart+1),h=c[a]
|
|
|
5917
5918
|
if(h)for(let e=0;e<r.length;e++){let c=r[(e+l)%r.length],d=!0
|
|
5918
5919
|
c<0&&(d=!1,c=-c)
|
|
5919
5920
|
let u=s.node(c-1),p=s.index(c-1)
|
|
5920
|
-
if(u.canReplaceWith(p,p,h.type,h.marks))return t.replace(s.before(c),d?o.after(c):n,new
|
|
5921
|
+
if(u.canReplaceWith(p,p,h.type,h.marks))return t.replace(s.before(c),d?o.after(c):n,new zy(kx(i.content,0,i.openStart,a),a,i.openEnd))}}let u=t.steps.length
|
|
5921
5922
|
for(let a=r.length-1;a>=0&&(t.replace(e,n,i),!(t.steps.length>u));a--){let t=r[a]
|
|
5922
5923
|
t<0||(e=s.before(t),n=o.after(t))}}(this,t,e,n),this}replaceRangeWith(t,e,n){return function(t,e,n,i){if(!i.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let s=function(t,e,n){let i=t.resolve(e)
|
|
5923
5924
|
if(i.parent.canReplaceWith(i.index(),i.index(),n))return e
|
|
@@ -5926,7 +5927,7 @@ if(i.node(t).canReplaceWith(e,e,n))return i.before(t+1)
|
|
|
5926
5927
|
if(e>0)return null}if(i.parentOffset==i.parent.content.size)for(let t=i.depth-1;t>=0;t--){let e=i.indexAfter(t)
|
|
5927
5928
|
if(i.node(t).canReplaceWith(e,e,n))return i.after(t+1)
|
|
5928
5929
|
if(e<i.node(t).childCount)return null}return null}(t.doc,e,i.type)
|
|
5929
|
-
null!=s&&(e=n=s)}t.replaceRange(e,n,new
|
|
5930
|
+
null!=s&&(e=n=s)}t.replaceRange(e,n,new zy(Fy.from(i),0,0))}(this,t,e,n),this}deleteRange(t,e){return function(t,e,n){let i=t.doc.resolve(e),s=t.doc.resolve(n),o=Sx(i,s)
|
|
5930
5931
|
for(let e=0;e<o.length;e++){let n=o[e],r=e==o.length-1
|
|
5931
5932
|
if(r&&0==n||i.node(n).type.contentMatch.validEnd)return t.delete(i.start(n),s.end(n))
|
|
5932
5933
|
if(n>0&&(r||i.node(n-1).canReplace(i.index(n-1),s.indexAfter(n-1))))return t.delete(i.before(n),s.after(n))}for(let o=1;o<=i.depth&&o<=s.depth;o++)if(e-i.start(o)==i.depth-o&&n>i.end(o)&&s.end(o)-n!=s.depth-o&&i.start(o-1)==s.start(o-1)&&i.node(o-1).canReplace(i.index(o-1),s.index(o-1)))return t.delete(i.before(o),n)
|
|
@@ -5934,17 +5935,17 @@ t.delete(e,n)}(this,t,e),this}lift(t,e){return function(t,e,n){let{$from:i,$to:s
|
|
|
5934
5935
|
for(let t=o,e=!1;t>n;t--)e||i.index(t)>0?(e=!0,d=Fy.from(i.node(t).copy(d)),h++):l--
|
|
5935
5936
|
let u=Fy.empty,p=0
|
|
5936
5937
|
for(let t=o,e=!1;t>n;t--)e||s.after(t+1)<s.end(t)?(e=!0,u=Fy.from(s.node(t).copy(u)),p++):c++
|
|
5937
|
-
t.step(new nx(l,c,r,a,new
|
|
5938
|
+
t.step(new nx(l,c,r,a,new zy(d.append(u),h,p),d.size-h,!0))}(this,t,e),this}join(t,e=1){return function(t,e,n){let i=null,{linebreakReplacement:s}=t.doc.type.schema,o=t.doc.resolve(e-n),r=o.node().type
|
|
5938
5939
|
if(s&&r.inlineContent){let t="pre"==r.whitespace,e=!!r.contentMatch.matchType(s)
|
|
5939
5940
|
t&&!e?i=!1:!t&&e&&(i=!0)}let a=t.steps.length
|
|
5940
5941
|
if(!1===i){let i=t.doc.resolve(e+n)
|
|
5941
5942
|
dx(t,i.node(),i.before(),a)}r.inlineContent&&sx(t,e+n-1,r,o.node().contentMatchAt(o.index()),null==i)
|
|
5942
5943
|
let l=t.mapping.slice(a),c=l.map(e-n)
|
|
5943
|
-
if(t.step(new ex(c,l.map(e+n,-1),
|
|
5944
|
+
if(t.step(new ex(c,l.map(e+n,-1),zy.empty,!0)),!0===i){let e=t.doc.resolve(c)
|
|
5944
5945
|
cx(t,e.node(),e.before(),t.steps.length)}}(this,t,e),this}wrap(t,e){return function(t,e,n){let i=Fy.empty
|
|
5945
5946
|
for(let t=n.length-1;t>=0;t--){if(i.size){let e=n[t].type.contentMatch.matchFragment(i)
|
|
5946
5947
|
if(!e||!e.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}i=Fy.from(n[t].type.create(n[t].attrs,i))}let s=e.start,o=e.end
|
|
5947
|
-
t.step(new nx(s,o,s,o,new
|
|
5948
|
+
t.step(new nx(s,o,s,o,new zy(i,0,0),n.length,!0))}(this,t,e),this}setBlockType(t,e=t,n,i=null){return function(t,e,n,i,s){if(!i.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock")
|
|
5948
5949
|
let o=t.steps.length
|
|
5949
5950
|
t.doc.nodesBetween(e,n,((e,n)=>{let r="function"==typeof s?s(e):s
|
|
5950
5951
|
if(e.isTextblock&&!e.hasMarkup(i,r)&&function(t,e,n){let i=t.resolve(e),s=i.index()
|
|
@@ -5952,13 +5953,13 @@ return i.parent.canReplaceWith(s,s+1,n)}(t.doc,t.mapping.slice(o).map(n),i)){let
|
|
|
5952
5953
|
if(i.schema.linebreakReplacement){let t="pre"==i.whitespace,e=!!i.contentMatch.matchType(i.schema.linebreakReplacement)
|
|
5953
5954
|
t&&!e?s=!1:!t&&e&&(s=!0)}!1===s&&dx(t,e,n,o),sx(t,t.mapping.slice(o).map(n,1),i,void 0,null===s)
|
|
5954
5955
|
let a=t.mapping.slice(o),l=a.map(n,1),c=a.map(n+e.nodeSize,1)
|
|
5955
|
-
return t.step(new nx(l,c,l+1,c-1,new
|
|
5956
|
+
return t.step(new nx(l,c,l+1,c-1,new zy(Fy.from(i.create(r,null,e.marks)),0,0),1,!0)),!0===s&&cx(t,e,n,o),!1}}))}(this,t,e,n,i),this}setNodeMarkup(t,e,n=null,i){return function(t,e,n,i,s){let o=t.doc.nodeAt(e)
|
|
5956
5957
|
if(!o)throw new RangeError("No node at given position")
|
|
5957
5958
|
n||(n=o.type)
|
|
5958
5959
|
let r=n.create(i,null,s||o.marks)
|
|
5959
5960
|
if(o.isLeaf)return t.replaceWith(e,e+o.nodeSize,r)
|
|
5960
5961
|
if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name)
|
|
5961
|
-
t.step(new nx(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new
|
|
5962
|
+
t.step(new nx(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new zy(Fy.from(r),0,0),1,!0))}(this,t,e,n,i),this}setNodeAttribute(t,e,n){return this.step(new _x(t,e,n)),this}setDocAttribute(t,e){return this.step(new Ix(t,e)),this}addNodeMark(t,e){return this.step(new Qw(t,e)),this}removeNodeMark(t,e){let n=this.doc.nodeAt(t)
|
|
5962
5963
|
if(!n)throw new RangeError("No node at position "+t)
|
|
5963
5964
|
if(e instanceof Py)e.isInSet(n.marks)&&this.step(new tx(t,e))
|
|
5964
5965
|
else{let i,s=n.marks,o=[]
|
|
@@ -5966,7 +5967,7 @@ for(;i=e.isInSet(s);)o.push(new tx(t,i)),s=i.removeFromSet(s)
|
|
|
5966
5967
|
for(let t=o.length-1;t>=0;t--)this.step(o[t])}return this}split(t,e=1,n){return function(t,e,n=1,i){let s=t.doc.resolve(e),o=Fy.empty,r=Fy.empty
|
|
5967
5968
|
for(let t=s.depth,e=s.depth-n,a=n-1;t>e;t--,a--){o=Fy.from(s.node(t).copy(o))
|
|
5968
5969
|
let e=i&&i[a]
|
|
5969
|
-
r=Fy.from(e?e.type.create(e.attrs,r):s.node(t).copy(r))}t.step(new ex(e,e,new
|
|
5970
|
+
r=Fy.from(e?e.type.create(e.attrs,r):s.node(t).copy(r))}t.step(new ex(e,e,new zy(o.append(r),n,n),!0))}(this,t,e,n),this}addMark(t,e,n){return function(t,e,n,i){let s,o,r=[],a=[]
|
|
5970
5971
|
t.doc.nodesBetween(e,n,((t,l,c)=>{if(!t.isInline)return
|
|
5971
5972
|
let d=t.marks
|
|
5972
5973
|
if(!i.isInSet(d)&&c.type.allowsMarkType(i.type)){let c=Math.max(l,e),h=Math.min(l+t.nodeSize,n),u=i.addToSet(d)
|
|
@@ -5984,16 +5985,16 @@ e.step==o-1&&l.eq(s[t].style)&&(n=e)}n?(n.to=i,n.step=o):s.push({style:l,from:Ma
|
|
|
5984
5985
|
const Dx=Object.create(null)
|
|
5985
5986
|
let Ex=class{constructor(t,e,n){this.$anchor=t,this.$head=e,this.ranges=n||[new Ax(t.min(e),t.max(e))]}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 t=this.ranges
|
|
5986
5987
|
for(let e=0;e<t.length;e++)if(t[e].$from.pos!=t[e].$to.pos)return!1
|
|
5987
|
-
return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(t,e=
|
|
5988
|
+
return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(t,e=zy.empty){let n=e.content.lastChild,i=null
|
|
5988
5989
|
for(let t=0;t<e.openEnd;t++)i=n,n=n.lastChild
|
|
5989
5990
|
let s=t.steps.length,o=this.ranges
|
|
5990
5991
|
for(let r=0;r<o.length;r++){let{$from:a,$to:l}=o[r],c=t.mapping.slice(s)
|
|
5991
|
-
t.replaceRange(c.map(a.pos),c.map(l.pos),r?
|
|
5992
|
+
t.replaceRange(c.map(a.pos),c.map(l.pos),r?zy.empty:e),0==r&&zx(t,s,(n?n.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(t,e){let n=t.steps.length,i=this.ranges
|
|
5992
5993
|
for(let s=0;s<i.length;s++){let{$from:o,$to:r}=i[s],a=t.mapping.slice(n),l=a.map(o.pos),c=a.map(r.pos)
|
|
5993
|
-
s?t.deleteRange(l,c):(t.replaceRangeWith(l,c,e),
|
|
5994
|
+
s?t.deleteRange(l,c):(t.replaceRangeWith(l,c,e),zx(t,n,e.isInline?-1:1))}}static findFrom(t,e,n=!1){let i=t.parent.inlineContent?new Rx(t):Vx(t.node(0),t.parent,t.pos,t.index(),e,n)
|
|
5994
5995
|
if(i)return i
|
|
5995
|
-
for(let i=t.depth-1;i>=0;i--){let s=e<0?
|
|
5996
|
-
if(s)return s}return null}static near(t,e=1){return this.findFrom(t,e)||this.findFrom(t,-e)||new Bx(t.node(0))}static atStart(t){return
|
|
5996
|
+
for(let i=t.depth-1;i>=0;i--){let s=e<0?Vx(t.node(0),t.node(i),t.before(i+1),t.index(i),e,n):Vx(t.node(0),t.node(i),t.after(i+1),t.index(i)+1,e,n)
|
|
5997
|
+
if(s)return s}return null}static near(t,e=1){return this.findFrom(t,e)||this.findFrom(t,-e)||new Bx(t.node(0))}static atStart(t){return Vx(t,t,0,0,1)||new Bx(t)}static atEnd(t){return Vx(t,t,t.content.size,t.childCount,-1)||new Bx(t)}static fromJSON(t,e){if(!e||!e.type)throw new RangeError("Invalid input for Selection.fromJSON")
|
|
5997
5998
|
let n=Dx[e.type]
|
|
5998
5999
|
if(!n)throw new RangeError(`No selection type ${e.type} defined`)
|
|
5999
6000
|
return n.fromJSON(t,e)}static jsonID(t,e){if(t in Dx)throw new RangeError("Duplicate use of selection JSON ID "+t)
|
|
@@ -6003,7 +6004,7 @@ class Ax{constructor(t,e){this.$from=t,this.$to=e}}let Ox=!1
|
|
|
6003
6004
|
function Tx(t){Ox||t.parent.inlineContent||(Ox=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class Rx extends Ex{constructor(t,e=t){Tx(t),Tx(e),super(t,e)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,e){let n=t.resolve(e.map(this.head))
|
|
6004
6005
|
if(!n.parent.inlineContent)return Ex.near(n)
|
|
6005
6006
|
let i=t.resolve(e.map(this.anchor))
|
|
6006
|
-
return new Rx(i.parent.inlineContent?i:n,n)}replace(t,e=
|
|
6007
|
+
return new Rx(i.parent.inlineContent?i:n,n)}replace(t,e=zy.empty){if(super.replace(t,e),e==zy.empty){let e=this.$from.marksAcross(this.$to)
|
|
6007
6008
|
e&&t.ensureMarks(e)}}eq(t){return t instanceof Rx&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new Fx(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(t,e){if("number"!=typeof e.anchor||"number"!=typeof e.head)throw new RangeError("Invalid input for TextSelection.fromJSON")
|
|
6008
6009
|
return new Rx(t.resolve(e.anchor),t.resolve(e.head))}static create(t,e,n=e){let i=t.resolve(e)
|
|
6009
6010
|
return new this(i,n==e?i:t.resolve(n))}static between(t,e,n){let i=t.pos-e.pos
|
|
@@ -6012,18 +6013,18 @@ if(!t)return Ex.near(e,n)
|
|
|
6012
6013
|
e=t.$head}return t.parent.inlineContent||(0==i||(t=(Ex.findFrom(t,-n,!0)||Ex.findFrom(t,n,!0)).$anchor).pos<e.pos!=i<0)&&(t=e),new Rx(t,e)}}Ex.jsonID("text",Rx)
|
|
6013
6014
|
class Fx{constructor(t,e){this.anchor=t,this.head=e}map(t){return new Fx(t.map(this.anchor),t.map(this.head))}resolve(t){return Rx.between(t.resolve(this.anchor),t.resolve(this.head))}}class Nx extends Ex{constructor(t){let e=t.nodeAfter,n=t.node(0).resolve(t.pos+e.nodeSize)
|
|
6014
6015
|
super(t,n),this.node=e}map(t,e){let{deleted:n,pos:i}=e.mapResult(this.anchor),s=t.resolve(i)
|
|
6015
|
-
return n?Ex.near(s):new Nx(s)}content(){return new
|
|
6016
|
+
return n?Ex.near(s):new Nx(s)}content(){return new zy(Fy.from(this.node),0,0)}eq(t){return t instanceof Nx&&t.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new Lx(this.anchor)}static fromJSON(t,e){if("number"!=typeof e.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON")
|
|
6016
6017
|
return new Nx(t.resolve(e.anchor))}static create(t,e){return new Nx(t.resolve(e))}static isSelectable(t){return!t.isText&&!1!==t.type.spec.selectable}}Nx.prototype.visible=!1,Ex.jsonID("node",Nx)
|
|
6017
6018
|
class Lx{constructor(t){this.anchor=t}map(t){let{deleted:e,pos:n}=t.mapResult(this.anchor)
|
|
6018
6019
|
return e?new Fx(n,n):new Lx(n)}resolve(t){let e=t.resolve(this.anchor),n=e.nodeAfter
|
|
6019
|
-
return n&&Nx.isSelectable(n)?new Nx(e):Ex.near(e)}}class Bx extends Ex{constructor(t){super(t.resolve(0),t.resolve(t.content.size))}replace(t,e=
|
|
6020
|
+
return n&&Nx.isSelectable(n)?new Nx(e):Ex.near(e)}}class Bx extends Ex{constructor(t){super(t.resolve(0),t.resolve(t.content.size))}replace(t,e=zy.empty){if(e==zy.empty){t.delete(0,t.doc.content.size)
|
|
6020
6021
|
let e=Ex.atStart(t.doc)
|
|
6021
6022
|
e.eq(t.selection)||t.setSelection(e)}else super.replace(t,e)}toJSON(){return{type:"all"}}static fromJSON(t){return new Bx(t)}map(t){return new Bx(t)}eq(t){return t instanceof Bx}getBookmark(){return Px}}Ex.jsonID("all",Bx)
|
|
6022
6023
|
const Px={map(){return this},resolve:t=>new Bx(t)}
|
|
6023
|
-
function
|
|
6024
|
+
function Vx(t,e,n,i,s,o=!1){if(e.inlineContent)return Rx.create(t,n)
|
|
6024
6025
|
for(let r=i-(s>0?0:1);s>0?r<e.childCount:r>=0;r+=s){let i=e.child(r)
|
|
6025
|
-
if(i.isAtom){if(!o&&Nx.isSelectable(i))return Nx.create(t,n-(s<0?i.nodeSize:0))}else{let e=
|
|
6026
|
-
if(e)return e}n+=i.nodeSize*s}return null}function
|
|
6026
|
+
if(i.isAtom){if(!o&&Nx.isSelectable(i))return Nx.create(t,n-(s<0?i.nodeSize:0))}else{let e=Vx(t,i,n+s,s<0?i.childCount:0,s,o)
|
|
6027
|
+
if(e)return e}n+=i.nodeSize*s}return null}function zx(t,e,n){let i=t.steps.length-1
|
|
6027
6028
|
if(i<e)return
|
|
6028
6029
|
let s,o=t.steps[i];(o instanceof ex||o instanceof nx)&&(t.mapping.maps[i].forEach(((t,e,n,i)=>{null==s&&(s=i)})),t.setSelection(Ex.near(t.doc.resolve(s),n)))}class Hx extends Mx{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(t){if(t.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document")
|
|
6029
6030
|
return this.curSelection=t,this.curSelectionFor=this.steps.length,this.updated=-3&this.updated|1,this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(t){return this.storedMarks=t,this.updated|=2,this}ensureMarks(t){return Py.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(t,e){super.addStep(t,e),this.updated=-3&this.updated,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,e=!0){let n=this.selection
|
|
@@ -6104,7 +6105,7 @@ if(t<r){n=d,r=t,i=t&&3==n.nodeType?{left:p.right<e.left?p.right:p.left,top:e.top
|
|
|
6104
6105
|
continue}}else p.top>e.top&&!s&&p.left<=e.left&&p.right>=e.left&&(s=d,o={left:Math.max(p.left,Math.min(p.right,e.left)),top:p.top})
|
|
6105
6106
|
!n&&(e.left>=p.right&&e.top>=p.top||e.left>=p.left&&e.top>=p.bottom)&&(a=h+1)}}return!n&&s&&(n=s,i=o,r=0),n&&3==n.nodeType?function(t,e){let n=t.nodeValue.length,i=document.createRange()
|
|
6106
6107
|
for(let s=0;s<n;s++){i.setEnd(t,s+1),i.setStart(t,s)
|
|
6107
|
-
let n=
|
|
6108
|
+
let n=zC(i,1)
|
|
6108
6109
|
if(n.top!=n.bottom&&LC(e,n))return{node:t,offset:s+(e.left>=(n.left+n.right)/2?1:0)}}return{node:t,offset:0}}(n,i):!n||r&&1==n.nodeType?{node:t,offset:a}:NC(n,i)}function LC(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function BC(t,e,n){let i=t.childNodes.length
|
|
6109
6110
|
if(i&&n.top<n.bottom)for(let s=Math.max(0,Math.min(i-1,Math.floor(i*(e.top-n.top)/(n.bottom-n.top))-2)),o=s;;){let n=t.childNodes[o]
|
|
6110
6111
|
if(1==n.nodeType){let t=n.getClientRects()
|
|
@@ -6128,21 +6129,21 @@ n=r.dom.parentNode}return s>-1?s:t.docView.posFromDOM(e,n,-1)}(t,n,s,e))}null==r
|
|
|
6128
6129
|
if(1==i.nodeType&&!i.firstChild){let t=i.getBoundingClientRect()
|
|
6129
6130
|
o=t.left!=t.right&&n.left>(t.left+t.right)/2?1:-1}return t.docView.posFromDOM(i,s,o)}(t,a,e))
|
|
6130
6131
|
let l=t.docView.nearestDesc(a,!0)
|
|
6131
|
-
return{pos:r,inside:l?l.posAtStart-l.border:-1}}function
|
|
6132
|
+
return{pos:r,inside:l?l.posAtStart-l.border:-1}}function VC(t){return t.top<t.bottom||t.left<t.right}function zC(t,e){let n=t.getClientRects()
|
|
6132
6133
|
if(n.length){let t=n[e<0?0:n.length-1]
|
|
6133
|
-
if(
|
|
6134
|
+
if(VC(t))return t}return Array.prototype.find.call(n,VC)||t.getBoundingClientRect()}const HC=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/
|
|
6134
6135
|
function UC(t,e,n){let{node:i,offset:s,atom:o}=t.docView.domFromPos(e,n<0?-1:1),r=$C||bC
|
|
6135
6136
|
if(3==i.nodeType){if(!r||!HC.test(i.nodeValue)&&(n<0?s:s!=i.nodeValue.length)){let t=s,e=s,o=n<0?1:-1
|
|
6136
|
-
return n<0&&!s?(e++,o=-1):n>=0&&s==i.nodeValue.length?(t--,o=1):n<0?t--:e++,qC(
|
|
6137
|
-
if(bC&&s&&/\s/.test(i.nodeValue[s-1])&&s<i.nodeValue.length){let e=
|
|
6138
|
-
if(e.top==t.top){let n=
|
|
6137
|
+
return n<0&&!s?(e++,o=-1):n>=0&&s==i.nodeValue.length?(t--,o=1):n<0?t--:e++,qC(zC(nC(i,t,e),o),o<0)}{let t=zC(nC(i,s,s),n)
|
|
6138
|
+
if(bC&&s&&/\s/.test(i.nodeValue[s-1])&&s<i.nodeValue.length){let e=zC(nC(i,s-1,s-1),-1)
|
|
6139
|
+
if(e.top==t.top){let n=zC(nC(i,s,s+1),-1)
|
|
6139
6140
|
if(n.top!=t.top)return qC(n,n.left<e.left)}}return t}}if(!t.state.doc.resolve(e-(o||0)).parent.inlineContent){if(null==o&&s&&(n<0||s==rC(i))){let t=i.childNodes[s-1]
|
|
6140
6141
|
if(1==t.nodeType)return jC(t.getBoundingClientRect(),!1)}if(null==o&&s<rC(i)){let t=i.childNodes[s]
|
|
6141
6142
|
if(1==t.nodeType)return jC(t.getBoundingClientRect(),!0)}return jC(i.getBoundingClientRect(),n>=0)}if(null==o&&s&&(n<0||s==rC(i))){let t=i.childNodes[s-1],e=3==t.nodeType?nC(t,rC(t)-(r?0:1)):1!=t.nodeType||"BR"==t.nodeName&&t.nextSibling?null:t
|
|
6142
|
-
if(e)return qC(
|
|
6143
|
+
if(e)return qC(zC(e,1),!1)}if(null==o&&s<rC(i)){let t=i.childNodes[s]
|
|
6143
6144
|
for(;t.pmViewDesc&&t.pmViewDesc.ignoreForCoords;)t=t.nextSibling
|
|
6144
6145
|
let e=t?3==t.nodeType?nC(t,0,r?0:1):1==t.nodeType?t:null:null
|
|
6145
|
-
if(e)return qC(
|
|
6146
|
+
if(e)return qC(zC(e,-1),!0)}return qC(zC(3==i.nodeType?nC(i):i,-n),n>=0)}function qC(t,e){if(0==t.width)return t
|
|
6146
6147
|
let n=e?t.left:t.right
|
|
6147
6148
|
return{top:t.top,bottom:t.bottom,left:n,right:n}}function jC(t,e){if(0==t.height)return t
|
|
6148
6149
|
let n=e?t.top:t.bottom
|
|
@@ -6460,13 +6461,13 @@ setTimeout((()=>{t.state==s&&xk(t)}),50)}function Pk(t,e){let n=t.state.doc.reso
|
|
|
6460
6461
|
if(!wC&&!_C&&n.parent.inlineContent){let i=t.coordsAtPos(e)
|
|
6461
6462
|
if(e>n.start()){let n=t.coordsAtPos(e-1),s=(n.top+n.bottom)/2
|
|
6462
6463
|
if(s>i.top&&s<i.bottom&&Math.abs(n.left-i.left)>1)return n.left<i.left?"ltr":"rtl"}if(e<n.end()){let n=t.coordsAtPos(e+1),s=(n.top+n.bottom)/2
|
|
6463
|
-
if(s>i.top&&s<i.bottom&&Math.abs(n.left-i.left)>1)return n.left>i.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(t.dom).direction?"rtl":"ltr"}function
|
|
6464
|
+
if(s>i.top&&s<i.bottom&&Math.abs(n.left-i.left)>1)return n.left>i.left?"ltr":"rtl"}}return"rtl"==getComputedStyle(t.dom).direction?"rtl":"ltr"}function Vk(t,e,n){let i=t.state.selection
|
|
6464
6465
|
if(i instanceof Rx&&!i.empty||n.indexOf("s")>-1)return!1
|
|
6465
6466
|
if(SC&&n.indexOf("m")>-1)return!1
|
|
6466
6467
|
let{$from:s,$to:o}=i
|
|
6467
6468
|
if(!s.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let n=Ak(t.state,e)
|
|
6468
6469
|
if(n&&n instanceof Nx)return Ok(t,n)}if(!s.parent.inlineContent){let n=e<0?s:o,r=i instanceof Bx?Ex.near(n,e):Ex.findFrom(n,e)
|
|
6469
|
-
return!!r&&Ok(t,r)}return!1}function
|
|
6470
|
+
return!!r&&Ok(t,r)}return!1}function zk(t,e){if(!(t.state.selection instanceof Rx))return!0
|
|
6470
6471
|
let{$head:n,$anchor:i,empty:s}=t.state.selection
|
|
6471
6472
|
if(!n.sameParent(i))return!0
|
|
6472
6473
|
if(!s)return!1
|
|
@@ -6475,15 +6476,15 @@ let o=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter)
|
|
|
6475
6476
|
if(o&&!o.isText){let i=t.state.tr
|
|
6476
6477
|
return e<0?i.delete(n.pos-o.nodeSize,n.pos):i.delete(n.pos,n.pos+o.nodeSize),t.dispatch(i),!0}return!1}function Hk(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function Uk(t,e){let n=e.keyCode,i=function(t){let e=""
|
|
6477
6478
|
return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}(e)
|
|
6478
|
-
if(8==n||SC&&72==n&&"c"==i)return
|
|
6479
|
-
if(46==n&&!e.shiftKey||SC&&68==n&&"c"==i)return
|
|
6479
|
+
if(8==n||SC&&72==n&&"c"==i)return zk(t,-1)||Nk(t,-1)
|
|
6480
|
+
if(46==n&&!e.shiftKey||SC&&68==n&&"c"==i)return zk(t,1)||Nk(t,1)
|
|
6480
6481
|
if(13==n||27==n)return!0
|
|
6481
6482
|
if(37==n||SC&&66==n&&"c"==i){let e=37==n?"ltr"==Pk(t,t.state.selection.from)?-1:1:-1
|
|
6482
6483
|
return Tk(t,e,i)||Nk(t,e)}if(39==n||SC&&70==n&&"c"==i){let e=39==n?"ltr"==Pk(t,t.state.selection.from)?1:-1:1
|
|
6483
|
-
return Tk(t,e,i)||Nk(t,e)}return 38==n||SC&&80==n&&"c"==i?
|
|
6484
|
+
return Tk(t,e,i)||Nk(t,e)}return 38==n||SC&&80==n&&"c"==i?Vk(t,-1,i)||Nk(t,-1):40==n||SC&&78==n&&"c"==i?function(t){if(!CC||t.state.selection.$head.parentOffset>0)return!1
|
|
6484
6485
|
let{focusNode:e,focusOffset:n}=t.domSelectionRange()
|
|
6485
6486
|
if(e&&1==e.nodeType&&0==n&&e.firstChild&&"false"==e.firstChild.contentEditable){let n=e.firstChild
|
|
6486
|
-
Hk(t,n,"true"),setTimeout((()=>Hk(t,n,"false")),20)}return!1}(t)||
|
|
6487
|
+
Hk(t,n,"true"),setTimeout((()=>Hk(t,n,"false")),20)}return!1}(t)||Vk(t,1,i)||Nk(t,1):i==(SC?"m":"c")&&(66==n||73==n||89==n||90==n)}function qk(t,e){t.someProp("transformCopied",(n=>{e=n(e,t)}))
|
|
6487
6488
|
let n=[],{content:i,openStart:s,openEnd:o}=e
|
|
6488
6489
|
for(;s>1&&o>1&&1==i.childCount&&1==i.firstChild.childCount;){s--,o--
|
|
6489
6490
|
let t=i.firstChild
|
|
@@ -6495,7 +6496,7 @@ for(;l.firstChild;)e.appendChild(l.firstChild)
|
|
|
6495
6496
|
l.appendChild(e),h++}d=l.firstChild}return d&&1==d.nodeType&&d.setAttribute("data-pm-slice",`${s} ${o}${h?` -${h}`:""} ${JSON.stringify(n)}`),{dom:l,text:t.someProp("clipboardTextSerializer",(n=>n(e,t)))||e.content.textBetween(0,e.content.size,"\n\n"),slice:e}}function jk(t,e,n,i,s){let o,r,a=s.parent.type.spec.code
|
|
6496
6497
|
if(!n&&!e)return null
|
|
6497
6498
|
let l=e&&(i||a||!n)
|
|
6498
|
-
if(l){if(t.someProp("transformPastedText",(n=>{e=n(e,a||i,t)})),a)return e?new
|
|
6499
|
+
if(l){if(t.someProp("transformPastedText",(n=>{e=n(e,a||i,t)})),a)return e?new zy(Fy.from(t.state.schema.text(e.replace(/\r\n?/g,"\n"))),0,0):zy.empty
|
|
6499
6500
|
let n=t.someProp("clipboardTextParser",(n=>n(e,s,i,t)))
|
|
6500
6501
|
if(n)r=n
|
|
6501
6502
|
else{let n=s.marks(),{schema:i}=t.state,r=Nw.fromSchema(i)
|
|
@@ -6520,8 +6521,8 @@ let n,i=t.content.firstChild.type.schema
|
|
|
6520
6521
|
try{n=JSON.parse(e)}catch(e){return t}let{content:s,openStart:o,openEnd:r}=t
|
|
6521
6522
|
for(let t=n.length-2;t>=0;t-=2){let e=i.nodes[n[t]]
|
|
6522
6523
|
if(!e||e.hasRequiredAttrs())break
|
|
6523
|
-
s=Fy.from(e.create(n[t+1],s)),o++,r++}return new
|
|
6524
|
-
else if(r=
|
|
6524
|
+
s=Fy.from(e.create(n[t+1],s)),o++,r++}return new zy(s,o,r)}(Xk(r,+d[1],+d[2]),d[4])
|
|
6525
|
+
else if(r=zy.maxOpen(function(t,e){if(t.childCount<2)return t
|
|
6525
6526
|
for(let n=e.depth;n>=0;n--){let i,s=e.node(n).contentMatchAt(e.index(n)),o=[]
|
|
6526
6527
|
if(t.forEach((t=>{if(!o)return
|
|
6527
6528
|
let e,n=s.findWrapping(t.type)
|
|
@@ -6537,7 +6538,7 @@ if(o)return i.copy(i.content.replaceChild(i.childCount-1,o))
|
|
|
6537
6538
|
if(i.contentMatchAt(i.childCount).matchType(s==t.length-1?n.type:t[s+1]))return i.copy(i.content.append(Fy.from(Gk(n,t,s+1))))}}function Kk(t,e){if(0==e)return t
|
|
6538
6539
|
let n=t.content.replaceChild(t.childCount-1,Kk(t.lastChild,e-1)),i=t.contentMatchAt(t.childCount).fillBefore(Fy.empty,!0)
|
|
6539
6540
|
return t.copy(n.append(i))}function Yk(t,e,n,i,s,o){let r=e<0?t.firstChild:t.lastChild,a=r.content
|
|
6540
|
-
return t.childCount>1&&(o=0),s<i-1&&(a=Yk(a,e,n,i,s+1,o)),s>=n&&(a=e<0?r.contentMatchAt(0).fillBefore(a,o<=s).append(a):a.append(r.contentMatchAt(r.childCount).fillBefore(Fy.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,r.copy(a))}function Xk(t,e,n){return e<t.openStart&&(t=new
|
|
6541
|
+
return t.childCount>1&&(o=0),s<i-1&&(a=Yk(a,e,n,i,s+1,o)),s>=n&&(a=e<0?r.contentMatchAt(0).fillBefore(a,o<=s).append(a):a.append(r.contentMatchAt(r.childCount).fillBefore(Fy.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,r.copy(a))}function Xk(t,e,n){return e<t.openStart&&(t=new zy(Yk(t.content,-1,e,t.openStart,0,t.openEnd),e,t.openEnd)),n<t.openEnd&&(t=new zy(Yk(t.content,1,n,t.openEnd,0,0),t.openStart,n)),t}const Jk={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]}
|
|
6541
6542
|
let Qk=null
|
|
6542
6543
|
function tS(){return Qk||(Qk=document.implementation.createHTMLDocument("title"))}let eS=null
|
|
6543
6544
|
const nS={},iS={},sS={touchstart:!0,touchmove:!0}
|
|
@@ -6616,7 +6617,7 @@ n&&n.collapse(e,e.nodeValue.length)
|
|
|
6616
6617
|
break}n=e,i=-1}}t.input.composing=!0}xS(t,wS)},iS.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.compositionPendingChanges&&Promise.resolve().then((()=>t.domObserver.flush())),t.input.compositionID++,xS(t,20))}
|
|
6617
6618
|
const _S=gC&&vC<15||kC&&MC<604
|
|
6618
6619
|
function IS(t,e,n,i,s){let o=jk(t,e,n,i,t.state.selection.$from)
|
|
6619
|
-
if(t.someProp("handlePaste",(e=>e(t,s,o||
|
|
6620
|
+
if(t.someProp("handlePaste",(e=>e(t,s,o||zy.empty))))return!0
|
|
6620
6621
|
if(!o)return!1
|
|
6621
6622
|
let r=function(t){return 0==t.openStart&&0==t.openEnd&&1==t.content.childCount?t.content.firstChild:null}(o),a=r?t.state.tr.replaceSelectionWith(r,i):t.state.tr.replaceSelection(o)
|
|
6622
6623
|
return t.dispatch(a.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function $S(t){let e=t.getData("text/plain")||t.getData("Text")
|
|
@@ -6652,7 +6653,7 @@ if(!s)return
|
|
|
6652
6653
|
let o=t.state.doc.resolve(s.pos),r=i&&i.slice
|
|
6653
6654
|
r?t.someProp("transformPasted",(e=>{r=e(r,t)})):r=jk(t,$S(n.dataTransfer),_S?null:n.dataTransfer.getData("text/html"),!1,o)
|
|
6654
6655
|
let a=!(!i||!ES(t,n))
|
|
6655
|
-
if(t.someProp("handleDrop",(e=>e(t,n,r||
|
|
6656
|
+
if(t.someProp("handleDrop",(e=>e(t,n,r||zy.empty,a))))return void n.preventDefault()
|
|
6656
6657
|
if(!r)return
|
|
6657
6658
|
n.preventDefault()
|
|
6658
6659
|
let l=r?function(t,e,n){let i=t.resolve(e)
|
|
@@ -6717,7 +6718,7 @@ a.splice(e,0,c.children[t],c.children[t+1],c.children[t+2])}}return new BS(e.sor
|
|
|
6717
6718
|
t.forEach(((t,o)=>{let r,a=o+n
|
|
6718
6719
|
if(r=HS(e,t,a)){for(i||(i=this.children.slice());s<i.length&&i[s]<o;)s+=3
|
|
6719
6720
|
i[s]==o?i[s+2]=i[s+2].addInner(t,r,a+1):i.splice(s,0,o,o+t.nodeSize,qS(r,t,a+1,LS)),s+=3}}))
|
|
6720
|
-
let o=
|
|
6721
|
+
let o=zS(s?US(e):e,-n)
|
|
6721
6722
|
for(let e=0;e<o.length;e++)o[e].type.valid(t,o[e])||o.splice(e--,1)
|
|
6722
6723
|
return new BS(o.length?this.local.concat(o).sort(jS):this.local,i||this.children)}remove(t){return 0==t.length||this==PS?this:this.removeInner(t,0)}removeInner(t,e){let n=this.children,i=this.local
|
|
6723
6724
|
for(let i=0;i<n.length;i+=3){let s,o=n[i]+e,r=n[i+1]+e
|
|
@@ -6734,7 +6735,7 @@ break}let s=t+1,o=s+e.content.size
|
|
|
6734
6735
|
for(let t=0;t<this.local.length;t++){let e=this.local[t]
|
|
6735
6736
|
if(e.from<o&&e.to>s&&e.type instanceof TS){let t=Math.max(s,e.from)-s,n=Math.min(o,e.to)-s
|
|
6736
6737
|
t<n&&(i||(i=[])).push(e.copy(t,n))}}if(i){let t=new BS(i.sort(jS),NS)
|
|
6737
|
-
return n?new
|
|
6738
|
+
return n?new VS([t,n]):t}return n||PS}eq(t){if(this==t)return!0
|
|
6738
6739
|
if(!(t instanceof BS)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1
|
|
6739
6740
|
for(let e=0;e<this.local.length;e++)if(!this.local[e].eq(t.local[e]))return!1
|
|
6740
6741
|
for(let e=0;e<this.children.length;e+=3)if(this.children[e]!=t.children[e]||this.children[e+1]!=t.children[e+1]||!this.children[e+2].eq(t.children[e+2]))return!1
|
|
@@ -6744,18 +6745,18 @@ let e=[]
|
|
|
6744
6745
|
for(let t=0;t<this.local.length;t++)this.local[t].type instanceof TS||e.push(this.local[t])
|
|
6745
6746
|
return e}forEachSet(t){t(this)}}BS.empty=new BS([],[]),BS.removeOverlap=WS
|
|
6746
6747
|
const PS=BS.empty
|
|
6747
|
-
class
|
|
6748
|
-
return
|
|
6748
|
+
class VS{constructor(t){this.members=t}map(t,e){const n=this.members.map((n=>n.map(t,e,LS)))
|
|
6749
|
+
return VS.from(n)}forChild(t,e){if(e.isLeaf)return BS.empty
|
|
6749
6750
|
let n=[]
|
|
6750
6751
|
for(let i=0;i<this.members.length;i++){let s=this.members[i].forChild(t,e)
|
|
6751
|
-
s!=PS&&(s instanceof
|
|
6752
|
+
s!=PS&&(s instanceof VS?n=n.concat(s.members):n.push(s))}return VS.from(n)}eq(t){if(!(t instanceof VS)||t.members.length!=this.members.length)return!1
|
|
6752
6753
|
for(let e=0;e<this.members.length;e++)if(!this.members[e].eq(t.members[e]))return!1
|
|
6753
6754
|
return!0}locals(t){let e,n=!0
|
|
6754
6755
|
for(let i=0;i<this.members.length;i++){let s=this.members[i].localsInner(t)
|
|
6755
6756
|
if(s.length)if(e){n&&(e=e.slice(),n=!1)
|
|
6756
6757
|
for(let t=0;t<s.length;t++)e.push(s[t])}else e=s}return e?WS(n?e:e.sort(jS)):NS}static from(t){switch(t.length){case 0:return PS
|
|
6757
6758
|
case 1:return t[0]
|
|
6758
|
-
default:return new
|
|
6759
|
+
default:return new VS(t.every((t=>t instanceof BS))?t:t.reduce(((t,e)=>t.concat(e instanceof BS?e:e.members)),[]))}}forEachSet(t){for(let e=0;e<this.members.length;e++)this.members[e].forEachSet(t)}}function zS(t,e){if(!e||!t.length)return t
|
|
6759
6760
|
let n=[]
|
|
6760
6761
|
for(let i=0;i<t.length;i++){let s=t[i]
|
|
6761
6762
|
n.push(new FS(s.from+e,s.to+e,s.type))}return n}function HS(t,e,n){if(e.isLeaf)return null
|
|
@@ -6768,7 +6769,7 @@ e.forEach(((e,r)=>{let a=HS(t,e,r+n)
|
|
|
6768
6769
|
if(a){o=!0
|
|
6769
6770
|
let t=qS(a,e,n+r+1,i)
|
|
6770
6771
|
t!=PS&&s.push(r,r+e.nodeSize,t)}}))
|
|
6771
|
-
let r=
|
|
6772
|
+
let r=zS(o?US(t):t,-n).sort(jS)
|
|
6772
6773
|
for(let t=0;t<r.length;t++)r[t].type.valid(e,r[t])||(i.onRemove&&i.onRemove(r[t].spec),r.splice(t--,1))
|
|
6773
6774
|
return r.length||s.length?new BS(r,s):PS}function jS(t,e){return t.from-e.from||t.to-e.to}function WS(t){let e=t
|
|
6774
6775
|
for(let n=0;n<e.length-1;n++){let i=e[n]
|
|
@@ -6777,7 +6778,7 @@ if(o.from!=i.from){o.from<i.to&&(e==t&&(e=t.slice()),e[n]=i.copy(i.from,o.from),
|
|
|
6777
6778
|
break}o.to!=i.to&&(e==t&&(e=t.slice()),e[s]=o.copy(o.from,i.to),GS(e,s+1,o.copy(i.to,o.to)))}}return e}function GS(t,e,n){for(;e<t.length&&jS(n,t[e])>0;)e++
|
|
6778
6779
|
t.splice(e,0,n)}function ZS(t){let e=[]
|
|
6779
6780
|
return t.someProp("decorations",(n=>{let i=n(t.state)
|
|
6780
|
-
i&&i!=PS&&e.push(i)})),t.cursorWrapper&&e.push(BS.create(t.state.doc,[t.cursorWrapper.deco])),
|
|
6781
|
+
i&&i!=PS&&e.push(i)})),t.cursorWrapper&&e.push(BS.create(t.state.doc,[t.cursorWrapper.deco])),VS.from(e)}const KS={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},YS=gC&&vC<=11
|
|
6781
6782
|
class XS{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(t){this.anchorNode=t.anchorNode,this.anchorOffset=t.anchorOffset,this.focusNode=t.focusNode,this.focusOffset=t.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(t){return t.anchorNode==this.anchorNode&&t.anchorOffset==this.anchorOffset&&t.focusNode==this.focusNode&&t.focusOffset==this.focusOffset}}class JS{constructor(t,e){this.view=t,this.handleDOMChange=e,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new XS,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver((t=>{for(let e=0;e<t.length;e++)this.queue.push(t[e])
|
|
6782
6783
|
gC&&vC<=11&&t.some((t=>"childList"==t.type&&t.removedNodes.length||"characterData"==t.type&&t.oldValue.length>t.target.nodeValue.length))?this.flushSoon():this.flush()})),YS&&(this.onCharData=t=>{this.queue.push({target:t.target,type:"characterData",oldValue:t.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout((()=>{this.flushingSoon=-1,this.flush()}),20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,KS)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let t=this.observer.takeRecords()
|
|
6783
6784
|
if(t.length){for(let e=0;e<t.length;e++)this.queue.push(t[e])
|
|
@@ -6969,7 +6970,7 @@ let s=O_(i)
|
|
|
6969
6970
|
if(!s){let n=i.blockRange(),s=n&&rx(n)
|
|
6970
6971
|
return null!=s&&(e&&e(t.tr.lift(n,s).scrollIntoView()),!0)}let o=s.nodeBefore
|
|
6971
6972
|
if(H_(t,s,e,-1))return!0
|
|
6972
|
-
if(0==i.parent.content.size&&(E_(o,"end")||Nx.isSelectable(o)))for(let n=i.depth;;n--){let r=mx(t.doc,i.before(n),i.after(n),
|
|
6973
|
+
if(0==i.parent.content.size&&(E_(o,"end")||Nx.isSelectable(o)))for(let n=i.depth;;n--){let r=mx(t.doc,i.before(n),i.after(n),zy.empty)
|
|
6973
6974
|
if(r&&r.slice.size<r.to-r.from){if(e){let n=t.tr.step(r)
|
|
6974
6975
|
n.setSelection(E_(o,"end")?Ex.findFrom(n.doc.resolve(n.mapping.map(s.pos,-1)),-1):Nx.create(n.doc,s.pos-o.nodeSize)),e(n.scrollIntoView())}return!0}if(1==n||i.node(n-1).childCount>1)break}return!(!o.isAtom||s.depth!=i.depth-1)&&(e&&e(t.tr.delete(s.pos-o.nodeSize,s.pos).scrollIntoView()),!0)}
|
|
6975
6976
|
function D_(t,e,n){let i=e.nodeBefore,s=e.pos-1
|
|
@@ -6980,7 +6981,7 @@ i=t}let o=e.nodeAfter,r=e.pos+1
|
|
|
6980
6981
|
for(;!o.isTextblock;r++){if(o.type.spec.isolating)return!1
|
|
6981
6982
|
let t=o.firstChild
|
|
6982
6983
|
if(!t)return!1
|
|
6983
|
-
o=t}let a=mx(t.doc,s,r,
|
|
6984
|
+
o=t}let a=mx(t.doc,s,r,zy.empty)
|
|
6984
6985
|
if(!a||a.from!=s||a instanceof ex&&a.slice.size>=r-s)return!1
|
|
6985
6986
|
if(n){let e=t.tr.step(a)
|
|
6986
6987
|
e.setSelection(Rx.create(e.doc,s)),n(e.scrollIntoView())}return!0}function E_(t,e,n=!1){for(let i=t;i;i="start"==e?i.firstChild:i.lastChild){if(i.isTextblock)return!0
|
|
@@ -6997,7 +6998,7 @@ let s=N_(i)
|
|
|
6997
6998
|
if(!s)return!1
|
|
6998
6999
|
let o=s.nodeAfter
|
|
6999
7000
|
if(H_(t,s,e,1))return!0
|
|
7000
|
-
if(0==i.parent.content.size&&(E_(o,"start")||Nx.isSelectable(o))){let n=mx(t.doc,i.before(),i.after(),
|
|
7001
|
+
if(0==i.parent.content.size&&(E_(o,"start")||Nx.isSelectable(o))){let n=mx(t.doc,i.before(),i.after(),zy.empty)
|
|
7001
7002
|
if(n&&n.slice.size<n.to-n.from){if(e){let i=t.tr.step(n)
|
|
7002
7003
|
i.setSelection(E_(o,"start")?Ex.findFrom(i.doc.resolve(i.mapping.map(s.pos)),1):Nx.create(i.doc,i.mapping.map(s.pos))),e(i.scrollIntoView())}return!0}}return!(!o.isAtom||s.depth!=i.depth-1)&&(e&&e(t.tr.delete(s.pos,s.pos+o.nodeSize).scrollIntoView()),!0)},F_=(t,e,n)=>{let{$head:i,empty:s}=t.selection,o=i
|
|
7003
7004
|
if(!s)return!1
|
|
@@ -7014,12 +7015,12 @@ if(n instanceof Bx||i.parent.inlineContent||s.parent.inlineContent)return!1
|
|
|
7014
7015
|
let o=B_(s.parent.contentMatchAt(s.indexAfter()))
|
|
7015
7016
|
if(!o||!o.isTextblock)return!1
|
|
7016
7017
|
if(e){let n=(!i.parentOffset&&s.index()<s.parent.childCount?i:s).pos,r=t.tr.insert(n,o.createAndFill())
|
|
7017
|
-
r.setSelection(Rx.create(r.doc,n+1)),e(r.scrollIntoView())}return!0},
|
|
7018
|
+
r.setSelection(Rx.create(r.doc,n+1)),e(r.scrollIntoView())}return!0},V_=(t,e)=>{let{$cursor:n}=t.selection
|
|
7018
7019
|
if(!n||n.parent.content.size)return!1
|
|
7019
7020
|
if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before()
|
|
7020
7021
|
if(hx(t.doc,i))return e&&e(t.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),s=i&&rx(i)
|
|
7021
7022
|
return null!=s&&(e&&e(t.tr.lift(i,s).scrollIntoView()),!0)}
|
|
7022
|
-
const
|
|
7023
|
+
const z_=(t,e)=>{let{$from:n,$to:i}=t.selection
|
|
7023
7024
|
if(t.selection instanceof Nx&&t.selection.node.isBlock)return!(!n.parentOffset||!hx(t.doc,n.pos)||(e&&e(t.tr.split(n.pos).scrollIntoView()),0))
|
|
7024
7025
|
if(!n.depth)return!1
|
|
7025
7026
|
let s,o,r=[],a=!1,l=!1
|
|
@@ -7037,7 +7038,7 @@ let c=!l&&e.parent.canReplace(e.index(),e.index()+1)
|
|
|
7037
7038
|
if(c&&(s=(o=r.contentMatchAt(r.childCount)).findWrapping(a.type))&&o.matchType(s[0]||a.type).validEnd){if(n){let i=e.pos+a.nodeSize,o=Fy.empty
|
|
7038
7039
|
for(let t=s.length-1;t>=0;t--)o=Fy.from(s[t].create(null,o))
|
|
7039
7040
|
o=Fy.from(r.copy(o))
|
|
7040
|
-
let l=t.tr.step(new nx(e.pos-1,i,e.pos,i,new
|
|
7041
|
+
let l=t.tr.step(new nx(e.pos-1,i,e.pos,i,new zy(o,1,0),s.length,!0)),c=l.doc.resolve(i+2*s.length)
|
|
7041
7042
|
c.nodeAfter&&c.nodeAfter.type==r.type&&ux(l.doc,c.pos)&&l.join(c.pos),n(l.scrollIntoView())}return!0}let d=a.type.spec.isolating||i>0&&l?null:Ex.findFrom(e,1),h=d&&d.$from.blockRange(d.$to),u=h&&rx(h)
|
|
7042
7043
|
if(null!=u&&u>=e.depth)return n&&n(t.tr.lift(h,u).scrollIntoView()),!0
|
|
7043
7044
|
if(c&&E_(a,"start",!0)&&E_(r,"end")){let i=r,s=[]
|
|
@@ -7046,7 +7047,7 @@ let o=a,l=1
|
|
|
7046
7047
|
for(;!o.isTextblock;o=o.firstChild)l++
|
|
7047
7048
|
if(i.canReplace(i.childCount,i.childCount,o.content)){if(n){let i=Fy.empty
|
|
7048
7049
|
for(let t=s.length-1;t>=0;t--)i=Fy.from(s[t].copy(i))
|
|
7049
|
-
n(t.tr.step(new nx(e.pos-s.length,e.pos+a.nodeSize,e.pos+l,e.pos+a.nodeSize-l,new
|
|
7050
|
+
n(t.tr.step(new nx(e.pos-s.length,e.pos+a.nodeSize,e.pos+l,e.pos+a.nodeSize-l,new zy(i,s.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function U_(t){return function(e,n){let i=e.selection,s=t<0?i.$from:i.$to,o=s.depth
|
|
7050
7051
|
for(;s.node(o).isInline;){if(!o)return!1
|
|
7051
7052
|
o--}return!!s.node(o).isTextblock&&(n&&n(e.tr.setSelection(Rx.create(e.doc,t<0?s.start(o):s.end(o)))),!0)}}const q_=U_(-1),j_=U_(1)
|
|
7052
7053
|
function W_(t,e=null){return function(n,i){let s=!1
|
|
@@ -7068,14 +7069,14 @@ o=new iw(t,t,e.depth),e.endIndex<e.parent.childCount&&(e=new iw(e.$from,r.resolv
|
|
|
7068
7069
|
if(!a)return!1
|
|
7069
7070
|
t&&function(t,e,n,i,s){let o=Fy.empty
|
|
7070
7071
|
for(let t=n.length-1;t>=0;t--)o=Fy.from(n[t].type.create(n[t].attrs,o))
|
|
7071
|
-
t.step(new nx(e.start-(i?2:0),e.end,e.start,e.end,new
|
|
7072
|
+
t.step(new nx(e.start-(i?2:0),e.end,e.start,e.end,new zy(o,0,0),n.length,!0))
|
|
7072
7073
|
let r=0
|
|
7073
7074
|
for(let t=0;t<n.length;t++)n[t].type==s&&(r=t+1)
|
|
7074
7075
|
let a=n.length-r,l=e.start+n.length-(i?2:0),c=e.parent
|
|
7075
7076
|
for(let n=e.startIndex,i=e.endIndex,s=!0;n<i;n++,s=!1)!s&&hx(t.doc,l,a)&&(t.split(l,a),l+=2*a),l+=c.child(n).nodeSize}(t,e,a,s,n)
|
|
7076
7077
|
return!0}(a,r,t,e)&&(i&&i(a.scrollIntoView()),!0)}}function K_(t){return function(e,n){let{$from:i,$to:s}=e.selection,o=i.blockRange(s,(e=>e.childCount>0&&e.firstChild.type==t))
|
|
7077
7078
|
return!!o&&(!n||(i.node(o.depth-1).type==t?function(t,e,n,i){let s=t.tr,o=i.end,r=i.$to.end(i.depth)
|
|
7078
|
-
o<r&&(s.step(new nx(o-1,r,o,r,new
|
|
7079
|
+
o<r&&(s.step(new nx(o-1,r,o,r,new zy(Fy.from(n.create(null,i.parent.copy())),1,0),1,!0)),i=new iw(s.doc.resolve(i.$from.pos),s.doc.resolve(r),i.depth))
|
|
7079
7080
|
const a=rx(i)
|
|
7080
7081
|
if(null==a)return!1
|
|
7081
7082
|
s.lift(i,a)
|
|
@@ -7088,9 +7089,9 @@ if(i.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1
|
|
|
7088
7089
|
let a=0==n.startIndex,l=n.endIndex==s.childCount,c=o.node(-1),d=o.index(-1)
|
|
7089
7090
|
if(!c.canReplace(d+(a?0:1),d+1,r.content.append(l?Fy.empty:Fy.from(s))))return!1
|
|
7090
7091
|
let h=o.pos,u=h+r.nodeSize
|
|
7091
|
-
return i.step(new nx(h-(a?1:0),u+(l?1:0),h+1,u-1,new
|
|
7092
|
+
return i.step(new nx(h-(a?1:0),u+(l?1:0),h+1,u-1,new zy((a?Fy.empty:Fy.from(s.copy(Fy.empty))).append(l?Fy.empty:Fy.from(s.copy(Fy.empty))),a?0:1,l?0:1),a?0:1)),e(i.scrollIntoView()),!0}(e,n,o)))}}function Y_(t){const{state:e,transaction:n}=t
|
|
7092
7093
|
let{selection:i}=n,{doc:s}=n,{storedMarks:o}=n
|
|
7093
|
-
return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return o},get selection(){return i},get doc(){return s},get tr(){return i=n.selection,s=n.doc,o=n.storedMarks,n}}}G_(I_,M_,A_),G_(I_,R_,F_),G_(L_,P_,z_
|
|
7094
|
+
return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return o},get selection(){return i},get doc(){return s},get tr(){return i=n.selection,s=n.doc,o=n.storedMarks,n}}}G_(I_,M_,A_),G_(I_,R_,F_),G_(L_,P_,V_,z_),"undefined"!=typeof navigator?/Mac|iP(hone|[oa]d)/.test(navigator.platform):"undefined"!=typeof os&&os.platform&&os.platform()
|
|
7094
7095
|
class X_{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:e,state:n}=this,{view:i}=e,{tr:s}=n,o=this.buildProps(s)
|
|
7095
7096
|
return Object.fromEntries(Object.entries(t).map((([t,e])=>[t,(...t)=>{const n=e(...t)(o)
|
|
7096
7097
|
return s.getMeta("preventDispatch")||this.hasCustomState||i.dispatch(s),n}])))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,e=!0){const{rawCommands:n,editor:i,state:s}=this,{view:o}=i,r=[],a=!!t,l=t||s.tr,c={...Object.fromEntries(Object.entries(n).map((([t,n])=>[t,(...t)=>{const i=this.buildProps(l,e),s=n(...t)(i)
|
|
@@ -7254,17 +7255,17 @@ const s=n.from,o=i.to
|
|
|
7254
7255
|
return"all"===e?Rx.create(t,NI(0,s,o),NI(t.content.size,s,o)):Rx.create(t,NI(e,s,o),NI(e,s,o))}function BI(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const PI=t=>{const e=t.childNodes
|
|
7255
7256
|
for(let n=e.length-1;n>=0;n-=1){const i=e[n]
|
|
7256
7257
|
3===i.nodeType&&i.nodeValue&&/^(\n\s\s|\n)$/.test(i.nodeValue)?t.removeChild(i):1===i.nodeType&&PI(i)}return t}
|
|
7257
|
-
function
|
|
7258
|
-
return PI(n)}function
|
|
7258
|
+
function VI(t){const e=`<body>${t}</body>`,n=(new window.DOMParser).parseFromString(e,"text/html").body
|
|
7259
|
+
return PI(n)}function zI(t,e,n){if(t instanceof ow||t instanceof Fy)return t
|
|
7259
7260
|
n={slice:!0,parseOptions:{},...n}
|
|
7260
7261
|
const i="string"==typeof t
|
|
7261
7262
|
if("object"==typeof t&&null!==t)try{if(Array.isArray(t)&&t.length>0)return Fy.fromArray(t.map((t=>e.nodeFromJSON(t))))
|
|
7262
7263
|
const i=e.nodeFromJSON(t)
|
|
7263
7264
|
return n.errorOnInvalidContent&&i.check(),i}catch(i){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:i})
|
|
7264
|
-
return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",i),
|
|
7265
|
+
return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",i),zI("",e,n)}if(i){if(n.errorOnInvalidContent){let i=!1,s=""
|
|
7265
7266
|
const o=new Sw({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:t=>(i=!0,s="string"==typeof t?t:t.outerHTML,null)}]}})})
|
|
7266
|
-
if(n.slice?Iw.fromSchema(o).parseSlice(
|
|
7267
|
-
return n.slice?i.parseSlice(
|
|
7267
|
+
if(n.slice?Iw.fromSchema(o).parseSlice(VI(t),n.parseOptions):Iw.fromSchema(o).parse(VI(t),n.parseOptions),n.errorOnInvalidContent&&i)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${s}`)})}const i=Iw.fromSchema(e)
|
|
7268
|
+
return n.slice?i.parseSlice(VI(t),n.parseOptions).content:i.parse(VI(t),n.parseOptions)}return zI("",e,n)}function HI(){return"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)}function UI(t,e,n={}){const{from:i,to:s,empty:o}=t.selection,r=e?nI(e,t.schema):null,a=[]
|
|
7268
7269
|
t.doc.nodesBetween(i,s,((t,e)=>{if(t.isText)return
|
|
7269
7270
|
const n=Math.max(i,e),o=Math.min(s,e+t.nodeSize)
|
|
7270
7271
|
a.push({node:t,from:n,to:o})}))
|
|
@@ -7272,7 +7273,7 @@ const l=s-i,c=a.filter((t=>!r||r.name===t.node.type.name)).filter((t=>EI(t.node.
|
|
|
7272
7273
|
if(o)return!!c.length
|
|
7273
7274
|
const d=c.reduce(((t,e)=>t+e.to-e.from),0)
|
|
7274
7275
|
return d>=l}function qI(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function jI(t,e){const n="string"==typeof e?[e]:e
|
|
7275
|
-
return Object.keys(t).reduce(((e,i)=>(n.includes(i)||(e[i]=t[i]),e)),{})}function WI(t,e,n={},i={}){return
|
|
7276
|
+
return Object.keys(t).reduce(((e,i)=>(n.includes(i)||(e[i]=t[i]),e)),{})}function WI(t,e,n={},i={}){return zI(t,e,{slice:!1,parseOptions:n,errorOnInvalidContent:i.errorOnInvalidContent})}function GI(t,e){const n=RI(e,t.schema),{from:i,to:s,empty:o}=t.selection,r=[]
|
|
7276
7277
|
o?(t.storedMarks&&r.push(...t.storedMarks),r.push(...t.selection.$head.marks())):t.doc.nodesBetween(i,s,(t=>{r.push(...t.marks)}))
|
|
7277
7278
|
const a=r.find((t=>t.type.name===n.name))
|
|
7278
7279
|
return a?{...a.attrs}:{}}function ZI(t){return e=>function(t,e){for(let n=t.depth;n>0;n-=1){const i=t.node(n)
|
|
@@ -7353,7 +7354,7 @@ const a=LI(s.doc,t)||n.state.selection,l=n.state.selection.eq(a)
|
|
|
7353
7354
|
return o&&(l||s.setSelection(a),l&&s.storedMarks&&s.setStoredMarks(s.storedMarks),r()),!0},forEach:(t,e)=>n=>t.every(((t,i)=>e(t,{...n,index:i}))),insertContent:(t,e)=>({tr:n,commands:i})=>i.insertContentAt({from:n.selection.from,to:n.selection.to},t,e),insertContentAt:(t,e,n)=>({tr:i,dispatch:s,editor:o})=>{var r
|
|
7354
7355
|
if(s){let s
|
|
7355
7356
|
n={parseOptions:o.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n}
|
|
7356
|
-
try{s=
|
|
7357
|
+
try{s=zI(e,o.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions},errorOnInvalidContent:null!==(r=n.errorOnInvalidContent)&&void 0!==r?r:o.options.enableContentCheck})}catch(t){return o.emit("contentError",{editor:o,error:t,disableCollaboration:()=>{o.storage.collaboration&&(o.storage.collaboration.isDisabled=!0)}}),!1}let{from:a,to:l}="number"==typeof t?{from:t,to:t}:{from:t.from,to:t.to},c=!0,d=!0
|
|
7357
7358
|
if(("type"in s?[s]:s).forEach((t=>{t.check(),c=!!c&&(t.isText&&0===t.marks.length),d=!!d&&t.isBlock})),a===l&&d){const{parent:t}=i.doc.resolve(a)
|
|
7358
7359
|
t.isTextblock&&!t.type.spec.code&&!t.childCount&&(a-=1,l+=1)}let h
|
|
7359
7360
|
if(c){if(Array.isArray(e))h=e.map((t=>t.text||"")).join("")
|
|
@@ -7393,7 +7394,7 @@ else{if(!/^mod$/i.test(r))throw new Error(`Unrecognized modifier name: ${r}`)
|
|
|
7393
7394
|
BI()||HI()?o=!0:i=!0}}return n&&(r=`Alt-${r}`),i&&(r=`Ctrl-${r}`),o&&(r=`Meta-${r}`),s&&(r=`Shift-${r}`),r}(t).split(/-(?!$)/),r=o.find((t=>!["Alt","Ctrl","Meta","Shift"].includes(t))),a=new KeyboardEvent("keydown",{key:"Space"===r?" ":r,altKey:o.includes("Alt"),ctrlKey:o.includes("Ctrl"),metaKey:o.includes("Meta"),shiftKey:o.includes("Shift"),bubbles:!0,cancelable:!0}),l=e.captureTransaction((()=>{n.someProp("handleKeyDown",(t=>t(n,a)))}))
|
|
7394
7395
|
return null==l||l.steps.forEach((t=>{const e=t.map(i.mapping)
|
|
7395
7396
|
e&&s&&i.maybeStep(e)})),!0},lift:(t,e={})=>({state:n,dispatch:i})=>!!UI(n,nI(t,n.schema),e)&&((t,e)=>{let{$from:n,$to:i}=t.selection,s=n.blockRange(i),o=s&&rx(s)
|
|
7396
|
-
return null!=o&&(e&&e(t.tr.lift(s,o).scrollIntoView()),!0)})(n,i),liftEmptyBlock:()=>({state:t,dispatch:e})=>
|
|
7397
|
+
return null!=o&&(e&&e(t.tr.lift(s,o).scrollIntoView()),!0)})(n,i),liftEmptyBlock:()=>({state:t,dispatch:e})=>V_(t,e),liftListItem:t=>({state:e,dispatch:n})=>K_(nI(t,e.schema))(e,n),newlineInCode:()=>({state:t,dispatch:e})=>L_(t,e),resetAttributes:(t,e)=>({tr:n,state:i,dispatch:s})=>{let o=null,r=null
|
|
7397
7398
|
const a=qI("string"==typeof t?t:t.name,i.schema)
|
|
7398
7399
|
return!!a&&("node"===a&&(o=nI(t,i.schema)),"mark"===a&&(r=RI(t,i.schema)),s&&n.selection.ranges.forEach((t=>{i.doc.nodesBetween(t.$from.pos,t.$to.pos,((t,i)=>{o&&o===t.type&&n.setNodeMarkup(i,void 0,jI(t.attrs,e)),r&&t.marks.length&&t.marks.forEach((s=>{r===s.type&&n.addMark(i,i+t.nodeSize,r.create(jI(s.attrs,e)))}))}))})),!0)},scrollIntoView:()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),selectAll:()=>({tr:t,dispatch:e})=>{if(e){const e=new Bx(t.doc)
|
|
7399
7400
|
t.setSelection(e)}return!0},selectNodeBackward:()=>({state:t,dispatch:e})=>A_(t,e),selectNodeForward:()=>({state:t,dispatch:e})=>F_(t,e),selectParentNode:()=>({state:t,dispatch:e})=>((t,e)=>{let n,{$from:i,to:s}=t.selection,o=i.sharedDepth(s)
|
|
@@ -7424,7 +7425,7 @@ let r=o.startIndex
|
|
|
7424
7425
|
if(0==r)return!1
|
|
7425
7426
|
let a=o.parent,l=a.child(r-1)
|
|
7426
7427
|
if(l.type!=s)return!1
|
|
7427
|
-
if(e){let n=l.lastChild&&l.lastChild.type==a.type,i=Fy.from(n?s.create():null),r=new
|
|
7428
|
+
if(e){let n=l.lastChild&&l.lastChild.type==a.type,i=Fy.from(n?s.create():null),r=new zy(Fy.from(s.create(null,Fy.from(a.type.create(null,i)))),n?3:1,0),c=o.start,d=o.end
|
|
7428
7429
|
e(t.tr.step(new nx(c-(n?3:1),d,c,d,r,1,!0)).scrollIntoView())}return!0})(e,n)
|
|
7429
7430
|
var s},splitBlock:({keepMarks:t=!0}={})=>({tr:e,state:n,dispatch:i,editor:s})=>{const{selection:o,doc:r}=e,{$from:a,$to:l}=o,c=JI(s.extensionManager.attributes,a.node().type.name,a.node().attrs)
|
|
7430
7431
|
if(o instanceof Nx&&o.node.isBlock)return!(!a.parentOffset||!hx(r,a.pos))&&(i&&(t&&n$(n,s.extensionManager.splittableMarks),e.split(a.pos).scrollIntoView()),!0)
|
|
@@ -7446,7 +7447,7 @@ for(let e=l.depth-i;e>=l.depth-3;e-=1)t=Fy.from(l.node(e).copy(t))
|
|
|
7446
7447
|
const s=l.indexAfter(-1)<l.node(-2).childCount?1:l.indexAfter(-2)<l.node(-3).childCount?2:3,o={...JI(u,l.node().type.name,l.node().attrs),...e},c=(null===(r=a.contentMatch.defaultType)||void 0===r?void 0:r.createAndFill(o))||void 0
|
|
7447
7448
|
t=t.append(Fy.from(a.createAndFill(null,c)||void 0))
|
|
7448
7449
|
const d=l.before(l.depth-(i-1))
|
|
7449
|
-
n.replace(d,l.after(-s),new
|
|
7450
|
+
n.replace(d,l.after(-s),new zy(t,4-i,0))
|
|
7450
7451
|
let h=-1
|
|
7451
7452
|
n.doc.nodesBetween(d,n.doc.content.size,((t,e)=>{if(h>-1)return!1
|
|
7452
7453
|
t.isTextblock&&0===t.content.size&&(h=e+1)})),h>-1&&n.setSelection(Rx.near(n.doc.resolve(h))),n.scrollIntoView()}return!0}const p=c.pos===l.end()?h.contentMatchAt(0).defaultType:null,f={...JI(u,h.type.name,h.attrs),...e},m={...JI(u,l.node().type.name,l.node().attrs),...e}
|
|
@@ -7688,7 +7689,7 @@ const k$="nimble-toolbar",S$="Bold",_$="Italics",I$="Bulleted List",$$="Numbered
|
|
|
7688
7689
|
</${Eg}>
|
|
7689
7690
|
</template>
|
|
7690
7691
|
`,R$=t=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()
|
|
7691
|
-
class F$ extends
|
|
7692
|
+
class F$ extends zi{constructor(){super(...arguments),this.availableViewportHeight=0,this.filter="",this.filteredOptions=[],this.anchorElementIntersectionObserver=new IntersectionObserver((t=>{t[0]?.isIntersecting||this.setOpen(!1)}),{threshold:1,root:document})}close(){this.setOpen(!1)}get options(){return x.track(this,"options"),this.filteredOptions?.length?this.filteredOptions:[]}set options(t){this._options=t,x.notify(this,"options")}show(t){const e=t.anchorNode.getBoundingClientRect().bottom
|
|
7692
7693
|
this.availableViewportHeight=Math.trunc(window.innerHeight-e),this.filter=t.filter,this.anchorElement=t.anchorNode,this.setOpen(!0),this.filterOptions()}keydownHandler(t){if(!this.open)return!1
|
|
7693
7694
|
switch(t.key){case vn:case dn:{if(!this.hasSelectableOptions)return!1
|
|
7694
7695
|
const t={href:this.firstSelectedOption.value,displayName:this.firstSelectedOption.text}
|
|
@@ -8038,7 +8039,7 @@ const L$="nimble-rich-text-mention-listbox",B$=Q`
|
|
|
8038
8039
|
top: ${Fl};
|
|
8039
8040
|
right: var(--ni-private-rich-text-editor-scrollbar-width);
|
|
8040
8041
|
}
|
|
8041
|
-
`,
|
|
8042
|
+
`,V$="bulletList",z$="orderedList",H$="mention-plugin-",U$={}
|
|
8042
8043
|
function q$(t,e){"string"!=typeof e&&(e=q$.defaultChars)
|
|
8043
8044
|
const n=function(t){let e=U$[t]
|
|
8044
8045
|
if(e)return e
|
|
@@ -8153,24 +8154,24 @@ const OM=Object.prototype.hasOwnProperty
|
|
|
8153
8154
|
function TM(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object")
|
|
8154
8155
|
Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function RM(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function FM(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(!!(65535&~t&&65534!=(65535&t))&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function NM(t){if(t>65535){const e=55296+((t-=65536)>>10),n=56320+(1023&t)
|
|
8155
8156
|
return String.fromCharCode(e,n)}return String.fromCharCode(t)}const LM=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,BM=new RegExp(LM.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),PM=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i
|
|
8156
|
-
function
|
|
8157
|
+
function VM(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(BM,(function(t,e,n){return e||function(t,e){if(35===e.charCodeAt(0)&&PM.test(e)){const n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10)
|
|
8157
8158
|
return FM(n)?NM(n):t}const n=EM(t)
|
|
8158
|
-
return n!==t?n:t}(t,n)}))}const
|
|
8159
|
-
function qM(t){return UM[t]}function jM(t){return
|
|
8159
|
+
return n!==t?n:t}(t,n)}))}const zM=/[&<>"]/,HM=/[&<>"]/g,UM={"&":"&","<":"<",">":">",'"':"""}
|
|
8160
|
+
function qM(t){return UM[t]}function jM(t){return zM.test(t)?t.replace(HM,qM):t}const WM=/[.?*+^$[\]\\(){}|-]/g
|
|
8160
8161
|
function GM(t){switch(t){case 9:case 32:return!0}return!1}function ZM(t){if(t>=8192&&t<=8202)return!0
|
|
8161
8162
|
switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function KM(t){return hM.test(t)||uM.test(t)}function YM(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0
|
|
8162
8163
|
default:return!1}}function XM(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const JM={mdurl:lM,ucmicro:fM}
|
|
8163
|
-
var QM=Object.freeze({__proto__:null,arrayReplaceAt:RM,assign:TM,escapeHtml:jM,escapeRE:function(t){return t.replace(WM,"\\$&")},fromCodePoint:NM,has:function(t,e){return OM.call(t,e)},isMdAsciiPunct:YM,isPunctChar:KM,isSpace:GM,isString:AM,isValidEntityCode:FM,isWhiteSpace:ZM,lib:JM,normalizeReference:XM,unescapeAll:
|
|
8164
|
+
var QM=Object.freeze({__proto__:null,arrayReplaceAt:RM,assign:TM,escapeHtml:jM,escapeRE:function(t){return t.replace(WM,"\\$&")},fromCodePoint:NM,has:function(t,e){return OM.call(t,e)},isMdAsciiPunct:YM,isPunctChar:KM,isSpace:GM,isString:AM,isValidEntityCode:FM,isWhiteSpace:ZM,lib:JM,normalizeReference:XM,unescapeAll:VM,unescapeMd:function(t){return t.indexOf("\\")<0?t:t.replace(LM,"$1")}})
|
|
8164
8165
|
var tD=Object.freeze({__proto__:null,parseLinkDestination:function(t,e,n){let i,s=e
|
|
8165
8166
|
const o={ok:!1,pos:0,str:""}
|
|
8166
8167
|
if(60===t.charCodeAt(s)){for(s++;s<n;){if(i=t.charCodeAt(s),10===i)return o
|
|
8167
8168
|
if(60===i)return o
|
|
8168
|
-
if(62===i)return o.pos=s+1,o.str=
|
|
8169
|
+
if(62===i)return o.pos=s+1,o.str=VM(t.slice(e+1,s)),o.ok=!0,o
|
|
8169
8170
|
92===i&&s+1<n?s+=2:s++}return o}let r=0
|
|
8170
8171
|
for(;s<n&&(i=t.charCodeAt(s),32!==i)&&!(i<32||127===i);)if(92===i&&s+1<n){if(32===t.charCodeAt(s+1))break
|
|
8171
8172
|
s+=2}else{if(40===i&&(r++,r>32))return o
|
|
8172
8173
|
if(41===i){if(0===r)break
|
|
8173
|
-
r--}s++}return e===s||0!==r||(o.str=
|
|
8174
|
+
r--}s++}return e===s||0!==r||(o.str=VM(t.slice(e,s)),o.pos=s,o.ok=!0),o},parseLinkLabel:function(t,e,n){let i,s,o,r
|
|
8174
8175
|
const a=t.posMax,l=t.pos
|
|
8175
8176
|
for(t.pos=e+1,i=1;t.pos<a;){if(o=t.src.charCodeAt(t.pos),93===o&&(i--,0===i)){s=!0
|
|
8176
8177
|
break}if(r=t.pos,t.md.inline.skipToken(t),91===o)if(r===t.pos-1)i++
|
|
@@ -8181,13 +8182,13 @@ if(i)r.str=i.str,r.marker=i.marker
|
|
|
8181
8182
|
else{if(o>=n)return r
|
|
8182
8183
|
let i=t.charCodeAt(o)
|
|
8183
8184
|
if(34!==i&&39!==i&&40!==i)return r
|
|
8184
|
-
e++,o++,40===i&&(i=41),r.marker=i}for(;o<n;){if(s=t.charCodeAt(o),s===r.marker)return r.pos=o+1,r.str+=
|
|
8185
|
+
e++,o++,40===i&&(i=41),r.marker=i}for(;o<n;){if(s=t.charCodeAt(o),s===r.marker)return r.pos=o+1,r.str+=VM(t.slice(e,o)),r.ok=!0,r
|
|
8185
8186
|
if(40===s&&41===r.marker)return r
|
|
8186
|
-
92===s&&o+1<n&&o++,o++}return r.can_continue=!0,r.str+=
|
|
8187
|
+
92===s&&o+1<n&&o++,o++}return r.can_continue=!0,r.str+=VM(t.slice(e,o)),r}})
|
|
8187
8188
|
const eD={}
|
|
8188
8189
|
function nD(){this.rules=TM({},eD)}function iD(){this.__rules__=[],this.__cache__=null}function sD(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function oD(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}eD.code_inline=function(t,e,n,i,s){const o=t[e]
|
|
8189
8190
|
return"<code"+s.renderAttrs(o)+">"+jM(o.content)+"</code>"},eD.code_block=function(t,e,n,i,s){const o=t[e]
|
|
8190
|
-
return"<pre"+s.renderAttrs(o)+"><code>"+jM(t[e].content)+"</code></pre>\n"},eD.fence=function(t,e,n,i,s){const o=t[e],r=o.info?
|
|
8191
|
+
return"<pre"+s.renderAttrs(o)+"><code>"+jM(t[e].content)+"</code></pre>\n"},eD.fence=function(t,e,n,i,s){const o=t[e],r=o.info?VM(o.info).trim():""
|
|
8191
8192
|
let a,l="",c=""
|
|
8192
8193
|
if(r){const t=r.split(/(\s+)/g)
|
|
8193
8194
|
l=t[0],c=t.slice(2).join("")}if(a=n.highlight&&n.highlight(o.content,l,c)||jM(o.content),0===a.indexOf("<pre"))return a+"\n"
|
|
@@ -8603,7 +8604,7 @@ n=t.tokens[s.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.conten
|
|
|
8603
8604
|
let s=e+1
|
|
8604
8605
|
for(;s<t.tokens.length&&"s_close"===t.tokens[s].type;)s++
|
|
8605
8606
|
s--,e!==s&&(n=t.tokens[s],t.tokens[s]=t.tokens[e],t.tokens[e]=n)}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(t){BD[t.charCodeAt(0)]=1}))
|
|
8606
|
-
var
|
|
8607
|
+
var VD={tokenize:function(t,e){const n=t.pos,i=t.src.charCodeAt(n)
|
|
8607
8608
|
if(e)return!1
|
|
8608
8609
|
if(126!==i)return!1
|
|
8609
8610
|
const s=t.scanDelims(t.pos,!0)
|
|
@@ -8616,7 +8617,7 @@ for(let e=0;e<o;e+=2)a=t.push("text","",0),a.content=r+r,t.delimiters.push({mark
|
|
|
8616
8617
|
return t.pos+=s.length,!0},postProcess:function(t){const e=t.tokens_meta,n=t.tokens_meta.length
|
|
8617
8618
|
PD(t,t.delimiters)
|
|
8618
8619
|
for(let i=0;i<n;i++)e[i]&&e[i].delimiters&&PD(t,e[i].delimiters)}}
|
|
8619
|
-
function
|
|
8620
|
+
function zD(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n]
|
|
8620
8621
|
if(95!==i.marker&&42!==i.marker)continue
|
|
8621
8622
|
if(-1===i.end)continue
|
|
8622
8623
|
const s=e[i.end],o=n>0&&e[n-1].end===i.end+1&&e[n-1].marker===i.marker&&e[n-1].token===i.token-1&&e[i.end+1].token===s.token+1,r=String.fromCharCode(i.marker),a=t.tokens[i.token]
|
|
@@ -8627,8 +8628,8 @@ if(e)return!1
|
|
|
8627
8628
|
if(95!==i&&42!==i)return!1
|
|
8628
8629
|
const s=t.scanDelims(t.pos,42===i)
|
|
8629
8630
|
for(let e=0;e<s.length;e++){t.push("text","",0).content=String.fromCharCode(i),t.delimiters.push({marker:i,length:s.length,token:t.tokens.length-1,end:-1,open:s.can_open,close:s.can_close})}return t.pos+=s.length,!0},postProcess:function(t){const e=t.tokens_meta,n=t.tokens_meta.length
|
|
8630
|
-
|
|
8631
|
-
for(let i=0;i<n;i++)e[i]&&e[i].delimiters&&
|
|
8631
|
+
zD(t,t.delimiters)
|
|
8632
|
+
for(let i=0;i<n;i++)e[i]&&e[i].delimiters&&zD(t,e[i].delimiters)}}
|
|
8632
8633
|
const UD=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,qD=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/
|
|
8633
8634
|
const jD=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,WD=/^&([a-z][a-z0-9]{1,31});/i
|
|
8634
8635
|
function GD(t){const e={},n=t.length
|
|
@@ -8697,7 +8698,7 @@ let a,l=n
|
|
|
8697
8698
|
for(;-1!==(a=t.src.indexOf("`",l));){for(l=a+1;l<s&&96===t.src.charCodeAt(l);)l++
|
|
8698
8699
|
const i=l-a
|
|
8699
8700
|
if(i===r){if(!e){const e=t.push("code_inline","code",0)
|
|
8700
|
-
e.markup=o,e.content=t.src.slice(n,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return t.pos=l,!0}t.backticks[i]=a}return t.backticksScanned=!0,e||(t.pending+=o),t.pos+=r,!0}],["strikethrough",
|
|
8701
|
+
e.markup=o,e.content=t.src.slice(n,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return t.pos=l,!0}t.backticks[i]=a}return t.backticksScanned=!0,e||(t.pending+=o),t.pos+=r,!0}],["strikethrough",VD.tokenize],["emphasis",HD.tokenize],["link",function(t,e){let n,i,s,o,r="",a="",l=t.pos,c=!0
|
|
8701
8702
|
if(91!==t.src.charCodeAt(t.pos))return!1
|
|
8702
8703
|
const d=t.pos,h=t.posMax,u=t.pos+1,p=t.md.helpers.parseLinkLabel(t,t.pos,!0)
|
|
8703
8704
|
if(p<0)return!1
|
|
@@ -8761,7 +8762,7 @@ if(i){const n=EM(i[0])
|
|
|
8761
8762
|
if(n!==i[0]){if(!e){const e=t.push("text_special","",0)
|
|
8762
8763
|
e.content=n,e.markup=i[0],e.info="entity"}return t.pos+=i[0].length,!0}}}return!1}]],KD=[["balance_pairs",function(t){const e=t.tokens_meta,n=t.tokens_meta.length
|
|
8763
8764
|
GD(t.delimiters)
|
|
8764
|
-
for(let t=0;t<n;t++)e[t]&&e[t].delimiters&&GD(e[t].delimiters)}],["strikethrough",
|
|
8765
|
+
for(let t=0;t<n;t++)e[t]&&e[t].delimiters&&GD(e[t].delimiters)}],["strikethrough",VD.postProcess],["emphasis",HD.postProcess],["fragments_join",function(t){let e,n,i=0
|
|
8765
8766
|
const s=t.tokens,o=t.tokens.length
|
|
8766
8767
|
for(e=n=0;e<o;e++)s[e].nesting<0&&i--,s[e].level=i,s[e].nesting>0&&i++,"text"===s[e].type&&e+1<o&&"text"===s[e+1].type?s[e+1].content=s[e].content+s[e+1].content:(e!==n&&(s[n]=s[e]),n++)
|
|
8767
8768
|
e!==n&&(s.length=n)}]]
|
|
@@ -8898,8 +8899,8 @@ NE(s,i)?n[i]=(t,n,i,o)=>{t.openMark(e.create(FE(s,n,i,o))),t.addText(LE(n.conten
|
|
|
8898
8899
|
NE(s,i)?n[i]=BE:(n[i+"_open"]=BE,n[i+"_close"]=BE)}}return n.text=(t,e)=>t.addText(e.content),n.inline=(t,e)=>t.parseTokens(e.children),n.softbreak=n.softbreak||(t=>t.addText(" ")),n}(t,n)}parse(t,e={}){let n,i=new RE(this.schema,this.tokenHandlers)
|
|
8899
8900
|
i.parseTokens(this.tokenizer.parse(t,e))
|
|
8900
8901
|
do{n=i.closeNode()}while(i.stack.length)
|
|
8901
|
-
return n||this.schema.topNodeType.createAndFill()}}function
|
|
8902
|
-
return!1}const
|
|
8902
|
+
return n||this.schema.topNodeType.createAndFill()}}function VE(t,e){for(;++e<t.length;)if("list_item_open"!=t[e].type)return t[e].hidden
|
|
8903
|
+
return!1}const zE=new PE(TE,OE("commonmark",{html:!1}),{blockquote:{block:"blockquote"},paragraph:{block:"paragraph"},list_item:{block:"list_item"},bullet_list:{block:"bullet_list",getAttrs:(t,e,n)=>({tight:VE(e,n)})},ordered_list:{block:"ordered_list",getAttrs:(t,e,n)=>({order:+t.attrGet("start")||1,tight:VE(e,n)})},heading:{block:"heading",getAttrs:t=>({level:+t.tag.slice(1)})},code_block:{block:"code_block",noCloseToken:!0},fence:{block:"code_block",getAttrs:t=>({params:t.info||""}),noCloseToken:!0},hr:{node:"horizontal_rule"},image:{node:"image",getAttrs:t=>({src:t.attrGet("src"),title:t.attrGet("title")||null,alt:t.children[0]&&t.children[0].content||null})},hardbreak:{node:"hard_break"},em:{mark:"em"},strong:{mark:"strong"},link:{mark:"link",getAttrs:t=>({href:t.attrGet("href"),title:t.attrGet("title")||null})},code_inline:{mark:"code",noCloseToken:!0}}),HE={open:"",close:"",mixable:!0}
|
|
8903
8904
|
class UE{constructor(t,e,n={}){this.nodes=t,this.marks=e,this.options=n}serialize(t,e={}){e=Object.assign({},this.options,e)
|
|
8904
8905
|
let n=new WE(this.nodes,this.marks,e)
|
|
8905
8906
|
return n.renderContent(t),n.out}}const qE=new UE({blockquote(t,e){t.wrapBlock("> ",null,e,(()=>t.renderContent(e)))},code_block(t,e){const n=e.textContent.match(/`{3,}/gm),i=n?n.sort().slice(-1)[0]+"`":"```"
|
|
@@ -8951,8 +8952,8 @@ return n}markString(t,e,n,i){let s=this.getMark(t.type.name),o=e?s.open:s.close
|
|
|
8951
8952
|
return"string"==typeof o?o:o(this,t,n,i)}getEnclosingWhitespace(t){return{leading:(t.match(/^(\s+)/)||[void 0])[0],trailing:(t.match(/(\s+)$/)||[void 0])[0]}}}var GE
|
|
8952
8953
|
class ZE{static parseMarkdownToDOM(t,e){try{GE.setup(e)
|
|
8953
8954
|
const n=this.markdownParser.parse(t)
|
|
8954
|
-
return null===n?{fragment:document.createDocumentFragment(),mentionedHrefs:Array.from(GE.mentionedHrefs)}:{fragment:this.domSerializer.serializeFragment(n.content),mentionedHrefs:Array.from(GE.mentionedHrefs)}}finally{GE.cleanup()}}static initializeMarkdownParser(){const t=
|
|
8955
|
-
return t.normalizeLinkText=t=>t,new PE(this.updatedSchema,t,
|
|
8955
|
+
return null===n?{fragment:document.createDocumentFragment(),mentionedHrefs:Array.from(GE.mentionedHrefs)}:{fragment:this.domSerializer.serializeFragment(n.content),mentionedHrefs:Array.from(GE.mentionedHrefs)}}finally{GE.cleanup()}}static initializeMarkdownParser(){const t=zE.tokenizer.configure("zero").enable(["emphasis","list","escape","autolink","newline"])
|
|
8956
|
+
return t.normalizeLinkText=t=>t,new PE(this.updatedSchema,t,zE.tokens)}static getCustomSchemaConfiguration(){return new Sw({nodes:TE.spec.nodes,marks:{link:{attrs:{href:{},rel:{default:"noopener noreferrer"},class:{default:""}},inclusive:!1,excludes:"_",toDOM(t){const e=t.attrs.href,n=GE.mentionConfigs?.find((t=>t.isValidMentionHref(e))),i=n?.getDisplayName(e)
|
|
8956
8957
|
return n&&i?(GE.mentionedHrefs.add(e),[n.viewElement,{"mention-href":e,"mention-label":i}]):[fh,{href:GE.startsWithHttpOrHttps(e)?e:null,rel:t.attrs.rel,class:e,"underline-hidden":!GE.startsWithHttpOrHttps(e)||null}]}},em:TE.spec.marks.get("em"),strong:TE.spec.marks.get("strong")}})}static setup(t){GE.mentionConfigs=t,GE.mentionedHrefs.clear()}static cleanup(){GE.mentionConfigs=void 0,GE.mentionedHrefs.clear()}static startsWithHttpOrHttps(t){return/^https?:\/\//i.test(t)}}GE=ZE,ZE.mentionedHrefs=new Set,ZE.updatedSchema=GE.getCustomSchemaConfiguration(),ZE.markdownParser=GE.initializeMarkdownParser(),ZE.domSerializer=Nw.fromSchema(GE.updatedSchema)
|
|
8957
8958
|
class KE{constructor(t){this.markdownSerializer=this.initializeMarkdownSerializerForTipTap(t)}serializeDOMToMarkdown(t){return this.markdownSerializer.serialize(t)}initializeMarkdownSerializerForTipTap(t){const e=function(t,e){const n=e.attrs.href
|
|
8958
8959
|
t.write(`<${n}>`)},n={bulletList:qE.nodes.bullet_list,listItem:qE.nodes.list_item,orderedList:function(t,e){const n=e.attrs.start||1,i=String(n+e.childCount-1).length,s=t.repeat(" ",i+2)
|
|
@@ -9062,7 +9063,7 @@ if(i){let o=function(t,e,n){let i=MA(e),s=DA.get(e).spec.config,o=(n?t.undone:t.
|
|
|
9062
9063
|
if(!o)return null
|
|
9063
9064
|
let r=o.selection.resolve(o.transform.doc),a=(n?t.done:t.undone).addTransform(o.transform,e.selection.getBookmark(),s,i),l=new CA(n?a:o.remaining,n?o.remaining:a,null,0,-1)
|
|
9064
9065
|
return o.transform.setSelection(r).setMeta(DA,{redo:n,historyState:l})}(s,n,t)
|
|
9065
|
-
o&&i(e?o.scrollIntoView():o)}return!0}}const TA=OA(!1,!0),RA=OA(!0,!0),FA=II.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:t,dispatch:e})=>TA(t,e),redo:()=>({state:t,dispatch:e})=>RA(t,e)}),addProseMirrorPlugins(){return[AA(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),NA=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,LA=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,BA=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,PA=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,
|
|
9066
|
+
o&&i(e?o.scrollIntoView():o)}return!0}}const TA=OA(!1,!0),RA=OA(!0,!0),FA=II.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:t,dispatch:e})=>TA(t,e),redo:()=>({state:t,dispatch:e})=>RA(t,e)}),addProseMirrorPlugins(){return[AA(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),NA=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,LA=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,BA=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,PA=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,VA=wI.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>"normal"!==t.style.fontStyle&&null},{style:"font-style=normal",clearMark:t=>t.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",iI(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[g$({find:NA,type:this.type}),g$({find:BA,type:this.type})]},addPasteRules(){return[y$({find:LA,type:this.type}),y$({find:PA,type:this.type})]}}),zA="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",HA="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",UA=(t,e)=>{for(const n in e)t[n]=e[n]
|
|
9066
9067
|
return t},qA="numeric",jA="ascii",WA="alpha",GA="asciinumeric",ZA="alphanumeric",KA="domain",YA="emoji",XA="scheme",JA="slashscheme",QA="whitespace"
|
|
9067
9068
|
function tO(t,e){return t in e||(e[t]=[]),e[t]}function eO(t,e,n){e[qA]&&(e[GA]=!0,e[ZA]=!0),e[jA]&&(e[GA]=!0,e[WA]=!0),e[GA]&&(e[ZA]=!0),e[WA]&&(e[ZA]=!0),e[ZA]&&(e[KA]=!0),e[YA]&&(e[KA]=!0)
|
|
9068
9069
|
for(const i in e){const e=tO(i,n)
|
|
@@ -9084,8 +9085,8 @@ for(const i in e)e[i].indexOf(t)>=0&&(n[i]=!0)
|
|
|
9084
9085
|
return n}(r.t,i),n)
|
|
9085
9086
|
eO(o,t,i)}else n&&eO(o,n,i)
|
|
9086
9087
|
r.t=o}return s.j[t]=r,r}}
|
|
9087
|
-
const iO=(t,e,n,i,s)=>t.ta(e,n,i,s),sO=(t,e,n,i,s)=>t.tr(e,n,i,s),oO=(t,e,n,i,s)=>t.ts(e,n,i,s),rO=(t,e,n,i,s)=>t.tt(e,n,i,s),aO="WORD",lO="UWORD",cO="ASCIINUMERICAL",dO="ALPHANUMERICAL",hO="LOCALHOST",uO="TLD",pO="UTLD",fO="SCHEME",mO="SLASH_SCHEME",gO="NUM",vO="WS",bO="NL",yO="OPENBRACE",wO="CLOSEBRACE",xO="OPENBRACKET",CO="CLOSEBRACKET",kO="OPENPAREN",SO="CLOSEPAREN",_O="OPENANGLEBRACKET",IO="CLOSEANGLEBRACKET",$O="FULLWIDTHLEFTPAREN",MO="FULLWIDTHRIGHTPAREN",DO="LEFTCORNERBRACKET",EO="RIGHTCORNERBRACKET",AO="LEFTWHITECORNERBRACKET",OO="RIGHTWHITECORNERBRACKET",TO="FULLWIDTHLESSTHAN",RO="FULLWIDTHGREATERTHAN",FO="AMPERSAND",NO="APOSTROPHE",LO="ASTERISK",BO="AT",PO="BACKSLASH",
|
|
9088
|
-
var lT=Object.freeze({__proto__:null,ALPHANUMERICAL:dO,AMPERSAND:FO,APOSTROPHE:NO,ASCIINUMERICAL:cO,ASTERISK:LO,AT:BO,BACKSLASH:PO,BACKTICK:
|
|
9088
|
+
const iO=(t,e,n,i,s)=>t.ta(e,n,i,s),sO=(t,e,n,i,s)=>t.tr(e,n,i,s),oO=(t,e,n,i,s)=>t.ts(e,n,i,s),rO=(t,e,n,i,s)=>t.tt(e,n,i,s),aO="WORD",lO="UWORD",cO="ASCIINUMERICAL",dO="ALPHANUMERICAL",hO="LOCALHOST",uO="TLD",pO="UTLD",fO="SCHEME",mO="SLASH_SCHEME",gO="NUM",vO="WS",bO="NL",yO="OPENBRACE",wO="CLOSEBRACE",xO="OPENBRACKET",CO="CLOSEBRACKET",kO="OPENPAREN",SO="CLOSEPAREN",_O="OPENANGLEBRACKET",IO="CLOSEANGLEBRACKET",$O="FULLWIDTHLEFTPAREN",MO="FULLWIDTHRIGHTPAREN",DO="LEFTCORNERBRACKET",EO="RIGHTCORNERBRACKET",AO="LEFTWHITECORNERBRACKET",OO="RIGHTWHITECORNERBRACKET",TO="FULLWIDTHLESSTHAN",RO="FULLWIDTHGREATERTHAN",FO="AMPERSAND",NO="APOSTROPHE",LO="ASTERISK",BO="AT",PO="BACKSLASH",VO="BACKTICK",zO="CARET",HO="COLON",UO="COMMA",qO="DOLLAR",jO="DOT",WO="EQUALS",GO="EXCLAMATION",ZO="HYPHEN",KO="PERCENT",YO="PIPE",XO="PLUS",JO="POUND",QO="QUERY",tT="QUOTE",eT="FULLWIDTHMIDDLEDOT",nT="SEMI",iT="SLASH",sT="TILDE",oT="UNDERSCORE",rT="EMOJI",aT="SYM"
|
|
9089
|
+
var lT=Object.freeze({__proto__:null,ALPHANUMERICAL:dO,AMPERSAND:FO,APOSTROPHE:NO,ASCIINUMERICAL:cO,ASTERISK:LO,AT:BO,BACKSLASH:PO,BACKTICK:VO,CARET:zO,CLOSEANGLEBRACKET:IO,CLOSEBRACE:wO,CLOSEBRACKET:CO,CLOSEPAREN:SO,COLON:HO,COMMA:UO,DOLLAR:qO,DOT:jO,EMOJI:rT,EQUALS:WO,EXCLAMATION:GO,FULLWIDTHGREATERTHAN:RO,FULLWIDTHLEFTPAREN:$O,FULLWIDTHLESSTHAN:TO,FULLWIDTHMIDDLEDOT:eT,FULLWIDTHRIGHTPAREN:MO,HYPHEN:ZO,LEFTCORNERBRACKET:DO,LEFTWHITECORNERBRACKET:AO,LOCALHOST:hO,NL:bO,NUM:gO,OPENANGLEBRACKET:_O,OPENBRACE:yO,OPENBRACKET:xO,OPENPAREN:kO,PERCENT:KO,PIPE:YO,PLUS:XO,POUND:JO,QUERY:QO,QUOTE:tT,RIGHTCORNERBRACKET:EO,RIGHTWHITECORNERBRACKET:OO,SCHEME:fO,SEMI:nT,SLASH:iT,SLASH_SCHEME:mO,SYM:aT,TILDE:sT,TLD:uO,UNDERSCORE:oT,UTLD:pO,UWORD:lO,WORD:aO,WS:vO})
|
|
9089
9090
|
const cT=/[a-z]/,dT=/\p{L}/u,hT=/\p{Emoji}/u,uT=/\d/,pT=/\s/,fT="\r",mT="\n",gT="️",vT="",bT=""
|
|
9090
9091
|
let yT=null,wT=null
|
|
9091
9092
|
function xT(t,e){const n=function(t){const e=[],n=t.length
|
|
@@ -9125,7 +9126,7 @@ function LT(t,e=!1){if(NT.initialized&&FT(`linkifyjs: already initialized - will
|
|
|
9125
9126
|
NT.customSchemes.push([t,e])}function BT(){NT.scanner=function(t=[]){const e={}
|
|
9126
9127
|
nO.groups=e
|
|
9127
9128
|
const n=new nO
|
|
9128
|
-
null==yT&&(yT=kT(
|
|
9129
|
+
null==yT&&(yT=kT(zA)),null==wT&&(wT=kT(HA)),rO(n,"'",NO),rO(n,"{",yO),rO(n,"}",wO),rO(n,"[",xO),rO(n,"]",CO),rO(n,"(",kO),rO(n,")",SO),rO(n,"<",_O),rO(n,">",IO),rO(n,"(",$O),rO(n,")",MO),rO(n,"「",DO),rO(n,"」",EO),rO(n,"『",AO),rO(n,"』",OO),rO(n,"<",TO),rO(n,">",RO),rO(n,"&",FO),rO(n,"*",LO),rO(n,"@",BO),rO(n,"`",VO),rO(n,"^",zO),rO(n,":",HO),rO(n,",",UO),rO(n,"$",qO),rO(n,".",jO),rO(n,"=",WO),rO(n,"!",GO),rO(n,"-",ZO),rO(n,"%",KO),rO(n,"|",YO),rO(n,"+",XO),rO(n,"#",JO),rO(n,"?",QO),rO(n,'"',tT),rO(n,"/",iT),rO(n,";",nT),rO(n,"~",sT),rO(n,"_",oT),rO(n,"\\",PO),rO(n,"・",eT)
|
|
9129
9130
|
const i=sO(n,uT,gO,{[qA]:!0})
|
|
9130
9131
|
sO(i,uT,i)
|
|
9131
9132
|
const s=sO(i,cT,cO,{[GA]:!0}),o=sO(i,dT,dO,{[ZA]:!0}),r=sO(n,cT,aO,{[jA]:!0})
|
|
@@ -9145,7 +9146,7 @@ eO(uO,{tld:!0,ascii:!0},e),eO(pO,{utld:!0,alpha:!0},e),CT(n,"file",fO,aO,p),CT(n
|
|
|
9145
9146
|
for(let e=0;e<t.length;e++){const i=t[e][0],s=t[e][1]?{[XA]:!0}:{[JA]:!0}
|
|
9146
9147
|
i.indexOf("-")>=0?s[KA]=!0:cT.test(i)?uT.test(i)?s[GA]=!0:s[jA]=!0:s[qA]=!0,oO(n,i,i,s)}return oO(n,"localhost",hO,{ascii:!0}),n.jd=new nO(aT),{start:n,tokens:UA({groups:e},lT)}}(NT.customSchemes)
|
|
9147
9148
|
for(let t=0;t<NT.tokenQueue.length;t++)NT.tokenQueue[t][1]({scanner:NT.scanner})
|
|
9148
|
-
NT.parser=function({groups:t}){const e=t.domain.concat([FO,LO,BO,PO,zO,
|
|
9149
|
+
NT.parser=function({groups:t}){const e=t.domain.concat([FO,LO,BO,PO,VO,zO,qO,WO,ZO,gO,KO,YO,XO,JO,iT,aT,sT,oT]),n=[NO,HO,UO,jO,GO,KO,QO,tT,nT,_O,IO,yO,wO,CO,xO,kO,SO,$O,MO,DO,EO,AO,OO,TO,RO],i=[FO,NO,LO,PO,VO,zO,qO,WO,ZO,yO,wO,KO,YO,XO,JO,QO,iT,aT,sT,oT],s=TT(),o=rO(s,sT)
|
|
9149
9150
|
iO(o,i,o),iO(o,t.domain,o)
|
|
9150
9151
|
const r=TT(),a=TT(),l=TT()
|
|
9151
9152
|
iO(s,t.domain,r),iO(s,t.scheme,a),iO(s,t.slashscheme,l),iO(r,i,o),iO(r,t.domain,r)
|
|
@@ -9188,10 +9189,10 @@ for(;s<i&&(c=l||a.go(n[s].t));)l=null,a=c,a.accepts()?(u=0,h=a):u>=0&&u++,s++,d+
|
|
|
9188
9189
|
if(u<0)s-=d,s<i&&(r.push(n[s]),s++)
|
|
9189
9190
|
else{r.length>0&&(o.push(RT(ET,e,r)),r=[]),s-=u,d-=u
|
|
9190
9191
|
const t=h.t,i=n.slice(s-d,s)
|
|
9191
|
-
o.push(RT(t,e,i))}}return r.length>0&&o.push(RT(ET,e,r)),o}(NT.parser.start,t,xT(NT.scanner.start,t))}function
|
|
9192
|
+
o.push(RT(t,e,i))}}return r.length>0&&o.push(RT(ET,e,r)),o}(NT.parser.start,t,xT(NT.scanner.start,t))}function VT(t,e=null,n=null){if(e&&"object"==typeof e){if(n)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`)
|
|
9192
9193
|
n=e,e=null}const i=new _T(n),s=PT(t),o=[]
|
|
9193
9194
|
for(let t=0;t<s.length;t++){const n=s[t]
|
|
9194
|
-
!n.isLink||e&&n.t!==e||!i.check(n)||o.push(n.toFormattedObject(i))}return o}function
|
|
9195
|
+
!n.isLink||e&&n.t!==e||!i.check(n)||o.push(n.toFormattedObject(i))}return o}function zT(t){return new Kx({key:new Jx("autolink"),appendTransaction:(e,n,i)=>{const s=e.some((t=>t.docChanged))&&!n.doc.eq(i.doc),o=e.some((t=>t.getMeta("preventAutolink")))
|
|
9195
9196
|
if(!s||o)return
|
|
9196
9197
|
const{tr:r}=i,a=function(t,e){const n=new Mx(t)
|
|
9197
9198
|
return e.forEach((t=>{t.steps.forEach((t=>{n.step(t)}))})),n}(n.doc,[...e]),l=function(t){const{mapping:e,steps:n}=t,i=[]
|
|
@@ -9218,11 +9219,11 @@ e&&n.push(e)})),!t||t.replace(HT,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[
|
|
|
9218
9219
|
return!(!e||!this.options.isAllowedUri(e,{defaultValidate:t=>!!UT(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol}))&&null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:t=>!!UT(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",iI(this.options.HTMLAttributes,t),0]:["a",iI(this.options.HTMLAttributes,{...t,href:""}),0]},addCommands(){return{setLink:t=>({chain:e})=>{const{href:n}=t
|
|
9219
9220
|
return!!this.options.isAllowedUri(n,{defaultValidate:t=>!!UT(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&e().setMark(this.name,t).setMeta("preventAutolink",!0).run()},toggleLink:t=>({chain:e})=>{const{href:n}=t
|
|
9220
9221
|
return!!this.options.isAllowedUri(n,{defaultValidate:t=>!!UT(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[y$({find:t=>{const e=[]
|
|
9221
|
-
if(t){const{protocols:n,defaultProtocol:i}=this.options,s=
|
|
9222
|
+
if(t){const{protocols:n,defaultProtocol:i}=this.options,s=VT(t).filter((t=>t.isLink&&this.options.isAllowedUri(t.value,{defaultValidate:t=>!!UT(t,n),protocols:n,defaultProtocol:i})))
|
|
9222
9223
|
s.length&&s.forEach((t=>e.push({text:t.value,data:{href:t.href},index:t.start})))}return e},type:this.type,getAttributes:t=>{var e
|
|
9223
9224
|
return{href:null===(e=t.data)||void 0===e?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:n}=this.options
|
|
9224
9225
|
var i
|
|
9225
|
-
return this.options.autolink&&t.push(
|
|
9226
|
+
return this.options.autolink&&t.push(zT({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:t=>this.options.isAllowedUri(t,{defaultValidate:t=>!!UT(t,e),protocols:e,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),!0===this.options.openOnClick&&t.push((i={type:this.type},new Kx({key:new Jx("handleClickLink"),props:{handleClick:(t,e,n)=>{var s,o
|
|
9226
9227
|
if(0!==n.button)return!1
|
|
9227
9228
|
if(!t.editable)return!1
|
|
9228
9229
|
let r=n.target
|
|
@@ -9234,7 +9235,7 @@ return!(!c||!d||(window.open(d,h),0))}}}))),this.options.linkOnPaste&&t.push(fun
|
|
|
9234
9235
|
if(r)return!1
|
|
9235
9236
|
let a=""
|
|
9236
9237
|
i.content.forEach((t=>{a+=t.textContent}))
|
|
9237
|
-
const l=
|
|
9238
|
+
const l=VT(a,{defaultProtocol:t.defaultProtocol}).find((t=>t.isLink&&t.value===a))
|
|
9238
9239
|
return!(!a||!l)&&t.editor.commands.setMark(t.type,{href:l.href})}}})}({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),t}}),jT=b$.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:t}){return["li",iI(this.options.HTMLAttributes,t),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)}}})
|
|
9239
9240
|
function WT(t){var e
|
|
9240
9241
|
const{char:n,allowSpaces:i,allowToIncludeChar:s,allowedPrefixes:o,startOfLine:r,$position:a}=t,l=i&&!s,c=n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")
|
|
@@ -9285,7 +9286,7 @@ const r=FS.node(e,e+t.nodeSize,{class:i.join(" "),"data-placeholder":"function"=
|
|
|
9285
9286
|
s.push(r)}return this.options.includeChildren})),BS.create(t,s)}}})]}}),nR=b$.create({name:"text",group:"inline"}),iR=/^https?:\/\//i
|
|
9286
9287
|
function sR(t,e,n,i,s,o){const r=qT.extend({excludes:"_",inclusive:!1,parseHTML:()=>[{tag:fh},{tag:"a"}],renderHTML:({HTMLAttributes:t})=>["a",t]}).configure({HTMLAttributes:{rel:"noopener noreferrer",target:null,class:""},autolink:!0,openOnClick:!1,linkOnPaste:!1,shouldAutoLink:t=>iR.test(t)}),a=i.map((n=>function(t,e,n,i){return YT.extend({name:t.name,parseHTML:()=>[{tag:t.viewElement}],addAttributes:()=>({href:{default:null,parseHTML:t=>t.getAttribute("mention-href"),renderHTML:t=>({"mention-href":t.href})},label:{default:null,parseHTML:t=>t.getAttribute("mention-label"),renderHTML:t=>({"mention-label":t.label})},disabled:{default:null,parseHTML:t=>t.getAttribute("disabled"),renderHTML:t=>({disabled:t.disabled})}}),renderHTML({node:e,HTMLAttributes:n}){return[t.viewElement,iI(this.options.HTMLAttributes,n),this.options.renderText({options:this.options,node:e})]}}).configure({suggestion:{char:t.character,decorationClass:"nimble-mention-view-edit",pluginKey:new Jx(t.key),allowSpaces:!0,render:()=>{let s=!1
|
|
9287
9288
|
return{onStart:o=>{null!==o.decorationNode&&(s=!0,t.mentionUpdateEmitter(o.query),e(o.text.slice(0,1)),n(o.command),i?.show({filter:o.query,anchorNode:o.decorationNode}))},onUpdate:e=>{s&&(t.mentionUpdateEmitter(e.query),n(e.command),i?.show({filter:e.query,anchorNode:e.decorationNode}))},onKeyDown:t=>!!s&&(t.event.key===hn&&(s=!1),i?.keydownHandler(t.event)??!1),onExit:()=>{e(""),n(void 0),i?.close()}}}}})}(n,t,e,s))),l=new m$({element:n,enableInputRules:[fA,QT],enablePasteRules:!1,editorProps:{transformPasted:function(t){const e=oR(l,t.content)
|
|
9288
|
-
return new
|
|
9289
|
+
return new zy(e,t.openStart,t.openEnd)}},extensions:[mA,tR,nR,fA,QT,jT,hA,VA,FA,eR.configure({placeholder:o,showOnlyWhenEditable:!1}),w$,r,...a]})
|
|
9289
9290
|
return l}function oR(t,e){const n=[]
|
|
9290
9291
|
return e.forEach((e=>{if(e.isText&&e.marks.length>0){const i=e.marks.find((t=>"link"===t.type.name&&t.attrs))
|
|
9291
9292
|
i?iR.test(i.attrs.href)?n.push(t.schema.text(i.attrs.href,e.marks)):n.push(t.schema.text(e.textContent,i.removeFromSet(e.marks))):n.push(e)}else if(e.type.name.startsWith(H$))n.push(t.schema.text(e.attrs.label))
|
|
@@ -9305,7 +9306,7 @@ return n===i}createEditor(){const t=document.createElement("div")
|
|
|
9305
9306
|
return t.className="editor",t.setAttribute("aria-multiline","true"),t.setAttribute("role","textbox"),t.setAttribute("aria-disabled","false"),t}initializeEditor(){this.unbindEditorTransactionEvent(),this.unbindEditorUpdateEvent(),this.unbindNativeInputEvent(),this.tiptapEditor?.destroy(),this.tiptapEditor=sR((t=>{this.activeMentionCharacter=t}),(t=>{this.activeMentionCommand=t}),this.editorDiv,this.configuration instanceof aR?this.configuration.mentionExtensionConfig:[],this.mentionListbox,this.placeholder),this.disableEditor(),this.disableMentionViewElement(),this.bindEditorTransactionEvent(),this.bindEditorUpdateEvent(),this.stopNativeInputEventPropagation()}getHtmlContent(t){const e=ZE.parseMarkdownToDOM(t,this.configuration?.parserMentionConfig)
|
|
9306
9307
|
return this.xmlSerializer.serializeToString(e.fragment)}bindEditorTransactionEvent(){this.tiptapEditor.on("transaction",(()=>{this.updateEditorButtonsState()}))}unbindEditorTransactionEvent(){this.tiptapEditor.off("transaction")}updateEditorButtonsState(){if(!this.$fastController.isConnected)return
|
|
9307
9308
|
const{extensionManager:t,state:e}=this.tiptapEditor,{extensions:n}=t,{selection:i}=e,s=ZI((t=>t$(t.type.name,n)))(i)
|
|
9308
|
-
this.boldButton.checked=this.tiptapEditor.isActive("bold"),this.italicsButton.checked=this.tiptapEditor.isActive("italic"),this.bulletListButton.checked=s?.node.type.name===
|
|
9309
|
+
this.boldButton.checked=this.tiptapEditor.isActive("bold"),this.italicsButton.checked=this.tiptapEditor.isActive("italic"),this.bulletListButton.checked=s?.node.type.name===V$,this.numberedListButton.checked=s?.node.type.name===z$}keyActivatesButton(t){switch(t.key){case gn:case dn:return!0
|
|
9309
9310
|
default:return!1}}unbindEditorUpdateEvent(){this.tiptapEditor.off("update")}bindEditorUpdateEvent(){this.tiptapEditor.on("update",(()=>{this.$emit("input"),this.queueUpdateScrollbarWidth()}))}disableEditor(){this.tiptapEditor.setEditable(!this.disabled),this.setEditorTabIndex(),this.editorDiv.setAttribute("aria-disabled",this.disabled?"true":"false"),this.mentionListbox?.close()}disableMentionViewElement(){this.tiptapEditor.state.doc.descendants(((t,e)=>{if(t.type.name.startsWith(H$)){const n={...t.attrs,disabled:this.disabled?"":null},i=this.tiptapEditor.schema.node(t.type.name,n,t.content),s=this.tiptapEditor.state.tr.replaceWith(e,e+t.nodeSize,i)
|
|
9310
9311
|
this.tiptapEditor.view.dispatch(s)}return!0}))}stopNativeInputEventPropagation(){this.tiptapEditor.view.dom.addEventListener("input",(t=>{t.stopPropagation()}))}unbindNativeInputEvent(){this.tiptapEditor.view.dom.removeEventListener("input",(()=>{}))}queueUpdateScrollbarWidth(){this.$fastController.isConnected&&(this.updateScrollbarWidthQueued||(this.updateScrollbarWidthQueued=!0,b.queueUpdate((()=>this.updateScrollbarWidth()))))}updateScrollbarWidth(){this.updateScrollbarWidthQueued=!1,this.scrollbarWidth=this.tiptapEditor.view.dom.offsetWidth-this.tiptapEditor.view.dom.clientWidth}onResize(){this.scrollbarWidth=this.tiptapEditor.view.dom.offsetWidth-this.tiptapEditor.view.dom.clientWidth}getTipTapExtension(t){return this.tiptapEditor.extensionManager.extensions.find((e=>e.name===t))}setEditorTabIndex(){this.tiptapEditor.setOptions({editorProps:{attributes:{tabindex:this.disabled?"-1":"0"}}})}setActiveMappingConfigs(){this.activeMappingConfigs=this.activeMentionCharacter?this.getMentionExtensionConfigFromCharacter(this.activeMentionCharacter)?.mappingConfigs:void 0}shouldInsertSpace(){const{$anchor:t,$head:e}=this.tiptapEditor.view.state.selection,n=0===e.parentOffset||0===t.parentOffset,i=t.pos<e.pos?t.nodeBefore:e.nodeBefore,s=i?.type.name===w$.name,o=i?.textContent.endsWith(" ")
|
|
9311
9312
|
return!n&&!s&&!o}getMentionExtensionConfigFromCharacter(t){return this.getMentionExtensionConfig().find((e=>e.character===t))}resetEditorButtonsState(t){t?.bold&&!this.tiptapEditor.isActive("bold")&&this.tiptapEditor.chain().focus().toggleBold().run(),t?.italics&&!this.tiptapEditor.isActive("italic")&&this.tiptapEditor.chain().focus().toggleItalic().run()}getButtonsState(t){if(this.$fastController.isConnected)return{bold:t.isActive("bold"),italics:t.isActive("italic")}}}t([ft({mode:"boolean"})],lR.prototype,"disabled",void 0),t([ft({attribute:"footer-hidden",mode:"boolean"})],lR.prototype,"footerHidden",void 0),t([ft],lR.prototype,"placeholder",void 0),t([C],lR.prototype,"boldButton",void 0),t([C],lR.prototype,"italicsButton",void 0),t([C],lR.prototype,"bulletListButton",void 0),t([C],lR.prototype,"numberedListButton",void 0),t([C],lR.prototype,"scrollbarWidth",void 0),t([C],lR.prototype,"activeMentionCharacter",void 0),t([C],lR.prototype,"activeMappingConfigs",void 0),Ze(lR,Sn)
|
|
@@ -9702,9 +9703,9 @@ const wR="nimble-spinner",xR=t=>t instanceof Hb,CR=t=>t instanceof Gb,kR=Sv(Q`
|
|
|
9702
9703
|
<slot ${Ut("labelSlot")}></slot>
|
|
9703
9704
|
</label>
|
|
9704
9705
|
`)
|
|
9705
|
-
let SR=class extends
|
|
9706
|
+
let SR=class extends zi{}
|
|
9706
9707
|
class _R extends(Fn(SR)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}const IR=t=>!t.visuallyHidden&&!t.disabled&&!t.hidden,$R=t=>!t.visuallyHidden&&!t.hidden
|
|
9707
|
-
class MR extends(ov(Mv(_R))){constructor(){super(...arguments),this.appearance=mv,this.appearanceReadOnly=!1,this.fullBleed=!1,this.filterMode=xv.none,this.clearable=!1,this.loadingVisible=!1,this.displayPlaceholder=!1,this.open=!1,this.listboxId=kn("listbox-"),this.hasOverflow=!1,this.filteredOptions=[],this.filter="",this.availableViewportHeight=0,this._value="",this.forcedPosition=!1,this.selectedOptionObserver=new MutationObserver((()=>{this.updateDisplayValue()}))}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get labelContent(){return this.$fastController.isConnected?
|
|
9708
|
+
class MR extends(ov(Mv(_R))){constructor(){super(...arguments),this.appearance=mv,this.appearanceReadOnly=!1,this.fullBleed=!1,this.filterMode=xv.none,this.clearable=!1,this.loadingVisible=!1,this.displayPlaceholder=!1,this.open=!1,this.listboxId=kn("listbox-"),this.hasOverflow=!1,this.filteredOptions=[],this.filter="",this.availableViewportHeight=0,this._value="",this.forcedPosition=!1,this.selectedOptionObserver=new MutationObserver((()=>{this.updateDisplayValue()}))}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get labelContent(){return this.$fastController.isConnected?zb(this.labelSlot):""}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.open&&this.initializeOpenState(),this.observeSelectedOptionTextContent()}disconnectedCallback(){super.disconnectedCallback(),this.selectedOptionObserver?.disconnect()}get value(){return x.track(this,"value"),this._value}set value(t){const e=this._value
|
|
9708
9709
|
let n=t
|
|
9709
9710
|
if(this.options?.length){const t=this.options.findIndex((t=>t.value===n)),e=this.options[this.selectedIndex]?.value??null,i=this.options[t]?.value??null;-1!==t&&e===i||(n="",this.selectedIndex=t),n=this.firstSelectedOption?.value??n}e!==n&&(this._value=n,super.valueChanged(e,n),x.notify(this,"value"),this.updateDisplayValue())}get displayValue(){return x.track(this,"displayValue"),this.firstSelectedOption?.text??""}anchoredRegionChanged(t,e){this.anchoredRegion&&this.control&&(this.anchoredRegion.anchorElement=this.control)}controlChanged(t,e){this.anchoredRegion&&this.control&&(this.anchoredRegion.anchorElement=this.control)}slottedOptionsChanged(t,e){const n=this.value
|
|
9710
9711
|
this.options.forEach((t=>{const e=x.getNotifier(t)
|
|
@@ -10260,10 +10261,10 @@ const NR=class extends ps{}.compose({baseName:"tab-panel",baseClass:ps,template:
|
|
|
10260
10261
|
*
|
|
10261
10262
|
* @license MIT
|
|
10262
10263
|
*/
|
|
10263
|
-
function LR(t,e){return"function"==typeof t?t(e):t}function BR(t,e){return n=>{e.setState((e=>({...e,[t]:LR(n,e[t])})))}}function PR(t){return t instanceof Function}function
|
|
10264
|
+
function LR(t,e){return"function"==typeof t?t(e):t}function BR(t,e){return n=>{e.setState((e=>({...e,[t]:LR(n,e[t])})))}}function PR(t){return t instanceof Function}function VR(t,e){const n=[],i=t=>{t.forEach((t=>{n.push(t)
|
|
10264
10265
|
const s=e(t)
|
|
10265
10266
|
null!=s&&s.length&&i(s)}))}
|
|
10266
|
-
return i(t),n}function
|
|
10267
|
+
return i(t),n}function zR(t,e,n){let i,s=[]
|
|
10267
10268
|
return o=>{let r
|
|
10268
10269
|
n.key&&n.debug&&(r=Date.now())
|
|
10269
10270
|
const a=t(o)
|
|
@@ -10277,14 +10278,14 @@ const UR="debugHeaders"
|
|
|
10277
10278
|
function qR(t,e,n){var i
|
|
10278
10279
|
let s={id:null!=(i=n.id)?i:e.id,column:e,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const t=[],e=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(e),t.push(n)}
|
|
10279
10280
|
return e(s),t},getContext:()=>({table:t,header:s,column:e})}
|
|
10280
|
-
return t._features.forEach((e=>{null==e.createHeader||e.createHeader(s,t)})),s}const jR={createTable:t=>{t.getHeaderGroups=
|
|
10281
|
+
return t._features.forEach((e=>{null==e.createHeader||e.createHeader(s,t)})),s}const jR={createTable:t=>{t.getHeaderGroups=zR((()=>[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,n,i,s)=>{var o,r
|
|
10281
10282
|
const a=null!=(o=null==i?void 0:i.map((t=>n.find((e=>e.id===t)))).filter(Boolean))?o:[],l=null!=(r=null==s?void 0:s.map((t=>n.find((e=>e.id===t)))).filter(Boolean))?r:[]
|
|
10282
|
-
return WR(e,[...a,...n.filter((t=>!(null!=i&&i.includes(t.id)||null!=s&&s.includes(t.id)))),...l],t)}),HR(t.options,UR)),t.getCenterHeaderGroups=
|
|
10283
|
-
return WR(e,null!=(s=null==i?void 0:i.map((t=>n.find((e=>e.id===t)))).filter(Boolean))?s:[],t,"left")}),HR(t.options,UR)),t.getRightHeaderGroups=
|
|
10284
|
-
return WR(e,null!=(s=null==i?void 0:i.map((t=>n.find((e=>e.id===t)))).filter(Boolean))?s:[],t,"right")}),HR(t.options,UR)),t.getFooterGroups=
|
|
10285
|
-
return!(null!=(e=t.subHeaders)&&e.length)}))),HR(t.options,UR)),t.getLeftLeafHeaders=
|
|
10286
|
-
return!(null!=(e=t.subHeaders)&&e.length)}))),HR(t.options,UR)),t.getRightLeafHeaders=
|
|
10287
|
-
return!(null!=(e=t.subHeaders)&&e.length)}))),HR(t.options,UR)),t.getLeafHeaders=
|
|
10283
|
+
return WR(e,[...a,...n.filter((t=>!(null!=i&&i.includes(t.id)||null!=s&&s.includes(t.id)))),...l],t)}),HR(t.options,UR)),t.getCenterHeaderGroups=zR((()=>[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,n,i,s)=>WR(e,n=n.filter((t=>!(null!=i&&i.includes(t.id)||null!=s&&s.includes(t.id)))),t,"center")),HR(t.options,UR)),t.getLeftHeaderGroups=zR((()=>[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.left]),((e,n,i)=>{var s
|
|
10284
|
+
return WR(e,null!=(s=null==i?void 0:i.map((t=>n.find((e=>e.id===t)))).filter(Boolean))?s:[],t,"left")}),HR(t.options,UR)),t.getRightHeaderGroups=zR((()=>[t.getAllColumns(),t.getVisibleLeafColumns(),t.getState().columnPinning.right]),((e,n,i)=>{var s
|
|
10285
|
+
return WR(e,null!=(s=null==i?void 0:i.map((t=>n.find((e=>e.id===t)))).filter(Boolean))?s:[],t,"right")}),HR(t.options,UR)),t.getFooterGroups=zR((()=>[t.getHeaderGroups()]),(t=>[...t].reverse()),HR(t.options,UR)),t.getLeftFooterGroups=zR((()=>[t.getLeftHeaderGroups()]),(t=>[...t].reverse()),HR(t.options,UR)),t.getCenterFooterGroups=zR((()=>[t.getCenterHeaderGroups()]),(t=>[...t].reverse()),HR(t.options,UR)),t.getRightFooterGroups=zR((()=>[t.getRightHeaderGroups()]),(t=>[...t].reverse()),HR(t.options,UR)),t.getFlatHeaders=zR((()=>[t.getHeaderGroups()]),(t=>t.map((t=>t.headers)).flat()),HR(t.options,UR)),t.getLeftFlatHeaders=zR((()=>[t.getLeftHeaderGroups()]),(t=>t.map((t=>t.headers)).flat()),HR(t.options,UR)),t.getCenterFlatHeaders=zR((()=>[t.getCenterHeaderGroups()]),(t=>t.map((t=>t.headers)).flat()),HR(t.options,UR)),t.getRightFlatHeaders=zR((()=>[t.getRightHeaderGroups()]),(t=>t.map((t=>t.headers)).flat()),HR(t.options,UR)),t.getCenterLeafHeaders=zR((()=>[t.getCenterFlatHeaders()]),(t=>t.filter((t=>{var e
|
|
10286
|
+
return!(null!=(e=t.subHeaders)&&e.length)}))),HR(t.options,UR)),t.getLeftLeafHeaders=zR((()=>[t.getLeftFlatHeaders()]),(t=>t.filter((t=>{var e
|
|
10287
|
+
return!(null!=(e=t.subHeaders)&&e.length)}))),HR(t.options,UR)),t.getRightLeafHeaders=zR((()=>[t.getRightFlatHeaders()]),(t=>t.filter((t=>{var e
|
|
10288
|
+
return!(null!=(e=t.subHeaders)&&e.length)}))),HR(t.options,UR)),t.getLeafHeaders=zR((()=>[t.getLeftHeaderGroups(),t.getCenterHeaderGroups(),t.getRightHeaderGroups()]),((t,e,n)=>{var i,s,o,r,a,l
|
|
10288
10289
|
return[...null!=(i=null==(s=t[0])?void 0:s.headers)?i:[],...null!=(o=null==(r=e[0])?void 0:r.headers)?o:[],...null!=(a=null==(l=n[0])?void 0:l.headers)?a:[]].map((t=>t.getLeafHeaders())).flat()}),HR(t.options,UR))}}
|
|
10289
10290
|
function WR(t,e,n,i){var s,o
|
|
10290
10291
|
let r=0
|
|
@@ -10308,12 +10309,12 @@ const n=t.getColumn(e)
|
|
|
10308
10309
|
return null!=n&&n.accessorFn?(a._valuesCache[e]=n.accessorFn(a.original,i),a._valuesCache[e]):void 0},getUniqueValues:e=>{if(a._uniqueValuesCache.hasOwnProperty(e))return a._uniqueValuesCache[e]
|
|
10309
10310
|
const n=t.getColumn(e)
|
|
10310
10311
|
return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(a._uniqueValuesCache[e]=n.columnDef.getUniqueValues(a.original,i),a._uniqueValuesCache[e]):(a._uniqueValuesCache[e]=[a.getValue(e)],a._uniqueValuesCache[e]):void 0},renderValue:e=>{var n
|
|
10311
|
-
return null!=(n=a.getValue(e))?n:t.options.renderFallbackValue},subRows:null!=o?o:[],getLeafRows:()=>
|
|
10312
|
+
return null!=(n=a.getValue(e))?n:t.options.renderFallbackValue},subRows:null!=o?o:[],getLeafRows:()=>VR(a.subRows,(t=>t.subRows)),getParentRow:()=>a.parentId?t.getRow(a.parentId,!0):void 0,getParentRows:()=>{let t=[],e=a
|
|
10312
10313
|
for(;;){const n=e.getParentRow()
|
|
10313
10314
|
if(!n)break
|
|
10314
|
-
t.push(n),e=n}return t.reverse()},getAllCells:
|
|
10315
|
-
return null!=(e=s.getValue())?e:t.options.renderFallbackValue},getContext:
|
|
10316
|
-
return t._features.forEach((i=>{null==i.createCell||i.createCell(s,n,e,t)}),{}),s}(t,a,e,e.id)))),HR(t.options,"debugRows")),_getAllCellsByColumnId:
|
|
10315
|
+
t.push(n),e=n}return t.reverse()},getAllCells:zR((()=>[t.getAllLeafColumns()]),(e=>e.map((e=>function(t,e,n,i){const s={id:`${e.id}_${n.id}`,row:e,column:n,getValue:()=>e.getValue(i),renderValue:()=>{var e
|
|
10316
|
+
return null!=(e=s.getValue())?e:t.options.renderFallbackValue},getContext:zR((()=>[t,n,e,s]),((t,e,n,i)=>({table:t,column:e,row:n,cell:i,getValue:i.getValue,renderValue:i.renderValue})),HR(t.options,"debugCells"))}
|
|
10317
|
+
return t._features.forEach((i=>{null==i.createCell||i.createCell(s,n,e,t)}),{}),s}(t,a,e,e.id)))),HR(t.options,"debugRows")),_getAllCellsByColumnId:zR((()=>[a.getAllCells()]),(t=>t.reduce(((t,e)=>(t[e.column.id]=e,t)),{})),HR(t.options,"debugRows"))}
|
|
10317
10318
|
for(let e=0;e<t._features.length;e++){const n=t._features[e]
|
|
10318
10319
|
null==n||null==n.createRow||n.createRow(a,t)}return a},ZR={createColumn:(t,e)=>{t._getFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,t.id),t.getFacetedRowModel=()=>t._getFacetedRowModel?t._getFacetedRowModel():e.getPreFilteredRowModel(),t._getFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,t.id),t.getFacetedUniqueValues=()=>t._getFacetedUniqueValues?t._getFacetedUniqueValues():new Map,t._getFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,t.id),t.getFacetedMinMaxValues=()=>{if(t._getFacetedMinMaxValues)return t._getFacetedMinMaxValues()}}},KR=(t,e,n)=>{var i,s
|
|
10319
10320
|
const o=null==n||null==(i=n.toString())?void 0:i.toLowerCase()
|
|
@@ -10388,11 +10389,11 @@ t.setGrouping(e?[]:null!=(n=null==(i=t.initialState)?void 0:i.grouping)?n:[])},t
|
|
|
10388
10389
|
const i=e.getColumn(n)
|
|
10389
10390
|
return null!=i&&i.columnDef.getGroupingValue?(t._groupingValuesCache[n]=i.columnDef.getGroupingValue(t.original),t._groupingValuesCache[n]):t.getValue(n)},t._groupingValuesCache={}},createCell:(t,e,n,i)=>{t.getIsGrouped=()=>e.getIsGrouped()&&e.id===n.groupingColumnId,t.getIsPlaceholder=()=>!t.getIsGrouped()&&e.getIsGrouped(),t.getIsAggregated=()=>{var e
|
|
10390
10391
|
return!t.getIsGrouped()&&!t.getIsPlaceholder()&&!(null==(e=n.subRows)||!e.length)}}}
|
|
10391
|
-
const dF={getInitialState:t=>({columnOrder:[],...t}),getDefaultOptions:t=>({onColumnOrderChange:BR("columnOrder",t)}),createColumn:(t,e)=>{t.getIndex=
|
|
10392
|
+
const dF={getInitialState:t=>({columnOrder:[],...t}),getDefaultOptions:t=>({onColumnOrderChange:BR("columnOrder",t)}),createColumn:(t,e)=>{t.getIndex=zR((t=>[vF(e,t)]),(e=>e.findIndex((e=>e.id===t.id))),HR(e.options,"debugColumns")),t.getIsFirstColumn=n=>{var i
|
|
10392
10393
|
return(null==(i=vF(e,n)[0])?void 0:i.id)===t.id},t.getIsLastColumn=n=>{var i
|
|
10393
10394
|
const s=vF(e,n)
|
|
10394
10395
|
return(null==(i=s[s.length-1])?void 0:i.id)===t.id}},createTable:t=>{t.setColumnOrder=e=>null==t.options.onColumnOrderChange?void 0:t.options.onColumnOrderChange(e),t.resetColumnOrder=e=>{var n
|
|
10395
|
-
t.setColumnOrder(e?[]:null!=(n=t.initialState.columnOrder)?n:[])},t._getOrderColumnsFn=
|
|
10396
|
+
t.setColumnOrder(e?[]:null!=(n=t.initialState.columnOrder)?n:[])},t._getOrderColumnsFn=zR((()=>[t.getState().columnOrder,t.getState().grouping,t.options.groupedColumnMode]),((t,e,n)=>i=>{let s=[]
|
|
10396
10397
|
if(null!=t&&t.length){const e=[...t],n=[...i]
|
|
10397
10398
|
for(;n.length&&e.length;){const t=e.shift(),i=n.findIndex((e=>e.id===t))
|
|
10398
10399
|
i>-1&&s.push(n.splice(i,1)[0])}s=[...s,...n]}else s=i
|
|
@@ -10404,16 +10405,16 @@ return"right"===n?{left:(null!=(o=null==t?void 0:t.left)?o:[]).filter((t=>!(null
|
|
|
10404
10405
|
return(null==(n=t.columnDef.enablePinning)||n)&&(null==(i=null!=(s=e.options.enableColumnPinning)?s:e.options.enablePinning)||i)})),t.getIsPinned=()=>{const n=t.getLeafColumns().map((t=>t.id)),{left:i,right:s}=e.getState().columnPinning,o=n.some((t=>null==i?void 0:i.includes(t))),r=n.some((t=>null==s?void 0:s.includes(t)))
|
|
10405
10406
|
return o?"left":!!r&&"right"},t.getPinnedIndex=()=>{var n,i
|
|
10406
10407
|
const s=t.getIsPinned()
|
|
10407
|
-
return s?null!=(n=null==(i=e.getState().columnPinning)||null==(i=i[s])?void 0:i.indexOf(t.id))?n:-1:0}},createRow:(t,e)=>{t.getCenterVisibleCells=
|
|
10408
|
-
return t.filter((t=>!i.includes(t.column.id)))}),HR(e.options,"debugRows")),t.getLeftVisibleCells=
|
|
10408
|
+
return s?null!=(n=null==(i=e.getState().columnPinning)||null==(i=i[s])?void 0:i.indexOf(t.id))?n:-1:0}},createRow:(t,e)=>{t.getCenterVisibleCells=zR((()=>[t._getAllVisibleCells(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,e,n)=>{const i=[...null!=e?e:[],...null!=n?n:[]]
|
|
10409
|
+
return t.filter((t=>!i.includes(t.column.id)))}),HR(e.options,"debugRows")),t.getLeftVisibleCells=zR((()=>[t._getAllVisibleCells(),e.getState().columnPinning.left]),((t,e)=>(null!=e?e:[]).map((e=>t.find((t=>t.column.id===e)))).filter(Boolean).map((t=>({...t,position:"left"})))),HR(e.options,"debugRows")),t.getRightVisibleCells=zR((()=>[t._getAllVisibleCells(),e.getState().columnPinning.right]),((t,e)=>(null!=e?e:[]).map((e=>t.find((t=>t.column.id===e)))).filter(Boolean).map((t=>({...t,position:"right"})))),HR(e.options,"debugRows"))},createTable:t=>{t.setColumnPinning=e=>null==t.options.onColumnPinningChange?void 0:t.options.onColumnPinningChange(e),t.resetColumnPinning=e=>{var n,i
|
|
10409
10410
|
return t.setColumnPinning(e?{left:[],right:[]}:null!=(n=null==(i=t.initialState)?void 0:i.columnPinning)?n:{left:[],right:[]})},t.getIsSomeColumnsPinned=e=>{var n
|
|
10410
10411
|
const i=t.getState().columnPinning
|
|
10411
10412
|
var s,o
|
|
10412
|
-
return e?Boolean(null==(n=i[e])?void 0:n.length):Boolean((null==(s=i.left)?void 0:s.length)||(null==(o=i.right)?void 0:o.length))},t.getLeftLeafColumns=
|
|
10413
|
+
return e?Boolean(null==(n=i[e])?void 0:n.length):Boolean((null==(s=i.left)?void 0:s.length)||(null==(o=i.right)?void 0:o.length))},t.getLeftLeafColumns=zR((()=>[t.getAllLeafColumns(),t.getState().columnPinning.left]),((t,e)=>(null!=e?e:[]).map((e=>t.find((t=>t.id===e)))).filter(Boolean)),HR(t.options,"debugColumns")),t.getRightLeafColumns=zR((()=>[t.getAllLeafColumns(),t.getState().columnPinning.right]),((t,e)=>(null!=e?e:[]).map((e=>t.find((t=>t.id===e)))).filter(Boolean)),HR(t.options,"debugColumns")),t.getCenterLeafColumns=zR((()=>[t.getAllLeafColumns(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((t,e,n)=>{const i=[...null!=e?e:[],...null!=n?n:[]]
|
|
10413
10414
|
return t.filter((t=>!i.includes(t.id)))}),HR(t.options,"debugColumns"))}}
|
|
10414
10415
|
const uF={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},pF={getDefaultColumnDef:()=>uF,getInitialState:t=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...t}),getDefaultOptions:t=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:BR("columnSizing",t),onColumnSizingInfoChange:BR("columnSizingInfo",t)}),createColumn:(t,e)=>{t.getSize=()=>{var n,i,s
|
|
10415
10416
|
const o=e.getState().columnSizing[t.id]
|
|
10416
|
-
return Math.min(Math.max(null!=(n=t.columnDef.minSize)?n:uF.minSize,null!=(i=null!=o?o:t.columnDef.size)?i:uF.size),null!=(s=t.columnDef.maxSize)?s:uF.maxSize)},t.getStart=
|
|
10417
|
+
return Math.min(Math.max(null!=(n=t.columnDef.minSize)?n:uF.minSize,null!=(i=null!=o?o:t.columnDef.size)?i:uF.size),null!=(s=t.columnDef.maxSize)?s:uF.maxSize)},t.getStart=zR((t=>[t,vF(e,t),e.getState().columnSizing]),((e,n)=>n.slice(0,t.getIndex(e)).reduce(((t,e)=>t+e.getSize()),0)),HR(e.options,"debugColumns")),t.getAfter=zR((t=>[t,vF(e,t),e.getState().columnSizing]),((e,n)=>n.slice(t.getIndex(e)+1).reduce(((t,e)=>t+e.getSize()),0)),HR(e.options,"debugColumns")),t.resetSize=()=>{e.setColumnSizing((e=>{let{[t.id]:n,...i}=e
|
|
10417
10418
|
return i}))},t.getCanResize=()=>{var n,i
|
|
10418
10419
|
return(null==(n=t.columnDef.enableResizing)||n)&&(null==(i=e.options.enableColumnResizing)||i)},t.getIsResizing=()=>e.getState().columnSizingInfo.isResizingColumn===t.id},createHeader:(t,e)=>{t.getSize=()=>{let e=0
|
|
10419
10420
|
const n=t=>{var i
|
|
@@ -10442,7 +10443,7 @@ let fF=null
|
|
|
10442
10443
|
function mF(t){return"touchstart"===t.type}const gF={getInitialState:t=>({columnVisibility:{},...t}),getDefaultOptions:t=>({onColumnVisibilityChange:BR("columnVisibility",t)}),createColumn:(t,e)=>{t.toggleVisibility=n=>{t.getCanHide()&&e.setColumnVisibility((e=>({...e,[t.id]:null!=n?n:!t.getIsVisible()})))},t.getIsVisible=()=>{var n,i
|
|
10443
10444
|
const s=t.columns
|
|
10444
10445
|
return null==(n=s.length?s.some((t=>t.getIsVisible())):null==(i=e.getState().columnVisibility)?void 0:i[t.id])||n},t.getCanHide=()=>{var n,i
|
|
10445
|
-
return(null==(n=t.columnDef.enableHiding)||n)&&(null==(i=e.options.enableHiding)||i)},t.getToggleVisibilityHandler=()=>e=>{null==t.toggleVisibility||t.toggleVisibility(e.target.checked)}},createRow:(t,e)=>{t._getAllVisibleCells=
|
|
10446
|
+
return(null==(n=t.columnDef.enableHiding)||n)&&(null==(i=e.options.enableHiding)||i)},t.getToggleVisibilityHandler=()=>e=>{null==t.toggleVisibility||t.toggleVisibility(e.target.checked)}},createRow:(t,e)=>{t._getAllVisibleCells=zR((()=>[t.getAllCells(),e.getState().columnVisibility]),(t=>t.filter((t=>t.column.getIsVisible()))),HR(e.options,"debugRows")),t.getVisibleCells=zR((()=>[t.getLeftVisibleCells(),t.getCenterVisibleCells(),t.getRightVisibleCells()]),((t,e,n)=>[...t,...e,...n]),HR(e.options,"debugRows"))},createTable:t=>{const e=(e,n)=>zR((()=>[n(),n().filter((t=>t.getIsVisible())).map((t=>t.id)).join("_")]),(t=>t.filter((t=>null==t.getIsVisible?void 0:t.getIsVisible()))),HR(t.options,"debugColumns"))
|
|
10446
10447
|
t.getVisibleFlatColumns=e(0,(()=>t.getAllFlatColumns())),t.getVisibleLeafColumns=e(0,(()=>t.getAllLeafColumns())),t.getLeftVisibleLeafColumns=e(0,(()=>t.getLeftLeafColumns())),t.getRightVisibleLeafColumns=e(0,(()=>t.getRightLeafColumns())),t.getCenterVisibleLeafColumns=e(0,(()=>t.getCenterLeafColumns())),t.setColumnVisibility=e=>null==t.options.onColumnVisibilityChange?void 0:t.options.onColumnVisibilityChange(e),t.resetColumnVisibility=e=>{var n
|
|
10447
10448
|
t.setColumnVisibility(e?{}:null!=(n=t.initialState.columnVisibility)?n:{})},t.toggleAllColumnsVisible=e=>{var n
|
|
10448
10449
|
e=null!=(n=e)?n:!t.getIsAllColumnsVisible(),t.setColumnVisibility(t.getAllLeafColumns().reduce(((t,n)=>({...t,[n.id]:e||!(null!=n.getCanHide&&n.getCanHide())})),{}))},t.getIsAllColumnsVisible=()=>!t.getAllLeafColumns().some((t=>!(null!=t.getIsVisible&&t.getIsVisible()))),t.getIsSomeColumnsVisible=()=>t.getAllLeafColumns().some((t=>null==t.getIsVisible?void 0:t.getIsVisible())),t.getToggleAllColumnsVisibilityHandler=()=>e=>{var n
|
|
@@ -10482,7 +10483,7 @@ t.setPageIndex(e?0:null!=(n=null==(i=t.initialState)||null==(i=i.pagination)?voi
|
|
|
10482
10483
|
t.setPageSize(e?10:null!=(n=null==(i=t.initialState)||null==(i=i.pagination)?void 0:i.pageSize)?n:10)},t.setPageSize=e=>{t.setPagination((t=>{const n=Math.max(1,LR(e,t.pageSize)),i=t.pageSize*t.pageIndex,s=Math.floor(i/n)
|
|
10483
10484
|
return{...t,pageIndex:s,pageSize:n}}))},t.setPageCount=e=>t.setPagination((n=>{var i
|
|
10484
10485
|
let s=LR(e,null!=(i=t.options.pageCount)?i:-1)
|
|
10485
|
-
return"number"==typeof s&&(s=Math.max(-1,s)),{...n,pageCount:s}})),t.getPageOptions=
|
|
10486
|
+
return"number"==typeof s&&(s=Math.max(-1,s)),{...n,pageCount:s}})),t.getPageOptions=zR((()=>[t.getPageCount()]),(t=>{let e=[]
|
|
10486
10487
|
return t&&t>0&&(e=[...new Array(t)].fill(null).map(((t,e)=>e))),e}),HR(t.options,"debugTable")),t.getCanPreviousPage=()=>t.getState().pagination.pageIndex>0,t.getCanNextPage=()=>{const{pageIndex:e}=t.getState().pagination,n=t.getPageCount()
|
|
10487
10488
|
return-1===n||0!==n&&e<n-1},t.previousPage=()=>t.setPageIndex((t=>t-1)),t.nextPage=()=>t.setPageIndex((t=>t+1)),t.firstPage=()=>t.setPageIndex(0),t.lastPage=()=>t.setPageIndex(t.getPageCount()-1),t.getPrePaginationRowModel=()=>t.getExpandedRowModel(),t.getPaginationRowModel=()=>(!t._getPaginationRowModel&&t.options.getPaginationRowModel&&(t._getPaginationRowModel=t.options.getPaginationRowModel(t)),t.options.manualPagination||!t._getPaginationRowModel?t.getPrePaginationRowModel():t._getPaginationRowModel()),t.getPageCount=()=>{var e
|
|
10488
10489
|
return null!=(e=t.options.pageCount)?e:Math.ceil(t.getRowCount()/t.getState().pagination.pageSize)},t.getRowCount=()=>{var e
|
|
@@ -10504,12 +10505,12 @@ const i=t.getState().rowPinning
|
|
|
10504
10505
|
var s,o
|
|
10505
10506
|
return e?Boolean(null==(n=i[e])?void 0:n.length):Boolean((null==(s=i.top)?void 0:s.length)||(null==(o=i.bottom)?void 0:o.length))},t._getPinnedRows=(e,n,i)=>{var s
|
|
10506
10507
|
return(null==(s=t.options.keepPinnedRows)||s?(null!=n?n:[]).map((e=>{const n=t.getRow(e,!0)
|
|
10507
|
-
return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((t=>e.find((e=>e.id===t))))).filter(Boolean).map((t=>({...t,position:i})))},t.getTopRows=
|
|
10508
|
+
return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((t=>e.find((e=>e.id===t))))).filter(Boolean).map((t=>({...t,position:i})))},t.getTopRows=zR((()=>[t.getRowModel().rows,t.getState().rowPinning.top]),((e,n)=>t._getPinnedRows(e,n,"top")),HR(t.options,"debugRows")),t.getBottomRows=zR((()=>[t.getRowModel().rows,t.getState().rowPinning.bottom]),((e,n)=>t._getPinnedRows(e,n,"bottom")),HR(t.options,"debugRows")),t.getCenterRows=zR((()=>[t.getRowModel().rows,t.getState().rowPinning.top,t.getState().rowPinning.bottom]),((t,e,n)=>{const i=new Set([...null!=e?e:[],...null!=n?n:[]])
|
|
10508
10509
|
return t.filter((t=>!i.has(t.id)))}),HR(t.options,"debugRows"))}},kF={getInitialState:t=>({rowSelection:{},...t}),getDefaultOptions:t=>({onRowSelectionChange:BR("rowSelection",t),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:t=>{t.setRowSelection=e=>null==t.options.onRowSelectionChange?void 0:t.options.onRowSelectionChange(e),t.resetRowSelection=e=>{var n
|
|
10509
10510
|
return t.setRowSelection(e?{}:null!=(n=t.initialState.rowSelection)?n:{})},t.toggleAllRowsSelected=e=>{t.setRowSelection((n=>{e=void 0!==e?e:!t.getIsAllRowsSelected()
|
|
10510
10511
|
const i={...n},s=t.getPreGroupedRowModel().flatRows
|
|
10511
10512
|
return e?s.forEach((t=>{t.getCanSelect()&&(i[t.id]=!0)})):s.forEach((t=>{delete i[t.id]})),i}))},t.toggleAllPageRowsSelected=e=>t.setRowSelection((n=>{const i=void 0!==e?e:!t.getIsAllPageRowsSelected(),s={...n}
|
|
10512
|
-
return t.getRowModel().rows.forEach((e=>{SF(s,e.id,i,!0,t)})),s})),t.getPreSelectedRowModel=()=>t.getCoreRowModel(),t.getSelectedRowModel=
|
|
10513
|
+
return t.getRowModel().rows.forEach((e=>{SF(s,e.id,i,!0,t)})),s})),t.getPreSelectedRowModel=()=>t.getCoreRowModel(),t.getSelectedRowModel=zR((()=>[t.getState().rowSelection,t.getCoreRowModel()]),((e,n)=>Object.keys(e).length?_F(t,n):{rows:[],flatRows:[],rowsById:{}}),HR(t.options,"debugTable")),t.getFilteredSelectedRowModel=zR((()=>[t.getState().rowSelection,t.getFilteredRowModel()]),((e,n)=>Object.keys(e).length?_F(t,n):{rows:[],flatRows:[],rowsById:{}}),HR(t.options,"debugTable")),t.getGroupedSelectedRowModel=zR((()=>[t.getState().rowSelection,t.getSortedRowModel()]),((e,n)=>Object.keys(e).length?_F(t,n):{rows:[],flatRows:[],rowsById:{}}),HR(t.options,"debugTable")),t.getIsAllRowsSelected=()=>{const e=t.getFilteredRowModel().flatRows,{rowSelection:n}=t.getState()
|
|
10513
10514
|
let i=Boolean(e.length&&Object.keys(n).length)
|
|
10514
10515
|
return i&&e.some((t=>t.getCanSelect()&&!n[t.id]))&&(i=!1),i},t.getIsAllPageRowsSelected=()=>{const e=t.getPaginationRowModel().flatRows.filter((t=>t.getCanSelect())),{rowSelection:n}=t.getState()
|
|
10515
10516
|
let i=!!e.length
|
|
@@ -10582,26 +10583,26 @@ l=!1})).catch((t=>setTimeout((()=>{throw t})))))},reset:()=>{s.setState(s.initia
|
|
|
10582
10583
|
s.options=(t=>s.options.mergeOptions?s.options.mergeOptions(o,t):{...o,...t})(e)},getState:()=>s.options.state,setState:t=>{null==s.options.onStateChange||s.options.onStateChange(t)},_getRowId:(t,e,n)=>{var i
|
|
10583
10584
|
return null!=(i=null==s.options.getRowId?void 0:s.options.getRowId(t,e,n))?i:`${n?[n.id,e].join("."):e}`},getCoreRowModel:()=>(s._getCoreRowModel||(s._getCoreRowModel=s.options.getCoreRowModel(s)),s._getCoreRowModel()),getRowModel:()=>s.getPaginationRowModel(),getRow:(t,e)=>{let n=(e?s.getPrePaginationRowModel():s.getRowModel()).rowsById[t]
|
|
10584
10585
|
if(!n&&(n=s.getCoreRowModel().rowsById[t],!n))throw new Error
|
|
10585
|
-
return n},_getDefaultColumnDef:
|
|
10586
|
+
return n},_getDefaultColumnDef:zR((()=>[s.options.defaultColumn]),(t=>{var e
|
|
10586
10587
|
return t=null!=(e=t)?e:{},{header:t=>{const e=t.header.column.columnDef
|
|
10587
10588
|
return e.accessorKey?e.accessorKey:e.accessorFn?e.id:null},cell:t=>{var e,n
|
|
10588
|
-
return null!=(e=null==(n=t.renderValue())||null==n.toString?void 0:n.toString())?e:null},...s._features.reduce(((t,e)=>Object.assign(t,null==e.getDefaultColumnDef?void 0:e.getDefaultColumnDef())),{}),...t}}),HR(t,"debugColumns")),_getColumnDefs:()=>s.options.columns,getAllColumns:
|
|
10589
|
+
return null!=(e=null==(n=t.renderValue())||null==n.toString?void 0:n.toString())?e:null},...s._features.reduce(((t,e)=>Object.assign(t,null==e.getDefaultColumnDef?void 0:e.getDefaultColumnDef())),{}),...t}}),HR(t,"debugColumns")),_getColumnDefs:()=>s.options.columns,getAllColumns:zR((()=>[s._getColumnDefs()]),(t=>{const e=function(t,n,i){return void 0===i&&(i=0),t.map((t=>{const o=function(t,e,n,i){var s,o
|
|
10589
10590
|
const r={...t._getDefaultColumnDef(),...e},a=r.accessorKey
|
|
10590
10591
|
let l,c=null!=(s=null!=(o=r.id)?o:a?"function"==typeof String.prototype.replaceAll?a.replaceAll(".","_"):a.replace(/\./g,"_"):void 0)?s:"string"==typeof r.header?r.header:void 0
|
|
10591
10592
|
if(r.accessorFn?l=r.accessorFn:a&&(l=a.includes(".")?t=>{let e=t
|
|
10592
10593
|
for(const t of a.split(".")){var n
|
|
10593
10594
|
e=null==(n=e)?void 0:n[t]}return e}:t=>t[r.accessorKey]),!c)throw new Error
|
|
10594
|
-
let d={id:`${String(c)}`,accessorFn:l,parent:i,depth:n,columnDef:r,columns:[],getFlatColumns:
|
|
10595
|
-
return[d,...null==(t=d.columns)?void 0:t.flatMap((t=>t.getFlatColumns()))]}),HR(t.options,"debugColumns")),getLeafColumns:
|
|
10595
|
+
let d={id:`${String(c)}`,accessorFn:l,parent:i,depth:n,columnDef:r,columns:[],getFlatColumns:zR((()=>[!0]),(()=>{var t
|
|
10596
|
+
return[d,...null==(t=d.columns)?void 0:t.flatMap((t=>t.getFlatColumns()))]}),HR(t.options,"debugColumns")),getLeafColumns:zR((()=>[t._getOrderColumnsFn()]),(t=>{var e
|
|
10596
10597
|
if(null!=(e=d.columns)&&e.length){let e=d.columns.flatMap((t=>t.getLeafColumns()))
|
|
10597
10598
|
return t(e)}return[d]}),HR(t.options,"debugColumns"))}
|
|
10598
10599
|
for(const e of t._features)null==e.createColumn||e.createColumn(d,t)
|
|
10599
10600
|
return d}(s,t,i,n),r=t
|
|
10600
10601
|
return o.columns=r.columns?e(r.columns,o,i+1):[],o}))}
|
|
10601
|
-
return e(t)}),HR(t,"debugColumns")),getAllFlatColumns:
|
|
10602
|
+
return e(t)}),HR(t,"debugColumns")),getAllFlatColumns:zR((()=>[s.getAllColumns()]),(t=>t.flatMap((t=>t.getFlatColumns()))),HR(t,"debugColumns")),_getAllFlatColumnsById:zR((()=>[s.getAllFlatColumns()]),(t=>t.reduce(((t,e)=>(t[e.id]=e,t)),{})),HR(t,"debugColumns")),getAllLeafColumns:zR((()=>[s.getAllColumns(),s._getOrderColumnsFn()]),((t,e)=>e(t.flatMap((t=>t.getLeafColumns())))),HR(t,"debugColumns")),getColumn:t=>s._getAllFlatColumnsById()[t]}
|
|
10602
10603
|
Object.assign(s,c)
|
|
10603
10604
|
for(let t=0;t<s._features.length;t++){const e=s._features[t]
|
|
10604
|
-
null==e||null==e.createTable||e.createTable(s)}return s}function NF(){return t=>
|
|
10605
|
+
null==e||null==e.createTable||e.createTable(s)}return s}function NF(){return t=>zR((()=>[t.getState().grouping,t.getPreGroupedRowModel()]),((e,n)=>{if(!n.rows.length||!e.length)return n.rows.forEach((t=>{t.depth=0,t.parentId=void 0})),n
|
|
10605
10606
|
const i=e.filter((e=>t.getColumn(e))),s=[],o={},r=function(e,n,a){if(void 0===n&&(n=0),n>=i.length)return e.map((t=>(t.depth=n,s.push(t),o[t.id]=t,t.subRows&&(t.subRows=r(t.subRows,n+1,t.id)),t)))
|
|
10606
10607
|
const l=i[n],c=function(t,e){const n=new Map
|
|
10607
10608
|
return t.reduce(((t,n)=>{const i=`${n.getGroupingValue(e)}`,s=t.get(i)
|
|
@@ -10609,7 +10610,7 @@ return s?s.push(n):t.set(i,[n]),t}),n)}(e,l),d=Array.from(c.entries()).map(((e,c
|
|
|
10609
10610
|
u=a?`${a}>${u}`:u
|
|
10610
10611
|
const p=r(h,n+1,u)
|
|
10611
10612
|
p.forEach((t=>{t.parentId=u}))
|
|
10612
|
-
const f=n?
|
|
10613
|
+
const f=n?VR(h,(t=>t.subRows)):h,m=GR(t,u,f[0].original,c,n,void 0,a)
|
|
10613
10614
|
return Object.assign(m,{groupingColumnId:l,groupingValue:d,subRows:p,leafRows:f,getValue:e=>{if(i.includes(e)){if(m._valuesCache.hasOwnProperty(e))return m._valuesCache[e]
|
|
10614
10615
|
var n
|
|
10615
10616
|
if(h[0])m._valuesCache[e]=null!=(n=h[0].getValue(e))?n:void 0
|
|
@@ -10617,7 +10618,7 @@ return m._valuesCache[e]}if(m._groupingValuesCache.hasOwnProperty(e))return m._g
|
|
|
10617
10618
|
const s=t.getColumn(e),o=null==s?void 0:s.getAggregationFn()
|
|
10618
10619
|
return o?(m._groupingValuesCache[e]=o(e,f,h),m._groupingValuesCache[e]):void 0}}),p.forEach((t=>{s.push(t),o[t.id]=t})),m}))
|
|
10619
10620
|
return d},a=r(n.rows,0)
|
|
10620
|
-
return a.forEach((t=>{s.push(t),o[t.id]=t})),{rows:a,flatRows:s,rowsById:o}}),HR(t.options,"debugTable",0,(()=>{t._queue((()=>{t._autoResetExpanded(),t._autoResetPageIndex()}))})))}const LF=void 0,BF="can-load-children",PF="loading-children",
|
|
10621
|
+
return a.forEach((t=>{s.push(t),o[t.id]=t})),{rows:a,flatRows:s,rowsById:o}}),HR(t.options,"debugTable",0,(()=>{t._queue((()=>{t._autoResetExpanded(),t._autoResetPageIndex()}))})))}const LF=void 0,BF="can-load-children",PF="loading-children",VF={none:void 0,ascending:"ascending",descending:"descending"},zF={none:void 0,single:"single",multiple:"multiple"},HF="not-selected",UF="selected",qF="partially-selected",jF="left",WF="right",GF="none",ZF="columnHeader",KF="headerActions",YF="row",XF="rowSelectionCheckbox",JF="cell",QF="cellActionMenu",tN="cellContent",eN="basic",nN="localeAwareCaseSensitive",iN=117,sN=1
|
|
10621
10622
|
class oN extends je{}t([C],oN.prototype,"groupHeaderValue",void 0),t([C],oN.prototype,"columnConfig",void 0)
|
|
10622
10623
|
const rN=t=>((t=>{let e
|
|
10623
10624
|
try{e=document.createElement(t)}catch(t){}if(!(e instanceof oN))throw new Error(`Group header view tag name (${t}) must evaluate to an element extending TableGroupHeaderView`)})(t),Q`
|
|
@@ -10648,11 +10649,11 @@ try{e=document.createElement(t)}catch(t){}if(!(e instanceof aN))throw new Error(
|
|
|
10648
10649
|
`)}
|
|
10649
10650
|
</${t}>
|
|
10650
10651
|
`)
|
|
10651
|
-
class hN{constructor(t){this.uniqueId=kn("table-column-slot"),this.sortOperation=eN,this.dataRecordFieldNames=[],this.groupingDisabled=!0,this.fractionalWidth=sN,this.minPixelWidth=iN,this.resizingDisabled=!1,this.hideHeaderIndicators=!1,this.headerAlignment=jF,this.currentFractionalWidth=sN,this.sortingDisabled=!0,this.currentSortDirection=
|
|
10652
|
+
class hN{constructor(t){this.uniqueId=kn("table-column-slot"),this.sortOperation=eN,this.dataRecordFieldNames=[],this.groupingDisabled=!0,this.fractionalWidth=sN,this.minPixelWidth=iN,this.resizingDisabled=!1,this.hideHeaderIndicators=!1,this.headerAlignment=jF,this.currentFractionalWidth=sN,this.sortingDisabled=!0,this.currentSortDirection=VF.none,this.cellRecordFieldNames=t.cellRecordFieldNames,this.cellViewTemplate=dN(t.cellViewTag),t.groupHeaderViewTag&&(this.groupHeaderViewTemplate=rN(t.groupHeaderViewTag)),this.delegatedEvents=t.delegatedEvents,this.slotNames=t.slotNames??[],this.sortOperation=t.sortOperation??eN,this.validator=t.validator}fractionalWidthChanged(){this.currentFractionalWidth=this.fractionalWidth}pixelWidthChanged(){this.currentPixelWidth=this.pixelWidth}}function uN(t,...e){for(const n of e)if(t===n)return!0
|
|
10652
10653
|
return!1}t([C],hN.prototype,"columnConfig",void 0),t([C],hN.prototype,"operandDataRecordFieldName",void 0),t([C],hN.prototype,"sortOperation",void 0),t([C],hN.prototype,"dataRecordFieldNames",void 0),t([C],hN.prototype,"groupingDisabled",void 0),t([C],hN.prototype,"groupIndex",void 0),t([C],hN.prototype,"pixelWidth",void 0),t([C],hN.prototype,"fractionalWidth",void 0),t([C],hN.prototype,"minPixelWidth",void 0),t([C],hN.prototype,"resizingDisabled",void 0),t([C],hN.prototype,"hideHeaderIndicators",void 0),t([C],hN.prototype,"headerAlignment",void 0),t([C],hN.prototype,"currentFractionalWidth",void 0),t([C],hN.prototype,"currentPixelWidth",void 0),t([C],hN.prototype,"sortingDisabled",void 0),t([C],hN.prototype,"currentSortIndex",void 0),t([C],hN.prototype,"currentSortDirection",void 0)
|
|
10653
|
-
class pN extends je{constructor(){super(...arguments),this.columnInternals=new hN(this.getColumnInternalsOptions()),this.columnHidden=!1,this.hasOverflow=!1}checkValidity(){return this.columnInternals.validator.isColumnValid}get validity(){return this.columnInternals.validator.getValidity()}get headerTextContent(){return
|
|
10654
|
+
class pN extends je{constructor(){super(...arguments),this.columnInternals=new hN(this.getColumnInternalsOptions()),this.columnHidden=!1,this.hasOverflow=!1}checkValidity(){return this.columnInternals.validator.isColumnValid}get validity(){return this.columnInternals.validator.getValidity()}get headerTextContent(){return zb(this.contentSlot)}connectedCallback(){super.connectedCallback(),this.setAttribute("slot",this.columnInternals.uniqueId)}}t([ft({attribute:"column-id"})],pN.prototype,"columnId",void 0),t([ft({attribute:"action-menu-slot"})],pN.prototype,"actionMenuSlot",void 0),t([ft({attribute:"action-menu-label"})],pN.prototype,"actionMenuLabel",void 0),t([ft({attribute:"column-hidden",mode:"boolean"})],pN.prototype,"columnHidden",void 0),t([C],pN.prototype,"hasOverflow",void 0)
|
|
10654
10655
|
class fN{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((t=>!1===t))}areRecordIdsValid(){const t=this.getValidity()
|
|
10655
|
-
return!t.duplicateRecordId&&!t.missingRecordId&&!t.invalidRecordId}validateIdFieldConfiguration(t,e,n){const i=t!==
|
|
10656
|
+
return!t.duplicateRecordId&&!t.missingRecordId&&!t.invalidRecordId}validateIdFieldConfiguration(t,e,n){const i=t!==zF.none||"string"==typeof n
|
|
10656
10657
|
return this.idFieldNameNotConfigured=!!i&&"string"!=typeof e,!this.idFieldNameNotConfigured}validateRecordIds(t,e){if(this.duplicateRecordId=!1,this.missingRecordId=!1,this.invalidRecordId=!1,this.recordIds.clear(),"string"!=typeof e)return!0
|
|
10657
10658
|
for(const n of t){if(!Object.prototype.hasOwnProperty.call(n,e)){this.missingRecordId=!0
|
|
10658
10659
|
continue}const t=n[e]
|
|
@@ -10911,14 +10912,14 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(t
|
|
|
10911
10912
|
|
|
10912
10913
|
${Gt((t=>!t.indicatorsHidden),Q`
|
|
10913
10914
|
${""}
|
|
10914
|
-
${Gt((t=>t.sortDirection===
|
|
10915
|
+
${Gt((t=>t.sortDirection===VF.ascending),Q`
|
|
10915
10916
|
<${Uv}
|
|
10916
10917
|
class="sort-indicator"
|
|
10917
10918
|
title="${t=>Mb.getValueFor(t)}"
|
|
10918
10919
|
aria-hidden="true"
|
|
10919
10920
|
></${Uv}>
|
|
10920
10921
|
`)}
|
|
10921
|
-
${Gt((t=>t.sortDirection===
|
|
10922
|
+
${Gt((t=>t.sortDirection===VF.descending),Q`
|
|
10922
10923
|
<${Hv}
|
|
10923
10924
|
class="sort-indicator"
|
|
10924
10925
|
title="${t=>Db.getValueFor(t)}"
|
|
@@ -10936,7 +10937,7 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(t
|
|
|
10936
10937
|
`)}
|
|
10937
10938
|
</template>
|
|
10938
10939
|
`
|
|
10939
|
-
class bN extends je{constructor(){super(...arguments),this.sortDirection=
|
|
10940
|
+
class bN extends je{constructor(){super(...arguments),this.sortDirection=VF.none,this.firstSortedColumn=!1,this.indicatorsHidden=!1,this.alignment=jF,this.isGrouped=!1}sortDirectionChanged(t,e){this.updateAriaSort()}firstSortedColumnChanged(t,e){this.updateAriaSort()}updateAriaSort(){this.firstSortedColumn&&this.sortDirection!==VF.none?this.sortDirection===VF.ascending?this.ariaSort="ascending":this.ariaSort="descending":this.ariaSort=null}}t([ft({attribute:"sort-direction"})],bN.prototype,"sortDirection",void 0),t([ft({attribute:"first-sorted-column",mode:"boolean"})],bN.prototype,"firstSortedColumn",void 0),t([ft({attribute:"indicators-hidden",mode:"boolean"})],bN.prototype,"indicatorsHidden",void 0),t([C],bN.prototype,"alignment",void 0),t([C],bN.prototype,"isGrouped",void 0)
|
|
10940
10941
|
const yN=bN.compose({baseName:"table-header",template:vN,styles:gN})
|
|
10941
10942
|
Di.getOrCreate().withPrefix("nimble").register(yN())
|
|
10942
10943
|
const wN="nimble-table-header",xN=$t`
|
|
@@ -11471,7 +11472,7 @@ const NN="nimble-table-group-row",LN=Q`
|
|
|
11471
11472
|
${t=>Tb.getValueFor(t)}
|
|
11472
11473
|
</span>
|
|
11473
11474
|
`)}
|
|
11474
|
-
${Gt((t=>t.selectionMode===
|
|
11475
|
+
${Gt((t=>t.selectionMode===zF.multiple),Q`
|
|
11475
11476
|
<span class="checkbox-container">
|
|
11476
11477
|
<${lv}
|
|
11477
11478
|
${Ut("selectionCheckbox")}
|
|
@@ -11519,7 +11520,7 @@ const NN="nimble-table-group-row",LN=Q`
|
|
|
11519
11520
|
<${wN}
|
|
11520
11521
|
class="header"
|
|
11521
11522
|
${""}
|
|
11522
|
-
sort-direction="${t=>"number"==typeof t.columnInternals.currentSortIndex?t.columnInternals.currentSortDirection:
|
|
11523
|
+
sort-direction="${t=>"number"==typeof t.columnInternals.currentSortIndex?t.columnInternals.currentSortDirection:VF.none}"
|
|
11523
11524
|
?first-sorted-column="${(t,e)=>t===e.parent.firstSortedColumn}"
|
|
11524
11525
|
?indicators-hidden="${t=>t.columnInternals.hideHeaderIndicators}"
|
|
11525
11526
|
@keydown="${(t,e)=>e.parent.onHeaderKeyDown(t,e.event)}"
|
|
@@ -11563,7 +11564,7 @@ const NN="nimble-table-group-row",LN=Q`
|
|
|
11563
11564
|
:nestingLevel="${(t,e)=>e.parent.tableData[t.index]?.nestingLevel}"
|
|
11564
11565
|
:immediateChildCount="${(t,e)=>e.parent.tableData[t.index]?.immediateChildCount}"
|
|
11565
11566
|
:groupColumn="${(t,e)=>e.parent.tableData[t.index]?.groupColumn}"
|
|
11566
|
-
?selectable="${(t,e)=>e.parent.selectionMode===
|
|
11567
|
+
?selectable="${(t,e)=>e.parent.selectionMode===zF.multiple}"
|
|
11567
11568
|
selection-state="${(t,e)=>e.parent.tableData[t.index]?.selectionState}"
|
|
11568
11569
|
:resolvedRowIndex="${t=>t.index}"
|
|
11569
11570
|
?allow-hover="${(t,e)=>!e.parent.virtualizer.isScrolling}"
|
|
@@ -11580,10 +11581,10 @@ const NN="nimble-table-group-row",LN=Q`
|
|
|
11580
11581
|
${""}
|
|
11581
11582
|
tabindex="-1"
|
|
11582
11583
|
record-id="${(t,e)=>e.parent.tableData[t.index]?.id}"
|
|
11583
|
-
?selectable="${(t,e)=>e.parent.selectionMode!==
|
|
11584
|
+
?selectable="${(t,e)=>e.parent.selectionMode!==zF.none}"
|
|
11584
11585
|
?selected="${(t,e)=>e.parent.tableData[t.index]?.selectionState===UF}"
|
|
11585
11586
|
?expanded="${(t,e)=>e.parent.tableData[t.index]?.isExpanded}"
|
|
11586
|
-
?hide-selection="${(t,e)=>e.parent.selectionMode!==
|
|
11587
|
+
?hide-selection="${(t,e)=>e.parent.selectionMode!==zF.multiple}"
|
|
11587
11588
|
?reserve-collapse-space="${(t,e)=>e.parent.canHaveCollapsibleRows}"
|
|
11588
11589
|
:dataRecord="${(t,e)=>e.parent.tableData[t.index]?.record}"
|
|
11589
11590
|
:columns="${(t,e)=>e.parent.columns}"
|
|
@@ -11627,8 +11628,8 @@ let h
|
|
|
11627
11628
|
if(s=d,n.key&&(null==(r=n.debug)?void 0:r.call(n))&&(h=Date.now()),i=e(...d),n.key&&(null==(a=n.debug)?void 0:a.call(n))){const t=Math.round(100*(Date.now()-c))/100,e=Math.round(100*(Date.now()-h))/100,i=e/16,s=(t,e)=>{for(t=String(t);t.length<e;)t=" "+t
|
|
11628
11629
|
return t}
|
|
11629
11630
|
console.info(`%c⏱ ${s(e,5)} /${s(t,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}return o.updateDeps=t=>{s=t},o}function PN(t,e){if(void 0===t)throw new Error("Unexpected undefined")
|
|
11630
|
-
return t}const
|
|
11631
|
-
return function(...s){t.clearTimeout(i),i=t.setTimeout((()=>e.apply(this,s)),n)}},
|
|
11631
|
+
return t}const VN=(t,e,n)=>{let i
|
|
11632
|
+
return function(...s){t.clearTimeout(i),i=t.setTimeout((()=>e.apply(this,s)),n)}},zN=t=>{const{offsetWidth:e,offsetHeight:n}=t
|
|
11632
11633
|
return{width:e,height:n}},HN=t=>t,UN=t=>{const e=Math.max(t.startIndex-t.overscan,0),n=Math.min(t.endIndex+t.overscan,t.count-1),i=[]
|
|
11633
11634
|
for(let t=e;t<=n;t++)i.push(t)
|
|
11634
11635
|
return i},qN=(t,e)=>{const n=t.scrollElement
|
|
@@ -11637,17 +11638,17 @@ const i=t.targetWindow
|
|
|
11637
11638
|
if(!i)return
|
|
11638
11639
|
const s=t=>{const{width:n,height:i}=t
|
|
11639
11640
|
e({width:Math.round(n),height:Math.round(i)})}
|
|
11640
|
-
if(s(
|
|
11641
|
+
if(s(zN(n)),!i.ResizeObserver)return()=>{}
|
|
11641
11642
|
const o=new i.ResizeObserver((e=>{const i=()=>{const t=e[0]
|
|
11642
11643
|
if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0]
|
|
11643
|
-
if(e)return void s({width:e.inlineSize,height:e.blockSize})}s(
|
|
11644
|
+
if(e)return void s({width:e.inlineSize,height:e.blockSize})}s(zN(n))}
|
|
11644
11645
|
t.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(i):i()}))
|
|
11645
11646
|
return o.observe(n,{box:"border-box"}),()=>{o.unobserve(n)}},jN={passive:!0},WN="undefined"==typeof window||"onscrollend"in window,GN=(t,e)=>{const n=t.scrollElement
|
|
11646
11647
|
if(!n)return
|
|
11647
11648
|
const i=t.targetWindow
|
|
11648
11649
|
if(!i)return
|
|
11649
11650
|
let s=0
|
|
11650
|
-
const o=t.options.useScrollendEvent&&WN?()=>{}:
|
|
11651
|
+
const o=t.options.useScrollendEvent&&WN?()=>{}:VN(i,(()=>{e(s,!1)}),t.options.isScrollingResetDelay),r=i=>()=>{const{horizontal:r,isRtl:a}=t.options
|
|
11651
11652
|
s=r?n.scrollLeft*(a?-1:1):n.scrollTop,o(),e(s,i)},a=r(!0),l=r(!1)
|
|
11652
11653
|
l(),n.addEventListener("scroll",a,jN)
|
|
11653
11654
|
const c=t.options.useScrollendEvent&&WN
|
|
@@ -11806,9 +11807,9 @@ n.getIsGrouped()||this.updateSelectionStateForRow(t,n.id,s)}const a=i[n]
|
|
|
11806
11807
|
a.getIsGrouped()&&this.getAllLeafRowIds(a.id).forEach((e=>this.updateSelectionStateForRow(t,e,s)))}updateSelectionStateForRow(t,e,n){n?t[e]=!0:delete t[e]}getRowIndexForId(t,e){return t?e.findIndex((e=>e.id===t)):-1}}class cL extends rL{handleRowSelectionToggle(t,e,n){return this.toggleIsRowSelected(t,e),!0}handleRowClick(t,e,n){return this.selectSingleRow(t)}handleActionMenuOpening(t){return this.handleRowClick(t,!1,!1)}}class dL{constructor(t,e){this.tanStackTable=t,this.selectionManager=this.createSelectionManager(e)}handleRowSelectionToggle(t,e,n){return!!t&&this.selectionManager.handleRowSelectionToggle(t,e,n)}handleRowClick(t,e,n){return!!t&&this.selectionManager.handleRowClick(t,e,n)}handleActionMenuOpening(t){return!!t&&this.selectionManager.handleActionMenuOpening(t)}handleSelectionModeChanged(t){this.selectionManager=this.createSelectionManager(t)}handleSelectionReset(){this.selectionManager.reset()}getCurrentSelectedRecordIds(){const t=this.tanStackTable.options.state.rowSelection
|
|
11807
11808
|
if(!t)return[]
|
|
11808
11809
|
const e=[]
|
|
11809
|
-
return Object.entries(t).forEach((([t,n])=>{n&&e.push(t)})),e}createSelectionManager(t){switch(t){case
|
|
11810
|
-
case
|
|
11811
|
-
case
|
|
11810
|
+
return Object.entries(t).forEach((([t,n])=>{n&&e.push(t)})),e}createSelectionManager(t){switch(t){case zF.multiple:return new lL(this.tanStackTable)
|
|
11811
|
+
case zF.single:return new cL(this.tanStackTable)
|
|
11812
|
+
case zF.none:return new aL(this.tanStackTable)
|
|
11812
11813
|
default:throw new Error("unknown selection mode found")}}}function hL(t,e){const n=e,i=[],s={},o=new Set
|
|
11813
11814
|
for(let e=0;e<t.length;e++){const r=t[e],a=r[n.id],l=r[n.parentId]
|
|
11814
11815
|
Object.prototype.hasOwnProperty.call(s,a)||(s[a]={subRows:[],clientRecord:void 0,originalIndex:void 0}),o&&o.delete(a),s[a].clientRecord=r
|
|
@@ -11965,14 +11966,14 @@ const i=e??this.columnIndex,s=n??this.rowIndex
|
|
|
11965
11966
|
return i>=0&&i<t.cells.length&&(this.focusType=JF,this.setRowCellFocusState(i,s,!0),!0)}trySetCellContentFocus(t,e,n,i){if(!t)return!1
|
|
11966
11967
|
const s=n??this.columnIndex,o=i??this.rowIndex
|
|
11967
11968
|
return s>=0&&s<t.cells.length&&e>=0&&e<t.cells[s].cell.cellView.tabbableChildren.length&&(this.setCellContentFocusState(e,o,s,!0),!0)}trySetCellActionMenuFocus(t,e,n){const i=e??this.columnIndex,s=n??this.rowIndex
|
|
11968
|
-
return!!(i>=0&&i<t.cells.length&&t.cells[i].actionMenuButton)&&(this.setCellActionMenuFocusState(s,i,!0),!0)}setCellActionMenuFocusState(t,e,n){this.focusType=QF,this.setRowCellFocusState(e,t,n)}setCellContentFocusState(t,e,n,i){this.focusType=tN,this.cellContentIndex=t,this.setRowCellFocusState(n,e,i)}setRowFocusState(t){this.focusType=YF,void 0!==t&&(this.rowIndex=t)}setCellFocusState(t,e,n){this.focusType=JF,this.setRowCellFocusState(t,e,n)}setRowCellFocusState(t,e,n){this.rowIndex=e,this.columnIndex=t,n&&this.focusCurrentRow(!0)}isResolvedRowType(t){return t instanceof DN||t instanceof RN}}let bL=class extends je{get validity(){return this.tableValidator.getValidity()}get showRowOperationColumn(){return this.selectionMode===
|
|
11969
|
+
return!!(i>=0&&i<t.cells.length&&t.cells[i].actionMenuButton)&&(this.setCellActionMenuFocusState(s,i,!0),!0)}setCellActionMenuFocusState(t,e,n){this.focusType=QF,this.setRowCellFocusState(e,t,n)}setCellContentFocusState(t,e,n,i){this.focusType=tN,this.cellContentIndex=t,this.setRowCellFocusState(n,e,i)}setRowFocusState(t){this.focusType=YF,void 0!==t&&(this.rowIndex=t)}setCellFocusState(t,e,n){this.focusType=JF,this.setRowCellFocusState(t,e,n)}setRowCellFocusState(t,e,n){this.rowIndex=e,this.columnIndex=t,n&&this.focusCurrentRow(!0)}isResolvedRowType(t){return t instanceof DN||t instanceof RN}}let bL=class extends je{get validity(){return this.tableValidator.getValidity()}get showRowOperationColumn(){return this.selectionMode===zF.multiple||this.showCollapseAll}get collapseButtonVisibility(){return this.canHaveCollapsibleRows?this.showCollapseAll?"visible":"":"hidden-size-reduced"}get rowHeight(){return this._rowHeight}constructor(){super(),this.selectionMode=zF.none,this.tableData=[],this.columns=[],this.childItems=[],this.rowElements=[],this.canRenderRows=!0,this.scrollX=0,this.selectionState=HF,this.showCollapseAll=!1,this.canHaveCollapsibleRows=!1,this.visibleColumns=[],this.tableScrollableMinWidth=0,this.windowShiftKeyDown=!1,this.tableValidator=new fN,this.tableUpdateTracker=new oL(this),this.columnNotifiers=[],this._rowHeight=0,this.isInitialized=!1,this.ignoreSelectionChangeEvents=!1,this.requestedSlots=new Map,this.borderWidthSubscriber={handleChange:()=>{this.updateRowHeight()}},this.controlHeightSubscriber={handleChange:()=>{this.updateRowHeight()}},this.actionMenuSlots=[],this.onViewPortScroll=t=>{this.scrollX=t.target.scrollLeft},this.onKeyDown=t=>{this.windowShiftKeyDown=t.shiftKey},this.onKeyUp=t=>{this.windowShiftKeyDown=t.shiftKey},this.onBlur=()=>{this.windowShiftKeyDown=!1},this.getRowCanExpand=t=>this.expansionManager.isRowExpandable(t),this.getIsRowExpanded=t=>this.expansionManager.isRowExpanded(t),this.handleRowSelectionChange=t=>{const e=t instanceof Function?t(this.table.getState().rowSelection):t
|
|
11969
11970
|
this.updateTableOptions({state:{rowSelection:e}})},this.handleExpandedChange=t=>{const e=t instanceof Function?t(this.table.getState().expanded):t
|
|
11970
|
-
this.updateTableOptions({state:{expanded:e}})},this.options={data:[],onStateChange:t=>{},onRowSelectionChange:this.handleRowSelectionChange,onExpandedChange:this.handleExpandedChange,getCoreRowModel:t=>
|
|
11971
|
+
this.updateTableOptions({state:{expanded:e}})},this.options={data:[],onStateChange:t=>{},onRowSelectionChange:this.handleRowSelectionChange,onExpandedChange:this.handleExpandedChange,getCoreRowModel:t=>zR((()=>[t.options.data]),(e=>{const n={rows:[],flatRows:[],rowsById:{}},i=function(e,s,o){void 0===s&&(s=0)
|
|
11971
11972
|
const r=[]
|
|
11972
11973
|
for(let l=0;l<e.length;l++){const c=GR(t,t._getRowId(e[l],l,o),e[l],l,s,void 0,null==o?void 0:o.id)
|
|
11973
11974
|
var a
|
|
11974
11975
|
n.flatRows.push(c),n.rowsById[c.id]=c,r.push(c),t.options.getSubRows&&(c.originalSubRows=t.options.getSubRows(e[l],l),null!=(a=c.originalSubRows)&&a.length&&(c.subRows=i(c.originalSubRows,s+1,c)))}return r}
|
|
11975
|
-
return n.rows=i(e),n}),HR(t.options,"debugTable",0,(()=>t._autoResetPageIndex()))),getSortedRowModel:t=>
|
|
11976
|
+
return n.rows=i(e),n}),HR(t.options,"debugTable",0,(()=>t._autoResetPageIndex()))),getSortedRowModel:t=>zR((()=>[t.getState().sorting,t.getPreSortedRowModel()]),((e,n)=>{if(!n.rows.length||null==e||!e.length)return n
|
|
11976
11977
|
const i=t.getState().sorting,s=[],o=i.filter((e=>{var n
|
|
11977
11978
|
return null==(n=t.getColumn(e.id))?void 0:n.getCanSort()})),r={}
|
|
11978
11979
|
o.forEach((e=>{const n=t.getColumn(e.id)
|
|
@@ -11986,24 +11987,24 @@ if(n||i){if("first"===l)return n?-1:1
|
|
|
11986
11987
|
if("last"===l)return n?1:-1
|
|
11987
11988
|
d=n&&i?0:n?l:-l}}if(0===d&&(d=a.sortingFn(t,e,s.id)),0!==d)return c&&(d*=-1),a.invertSorting&&(d*=-1),d}return t.index-e.index})),e.forEach((t=>{var e
|
|
11988
11989
|
s.push(t),null!=(e=t.subRows)&&e.length&&(t.subRows=a(t.subRows))})),e}
|
|
11989
|
-
return{rows:a(n.rows),flatRows:s,rowsById:n.rowsById}}),HR(t.options,"debugTable",0,(()=>t._autoResetPageIndex()))),getGroupedRowModel:NF(),getExpandedRowModel:t=>
|
|
11990
|
+
return{rows:a(n.rows),flatRows:s,rowsById:n.rowsById}}),HR(t.options,"debugTable",0,(()=>t._autoResetPageIndex()))),getGroupedRowModel:NF(),getExpandedRowModel:t=>zR((()=>[t.getState().expanded,t.getPreExpandedRowModel(),t.options.paginateExpandedRows]),((t,e,n)=>!e.rows.length||!0!==t&&!Object.keys(null!=t?t:{}).length?e:n?function(t){const e=[],n=t=>{var i
|
|
11990
11991
|
e.push(t),null!=(i=t.subRows)&&i.length&&t.getIsExpanded()&&t.subRows.forEach(n)}
|
|
11991
11992
|
return t.rows.forEach(n),{rows:e,flatRows:t.flatRows,rowsById:t.rowsById}}(e):e),HR(t.options,"debugTable")),getRowCanExpand:this.getRowCanExpand,getIsRowExpanded:this.getIsRowExpanded,getSubRows:t=>t.subRows,columns:[],state:{rowSelection:{},grouping:[],expanded:!0},enableRowSelection:t=>!t.getIsGrouped(),enableMultiRowSelection:!1,enableSubRowSelection:!1,enableSorting:!0,enableGrouping:!0,renderFallbackValue:null,autoResetAll:!1},this.table=FF(this.options),this.virtualizer=new JN(this,this.table),this.keyboardNavigationManager=new vL(this,this.virtualizer),this.layoutManager=new nL(this),this.layoutManagerNotifier=x.getNotifier(this.layoutManager),this.layoutManagerNotifier.subscribe(this,"isColumnBeingSized"),this.selectionManager=new dL(this.table,this.selectionMode),this.expansionManager=new fL(this.table)}async setData(t){await this.processPendingUpdates()
|
|
11992
11993
|
const e=t.map((t=>({...t}))),n=this.calculateTanStackData(e)
|
|
11993
|
-
this.updateTableOptions(n)}async getSelectedRecordIds(){return await this.processPendingUpdates(),this.selectionManager.getCurrentSelectedRecordIds()}async setSelectedRecordIds(t){await this.processPendingUpdates(),this.selectionMode!==
|
|
11994
|
+
this.updateTableOptions(n)}async getSelectedRecordIds(){return await this.processPendingUpdates(),this.selectionManager.getCurrentSelectedRecordIds()}async setSelectedRecordIds(t){await this.processPendingUpdates(),this.selectionMode!==zF.none&&this.updateTableOptions({state:{rowSelection:this.calculateTanStackSelectionState(t)}})}async setRecordHierarchyOptions(t){await this.processPendingUpdates()
|
|
11994
11995
|
const e=structuredClone(t),n=this.tableValidator.getOptionsWithPresentIds(e)
|
|
11995
11996
|
this.expansionManager.setHierarchyOptions(n),this.refreshRows()}connectedCallback(){super.connectedCallback(),this.initialize(),this.updateRowHeight(),this.virtualizer.connect(),this.viewport.addEventListener("scroll",this.onViewPortScroll,{passive:!0}),this.keyboardNavigationManager.connect(),window.addEventListener("keydown",this.onKeyDown),window.addEventListener("keyup",this.onKeyUp),window.addEventListener("blur",this.onBlur),Bl.subscribe(this.borderWidthSubscriber,this),Ol.subscribe(this.controlHeightSubscriber,this)}disconnectedCallback(){super.disconnectedCallback(),this.virtualizer.disconnect(),this.keyboardNavigationManager.disconnect(),this.viewport.removeEventListener("scroll",this.onViewPortScroll),window.removeEventListener("keydown",this.onKeyDown),window.removeEventListener("keyup",this.onKeyUp),window.removeEventListener("blur",this.onBlur),Bl.unsubscribe(this.borderWidthSubscriber),Ol.unsubscribe(this.controlHeightSubscriber)}checkValidity(){return this.tableValidator.isValid()}handleChange(t,e){(t instanceof pN||t instanceof hN)&&"string"==typeof e?this.tableUpdateTracker.trackColumnPropertyChanged(e):t instanceof gL&&"isColumnValid"===e?this.tableValidator.validateColumnConfigurations(this.columns):t instanceof nL&&"isColumnBeingSized"===e&&!this.layoutManager.isColumnBeingSized&&this.emitColumnConfigurationChangeEvent()}onRowSelectionToggle(t,e){e.stopImmediatePropagation()
|
|
11996
11997
|
this.selectionManager.handleRowSelectionToggle(this.tableData[t],e.detail.newState,this.windowShiftKeyDown)&&this.emitSelectionChangeEvent()}onRowClick(t,e){return this.selectionManager.handleRowClick(this.tableData[t],e.shiftKey,e.ctrlKey||e.metaKey)&&this.emitSelectionChangeEvent(),!0}onRowFocusIn(t){this.keyboardNavigationManager.onRowFocusIn(t)}onRowBlur(t){this.keyboardNavigationManager.onRowBlur(t)}onAllRowsSelectionChange(t){t.stopPropagation(),this.ignoreSelectionChangeEvents||(this.table.toggleAllRowsSelected(this.selectionCheckbox.checked),this.emitSelectionChangeEvent())}onRowActionMenuBeforeToggle(t,e){e.stopImmediatePropagation(),this.handleActionMenuBeforeToggleEvent(t,e)}onRowActionMenuToggle(t){t.stopImmediatePropagation(),this.handleRowActionMenuToggleEvent(t)}onRowSlotsRequest(t){t.stopImmediatePropagation()
|
|
11997
11998
|
for(const e of t.detail.slots){const n=lN(t.detail.columnInternalId,e.slot)
|
|
11998
11999
|
this.requestedSlots.set(e.name,{recordId:t.detail.recordId,uniqueSlot:n})}this.refreshRows()}handleCollapseAllRows(){this.expansionManager.collapseAll()}onRightDividerPointerDown(t,e){"mouse"===t.pointerType&&0!==t.button||this.layoutManager.beginColumnInteractiveSize(t.target,t.pointerId,t.clientX,this.getRightDividerIndex(e))}onLeftDividerPointerDown(t,e){"mouse"===t.pointerType&&0!==t.button||this.layoutManager.beginColumnInteractiveSize(t.target,t.pointerId,t.clientX,this.getLeftDividerIndex(e))}getLeftDividerIndex(t){return 2*t-1}getRightDividerIndex(t){return 2*t}handleGroupRowExpanded(t,e){this.toggleRowExpanded(t),e.stopPropagation()}handleRowExpanded(t){this.toggleRowExpanded(t)}toggleColumnSort(t,e){if(t.columnInternals.sortingDisabled)return
|
|
11999
12000
|
const n=this.getColumnsParticipatingInSorting().sort(((t,e)=>t.columnInternals.currentSortIndex-e.columnInternals.currentSortIndex)),i=n.indexOf(t),s=i>-1,o=t.columnInternals.currentSortDirection
|
|
12000
|
-
let r=
|
|
12001
|
-
s?o===
|
|
12001
|
+
let r=VF.ascending
|
|
12002
|
+
s?o===VF.descending?(n.splice(i,1),r=VF.none,t.columnInternals.currentSortIndex=void 0):r=VF.descending:n.push(t),t.columnInternals.currentSortDirection=r
|
|
12002
12003
|
for(let i=0;i<n.length;i++){const s=n[i]
|
|
12003
|
-
e?n[i].columnInternals.currentSortIndex=i:s===t?s.columnInternals.currentSortIndex=0:(s.columnInternals.currentSortIndex=void 0,s.columnInternals.currentSortDirection=
|
|
12004
|
+
e?n[i].columnInternals.currentSortIndex=i:s===t?s.columnInternals.currentSortIndex=0:(s.columnInternals.currentSortIndex=void 0,s.columnInternals.currentSortDirection=VF.none)}this.emitColumnConfigurationChangeEvent()}onHeaderKeyDown(t,e){const n=e.shiftKey
|
|
12004
12005
|
return e.key===dn&&this.toggleColumnSort(t,n),!0}update(){if(this.validate(),this.tableUpdateTracker.requiresTanStackUpdate&&this.updateTanStack(),this.tableUpdateTracker.updateRowParentIds||this.tableUpdateTracker.updateGroupRows){const t=this.isHierarchyEnabled(),e=this.columns.some((t=>!t.columnInternals.groupingDisabled))
|
|
12005
|
-
this.canHaveCollapsibleRows=t||e}this.tableUpdateTracker.updateActionMenuSlots&&this.updateActionMenuSlots(),this.tableUpdateTracker.updateColumnWidths&&(this.rowGridColumns=this.layoutManager.getGridTemplateColumns(),this.visibleColumns=this.columns.filter((t=>!t.columnHidden))),this.tableUpdateTracker.requiresKeyboardFocusReset&&this.keyboardNavigationManager.resetFocusState()}get ariaMultiSelectable(){switch(this.selectionMode){case
|
|
12006
|
-
case
|
|
12006
|
+
this.canHaveCollapsibleRows=t||e}this.tableUpdateTracker.updateActionMenuSlots&&this.updateActionMenuSlots(),this.tableUpdateTracker.updateColumnWidths&&(this.rowGridColumns=this.layoutManager.getGridTemplateColumns(),this.visibleColumns=this.columns.filter((t=>!t.columnHidden))),this.tableUpdateTracker.requiresKeyboardFocusReset&&this.keyboardNavigationManager.resetFocusState()}get ariaMultiSelectable(){switch(this.selectionMode){case zF.multiple:return"true"
|
|
12007
|
+
case zF.single:return"false"
|
|
12007
12008
|
default:return null}}getHeaderContainerElements(){return this.columnHeadersContainer.querySelectorAll(".header-container")}calculateTanStackData(t){this.dataHierarchyManager=new pL(t,this.idFieldName,this.parentIdFieldName)
|
|
12008
12009
|
const e=this.dataHierarchyManager.hierarchicalData
|
|
12009
12010
|
this.tableValidator.setParentIdConfigurationValidity(this.dataHierarchyManager.parentIdConfigurationValid)
|
|
@@ -12014,15 +12015,15 @@ this.refreshRows()}async handleActionMenuBeforeToggleEvent(t,e){this.selectionMa
|
|
|
12014
12015
|
const n=await this.getActionMenuToggleEventDetail(e)
|
|
12015
12016
|
this.$emit("action-menu-beforetoggle",n)}async handleRowActionMenuToggleEvent(t){this.keyboardNavigationManager.onRowActionMenuToggle(t)
|
|
12016
12017
|
const e=await this.getActionMenuToggleEventDetail(t)
|
|
12017
|
-
this.$emit("action-menu-toggle",e),t.detail.newState||(this.openActionMenuRecordId=void 0)}async getActionMenuToggleEventDetail(t){const e=this.selectionMode===
|
|
12018
|
+
this.$emit("action-menu-toggle",e),t.detail.newState||(this.openActionMenuRecordId=void 0)}async getActionMenuToggleEventDetail(t){const e=this.selectionMode===zF.multiple?await this.getSelectedRecordIds():[this.openActionMenuRecordId]
|
|
12018
12019
|
return{...t.detail,recordIds:e}}removeColumnObservers(){this.columnNotifiers.forEach((t=>{t.unsubscribe(this)})),this.columnNotifiers=[]}initialize(){this.isInitialized||(this.isInitialized=!0,this.$fastController.onConnectedCallback(),this.tableUpdateTracker.trackAllStateChanged(),this.observeColumns())}async processPendingUpdates(){if(this.initialize(),await b.nextUpdate(),this.tableUpdateTracker.hasPendingUpdates)throw new Error("Expected pending updates to be resolved")}observeColumns(){this.removeColumnObservers()
|
|
12019
12020
|
for(const t of this.columns){const e=x.getNotifier(t)
|
|
12020
12021
|
e.subscribe(this),this.columnNotifiers.push(e)
|
|
12021
12022
|
const n=x.getNotifier(t.columnInternals)
|
|
12022
12023
|
n.subscribe(this),this.columnNotifiers.push(n)
|
|
12023
12024
|
const i=x.getNotifier(t.columnInternals.validator)
|
|
12024
|
-
i.subscribe(this),this.columnNotifiers.push(i)}}getColumnsParticipatingInSorting(){return this.columns.filter((t=>!t.columnInternals.sortingDisabled&&t.columnInternals.currentSortDirection!==
|
|
12025
|
-
if(this.tableUpdateTracker.updateColumnSort&&(t.state.sorting=this.calculateTanStackSortState()),this.tableUpdateTracker.updateColumnDefinition&&(t.columns=this.calculateTanStackColumns()),this.tableUpdateTracker.updateRowIds&&(t.getRowId=this.calculateTanStackRowIdFunction(),t.state.rowSelection={},this.selectionManager.handleSelectionReset(),this.expansionManager.resetHierarchyOptions()),this.tableUpdateTracker.updateRowParentIds&&this.expansionManager.setHierarchyEnabled(this.isHierarchyEnabled()),this.tableUpdateTracker.updateSelectionMode&&(t.enableMultiRowSelection=this.selectionMode===
|
|
12025
|
+
i.subscribe(this),this.columnNotifiers.push(i)}}getColumnsParticipatingInSorting(){return this.columns.filter((t=>!t.columnInternals.sortingDisabled&&t.columnInternals.currentSortDirection!==VF.none&&"number"==typeof t.columnInternals.currentSortIndex))}getColumnsParticipatingInGrouping(){return this.columns.filter((t=>!t.columnInternals.groupingDisabled&&"number"==typeof t.columnInternals.groupIndex))}childItemsChanged(){this.updateColumnsFromChildItems()}async updateColumnsFromChildItems(){await oA(this.childItems),this.columns=this.childItems.filter((t=>t instanceof pN))}updateTanStack(){const t={state:{}}
|
|
12026
|
+
if(this.tableUpdateTracker.updateColumnSort&&(t.state.sorting=this.calculateTanStackSortState()),this.tableUpdateTracker.updateColumnDefinition&&(t.columns=this.calculateTanStackColumns()),this.tableUpdateTracker.updateRowIds&&(t.getRowId=this.calculateTanStackRowIdFunction(),t.state.rowSelection={},this.selectionManager.handleSelectionReset(),this.expansionManager.resetHierarchyOptions()),this.tableUpdateTracker.updateRowParentIds&&this.expansionManager.setHierarchyEnabled(this.isHierarchyEnabled()),this.tableUpdateTracker.updateSelectionMode&&(t.enableMultiRowSelection=this.selectionMode===zF.multiple,t.enableSubRowSelection=this.selectionMode===zF.multiple,t.state.rowSelection={},this.selectionManager.handleSelectionModeChanged(this.selectionMode)),this.dataHierarchyManager&&this.tableUpdateTracker.requiresTanStackDataReset)if(this.isHierarchyEnabled()||this.tableUpdateTracker.updateRowParentIds){const e=this.dataHierarchyManager.getAllRecords(!0),n=this.calculateTanStackData(e)
|
|
12026
12027
|
n.state&&(t.state.rowSelection=n.state.rowSelection),t.data=n.data}else t.data=[...this.table.options.data]
|
|
12027
12028
|
this.tableUpdateTracker.updateGroupRows&&(t.state.grouping=this.calculateTanStackGroupingState()),(this.tableUpdateTracker.updateRowIds||this.tableUpdateTracker.updateRowParentIds||this.tableUpdateTracker.updateGroupRows)&&(t.state.expanded=!0,this.expansionManager.resetExpansionState()),this.updateTableOptions(t)}updateActionMenuSlots(){if(void 0!==this.openActionMenuRecordId)for(const t of this.actionMenuSlots)this.requestedSlots.delete(t)
|
|
12028
12029
|
const t=new Set
|
|
@@ -12042,10 +12043,10 @@ return n?UF:HF}getGroupRowColumn(t){const e=t.groupingColumnId
|
|
|
12042
12043
|
if(void 0!==e)return this.columns.find((t=>t.columnInternals.uniqueId===e))}updateTableOptions(t){if(this.options={...this.options,...t,state:{...this.options.state,...t.state}},this.table.setOptions(this.options),t.data&&this.tableValidator.areRecordIdsValid()){const t=this.table.getRowModel().flatRows
|
|
12043
12044
|
this.expansionManager.processDataUpdate(t)}this.refreshRows()}toggleRowExpanded(t){const e=this.table.getRowModel().rows[t]
|
|
12044
12045
|
this.expansionManager.toggleRowExpansion(e)}calculateTanStackSortState(){const t=this.getColumnsParticipatingInSorting().sort(((t,e)=>t.columnInternals.currentSortIndex-e.columnInternals.currentSortIndex))
|
|
12045
|
-
return this.firstSortedColumn=t.length?t[0]:void 0,t.map((t=>({id:t.columnInternals.uniqueId,desc:t.columnInternals.currentSortDirection===
|
|
12046
|
-
if("string"==typeof n)return e.clientRecord[n]},sortingFn:QN(t.columnInternals.sortOperation),sortUndefined:!1})))}calculateTanStackSelectionState(t){if(this.selectionMode===
|
|
12046
|
+
return this.firstSortedColumn=t.length?t[0]:void 0,t.map((t=>({id:t.columnInternals.uniqueId,desc:t.columnInternals.currentSortDirection===VF.descending})))}calculateTanStackGroupingState(){return this.getColumnsParticipatingInGrouping().sort(((t,e)=>t.columnInternals.groupIndex-e.columnInternals.groupIndex)).map((t=>t.columnInternals.uniqueId))}calculateTanStackRowIdFunction(){return null===this.idFieldName||void 0===this.idFieldName?void 0:t=>t.clientRecord[this.idFieldName]}calculateTanStackColumns(){return this.columns.map((t=>({id:t.columnInternals.uniqueId,accessorFn:e=>{const n=t.columnInternals.operandDataRecordFieldName
|
|
12047
|
+
if("string"==typeof n)return e.clientRecord[n]},sortingFn:QN(t.columnInternals.sortOperation),sortUndefined:!1})))}calculateTanStackSelectionState(t){if(this.selectionMode===zF.none)return{}
|
|
12047
12048
|
const e={},n=this.tableValidator.getPresentRecordIds(t)
|
|
12048
|
-
for(const t of n)if(e[t]=!0,this.selectionMode===
|
|
12049
|
+
for(const t of n)if(e[t]=!0,this.selectionMode===zF.single)break
|
|
12049
12050
|
return e}updateRowHeight(){this._rowHeight=parseFloat(Ol.getValueFor(this))+2*parseFloat(Bl.getValueFor(this)),this.virtualizer?.updateRowHeight()}}
|
|
12050
12051
|
t([ft({attribute:"id-field-name"})],bL.prototype,"idFieldName",void 0),t([ft({attribute:"parent-id-field-name"})],bL.prototype,"parentIdFieldName",void 0),t([ft({attribute:"selection-mode"})],bL.prototype,"selectionMode",void 0),t([C],bL.prototype,"tableData",void 0),t([C],bL.prototype,"columns",void 0),t([C],bL.prototype,"childItems",void 0),t([C],bL.prototype,"rowElements",void 0),t([C],bL.prototype,"openActionMenuRecordId",void 0),t([C],bL.prototype,"canRenderRows",void 0),t([C],bL.prototype,"scrollX",void 0),t([C],bL.prototype,"rowGridColumns",void 0),t([C],bL.prototype,"selectionState",void 0),t([C],bL.prototype,"selectionCheckbox",void 0),t([C],bL.prototype,"collapseAllButton",void 0),t([C],bL.prototype,"showCollapseAll",void 0),t([C],bL.prototype,"canHaveCollapsibleRows",void 0),t([k],bL.prototype,"collapseButtonVisibility",null),t([C],bL.prototype,"firstSortedColumn",void 0),t([C],bL.prototype,"visibleColumns",void 0),t([C],bL.prototype,"tableScrollableMinWidth",void 0),t([C],bL.prototype,"windowShiftKeyDown",void 0)
|
|
12051
12052
|
const yL=bL.compose({baseName:"table",template:LN,styles:mN})
|
|
@@ -12154,13 +12155,13 @@ const EL=Q`
|
|
|
12154
12155
|
const OL=class extends DL{updateText(){this.text="string"==typeof this.groupHeaderValue?this.groupHeaderValue:""}}.compose({baseName:"table-column-text-group-header-view",template:EL,styles:AL})
|
|
12155
12156
|
Di.getOrCreate().withPrefix("nimble").register(OL())
|
|
12156
12157
|
const TL="nimble-table-column-text-group-header-view"
|
|
12157
|
-
function RL(t){class e extends t{constructor(){super(...arguments),this.sortingDisabled=!1,this.sortDirection=
|
|
12158
|
+
function RL(t){class e extends t{constructor(){super(...arguments),this.sortingDisabled=!1,this.sortDirection=VF.none}sortingDisabledChanged(){this.columnInternals.sortingDisabled=this.sortingDisabled,this.sortingDisabled?(this.columnInternals.currentSortDirection=VF.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 ft({attribute:"sorting-disabled",mode:"boolean"})(e.prototype,"sortingDisabled"),ft({attribute:"sort-index",converter:ut})(e.prototype,"sortIndex"),ft({attribute:"sort-direction"})(e.prototype,"sortDirection"),e}function FL(t){class e extends t{constructor(){super(...arguments),this.customSortOrderColumnChangeHandler={handleChange:this.handleCustomSortOrderColumnChange.bind(this)}}getResolvedOperandDataRecordFieldName(t){return"string"==typeof this.sortByFieldName?this.sortByFieldName:t}getResolvedSortOperation(t){return"string"==typeof this.sortByFieldName?eN:t}sortByFieldNameChanged(){this.handleSortConfigurationChange(),this.updateCustomColumnSortingValidity(),"string"!=typeof this.sortByFieldName||this.customSortOrderColumnNotifier?(this.customSortOrderColumnNotifier?.unsubscribe(this.customSortOrderColumnChangeHandler),this.customSortOrderColumnNotifier=void 0):(this.customSortOrderColumnNotifier=x.getNotifier(this.columnInternals),this.customSortOrderColumnNotifier.subscribe(this.customSortOrderColumnChangeHandler))}handleCustomSortOrderColumnChange(t,e){"groupingDisabled"===e&&this.updateCustomColumnSortingValidity()}updateCustomColumnSortingValidity(){const t="string"==typeof this.sortByFieldName
|
|
12158
12159
|
!!this.columnInternals.groupingDisabled||!t?this.columnInternals.validator.untrack("invalidCustomSortWithGrouping"):this.columnInternals.validator.track("invalidCustomSortWithGrouping")}}return ft({attribute:"sort-by-field-name"})(e.prototype,"sortByFieldName"),e}const NL=["invalidCustomSortWithGrouping"]
|
|
12159
12160
|
class LL extends gL{constructor(){super(NL)}}class BL extends(kL(CL(SL(RL(FL(pN)))))){constructor(){super(...arguments),this.underlineHidden=!1,this.defaultSortOperation=nN}placeholderChanged(){this.updateColumnConfig()}handleSortConfigurationChange(){this.updateColumnInternalsSortConfiguration()}getColumnInternalsOptions(){return{cellRecordFieldNames:["label","href"],cellViewTag:"nimble-table-column-anchor-cell-view",groupHeaderViewTag:TL,delegatedEvents:["click"],sortOperation:this.getResolvedSortOperation(this.defaultSortOperation),validator:new LL}}labelFieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.labelFieldName,this.hrefFieldName],this.updateColumnInternalsSortConfiguration()}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}}updateColumnInternalsSortConfiguration(){this.columnInternals.operandDataRecordFieldName=this.getResolvedOperandDataRecordFieldName(this.labelFieldName),this.columnInternals.sortOperation=this.getResolvedSortOperation(this.defaultSortOperation)}}t([ft({attribute:"label-field-name"})],BL.prototype,"labelFieldName",void 0),t([ft({attribute:"href-field-name"})],BL.prototype,"hrefFieldName",void 0),t([ft],BL.prototype,"appearance",void 0),t([ft({attribute:"underline-hidden",mode:"boolean"})],BL.prototype,"underlineHidden",void 0),t([ft],BL.prototype,"hreflang",void 0),t([ft],BL.prototype,"ping",void 0),t([ft],BL.prototype,"referrerpolicy",void 0),t([ft],BL.prototype,"rel",void 0),t([ft],BL.prototype,"target",void 0),t([ft],BL.prototype,"type",void 0),t([ft],BL.prototype,"download",void 0)
|
|
12160
12161
|
const PL=BL.compose({baseName:"table-column-anchor",template:xL,styles:wL})
|
|
12161
12162
|
Di.getOrCreate().withPrefix("nimble").register(PL())
|
|
12162
|
-
class
|
|
12163
|
-
try{return t.format(e)}catch(t){return""}}t([ft({attribute:"field-name"})],
|
|
12163
|
+
class VL extends pN{fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}}function zL(t){return kL(CL(SL(RL(t))))}function HL(t,e){if("number"!=typeof e)return""
|
|
12164
|
+
try{return t.format(e)}catch(t){return""}}t([ft({attribute:"field-name"})],VL.prototype,"fieldName",void 0)
|
|
12164
12165
|
const UL=class extends DL{updateText(){this.columnConfig?this.text=HL(this.columnConfig.formatter,this.groupHeaderValue):this.text=""}}.compose({baseName:"table-column-date-text-group-header-view",template:EL,styles:AL})
|
|
12165
12166
|
Di.getOrCreate().withPrefix("nimble").register(UL())
|
|
12166
12167
|
const qL=Q`
|
|
@@ -12207,7 +12208,7 @@ const GL=class extends WL{updateText(){this.columnConfig?this.text=HL(this.colum
|
|
|
12207
12208
|
Di.getOrCreate().withPrefix("nimble").register(GL())
|
|
12208
12209
|
const ZL=void 0,KL=["invalidCustomOptionsCombination"]
|
|
12209
12210
|
class YL extends gL{constructor(){super(KL)}setCustomOptionsValidity(t){this.setConditionValue("invalidCustomOptionsCombination",!t)}}const XL={toView:t=>"boolean"==typeof t?t.toString():null,fromView:t=>"true"===t||!0===t||"false"!==t&&!1!==t&&void 0}
|
|
12210
|
-
class JL extends(VL
|
|
12211
|
+
class JL extends(zL(VL)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),tl.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),tl.unsubscribe(this.langSubscriber,this)}placeholderChanged(){this.updateColumnConfig()}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-date-text-cell-view",groupHeaderViewTag:"nimble-table-column-date-text-group-header-view",delegatedEvents:[],sortOperation:eN,validator:new YL}}formatChanged(){this.updateColumnConfig()}customLocaleMatcherChanged(){this.updateColumnConfig()}customWeekdayChanged(){this.updateColumnConfig()}customEraChanged(){this.updateColumnConfig()}customYearChanged(){this.updateColumnConfig()}customMonthChanged(){this.updateColumnConfig()}customDayChanged(){this.updateColumnConfig()}customHourChanged(){this.updateColumnConfig()}customMinuteChanged(){this.updateColumnConfig()}customSecondChanged(){this.updateColumnConfig()}customTimeZoneNameChanged(){this.updateColumnConfig()}customFormatMatcherChanged(){this.updateColumnConfig()}customHour12Changed(){this.updateColumnConfig()}customTimeZoneChanged(){this.updateColumnConfig()}customCalendarChanged(){this.updateColumnConfig()}customDayPeriodChanged(){this.updateColumnConfig()}customNumberingSystemChanged(){this.updateColumnConfig()}customDateStyleChanged(){this.updateColumnConfig()}customTimeStyleChanged(){this.updateColumnConfig()}customHourCycleChanged(){this.updateColumnConfig()}updateColumnConfig(){const t=this.createFormatter()
|
|
12211
12212
|
if(t){const e={formatter:t,placeholder:this.placeholder}
|
|
12212
12213
|
this.columnInternals.columnConfig=e,this.columnInternals.validator.setCustomOptionsValidity(!0)}else this.columnInternals.columnConfig=void 0,this.columnInternals.validator.setCustomOptionsValidity(!1)}createFormatter(){let t
|
|
12213
12214
|
t=this.format===ZL?{dateStyle:"medium",timeStyle:"medium"}:this.getCustomFormattingOptions()
|
|
@@ -12231,7 +12232,7 @@ if(t<1&&0!==h)return this.scientificSecondsFormatter.format(h)
|
|
|
12231
12232
|
if(u>=5e-4||0===u&&0===e.length){const t=this.secondsFormatter.format(u)
|
|
12232
12233
|
e.push(t)}return e.join(", ")}}const nB=class extends DL{updateText(){this.columnConfig?this.text=this.columnConfig.formatter.format(this.groupHeaderValue):this.text=""}}.compose({baseName:"table-column-duration-text-group-header-view",template:EL,styles:AL})
|
|
12233
12234
|
Di.getOrCreate().withPrefix("nimble").register(nB())
|
|
12234
|
-
class iB extends(VL
|
|
12235
|
+
class iB extends(zL(VL)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),tl.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),tl.unsubscribe(this.langSubscriber,this)}placeholderChanged(){this.updateColumnConfig()}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-duration-text-cell-view",groupHeaderViewTag:"nimble-table-column-duration-text-group-header-view",delegatedEvents:[],sortOperation:eN,validator:new gL([])}}updateColumnConfig(){const t={formatter:new eB(tl.getValueFor(this)),placeholder:this.placeholder}
|
|
12235
12236
|
this.columnInternals.columnConfig=t}}const sB=iB.compose({baseName:"table-column-duration-text",template:xL,styles:wL})
|
|
12236
12237
|
Di.getOrCreate().withPrefix("nimble").register(sB())
|
|
12237
12238
|
const oB=(t,e)=>{if("number"===e){const e=ut.fromView(t)
|
|
@@ -12428,9 +12429,9 @@ const BB=Q`<span
|
|
|
12428
12429
|
</span>`
|
|
12429
12430
|
const PB=class extends DL{updateText(){this.text=this.columnConfig?.formatter?.format(this.groupHeaderValue)??""}}.compose({baseName:"table-column-number-text-group-header-view",template:EL,styles:AL})
|
|
12430
12431
|
Di.getOrCreate().withPrefix("nimble").register(PB())
|
|
12431
|
-
const
|
|
12432
|
-
Di.getOrCreate().withPrefix("nimble").register(
|
|
12433
|
-
const
|
|
12432
|
+
const VB=class extends WL{columnConfigChanged(){super.columnConfigChanged(),this.alignment=this.columnConfig?.alignment??jF}updateText(){this.text=this.columnConfig?.formatter?.format(this.cellRecord?.value)??""}}.compose({baseName:"table-column-number-text-cell-view",template:qL,styles:jL})
|
|
12433
|
+
Di.getOrCreate().withPrefix("nimble").register(VB())
|
|
12434
|
+
const zB={default:void 0,decimal:"decimal"},HB="left",UB="right"
|
|
12434
12435
|
class qB{format(t){if("number"!=typeof t)return""
|
|
12435
12436
|
try{return this.tryFormat(t)}catch{return""}}}class jB{constructor(t){this.locale=t.locale,this.intlNumberFormatOptions=t.intlNumberFormatOptions}}class WB extends jB{constructor(t,e){super(t),this.formatter=new Intl.NumberFormat(this.locale,{...e,...this.intlNumberFormatOptions})}static createFactory(t){return e=>new WB(e,t)}format(t){return this.formatter.format(t)}}class GB{constructor(t,e){this.scaleFactor=t,this.scaledUnitFormatFactory=e}isBase(){return 1===this.scaleFactor}}class ZB{constructor(t){this.supportedScaledUnits=t
|
|
12436
12437
|
const e=t.every(((t,e,n)=>0===e||n[e-1].scaleFactor<t.scaleFactor))
|
|
@@ -12452,27 +12453,27 @@ for(const e of i.supportedScaledUnits)this.scaledUnitFormatters.set(e.scaleFacto
|
|
|
12452
12453
|
this.unitScale=i,this.minimumFractionDigits=e,this.maximumFractionDigits=n}resolvedOptions(){return{unitScale:this.unitScale,maximumFractionDigits:this.maximumFractionDigits,minimumFractionDigits:this.minimumFractionDigits}}tryFormat(t){const{scaledValue:e,scaledUnit:n}=this.unitScale.scaleNumber(t)
|
|
12453
12454
|
return this.scaledUnitFormatters.get(n.scaleFactor).format(e)}}class QB extends qB{constructor(t,e){super(),this._resolvedOptions=this.resolveOptions(e),this.resolvedUnitFormat=this.resolveUnitFormat(t,this._resolvedOptions)}resolvedOptions(){return{...this._resolvedOptions}}optionsMatch(t){const e=this.resolveOptions(t)
|
|
12454
12455
|
return this._resolvedOptions.decimalDigits===e.decimalDigits&&this._resolvedOptions.decimalMaximumDigits===e.decimalMaximumDigits&&this._resolvedOptions.numberTextFormat===e.numberTextFormat&&this._resolvedOptions.unitScale===e.unitScale}tryFormat(t){return this.resolvedUnitFormat.format(t)}resolveUnitFormat(t,e){const{numberTextFormat:n,decimalMaximumDigits:i,decimalDigits:s,unitScale:o}=e
|
|
12455
|
-
return n===
|
|
12456
|
+
return n===zB.default?new XB(t,{unitScale:o}):new JB(t,"number"==typeof s?{minimumFractionDigits:s,maximumFractionDigits:s,unitScale:o}:{minimumFractionDigits:0,maximumFractionDigits:i,unitScale:o})}resolveOptions(t){if(!t||t.numberTextFormat===zB.default)return{numberTextFormat:zB.default,decimalDigits:void 0,decimalMaximumDigits:void 0,unitScale:t?.unitScale??KB}
|
|
12456
12457
|
const e="number"==typeof t.decimalDigits,n="number"==typeof t.decimalMaximumDigits
|
|
12457
12458
|
if(e&&n)throw new Error("decimalDigits and decimalMaximumDigits are mutually exclusive. Do not specify both.")
|
|
12458
|
-
return e||n?{numberTextFormat:
|
|
12459
|
+
return e||n?{numberTextFormat:zB.decimal,decimalDigits:t.decimalDigits,decimalMaximumDigits:t.decimalMaximumDigits,unitScale:t.unitScale??KB}:{numberTextFormat:zB.decimal,decimalDigits:QB.defaultDecimalDigits,decimalMaximumDigits:void 0,unitScale:t.unitScale??KB}}}QB.defaultDecimalDigits=2
|
|
12459
12460
|
const tP=["invalidDecimalDigits","invalidDecimalMaximumDigits","decimalDigitsMutuallyExclusiveWithDecimalMaximumDigits","moreThanOneUnitSpecified"]
|
|
12460
|
-
class eP extends gL{constructor(){super(tP)}validateDecimalDigits(t,e){const n=!!(t===
|
|
12461
|
-
this.setConditionValue("invalidDecimalDigits",n)}validateDecimalMaximumDigits(t,e){const n=!!(t===
|
|
12462
|
-
this.setConditionValue("invalidDecimalMaximumDigits",n)}validateNoMutuallyExclusiveProperties(t,e,n){const i=!!(t===
|
|
12461
|
+
class eP extends gL{constructor(){super(tP)}validateDecimalDigits(t,e){const n=!!(t===zB.decimal&&"number"==typeof e)&&this.isInvalidDecimalDigitsValue(e)
|
|
12462
|
+
this.setConditionValue("invalidDecimalDigits",n)}validateDecimalMaximumDigits(t,e){const n=!!(t===zB.decimal&&"number"==typeof e)&&this.isInvalidDecimalDigitsValue(e)
|
|
12463
|
+
this.setConditionValue("invalidDecimalMaximumDigits",n)}validateNoMutuallyExclusiveProperties(t,e,n){const i=!!(t===zB.decimal)&&("number"==typeof e&&"number"==typeof n)
|
|
12463
12464
|
this.setConditionValue("decimalDigitsMutuallyExclusiveWithDecimalMaximumDigits",i)}validateAtMostOneUnit(t){const e=t.length>1
|
|
12464
12465
|
this.setConditionValue("moreThanOneUnitSpecified",e)}isInvalidDecimalDigitsValue(t){return t<0||t>20}}class nP extends je{}t([C],nP.prototype,"resolvedUnitScale",void 0)
|
|
12465
|
-
class iP extends(VL
|
|
12466
|
+
class iP extends(zL(VL)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}},this.unitSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),tl.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),tl.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:eN,validator:new eP}}updateUnitNotifier(){if(this.unitNotifier&&(this.unitNotifier.unsubscribe(this.unitSubscriber),this.unitNotifier=void 0),this.unit){const t=x.getNotifier(this.unit)
|
|
12466
12467
|
t.subscribe(this.unitSubscriber,"resolvedUnitScale"),this.unitNotifier=t}}formatChanged(){this.updateColumnConfig()}alignmentChanged(){this.updateColumnConfig()}decimalDigitsChanged(){this.updateColumnConfig()}decimalMaximumDigitsChanged(){this.updateColumnConfig()}unitElementsChanged(){this.updateUnit()}async updateUnit(){this.unit=void 0,this.unitElements&&(await oA(this.unitElements),this.unit=this.unitElements.find((t=>t instanceof nP))),this.updateUnitNotifier()}unitChanged(){this.updateColumnConfig()}updateColumnConfig(){const t=this.columnInternals.validator
|
|
12467
12468
|
if(t.validateDecimalDigits(this.format,this.decimalDigits),t.validateDecimalMaximumDigits(this.format,this.decimalMaximumDigits),t.validateNoMutuallyExclusiveProperties(this.format,this.decimalDigits,this.decimalMaximumDigits),t.validateAtMostOneUnit(this.unitElements??[]),t.isValid()){const t={formatter:this.createFormatter(),alignment:this.determineCellContentAlignment(),placeholder:this.placeholder}
|
|
12468
12469
|
this.columnInternals.headerAlignment=t.alignment,this.columnInternals.columnConfig=t}else this.columnInternals.columnConfig=void 0}createFormatter(){const t=this.unit?.resolvedUnitScale
|
|
12469
|
-
return new QB(tl.getValueFor(this),{numberTextFormat:this.format??void 0,decimalDigits:this.decimalDigits??void 0,decimalMaximumDigits:this.decimalMaximumDigits??void 0,unitScale:t})}determineCellContentAlignment(){return this.alignment===HB?jF:this.alignment===UB?WF:this.format!==
|
|
12470
|
+
return new QB(tl.getValueFor(this),{numberTextFormat:this.format??void 0,decimalDigits:this.decimalDigits??void 0,decimalMaximumDigits:this.decimalMaximumDigits??void 0,unitScale:t})}determineCellContentAlignment(){return this.alignment===HB?jF:this.alignment===UB?WF:this.format!==zB.decimal||"number"==typeof this.decimalMaximumDigits||this.unit?jF:WF}}t([ft],iP.prototype,"format",void 0),t([ft],iP.prototype,"alignment",void 0),t([ft({attribute:"decimal-digits",converter:ut})],iP.prototype,"decimalDigits",void 0),t([ft({attribute:"decimal-maximum-digits",converter:ut})],iP.prototype,"decimalMaximumDigits",void 0),t([C],iP.prototype,"unitElements",void 0),t([C],iP.prototype,"unit",void 0)
|
|
12470
12471
|
const sP=iP.compose({baseName:"table-column-number-text",template:BB,styles:wL})
|
|
12471
12472
|
Di.getOrCreate().withPrefix("nimble").register(sP())
|
|
12472
12473
|
const oP=class extends WL{updateText(){this.text="string"==typeof this.cellRecord?.value?this.cellRecord.value:""}}.compose({baseName:"table-column-text-cell-view",template:qL,styles:jL})
|
|
12473
12474
|
Di.getOrCreate().withPrefix("nimble").register(oP())
|
|
12474
12475
|
const rP=["invalidCustomSortWithGrouping"]
|
|
12475
|
-
class aP extends gL{constructor(){super(rP)}}class lP extends(FL(VL
|
|
12476
|
+
class aP extends gL{constructor(){super(rP)}}class lP extends(FL(zL(VL))){constructor(){super(...arguments),this.defaultSortOperation=nN}placeholderChanged(){this.columnInternals.columnConfig={placeholder:this.placeholder}}handleSortConfigurationChange(){this.updateColumnInternalsSortConfiguration()}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-text-cell-view",groupHeaderViewTag:TL,delegatedEvents:[],sortOperation:this.getResolvedSortOperation(this.defaultSortOperation),validator:new aP}}fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.updateColumnInternalsSortConfiguration()}updateColumnInternalsSortConfiguration(){this.columnInternals.operandDataRecordFieldName=this.getResolvedOperandDataRecordFieldName(this.fieldName),this.columnInternals.sortOperation=this.getResolvedSortOperation(this.defaultSortOperation)}}const cP=lP.compose({baseName:"table-column-text",template:xL,styles:wL})
|
|
12476
12477
|
Di.getOrCreate().withPrefix("nimble").register(cP())
|
|
12477
12478
|
const dP=$t`
|
|
12478
12479
|
${Th}
|
|
@@ -13410,8 +13411,8 @@ el.subscribe(e),e.attach(n),this.cache.set(t,e)}}($t`
|
|
|
13410
13411
|
transform: rotate(135deg);
|
|
13411
13412
|
}
|
|
13412
13413
|
`))
|
|
13413
|
-
class
|
|
13414
|
-
const VP
|
|
13414
|
+
class VP extends Vs{constructor(){super(...arguments),this.groupSelected=!1}}t([ft({attribute:"group-selected",mode:"boolean"})],VP.prototype,"groupSelected",void 0)
|
|
13415
|
+
const zP=VP.compose({baseName:"tree-item",baseClass:Vs,template:(t,e)=>Q`
|
|
13415
13416
|
<template
|
|
13416
13417
|
role="treeitem"
|
|
13417
13418
|
slot="${t=>t.isNestedItem()?"item":void 0}"
|
|
@@ -13452,7 +13453,7 @@ const VP=zP.compose({baseName:"tree-item",baseClass:zs,template:(t,e)=>Q`
|
|
|
13452
13453
|
`)}
|
|
13453
13454
|
</template>
|
|
13454
13455
|
`,styles:PP,expandCollapseGlyph:Wh.data})
|
|
13455
|
-
Di.getOrCreate().withPrefix("nimble").register(
|
|
13456
|
+
Di.getOrCreate().withPrefix("nimble").register(zP())
|
|
13456
13457
|
const HP=$t`
|
|
13457
13458
|
${js("flex")}
|
|
13458
13459
|
|
|
@@ -13479,16 +13480,16 @@ const HP=$t`
|
|
|
13479
13480
|
<slot ${ie("slottedTreeItems")}></slot>
|
|
13480
13481
|
</template>
|
|
13481
13482
|
`
|
|
13482
|
-
class qP extends
|
|
13483
|
+
class qP extends zs{constructor(){super(...arguments),this.selectionMode=FP,this.selectedItems=[]}handleClick(t){if(t.defaultPrevented)return!1
|
|
13483
13484
|
if(!(t.target instanceof Element&&Ps(t.target)))return!0
|
|
13484
13485
|
const e=t.target
|
|
13485
13486
|
return!e.disabled&&(this.canSelect(e)?e.selected=!0:this.itemHasChildren(e)&&(e.expanded=!e.expanded),!0)}canSelect(t){switch(this.selectionMode){case FP:return!0
|
|
13486
13487
|
case LP:return!1
|
|
13487
13488
|
case NP:return!this.itemHasChildren(t)
|
|
13488
|
-
default:return!0}}itemHasChildren(t){return null!==t.querySelector('[role="treeitem"]')}selectedItemsChanged(){for(const t of Array.from(this.children))t instanceof
|
|
13489
|
+
default:return!0}}itemHasChildren(t){return null!==t.querySelector('[role="treeitem"]')}selectedItemsChanged(){for(const t of Array.from(this.children))t instanceof VP&&(t.groupSelected=!1)
|
|
13489
13490
|
for(let t of this.selectedItems){for(;null!==t.parentElement&&t.parentElement!==this;)t=t.parentElement
|
|
13490
|
-
t instanceof
|
|
13491
|
-
const jP=qP.compose({baseName:"tree-view",baseClass:
|
|
13491
|
+
t instanceof VP&&(t.groupSelected=!0)}}}t([ft({attribute:"selection-mode"})],qP.prototype,"selectionMode",void 0),t([C],qP.prototype,"selectedItems",void 0)
|
|
13492
|
+
const jP=qP.compose({baseName:"tree-view",baseClass:zs,template:UP,styles:HP})
|
|
13492
13493
|
Di.getOrCreate().withPrefix("nimble").register(jP())
|
|
13493
13494
|
const WP=Q`<template slot="unit"></template>`
|
|
13494
13495
|
class GP{constructor(t,e,n){this.singular=t,this.plural=e,this.symbol=n}}class ZP extends jB{constructor(t,{unitTranslations:e,scaledPrefixText:n}){if(super(t),!e.get("en"))throw new Error('English translations must exist with locale string "en"')
|
|
@@ -13497,114 +13498,114 @@ if(""!==this.scaledPrefixText)return`${e} ${this.scaledPrefixText}${this.unitTra
|
|
|
13497
13498
|
return`${e} ${"one"===this.pluralRules.select(t)?this.unitTranslation.singular:this.unitTranslation.plural}`}getTranslationToUse(t,e){const n=new Intl.Locale(e??"en"),i=n.language,s=n.region
|
|
13498
13499
|
return(s?t.get(`${i}-${s}`):void 0)??t.get(i)??t.get("en")}}const KP=new Map([["en",new GP("byte","bytes","B")],["fr",new GP("octet","octets","o")],["de",new GP("Byte","Byte","B")],["ja",new GP("バイト","バイト","B")],["zh",new GP("字节","字节","B")]]),YP=[[1,""],[1024,"Ki"],[1048576,"Mi"],[1024**3,"Gi"],[1024**4,"Ti"],[1024**5,"Pi"]]
|
|
13499
13500
|
const XP=new class extends ZB{constructor(){super(YP.map((([t,e])=>new GB(t,ZP.createFactory({unitTranslations:KP,scaledPrefixText:e})))))}},JP=[[1,"byte","long"],[1e3,"kilobyte","short"],[1e6,"megabyte","short"],[1e3**3,"gigabyte","short"],[1e3**4,"terabyte","short"],[1e3**5,"petabyte","short"]]
|
|
13500
|
-
const QP=new class extends ZB{constructor(){super(JP.map((([t,e,n])=>new GB(t,WB.createFactory({style:"unit",unit:e,unitDisplay:n})))))}},
|
|
13501
|
+
const QP=new class extends ZB{constructor(){super(JP.map((([t,e,n])=>new GB(t,WB.createFactory({style:"unit",unit:e,unitDisplay:n})))))}},tV=$t`
|
|
13501
13502
|
${js("none")}
|
|
13502
13503
|
`
|
|
13503
|
-
class
|
|
13504
|
-
const
|
|
13505
|
-
Di.getOrCreate().withPrefix("nimble").register(
|
|
13506
|
-
const
|
|
13507
|
-
const
|
|
13508
|
-
const
|
|
13509
|
-
Di.getOrCreate().withPrefix("nimble").register(
|
|
13510
|
-
var
|
|
13511
|
-
function
|
|
13512
|
-
i[t]=[]}return new
|
|
13513
|
-
break}return null!=n&&t.push({name:e,value:n}),t}
|
|
13504
|
+
class eV extends nP{constructor(){super(),this.binary=!1,this.resolvedUnitScale=QP}binaryChanged(){this.resolvedUnitScale=this.binary?XP:QP}}t([ft({mode:"boolean"})],eV.prototype,"binary",void 0)
|
|
13505
|
+
const nV=eV.compose({baseName:"unit-byte",template:WP,styles:tV})
|
|
13506
|
+
Di.getOrCreate().withPrefix("nimble").register(nV())
|
|
13507
|
+
const iV=[[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"]],sV=new Map([["en",new GP("volt","volts","V")],["fr",new GP("volt","volts","V")],["de",new GP("Volt","Volt","V")],["ja",new GP("ボルト","ボルト","V")],["zh",new GP("伏特","伏特","V")]])
|
|
13508
|
+
const oV=new class extends ZB{constructor(){super(iV.map((([t,e])=>new GB(t,ZP.createFactory({unitTranslations:sV,scaledPrefixText:e})))))}}
|
|
13509
|
+
const rV=class extends nP{constructor(){super(),this.resolvedUnitScale=oV}}.compose({baseName:"unit-volt",template:WP,styles:tV})
|
|
13510
|
+
Di.getOrCreate().withPrefix("nimble").register(rV())
|
|
13511
|
+
var aV={value:()=>{}}
|
|
13512
|
+
function lV(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t)
|
|
13513
|
+
i[t]=[]}return new cV(i)}function cV(t){this._=t}function dV(t,e){for(var n,i=0,s=t.length;i<s;++i)if((n=t[i]).name===e)return n.value}function hV(t,e,n){for(var i=0,s=t.length;i<s;++i)if(t[i].name===e){t[i]=aV,t=t.slice(0,i).concat(t.slice(i+1))
|
|
13514
|
+
break}return null!=n&&t.push({name:e,value:n}),t}cV.prototype=lV.prototype={constructor:cV,on:function(t,e){var n,i,s=this._,o=(i=s,(t+"").trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".")
|
|
13514
13515
|
if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!i.hasOwnProperty(t))throw new Error("unknown type: "+t)
|
|
13515
13516
|
return{type:t,name:e}}))),r=-1,a=o.length
|
|
13516
13517
|
if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e)
|
|
13517
|
-
for(;++r<a;)if(n=(t=o[r]).type)s[n]=
|
|
13518
|
-
else if(null==e)for(n in s)s[n]=
|
|
13519
|
-
return this}for(;++r<a;)if((n=(t=o[r]).type)&&(n=
|
|
13518
|
+
for(;++r<a;)if(n=(t=o[r]).type)s[n]=hV(s[n],t.name,e)
|
|
13519
|
+
else if(null==e)for(n in s)s[n]=hV(s[n],t.name,null)
|
|
13520
|
+
return this}for(;++r<a;)if((n=(t=o[r]).type)&&(n=dV(s[n],t.name)))return n},copy:function(){var t={},e=this._
|
|
13520
13521
|
for(var n in e)t[n]=e[n].slice()
|
|
13521
|
-
return new
|
|
13522
|
+
return new cV(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,i,s=new Array(n),o=0;o<n;++o)s[o]=arguments[o+2]
|
|
13522
13523
|
if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t)
|
|
13523
13524
|
for(o=0,n=(i=this._[t]).length;o<n;++o)i[o].value.apply(e,s)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t)
|
|
13524
13525
|
for(var i=this._[t],s=0,o=i.length;s<o;++s)i[s].value.apply(e,n)}}
|
|
13525
|
-
var
|
|
13526
|
-
function
|
|
13527
|
-
return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),
|
|
13528
|
-
return n===
|
|
13529
|
-
return(e.local?
|
|
13530
|
-
var e}}function
|
|
13531
|
-
function
|
|
13532
|
-
function
|
|
13533
|
-
for(;a<l;++a)(r=e[a])&&(s[a]=r)}function
|
|
13526
|
+
var uV="http://www.w3.org/1999/xhtml",pV={svg:"http://www.w3.org/2000/svg",xhtml:uV,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}
|
|
13527
|
+
function fV(t){var e=t+="",n=e.indexOf(":")
|
|
13528
|
+
return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),pV.hasOwnProperty(e)?{space:pV[e],local:t}:t}function mV(t){return function(){var e=this.ownerDocument,n=this.namespaceURI
|
|
13529
|
+
return n===uV&&e.documentElement.namespaceURI===uV?e.createElement(t):e.createElementNS(n,t)}}function gV(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function vV(t){var e=fV(t)
|
|
13530
|
+
return(e.local?gV:mV)(e)}function bV(){}function yV(t){return null==t?bV:function(){return this.querySelector(t)}}function wV(){return[]}function xV(t){return null==t?wV:function(){return this.querySelectorAll(t)}}function CV(t){return function(){return null==(e=t.apply(this,arguments))?[]:Array.isArray(e)?e:Array.from(e)
|
|
13531
|
+
var e}}function kV(t){return function(){return this.matches(t)}}function SV(t){return function(e){return e.matches(t)}}var _V=Array.prototype.find
|
|
13532
|
+
function IV(){return this.firstElementChild}var $V=Array.prototype.filter
|
|
13533
|
+
function MV(){return Array.from(this.children)}function DV(t){return new Array(t.length)}function EV(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function AV(t,e,n,i,s,o){for(var r,a=0,l=e.length,c=o.length;a<c;++a)(r=e[a])?(r.__data__=o[a],i[a]=r):n[a]=new EV(t,o[a])
|
|
13534
|
+
for(;a<l;++a)(r=e[a])&&(s[a]=r)}function OV(t,e,n,i,s,o,r){var a,l,c,d=new Map,h=e.length,u=o.length,p=new Array(h)
|
|
13534
13535
|
for(a=0;a<h;++a)(l=e[a])&&(p[a]=c=r.call(l,l.__data__,a,e)+"",d.has(c)?s[a]=l:d.set(c,l))
|
|
13535
|
-
for(a=0;a<u;++a)c=r.call(t,o[a],a,o)+"",(l=d.get(c))?(i[a]=l,l.__data__=o[a],d.delete(c)):n[a]=new
|
|
13536
|
-
for(a=0;a<h;++a)(l=e[a])&&d.get(p[a])===l&&(s[a]=l)}function
|
|
13537
|
-
null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function
|
|
13538
|
-
null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function
|
|
13539
|
-
null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function
|
|
13540
|
-
null==n?delete this[t]:this[t]=n}}function
|
|
13541
|
-
this.textContent=null==e?"":e}}function
|
|
13542
|
-
this.innerHTML=null==e?"":e}}function
|
|
13543
|
-
t&&t.removeChild(this)}function
|
|
13544
|
-
return e?e.insertBefore(t,this.nextSibling):t}function
|
|
13545
|
-
return e?e.insertBefore(t,this.nextSibling):t}function
|
|
13546
|
-
if(e){for(var n,i=0,s=-1,o=e.length;i<o;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++s]=n:this.removeEventListener(n.type,n.listener,n.options);++s?e.length=s:delete this.__on}}}function
|
|
13536
|
+
for(a=0;a<u;++a)c=r.call(t,o[a],a,o)+"",(l=d.get(c))?(i[a]=l,l.__data__=o[a],d.delete(c)):n[a]=new EV(t,o[a])
|
|
13537
|
+
for(a=0;a<h;++a)(l=e[a])&&d.get(p[a])===l&&(s[a]=l)}function TV(t){return t.__data__}function RV(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function FV(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function NV(t){return function(){this.removeAttribute(t)}}function LV(t){return function(){this.removeAttributeNS(t.space,t.local)}}function BV(t,e){return function(){this.setAttribute(t,e)}}function PV(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function VV(t,e){return function(){var n=e.apply(this,arguments)
|
|
13538
|
+
null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function zV(t,e){return function(){var n=e.apply(this,arguments)
|
|
13539
|
+
null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function HV(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function UV(t){return function(){this.style.removeProperty(t)}}function qV(t,e,n){return function(){this.style.setProperty(t,e,n)}}function jV(t,e,n){return function(){var i=e.apply(this,arguments)
|
|
13540
|
+
null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function WV(t,e){return t.style.getPropertyValue(e)||HV(t).getComputedStyle(t,null).getPropertyValue(e)}function GV(t){return function(){delete this[t]}}function ZV(t,e){return function(){this[t]=e}}function KV(t,e){return function(){var n=e.apply(this,arguments)
|
|
13541
|
+
null==n?delete this[t]:this[t]=n}}function YV(t){return t.trim().split(/^|\s+/)}function XV(t){return t.classList||new JV(t)}function JV(t){this._node=t,this._names=YV(t.getAttribute("class")||"")}function QV(t,e){for(var n=XV(t),i=-1,s=e.length;++i<s;)n.add(e[i])}function tz(t,e){for(var n=XV(t),i=-1,s=e.length;++i<s;)n.remove(e[i])}function ez(t){return function(){QV(this,t)}}function nz(t){return function(){tz(this,t)}}function iz(t,e){return function(){(e.apply(this,arguments)?QV:tz)(this,t)}}function sz(){this.textContent=""}function oz(t){return function(){this.textContent=t}}function rz(t){return function(){var e=t.apply(this,arguments)
|
|
13542
|
+
this.textContent=null==e?"":e}}function az(){this.innerHTML=""}function lz(t){return function(){this.innerHTML=t}}function cz(t){return function(){var e=t.apply(this,arguments)
|
|
13543
|
+
this.innerHTML=null==e?"":e}}function dz(){this.nextSibling&&this.parentNode.appendChild(this)}function hz(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function uz(){return null}function pz(){var t=this.parentNode
|
|
13544
|
+
t&&t.removeChild(this)}function fz(){var t=this.cloneNode(!1),e=this.parentNode
|
|
13545
|
+
return e?e.insertBefore(t,this.nextSibling):t}function mz(){var t=this.cloneNode(!0),e=this.parentNode
|
|
13546
|
+
return e?e.insertBefore(t,this.nextSibling):t}function gz(t){return function(){var e=this.__on
|
|
13547
|
+
if(e){for(var n,i=0,s=-1,o=e.length;i<o;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++s]=n:this.removeEventListener(n.type,n.listener,n.options);++s?e.length=s:delete this.__on}}}function vz(t,e,n){return function(){var i,s=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e)
|
|
13547
13548
|
if(s)for(var r=0,a=s.length;r<a;++r)if((i=s[r]).type===t.type&&i.name===t.name)return this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=o,i.options=n),void(i.value=e)
|
|
13548
|
-
this.addEventListener(t.type,o,n),i={type:t.type,name:t.name,value:e,listener:o,options:n},s?s.push(i):this.__on=[i]}}function
|
|
13549
|
-
"function"==typeof s?s=new s(e,n):(s=i.document.createEvent("Event"),n?(s.initEvent(e,n.bubbles,n.cancelable),s.detail=n.detail):s.initEvent(e,!1,!1)),t.dispatchEvent(s)}function
|
|
13549
|
+
this.addEventListener(t.type,o,n),i={type:t.type,name:t.name,value:e,listener:o,options:n},s?s.push(i):this.__on=[i]}}function bz(t,e,n){var i=HV(t),s=i.CustomEvent
|
|
13550
|
+
"function"==typeof s?s=new s(e,n):(s=i.document.createEvent("Event"),n?(s.initEvent(e,n.bubbles,n.cancelable),s.detail=n.detail):s.initEvent(e,!1,!1)),t.dispatchEvent(s)}function yz(t,e){return function(){return bz(this,t,e)}}function wz(t,e){return function(){return bz(this,t,e.apply(this,arguments))}}EV.prototype={constructor:EV,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},JV.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t)
|
|
13550
13551
|
e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}}
|
|
13551
|
-
var
|
|
13552
|
-
function
|
|
13552
|
+
var xz=[null]
|
|
13553
|
+
function Cz(t,e){this._groups=t,this._parents=e}function kz(){return new Cz([[document.documentElement]],xz)}function Sz(t){return"string"==typeof t?new Cz([[document.querySelector(t)]],[document.documentElement]):new Cz([[t]],xz)}function _z(t,e){if(t=function(t){let e
|
|
13553
13554
|
for(;e=t.sourceEvent;)t=e
|
|
13554
13555
|
return t}(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e
|
|
13555
13556
|
if(n.createSVGPoint){var i=n.createSVGPoint()
|
|
13556
13557
|
return i.x=t.clientX,i.y=t.clientY,[(i=i.matrixTransform(e.getScreenCTM().inverse())).x,i.y]}if(e.getBoundingClientRect){var s=e.getBoundingClientRect()
|
|
13557
|
-
return[t.clientX-s.left-e.clientLeft,t.clientY-s.top-e.clientTop]}}return[t.pageX,t.pageY]}
|
|
13558
|
+
return[t.clientX-s.left-e.clientLeft,t.clientY-s.top-e.clientTop]}}return[t.pageX,t.pageY]}Cz.prototype=kz.prototype={constructor:Cz,select:function(t){"function"!=typeof t&&(t=yV(t))
|
|
13558
13559
|
for(var e=this._groups,n=e.length,i=new Array(n),s=0;s<n;++s)for(var o,r,a=e[s],l=a.length,c=i[s]=new Array(l),d=0;d<l;++d)(o=a[d])&&(r=t.call(o,o.__data__,d,a))&&("__data__"in o&&(r.__data__=o.__data__),c[d]=r)
|
|
13559
|
-
return new
|
|
13560
|
+
return new Cz(i,this._parents)},selectAll:function(t){t="function"==typeof t?CV(t):xV(t)
|
|
13560
13561
|
for(var e=this._groups,n=e.length,i=[],s=[],o=0;o<n;++o)for(var r,a=e[o],l=a.length,c=0;c<l;++c)(r=a[c])&&(i.push(t.call(r,r.__data__,c,a)),s.push(r))
|
|
13561
|
-
return new
|
|
13562
|
+
return new Cz(i,s)},selectChild:function(t){return this.select(null==t?IV:function(t){return function(){return _V.call(this.children,t)}}("function"==typeof t?t:SV(t)))},selectChildren:function(t){return this.selectAll(null==t?MV:function(t){return function(){return $V.call(this.children,t)}}("function"==typeof t?t:SV(t)))},filter:function(t){"function"!=typeof t&&(t=kV(t))
|
|
13562
13563
|
for(var e=this._groups,n=e.length,i=new Array(n),s=0;s<n;++s)for(var o,r=e[s],a=r.length,l=i[s]=[],c=0;c<a;++c)(o=r[c])&&t.call(o,o.__data__,c,r)&&l.push(o)
|
|
13563
|
-
return new
|
|
13564
|
-
var n,i=e?
|
|
13564
|
+
return new Cz(i,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,TV)
|
|
13565
|
+
var n,i=e?OV:AV,s=this._parents,o=this._groups
|
|
13565
13566
|
"function"!=typeof t&&(n=t,t=function(){return n})
|
|
13566
|
-
for(var r=o.length,a=new Array(r),l=new Array(r),c=new Array(r),d=0;d<r;++d){var h=s[d],u=o[d],p=u.length,f=
|
|
13567
|
+
for(var r=o.length,a=new Array(r),l=new Array(r),c=new Array(r),d=0;d<r;++d){var h=s[d],u=o[d],p=u.length,f=RV(t.call(h,h&&h.__data__,d,s)),m=f.length,g=l[d]=new Array(m),v=a[d]=new Array(m)
|
|
13567
13568
|
i(h,u,g,v,c[d]=new Array(p),f,e)
|
|
13568
|
-
for(var b,y,w=0,x=0;w<m;++w)if(b=g[w]){for(w>=x&&(x=w+1);!(y=v[x])&&++x<m;);b._next=y||null}}return(a=new
|
|
13569
|
+
for(var b,y,w=0,x=0;w<m;++w)if(b=g[w]){for(w>=x&&(x=w+1);!(y=v[x])&&++x<m;);b._next=y||null}}return(a=new Cz(a,s))._enter=l,a._exit=c,a},enter:function(){return new Cz(this._enter||this._groups.map(DV),this._parents)},exit:function(){return new Cz(this._exit||this._groups.map(DV),this._parents)},join:function(t,e,n){var i=this.enter(),s=this,o=this.exit()
|
|
13569
13570
|
return"function"==typeof t?(i=t(i))&&(i=i.selection()):i=i.append(t+""),null!=e&&(s=e(s))&&(s=s.selection()),null==n?o.remove():n(o),i&&s?i.merge(s).order():s},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,s=n.length,o=i.length,r=Math.min(s,o),a=new Array(s),l=0;l<r;++l)for(var c,d=n[l],h=i[l],u=d.length,p=a[l]=new Array(u),f=0;f<u;++f)(c=d[f]||h[f])&&(p[f]=c)
|
|
13570
13571
|
for(;l<s;++l)a[l]=n[l]
|
|
13571
|
-
return new
|
|
13572
|
-
return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=
|
|
13572
|
+
return new Cz(a,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i,s=t[e],o=s.length-1,r=s[o];--o>=0;)(i=s[o])&&(r&&4^i.compareDocumentPosition(r)&&r.parentNode.insertBefore(i,r),r=i)
|
|
13573
|
+
return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=FV)
|
|
13573
13574
|
for(var n=this._groups,i=n.length,s=new Array(i),o=0;o<i;++o){for(var r,a=n[o],l=a.length,c=s[o]=new Array(l),d=0;d<l;++d)(r=a[d])&&(c[d]=r)
|
|
13574
|
-
c.sort(e)}return new
|
|
13575
|
+
c.sort(e)}return new Cz(s,this._parents).order()},call:function(){var t=arguments[0]
|
|
13575
13576
|
return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],s=0,o=i.length;s<o;++s){var r=i[s]
|
|
13576
13577
|
if(r)return r}return null},size:function(){let t=0
|
|
13577
13578
|
for(const e of this)++t
|
|
13578
13579
|
return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var s,o=e[n],r=0,a=o.length;r<a;++r)(s=o[r])&&t.call(s,s.__data__,r,o)
|
|
13579
|
-
return this},attr:function(t,e){var n=
|
|
13580
|
+
return this},attr:function(t,e){var n=fV(t)
|
|
13580
13581
|
if(arguments.length<2){var i=this.node()
|
|
13581
|
-
return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?
|
|
13582
|
-
if(arguments.length<2){for(var i=
|
|
13583
|
-
return!0}return this.each(("function"==typeof e?
|
|
13584
|
-
return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:
|
|
13585
|
-
return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(
|
|
13582
|
+
return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?LV:NV:"function"==typeof e?n.local?zV:VV:n.local?PV:BV)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?UV:"function"==typeof e?jV:qV)(t,e,null==n?"":n)):WV(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?GV:"function"==typeof e?KV:ZV)(t,e)):this.node()[t]},classed:function(t,e){var n=YV(t+"")
|
|
13583
|
+
if(arguments.length<2){for(var i=XV(this.node()),s=-1,o=n.length;++s<o;)if(!i.contains(n[s]))return!1
|
|
13584
|
+
return!0}return this.each(("function"==typeof e?iz:e?ez:nz)(n,e))},text:function(t){return arguments.length?this.each(null==t?sz:("function"==typeof t?rz:oz)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?az:("function"==typeof t?cz:lz)(t)):this.node().innerHTML},raise:function(){return this.each(dz)},lower:function(){return this.each(hz)},append:function(t){var e="function"==typeof t?t:vV(t)
|
|
13585
|
+
return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:vV(t),i=null==e?uz:"function"==typeof e?e:yV(e)
|
|
13586
|
+
return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(pz)},clone:function(t){return this.select(t?mz:fz)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var i,s,o=function(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".")
|
|
13586
13587
|
return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}(t+""),r=o.length
|
|
13587
|
-
if(!(arguments.length<2)){for(a=e?
|
|
13588
|
+
if(!(arguments.length<2)){for(a=e?vz:gz,i=0;i<r;++i)this.each(a(o[i],e,n))
|
|
13588
13589
|
return this}var a=this.node().__on
|
|
13589
|
-
if(a)for(var l,c=0,d=a.length;c<d;++c)for(i=0,l=a[c];i<r;++i)if((s=o[i]).type===l.type&&s.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?
|
|
13590
|
-
const
|
|
13591
|
-
function $
|
|
13590
|
+
if(a)for(var l,c=0,d=a.length;c<d;++c)for(i=0,l=a[c];i<r;++i)if((s=o[i]).type===l.type&&s.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"==typeof e?wz:yz)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i,s=t[e],o=0,r=s.length;o<r;++o)(i=s[o])&&(yield i)}}
|
|
13591
|
+
const Iz={capture:!0,passive:!1}
|
|
13592
|
+
function $z(t){t.preventDefault(),t.stopImmediatePropagation()}function Mz(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Dz(t,e){var n=Object.create(t.prototype)
|
|
13592
13593
|
for(var i in e)n[i]=e[i]
|
|
13593
|
-
return n}function
|
|
13594
|
-
function
|
|
13595
|
-
return t=(t+"").trim().toLowerCase(),(e=
|
|
13596
|
-
var s}function
|
|
13597
|
-
return`${1===t?"rgb(":"rgba("}${tH(this.r)}, ${tH(this.g)}, ${tH(this.b)}${1===t?")":`, ${t})`}`}function
|
|
13598
|
-
if(t instanceof
|
|
13594
|
+
return n}function Ez(){}var Az=.7,Oz=1/Az,Tz="\\s*([+-]?\\d+)\\s*",Rz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Fz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Nz=/^#([0-9a-f]{3,8})$/,Lz=new RegExp(`^rgb\\(${Tz},${Tz},${Tz}\\)$`),Bz=new RegExp(`^rgb\\(${Fz},${Fz},${Fz}\\)$`),Pz=new RegExp(`^rgba\\(${Tz},${Tz},${Tz},${Rz}\\)$`),Vz=new RegExp(`^rgba\\(${Fz},${Fz},${Fz},${Rz}\\)$`),zz=new RegExp(`^hsl\\(${Rz},${Fz},${Fz}\\)$`),Hz=new RegExp(`^hsla\\(${Rz},${Fz},${Fz},${Rz}\\)$`),Uz={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}
|
|
13595
|
+
function qz(){return this.rgb().formatHex()}function jz(){return this.rgb().formatRgb()}function Wz(t){var e,n
|
|
13596
|
+
return t=(t+"").trim().toLowerCase(),(e=Nz.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Gz(e):3===n?new Yz(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Zz(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Zz(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Lz.exec(t))?new Yz(e[1],e[2],e[3],1):(e=Bz.exec(t))?new Yz(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Pz.exec(t))?Zz(e[1],e[2],e[3],e[4]):(e=Vz.exec(t))?Zz(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=zz.exec(t))?nH(e[1],e[2]/100,e[3]/100,1):(e=Hz.exec(t))?nH(e[1],e[2]/100,e[3]/100,e[4]):Uz.hasOwnProperty(t)?Gz(Uz[t]):"transparent"===t?new Yz(NaN,NaN,NaN,0):null}function Gz(t){return new Yz(t>>16&255,t>>8&255,255&t,1)}function Zz(t,e,n,i){return i<=0&&(t=e=n=NaN),new Yz(t,e,n,i)}function Kz(t,e,n,i){return 1===arguments.length?((s=t)instanceof Ez||(s=Wz(s)),s?new Yz((s=s.rgb()).r,s.g,s.b,s.opacity):new Yz):new Yz(t,e,n,null==i?1:i)
|
|
13597
|
+
var s}function Yz(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function Xz(){return`#${eH(this.r)}${eH(this.g)}${eH(this.b)}`}function Jz(){const t=Qz(this.opacity)
|
|
13598
|
+
return`${1===t?"rgb(":"rgba("}${tH(this.r)}, ${tH(this.g)}, ${tH(this.b)}${1===t?")":`, ${t})`}`}function Qz(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function tH(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function eH(t){return((t=tH(t))<16?"0":"")+t.toString(16)}function nH(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new sH(t,e,n,i)}function iH(t){if(t instanceof sH)return new sH(t.h,t.s,t.l,t.opacity)
|
|
13599
|
+
if(t instanceof Ez||(t=Wz(t)),!t)return new sH
|
|
13599
13600
|
if(t instanceof sH)return t
|
|
13600
13601
|
var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,s=Math.min(e,n,i),o=Math.max(e,n,i),r=NaN,a=o-s,l=(o+s)/2
|
|
13601
|
-
return a?(r=e===o?(n-i)/a+6*(n<i):n===o?(i-e)/a+2:(e-n)/a+4,a/=l<.5?o+s:2-o-s,r*=60):a=l>0&&l<1?0:r,new sH(r,a,l,t.opacity)}function sH(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function oH(t){return(t=(t||0)%360)<0?t+360:t}function rH(t){return Math.max(0,Math.min(1,t||0))}function aH(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}
|
|
13602
|
-
return new
|
|
13602
|
+
return a?(r=e===o?(n-i)/a+6*(n<i):n===o?(i-e)/a+2:(e-n)/a+4,a/=l<.5?o+s:2-o-s,r*=60):a=l>0&&l<1?0:r,new sH(r,a,l,t.opacity)}function sH(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function oH(t){return(t=(t||0)%360)<0?t+360:t}function rH(t){return Math.max(0,Math.min(1,t||0))}function aH(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Mz(Ez,Wz,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:qz,formatHex:qz,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return iH(this).formatHsl()},formatRgb:jz,toString:jz}),Mz(Yz,Kz,Dz(Ez,{brighter(t){return t=null==t?Oz:Math.pow(Oz,t),new Yz(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Az:Math.pow(Az,t),new Yz(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Yz(tH(this.r),tH(this.g),tH(this.b),Qz(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:Xz,formatHex:Xz,formatHex8:function(){return`#${eH(this.r)}${eH(this.g)}${eH(this.b)}${eH(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Jz,toString:Jz})),Mz(sH,(function(t,e,n,i){return 1===arguments.length?iH(t):new sH(t,e,n,null==i?1:i)}),Dz(Ez,{brighter(t){return t=null==t?Oz:Math.pow(Oz,t),new sH(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Az:Math.pow(Az,t),new sH(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,s=2*n-i
|
|
13603
|
+
return new Yz(aH(t>=240?t-240:t+120,s,i),aH(t,s,i),aH(t<120?t+240:t-120,s,i),this.opacity)},clamp(){return new sH(oH(this.h),rH(this.s),rH(this.l),Qz(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 t=Qz(this.opacity)
|
|
13603
13604
|
return`${1===t?"hsl(":"hsla("}${oH(this.h)}, ${100*rH(this.s)}%, ${100*rH(this.l)}%${1===t?")":`, ${t})`}`}}))
|
|
13604
13605
|
var lH=t=>()=>t
|
|
13605
13606
|
function cH(t){return 1==(t=+t)?dH:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}(e,n,t):lH(isNaN(e)?n:e)}}function dH(t,e){var n=e-t
|
|
13606
13607
|
return n?function(t,e){return function(n){return t+n*e}}(t,n):lH(isNaN(t)?e:t)}var hH=function t(e){var n=cH(e)
|
|
13607
|
-
function i(t,e){var i=n((t=
|
|
13608
|
+
function i(t,e){var i=n((t=Kz(t)).r,(e=Kz(e)).r),s=n(t.g,e.g),o=n(t.b,e.b),r=dH(t.opacity,e.opacity)
|
|
13608
13609
|
return function(e){return t.r=i(e),t.g=s(e),t.b=o(e),t.opacity=r(e),t+""}}return i.gamma=t,i}(1)
|
|
13609
13610
|
function uH(t,e){e||(e=[])
|
|
13610
13611
|
var n,i=t?Math.min(e.length,t.length):0,s=e.slice()
|
|
@@ -13622,7 +13623,7 @@ function yH(t,e){var n,i,s,o=vH.lastIndex=bH.lastIndex=0,r=-1,a=[],l=[]
|
|
|
13622
13623
|
for(t+="",e+="";(n=vH.exec(t))&&(i=bH.exec(e));)(s=i.index)>o&&(s=e.slice(o,s),a[r]?a[r]+=s:a[++r]=s),(n=n[0])===(i=i[0])?a[r]?a[r]+=i:a[++r]=i:(a[++r]=null,l.push({i:r,x:mH(n,i)})),o=bH.lastIndex
|
|
13623
13624
|
return o<e.length&&(s=e.slice(o),a[r]?a[r]+=s:a[++r]=s),a.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var n,i=0;i<e;++i)a[(n=l[i]).i]=n.x(t)
|
|
13624
13625
|
return a.join("")})}function wH(t,e){var n,i,s=typeof e
|
|
13625
|
-
return null==e||"boolean"===s?lH(e):("number"===s?mH:"string"===s?(n=
|
|
13626
|
+
return null==e||"boolean"===s?lH(e):("number"===s?mH:"string"===s?(n=Wz(e))?(e=n,hH):yH:e instanceof Wz?hH:e instanceof Date?fH:(i=e,!ArrayBuffer.isView(i)||i instanceof DataView?Array.isArray(e)?pH:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?gH:mH:uH))(t,e)}function xH(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var CH,kH=180/Math.PI,SH={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1}
|
|
13626
13627
|
function _H(t,e,n,i,s,o){var r,a,l
|
|
13627
13628
|
return(r=Math.sqrt(t*t+e*e))&&(t/=r,e/=r),(l=t*n+e*i)&&(n-=t*l,i-=e*l),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,l/=a),t*i<e*n&&(t=-t,e=-e,l=-l,r=-r),{translateX:s,translateY:o,rotate:Math.atan2(e,t)*kH,skewX:Math.atan(l)*kH,scaleX:r,scaleY:a}}function IH(t,e,n,i){function s(t){return t.length?t.pop()+" ":""}return function(o,r){var a=[],l=[]
|
|
13628
13629
|
return o=t(o),r=t(r),function(t,i,s,o,r,a){if(t!==s||i!==o){var l=r.push("translate(",null,e,null,n)
|
|
@@ -13635,17 +13636,17 @@ if(m<1e-12)r=Math.log(u/c)/e,o=function(t){return[a+t*p,l+t*f,c*Math.exp(e*t*r)]
|
|
|
13635
13636
|
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)
|
|
13636
13637
|
r=(w-y)/e,o=function(t){var i,s=t*r,o=DH(y),d=c/(n*g)*(o*(i=e*s+y,((i=Math.exp(2*i))-1)/(i+1))-function(t){return((t=Math.exp(t))-1/t)/2}(y))
|
|
13637
13638
|
return[a+d*p,l+d*f,c*o/DH(e*s+y)]}}return o.duration=1e3*r*e/Math.SQRT2,o}return s.rho=function(e){var n=Math.max(.001,+e),i=n*n
|
|
13638
|
-
return t(n,i,i*i)},s}(Math.SQRT2,2,4),TH=0,RH=0,FH=0,NH=1e3,LH=0,BH=0,PH=0,
|
|
13639
|
-
function HH(){return BH||(
|
|
13640
|
-
return i.restart(t,e,n),i}function WH(){BH=(LH=
|
|
13639
|
+
return t(n,i,i*i)},s}(Math.SQRT2,2,4),TH=0,RH=0,FH=0,NH=1e3,LH=0,BH=0,PH=0,VH="object"==typeof performance&&performance.now?performance:Date,zH="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)}
|
|
13640
|
+
function HH(){return BH||(zH(UH),BH=VH.now()+PH)}function UH(){BH=0}function qH(){this._call=this._time=this._next=null}function jH(t,e,n){var i=new qH
|
|
13641
|
+
return i.restart(t,e,n),i}function WH(){BH=(LH=VH.now())+PH,TH=RH=0
|
|
13641
13642
|
try{!function(){HH(),++TH
|
|
13642
13643
|
for(var t,e=EH;e;)(t=BH-e._time)>=0&&e._call.call(void 0,t),e=e._next;--TH}()}finally{TH=0,function(){var t,e,n=EH,i=1/0
|
|
13643
13644
|
for(;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:EH=e)
|
|
13644
|
-
AH=t,ZH(i)}(),BH=0}}function GH(){var t=
|
|
13645
|
-
e>NH&&(PH-=e,LH=t)}function ZH(t){TH||(RH&&(RH=clearTimeout(RH)),t-BH>24?(t<1/0&&(RH=setTimeout(WH,t-
|
|
13645
|
+
AH=t,ZH(i)}(),BH=0}}function GH(){var t=VH.now(),e=t-LH
|
|
13646
|
+
e>NH&&(PH-=e,LH=t)}function ZH(t){TH||(RH&&(RH=clearTimeout(RH)),t-BH>24?(t<1/0&&(RH=setTimeout(WH,t-VH.now()-PH)),FH&&(FH=clearInterval(FH))):(FH||(LH=VH.now(),FH=setInterval(GH,NH)),TH=1,zH(WH)))}function KH(t,e,n){var i=new qH
|
|
13646
13647
|
return e=null==e?0:+e,i.restart((n=>{i.stop(),t(n+e)}),e,n),i}qH.prototype=jH.prototype={constructor:qH,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function")
|
|
13647
13648
|
n=(null==n?HH():+n)+(null==e?0:+e),this._next||AH===this||(AH?AH._next=this:EH=this,AH=this),this._call=t,this._time=n,ZH()},stop:function(){this._call&&(this._call=null,this._time=1/0,ZH())}}
|
|
13648
|
-
var YH=
|
|
13649
|
+
var YH=lV("start","end","cancel","interrupt"),XH=[],JH=0,QH=1,tU=2,eU=3,nU=4,iU=5,sU=6
|
|
13649
13650
|
function oU(t,e,n,i,s,o){var r=t.__transition
|
|
13650
13651
|
if(r){if(n in r)return}else t.__transition={}
|
|
13651
13652
|
!function(t,e,n){var i,s=t.__transition
|
|
@@ -13673,7 +13674,7 @@ if(r!==i){s=(i=r).slice()
|
|
|
13673
13674
|
for(var a={name:e,value:n},l=0,c=s.length;l<c;++l)if(s[l].name===e){s[l]=a
|
|
13674
13675
|
break}l===c&&s.push(a)}o.tween=s}}function uU(t,e,n){var i=t._id
|
|
13675
13676
|
return t.each((function(){var t=aU(this,i);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return lU(t,i).value[e]}}function pU(t,e){var n
|
|
13676
|
-
return("number"==typeof e?mH:e instanceof
|
|
13677
|
+
return("number"==typeof e?mH:e instanceof Wz?hH:(n=Wz(e))?(e=n,hH):yH)(t,e)}function fU(t){return function(){this.removeAttribute(t)}}function mU(t){return function(){this.removeAttributeNS(t.space,t.local)}}function gU(t,e,n){var i,s,o=n+""
|
|
13677
13678
|
return function(){var r=this.getAttribute(t)
|
|
13678
13679
|
return r===o?null:r===i?s:s=e(i=r,n)}}function vU(t,e,n){var i,s,o=n+""
|
|
13679
13680
|
return function(){var r=this.getAttributeNS(t.space,t.local)
|
|
@@ -13687,16 +13688,16 @@ this.removeAttributeNS(t.space,t.local)}}function wU(t,e){var n,i
|
|
|
13687
13688
|
function s(){var s=e.apply(this,arguments)
|
|
13688
13689
|
return s!==i&&(n=(i=s)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}(t,s)),n}return s._value=e,s}function xU(t,e){var n,i
|
|
13689
13690
|
function s(){var s=e.apply(this,arguments)
|
|
13690
|
-
return s!==i&&(n=(i=s)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,s)),n}return s._value=e,s}function CU(t,e){return function(){rU(this,t).delay=+e.apply(this,arguments)}}function kU(t,e){return e=+e,function(){rU(this,t).delay=e}}function SU(t,e){return function(){aU(this,t).duration=+e.apply(this,arguments)}}function _U(t,e){return e=+e,function(){aU(this,t).duration=e}}var IU=
|
|
13691
|
+
return s!==i&&(n=(i=s)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,s)),n}return s._value=e,s}function CU(t,e){return function(){rU(this,t).delay=+e.apply(this,arguments)}}function kU(t,e){return e=+e,function(){rU(this,t).delay=e}}function SU(t,e){return function(){aU(this,t).duration=+e.apply(this,arguments)}}function _U(t,e){return e=+e,function(){aU(this,t).duration=e}}var IU=kz.prototype.constructor
|
|
13691
13692
|
function $U(t){return function(){this.style.removeProperty(t)}}var MU=0
|
|
13692
|
-
function DU(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function EU(){return++MU}var AU=
|
|
13693
|
+
function DU(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function EU(){return++MU}var AU=kz.prototype
|
|
13693
13694
|
DU.prototype={constructor:DU,select:function(t){var e=this._name,n=this._id
|
|
13694
|
-
"function"!=typeof t&&(t=
|
|
13695
|
+
"function"!=typeof t&&(t=yV(t))
|
|
13695
13696
|
for(var i=this._groups,s=i.length,o=new Array(s),r=0;r<s;++r)for(var a,l,c=i[r],d=c.length,h=o[r]=new Array(d),u=0;u<d;++u)(a=c[u])&&(l=t.call(a,a.__data__,u,c))&&("__data__"in a&&(l.__data__=a.__data__),h[u]=l,oU(h[u],e,n,u,h,lU(a,n)))
|
|
13696
13697
|
return new DU(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id
|
|
13697
|
-
"function"!=typeof t&&(t=
|
|
13698
|
+
"function"!=typeof t&&(t=xV(t))
|
|
13698
13699
|
for(var i=this._groups,s=i.length,o=[],r=[],a=0;a<s;++a)for(var l,c=i[a],d=c.length,h=0;h<d;++h)if(l=c[h]){for(var u,p=t.call(l,l.__data__,h,c),f=lU(l,n),m=0,g=p.length;m<g;++m)(u=p[m])&&oU(u,e,n,m,p,f)
|
|
13699
|
-
o.push(p),r.push(l)}return new DU(o,r,e,n)},selectChild:AU.selectChild,selectChildren:AU.selectChildren,filter:function(t){"function"!=typeof t&&(t=
|
|
13700
|
+
o.push(p),r.push(l)}return new DU(o,r,e,n)},selectChild:AU.selectChild,selectChildren:AU.selectChildren,filter:function(t){"function"!=typeof t&&(t=kV(t))
|
|
13700
13701
|
for(var e=this._groups,n=e.length,i=new Array(n),s=0;s<n;++s)for(var o,r=e[s],a=r.length,l=i[s]=[],c=0;c<a;++c)(o=r[c])&&t.call(o,o.__data__,c,r)&&l.push(o)
|
|
13701
13702
|
return new DU(i,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error
|
|
13702
13703
|
for(var e=this._groups,n=t._groups,i=e.length,s=n.length,o=Math.min(i,s),r=new Array(i),a=0;a<o;++a)for(var l,c=e[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)
|
|
@@ -13706,21 +13707,21 @@ oU(r,t,n,c,a,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.
|
|
|
13706
13707
|
return arguments.length<2?lU(this.node(),n).on.on(t):this.each(function(t,e,n){var i,s,o=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".")
|
|
13707
13708
|
return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?rU:aU
|
|
13708
13709
|
return function(){var r=o(this,t),a=r.on
|
|
13709
|
-
a!==i&&(s=(i=a).copy()).on(e,n),r.on=s}}(n,t,e))},attr:function(t,e){var n=
|
|
13710
|
+
a!==i&&(s=(i=a).copy()).on(e,n),r.on=s}}(n,t,e))},attr:function(t,e){var n=fV(t),i="transform"===n?MH:pU
|
|
13710
13711
|
return this.attrTween(t,"function"==typeof e?(n.local?yU:bU)(n,i,uU(this,"attr."+t,e)):null==e?(n.local?mU:fU)(n):(n.local?vU:gU)(n,i,e))},attrTween:function(t,e){var n="attr."+t
|
|
13711
13712
|
if(arguments.length<2)return(n=this.tween(n))&&n._value
|
|
13712
13713
|
if(null==e)return this.tween(n,null)
|
|
13713
13714
|
if("function"!=typeof e)throw new Error
|
|
13714
|
-
var i=
|
|
13715
|
+
var i=fV(t)
|
|
13715
13716
|
return this.tween(n,(i.local?wU:xU)(i,e))},style:function(t,e,n){var i="transform"==(t+="")?$H:pU
|
|
13716
13717
|
return null==e?this.styleTween(t,function(t,e){var n,i,s
|
|
13717
|
-
return function(){var o=
|
|
13718
|
+
return function(){var o=WV(this,t),r=(this.style.removeProperty(t),WV(this,t))
|
|
13718
13719
|
return o===r?null:o===n&&r===i?s:s=e(n=o,i=r)}}(t,i)).on("end.style."+t,$U(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var i,s,o
|
|
13719
|
-
return function(){var r=
|
|
13720
|
-
return null==a&&(this.style.removeProperty(t),l=a=
|
|
13720
|
+
return function(){var r=WV(this,t),a=n(this),l=a+""
|
|
13721
|
+
return null==a&&(this.style.removeProperty(t),l=a=WV(this,t)),r===l?null:r===i&&l===s?o:(s=l,o=e(i=r,a))}}(t,i,uU(this,"style."+t,e))).each(function(t,e){var n,i,s,o,r="style."+e,a="end."+r
|
|
13721
13722
|
return function(){var l=aU(this,t),c=l.on,d=null==l.value[r]?o||(o=$U(e)):void 0
|
|
13722
13723
|
c===n&&s===d||(i=(n=c).copy()).on(a,s=d),l.on=i}}(this._id,t)):this.styleTween(t,function(t,e,n){var i,s,o=n+""
|
|
13723
|
-
return function(){var r=
|
|
13724
|
+
return function(){var r=WV(this,t)
|
|
13724
13725
|
return r===o?null:r===i?s:s=e(i=r,n)}}(t,i,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var i="style."+(t+="")
|
|
13725
13726
|
if(arguments.length<2)return(i=this.tween(i))&&i._value
|
|
13726
13727
|
if(null==e)return this.tween(i,null)
|
|
@@ -13751,42 +13752,42 @@ n.each((function(){var n=aU(this,i),s=n.on
|
|
|
13751
13752
|
s!==t&&((e=(t=s).copy())._.cancel.push(a),e._.interrupt.push(a),e._.end.push(l)),n.on=e})),0===s&&o()}))},[Symbol.iterator]:AU[Symbol.iterator]}
|
|
13752
13753
|
var OU={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}}
|
|
13753
13754
|
function TU(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`)
|
|
13754
|
-
return n}
|
|
13755
|
+
return n}kz.prototype.interrupt=function(t){return this.each((function(){cU(this,t)}))},kz.prototype.transition=function(t){var e,n
|
|
13755
13756
|
t instanceof DU?(e=t._id,t=t._name):(e=EU(),(n=OU).time=HH(),t=null==t?null:t+"")
|
|
13756
13757
|
for(var i=this._groups,s=i.length,o=0;o<s;++o)for(var r,a=i[o],l=a.length,c=0;c<l;++c)(r=a[c])&&oU(r,t,e,c,a,n||TU(r,e))
|
|
13757
13758
|
return new DU(i,this._parents,t,e)}
|
|
13758
13759
|
var RU=t=>()=>t
|
|
13759
13760
|
function FU(t,{sourceEvent:e,target:n,transform:i,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:s}})}function NU(t,e,n){this.k=t,this.x=e,this.y=n}NU.prototype={constructor:NU,scale:function(t){return 1===t?this:new NU(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new NU(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}}
|
|
13760
13761
|
var LU=new NU(1,0,0)
|
|
13761
|
-
function BU(t){t.stopImmediatePropagation()}function PU(t){t.preventDefault(),t.stopImmediatePropagation()}function
|
|
13762
|
+
function BU(t){t.stopImmediatePropagation()}function PU(t){t.preventDefault(),t.stopImmediatePropagation()}function VU(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function zU(){var t=this
|
|
13762
13763
|
return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function HU(){return this.__zoom||LU}function UU(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function qU(){return navigator.maxTouchPoints||"ontouchstart"in this}function jU(t,e,n){var i=t.invertX(e[0][0])-n[0][0],s=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],r=t.invertY(e[1][1])-n[1][1]
|
|
13763
|
-
return t.translate(s>i?(i+s)/2:Math.min(0,i)||Math.max(0,s),r>o?(o+r)/2:Math.min(0,o)||Math.max(0,r))}function WU(){var t,e,n,i=
|
|
13764
|
+
return t.translate(s>i?(i+s)/2:Math.min(0,i)||Math.max(0,s),r>o?(o+r)/2:Math.min(0,o)||Math.max(0,r))}function WU(){var t,e,n,i=VU,s=zU,o=jU,r=UU,a=qU,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],d=250,h=OH,u=lV("start","zoom","end"),p=500,f=150,m=0,g=10
|
|
13764
13765
|
function v(t){t.property("__zoom",HU).on("wheel.zoom",S,{passive:!1}).on("mousedown.zoom",_).on("dblclick.zoom",I).filter(a).on("touchstart.zoom",$).on("touchmove.zoom",M).on("touchend.zoom touchcancel.zoom",D).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function b(t,e){return(e=Math.max(l[0],Math.min(l[1],e)))===t.k?t:new NU(e,t.x,t.y)}function y(t,e,n){var i=e[0]-n[0]*t.k,s=e[1]-n[1]*t.k
|
|
13765
13766
|
return i===t.x&&s===t.y?t:new NU(t.k,i,s)}function w(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function x(t,e,n,i){t.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 t=this,o=arguments,r=C(t,o).event(i),a=s.apply(t,o),l=null==n?w(a):"function"==typeof n?n.apply(t,o):n,c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),d=t.__zoom,u="function"==typeof e?e.apply(t,o):e,p=h(d.invert(l).concat(c/d.k),u.invert(l).concat(c/u.k))
|
|
13766
13767
|
return function(t){if(1===t)t=u
|
|
13767
13768
|
else{var e=p(t),n=c/e[2]
|
|
13768
|
-
t=new NU(n,l[0]-e[0]*n,l[1]-e[1]*n)}r.zoom(null,t)}}))}function C(t,e,n){return!n&&t.__zooming||new k(t,e)}function k(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=s.apply(t,e),this.taps=0}function S(t,...e){if(i.apply(this,arguments)){var n=C(this,e).event(t),s=this.__zoom,a=Math.max(l[0],Math.min(l[1],s.k*Math.pow(2,r.apply(this,arguments)))),d=
|
|
13769
|
+
t=new NU(n,l[0]-e[0]*n,l[1]-e[1]*n)}r.zoom(null,t)}}))}function C(t,e,n){return!n&&t.__zooming||new k(t,e)}function k(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=s.apply(t,e),this.taps=0}function S(t,...e){if(i.apply(this,arguments)){var n=C(this,e).event(t),s=this.__zoom,a=Math.max(l[0],Math.min(l[1],s.k*Math.pow(2,r.apply(this,arguments)))),d=_z(t)
|
|
13769
13770
|
if(n.wheel)n.mouse[0][0]===d[0]&&n.mouse[0][1]===d[1]||(n.mouse[1]=s.invert(n.mouse[0]=d)),clearTimeout(n.wheel)
|
|
13770
13771
|
else{if(s.k===a)return
|
|
13771
|
-
n.mouse=[d,s.invert(d)],cU(this),n.start()}PU(t),n.wheel=setTimeout((function(){n.wheel=null,n.end()}),f),n.zoom("mouse",o(y(b(s,a),n.mouse[0],n.mouse[1]),n.extent,c))}}function _(t,...e){if(!n&&i.apply(this,arguments)){var s=t.currentTarget,r=C(this,e,!0).event(t),a=
|
|
13772
|
-
r.moved=e*e+n*n>m}r.event(t).zoom("mouse",o(y(r.that.__zoom,r.mouse[0]=
|
|
13773
|
-
e&&(i.on("click.drag",$
|
|
13774
|
-
!function(t){var e=t.document.documentElement,n=
|
|
13775
|
-
"onselectstart"in e?n.on("selectstart.drag",$
|
|
13776
|
-
PU(t),d>0?
|
|
13777
|
-
for(BU(n),r=0;r<d;++r)l=[l=
|
|
13772
|
+
n.mouse=[d,s.invert(d)],cU(this),n.start()}PU(t),n.wheel=setTimeout((function(){n.wheel=null,n.end()}),f),n.zoom("mouse",o(y(b(s,a),n.mouse[0],n.mouse[1]),n.extent,c))}}function _(t,...e){if(!n&&i.apply(this,arguments)){var s=t.currentTarget,r=C(this,e,!0).event(t),a=Sz(t.view).on("mousemove.zoom",(function(t){if(PU(t),!r.moved){var e=t.clientX-d,n=t.clientY-h
|
|
13773
|
+
r.moved=e*e+n*n>m}r.event(t).zoom("mouse",o(y(r.that.__zoom,r.mouse[0]=_z(t,s),r.mouse[1]),r.extent,c))}),!0).on("mouseup.zoom",(function(t){a.on("mousemove.zoom mouseup.zoom",null),function(t,e){var n=t.document.documentElement,i=Sz(t).on("dragstart.drag",null)
|
|
13774
|
+
e&&(i.on("click.drag",$z,Iz),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(t.view,r.moved),PU(t),r.event(t).end()}),!0),l=_z(t,s),d=t.clientX,h=t.clientY
|
|
13775
|
+
!function(t){var e=t.document.documentElement,n=Sz(t).on("dragstart.drag",$z,Iz)
|
|
13776
|
+
"onselectstart"in e?n.on("selectstart.drag",$z,Iz):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}(t.view),BU(t),r.mouse=[l,this.__zoom.invert(l)],cU(this),r.start()}}function I(t,...e){if(i.apply(this,arguments)){var n=this.__zoom,r=_z(t.changedTouches?t.changedTouches[0]:t,this),a=n.invert(r),l=n.k*(t.shiftKey?.5:2),h=o(y(b(n,l),r,a),s.apply(this,e),c)
|
|
13777
|
+
PU(t),d>0?Sz(this).transition().duration(d).call(x,h,r,t):Sz(this).call(v.transform,h,r,t)}}function $(n,...s){if(i.apply(this,arguments)){var o,r,a,l,c=n.touches,d=c.length,h=C(this,s,n.changedTouches.length===d).event(n)
|
|
13778
|
+
for(BU(n),r=0;r<d;++r)l=[l=_z(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,o=!0,h.taps=1+!!t)
|
|
13778
13779
|
t&&(t=clearTimeout(t)),o&&(h.taps<2&&(e=l[0],t=setTimeout((function(){t=null}),p)),cU(this),h.start())}}function M(t,...e){if(this.__zooming){var n,i,s,r,a=C(this,e).event(t),l=t.changedTouches,d=l.length
|
|
13779
|
-
for(PU(t),n=0;n<d;++n)s=
|
|
13780
|
+
for(PU(t),n=0;n<d;++n)s=_z(i=l[n],this),a.touch0&&a.touch0[2]===i.identifier?a.touch0[0]=s:a.touch1&&a.touch1[2]===i.identifier&&(a.touch1[0]=s)
|
|
13780
13781
|
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
|
|
13781
13782
|
i=b(i,Math.sqrt(m/g)),s=[(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
|
|
13782
13783
|
s=a.touch0[0],r=a.touch0[1]}a.zoom("touch",o(y(i,s,r),a.extent,c))}}function D(t,...i){if(this.__zooming){var s,o,r=C(this,i).event(t),a=t.changedTouches,l=a.length
|
|
13783
13784
|
for(BU(t),n&&clearTimeout(n),n=setTimeout((function(){n=null}),p),s=0;s<l;++s)o=a[s],r.touch0&&r.touch0[2]===o.identifier?delete r.touch0:r.touch1&&r.touch1[2]===o.identifier&&delete r.touch1
|
|
13784
13785
|
if(r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0)r.touch0[1]=this.__zoom.invert(r.touch0[0])
|
|
13785
|
-
else if(r.end(),2===r.taps&&(o=
|
|
13786
|
+
else if(r.end(),2===r.taps&&(o=_z(o,this),Math.hypot(e[0]-o[0],e[1]-o[1])<g)){var c=Sz(this).on("dblclick.zoom")
|
|
13786
13787
|
c&&c.apply(this,arguments)}}}return v.transform=function(t,e,n,i){var s=t.selection?t.selection():t
|
|
13787
13788
|
s.property("__zoom",HU),t!==s?x(t,e,n,i):s.interrupt().each((function(){C(this,arguments).event(i).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()}))},v.scaleBy=function(t,e,n,i){v.scaleTo(t,(function(){return this.__zoom.k*("function"==typeof e?e.apply(this,arguments):e)}),n,i)},v.scaleTo=function(t,e,n,i){v.transform(t,(function(){var t=s.apply(this,arguments),i=this.__zoom,r=null==n?w(t):"function"==typeof n?n.apply(this,arguments):n,a=i.invert(r),l="function"==typeof e?e.apply(this,arguments):e
|
|
13788
13789
|
return o(y(b(i,l),r,a),t,c)}),n,i)},v.translateBy=function(t,e,n,i){v.transform(t,(function(){return o(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof n?n.apply(this,arguments):n),s.apply(this,arguments),c)}),null,i)},v.translateTo=function(t,e,n,i,r){v.transform(t,(function(){var t=s.apply(this,arguments),r=this.__zoom,a=null==i?w(t):"function"==typeof i?i.apply(this,arguments):i
|
|
13789
|
-
return o(LU.translate(a[0],a[1]).scale(r.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,c)}),i,r)},k.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=
|
|
13790
|
+
return o(LU.translate(a[0],a[1]).scale(r.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,c)}),i,r)},k.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=Sz(this.that).datum()
|
|
13790
13791
|
u.call(t,this.that,new FU(t,{sourceEvent:this.sourceEvent,target:v,transform:this.that.__zoom,dispatch:u}),e)}},v.wheelDelta=function(t){return arguments.length?(r="function"==typeof t?t:RU(+t),v):r},v.filter=function(t){return arguments.length?(i="function"==typeof t?t:RU(!!t),v):i},v.touchable=function(t){return arguments.length?(a="function"==typeof t?t:RU(!!t),v):a},v.extent=function(t){return arguments.length?(s="function"==typeof t?t:RU([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),v):s},v.scaleExtent=function(t){return arguments.length?(l[0]=+t[0],l[1]=+t[1],v):[l[0],l[1]]},v.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],v):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},v.constrain=function(t){return arguments.length?(o=t,v):o},v.duration=function(t){return arguments.length?(d=+t,v):d},v.interpolate=function(t){return arguments.length?(h=t,v):h},v.on=function(){var t=u.on.apply(u,arguments)
|
|
13791
13792
|
return t===u?v:t},v.clickDistance=function(t){return arguments.length?(m=(t=+t)*t,v):Math.sqrt(m)},v.tapDistance=function(t){return arguments.length?(g=+t,v):g},v}NU.prototype
|
|
13792
13793
|
const GU=new TextDecoder("utf-8"),ZU=t=>GU.decode(t),KU=new TextEncoder,YU=t=>KU.encode(t),XU=t=>"function"==typeof t,JU=t=>null!=t&&Object(t)===t,QU=t=>JU(t)&&XU(t.then),tq=t=>JU(t)&&XU(t[Symbol.iterator]),eq=t=>JU(t)&&XU(t[Symbol.asyncIterator]),nq=t=>JU(t)&&JU(t.schema),iq=t=>JU(t)&&"done"in t&&"value"in t,sq=t=>JU(t)&&XU(t.stat)&&(t=>"number"==typeof t)(t.fd),oq=t=>JU(t)&&aq(t.body),rq=t=>"_getDOMStream"in t&&"_getNodeStream"in t,aq=t=>JU(t)&&XU(t.cancel)&&XU(t.getReader)&&!rq(t),lq=t=>JU(t)&&XU(t.read)&&XU(t.pipe)&&(t=>"boolean"==typeof t)(t.readable)&&!rq(t),cq=t=>JU(t)&&XU(t.clear)&&XU(t.bytes)&&XU(t.position)&&XU(t.setPosition)&&XU(t.capacity)&&XU(t.getBufferIdentifier)&&XU(t.createLong),dq="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:ArrayBuffer
|
|
@@ -13890,15 +13891,15 @@ if(null===i)throw new TypeError("FlatBuffers: Argument for createObjectOffsetLis
|
|
|
13890
13891
|
e.push(this.createObjectOffset(i))}return e}createStructOffsetList(t,e){return e(this,t.length),this.createObjectOffsetList(t.slice().reverse()),this.endVector()}}
|
|
13891
13892
|
var Bq,Pq
|
|
13892
13893
|
!function(t){t[t.BUFFER=0]="BUFFER"}(Bq||(Bq={})),function(t){t[t.LZ4_FRAME=0]="LZ4_FRAME",t[t.ZSTD=1]="ZSTD"}(Pq||(Pq={}))
|
|
13893
|
-
class
|
|
13894
|
+
class Vq{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsBodyCompression(t,e){return(e||new Vq).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsBodyCompression(t,e){return t.setPosition(t.position()+4),(e||new Vq).__init(t.readInt32(t.position())+t.position(),t)}codec(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13894
13895
|
return t?this.bb.readInt8(this.bb_pos+t):Pq.LZ4_FRAME}method(){const t=this.bb.__offset(this.bb_pos,6)
|
|
13895
|
-
return t?this.bb.readInt8(this.bb_pos+t):Bq.BUFFER}static startBodyCompression(t){t.startObject(2)}static addCodec(t,e){t.addFieldInt8(0,e,Pq.LZ4_FRAME)}static addMethod(t,e){t.addFieldInt8(1,e,Bq.BUFFER)}static endBodyCompression(t){return t.endObject()}static createBodyCompression(t,e,n){return
|
|
13896
|
+
return t?this.bb.readInt8(this.bb_pos+t):Bq.BUFFER}static startBodyCompression(t){t.startObject(2)}static addCodec(t,e){t.addFieldInt8(0,e,Pq.LZ4_FRAME)}static addMethod(t,e){t.addFieldInt8(1,e,Bq.BUFFER)}static endBodyCompression(t){return t.endObject()}static createBodyCompression(t,e,n){return Vq.startBodyCompression(t),Vq.addCodec(t,e),Vq.addMethod(t,n),Vq.endBodyCompression(t)}}class zq{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(t,e,n){return t.prep(8,16),t.writeInt64(BigInt(null!=n?n:0)),t.writeInt64(BigInt(null!=e?e:0)),t.offset()}}let Hq=class{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(t,e,n){return t.prep(8,16),t.writeInt64(BigInt(null!=n?n:0)),t.writeInt64(BigInt(null!=e?e:0)),t.offset()}},Uq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsRecordBatch(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}length(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13896
13897
|
return t?this.bb.readInt64(this.bb_pos+t):BigInt("0")}nodes(t,e){const n=this.bb.__offset(this.bb_pos,6)
|
|
13897
13898
|
return n?(e||new Hq).__init(this.bb.__vector(this.bb_pos+n)+16*t,this.bb):null}nodesLength(){const t=this.bb.__offset(this.bb_pos,6)
|
|
13898
13899
|
return t?this.bb.__vector_len(this.bb_pos+t):0}buffers(t,e){const n=this.bb.__offset(this.bb_pos,8)
|
|
13899
|
-
return n?(e||new
|
|
13900
|
+
return n?(e||new zq).__init(this.bb.__vector(this.bb_pos+n)+16*t,this.bb):null}buffersLength(){const t=this.bb.__offset(this.bb_pos,8)
|
|
13900
13901
|
return t?this.bb.__vector_len(this.bb_pos+t):0}compression(t){const e=this.bb.__offset(this.bb_pos,10)
|
|
13901
|
-
return e?(t||new
|
|
13902
|
+
return e?(t||new Vq).__init(this.bb.__indirect(this.bb_pos+e),this.bb):null}static startRecordBatch(t){t.startObject(4)}static addLength(t,e){t.addFieldInt64(0,e,BigInt("0"))}static addNodes(t,e){t.addFieldOffset(1,e,0)}static startNodesVector(t,e){t.startVector(16,e,8)}static addBuffers(t,e){t.addFieldOffset(2,e,0)}static startBuffersVector(t,e){t.startVector(16,e,8)}static addCompression(t,e){t.addFieldOffset(3,e,0)}static endRecordBatch(t){return t.endObject()}},qq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsDictionaryBatch(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}id(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13902
13903
|
return t?this.bb.readInt64(this.bb_pos+t):BigInt("0")}data(t){const e=this.bb.__offset(this.bb_pos,6)
|
|
13903
13904
|
return e?(t||new Uq).__init(this.bb.__indirect(this.bb_pos+e),this.bb):null}isDelta(){const t=this.bb.__offset(this.bb_pos,8)
|
|
13904
13905
|
return!!t&&!!this.bb.readInt8(this.bb_pos+t)}static startDictionaryBatch(t){t.startObject(3)}static addId(t,e){t.addFieldInt64(0,e,BigInt("0"))}static addData(t,e){t.addFieldOffset(1,e,0)}static addIsDelta(t,e){t.addFieldInt8(2,+e,0)}static endDictionaryBatch(t){return t.endObject()}}
|
|
@@ -13995,7 +13996,7 @@ const r=i.length-1
|
|
|
13995
13996
|
do{for(n[0]=i[o=0];o<r;)i[o++]=n[1]=n[0]/10,n[0]=(n[0]-10*n[1]<<16)+i[o]
|
|
13996
13997
|
i[o]=n[1]=n[0]/10,n[0]=n[0]-10*n[1],e=`${n[0]}${e}`}while(s[0]||s[1]||s[2]||s[3])
|
|
13997
13998
|
return null!=e?e:"0"}class Tj{static new(t,e){switch(e){case!0:return new Ij(t)
|
|
13998
|
-
case!1:return new $j(t)}switch(t.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new Ij(t)}return 16===t.byteLength?new Mj(t):new $j(t)}static signed(t){return new Ij(t)}static unsigned(t){return new $j(t)}static decimal(t){return new Mj(t)}constructor(t,e){return Tj.new(t,e)}}var Rj,Fj,Nj,Lj,Bj,Pj,zj,
|
|
13999
|
+
case!1:return new $j(t)}switch(t.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new Ij(t)}return 16===t.byteLength?new Mj(t):new $j(t)}static signed(t){return new Ij(t)}static unsigned(t){return new $j(t)}static decimal(t){return new Mj(t)}constructor(t,e){return Tj.new(t,e)}}var Rj,Fj,Nj,Lj,Bj,Pj,Vj,zj,Hj,Uj,qj,jj,Wj,Gj,Zj,Kj,Yj,Xj,Jj,Qj,tW,eW,nW
|
|
13999
14000
|
class iW{static isNull(t){return(null==t?void 0:t.typeId)===yj.Null}static isInt(t){return(null==t?void 0:t.typeId)===yj.Int}static isFloat(t){return(null==t?void 0:t.typeId)===yj.Float}static isBinary(t){return(null==t?void 0:t.typeId)===yj.Binary}static isLargeBinary(t){return(null==t?void 0:t.typeId)===yj.LargeBinary}static isUtf8(t){return(null==t?void 0:t.typeId)===yj.Utf8}static isLargeUtf8(t){return(null==t?void 0:t.typeId)===yj.LargeUtf8}static isBool(t){return(null==t?void 0:t.typeId)===yj.Bool}static isDecimal(t){return(null==t?void 0:t.typeId)===yj.Decimal}static isDate(t){return(null==t?void 0:t.typeId)===yj.Date}static isTime(t){return(null==t?void 0:t.typeId)===yj.Time}static isTimestamp(t){return(null==t?void 0:t.typeId)===yj.Timestamp}static isInterval(t){return(null==t?void 0:t.typeId)===yj.Interval}static isDuration(t){return(null==t?void 0:t.typeId)===yj.Duration}static isList(t){return(null==t?void 0:t.typeId)===yj.List}static isStruct(t){return(null==t?void 0:t.typeId)===yj.Struct}static isUnion(t){return(null==t?void 0:t.typeId)===yj.Union}static isFixedSizeBinary(t){return(null==t?void 0:t.typeId)===yj.FixedSizeBinary}static isFixedSizeList(t){return(null==t?void 0:t.typeId)===yj.FixedSizeList}static isMap(t){return(null==t?void 0:t.typeId)===yj.Map}static isDictionary(t){return(null==t?void 0:t.typeId)===yj.Dictionary}static isDenseUnion(t){return iW.isUnion(t)&&t.mode===Iq.Dense}static isSparseUnion(t){return iW.isUnion(t)&&t.mode===Iq.Sparse}constructor(t){this.typeId=t}}Rj=Symbol.toStringTag,iW[Rj]=((nW=iW.prototype).children=null,nW.ArrayType=Array,nW.OffsetArrayType=Int32Array,nW[Symbol.toStringTag]="DataType")
|
|
14000
14001
|
class sW extends iW{constructor(){super(yj.Null)}toString(){return"Null"}}Fj=Symbol.toStringTag,sW[Fj]=(t=>t[Symbol.toStringTag]="Null")(sW.prototype)
|
|
14001
14002
|
class oW extends iW{constructor(t,e){super(yj.Int),this.isSigned=t,this.bitWidth=e}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array
|
|
@@ -14008,8 +14009,8 @@ case $q.SINGLE:return Float32Array
|
|
|
14008
14009
|
case $q.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}Lj=Symbol.toStringTag,aW[Lj]=(t=>(t.precision=null,t[Symbol.toStringTag]="Float"))(aW.prototype)
|
|
14009
14010
|
class lW extends iW{constructor(){super(yj.Binary)}toString(){return"Binary"}}Bj=Symbol.toStringTag,lW[Bj]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Binary"))(lW.prototype)
|
|
14010
14011
|
class cW extends iW{constructor(){super(yj.LargeBinary)}toString(){return"LargeBinary"}}Pj=Symbol.toStringTag,cW[Pj]=(t=>(t.ArrayType=Uint8Array,t.OffsetArrayType=BigInt64Array,t[Symbol.toStringTag]="LargeBinary"))(cW.prototype)
|
|
14011
|
-
class dW extends iW{constructor(){super(yj.Utf8)}toString(){return"Utf8"}}
|
|
14012
|
-
class hW extends iW{constructor(){super(yj.LargeUtf8)}toString(){return"LargeUtf8"}}
|
|
14012
|
+
class dW extends iW{constructor(){super(yj.Utf8)}toString(){return"Utf8"}}Vj=Symbol.toStringTag,dW[Vj]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Utf8"))(dW.prototype)
|
|
14013
|
+
class hW extends iW{constructor(){super(yj.LargeUtf8)}toString(){return"LargeUtf8"}}zj=Symbol.toStringTag,hW[zj]=(t=>(t.ArrayType=Uint8Array,t.OffsetArrayType=BigInt64Array,t[Symbol.toStringTag]="LargeUtf8"))(hW.prototype)
|
|
14013
14014
|
class uW extends iW{constructor(){super(yj.Bool)}toString(){return"Bool"}}Hj=Symbol.toStringTag,uW[Hj]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Bool"))(uW.prototype)
|
|
14014
14015
|
class pW extends iW{constructor(t,e,n=128){super(yj.Decimal),this.scale=t,this.precision=e,this.bitWidth=n}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}}Uj=Symbol.toStringTag,pW[Uj]=(t=>(t.scale=null,t.precision=null,t.ArrayType=Uint32Array,t[Symbol.toStringTag]="Decimal"))(pW.prototype)
|
|
14015
14016
|
class fW extends iW{constructor(t){super(yj.Date),this.unit=t}toString(){return`Date${32*(this.unit+1)}<${Mq[this.unit]}>`}get ArrayType(){return this.unit===Mq.DAY?Int32Array:BigInt64Array}}qj=Symbol.toStringTag,fW[qj]=(t=>(t.unit=null,t[Symbol.toStringTag]="Date"))(fW.prototype)
|
|
@@ -14186,16 +14187,16 @@ const OW=new Float64Array(1),TW=new Uint32Array(OW.buffer)
|
|
|
14186
14187
|
function RW(t){const e=(31744&t)>>10,n=(1023&t)/1024,i=Math.pow(-1,(32768&t)>>15)
|
|
14187
14188
|
switch(e){case 31:return i*(n?Number.NaN:1/0)
|
|
14188
14189
|
case 0:return i*(n?6103515625e-14*n:0)}return i*Math.pow(2,e-15)*(1+n)}class FW extends DW{}function NW(t){return(e,n,i)=>{if(e.setValid(n,null!=i))return t(e,n,i)}}const LW=(t,e,n,i)=>{if(n+1<e.length){const s=Cj(e[n]),o=Cj(e[n+1])
|
|
14189
|
-
t.set(i.subarray(0,o-s),s)}},BW=({values:t},e,n)=>{t[e]=n},PW=({values:t},e,n)=>{t[e]=n},
|
|
14190
|
+
t.set(i.subarray(0,o-s),s)}},BW=({values:t},e,n)=>{t[e]=n},PW=({values:t},e,n)=>{t[e]=n},VW=({values:t},e,n)=>{t[e]=function(t){if(t!=t)return 32256
|
|
14190
14191
|
OW[0]=t
|
|
14191
14192
|
const e=(2147483648&TW[1])>>16&65535
|
|
14192
14193
|
let n=2146435072&TW[1],i=0
|
|
14193
|
-
return n>=1089470464?TW[0]>0?n=31744:(n=(2080374784&n)>>16,i=(1048575&TW[1])>>10):n<=1056964608?(i=1048576+(1048575&TW[1]),i=1048576+(i<<(n>>20)-998)>>21,n=0):(n=n-1056964608>>10,i=512+(1048575&TW[1])>>10),e|n|65535&i}(n)},
|
|
14194
|
+
return n>=1089470464?TW[0]>0?n=31744:(n=(2080374784&n)>>16,i=(1048575&TW[1])>>10):n<=1056964608?(i=1048576+(1048575&TW[1]),i=1048576+(i<<(n>>20)-998)>>21,n=0):(n=n-1056964608>>10,i=512+(1048575&TW[1])>>10),e|n|65535&i}(n)},zW=({values:t},e,n)=>{((t,e,n)=>{t[e]=Math.floor(n/864e5)})(t,e,n.valueOf())},HW=({values:t},e,n)=>{t[e]=BigInt(n)},UW=({values:t,valueOffsets:e},n,i)=>LW(t,e,n,i),qW=({values:t,valueOffsets:e},n,i)=>LW(t,e,n,YU(i)),jW=({values:t},e,n)=>{t[e]=BigInt(n/1e3)},WW=({values:t},e,n)=>{t[e]=BigInt(n)},GW=({values:t},e,n)=>{t[e]=BigInt(1e3*n)},ZW=({values:t},e,n)=>{t[e]=BigInt(1e6*n)},KW=({values:t},e,n)=>{t[e]=n},YW=({values:t},e,n)=>{t[e]=n},XW=({values:t},e,n)=>{t[e]=n},JW=({values:t},e,n)=>{t[e]=n},QW=(t,e,n)=>{const i=t.type.typeIdToChildIndex[t.typeIds[e]],s=t.children[i]
|
|
14194
14195
|
lG.visit(s,t.valueOffsets[e],n)},tG=(t,e,n)=>{const i=t.type.typeIdToChildIndex[t.typeIds[e]],s=t.children[i]
|
|
14195
14196
|
lG.visit(s,e,n)},eG=({values:t},e,n)=>{t.set(n.subarray(0,2),2*e)},nG=({values:t},e,n)=>{t[e]=12*n[0]+n[1]%12},iG=({values:t,stride:e},n,i)=>{t.set(i.subarray(0,e),e*n)},sG=({values:t},e,n)=>{t[e]=n},oG=({values:t},e,n)=>{t[e]=n},rG=({values:t},e,n)=>{t[e]=n},aG=({values:t},e,n)=>{t[e]=n}
|
|
14196
14197
|
FW.prototype.visitBool=NW((({offset:t,values:e},n,i)=>{const s=t+n
|
|
14197
|
-
i?e[s>>3]|=1<<s%8:e[s>>3]&=~(1<<s%8)})),FW.prototype.visitInt=NW(BW),FW.prototype.visitInt8=NW(BW),FW.prototype.visitInt16=NW(BW),FW.prototype.visitInt32=NW(BW),FW.prototype.visitInt64=NW(BW),FW.prototype.visitUint8=NW(BW),FW.prototype.visitUint16=NW(BW),FW.prototype.visitUint32=NW(BW),FW.prototype.visitUint64=NW(BW),FW.prototype.visitFloat=NW(((t,e,n)=>{switch(t.type.precision){case $q.HALF:return
|
|
14198
|
-
case $q.SINGLE:case $q.DOUBLE:return PW(t,e,n)}})),FW.prototype.visitFloat16=NW(
|
|
14198
|
+
i?e[s>>3]|=1<<s%8:e[s>>3]&=~(1<<s%8)})),FW.prototype.visitInt=NW(BW),FW.prototype.visitInt8=NW(BW),FW.prototype.visitInt16=NW(BW),FW.prototype.visitInt32=NW(BW),FW.prototype.visitInt64=NW(BW),FW.prototype.visitUint8=NW(BW),FW.prototype.visitUint16=NW(BW),FW.prototype.visitUint32=NW(BW),FW.prototype.visitUint64=NW(BW),FW.prototype.visitFloat=NW(((t,e,n)=>{switch(t.type.precision){case $q.HALF:return VW(t,e,n)
|
|
14199
|
+
case $q.SINGLE:case $q.DOUBLE:return PW(t,e,n)}})),FW.prototype.visitFloat16=NW(VW),FW.prototype.visitFloat32=NW(PW),FW.prototype.visitFloat64=NW(PW),FW.prototype.visitUtf8=NW(qW),FW.prototype.visitLargeUtf8=NW(qW),FW.prototype.visitBinary=NW(UW),FW.prototype.visitLargeBinary=NW(UW),FW.prototype.visitFixedSizeBinary=NW((({stride:t,values:e},n,i)=>{e.set(i.subarray(0,t),t*n)})),FW.prototype.visitDate=NW(((t,e,n)=>{t.type.unit===Mq.DAY?zW(t,e,n):HW(t,e,n)})),FW.prototype.visitDateDay=NW(zW),FW.prototype.visitDateMillisecond=NW(HW),FW.prototype.visitTimestamp=NW(((t,e,n)=>{switch(t.type.unit){case Dq.SECOND:return jW(t,e,n)
|
|
14199
14200
|
case Dq.MILLISECOND:return WW(t,e,n)
|
|
14200
14201
|
case Dq.MICROSECOND:return GW(t,e,n)
|
|
14201
14202
|
case Dq.NANOSECOND:return ZW(t,e,n)}})),FW.prototype.visitTimestampSecond=NW(jW),FW.prototype.visitTimestampMillisecond=NW(WW),FW.prototype.visitTimestampMicrosecond=NW(GW),FW.prototype.visitTimestampNanosecond=NW(ZW),FW.prototype.visitTime=NW(((t,e,n)=>{switch(t.type.unit){case Dq.SECOND:return KW(t,e,n)
|
|
@@ -14219,20 +14220,20 @@ const l=n instanceof Map?n.entries():Object.entries(n)
|
|
|
14219
14220
|
for(const t of l)if(o(i,r,t),++r>=a)break}))
|
|
14220
14221
|
const lG=new FW,cG=Symbol.for("parent"),dG=Symbol.for("rowIndex")
|
|
14221
14222
|
class hG{constructor(t,e){return this[cG]=t,this[dG]=e,new Proxy(this,pG)}toArray(){return Object.values(this.toJSON())}toJSON(){const t=this[dG],e=this[cG],n=e.type.children,i={}
|
|
14222
|
-
for(let s=-1,o=n.length;++s<o;)i[n[s].name]=
|
|
14223
|
+
for(let s=-1,o=n.length;++s<o;)i[n[s].name]=VG.visit(e.children[s],t)
|
|
14223
14224
|
return i}toString(){return`{${[...this].map((([t,e])=>`${xj(t)}: ${xj(e)}`)).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new uG(this[cG],this[dG])}}class uG{constructor(t,e){this.childIndex=0,this.children=t.children,this.rowIndex=e,this.childFields=t.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const t=this.childIndex
|
|
14224
|
-
return t<this.numChildren?(this.childIndex=t+1,{done:!1,value:[this.childFields[t].name,
|
|
14225
|
+
return t<this.numChildren?(this.childIndex=t+1,{done:!1,value:[this.childFields[t].name,VG.visit(this.children[t],this.rowIndex)]}):{done:!0,value:null}}}Object.defineProperties(hG.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[cG]:{writable:!0,enumerable:!1,configurable:!1,value:null},[dG]:{writable:!0,enumerable:!1,configurable:!1,value:-1}})
|
|
14225
14226
|
const pG=new class{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(t){return t[cG].type.children.map((t=>t.name))}has(t,e){return t[cG].type.children.some((t=>t.name===e))}getOwnPropertyDescriptor(t,e){if(t[cG].type.children.some((t=>t.name===e)))return{writable:!0,enumerable:!0,configurable:!0}}get(t,e){if(Reflect.has(t,e))return t[e]
|
|
14226
14227
|
const n=t[cG].type.children.findIndex((t=>t.name===e))
|
|
14227
|
-
if(-1!==n){const i=
|
|
14228
|
+
if(-1!==n){const i=VG.visit(t[cG].children[n],t[dG])
|
|
14228
14229
|
return Reflect.set(t,e,i),i}}set(t,e,n){const i=t[cG].type.children.findIndex((t=>t.name===e))
|
|
14229
14230
|
return-1!==i?(lG.visit(t[cG].children[i],t[dG],n),Reflect.set(t,e,n)):!(!Reflect.has(t,e)&&"symbol"!=typeof e)&&Reflect.set(t,e,n)}}
|
|
14230
14231
|
class fG extends DW{}function mG(t){return(e,n)=>e.getValid(n)?t(e,n):null}const gG=(t,e,n)=>{if(n+1>=e.length)return null
|
|
14231
14232
|
const i=Cj(e[n]),s=Cj(e[n+1])
|
|
14232
14233
|
return t.subarray(i,s)},vG=({values:t},e)=>((t,e)=>864e5*t[e])(t,e),bG=({values:t},e)=>Cj(t[e]),yG=({stride:t,values:e},n)=>e[t*n],wG=({values:t},e)=>t[e],xG=({values:t,valueOffsets:e},n)=>gG(t,e,n),CG=({values:t,valueOffsets:e},n)=>{const i=gG(t,e,n)
|
|
14233
14234
|
return null!==i?ZU(i):null},kG=({values:t},e)=>1e3*Cj(t[e]),SG=({values:t},e)=>Cj(t[e]),_G=({values:t},e)=>kj(t[e],BigInt(1e3)),IG=({values:t},e)=>kj(t[e],BigInt(1e6)),$G=({values:t},e)=>t[e],MG=({values:t},e)=>t[e],DG=({values:t},e)=>t[e],EG=({values:t},e)=>t[e],AG=(t,e)=>{const n=t.type.typeIdToChildIndex[t.typeIds[e]],i=t.children[n]
|
|
14234
|
-
return
|
|
14235
|
-
return
|
|
14235
|
+
return VG.visit(i,t.valueOffsets[e])},OG=(t,e)=>{const n=t.type.typeIdToChildIndex[t.typeIds[e]],i=t.children[n]
|
|
14236
|
+
return VG.visit(i,e)},TG=({values:t},e)=>t.subarray(2*e,2*(e+1)),RG=({values:t},e)=>{const n=t[e],i=new Int32Array(2)
|
|
14236
14237
|
return i[0]=Math.trunc(n/12),i[1]=Math.trunc(n%12),i},FG=({values:t},e)=>t.subarray(4*e,4*(e+1)),NG=({values:t},e)=>t[e],LG=({values:t},e)=>t[e],BG=({values:t},e)=>t[e],PG=({values:t},e)=>t[e]
|
|
14237
14238
|
fG.prototype.visitNull=mG(((t,e)=>null)),fG.prototype.visitBool=mG((({offset:t,values:e},n)=>{const i=t+n
|
|
14238
14239
|
return!!(e[i>>3]&1<<i%8)})),fG.prototype.visitInt=mG((({values:t},e)=>t[e])),fG.prototype.visitInt8=mG(yG),fG.prototype.visitInt16=mG(yG),fG.prototype.visitInt32=mG(yG),fG.prototype.visitInt64=mG(wG),fG.prototype.visitUint8=mG(yG),fG.prototype.visitUint16=mG(yG),fG.prototype.visitUint32=mG(yG),fG.prototype.visitUint64=mG(wG),fG.prototype.visitFloat=mG((({type:t,values:e},n)=>t.precision!==$q.HALF?e[n]:RW(e[n]))),fG.prototype.visitFloat16=mG((({stride:t,values:e},n)=>RW(e[t*n]))),fG.prototype.visitFloat32=mG(yG),fG.prototype.visitFloat64=mG(yG),fG.prototype.visitUtf8=mG(CG),fG.prototype.visitLargeUtf8=mG(CG),fG.prototype.visitBinary=mG(xG),fG.prototype.visitLargeBinary=mG(xG),fG.prototype.visitFixedSizeBinary=mG((({stride:t,values:e},n)=>e.subarray(t*n,t*(n+1)))),fG.prototype.visitDate=mG(((t,e)=>t.type.unit===Mq.DAY?vG(t,e):bG(t,e))),fG.prototype.visitDateDay=mG(vG),fG.prototype.visitDateMillisecond=mG(bG),fG.prototype.visitTimestamp=mG(((t,e)=>{switch(t.type.unit){case Dq.SECOND:return kG(t,e)
|
|
@@ -14249,18 +14250,18 @@ case Dq.MICROSECOND:return BG(t,e)
|
|
|
14249
14250
|
case Dq.NANOSECOND:return PG(t,e)}})),fG.prototype.visitDurationSecond=mG(NG),fG.prototype.visitDurationMillisecond=mG(LG),fG.prototype.visitDurationMicrosecond=mG(BG),fG.prototype.visitDurationNanosecond=mG(PG),fG.prototype.visitFixedSizeList=mG(((t,e)=>{const{stride:n,children:i}=t,s=i[0].slice(e*n,n)
|
|
14250
14251
|
return new OZ([s])})),fG.prototype.visitMap=mG(((t,e)=>{const{valueOffsets:n,children:i}=t,{[e]:s,[e+1]:o}=n,r=i[0]
|
|
14251
14252
|
return new jG(r.slice(s,o-s))}))
|
|
14252
|
-
const
|
|
14253
|
-
class jG{constructor(t){return this[
|
|
14254
|
-
for(let i=-1,s=t.length;++i<s;)n[t.get(i)]=
|
|
14253
|
+
const VG=new fG,zG=Symbol.for("keys"),HG=Symbol.for("vals"),UG=Symbol.for("kKeysAsStrings"),qG=Symbol.for("_kKeysAsStrings")
|
|
14254
|
+
class jG{constructor(t){return this[zG]=new OZ([t.children[0]]).memoize(),this[HG]=t.children[1],new Proxy(this,new GG)}get[UG](){return this[qG]||(this[qG]=Array.from(this[zG].toArray(),String))}[Symbol.iterator](){return new WG(this[zG],this[HG])}get size(){return this[zG].length}toArray(){return Object.values(this.toJSON())}toJSON(){const t=this[zG],e=this[HG],n={}
|
|
14255
|
+
for(let i=-1,s=t.length;++i<s;)n[t.get(i)]=VG.visit(e,i)
|
|
14255
14256
|
return n}toString(){return`{${[...this].map((([t,e])=>`${xj(t)}: ${xj(e)}`)).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class WG{constructor(t,e){this.keys=t,this.vals=e,this.keyIndex=0,this.numKeys=t.length}[Symbol.iterator](){return this}next(){const t=this.keyIndex
|
|
14256
|
-
return t===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(t),
|
|
14257
|
+
return t===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(t),VG.visit(this.vals,t)]})}}class GG{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(t){return t[UG]}has(t,e){return t[UG].includes(e)}getOwnPropertyDescriptor(t,e){if(-1!==t[UG].indexOf(e))return{writable:!0,enumerable:!0,configurable:!0}}get(t,e){if(Reflect.has(t,e))return t[e]
|
|
14257
14258
|
const n=t[UG].indexOf(e)
|
|
14258
|
-
if(-1!==n){const i=
|
|
14259
|
+
if(-1!==n){const i=VG.visit(Reflect.get(t,HG),n)
|
|
14259
14260
|
return Reflect.set(t,e,i),i}}set(t,e,n){const i=t[UG].indexOf(e)
|
|
14260
14261
|
return-1!==i?(lG.visit(Reflect.get(t,HG),i,n),Reflect.set(t,e,n)):!!Reflect.has(t,e)&&Reflect.set(t,e,n)}}let ZG
|
|
14261
14262
|
function KG(t,e,n,i){const{length:s=0}=t
|
|
14262
14263
|
let o="number"!=typeof e?0:e,r="number"!=typeof n?s:n
|
|
14263
|
-
return o<0&&(o=(o%s+s)%s),r<0&&(r=(r%s+s)%s),r<o&&(ZG=o,o=r,r=ZG),r>s&&(r=s),i?i(t,o,r):[o,r]}Object.defineProperties(jG.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[
|
|
14264
|
+
return o<0&&(o=(o%s+s)%s),r<0&&(r=(r%s+s)%s),r<o&&(ZG=o,o=r,r=ZG),r>s&&(r=s),i?i(t,o,r):[o,r]}Object.defineProperties(jG.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[zG]:{writable:!0,enumerable:!1,configurable:!1,value:null},[HG]:{writable:!0,enumerable:!1,configurable:!1,value:null},[qG]:{writable:!0,enumerable:!1,configurable:!1,value:null}})
|
|
14264
14265
|
const YG=(t,e)=>t<0?e+t:t,XG=t=>t!=t
|
|
14265
14266
|
function JG(t){if("object"!==typeof t||null===t)return XG(t)?XG:e=>e===t
|
|
14266
14267
|
if(t instanceof Date){const e=t.valueOf()
|
|
@@ -14379,9 +14380,9 @@ if(null===e)switch(t.typeId){case yj.Union:case yj.Dictionary:break
|
|
|
14379
14380
|
default:return function(t,e){const{nullBitmap:n}=t
|
|
14380
14381
|
if(!n||t.nullCount<=0)return-1
|
|
14381
14382
|
let i=0
|
|
14382
|
-
for(const s of new oZ(n,t.offset+(e||0),t.length,n,eZ)){if(!s)return i;++i}return-1}(t,n)}const i=
|
|
14383
|
+
for(const s of new oZ(n,t.offset+(e||0),t.length,n,eZ)){if(!s)return i;++i}return-1}(t,n)}const i=VG.getVisitFn(t),s=JG(e)
|
|
14383
14384
|
for(let e=(n||0)-1,o=t.length;++e<o;)if(s(i(t,e)))return e
|
|
14384
|
-
return-1}function kZ(t,e,n){const i=
|
|
14385
|
+
return-1}function kZ(t,e,n){const i=VG.getVisitFn(t),s=JG(e)
|
|
14385
14386
|
for(let e=(n||0)-1,o=t.length;++e<o;)if(s(i(t,e)))return e
|
|
14386
14387
|
return-1}xZ.prototype.visitNull=function(t,e){return null===e&&t.length>0?0:-1},xZ.prototype.visitBool=CZ,xZ.prototype.visitInt=CZ,xZ.prototype.visitInt8=CZ,xZ.prototype.visitInt16=CZ,xZ.prototype.visitInt32=CZ,xZ.prototype.visitInt64=CZ,xZ.prototype.visitUint8=CZ,xZ.prototype.visitUint16=CZ,xZ.prototype.visitUint32=CZ,xZ.prototype.visitUint64=CZ,xZ.prototype.visitFloat=CZ,xZ.prototype.visitFloat16=CZ,xZ.prototype.visitFloat32=CZ,xZ.prototype.visitFloat64=CZ,xZ.prototype.visitUtf8=CZ,xZ.prototype.visitLargeUtf8=CZ,xZ.prototype.visitBinary=CZ,xZ.prototype.visitLargeBinary=CZ,xZ.prototype.visitFixedSizeBinary=CZ,xZ.prototype.visitDate=CZ,xZ.prototype.visitDateDay=CZ,xZ.prototype.visitDateMillisecond=CZ,xZ.prototype.visitTimestamp=CZ,xZ.prototype.visitTimestampSecond=CZ,xZ.prototype.visitTimestampMillisecond=CZ,xZ.prototype.visitTimestampMicrosecond=CZ,xZ.prototype.visitTimestampNanosecond=CZ,xZ.prototype.visitTime=CZ,xZ.prototype.visitTimeSecond=CZ,xZ.prototype.visitTimeMillisecond=CZ,xZ.prototype.visitTimeMicrosecond=CZ,xZ.prototype.visitTimeNanosecond=CZ,xZ.prototype.visitDecimal=CZ,xZ.prototype.visitList=CZ,xZ.prototype.visitStruct=CZ,xZ.prototype.visitUnion=CZ,xZ.prototype.visitDenseUnion=kZ,xZ.prototype.visitSparseUnion=kZ,xZ.prototype.visitDictionary=CZ,xZ.prototype.visitInterval=CZ,xZ.prototype.visitIntervalDayTime=CZ,xZ.prototype.visitIntervalYearMonth=CZ,xZ.prototype.visitIntervalMonthDayNano=CZ,xZ.prototype.visitDuration=CZ,xZ.prototype.visitDurationSecond=CZ,xZ.prototype.visitDurationMillisecond=CZ,xZ.prototype.visitDurationMicrosecond=CZ,xZ.prototype.visitDurationNanosecond=CZ,xZ.prototype.visitFixedSizeList=CZ,xZ.prototype.visitMap=CZ
|
|
14387
14388
|
const SZ=new xZ
|
|
@@ -14412,8 +14413,8 @@ return new OZ(e)}return new TZ(this)}unmemoize(){if(iW.isDictionary(this.type)&&
|
|
|
14412
14413
|
return n.dictionary=t,n}))
|
|
14413
14414
|
return new OZ(e)}return this}}DZ=Symbol.toStringTag,OZ[DZ]=(t=>{t.type=iW.prototype,t.data=[],t.length=0,t.stride=1,t.numChildren=0,t._offsets=new Uint32Array([0]),t[Symbol.isConcatSpreadable]=!0
|
|
14414
14415
|
const e=Object.keys(yj).map((t=>yj[t])).filter((t=>"number"==typeof t&&t!==yj.NONE))
|
|
14415
|
-
for(const n of e){const e=
|
|
14416
|
-
EZ[n]={get:e,set:i,indexOf:s},AZ[n]=Object.create(t,{isValid:{value:bZ(vZ)},get:{value:bZ(
|
|
14416
|
+
for(const n of e){const e=VG.getVisitFnByTypeId(n),i=lG.getVisitFnByTypeId(n),s=SZ.getVisitFnByTypeId(n)
|
|
14417
|
+
EZ[n]={get:e,set:i,indexOf:s},AZ[n]=Object.create(t,{isValid:{value:bZ(vZ)},get:{value:bZ(VG.getVisitFnByTypeId(n))},set:{value:yZ(lG.getVisitFnByTypeId(n))},indexOf:{value:wZ(SZ.getVisitFnByTypeId(n))}})}return"Vector"})(OZ.prototype)
|
|
14417
14418
|
class TZ extends OZ{constructor(t){super(t.data)
|
|
14418
14419
|
const e=this.get,n=this.set,i=this.slice,s=new Array(this.length)
|
|
14419
14420
|
Object.defineProperty(this,"get",{value(t){const n=s[t]
|
|
@@ -14439,10 +14440,10 @@ return t[0]&&"object"==typeof t[0]&&(({name:e}=t[0]),void 0===n&&(n=t[0].type),v
|
|
|
14439
14440
|
return t[0]&&"object"==typeof t[0]?({name:e=this.name,type:n=this.type,nullable:i=this.nullable,metadata:s=this.metadata}=t[0]):[e=this.name,n=this.type,i=this.nullable,s=this.metadata]=t,LZ.new(e,n,i,s)}}function BZ(t,e){return new Map([...t||new Map,...e||new Map])}function PZ(t,e=new Map){for(let n=-1,i=t.length;++n<i;){const i=t[n].type
|
|
14440
14441
|
if(iW.isDictionary(i))if(e.has(i.id)){if(e.get(i.id)!==i.dictionary)throw new Error("Cannot create Schema containing two different dictionaries with the same Id")}else e.set(i.id,i.dictionary)
|
|
14441
14442
|
i.children&&i.children.length>0&&PZ(i.children,e)}return e}LZ.prototype.type=null,LZ.prototype.name=null,LZ.prototype.nullable=null,LZ.prototype.metadata=null
|
|
14442
|
-
var
|
|
14443
|
-
class HZ{static decode(t){t=new
|
|
14443
|
+
var VZ=Lq,zZ=Nq
|
|
14444
|
+
class HZ{static decode(t){t=new zZ(gq(t))
|
|
14444
14445
|
const e=FZ.getRootAsFooter(t),n=NZ.decode(e.schema(),new Map,e.version())
|
|
14445
|
-
return new UZ(n,e)}static encode(t){const e=new
|
|
14446
|
+
return new UZ(n,e)}static encode(t){const e=new VZ,n=NZ.encode(e,t.schema)
|
|
14446
14447
|
FZ.startRecordBatchesVector(e,t.numRecordBatches)
|
|
14447
14448
|
for(const n of[...t.recordBatches()].slice().reverse())qZ.encode(e,n)
|
|
14448
14449
|
const i=e.endVector()
|
|
@@ -14558,12 +14559,12 @@ const s=n.fields.slice(),o=s[t].clone({type:e.type}),r=this.schema.fields.map(((
|
|
|
14558
14559
|
return this.selectAt(t.map((t=>e.get(t))).filter((t=>t>-1)))}selectAt(t){const e=this.schema.selectAt(t),n=this.batches.map((e=>e.selectAt(t)))
|
|
14559
14560
|
return new $K(e,n)}assign(t){const e=this.schema.fields,[n,i]=t.schema.fields.reduce(((t,n,i)=>{const[s,o]=t,r=e.findIndex((t=>t.name===n.name))
|
|
14560
14561
|
return~r?o[r]=i:s.push(i),t}),[[],[]]),s=this.schema.assign(t.schema),o=[...e.map(((t,e)=>[e,i[e]])).map((([e,n])=>void 0===n?this.getChildAt(e):t.getChildAt(n))),...n.map((e=>t.getChildAt(e)))].filter(Boolean)
|
|
14561
|
-
return new $K(...kK(s,o))}}_K=Symbol.toStringTag,$K[_K]=(t=>(t.schema=null,t.batches=[],t._offsets=new Uint32Array([0]),t._nullCount=-1,t[Symbol.isConcatSpreadable]=!0,t.isValid=bZ(vZ),t.get=bZ(
|
|
14562
|
+
return new $K(...kK(s,o))}}_K=Symbol.toStringTag,$K[_K]=(t=>(t.schema=null,t.batches=[],t._offsets=new Uint32Array([0]),t._nullCount=-1,t[Symbol.isConcatSpreadable]=!0,t.isValid=bZ(vZ),t.get=bZ(VG.getVisitFn(yj.Struct)),t.set=yZ(lG.getVisitFn(yj.Struct)),t.indexOf=wZ(SZ.getVisitFn(yj.Struct)),"Table"))($K.prototype)
|
|
14562
14563
|
let MK=class t{constructor(...t){switch(t.length){case 2:if([this.schema]=t,!(this.schema instanceof NZ))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.")
|
|
14563
14564
|
if([,this.data=hZ({nullCount:0,type:new wW(this.schema.fields),children:this.schema.fields.map((t=>hZ({type:t.type,nullCount:0})))})]=t,!(this.data instanceof lZ))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=DK(this.schema,this.data.children)
|
|
14564
14565
|
break
|
|
14565
14566
|
case 1:{const[e]=t,{fields:n,children:i,length:s}=Object.keys(e).reduce(((t,n,i)=>(t.children[i]=e[n],t.length=Math.max(t.length,e[n].length),t.fields[i]=LZ.new({name:n,type:e[n].type,nullable:!0}),t)),{length:0,fields:new Array,children:new Array}),o=new NZ(n),r=hZ({type:new wW(n),length:s,children:i,nullCount:0});[this.schema,this.data]=DK(o,r.children,s)
|
|
14566
|
-
break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=EK(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(t){return this.data.getValid(t)}get(t){return
|
|
14567
|
+
break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=EK(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(t){return this.data.getValid(t)}get(t){return VG.visit(this.data,t)}at(t){return this.get(YG(t,this.numRows))}set(t,e){return lG.visit(this.data,t,e)}indexOf(t,e){return SZ.visit(this.data,t,e)}[Symbol.iterator](){return MZ.visit(new OZ([this.data]))}toArray(){return[...this]}concat(...t){return new $K(this.schema,[this,...t])}slice(e,n){const[i]=new OZ([this.data]).slice(e,n).data
|
|
14567
14568
|
return new t(this.schema,i)}getChild(t){var e
|
|
14568
14569
|
return this.getChildAt(null===(e=this.schema.fields)||void 0===e?void 0:e.findIndex((e=>e.name===t)))}getChildAt(t){return t>-1&&t<this.schema.fields.length?new OZ([this.data.children[t]]):null}setChild(t,e){var n
|
|
14569
14570
|
return this.setChildAt(null===(n=this.schema.fields)||void 0===n?void 0:n.findIndex((e=>e.name===t)),e)}setChildAt(e,n){let i=this.schema,s=this.data
|
|
@@ -14597,7 +14598,7 @@ return pj.startUnion(e),pj.addMode(e,t.mode),pj.addTypeIds(e,n),pj.endUnion(e)}v
|
|
|
14597
14598
|
return Zq.startDictionaryEncoding(e),Zq.addId(e,BigInt(t.id)),Zq.addIsOrdered(e,t.isOrdered),void 0!==n&&Zq.addIndexType(e,n),Zq.endDictionaryEncoding(e)}visitFixedSizeBinary(t,e){return ej.startFixedSizeBinary(e),ej.addByteWidth(e,t.byteWidth),ej.endFixedSizeBinary(e)}visitFixedSizeList(t,e){return nj.startFixedSizeList(e),nj.addListSize(e,t.listSize),nj.endFixedSizeList(e)}visitMap(t,e){return lj.startMap(e),lj.addKeysSorted(e,t.keysSorted),lj.endMap(e)}}
|
|
14598
14599
|
function RK(t){return new qK(t.count,NK(t.columns),LK(t.columns))}function FK(t,e){return(t.children||[]).filter(Boolean).map((t=>LZ.fromJSON(t,e)))}function NK(t){return(t||[]).reduce(((t,e)=>{return[...t,new GK(e.count,(n=e.VALIDITY,(n||[]).reduce(((t,e)=>t+ +(0===e)),0))),...NK(e.children)]
|
|
14599
14600
|
var n}),[])}function LK(t,e=[]){for(let n=-1,i=(t||[]).length;++n<i;){const i=t[n]
|
|
14600
|
-
i.VALIDITY&&e.push(new WK(e.length,i.VALIDITY.length)),i.TYPE_ID&&e.push(new WK(e.length,i.TYPE_ID.length)),i.OFFSET&&e.push(new WK(e.length,i.OFFSET.length)),i.DATA&&e.push(new WK(e.length,i.DATA.length)),e=LK(i.children,e)}return e}function BK(t=[]){return new Map(t.map((({key:t,value:e})=>[t,e])))}function PK(t){return new oW(t.isSigned,t.bitWidth)}function
|
|
14601
|
+
i.VALIDITY&&e.push(new WK(e.length,i.VALIDITY.length)),i.TYPE_ID&&e.push(new WK(e.length,i.TYPE_ID.length)),i.OFFSET&&e.push(new WK(e.length,i.OFFSET.length)),i.DATA&&e.push(new WK(e.length,i.DATA.length)),e=LK(i.children,e)}return e}function BK(t=[]){return new Map(t.map((({key:t,value:e})=>[t,e])))}function PK(t){return new oW(t.isSigned,t.bitWidth)}function VK(t,e){const n=t.type.name
|
|
14601
14602
|
switch(n){case"NONE":case"null":return new sW
|
|
14602
14603
|
case"binary":return new lW
|
|
14603
14604
|
case"largebinary":return new cW
|
|
@@ -14617,7 +14618,7 @@ return new bW(Dq[e.unit])}case"union":{const n=t.type,[i,...s]=(n.mode+"").toLow
|
|
|
14617
14618
|
return new xW(Iq[o],n.typeIds||[],e||[])}case"fixedsizebinary":{const e=t.type
|
|
14618
14619
|
return new CW(e.byteWidth)}case"fixedsizelist":{const n=t.type
|
|
14619
14620
|
return new kW(n.listSize,(e||[])[0])}case"map":{const n=t.type
|
|
14620
|
-
return new SW((e||[])[0],n.keysSorted)}}throw new Error(`Unrecognized type: "${n}"`)}var
|
|
14621
|
+
return new SW((e||[])[0],n.keysSorted)}}throw new Error(`Unrecognized type: "${n}"`)}var zK=Lq,HK=Nq
|
|
14621
14622
|
class UK{static fromJSON(t,e){const n=new UK(0,_q.V5,e)
|
|
14622
14623
|
return n._createHeader=function(t,e){return()=>{switch(e){case bj.Schema:return NZ.fromJSON(t)
|
|
14623
14624
|
case bj.RecordBatch:return qK.fromJSON(t)
|
|
@@ -14625,7 +14626,7 @@ case bj.DictionaryBatch:return jK.fromJSON(t)}throw new Error(`Unrecognized Mess
|
|
|
14625
14626
|
const e=OK.getRootAsMessage(t),n=e.bodyLength(),i=e.version(),s=e.headerType(),o=new UK(n,i,s)
|
|
14626
14627
|
return o._createHeader=function(t,e){return()=>{switch(e){case bj.Schema:return NZ.decode(t.header(new vj),new Map,t.version())
|
|
14627
14628
|
case bj.RecordBatch:return qK.decode(t.header(new Uq),t.version())
|
|
14628
|
-
case bj.DictionaryBatch:return jK.decode(t.header(new qq),t.version())}throw new Error(`Unrecognized Message type: { name: ${bj[e]}, type: ${e} }`)}}(e,s),o}static encode(t){const e=new
|
|
14629
|
+
case bj.DictionaryBatch:return jK.decode(t.header(new qq),t.version())}throw new Error(`Unrecognized Message type: { name: ${bj[e]}, type: ${e} }`)}}(e,s),o}static encode(t){const e=new zK
|
|
14629
14630
|
let n=-1
|
|
14630
14631
|
return t.isSchema()?n=NZ.encode(e,t.header()):t.isRecordBatch()?n=qK.encode(e,t.header()):t.isDictionaryBatch()&&(n=jK.encode(e,t.header())),OK.startMessage(e),OK.addVersion(e,_q.V5),OK.addHeader(e,n),OK.addHeaderType(e,t.headerType),OK.addBodyLength(e,BigInt(t.bodyLength)),OK.finishMessageBuffer(e,OK.endMessage(e)),e.asUint8Array()}static from(t,e=0){if(t instanceof NZ)return new UK(0,_q.V5,bj.Schema,t)
|
|
14631
14632
|
if(t instanceof qK)return new UK(e,_q.V5,bj.RecordBatch,t)
|
|
@@ -14665,7 +14666,7 @@ gj.startField(t),gj.addType(t,i),gj.addTypeType(t,r),gj.addChildren(t,l),gj.addN
|
|
|
14665
14666
|
return gj.endField(t)},LZ.decode=function(t,e){let n,i,s,o,r,a
|
|
14666
14667
|
e&&(a=t.dictionary())?e.has(n=Cj(a.id()))?(o=(o=a.indexType())?YK(o):new rW,r=new $W(e.get(n),o,n,a.isOrdered()),i=new LZ(t.name(),r,t.nullable(),KK(t))):(o=(o=a.indexType())?YK(o):new rW,e.set(n,s=XK(t,ZK(t,e))),r=new $W(s,o,n,a.isOrdered()),i=new LZ(t.name(),r,t.nullable(),KK(t))):(s=XK(t,ZK(t,e)),i=new LZ(t.name(),s,t.nullable(),KK(t)))
|
|
14667
14668
|
return i||null},LZ.fromJSON=function(t,e){let n,i,s,o,r,a
|
|
14668
|
-
return e&&(o=t.dictionary)?e.has(n=o.id)?(i=(i=o.indexType)?PK(i):new rW,a=new $W(e.get(n),i,n,o.isOrdered),s=new LZ(t.name,a,t.nullable,BK(t.metadata))):(i=(i=o.indexType)?PK(i):new rW,e.set(n,r=
|
|
14669
|
+
return e&&(o=t.dictionary)?e.has(n=o.id)?(i=(i=o.indexType)?PK(i):new rW,a=new $W(e.get(n),i,n,o.isOrdered),s=new LZ(t.name,a,t.nullable,BK(t.metadata))):(i=(i=o.indexType)?PK(i):new rW,e.set(n,r=VK(t,FK(t,e))),a=new $W(r,i,n,o.isOrdered),s=new LZ(t.name,a,t.nullable,BK(t.metadata))):(r=VK(t,FK(t,e)),s=new LZ(t.name,r,t.nullable,BK(t.metadata))),s||null},NZ.encode=function(t,e){const n=e.fields.map((e=>LZ.encode(t,e)))
|
|
14669
14670
|
vj.startFieldsVector(t,n.length)
|
|
14670
14671
|
const i=vj.createFieldsVector(t,n),s=e.metadata&&e.metadata.size>0?vj.createCustomMetadataVector(t,[...e.metadata].map((([e,n])=>{const i=t.createString(`${e}`),s=t.createString(`${n}`)
|
|
14671
14672
|
return Kq.startKeyValue(t),Kq.addKey(t,i),Kq.addValue(t,s),Kq.endKeyValue(t)}))):-1
|
|
@@ -14686,7 +14687,7 @@ for(let n,i=-1,s=-1,o=t.nodesLength();++i<o;)(n=t.nodes(i))&&(e[++s]=GK.decode(n
|
|
|
14686
14687
|
return e}(t),function(t,e){const n=[]
|
|
14687
14688
|
for(let i,s=-1,o=-1,r=t.buffersLength();++s<r;)(i=t.buffers(s))&&(e<_q.V4&&(i.bb_pos+=8*(s+1)),n[++o]=WK.decode(i))
|
|
14688
14689
|
return n}(t,e))},qK.fromJSON=RK,jK.encode=function(t,e){const n=qK.encode(t,e.data)
|
|
14689
|
-
return qq.startDictionaryBatch(t),qq.addId(t,BigInt(e.id)),qq.addIsDelta(t,e.isDelta),qq.addData(t,n),qq.endDictionaryBatch(t)},jK.decode=function(t,e=_q.V5){return new jK(qK.decode(t.data(),e),t.id(),t.isDelta())},jK.fromJSON=function(t){return new jK(RK(t.data),t.id,t.isDelta)},GK.encode=function(t,e){return Hq.createFieldNode(t,BigInt(e.length),BigInt(e.nullCount))},GK.decode=function(t){return new GK(t.length(),t.nullCount())},WK.encode=function(t,e){return
|
|
14690
|
+
return qq.startDictionaryBatch(t),qq.addId(t,BigInt(e.id)),qq.addIsDelta(t,e.isDelta),qq.addData(t,n),qq.endDictionaryBatch(t)},jK.decode=function(t,e=_q.V5){return new jK(qK.decode(t.data(),e),t.id(),t.isDelta())},jK.fromJSON=function(t){return new jK(RK(t.data),t.id,t.isDelta)},GK.encode=function(t,e){return Hq.createFieldNode(t,BigInt(e.length),BigInt(e.nullCount))},GK.decode=function(t){return new GK(t.length(),t.nullCount())},WK.encode=function(t,e){return zq.createBuffer(t,BigInt(e.offset),BigInt(e.length))},WK.decode=function(t){return new WK(t.offset(),t.length())}
|
|
14690
14691
|
const JK=(()=>{const t=new ArrayBuffer(2)
|
|
14691
14692
|
return new DataView(t).setInt16(0,256,!0),256===new Int16Array(t)[0]})(),QK=t=>`Expected ${bj[t]} Message in stream, but was null or length 0.`,tY=t=>`Header pointer of flatbuffer-encoded ${bj[t]} Message is null or length 0.`,eY=(t,e)=>`Expected to read ${t} metadata bytes, but only read ${e}.`,nY=(t,e)=>`Expected to read ${t} bytes for message body, but only read ${e}.`
|
|
14692
14693
|
class iY{constructor(t){this.source=t instanceof YZ?t:new YZ(t)}[Symbol.iterator](){return this}next(){let t
|
|
@@ -14922,10 +14923,10 @@ class FY extends Map{constructor(t,e=LY){if(super(),Object.defineProperties(this
|
|
|
14922
14923
|
return t.has(i)?t.get(i):(t.set(i,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){const i=e(n)
|
|
14923
14924
|
t.has(i)&&(n=t.get(i),t.delete(i))
|
|
14924
14925
|
return n}(this,t))}}function NY({_intern:t,_key:e},n){const i=e(n)
|
|
14925
|
-
return t.has(i)?t.get(i):n}function LY(t){return null!==t&&"object"==typeof t?t.valueOf():t}const BY=Math.sqrt(50),PY=Math.sqrt(10),
|
|
14926
|
-
function
|
|
14926
|
+
return t.has(i)?t.get(i):n}function LY(t){return null!==t&&"object"==typeof t?t.valueOf():t}const BY=Math.sqrt(50),PY=Math.sqrt(10),VY=Math.sqrt(2)
|
|
14927
|
+
function zY(t,e,n){const i=(e-t)/Math.max(0,n),s=Math.floor(Math.log10(i)),o=i/Math.pow(10,s),r=o>=BY?10:o>=PY?5:o>=VY?2:1
|
|
14927
14928
|
let a,l,c
|
|
14928
|
-
return s<0?(c=Math.pow(10,-s)/r,a=Math.round(t*c),l=Math.round(e*c),a/c<t&&++a,l/c>e&&--l,c=-c):(c=Math.pow(10,s)*r,a=Math.round(t/c),l=Math.round(e/c),a*c<t&&++a,l*c>e&&--l),l<a&&.5<=n&&n<2?
|
|
14929
|
+
return s<0?(c=Math.pow(10,-s)/r,a=Math.round(t*c),l=Math.round(e*c),a/c<t&&++a,l/c>e&&--l,c=-c):(c=Math.pow(10,s)*r,a=Math.round(t/c),l=Math.round(e/c),a*c<t&&++a,l*c>e&&--l),l<a&&.5<=n&&n<2?zY(t,e,2*n):[a,l,c]}function HY(t,e,n){return zY(t=+t,e=+e,n=+n)[2]}function UY(t,e,n=TY){if((i=t.length)&&!isNaN(e=+e)){if(e<=0||i<2)return+n(t[0],0,t)
|
|
14929
14930
|
if(e>=1)return+n(t[i-1],i-1,t)
|
|
14930
14931
|
var i,s=(i-1)*e,o=Math.floor(s),r=+n(t[o],o,t)
|
|
14931
14932
|
return r+(+n(t[o+1],o+1,t)-r)*(s-o)}}function qY(t,e,n){t=+t,e=+e,n=(s=arguments.length)<2?(e=t,t=0,1):s<3?1:+n
|
|
@@ -15000,7 +15001,7 @@ case"f":case"%":null!=i.precision||isNaN(s=function(t){return Math.max(0,-iX(Mat
|
|
|
15000
15001
|
return t.ticks=function(t){var n=e()
|
|
15001
15002
|
return function(t,e,n){if(!((n=+n)>0))return[]
|
|
15002
15003
|
if((t=+t)==(e=+e))return[t]
|
|
15003
|
-
const i=e<t,[s,o,r]=i?
|
|
15004
|
+
const i=e<t,[s,o,r]=i?zY(e,t,n):zY(t,e,n)
|
|
15004
15005
|
if(!(o>=s))return[]
|
|
15005
15006
|
const a=o-s+1,l=new Array(a)
|
|
15006
15007
|
if(i)if(r<0)for(let t=0;t<a;++t)l[t]=(o-t)/-r
|
|
@@ -15070,8 +15071,8 @@ e&&n&&i&&iW.isInt(e.type)&&32===e.type.bitWidth&&iW.isInt(n.type)&&32===n.type.b
|
|
|
15070
15071
|
* @license
|
|
15071
15072
|
* Copyright 2019 Google LLC
|
|
15072
15073
|
* SPDX-License-Identifier: Apache-2.0
|
|
15073
|
-
*/const NX=Symbol("Comlink.proxy"),LX=Symbol("Comlink.endpoint"),BX=Symbol("Comlink.releaseProxy"),PX=Symbol("Comlink.finalizer"),
|
|
15074
|
-
return UX(t,e),[n,[n]]},deserialize:t=>(t.start(),jX(t))}],["throw",{canHandle:t=>
|
|
15074
|
+
*/const NX=Symbol("Comlink.proxy"),LX=Symbol("Comlink.endpoint"),BX=Symbol("Comlink.releaseProxy"),PX=Symbol("Comlink.finalizer"),VX=Symbol("Comlink.thrown"),zX=t=>"object"==typeof t&&null!==t||"function"==typeof t,HX=new Map([["proxy",{canHandle:t=>zX(t)&&t[NX],serialize(t){const{port1:e,port2:n}=new MessageChannel
|
|
15075
|
+
return UX(t,e),[n,[n]]},deserialize:t=>(t.start(),jX(t))}],["throw",{canHandle:t=>zX(t)&&VX in t,serialize({value:t}){let e
|
|
15075
15076
|
return e=t instanceof Error?{isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:{isError:!1,value:t},[e,[]]},deserialize(t){if(t.isError)throw Object.assign(new Error(t.value.message),t.value)
|
|
15076
15077
|
throw t.value}}]])
|
|
15077
15078
|
function UX(t,e=globalThis,n=["*"]){e.addEventListener("message",(function i(s){if(!s||!s.data)return
|
|
@@ -15092,8 +15093,8 @@ case"ENDPOINT":{const{port1:e,port2:n}=new MessageChannel
|
|
|
15092
15093
|
UX(t,n),c=QX(e,[e])}break
|
|
15093
15094
|
case"RELEASE":c=void 0
|
|
15094
15095
|
break
|
|
15095
|
-
default:return}}catch(t){c={value:t,[
|
|
15096
|
-
e.postMessage(Object.assign(Object.assign({},s),{id:o}),a),"RELEASE"===r&&(e.removeEventListener("message",i),qX(e),PX in t&&"function"==typeof t[PX]&&t[PX]())})).catch((t=>{const[n,i]=tJ({value:new TypeError("Unserializable return value"),[
|
|
15096
|
+
default:return}}catch(t){c={value:t,[VX]:0}}Promise.resolve(c).catch((t=>({value:t,[VX]:0}))).then((n=>{const[s,a]=tJ(n)
|
|
15097
|
+
e.postMessage(Object.assign(Object.assign({},s),{id:o}),a),"RELEASE"===r&&(e.removeEventListener("message",i),qX(e),PX in t&&"function"==typeof t[PX]&&t[PX]())})).catch((t=>{const[n,i]=tJ({value:new TypeError("Unserializable return value"),[VX]:0})
|
|
15097
15098
|
e.postMessage(Object.assign(Object.assign({},n),{id:o}),i)}))})),e.start&&e.start()}function qX(t){(function(t){return"MessagePort"===t.constructor.name})(t)&&t.close()}function jX(t,e){const n=new Map
|
|
15098
15099
|
return t.addEventListener("message",(function(t){const{data:e}=t
|
|
15099
15100
|
if(!e||!e.id)return
|
|
@@ -15148,7 +15149,7 @@ if(void 0===n||!this.isDieInGrid(n.x,n.y))return void(this.wafermap.hoverDie=voi
|
|
|
15148
15149
|
const i=this.wafermap.diesTable.getChild("colIndex").toArray(),s=this.wafermap.diesTable.getChild("rowIndex").toArray()
|
|
15149
15150
|
for(let t=0;t<i.length;t++)if(i[t]===n.x&&s[t]===n.y)return void(this.wafermap.hoverDie={index:t,x:n.x,y:n.y})
|
|
15150
15151
|
this.wafermap.hoverDie=void 0},this.onMouseOut=t=>{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(t){if(this.wafermap.isExperimentalUpdate()){const e=this.wafermap.originLocation,n=e===xX||e===kX?Math.floor:Math.ceil,i=e===xX||e===CX?Math.ceil:Math.floor
|
|
15151
|
-
return{x:n(this.wafermap.computations.horizontalScale.invert(t.x-this.wafermap.computations.margin.left)),y:i(this.wafermap.computations.verticalScale.invert(t.y-this.wafermap.computations.margin.top))}}}isDieInGrid(t,e){return t>=this.wafermap.computations.gridMinX&&t<=this.wafermap.computations.gridMaxX&&e>=this.wafermap.computations.gridMinY&&e<=this.wafermap.computations.gridMaxY}}class aJ{constructor(t){this.wafermap=t,this.scaleExtent=[1,100],this.minExtentPoint=[0,0],this.onWheelMove=t=>{t.preventDefault()},this.wafermapNotifier=x.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(){WU().on("zoom",null)(
|
|
15152
|
+
return{x:n(this.wafermap.computations.horizontalScale.invert(t.x-this.wafermap.computations.margin.left)),y:i(this.wafermap.computations.verticalScale.invert(t.y-this.wafermap.computations.margin.top))}}}isDieInGrid(t,e){return t>=this.wafermap.computations.gridMinX&&t<=this.wafermap.computations.gridMaxX&&e>=this.wafermap.computations.gridMinY&&e<=this.wafermap.computations.gridMaxY}}class aJ{constructor(t){this.wafermap=t,this.scaleExtent=[1,100],this.minExtentPoint=[0,0],this.onWheelMove=t=>{t.preventDefault()},this.wafermapNotifier=x.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(){WU().on("zoom",null)(Sz(this.wafermap)),this.wafermap.removeEventListener("wheel",this.onWheelMove)}handleChange(t,e){t!==this.wafermap||"canvasWidth"!==e&&"canvasHeight"!==e||this.createZoomBehavior()}createZoomBehavior(){WU().scaleExtent(this.scaleExtent).translateExtent([this.minExtentPoint,[this.wafermap.canvasWidth,this.wafermap.canvasHeight]]).on("zoom",(t=>{this.wafermap.transform=t.transform}))(Sz(this.wafermap))}}class lJ{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(t){this.wafermap=t,this.baseMarginPercentage=.04,this.fontSizeFactor=.8,this.colorScaleResolution=10}componentResizeUpdate(){const t={width:this.wafermap.canvasWidth,height:this.wafermap.canvasHeight},e=Math.min(t.width,t.height),n={top:(t.height-e)/2,right:(t.width-e)/2,bottom:(t.height-e)/2,left:(t.width-e)/2},i={top:e*this.baseMarginPercentage,right:e*this.baseMarginPercentage,bottom:e*this.baseMarginPercentage,left:e*this.baseMarginPercentage}
|
|
15152
15153
|
this._margin=this.calculateMarginAddition(i,n),this._containerDimensions=this.calculateContainerDimensions(t,this.margin),this.inputDataUpdate()}inputDataUpdate(){if(void 0===this._containerDimensions)return void this.componentResizeUpdate()
|
|
15153
15154
|
const t=Math.min(this._containerDimensions.width,this._containerDimensions.height)
|
|
15154
15155
|
this.gridDimensionsValidAndDefined()?this.setGridDimensionsFromBoundingBox():this.setGridDimensionsFromDies()
|