@ni/nimble-components 32.11.2 → 32.11.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.
- package/dist/all-components-bundle.js +1162 -1146
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +496 -493
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/select/testing/select.pageobject.d.ts +1 -1
- package/dist/esm/select/testing/select.pageobject.js +3 -1
- package/dist/esm/select/testing/select.pageobject.js.map +1 -1
- package/dist/esm/toolbar/index.js +1 -4
- package/dist/esm/toolbar/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -74,7 +74,7 @@ function C(t,e){x.defineProperty(t,e)}function k(t,e,n){return Object.assign({},
|
|
|
74
74
|
return{get:()=>t,set(e){t=e}}}))
|
|
75
75
|
class _{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return S.get()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}static setEvent(t){S.set(t)}}x.defineProperty(_.prototype,"index"),x.defineProperty(_.prototype,"length")
|
|
76
76
|
const I=Object.seal(new _)
|
|
77
|
-
class M{constructor(){this.targetIndex=0}}class $ extends M{constructor(){super(...arguments),this.createPlaceholder=b.createInterpolationPlaceholder}}class D extends M{constructor(t,e,n){super(),this.name=t,this.behavior=e,this.options=n}createPlaceholder(t){return b.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}}function E(t,e){this.source=t,this.context=e,null===this.bindingObserver&&(this.bindingObserver=x.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(t,e))}function A(t,e){this.source=t,this.context=e,this.target.addEventListener(this.targetName,this)}function
|
|
77
|
+
class M{constructor(){this.targetIndex=0}}class $ extends M{constructor(){super(...arguments),this.createPlaceholder=b.createInterpolationPlaceholder}}class D extends M{constructor(t,e,n){super(),this.name=t,this.behavior=e,this.options=n}createPlaceholder(t){return b.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}}function E(t,e){this.source=t,this.context=e,null===this.bindingObserver&&(this.bindingObserver=x.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(t,e))}function A(t,e){this.source=t,this.context=e,this.target.addEventListener(this.targetName,this)}function T(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function O(){this.bindingObserver.disconnect(),this.source=null,this.context=null
|
|
78
78
|
const t=this.target.$fastView
|
|
79
79
|
void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}function R(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function F(t){b.setAttribute(this.target,this.targetName,t)}function N(t){b.setBooleanAttribute(this.target,this.targetName,t)}function L(t){if(null==t&&(t=""),t.create){this.target.textContent=""
|
|
80
80
|
let e=this.target.$fastView
|
|
@@ -84,13 +84,13 @@ 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 V extends ${constructor(t){super(),this.binding=t,this.bind=E,this.unbind=
|
|
87
|
+
for(const t in e)e[t]===i&&n.classList.remove(t)}}class V extends ${constructor(t){super(),this.binding=t,this.bind=E,this.unbind=T,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=
|
|
93
|
+
default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=P)}}targetAtContent(){this.updateTarget=L,this.unbind=O}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
|
|
@@ -268,7 +268,7 @@ r=r.createCSS(),t&&s.push(t)}r instanceof tt||r instanceof CSSStyleSheet?(""!==i
|
|
|
268
268
|
return i.length&&s.withBehaviors(...i),s}class $t extends _t{constructor(t,e){super(),this.behaviors=e,this.css=""
|
|
269
269
|
const n=t.reduce(((t,e)=>("string"==typeof e?this.css+=e:t.push(e),t)),[])
|
|
270
270
|
n.length&&(this.styles=tt.create(n))}createBehavior(){return this}createCSS(){return this.css}bind(t){this.styles&&t.$fastController.addStyles(this.styles),this.behaviors.length&&t.$fastController.addBehaviors(this.behaviors)}unbind(t){this.styles&&t.$fastController.removeStyles(this.styles),this.behaviors.length&&t.$fastController.removeBehaviors(this.behaviors)}}function Dt(t,...e){const{styles:n,behaviors:i}=It(t,e)
|
|
271
|
-
return new $t(n,i)}function Et(t,e,n){return{index:t,removed:e,addedCount:n}}const At=0,
|
|
271
|
+
return new $t(n,i)}function Et(t,e,n){return{index:t,removed:e,addedCount:n}}const At=0,Tt=1,Ot=2,Rt=3
|
|
272
272
|
function Ft(t,e,n,i,s,o){let r=0,a=0
|
|
273
273
|
const l=Math.min(n-e,o-s)
|
|
274
274
|
if(0===e&&0===s&&(r=function(t,e,n){for(let i=0;i<n;++i)if(t[i]!==e[i])return i
|
|
@@ -280,11 +280,11 @@ for(;s<o;)t.removed.push(i[s++])
|
|
|
280
280
|
return[t]}if(s===o)return[Et(e,[],n-e)]
|
|
281
281
|
const c=function(t){let e=t.length-1,n=t[0].length-1,i=t[e][n]
|
|
282
282
|
const s=[]
|
|
283
|
-
for(;e>0||n>0;){if(0===e){s.push(
|
|
283
|
+
for(;e>0||n>0;){if(0===e){s.push(Ot),n--
|
|
284
284
|
continue}if(0===n){s.push(Rt),e--
|
|
285
285
|
continue}const o=t[e-1][n-1],r=t[e-1][n],a=t[e][n-1]
|
|
286
286
|
let l
|
|
287
|
-
l=r<a?r<o?r:o:a<o?a:o,l===o?(o===i?s.push(At):(s.push(
|
|
287
|
+
l=r<a?r<o?r:o:a<o?a:o,l===o?(o===i?s.push(At):(s.push(Tt),i=o),e--,n--):l===r?(s.push(Rt),e--,i=r):(s.push(Ot),n--,i=a)}return s.reverse(),s}(function(t,e,n,i,s,o){const r=o-s+1,a=n-e+1,l=new Array(r)
|
|
288
288
|
let c,d
|
|
289
289
|
for(let t=0;t<r;++t)l[t]=new Array(a),l[t][0]=t
|
|
290
290
|
for(let t=0;t<a;++t)l[0][t]=t
|
|
@@ -293,9 +293,9 @@ return l}(t,e,n,i,s,o)),h=[]
|
|
|
293
293
|
let u,p=e,f=s
|
|
294
294
|
for(let t=0;t<c.length;++t)switch(c[t]){case At:void 0!==u&&(h.push(u),u=void 0),p++,f++
|
|
295
295
|
break
|
|
296
|
-
case
|
|
296
|
+
case Tt:void 0===u&&(u=Et(p,[],0)),u.addedCount++,p++,u.removed.push(i[f]),f++
|
|
297
297
|
break
|
|
298
|
-
case
|
|
298
|
+
case Ot:void 0===u&&(u=Et(p,[],0)),u.addedCount++,p++
|
|
299
299
|
break
|
|
300
300
|
case Rt:void 0===u&&(u=Et(p,[],0)),u.removed.push(i[f]),f++}return void 0!==u&&h.push(u),h}const Nt=Array.prototype.push
|
|
301
301
|
function Lt(t,e,n,i){const s=Et(e,n,i)
|
|
@@ -431,7 +431,7 @@ const de=new Map
|
|
|
431
431
|
"metadata"in Reflect||(Reflect.metadata=function(t,e){return function(n){Reflect.defineMetadata(t,e,n)}},Reflect.defineMetadata=function(t,e,n){let i=de.get(n)
|
|
432
432
|
void 0===i&&de.set(n,i=new Map),i.set(t,e)},Reflect.getOwnMetadata=function(t,e){const n=de.get(e)
|
|
433
433
|
if(void 0!==n)return n.get(t)})
|
|
434
|
-
class he{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,
|
|
434
|
+
class he{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
|
|
435
435
|
return this.container=this.key=void 0,n.registerResolver(i,new xe(i,t,e))}}function ue(t){const e=t.slice(),n=Object.keys(t),i=n.length
|
|
436
436
|
let s
|
|
437
437
|
for(let o=0;o<i;++o)s=n[o],ze(s)||(e[s]=t[s])
|
|
@@ -515,10 +515,10 @@ if(!(n instanceof Object)||null==n.resolve){const n=e.resolvers.get(t)
|
|
|
515
515
|
if(null!=n)return n
|
|
516
516
|
throw new Error("A valid resolver was not returned from the static register method")}return n}if(t.$isInterface)throw new Error(`Attempted to jitRegister an interface: ${t.friendlyName}`)
|
|
517
517
|
{const n=this.config.defaultResolver(t,e)
|
|
518
|
-
return e.resolvers.set(t,n),n}}}const
|
|
519
|
-
function
|
|
518
|
+
return e.resolvers.set(t,n),n}}}const Te=new WeakMap
|
|
519
|
+
function Oe(t){return function(e,n,i){if(Te.has(i))return Te.get(i)
|
|
520
520
|
const s=t(e,n,i)
|
|
521
|
-
return
|
|
521
|
+
return Te.set(i,s),s}}const Re=Object.freeze({instance:(t,e)=>new xe(t,0,e),singleton:(t,e)=>new xe(t,1,e),transient:(t,e)=>new xe(t,2,e),callback:(t,e)=>new xe(t,3,e),cachedCallback:(t,e)=>new xe(t,3,Oe(e)),aliasTo:(t,e)=>new xe(e,5,t)})
|
|
522
522
|
function Fe(t){if(null==t)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function Ne(t,e,n){if(t instanceof xe&&4===t.strategy){const i=t.state
|
|
523
523
|
let s=i.length
|
|
524
524
|
const o=new Array(s)
|
|
@@ -638,8 +638,8 @@ return t||(t=this.attachInternals(),En.set(this,t)),t}connectedCallback(){super.
|
|
|
638
638
|
this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach((t=>this.proxy.addEventListener(t,this.stopPropagation))),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot",Mn),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name",Mn)),null===(t=this.shadowRoot)||void 0===t||t.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var t
|
|
639
639
|
this.removeChild(this.proxy),null===(t=this.shadowRoot)||void 0===t||t.removeChild(this.proxySlot)}validate(t){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,t)}setFormValue(t,e){this.elementInternals&&this.elementInternals.setFormValue(t,e||t)}_keypressHandler(t){if(t.key===ln)if(this.form instanceof HTMLFormElement){const t=this.form.querySelector("[type=submit]")
|
|
640
640
|
null==t||t.click()}}stopPropagation(t){t.stopPropagation()}}
|
|
641
|
-
return ft({mode:"boolean"})(e.prototype,"disabled"),ft({mode:"fromView",attribute:"value"})(e.prototype,"initialValue"),ft({attribute:"current-value"})(e.prototype,"currentValue"),ft(e.prototype,"name"),ft({mode:"boolean"})(e.prototype,"required"),C(e.prototype,"value"),e}function
|
|
642
|
-
this.setFormValue(t,t)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return ft({attribute:"checked",mode:"boolean"})(n.prototype,"checkedAttribute"),ft({attribute:"current-checked",converter:ht})(n.prototype,"currentChecked"),C(n.prototype,"defaultChecked"),C(n.prototype,"checked"),n}class
|
|
641
|
+
return ft({mode:"boolean"})(e.prototype,"disabled"),ft({mode:"fromView",attribute:"value"})(e.prototype,"initialValue"),ft({attribute:"current-value"})(e.prototype,"currentValue"),ft(e.prototype,"name"),ft({mode:"boolean"})(e.prototype,"required"),C(e.prototype,"value"),e}function Tn(t){class e extends(An(t)){}class n extends e{constructor(...t){super(t),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(t,e){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==t&&this.$emit("change"),this.validate()}currentCheckedChanged(t,e){this.checked=this.currentChecked}updateForm(){const t=this.checked?this.value:null
|
|
642
|
+
this.setFormValue(t,t)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return ft({attribute:"checked",mode:"boolean"})(n.prototype,"checkedAttribute"),ft({attribute:"current-checked",converter:ht})(n.prototype,"currentChecked"),C(n.prototype,"defaultChecked"),C(n.prototype,"checked"),n}class On extends We{}class Rn extends(An(On)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let Fn=class extends Rn{constructor(){super(...arguments),this.handleClick=t=>{var e
|
|
643
643
|
this.disabled&&(null===(e=this.defaultSlottedContent)||void 0===e?void 0:e.length)<=1&&t.stopPropagation()},this.handleSubmission=()=>{if(!this.form)return
|
|
644
644
|
const t=this.proxy.isConnected
|
|
645
645
|
t||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),t||this.detachProxy()},this.handleFormReset=()=>{var t
|
|
@@ -654,7 +654,7 @@ e&&e.forEach((t=>{t.removeEventListener("click",this.handleClick)}))}}
|
|
|
654
654
|
ce([ft({mode:"boolean"})],Fn.prototype,"autofocus",void 0),ce([ft({attribute:"form"})],Fn.prototype,"formId",void 0),ce([ft],Fn.prototype,"formaction",void 0),ce([ft],Fn.prototype,"formenctype",void 0),ce([ft],Fn.prototype,"formmethod",void 0),ce([ft({mode:"boolean"})],Fn.prototype,"formnovalidate",void 0),ce([ft],Fn.prototype,"formtarget",void 0),ce([ft],Fn.prototype,"type",void 0),ce([C],Fn.prototype,"defaultSlottedContent",void 0)
|
|
655
655
|
class Nn{}ce([ft({attribute:"aria-expanded"})],Nn.prototype,"ariaExpanded",void 0),ce([ft({attribute:"aria-pressed"})],Nn.prototype,"ariaPressed",void 0),Ke(Nn,wn),Ke(Fn,re,Nn)
|
|
656
656
|
let Ln=class extends We{}
|
|
657
|
-
class Bn extends We{}class Pn extends(
|
|
657
|
+
class Bn extends We{}class Pn extends(Tn(Bn)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let Vn=class extends Pn{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=t=>{if(!this.readOnly&&t.key===un)this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked},this.clickHandler=t=>{this.disabled||this.readOnly||(this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}
|
|
658
658
|
function zn(t){return Je(t)&&("option"===t.getAttribute("role")||t instanceof HTMLOptionElement)}ce([ft({attribute:"readonly",mode:"boolean"})],Vn.prototype,"readOnly",void 0),ce([C],Vn.prototype,"defaultSlottedNodes",void 0),ce([C],Vn.prototype,"indeterminate",void 0)
|
|
659
659
|
class Hn extends We{constructor(t,e,n,i){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,t&&(this.textContent=t),e&&(this.initialValue=e),n&&(this.defaultSelected=n),i&&(this.selected=i),this.proxy=new Option(`${this.textContent}`,this.initialValue,this.defaultSelected,this.selected),this.proxy.disabled=this.disabled}checkedChanged(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
|
|
660
660
|
return null!==(t=this.value)&&void 0!==t?t:this.text}get text(){var t,e
|
|
@@ -828,7 +828,7 @@ return this}}class Mi{constructor(t,e,n,i,s,o){this.container=t,this.name=e,this
|
|
|
828
828
|
* tabbable 5.3.3
|
|
829
829
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
830
830
|
*/var $i="undefined"==typeof Element,Di=$i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ei=!$i&&Element.prototype.getRootNode?function(t){return t.getRootNode()}:function(t){return t.ownerDocument},Ai=function(t){var e=t.getBoundingClientRect(),n=e.width,i=e.height
|
|
831
|
-
return 0===n&&0===i},
|
|
831
|
+
return 0===n&&0===i},Ti=function(t,e){return!(e.disabled||function(t){return function(t){return"INPUT"===t.tagName}(t)&&"hidden"===t.type}(e)||function(t,e){var n=e.displayCheck,i=e.getShadowRoot
|
|
832
832
|
if("hidden"===getComputedStyle(t).visibility)return!0
|
|
833
833
|
var s=Di.call(t,"details>summary:first-of-type")?t.parentElement:t
|
|
834
834
|
if(Di.call(s,"details:not([open]) *"))return!0
|
|
@@ -836,8 +836,8 @@ var o=Ei(t).host,r=(null==o?void 0:o.ownerDocument.contains(o))||t.ownerDocument
|
|
|
836
836
|
if(n&&"full"!==n){if("non-zero-area"===n)return Ai(t)}else{if("function"==typeof i){for(var a=t;t;){var l=t.parentElement,c=Ei(t)
|
|
837
837
|
if(l&&!l.shadowRoot&&!0===i(l))return Ai(t)
|
|
838
838
|
t=t.assignedSlot?t.assignedSlot:l||c===t.ownerDocument?l:c.host}t=a}if(r)return!t.getClientRects().length}return!1}(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)
|
|
839
|
-
if("LEGEND"===i.tagName)return!!Di.call(e,"fieldset[disabled] *")||!i.contains(t)}return!0}e=e.parentElement}return!1}(e))},
|
|
840
|
-
return!1!==Di.call(t,
|
|
839
|
+
if("LEGEND"===i.tagName)return!!Di.call(e,"fieldset[disabled] *")||!i.contains(t)}return!0}e=e.parentElement}return!1}(e))},Oi=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"].concat("iframe").join(","),Ri=function(t,e){if(e=e||{},!t)throw new Error("No node provided")
|
|
840
|
+
return!1!==Di.call(t,Oi)&&Ti(e,t)}
|
|
841
841
|
class Fi extends qn{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var t
|
|
842
842
|
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
|
|
843
843
|
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
|
|
@@ -924,7 +924,7 @@ if(this.slottedRadioButtons.forEach((t=>{void 0!==this.name&&t.setAttribute("nam
|
|
|
924
924
|
if(e>0&&!n){const n=t[e-1]
|
|
925
925
|
n.checked=!0,this.focusedRadio=n,n.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}
|
|
926
926
|
ce([ft({attribute:"readonly",mode:"boolean"})],Ki.prototype,"readOnly",void 0),ce([ft({attribute:"disabled",mode:"boolean"})],Ki.prototype,"disabled",void 0),ce([ft],Ki.prototype,"name",void 0),ce([ft],Ki.prototype,"value",void 0),ce([ft],Ki.prototype,"orientation",void 0),ce([C],Ki.prototype,"childItems",void 0),ce([C],Ki.prototype,"slottedRadioButtons",void 0)
|
|
927
|
-
class Yi extends We{}class Xi extends(
|
|
927
|
+
class Yi extends We{}class Xi extends(Tn(Yi)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let Ji=class extends Xi{constructor(){super(),this.initialValue="on",this.keypressHandler=t=>{if(t.key!==un)return!0
|
|
928
928
|
this.checked||this.readOnly||(this.checked=!0)},this.proxy.setAttribute("type","radio")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}defaultCheckedChanged(){var t
|
|
929
929
|
this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}connectedCallback(){var t,e
|
|
930
930
|
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)}}
|
|
@@ -959,7 +959,7 @@ break
|
|
|
959
959
|
case pn:return this.collapsible&&this.open&&(t.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!(e===sn||e===an)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(t,e){super.sizeChanged(t,e),this.proxy&&(this.proxy.size=e)}updateDisplayValue(){this.collapsible&&x.notify(this,"displayValue")}}
|
|
960
960
|
ce([ft({attribute:"open",mode:"boolean"})],es.prototype,"open",void 0),ce([k],es.prototype,"collapsible",null),ce([C],es.prototype,"control",void 0),ce([ft({attribute:"position"})],es.prototype,"positionAttribute",void 0),ce([C],es.prototype,"position",void 0),ce([C],es.prototype,"maxHeight",void 0)
|
|
961
961
|
class ns{}ce([C],ns.prototype,"ariaControls",void 0),Ke(ns,jn),Ke(es,re,ns)
|
|
962
|
-
class is extends We{}class ss extends(
|
|
962
|
+
class is extends We{}class ss extends(Tn(is)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let rs=class extends ss{constructor(){super(),this.initialValue="on",this.keypressHandler=t=>{if(!this.readOnly)switch(t.key){case ln:case un:this.checked=!this.checked}},this.clickHandler=t=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedChanged(t,e){super.checkedChanged(t,e),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}
|
|
963
963
|
ce([ft({attribute:"readonly",mode:"boolean"})],rs.prototype,"readOnly",void 0),ce([C],rs.prototype,"defaultSlottedNodes",void 0)
|
|
964
964
|
let as=class extends We{}
|
|
965
965
|
let ls=class extends We{}
|
|
@@ -1020,7 +1020,7 @@ return n.hasAttribute("disabled")||n.hasAttribute("hidden")||!(Ri(n)||a||l||c)?n
|
|
|
1020
1020
|
ce([C],gs.prototype,"direction",void 0),ce([ft],gs.prototype,"orientation",void 0),ce([C],gs.prototype,"slottedItems",void 0),ce([C],gs.prototype,"slottedLabel",void 0),ce([C],gs.prototype,"childItems",void 0)
|
|
1021
1021
|
class vs{}ce([ft({attribute:"aria-labelledby"})],vs.prototype,"ariaLabelledby",void 0),ce([ft({attribute:"aria-label"})],vs.prototype,"ariaLabel",void 0),Ke(vs,wn),Ke(gs,re,vs)
|
|
1022
1022
|
const bs="top",ys="right",ws="bottom",xs="left",Cs="start",ks="end",Ss="top-left",_s="top-right",Is="bottom-left",Ms="bottom-right",$s="top-start",Ds="top-end",Es="bottom-start",As="bottom-end"
|
|
1023
|
-
let
|
|
1023
|
+
let Ts=class extends We{constructor(){super(...arguments),this.anchor="",this.delay=300,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.horizontalInset="false",this.verticalInset="false",this.horizontalScaling="content",this.verticalScaling="content",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=void 0,this.tooltipVisible=!1,this.currentDirection=mn.ltr,this.showDelayTimer=null,this.hideDelayTimer=null,this.isAnchorHoveredFocused=!1,this.isRegionHovered=!1,this.handlePositionChange=t=>{this.classList.toggle("top","start"===this.region.verticalPosition),this.classList.toggle("bottom","end"===this.region.verticalPosition),this.classList.toggle("inset-top","insetStart"===this.region.verticalPosition),this.classList.toggle("inset-bottom","insetEnd"===this.region.verticalPosition),this.classList.toggle("center-vertical","center"===this.region.verticalPosition),this.classList.toggle("left","start"===this.region.horizontalPosition),this.classList.toggle("right","end"===this.region.horizontalPosition),this.classList.toggle("inset-left","insetStart"===this.region.horizontalPosition),this.classList.toggle("inset-right","insetEnd"===this.region.horizontalPosition),this.classList.toggle("center-horizontal","center"===this.region.horizontalPosition)},this.handleRegionMouseOver=t=>{this.isRegionHovered=!0},this.handleRegionMouseOut=t=>{this.isRegionHovered=!1,this.startHideDelayTimer()},this.handleAnchorMouseOver=t=>{this.tooltipVisible?this.isAnchorHoveredFocused=!0:this.startShowDelayTimer()},this.handleAnchorMouseOut=t=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.handleAnchorFocusIn=t=>{this.startShowDelayTimer()},this.handleAnchorFocusOut=t=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.startHideDelayTimer=()=>{this.clearHideDelayTimer(),this.tooltipVisible&&(this.hideDelayTimer=window.setTimeout((()=>{this.updateTooltipVisibility()}),60))},this.clearHideDelayTimer=()=>{null!==this.hideDelayTimer&&(clearTimeout(this.hideDelayTimer),this.hideDelayTimer=null)},this.startShowDelayTimer=()=>{this.isAnchorHoveredFocused||(this.delay>1?null===this.showDelayTimer&&(this.showDelayTimer=window.setTimeout((()=>{this.startHover()}),this.delay)):this.startHover())},this.startHover=()=>{this.isAnchorHoveredFocused=!0,this.updateTooltipVisibility()},this.clearShowDelayTimer=()=>{null!==this.showDelayTimer&&(clearTimeout(this.showDelayTimer),this.showDelayTimer=null)},this.getAnchor=()=>{const t=this.getRootNode()
|
|
1024
1024
|
return t instanceof ShadowRoot?t.getElementById(this.anchor):document.getElementById(this.anchor)},this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&this.tooltipVisible&&t.key===cn)this.isAnchorHoveredFocused=!1,this.updateTooltipVisibility(),this.$emit("dismiss")},this.updateTooltipVisibility=()=>{if(!1===this.visible)this.hideTooltip()
|
|
1025
1025
|
else{if(!0===this.visible)return void this.showTooltip()
|
|
1026
1026
|
if(this.isAnchorHoveredFocused||this.isRegionHovered)return void this.showTooltip()
|
|
@@ -1047,8 +1047,8 @@ break
|
|
|
1047
1047
|
case As:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="end"
|
|
1048
1048
|
break
|
|
1049
1049
|
default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}
|
|
1050
|
-
ce([ft({mode:"boolean"})],
|
|
1051
|
-
function
|
|
1050
|
+
ce([ft({mode:"boolean"})],Ts.prototype,"visible",void 0),ce([ft],Ts.prototype,"anchor",void 0),ce([ft],Ts.prototype,"delay",void 0),ce([ft],Ts.prototype,"position",void 0),ce([ft({attribute:"auto-update-mode"})],Ts.prototype,"autoUpdateMode",void 0),ce([ft({attribute:"horizontal-viewport-lock"})],Ts.prototype,"horizontalViewportLock",void 0),ce([ft({attribute:"vertical-viewport-lock"})],Ts.prototype,"verticalViewportLock",void 0),ce([C],Ts.prototype,"anchorElement",void 0),ce([C],Ts.prototype,"viewportElement",void 0),ce([C],Ts.prototype,"verticalPositioningMode",void 0),ce([C],Ts.prototype,"horizontalPositioningMode",void 0),ce([C],Ts.prototype,"horizontalInset",void 0),ce([C],Ts.prototype,"verticalInset",void 0),ce([C],Ts.prototype,"horizontalScaling",void 0),ce([C],Ts.prototype,"verticalScaling",void 0),ce([C],Ts.prototype,"verticalDefaultPosition",void 0),ce([C],Ts.prototype,"horizontalDefaultPosition",void 0),ce([C],Ts.prototype,"tooltipVisible",void 0),ce([C],Ts.prototype,"currentDirection",void 0)
|
|
1051
|
+
function Os(t){return Je(t)&&"treeitem"===t.getAttribute("role")}let Rs=class extends We{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.isNestedItem=()=>Os(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=>{Os(t)&&(t.nested=!0)}))}static focusItem(t){t.focusable=!0,t.focus()}childItemLength(){const t=this.childItems.filter((t=>Os(t)))
|
|
1052
1052
|
return t?t.length:0}}
|
|
1053
1053
|
ce([ft({mode:"boolean"})],Rs.prototype,"expanded",void 0),ce([ft({mode:"boolean"})],Rs.prototype,"selected",void 0),ce([ft({mode:"boolean"})],Rs.prototype,"disabled",void 0),ce([C],Rs.prototype,"focusable",void 0),ce([C],Rs.prototype,"childItems",void 0),ce([C],Rs.prototype,"items",void 0),ce([C],Rs.prototype,"nested",void 0),ce([C],Rs.prototype,"renderCollapsedChildren",void 0),Ke(Rs,re)
|
|
1054
1054
|
let Fs=class extends We{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&&Rs.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
|
|
@@ -1063,19 +1063,19 @@ e instanceof Rs&&e.childItemLength()>0&&!e.expanded?e.expanded=!0:e instanceof R
|
|
|
1063
1063
|
case sn:return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(1,t.target))
|
|
1064
1064
|
case an:return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(-1,t.target))
|
|
1065
1065
|
case ln:return void this.handleClick(t)}return!0},this.handleSelectedChange=t=>{if(t.defaultPrevented)return
|
|
1066
|
-
if(!(t.target instanceof Element&&
|
|
1066
|
+
if(!(t.target instanceof Element&&Os(t.target)))return!0
|
|
1067
1067
|
const e=t.target
|
|
1068
1068
|
e.selected?(this.currentSelected&&this.currentSelected!==e&&(this.currentSelected.selected=!1),this.currentSelected=e):e.selected||this.currentSelected!==e||(this.currentSelected=null)},this.setItems=()=>{const t=this.treeView.querySelector("[aria-selected='true']")
|
|
1069
1069
|
this.currentSelected=t,null!==this.currentFocused&&this.contains(this.currentFocused)||(this.currentFocused=this.getValidFocusableItem()),this.nested=this.checkForNestedItems()
|
|
1070
|
-
this.getVisibleNodes().forEach((t=>{
|
|
1071
|
-
if(!(t.target instanceof Element&&
|
|
1070
|
+
this.getVisibleNodes().forEach((t=>{Os(t)&&(t.nested=this.nested)}))},this.isFocusableElement=t=>Os(t),this.isSelectedElement=t=>t.selected}slottedTreeItemsChanged(){this.$fastController.isConnected&&this.setItems()}connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0"),b.queueUpdate((()=>{this.setItems()}))}handleClick(t){if(t.defaultPrevented)return
|
|
1071
|
+
if(!(t.target instanceof Element&&Os(t.target)))return!0
|
|
1072
1072
|
const e=t.target
|
|
1073
1073
|
e.disabled||(e.selected=!e.selected)}focusNextNode(t,e){const n=this.getVisibleNodes()
|
|
1074
1074
|
if(!n)return
|
|
1075
1075
|
const i=n[n.indexOf(e)+t]
|
|
1076
1076
|
Je(i)&&Rs.focusItem(i)}getValidFocusableItem(){const t=this.getVisibleNodes()
|
|
1077
1077
|
let e=t.findIndex(this.isSelectedElement)
|
|
1078
|
-
return-1===e&&(e=t.findIndex(this.isFocusableElement)),-1!==e?t[e]:null}checkForNestedItems(){return this.slottedTreeItems.some((t=>
|
|
1078
|
+
return-1===e&&(e=t.findIndex(this.isFocusableElement)),-1!==e?t[e]:null}checkForNestedItems(){return this.slottedTreeItems.some((t=>Os(t)&&t.querySelector("[role='treeitem']")))}getVisibleNodes(){return function(t,e){if(!t||!Je(t))return
|
|
1079
1079
|
return Array.from(t.querySelectorAll(e)).filter((t=>null!==t.offsetParent))}(this,"[role='treeitem']")||[]}}
|
|
1080
1080
|
ce([ft({attribute:"render-collapsed-nodes"})],Fs.prototype,"renderCollapsedNodes",void 0),ce([C],Fs.prototype,"currentSelected",void 0),ce([C],Fs.prototype,"slottedTreeItems",void 0)
|
|
1081
1081
|
const Ns=function(){if("boolean"==typeof Qe)return Qe
|
|
@@ -1106,7 +1106,7 @@ return new qs(zs(Number(n[0]),0,255),zs(Number(n[1]),0,255),zs(Number(n[2]),0,25
|
|
|
1106
1106
|
if(null===e)return null
|
|
1107
1107
|
const n=e[1].split(",")
|
|
1108
1108
|
return 4===n.length?new qs(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()]
|
|
1109
|
-
return e?new qs(e.r,e.g,e.b,e.hasOwnProperty("a")?e.a:void 0):null}(e):null}const Qs="#a46eff",to="#804ad9",eo="#ff8126",no="#009921",io="#00c12b",so="#c4000c",oo="#818386",ro="#f1f1f2",ao="#f5f5f5",lo="#ffffff",co="#363738",ho="#505153",uo="#000000",po="#161617",fo="#074023",mo="#009b65",go="#d63434",vo="#ff4b00",bo="#008557",yo="#00734b",wo="#00613f",xo="#32eb96",Co="#364941",ko="#356d54",So="#98f5ca",_o="#434445",Io="#e54c8a",Mo="#8e78b7",$o="Source Sans Pro",Do="Source Sans Pro",Eo="400",Ao="14px",
|
|
1109
|
+
return e?new qs(e.r,e.g,e.b,e.hasOwnProperty("a")?e.a:void 0):null}(e):null}const Qs="#a46eff",to="#804ad9",eo="#ff8126",no="#009921",io="#00c12b",so="#c4000c",oo="#818386",ro="#f1f1f2",ao="#f5f5f5",lo="#ffffff",co="#363738",ho="#505153",uo="#000000",po="#161617",fo="#074023",mo="#009b65",go="#d63434",vo="#ff4b00",bo="#008557",yo="#00734b",wo="#00613f",xo="#32eb96",Co="#364941",ko="#356d54",So="#98f5ca",_o="#434445",Io="#e54c8a",Mo="#8e78b7",$o="Source Sans Pro",Do="Source Sans Pro",Eo="400",Ao="14px",To="14px",Oo="18px",Ro="18px",Fo="14px",No={light:"light",dark:"dark",color:"color"},Lo="action-rgb-partial-color",Bo="application-background-color",Po="divider-background-color",Vo="header-background-color",zo="section-background-color",Ho="button-fill-primary-color",Uo="button-primary-font-color",qo="button-fill-accent-color",jo="button-accent-block-font-color",Wo="button-accent-outline-font-color",Go="button-border-accent-outline-color",Zo="fill-selected-color",Ko="fill-selected-rgb-partial-color",Yo="fill-hover-selected-color",Xo="fill-hover-color",Jo="fill-hover-rgb-partial-color",Qo="fill-down-color",tr="border-color",er="border-rgb-partial-color",nr="fail-color",ir="warning-color",sr="pass-color",or="information-color",rr="border-hover-color",ar="icon-color",lr="modal-backdrop-color",cr="popup-border-color",dr="card-border-color",hr="tag-fill-color",ur="control-height",pr="control-slim-height",fr="small-padding",mr="medium-padding",gr="standard-padding",vr="large-padding",br="label-height",yr="border-width",wr="icon-size",xr="group-header-text-transform",Cr="drawer-width",kr="dialog-small-width",Sr="dialog-small-height",_r="dialog-small-max-height",Ir="dialog-large-width",Mr="dialog-large-height",$r="dialog-large-max-height",Dr="menu-min-width",Er="banner-gap-size",Ar="spinner-small-height",Tr="spinner-medium-height",Or="spinner-large-height",Rr="table-fit-rows-height",Fr="small-delay",Nr="medium-delay",Lr="large-delay",Br="headline-plus-1-font",Pr="headline-font",Vr="table-header-font",zr="title-plus-2-font",Hr="title-plus-1-font",Ur="title-font",qr="subtitle-plus-1-font",jr="subtitle-font",Wr="link-font",Gr="link-active-font",Zr="link-prominent-font",Kr="link-active-prominent-font",Yr="placeholder-font",Xr="body-font",Jr="body-emphasized-font",Qr="body-plus-1-font",ta="body-plus-1-emphasized-font",ea="group-header-font",na="control-label-font",ia="button-label-font",sa="tooltip-caption-font",oa="tooltip-background-color",ra="error-text-font",aa="table-row-border-color",la="elevation-1-box-shadow",ca="elevation-2-box-shadow",da="elevation-3-box-shadow",ha="graph-gridline-color",ua="graph-trace-1-color",pa="graph-trace-2-color",fa="graph-trace-3-color",ma="graph-trace-4-color",ga="graph-trace-5-color",va="graph-trace-6-color",ba="graph-trace-7-color",ya="graph-trace-8-color",wa="mention-font",xa="calendar-event-background-static-color",Ca="calendar-event-background-dynamic-color",ka="calendar-event-background-transient-color",Sa="calendar-event-border-static-color",_a="calendar-event-border-transient-color",Ia="calendar-event-static-font-color",Ma="calendar-event-dynamic-font-color",$a="calendar-event-transient-font-color",Da="calendar-event-background-hover-static-color",Ea="calendar-event-background-hover-dynamic-color",Aa="calendar-event-background-hover-transient-color",Ta="calendar-row-background-selected-color",Oa="calendar-event-fill-blocked-color",Ra="calendar-grab-handle-background-color",Fa="calendar-grid-border-color",Na="calendar-group-header-background-color",La=t=>`ni-nimble-${t}`,Ba="horizontal"
|
|
1110
1110
|
function Pa(...t){return t.every((t=>t instanceof HTMLElement))}const Va="animationend",za="change",Ha="ArrowDown",Ua="ArrowLeft",qa="ArrowRight",ja="ArrowUp",Wa="End",Ga="Enter",Za="Escape",Ka="Home",Ya="PageDown",Xa="PageUp",Ja=" ",Qa="Tab"
|
|
1111
1111
|
var tl
|
|
1112
1112
|
!function(t){t.ltr="ltr",t.rtl="rtl"}(tl||(tl={}))
|
|
@@ -1132,10 +1132,10 @@ const xl=yi.create(La(tr)).withDefault((t=>fh(t))),Cl=yi.create(La(er)).withDefa
|
|
|
1132
1132
|
case No.dark:case No.color:return fl(uo,.6)
|
|
1133
1133
|
default:return fl(uo,.3)}}(t))),El=yi.create(La(cr)).withDefault((t=>fl(uh(t,po,ro,lo),.3))),Al=yi.create(La(dr)).withDefault((t=>fl(uh(t,po,ro,lo),.1)))
|
|
1134
1134
|
yi.create(La(ha)).withDefault((t=>fl(uh(t,po,ro,lo),.2))),yi.create(La(ua)).withDefault((t=>uh(t,"#312e7f","#3cb4e7",lo))),yi.create(La(pa)).withDefault((t=>uh(t,"#cd1722","#ef463f",fl(lo,.7)))),yi.create(La(fa)).withDefault((t=>uh(t,"#499146","#76bc43",fl(lo,.4)))),yi.create(La(ma)).withDefault((t=>uh(t,"#8c459a","#a5d8c8",fl(lo,.25)))),yi.create(La(ga)).withDefault((t=>uh(t,"#00685f","#00aba5",fl(lo,.55)))),yi.create(La(va)).withDefault((t=>uh(t,Io,Io,fl(lo,.85)))),yi.create(La(ba)).withDefault((t=>uh(t,"#371615","#ffe76b",fl(lo,.325)))),yi.create(La(ya)).withDefault((t=>uh(t,Mo,Mo,fl(lo,.625)))),yi.create(La(oa)).withDefault((t=>uh(t,ro,co,fo)))
|
|
1135
|
-
const
|
|
1135
|
+
const Tl=yi.create(La(aa)).withDefault((t=>uh(t,ro,ho,fo)))
|
|
1136
1136
|
yi.create(La(hr)).withDefault((t=>fl(uh(t,po,ro,lo),.1)))
|
|
1137
|
-
const
|
|
1138
|
-
yi.create(La(xa)).withDefault((t=>uh(t,"#e6f5f0",Co,Co))),yi.create(La(Ca)).withDefault((t=>uh(t,yo,bo,bo))),yi.create(La(ka)).withDefault((t=>uh(t,yo,bo,bo))),yi.create(La(Sa)).withDefault((t=>uh(t,mo,mo,mo))),yi.create(La(_a)).withDefault((t=>uh(t,mo,fl(xo,.85),fl(xo,.85)))),yi.create(La(Ia)).withDefault((t=>uh(t,wo,So,So))),yi.create(La(Ma)).withDefault((t=>uh(t,lo,lo,lo))),yi.create(La($a)).withDefault((t=>uh(t,lo,lo,lo))),yi.create(La(Da)).withDefault((t=>uh(t,"#b3e1d1",ko,ko))),yi.create(La(Ea)).withDefault((t=>uh(t,wo,yo,yo))),yi.create(La(Aa)).withDefault((t=>uh(t,wo,yo,yo))),yi.create(La(
|
|
1137
|
+
const Ol=yi.create(La(Ho)).withDefault((t=>uh(t,fl(po,.75),fl(ro,.3),fl(lo,.3)))),Rl=yi.create(La(Uo)).withDefault((t=>uh(t,ro,ro,lo))),Fl=yi.create(La(qo)).withDefault((t=>uh(t,bo,mo,fl(lo,.1)))),Nl=yi.create(La(jo)).withDefault((t=>uh(t,lo,ro,lo))),Ll=yi.create(La(Wo)).withDefault((t=>uh(t,yo,xo,lo))),Bl=yi.create(La(Go)).withDefault((t=>uh(t,mo,xo,fl(lo,.3))))
|
|
1138
|
+
yi.create(La(xa)).withDefault((t=>uh(t,"#e6f5f0",Co,Co))),yi.create(La(Ca)).withDefault((t=>uh(t,yo,bo,bo))),yi.create(La(ka)).withDefault((t=>uh(t,yo,bo,bo))),yi.create(La(Sa)).withDefault((t=>uh(t,mo,mo,mo))),yi.create(La(_a)).withDefault((t=>uh(t,mo,fl(xo,.85),fl(xo,.85)))),yi.create(La(Ia)).withDefault((t=>uh(t,wo,So,So))),yi.create(La(Ma)).withDefault((t=>uh(t,lo,lo,lo))),yi.create(La($a)).withDefault((t=>uh(t,lo,lo,lo))),yi.create(La(Da)).withDefault((t=>uh(t,"#b3e1d1",ko,ko))),yi.create(La(Ea)).withDefault((t=>uh(t,wo,yo,yo))),yi.create(La(Aa)).withDefault((t=>uh(t,wo,yo,yo))),yi.create(La(Ta)).withDefault((t=>uh(t,fl(mo,.2),fl(xo,.2),fl(xo,.2)))),yi.create(La(Oa)).withDefault((t=>uh(t,fl(po,.07),_o,_o))),yi.create(La(Ra)).withDefault((t=>uh(t,mo,xo,xo))),yi.create(La(Fa)).withDefault((t=>uh(t,"#e6e6e6",ho,ho))),yi.create(La(Na)).withDefault((t=>uh(t,ao,fl(po,.1),fl(po,.1))))
|
|
1139
1139
|
const Pl=yi.create(La(ur)).withDefault("32px"),Vl=yi.create(La(pr)).withDefault("24px"),zl=yi.create(La(fr)).withDefault("4px"),Hl=yi.create(La(mr)).withDefault("8px"),Ul=yi.create(La(gr)).withDefault("16px"),ql=yi.create(La(vr)).withDefault("24px")
|
|
1140
1140
|
yi.create(La(br)).withDefault("16px")
|
|
1141
1141
|
const jl=yi.create(La(yr)).withDefault("1px"),Wl=yi.create(La(wr)).withDefault("16px"),Gl=yi.create(La(Cr)).withDefault("784px"),Zl=yi.create(La(kr)).withDefault("400px"),Kl=yi.create(La(Sr)).withDefault("fit-content"),Yl=yi.create(La(_r)).withDefault("600px")
|
|
@@ -1143,17 +1143,17 @@ yi.create(La(Ir)).withDefault("1024px"),yi.create(La(Mr)).withDefault("680px"),y
|
|
|
1143
1143
|
const Xl=yi.create(La(Dr)).withDefault("176px")
|
|
1144
1144
|
yi.create(La(Er)).withDefault("1px")
|
|
1145
1145
|
const Jl=yi.create(La(Ar)).withDefault("16px")
|
|
1146
|
-
yi.create(La(
|
|
1146
|
+
yi.create(La(Tr)).withDefault("32px"),yi.create(La(Or)).withDefault("64px")
|
|
1147
1147
|
const Ql=yi.create(La(Rr)).withDefault("480px")
|
|
1148
1148
|
yi.create(La(la)).withDefault((t=>`0px 1px 4px ${fl(uh(t,uo,uo,uo),.16)}`))
|
|
1149
1149
|
const tc=yi.create(La(ca)).withDefault((t=>`0px 2px 4px ${fl(uh(t,uo,uo,uo),.16)}`)),ec=yi.create(La(da)).withDefault((t=>`0px 4px 8px ${fl(uh(t,uo,uo,uo),.3)}`))
|
|
1150
1150
|
hh(Pr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Noto Serif","400","25px","32px"),hh(Br,(t=>mh(t)),(t=>fl(mh(t),.3)),"Noto Serif","400","29.1px","40px"),hh(zr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","25px","32px")
|
|
1151
1151
|
const[nc,ic,sc,oc,rc,ac,lc]=hh(Hr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","22px","28px")
|
|
1152
1152
|
hh(Ur,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","19px","24px")
|
|
1153
|
-
const[cc,dc,hc,uc,pc,fc,mc]=hh(qr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","300","16px","20px"),[gc,vc,bc,yc,wc,xc,Cc]=hh(jr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","300","12.8px","16px"),[kc,Sc,_c,Ic,Mc,$c,Dc]=hh(Wr,(t=>mh(t)),(t=>fl(mh(t),.3)),Do,Eo,
|
|
1153
|
+
const[cc,dc,hc,uc,pc,fc,mc]=hh(qr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","300","16px","20px"),[gc,vc,bc,yc,wc,xc,Cc]=hh(jr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","300","12.8px","16px"),[kc,Sc,_c,Ic,Mc,$c,Dc]=hh(Wr,(t=>mh(t)),(t=>fl(mh(t),.3)),Do,Eo,To,Ro),[Ec,Ac,Tc,Oc,Rc,Fc,Nc]=hh(Gr,(t=>uh(t,mo,mo,fl(lo,.75))),(t=>fl(mh(t),.3)),Do,Eo,To,Ro),[Lc,Bc,Pc,Vc,zc,Hc,Uc]=hh(Zr,(t=>uh(t,yo,xo,lo)),(t=>fl(mh(t),.3)),Do,Eo,To,Ro),[qc,jc,Wc,Gc,Zc,Kc,Yc]=hh(Kr,(t=>uh(t,mo,mo,fl(lo,.75))),(t=>fl(mh(t),.3)),Do,Eo,To,Ro),[Xc,Jc,Qc,td,ed,nd,id]=hh(Yr,(t=>fl(mh(t),.6)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","14px","18px"),[sd,od,rd,ad,ld,cd,dd]=hh(Xr,(t=>mh(t)),(t=>fl(mh(t),.3)),$o,"400",Ao,Oo),[hd,ud,pd,fd,md,gd,vd]=hh(Jr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","14px","18px")
|
|
1154
1154
|
hh(Qr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","16px","16px"),hh(ta,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","16px","16px")
|
|
1155
|
-
const[bd,yd,wd,xd,Cd,kd,Sd]=hh(ea,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","11px","16px"),[_d,Id,Md,$d,Dd,Ed,Ad]=hh(na,(t=>fl(mh(t),.6)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","11px","16px"),[Od,
|
|
1156
|
-
hh(wa,(t=>uh(t,bo,xo,xo)),(t=>fl(mh(t),.3)),$o,"600",Ao,
|
|
1155
|
+
const[bd,yd,wd,xd,Cd,kd,Sd]=hh(ea,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","11px","16px"),[_d,Id,Md,$d,Dd,Ed,Ad]=hh(na,(t=>fl(mh(t),.6)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","11px","16px"),[Td,Od,Rd,Fd,Nd,Ld,Bd]=hh(ia,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","14px","16px"),[Pd,Vd,zd,Hd,Ud,qd,jd]=hh(sa,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","11px",Fo),[Wd,Gd,Zd,Kd,Yd,Xd,Jd]=hh(ra,(t=>ph(t)),(t=>fl(ph(t),.3)),"Source Sans Pro","400","11px",Fo),[Qd,th,eh,nh,ih,sh,oh]=hh(Vr,(t=>fl(mh(t),.6)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","12.8px",Fo)
|
|
1156
|
+
hh(wa,(t=>uh(t,bo,xo,xo)),(t=>fl(mh(t),.3)),$o,"600",Ao,Oo)
|
|
1157
1157
|
const rh=yi.create(La(xr)).withDefault("uppercase"),ah=yi.create(La(Fr)).withDefault("0.075s"),lh=yi.create(La(Nr)).withDefault("0.15s"),ch=yi.create(La(Lr)).withDefault("0.25s")
|
|
1158
1158
|
function dh(t){const{r:e,g:n,b:i}=Xs(t)
|
|
1159
1159
|
return`${255*e}, ${255*n}, ${255*i}`}function hh(t,e,n,i,s,o,r){if(""===t||""===i||""===s||""===o||""===r)throw new Error("createFontTokens parameter unexpectedly set to empty string")
|
|
@@ -1326,8 +1326,8 @@ class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1326
1326
|
:host {
|
|
1327
1327
|
background-color: transparent;
|
|
1328
1328
|
height: ${Pl};
|
|
1329
|
-
color: ${
|
|
1330
|
-
font: ${
|
|
1329
|
+
color: ${Od};
|
|
1330
|
+
font: ${Td};
|
|
1331
1331
|
cursor: pointer;
|
|
1332
1332
|
white-space: nowrap;
|
|
1333
1333
|
outline: none;
|
|
@@ -1386,7 +1386,7 @@ class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1386
1386
|
|
|
1387
1387
|
[part='start'] {
|
|
1388
1388
|
display: contents;
|
|
1389
|
-
${$l.cssCustomProperty}: ${
|
|
1389
|
+
${$l.cssCustomProperty}: ${Od};
|
|
1390
1390
|
}
|
|
1391
1391
|
|
|
1392
1392
|
slot[name='start']::slotted(*) {
|
|
@@ -1399,7 +1399,7 @@ class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1399
1399
|
|
|
1400
1400
|
[part='end'] {
|
|
1401
1401
|
display: contents;
|
|
1402
|
-
${$l.cssCustomProperty}: ${
|
|
1402
|
+
${$l.cssCustomProperty}: ${Od};
|
|
1403
1403
|
}
|
|
1404
1404
|
|
|
1405
1405
|
slot[name='end']::slotted(*) {
|
|
@@ -1429,7 +1429,7 @@ class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1429
1429
|
@layer active {
|
|
1430
1430
|
.control:active {
|
|
1431
1431
|
box-shadow: none;
|
|
1432
|
-
color: ${
|
|
1432
|
+
color: ${Od};
|
|
1433
1433
|
border-color: ${Ml};
|
|
1434
1434
|
background-image: linear-gradient(
|
|
1435
1435
|
${vl},
|
|
@@ -1444,7 +1444,7 @@ class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1444
1444
|
|
|
1445
1445
|
.control:active [part='start'],
|
|
1446
1446
|
.control:active [part='end'] {
|
|
1447
|
-
${$l.cssCustomProperty}: ${
|
|
1447
|
+
${$l.cssCustomProperty}: ${Od};
|
|
1448
1448
|
}
|
|
1449
1449
|
}
|
|
1450
1450
|
|
|
@@ -1467,7 +1467,7 @@ class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1467
1467
|
:host([disabled]) slot[name='start']::slotted(*),
|
|
1468
1468
|
:host([disabled]) slot[name='end']::slotted(*) {
|
|
1469
1469
|
opacity: 0.3;
|
|
1470
|
-
${$l.cssCustomProperty}: ${
|
|
1470
|
+
${$l.cssCustomProperty}: ${Od};
|
|
1471
1471
|
}
|
|
1472
1472
|
}
|
|
1473
1473
|
|
|
@@ -1567,11 +1567,11 @@ class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1567
1567
|
@layer base {
|
|
1568
1568
|
:host([appearance-variant='primary']) .control {
|
|
1569
1569
|
background-image: linear-gradient(
|
|
1570
|
-
${
|
|
1571
|
-
${
|
|
1570
|
+
${Ol},
|
|
1571
|
+
${Ol}
|
|
1572
1572
|
);
|
|
1573
1573
|
color: ${Rl};
|
|
1574
|
-
border-color: ${
|
|
1574
|
+
border-color: ${Ol};
|
|
1575
1575
|
}
|
|
1576
1576
|
|
|
1577
1577
|
:host([appearance-variant='accent']) .control {
|
|
@@ -1613,8 +1613,8 @@ class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1613
1613
|
pointer-events: none;
|
|
1614
1614
|
}
|
|
1615
1615
|
`
|
|
1616
|
-
class
|
|
1617
|
-
const Th
|
|
1616
|
+
class Th extends Ls{constructor(){super(...arguments),this.appearance=Ch,this.contentHidden=!1,this.disabled=!1}}t([ft],Th.prototype,"appearance",void 0),t([ft({attribute:"appearance-variant"})],Th.prototype,"appearanceVariant",void 0),t([ft({attribute:"content-hidden",mode:"boolean"})],Th.prototype,"contentHidden",void 0),t([ft({mode:"boolean"})],Th.prototype,"disabled",void 0)
|
|
1617
|
+
const Oh=Th.compose({baseName:"anchor-button",template:(t,e)=>Q`
|
|
1618
1618
|
<a
|
|
1619
1619
|
class="control"
|
|
1620
1620
|
part="control"
|
|
@@ -1655,7 +1655,7 @@ const Th=Oh.compose({baseName:"anchor-button",template:(t,e)=>Q`
|
|
|
1655
1655
|
${ae(0,e)}
|
|
1656
1656
|
</a>
|
|
1657
1657
|
`,styles:Ah,shadowOptions:{delegatesFocus:!0}})
|
|
1658
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
1658
|
+
_i.getOrCreate().withPrefix("nimble").register(Oh())
|
|
1659
1659
|
const Rh=Mt`
|
|
1660
1660
|
${Bs("grid")}
|
|
1661
1661
|
|
|
@@ -1774,7 +1774,7 @@ const Lh=Mt`
|
|
|
1774
1774
|
|
|
1775
1775
|
:host {
|
|
1776
1776
|
position: relative;
|
|
1777
|
-
font: ${
|
|
1777
|
+
font: ${Td};
|
|
1778
1778
|
height: ${Pl};
|
|
1779
1779
|
color: ${od};
|
|
1780
1780
|
align-items: center;
|
|
@@ -1995,7 +1995,7 @@ const Uh=Hh.compose({baseName:"button",baseClass:Fn,template:(t,e)=>Q`
|
|
|
1995
1995
|
</button>
|
|
1996
1996
|
`,styles:zh,shadowOptions:{delegatesFocus:!0}})
|
|
1997
1997
|
_i.getOrCreate().withPrefix("nimble").register(Uh())
|
|
1998
|
-
const qh="nimble-button",jh={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>'},Wh={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>'},Gh={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>'},Kh={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>'},Yh={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>'},Xh={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>'},Qh={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>'},tu={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>'},eu={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>'},nu={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>'},iu={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>'},su={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>'},ou={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>'},ru={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>'},au={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>'},lu={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>'},cu={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>'},du={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>'},hu={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>'},uu={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>'},pu={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>'},fu={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>'},mu={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>'},gu={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>'},vu={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>'},bu={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>'},yu={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>'},wu={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>'},xu={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>'},Cu={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>'},ku={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>'},Su={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>'},_u={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>'},Iu={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>'},Mu={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>'},$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>'},Du={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>'},Eu={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>'},Au={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>'},Ou={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>'},Tu={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>'},Ru={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>'},Fu={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>'},Nu={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>'},Lu={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>'},Bu={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>'},Pu={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>'},Vu={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>'},Hu={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>'},Uu={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>'},qu={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>'},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>'},Mp={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>'},$p={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:"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>'},wf={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>'},xf={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>'},Cf={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>'},kf={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>'},Sf={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>'},_f={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>'},If={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>'},Mf={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>'},$f={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>'},Df={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>'},Ef={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>'},Af={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>'},Of={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>'},Tf={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>'},Rf={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>'},Ff={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>'},Nf={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>'},Lf={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>'},Bf={name:"rectangle_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 2v11h10V2zm6 7H5V8h4zm2-2H5V6h6zm0-2H5V4h6z" class="cls-1"/></svg>'},Pf={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>'},Vf={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>'},zf={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>'},Hf={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>'},Uf={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>'},qf={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>'},jf={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>'},Wf={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>'},Gf={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>'},Zf={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>'},Kf={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>'},Yf={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>'},Xf={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>'},Jf={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>'},Qf={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>'},tm={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>'},em={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>'},nm={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>'},im={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>'},sm={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>'},om={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>'},rm={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>'},am={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>'},lm={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>'},cm={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>'},dm={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>'},hm={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>'},um={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>'},pm={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>'},fm={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>'},mm={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>'},gm={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>'},vm={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>'},bm={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>'},ym={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>'},wm={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>'},xm={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>'},Cm={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>'},km={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>'},Sm={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>'},_m={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>'},Im={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>'},Mm={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>'},$m={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>'},Dm={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>'},Em={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>'},Am={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>'},Om={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>'},Tm={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>'},Rm={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>'},Fm={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>'},Nm={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>'},Lm=Q`<div
|
|
1998
|
+
const qh="nimble-button",jh={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>'},Wh={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>'},Gh={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>'},Kh={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>'},Yh={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>'},Xh={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>'},Qh={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>'},tu={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>'},eu={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>'},nu={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>'},iu={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>'},su={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>'},ou={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>'},ru={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>'},au={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>'},lu={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>'},cu={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>'},du={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>'},hu={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>'},uu={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>'},pu={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>'},fu={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>'},mu={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>'},gu={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>'},vu={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>'},bu={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>'},yu={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>'},wu={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>'},xu={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>'},Cu={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>'},ku={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>'},Su={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>'},_u={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>'},Iu={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>'},Mu={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>'},$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>'},Du={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>'},Eu={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>'},Au={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>'},Tu={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>'},Ru={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>'},Fu={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>'},Nu={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>'},Lu={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>'},Bu={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>'},Pu={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>'},Vu={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>'},Hu={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>'},Uu={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>'},qu={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>'},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>'},Mp={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>'},$p={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>'},Tp={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>'},Op={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:"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>'},wf={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>'},xf={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>'},Cf={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>'},kf={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>'},Sf={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>'},_f={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>'},If={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>'},Mf={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>'},$f={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>'},Df={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>'},Ef={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>'},Af={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>'},Tf={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>'},Of={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>'},Rf={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>'},Ff={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>'},Nf={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>'},Lf={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>'},Bf={name:"rectangle_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 2v11h10V2zm6 7H5V8h4zm2-2H5V6h6zm0-2H5V4h6z" class="cls-1"/></svg>'},Pf={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>'},Vf={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>'},zf={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>'},Hf={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>'},Uf={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>'},qf={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>'},jf={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>'},Wf={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>'},Gf={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>'},Zf={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>'},Kf={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>'},Yf={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>'},Xf={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>'},Jf={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>'},Qf={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>'},tm={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>'},em={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>'},nm={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>'},im={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>'},sm={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>'},om={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>'},rm={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>'},am={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>'},lm={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>'},cm={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>'},dm={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>'},hm={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>'},um={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>'},pm={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>'},fm={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>'},mm={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>'},gm={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>'},vm={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>'},bm={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>'},ym={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>'},wm={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>'},xm={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>'},Cm={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>'},km={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>'},Sm={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>'},_m={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>'},Im={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>'},Mm={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>'},$m={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>'},Dm={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>'},Em={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>'},Am={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>'},Tm={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>'},Om={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>'},Rm={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>'},Fm={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>'},Nm={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>'},Lm=Q`<div
|
|
1999
1999
|
class="icon"
|
|
2000
2000
|
aria-hidden="true"
|
|
2001
2001
|
:innerHTML=${t=>t.icon.data}
|
|
@@ -2226,7 +2226,7 @@ const mg=Mt`
|
|
|
2226
2226
|
display: none;
|
|
2227
2227
|
}
|
|
2228
2228
|
`
|
|
2229
|
-
class gg extends Ls{constructor(){super(...arguments),this.selected=!1,this.disabled=!1}isNestedItem(){return
|
|
2229
|
+
class gg extends Ls{constructor(){super(...arguments),this.selected=!1,this.disabled=!1}isNestedItem(){return Os(this.parentElement)}handleFocus(t){this.setAttribute("tabindex","0")}handleBlur(t){this.setAttribute("tabindex","-1")}keydownHandler(t){if(t.defaultPrevented)return!1
|
|
2230
2230
|
switch(t.key){case Ga:t.stopPropagation()
|
|
2231
2231
|
break
|
|
2232
2232
|
case Ua:this.parentElement&&this.isNestedItem()&&Rs.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"})],gg.prototype,"selected",void 0),t([ft({mode:"boolean"})],gg.prototype,"disabled",void 0)
|
|
@@ -2415,7 +2415,7 @@ const $g="nimble-icon-info"
|
|
|
2415
2415
|
zm("icon-triangle-filled",class extends Vm{constructor(){super(bm)}})
|
|
2416
2416
|
const Dg="nimble-icon-triangle-filled"
|
|
2417
2417
|
zm("icon-times",class extends Vm{constructor(){super(mm)}})
|
|
2418
|
-
const Eg="nimble-icon-times",Ag={default:void 0,error:"error",warning:"warning",information:"information"},
|
|
2418
|
+
const Eg="nimble-icon-times",Ag={default:void 0,error:"error",warning:"warning",information:"information"},Tg=Q`
|
|
2419
2419
|
<${pl} theme="${No.color}">
|
|
2420
2420
|
<div class="container"
|
|
2421
2421
|
role="status"
|
|
@@ -2469,9 +2469,9 @@ const Eg="nimble-icon-times",Ag={default:void 0,error:"error",warning:"warning",
|
|
|
2469
2469
|
</div>
|
|
2470
2470
|
</${pl}>
|
|
2471
2471
|
`
|
|
2472
|
-
class
|
|
2473
|
-
this.$emit("toggle",t)}dismissBanner(){this.open=!1}}t([ft({mode:"boolean"})],
|
|
2474
|
-
const Rg=
|
|
2472
|
+
class Og extends We{constructor(){super(...arguments),this.open=!1,this.severity=Ag.default,this.titleHidden=!1,this.preventDismiss=!1}openChanged(){const t={newState:this.open,oldState:!this.open}
|
|
2473
|
+
this.$emit("toggle",t)}dismissBanner(){this.open=!1}}t([ft({mode:"boolean"})],Og.prototype,"open",void 0),t([ft()],Og.prototype,"severity",void 0),t([ft({attribute:"title-hidden",mode:"boolean"})],Og.prototype,"titleHidden",void 0),t([ft({attribute:"prevent-dismiss",mode:"boolean"})],Og.prototype,"preventDismiss",void 0),Ke(Og,wn)
|
|
2474
|
+
const Rg=Og.compose({baseName:"banner",template:Tg,styles:Ig})
|
|
2475
2475
|
_i.getOrCreate().withPrefix("nimble").register(Rg())
|
|
2476
2476
|
const Fg=Mt`
|
|
2477
2477
|
${Bs("inline-block")}
|
|
@@ -2679,8 +2679,8 @@ const Ug=Mt`
|
|
|
2679
2679
|
|
|
2680
2680
|
:host {
|
|
2681
2681
|
background-color: transparent;
|
|
2682
|
-
color: ${
|
|
2683
|
-
font: ${
|
|
2682
|
+
color: ${Od};
|
|
2683
|
+
font: ${Td};
|
|
2684
2684
|
cursor: pointer;
|
|
2685
2685
|
outline: none;
|
|
2686
2686
|
border: none;
|
|
@@ -3064,7 +3064,7 @@ const tv="nimble-checkbox",ev=Mt`
|
|
|
3064
3064
|
@layer checked {
|
|
3065
3065
|
.control[aria-pressed='true'] {
|
|
3066
3066
|
background-color: transparent;
|
|
3067
|
-
color: ${
|
|
3067
|
+
color: ${Od};
|
|
3068
3068
|
background-image: linear-gradient(
|
|
3069
3069
|
${vl},
|
|
3070
3070
|
${vl}
|
|
@@ -3074,7 +3074,7 @@ const tv="nimble-checkbox",ev=Mt`
|
|
|
3074
3074
|
|
|
3075
3075
|
.control[aria-pressed='true'] [part='start'],
|
|
3076
3076
|
.control[aria-pressed='true'] [part='end'] {
|
|
3077
|
-
${$l.cssCustomProperty}: ${
|
|
3077
|
+
${$l.cssCustomProperty}: ${Od};
|
|
3078
3078
|
}
|
|
3079
3079
|
}
|
|
3080
3080
|
|
|
@@ -3942,9 +3942,9 @@ this.resolveShow(t),this.resolveShow=void 0}openDialog(){this.dialog.showModal()
|
|
|
3942
3942
|
const Av=Ev.compose({baseName:"drawer",template:$v,styles:Mv})
|
|
3943
3943
|
_i.getOrCreate().withPrefix("nimble").register(Av())
|
|
3944
3944
|
zm("icon-add",class extends Vm{constructor(){super(jh)}})
|
|
3945
|
-
const
|
|
3945
|
+
const Tv="nimble-icon-add"
|
|
3946
3946
|
zm("icon-arrow-down",class extends Vm{constructor(){super(Wh)}})
|
|
3947
|
-
const
|
|
3947
|
+
const Ov="nimble-icon-arrow-down"
|
|
3948
3948
|
zm("icon-arrow-down-left-and-arrow-up-right",class extends Vm{constructor(){super(Gh)}})
|
|
3949
3949
|
zm("icon-arrow-down-rectangle",class extends Vm{constructor(){super(Zh)}})
|
|
3950
3950
|
zm("icon-arrow-down-right-and-arrow-up-left",class extends Vm{constructor(){super(Kh)}})
|
|
@@ -3982,8 +3982,8 @@ zm("icon-calendar-clock",class extends Vm{constructor(){super($u)}})
|
|
|
3982
3982
|
zm("icon-calendar-day",class extends Vm{constructor(){super(Du)}})
|
|
3983
3983
|
zm("icon-calendar-day-outline",class extends Vm{constructor(){super(Eu)}})
|
|
3984
3984
|
zm("icon-calendar-days",class extends Vm{constructor(){super(Au)}})
|
|
3985
|
-
zm("icon-calendar-lines",class extends Vm{constructor(){super(
|
|
3986
|
-
zm("icon-calendar-rectangle",class extends Vm{constructor(){super(
|
|
3985
|
+
zm("icon-calendar-lines",class extends Vm{constructor(){super(Tu)}})
|
|
3986
|
+
zm("icon-calendar-rectangle",class extends Vm{constructor(){super(Ou)}})
|
|
3987
3987
|
zm("icon-calendar-week",class extends Vm{constructor(){super(Ru)}})
|
|
3988
3988
|
zm("icon-chart-diagram",class extends Vm{constructor(){super(Fu)}})
|
|
3989
3989
|
zm("icon-chart-diagram-child-focus",class extends Vm{constructor(){super(Nu)}})
|
|
@@ -4035,8 +4035,8 @@ zm("icon-eye-dash",class extends Vm{constructor(){super($p)}})
|
|
|
4035
4035
|
zm("icon-fancy-a",class extends Vm{constructor(){super(Dp)}})
|
|
4036
4036
|
zm("icon-file",class extends Vm{constructor(){super(Ep)}})
|
|
4037
4037
|
zm("icon-file-arrow-curved-right",class extends Vm{constructor(){super(Ap)}})
|
|
4038
|
-
zm("icon-file-drawer",class extends Vm{constructor(){super(
|
|
4039
|
-
zm("icon-file-search",class extends Vm{constructor(){super(
|
|
4038
|
+
zm("icon-file-drawer",class extends Vm{constructor(){super(Tp)}})
|
|
4039
|
+
zm("icon-file-search",class extends Vm{constructor(){super(Op)}})
|
|
4040
4040
|
zm("icon-filter",class extends Vm{constructor(){super(Rp)}})
|
|
4041
4041
|
zm("icon-floppy-disk",class extends Vm{constructor(){super(Fp)}})
|
|
4042
4042
|
zm("icon-floppy-disk-checkmark",class extends Vm{constructor(){super(Np)}})
|
|
@@ -4092,8 +4092,8 @@ zm("icon-outward-squares-three",class extends Vm{constructor(){super($f)}})
|
|
|
4092
4092
|
zm("icon-paper-plane",class extends Vm{constructor(){super(Df)}})
|
|
4093
4093
|
zm("icon-paperclip",class extends Vm{constructor(){super(Ef)}})
|
|
4094
4094
|
zm("icon-paste",class extends Vm{constructor(){super(Af)}})
|
|
4095
|
-
zm("icon-pause",class extends Vm{constructor(){super(
|
|
4096
|
-
zm("icon-pencil",class extends Vm{constructor(){super(
|
|
4095
|
+
zm("icon-pause",class extends Vm{constructor(){super(Tf)}})
|
|
4096
|
+
zm("icon-pencil",class extends Vm{constructor(){super(Of)}})
|
|
4097
4097
|
zm("icon-play",class extends Vm{constructor(){super(Rf)}})
|
|
4098
4098
|
zm("icon-pot-with-lid",class extends Vm{constructor(){super(Ff)}})
|
|
4099
4099
|
zm("icon-question",class extends Vm{constructor(){super(Nf)}})
|
|
@@ -4147,8 +4147,8 @@ zm("icon-watch",class extends Vm{constructor(){super($m)}})
|
|
|
4147
4147
|
zm("icon-waveform",class extends Vm{constructor(){super(Dm)}})
|
|
4148
4148
|
zm("icon-webvi-custom",class extends Vm{constructor(){super(Em)}})
|
|
4149
4149
|
zm("icon-webvi-host",class extends Vm{constructor(){super(Am)}})
|
|
4150
|
-
zm("icon-window-code",class extends Vm{constructor(){super(
|
|
4151
|
-
zm("icon-window-text",class extends Vm{constructor(){super(
|
|
4150
|
+
zm("icon-window-code",class extends Vm{constructor(){super(Tm)}})
|
|
4151
|
+
zm("icon-window-text",class extends Vm{constructor(){super(Om)}})
|
|
4152
4152
|
zm("icon-wrench-hammer",class extends Vm{constructor(){super(Rm)}})
|
|
4153
4153
|
zm("icon-xmark",class extends Vm{constructor(){super(Fm)}})
|
|
4154
4154
|
zm("icon-xmark-check",class extends Vm{constructor(){super(Nm)}})
|
|
@@ -4235,12 +4235,12 @@ const Eb=Mt`
|
|
|
4235
4235
|
display: none;
|
|
4236
4236
|
}
|
|
4237
4237
|
`,Ab=t=>t.assignedNodes().map((t=>t.textContent?.trim())).filter((t=>void 0!==t&&""!==t)).join(" ")
|
|
4238
|
-
class
|
|
4238
|
+
class Tb extends Hn{constructor(){super(...arguments),this.hidden=!1,this.visuallyHidden=!1,this.activeOption=!1,this.hasOverflow=!1}get elementTextContent(){return Ab(this.contentSlot)}connectedCallback(){super.connectedCallback()
|
|
4239
4239
|
const t=this.getListOptionOwner()
|
|
4240
4240
|
t?.registerOption(this)}getListOptionOwner(){let t=this.parentElement
|
|
4241
4241
|
for(;t;){if(this.isListOptionOwner(t))return t
|
|
4242
|
-
t=t.parentElement}}isListOptionOwner(t){return!!t&&"function"==typeof t.registerOption}}t([ft({mode:"boolean"})],
|
|
4243
|
-
const Tb
|
|
4242
|
+
t=t.parentElement}}isListOptionOwner(t){return!!t&&"function"==typeof t.registerOption}}t([ft({mode:"boolean"})],Tb.prototype,"hidden",void 0),t([ft({attribute:"visually-hidden",mode:"boolean"})],Tb.prototype,"visuallyHidden",void 0),t([ft({attribute:"active-option",mode:"boolean"})],Tb.prototype,"activeOption",void 0),t([C],Tb.prototype,"hasOverflow",void 0)
|
|
4243
|
+
const Ob=Tb.compose({baseName:"list-option",baseClass:Hn,template:(t,e)=>Q`
|
|
4244
4244
|
<template
|
|
4245
4245
|
aria-checked="${t=>t.ariaChecked}"
|
|
4246
4246
|
aria-disabled="${t=>t.ariaDisabled}"
|
|
@@ -4263,7 +4263,7 @@ const Tb=Ob.compose({baseName:"list-option",baseClass:Hn,template:(t,e)=>Q`
|
|
|
4263
4263
|
${ae(0,e)}
|
|
4264
4264
|
</template>
|
|
4265
4265
|
`,styles:Eb})
|
|
4266
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
4266
|
+
_i.getOrCreate().withPrefix("nimble").register(Ob())
|
|
4267
4267
|
const Rb="nimble-list-option",Fb=Mt`
|
|
4268
4268
|
${Bs("flex")}
|
|
4269
4269
|
|
|
@@ -4341,12 +4341,12 @@ const Rb="nimble-list-option",Fb=Mt`
|
|
|
4341
4341
|
</span>
|
|
4342
4342
|
<span class="content" part="content" role="none">
|
|
4343
4343
|
<slot name="option"
|
|
4344
|
-
${ie({flatten:!0,filter:t=>(t=>t instanceof
|
|
4344
|
+
${ie({flatten:!0,filter:t=>(t=>t instanceof Tb)(t),property:"listOptions"})}
|
|
4345
4345
|
></slot>
|
|
4346
4346
|
</span>
|
|
4347
4347
|
</template>
|
|
4348
4348
|
`
|
|
4349
|
-
class Lb extends We{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?Ab(this.labelSlot):""}clickHandler(t){t.preventDefault(),t.stopImmediatePropagation()}handleChange(t,e){t instanceof
|
|
4349
|
+
class Lb extends We{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?Ab(this.labelSlot):""}clickHandler(t){t.preventDefault(),t.stopImmediatePropagation()}handleChange(t,e){t instanceof Tb&&("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)
|
|
4350
4350
|
e.unsubscribe(this,"hidden"),e.unsubscribe(this,"visuallyHidden")}))
|
|
4351
4351
|
let n=!0
|
|
4352
4352
|
e?.forEach((t=>{const e=x.getNotifier(t)
|
|
@@ -4985,9 +4985,9 @@ const fy=py.compose({baseName:"number-field",baseClass:Zi,template:(t,e)=>Q`
|
|
|
4985
4985
|
aria-hidden="true"
|
|
4986
4986
|
>
|
|
4987
4987
|
${t=>ig.getValueFor(t)}
|
|
4988
|
-
<${
|
|
4988
|
+
<${Tv}
|
|
4989
4989
|
slot="start">
|
|
4990
|
-
</${
|
|
4990
|
+
</${Tv}>
|
|
4991
4991
|
</${qh}>
|
|
4992
4992
|
`,end:Q`
|
|
4993
4993
|
<${Mg}
|
|
@@ -5265,7 +5265,7 @@ if(e instanceof t)return[e]
|
|
|
5265
5265
|
let n=e.slice()
|
|
5266
5266
|
return n.sort(((t,e)=>t.type.rank-e.type.rank)),n}}
|
|
5267
5267
|
$y.none=[]
|
|
5268
|
-
class Dy extends Error{}class Ey{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=
|
|
5268
|
+
class Dy extends Error{}class Ey{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=Ty(this.content,t+this.openStart,e)
|
|
5269
5269
|
return n&&new Ey(n,this.openStart,this.openEnd)}removeBetween(t,e){return new Ey(Ay(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
|
|
5270
5270
|
let t={content:this.content.toJSON()}
|
|
5271
5271
|
return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return Ey.empty
|
|
@@ -5277,10 +5277,10 @@ for(let n=t.lastChild;n&&!n.isLeaf&&(e||!n.type.spec.isolating);n=n.lastChild)i+
|
|
|
5277
5277
|
return new Ey(t,n,i)}}function Ay(t,e,n){let{index:i,offset:s}=t.findIndex(e),o=t.maybeChild(i),{index:r,offset:a}=t.findIndex(n)
|
|
5278
5278
|
if(s==e||o.isText){if(a!=n&&!t.child(r).isText)throw new RangeError("Removing non-flat range")
|
|
5279
5279
|
return t.cut(0,e).append(t.cut(n))}if(i!=r)throw new RangeError("Removing non-flat range")
|
|
5280
|
-
return t.replaceChild(i,o.copy(Ay(o.content,e-s-1,n-s-1)))}function
|
|
5280
|
+
return t.replaceChild(i,o.copy(Ay(o.content,e-s-1,n-s-1)))}function Ty(t,e,n,i){let{index:s,offset:o}=t.findIndex(e),r=t.maybeChild(s)
|
|
5281
5281
|
if(o==e||r.isText)return t.cut(0,e).append(n).append(t.cut(e))
|
|
5282
|
-
let a=
|
|
5283
|
-
return a&&t.replaceChild(s,r.copy(a))}function
|
|
5282
|
+
let a=Ty(r.content,e-o-1,n)
|
|
5283
|
+
return a&&t.replaceChild(s,r.copy(a))}function Oy(t,e,n){if(n.openStart>t.depth)throw new Dy("Inserted content deeper than insertion position")
|
|
5284
5284
|
if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Dy("Inconsistent open depths")
|
|
5285
5285
|
return Ry(t,e,n,0)}function Ry(t,e,n,i){let s=t.index(i),o=t.node(i)
|
|
5286
5286
|
if(s==e.index(i)&&i<t.depth-n.openStart){let r=Ry(t,e,n,i+1)
|
|
@@ -5334,7 +5334,7 @@ return n.i=(n.i+1)%qy,i}}class Uy{constructor(){this.elts=[],this.i=0}}const qy=
|
|
|
5334
5334
|
class Wy{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 Gy=Object.create(null)
|
|
5335
5335
|
let Zy=class t{constructor(t,e,n,i=$y.none){this.type=t,this.attrs=e,this.marks=i,this.content=n||Sy.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&&My(this.attrs,e||t.defaultAttrs||Gy)&&$y.sameSet(this.marks,n||$y.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 Ey.empty
|
|
5336
5336
|
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)
|
|
5337
|
-
return new Ey(a,i.depth-o,s.depth-o)}replace(t,e,n){return
|
|
5337
|
+
return new Ey(a,i.depth-o,s.depth-o)}replace(t,e,n){return Oy(this.resolve(t),this.resolve(e),n)}nodeAt(t){for(let e=this;;){let{index:n,offset:i}=e.content.findIndex(t)
|
|
5338
5338
|
if(e=e.maybeChild(n),!e)return null
|
|
5339
5339
|
if(i==t||e.isText)return e
|
|
5340
5340
|
t-=i+1}}childAfter(t){let{index:e,offset:n}=this.content.findIndex(t)
|
|
@@ -5643,7 +5643,7 @@ if(0===o){if(s<e.length-1||s>d)throw new RangeError("Content hole must be the on
|
|
|
5643
5643
|
return{dom:l,contentDOM:l}}{let{dom:e,contentDOM:s}=Ew(t,o,n,i)
|
|
5644
5644
|
if(l.appendChild(e),s){if(r)throw new RangeError("Multiple content holes")
|
|
5645
5645
|
r=s}}}return{dom:l,contentDOM:r}}const Aw=Math.pow(2,16)
|
|
5646
|
-
function
|
|
5646
|
+
function Tw(t){return 65535&t}class Ow{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 Rw{constructor(t,e=!1){if(this.ranges=t,this.inverted=e,!t.length&&Rw.empty)return Rw.empty}recover(t){let e=0,n=Tw(t)
|
|
5647
5647
|
if(!this.inverted)for(let t=0;t<n;t++)e+=this.ranges[3*t+2]-this.ranges[3*t+1]
|
|
5648
5648
|
return this.ranges[3*n]+e+function(t){return(t-(65535&t))/Aw}(t)}mapResult(t,e=1){return this._map(t,e,!1)}map(t,e=1){return this._map(t,e,!0)}_map(t,e,n){let i=0,s=this.inverted?2:1,o=this.inverted?1:2
|
|
5649
5649
|
for(let r=0;r<this.ranges.length;r+=3){let a=this.ranges[r]-(this.inverted?i:0)
|
|
@@ -5652,7 +5652,7 @@ let l=this.ranges[r+s],c=this.ranges[r+o],d=a+l
|
|
|
5652
5652
|
if(t<=d){let s=a+i+((l?t==a?-1:t==d?1:e:e)<0?0:c)
|
|
5653
5653
|
if(n)return s
|
|
5654
5654
|
let o=t==(e<0?a:d)?null:r/3+(t-a)*Aw,h=t==a?2:t==d?1:4
|
|
5655
|
-
return(e<0?t!=a:t!=d)&&(h|=8),new
|
|
5655
|
+
return(e<0?t!=a:t!=d)&&(h|=8),new Ow(s,h,o)}i+=c-l}return n?t+i:new Ow(t+i,0,null)}touches(t,e){let n=0,i=Tw(e),s=this.inverted?2:1,o=this.inverted?1:2
|
|
5656
5656
|
for(let e=0;e<this.ranges.length;e+=3){let r=this.ranges[e]-(this.inverted?n:0)
|
|
5657
5657
|
if(r>t)break
|
|
5658
5658
|
let a=this.ranges[e+s]
|
|
@@ -5669,7 +5669,7 @@ return t}mapResult(t,e=1){return this._map(t,e,!1)}_map(t,e,n){let i=0
|
|
|
5669
5669
|
for(let n=this.from;n<this.to;n++){let s=this.maps[n].mapResult(t,e)
|
|
5670
5670
|
if(null!=s.recover){let e=this.getMirror(n)
|
|
5671
5671
|
if(null!=e&&e>n&&e<this.to){n=e,t=this.maps[e].recover(s.recover)
|
|
5672
|
-
continue}}i|=s.delInfo,t=s.pos}return n?t:new
|
|
5672
|
+
continue}}i|=s.delInfo,t=s.pos}return n?t:new Ow(t,i,null)}}const Nw=Object.create(null)
|
|
5673
5673
|
class Lw{getMap(){return Rw.empty}merge(t){return null}static fromJSON(t,e){if(!e||!e.stepType)throw new RangeError("Invalid input for Step.fromJSON")
|
|
5674
5674
|
let n=Nw[e.stepType]
|
|
5675
5675
|
if(!n)throw new RangeError(`No step type ${e.stepType} defined`)
|
|
@@ -5971,9 +5971,9 @@ if(null==e)return t?this.replaceSelectionWith(i.text(t),!0):this.deleteSelection
|
|
|
5971
5971
|
let s=this.storedMarks
|
|
5972
5972
|
if(!s){let t=this.doc.resolve(e)
|
|
5973
5973
|
s=n==e?t.marks():t.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(e,n,i.text(t,s)),this.selection.empty||this.setSelection(yx.near(this.selection.$to)),this}}setMeta(t,e){return this.meta["string"==typeof t?t:t.key]=e,this}getMeta(t){return this.meta["string"==typeof t?t:t.key]}get isGeneric(){for(let t in this.meta)return!1
|
|
5974
|
-
return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function
|
|
5974
|
+
return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function Tx(t,e){return e&&t?t.bind(e):t}class Ox{constructor(t,e,n){this.name=t,this.init=Tx(e.init,n),this.apply=Tx(e.apply,n)}}const Rx=[new Ox("doc",{init:t=>t.doc||t.schema.topNodeType.createAndFill(),apply:t=>t.doc}),new Ox("selection",{init:(t,e)=>t.selection||yx.atStart(e.doc),apply:t=>t.selection}),new Ox("storedMarks",{init:t=>t.storedMarks||null,apply:(t,e,n,i)=>i.selection.$cursor?t.storedMarks:null}),new Ox("scrollToSelection",{init:()=>0,apply:(t,e)=>t.scrolledIntoView?e+1:e})]
|
|
5975
5975
|
let Fx=class{constructor(t,e){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Rx.slice(),e&&e.forEach((t=>{if(this.pluginsByKey[t.key])throw new RangeError("Adding different instances of a keyed plugin ("+t.key+")")
|
|
5976
|
-
this.plugins.push(t),this.pluginsByKey[t.key]=t,t.spec.state&&this.fields.push(new
|
|
5976
|
+
this.plugins.push(t),this.pluginsByKey[t.key]=t,t.spec.state&&this.fields.push(new Ox(t.key,t.spec.state,t))}))}}
|
|
5977
5977
|
class Nx{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,e=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=e){let e=this.config.plugins[n]
|
|
5978
5978
|
if(e.spec.filterTransaction&&!e.spec.filterTransaction.call(e,t,this))return!1}return!0}applyTransaction(t){if(!this.filterTransaction(t))return{state:this,transactions:[]}
|
|
5979
5979
|
let e=[t],n=this.applyInner(t),i=null
|
|
@@ -6066,18 +6066,18 @@ let l=t.docView.nearestDesc(a,!0)
|
|
|
6066
6066
|
return{pos:r,inside:l?l.posAtStart-l.border:-1}}function DC(t){return t.top<t.bottom||t.left<t.right}function EC(t,e){let n=t.getClientRects()
|
|
6067
6067
|
if(n.length){let t=n[e<0?0:n.length-1]
|
|
6068
6068
|
if(DC(t))return t}return Array.prototype.find.call(n,DC)||t.getBoundingClientRect()}const AC=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/
|
|
6069
|
-
function
|
|
6069
|
+
function TC(t,e,n){let{node:i,offset:s,atom:o}=t.docView.domFromPos(e,n<0?-1:1),r=gC||aC
|
|
6070
6070
|
if(3==i.nodeType){if(!r||!AC.test(i.nodeValue)&&(n<0?s:s!=i.nodeValue.length)){let t=s,e=s,o=n<0?1:-1
|
|
6071
|
-
return n<0&&!s?(e++,o=-1):n>=0&&s==i.nodeValue.length?(t--,o=1):n<0?t--:e++,
|
|
6071
|
+
return n<0&&!s?(e++,o=-1):n>=0&&s==i.nodeValue.length?(t--,o=1):n<0?t--:e++,OC(EC(jx(i,t,e),o),o<0)}{let t=EC(jx(i,s,s),n)
|
|
6072
6072
|
if(aC&&s&&/\s/.test(i.nodeValue[s-1])&&s<i.nodeValue.length){let e=EC(jx(i,s-1,s-1),-1)
|
|
6073
6073
|
if(e.top==t.top){let n=EC(jx(i,s,s+1),-1)
|
|
6074
|
-
if(n.top!=t.top)return
|
|
6074
|
+
if(n.top!=t.top)return OC(n,n.left<e.left)}}return t}}if(!t.state.doc.resolve(e-(o||0)).parent.inlineContent){if(null==o&&s&&(n<0||s==Kx(i))){let t=i.childNodes[s-1]
|
|
6075
6075
|
if(1==t.nodeType)return RC(t.getBoundingClientRect(),!1)}if(null==o&&s<Kx(i)){let t=i.childNodes[s]
|
|
6076
6076
|
if(1==t.nodeType)return RC(t.getBoundingClientRect(),!0)}return RC(i.getBoundingClientRect(),n>=0)}if(null==o&&s&&(n<0||s==Kx(i))){let t=i.childNodes[s-1],e=3==t.nodeType?jx(t,Kx(t)-(r?0:1)):1!=t.nodeType||"BR"==t.nodeName&&t.nextSibling?null:t
|
|
6077
|
-
if(e)return
|
|
6077
|
+
if(e)return OC(EC(e,1),!1)}if(null==o&&s<Kx(i)){let t=i.childNodes[s]
|
|
6078
6078
|
for(;t.pmViewDesc&&t.pmViewDesc.ignoreForCoords;)t=t.nextSibling
|
|
6079
6079
|
let e=t?3==t.nodeType?jx(t,0,r?0:1):1==t.nodeType?t:null:null
|
|
6080
|
-
if(e)return
|
|
6080
|
+
if(e)return OC(EC(e,-1),!0)}return OC(EC(3==i.nodeType?jx(i):i,-n),n>=0)}function OC(t,e){if(0==t.width)return t
|
|
6081
6081
|
let n=e?t.left:t.right
|
|
6082
6082
|
return{top:t.top,bottom:t.bottom,left:n,right:n}}function RC(t,e){if(0==t.height)return t
|
|
6083
6083
|
let n=e?t.top:t.bottom
|
|
@@ -6090,7 +6090,7 @@ return FC(t,e,(()=>{let{node:e}=t.docView.domFromPos(s.pos,"up"==n?-1:1)
|
|
|
6090
6090
|
for(;;){let n=t.docView.nearestDesc(e,!0)
|
|
6091
6091
|
if(!n)break
|
|
6092
6092
|
if(n.node.isBlock){e=n.contentDOM||n.dom
|
|
6093
|
-
break}e=n.dom.parentNode}let i=
|
|
6093
|
+
break}e=n.dom.parentNode}let i=TC(t,s.pos,1)
|
|
6094
6094
|
for(let t=e.firstChild;t;t=t.nextSibling){let e
|
|
6095
6095
|
if(1==t.nodeType)e=t.getClientRects()
|
|
6096
6096
|
else{if(3!=t.nodeType)continue
|
|
@@ -6124,8 +6124,9 @@ if(o&&(!e||o.node)){if(!n||!(s=o.nodeDOM)||(1==s.nodeType?s.contains(1==t.nodeTy
|
|
|
6124
6124
|
n=!1}}}getDesc(t){let e=t.pmViewDesc
|
|
6125
6125
|
for(let t=e;t;t=t.parent)if(t==this)return e}posFromDOM(t,e,n){for(let i=t;i;i=i.parentNode){let s=this.getDesc(i)
|
|
6126
6126
|
if(s)return s.localPosFromDOM(t,e,n)}return-1}descAt(t){for(let e=0,n=0;e<this.children.length;e++){let i=this.children[e],s=n+i.size
|
|
6127
|
-
if(n==t&&s!=n){for(;!i.border&&i.children.length;)i=i.children[
|
|
6128
|
-
|
|
6127
|
+
if(n==t&&s!=n){for(;!i.border&&i.children.length;)for(let t=0;t<i.children.length;t++){let e=i.children[t]
|
|
6128
|
+
if(e.size){i=e
|
|
6129
|
+
break}}return i}if(t<s)return i.descAt(t-n-i.border)
|
|
6129
6130
|
n=s}}domFromPos(t,e){if(!this.contentDOM)return{node:this.dom,offset:0,atom:t+1}
|
|
6130
6131
|
let n=0,i=0
|
|
6131
6132
|
for(let e=0;n<this.children.length;n++){let s=this.children[n],o=e+s.size
|
|
@@ -6407,7 +6408,7 @@ if(!s)return!1
|
|
|
6407
6408
|
if(t.endOfTextblock(e>0?"forward":"backward"))return!0
|
|
6408
6409
|
let o=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter)
|
|
6409
6410
|
if(o&&!o.isText){let i=t.state.tr
|
|
6410
|
-
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 Ak(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function
|
|
6411
|
+
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 Ak(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function Tk(t,e){let n=e.keyCode,i=function(t){let e=""
|
|
6411
6412
|
return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}(e)
|
|
6412
6413
|
if(8==n||pC&&72==n&&"c"==i)return Ek(t,-1)||_k(t,-1)
|
|
6413
6414
|
if(46==n&&!e.shiftKey||pC&&68==n&&"c"==i)return Ek(t,1)||_k(t,1)
|
|
@@ -6417,7 +6418,7 @@ return Ck(t,e,i)||_k(t,e)}if(39==n||pC&&70==n&&"c"==i){let e=39==n?"ltr"==$k(t,t
|
|
|
6417
6418
|
return Ck(t,e,i)||_k(t,e)}return 38==n||pC&&80==n&&"c"==i?Dk(t,-1,i)||_k(t,-1):40==n||pC&&78==n&&"c"==i?function(t){if(!hC||t.state.selection.$head.parentOffset>0)return!1
|
|
6418
6419
|
let{focusNode:e,focusOffset:n}=t.domSelectionRange()
|
|
6419
6420
|
if(e&&1==e.nodeType&&0==n&&e.firstChild&&"false"==e.firstChild.contentEditable){let n=e.firstChild
|
|
6420
|
-
Ak(t,n,"true"),setTimeout((()=>Ak(t,n,"false")),20)}return!1}(t)||Dk(t,1,i)||_k(t,1):i==(pC?"m":"c")&&(66==n||73==n||89==n||90==n)}function
|
|
6421
|
+
Ak(t,n,"true"),setTimeout((()=>Ak(t,n,"false")),20)}return!1}(t)||Dk(t,1,i)||_k(t,1):i==(pC?"m":"c")&&(66==n||73==n||89==n||90==n)}function Ok(t,e){t.someProp("transformCopied",(n=>{e=n(e,t)}))
|
|
6421
6422
|
let n=[],{content:i,openStart:s,openEnd:o}=e
|
|
6422
6423
|
for(;s>1&&o>1&&1==i.childCount&&1==i.firstChild.childCount;){s--,o--
|
|
6423
6424
|
let t=i.firstChild
|
|
@@ -6500,7 +6501,7 @@ for(let e=s.depth+1;e>0;e--){let n=e>s.depth?s.nodeAfter:s.node(e),o=s.before(e)
|
|
|
6500
6501
|
if(n.inlineContent)eS(t,kx.create(i,o+1,o+1+n.content.size))
|
|
6501
6502
|
else{if(!_x.isSelectable(n))continue
|
|
6502
6503
|
eS(t,_x.create(i,o))}return!0}}(t,n,i)}function oS(t){return pS(t)}Wk.keydown=(t,e)=>{let n=e
|
|
6503
|
-
if(t.input.shiftKey=16==n.keyCode||n.shiftKey,!lS(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!mC||!cC||13!=n.keyCode))if(229!=n.keyCode&&t.domObserver.forceFlush(),!uC||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)t.someProp("handleKeyDown",(e=>e(t,n)))||
|
|
6504
|
+
if(t.input.shiftKey=16==n.keyCode||n.shiftKey,!lS(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!mC||!cC||13!=n.keyCode))if(229!=n.keyCode&&t.domObserver.forceFlush(),!uC||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)t.someProp("handleKeyDown",(e=>e(t,n)))||Tk(t,n)?n.preventDefault():Kk(t,"key")
|
|
6504
6505
|
else{let e=Date.now()
|
|
6505
6506
|
t.input.lastIOSEnter=e,t.input.lastIOSEnterFallbackTimeout=setTimeout((()=>{t.input.lastIOSEnter==e&&(t.someProp("handleKeyDown",(e=>e(t,Jx(13,"Enter")))),t.input.lastIOSEnter=0)}),200)}},Wk.keyup=(t,e)=>{16==e.keyCode&&(t.input.shiftKey=!1)},Wk.keypress=(t,e)=>{let n=e
|
|
6506
6507
|
if(lS(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||pC&&n.metaKey)return
|
|
@@ -6558,7 +6559,7 @@ if(e)return e
|
|
|
6558
6559
|
let n=t.getData("text/uri-list")
|
|
6559
6560
|
return n?n.replace(/\r?\n/g," "):""}jk.copy=Wk.cut=(t,e)=>{let n=e,i=t.state.selection,s="cut"==n.type
|
|
6560
6561
|
if(i.empty)return
|
|
6561
|
-
let o=fS?null:n.clipboardData,r=i.content(),{dom:a,text:l}=
|
|
6562
|
+
let o=fS?null:n.clipboardData,r=i.content(),{dom:a,text:l}=Ok(t,r)
|
|
6562
6563
|
o?(n.preventDefault(),o.clearData(),o.setData("text/html",a.innerHTML),o.setData("text/plain",l)):function(t,e){if(!t.dom.parentNode)return
|
|
6563
6564
|
let n=t.dom.parentNode.appendChild(document.createElement("div"))
|
|
6564
6565
|
n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px"
|
|
@@ -6577,7 +6578,7 @@ if(i&&i.done(),!n.dataTransfer)return
|
|
|
6577
6578
|
let s,o=t.state.selection,r=o.empty?null:t.posAtCoords(Qk(n))
|
|
6578
6579
|
if(r&&r.pos>=o.from&&r.pos<=(o instanceof _x?o.to-1:o.to));else if(i&&i.mightDrag)s=_x.create(t.state.doc,i.mightDrag.pos)
|
|
6579
6580
|
else if(n.target&&1==n.target.nodeType){let e=t.docView.nearestDesc(n.target,!0)
|
|
6580
|
-
e&&e.node.type.spec.draggable&&e!=t.docView&&(s=_x.create(t.state.doc,e.posBefore))}let a=(s||t.state.selection).content(),{dom:l,text:c,slice:d}=
|
|
6581
|
+
e&&e.node.type.spec.draggable&&e!=t.docView&&(s=_x.create(t.state.doc,e.posBefore))}let a=(s||t.state.selection).content(),{dom:l,text:c,slice:d}=Ok(t,a);(!n.dataTransfer.files.length||!cC||dC>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(fS?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",fS||n.dataTransfer.setData("text/plain",c),t.dragging=new vS(d,!n[bS],s)},jk.dragend=t=>{let e=t.dragging
|
|
6581
6582
|
window.setTimeout((()=>{t.dragging==e&&(t.dragging=null)}),50)},Wk.dragover=Wk.dragenter=(t,e)=>e.preventDefault(),Wk.drop=(t,e)=>{let n=e,i=t.dragging
|
|
6582
6583
|
if(t.dragging=null,!n.dataTransfer)return
|
|
6583
6584
|
let s=t.posAtCoords(Qk(n))
|
|
@@ -6622,7 +6623,7 @@ if(s.deleted)return null
|
|
|
6622
6623
|
let o=t.mapResult(e.to+i,-1)
|
|
6623
6624
|
return o.deleted||o.pos<=s.pos?null:new kS(s.pos-n,o.pos-n,this)}valid(t,e){let n,{index:i,offset:s}=t.content.findIndex(e.from)
|
|
6624
6625
|
return s==e.from&&!(n=t.child(i)).isText&&s+n.nodeSize==e.to}eq(t){return this==t||t instanceof CS&&yS(this.attrs,t.attrs)&&yS(this.spec,t.spec)}destroy(){}}class kS{constructor(t,e,n){this.from=t,this.to=e,this.type=n}copy(t,e){return new kS(t,e,this.type)}eq(t,e=0){return this.type.eq(t.type)&&this.from+e==t.from&&this.to+e==t.to}map(t,e,n){return this.type.map(t,this,e,n)}static widget(t,e,n){return new kS(t,t,new wS(e,n))}static inline(t,e,n,i){return new kS(t,e,new xS(n,i))}static node(t,e,n,i){return new kS(t,e,new CS(n,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof xS}get widget(){return this.type instanceof wS}}const SS=[],_S={}
|
|
6625
|
-
class IS{constructor(t,e){this.local=t.length?t:SS,this.children=e.length?e:SS}static create(t,e){return e.length?
|
|
6626
|
+
class IS{constructor(t,e){this.local=t.length?t:SS,this.children=e.length?e:SS}static create(t,e){return e.length?TS(e,t,0,_S):MS}find(t,e,n){let i=[]
|
|
6626
6627
|
return this.findInner(null==t?0:t,null==e?1e9:e,i,0,n),i}findInner(t,e,n,i,s){for(let o=0;o<this.local.length;o++){let r=this.local[o]
|
|
6627
6628
|
r.from<=e&&r.to>=t&&(!s||s(r.spec))&&n.push(r.copy(r.from+i,r.to+i))}for(let o=0;o<this.children.length;o+=3)if(this.children[o]<e&&this.children[o+1]>t){let r=this.children[o]+1
|
|
6628
6629
|
this.children[o+2].findInner(t-r,e-r,n,i+r,s)}}map(t,e,n){return this==MS||0==t.maps.length?this:this.mapInner(t,e,0,0,n||_S)}mapInner(t,e,n,i,s){let o
|
|
@@ -6641,18 +6642,18 @@ continue}let h=n.map(t[e+1]+o,-1)-s,{index:u,offset:p}=i.content.findIndex(d),f=
|
|
|
6641
6642
|
if(f&&p==d&&p+f.nodeSize==h){let i=a[e+2].mapInner(n,f,c+1,t[e]+o+1,r)
|
|
6642
6643
|
i!=MS?(a[e]=d,a[e+1]=h,a[e+2]=i):(a[e+1]=-2,l=!0)}else l=!0}if(l){let l=function(t,e,n,i,s,o,r){function a(t,e){for(let o=0;o<t.local.length;o++){let a=t.local[o].map(i,s,e)
|
|
6643
6644
|
a?n.push(a):r.onRemove&&r.onRemove(t.local[o].spec)}for(let n=0;n<t.children.length;n+=3)a(t.children[n+2],t.children[n]+e+1)}for(let n=0;n<t.length;n+=3)-1==t[n+1]&&a(t[n+2],e[n]+o+1)
|
|
6644
|
-
return n}(a,t,e,n,s,o,r),c=
|
|
6645
|
+
return n}(a,t,e,n,s,o,r),c=TS(l,i,0,r)
|
|
6645
6646
|
e=c.local
|
|
6646
6647
|
for(let t=0;t<a.length;t+=3)a[t+1]<0&&(a.splice(t,3),t-=3)
|
|
6647
6648
|
for(let t=0,e=0;t<c.children.length;t+=3){let n=c.children[t]
|
|
6648
6649
|
for(;e<a.length&&a[e]<n;)e+=3
|
|
6649
|
-
a.splice(e,0,c.children[t],c.children[t+1],c.children[t+2])}}return new IS(e.sort(
|
|
6650
|
+
a.splice(e,0,c.children[t],c.children[t+1],c.children[t+2])}}return new IS(e.sort(OS),a)}(this.children,o||[],t,e,n,i,s):o?new IS(o.sort(OS),SS):MS}add(t,e){return e.length?this==MS?IS.create(t,e):this.addInner(t,e,0):this}addInner(t,e,n){let i,s=0
|
|
6650
6651
|
t.forEach(((t,o)=>{let r,a=o+n
|
|
6651
6652
|
if(r=ES(e,t,a)){for(i||(i=this.children.slice());s<i.length&&i[s]<o;)s+=3
|
|
6652
|
-
i[s]==o?i[s+2]=i[s+2].addInner(t,r,a+1):i.splice(s,0,o,o+t.nodeSize,
|
|
6653
|
+
i[s]==o?i[s+2]=i[s+2].addInner(t,r,a+1):i.splice(s,0,o,o+t.nodeSize,TS(r,t,a+1,_S)),s+=3}}))
|
|
6653
6654
|
let o=DS(s?AS(e):e,-n)
|
|
6654
6655
|
for(let e=0;e<o.length;e++)o[e].type.valid(t,o[e])||o.splice(e--,1)
|
|
6655
|
-
return new IS(o.length?this.local.concat(o).sort(
|
|
6656
|
+
return new IS(o.length?this.local.concat(o).sort(OS):this.local,i||this.children)}remove(t){return 0==t.length||this==MS?this:this.removeInner(t,0)}removeInner(t,e){let n=this.children,i=this.local
|
|
6656
6657
|
for(let i=0;i<n.length;i+=3){let s,o=n[i]+e,r=n[i+1]+e
|
|
6657
6658
|
for(let e,n=0;n<t.length;n++)(e=t[n])&&e.from>o&&e.to<r&&(t[n]=null,(s||(s=[])).push(e))
|
|
6658
6659
|
if(!s)continue
|
|
@@ -6666,7 +6667,7 @@ for(let e=0;e<this.children.length;e+=3)if(this.children[e]>=t){this.children[e]
|
|
|
6666
6667
|
break}let s=t+1,o=s+e.content.size
|
|
6667
6668
|
for(let t=0;t<this.local.length;t++){let e=this.local[t]
|
|
6668
6669
|
if(e.from<o&&e.to>s&&e.type instanceof xS){let t=Math.max(s,e.from)-s,n=Math.min(o,e.to)-s
|
|
6669
|
-
t<n&&(i||(i=[])).push(e.copy(t,n))}}if(i){let t=new IS(i.sort(
|
|
6670
|
+
t<n&&(i||(i=[])).push(e.copy(t,n))}}if(i){let t=new IS(i.sort(OS),SS)
|
|
6670
6671
|
return n?new $S([t,n]):t}return n||MS}eq(t){if(this==t)return!0
|
|
6671
6672
|
if(!(t instanceof IS)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1
|
|
6672
6673
|
for(let e=0;e<this.local.length;e++)if(!this.local[e].eq(t.local[e]))return!1
|
|
@@ -6686,7 +6687,7 @@ for(let e=0;e<this.members.length;e++)if(!this.members[e].eq(t.members[e]))retur
|
|
|
6686
6687
|
return!0}locals(t){let e,n=!0
|
|
6687
6688
|
for(let i=0;i<this.members.length;i++){let s=this.members[i].localsInner(t)
|
|
6688
6689
|
if(s.length)if(e){n&&(e=e.slice(),n=!1)
|
|
6689
|
-
for(let t=0;t<s.length;t++)e.push(s[t])}else e=s}return e?RS(n?e:e.sort(
|
|
6690
|
+
for(let t=0;t<s.length;t++)e.push(s[t])}else e=s}return e?RS(n?e:e.sort(OS)):SS}static from(t){switch(t.length){case 0:return MS
|
|
6690
6691
|
case 1:return t[0]
|
|
6691
6692
|
default:return new $S(t.every((t=>t instanceof IS))?t:t.reduce(((t,e)=>t.concat(e instanceof IS?e:e.members)),[]))}}forEachSet(t){for(let e=0;e<this.members.length;e++)this.members[e].forEachSet(t)}}function DS(t,e){if(!e||!t.length)return t
|
|
6692
6693
|
let n=[]
|
|
@@ -6696,18 +6697,18 @@ let i=n+e.nodeSize,s=null
|
|
|
6696
6697
|
for(let e,o=0;o<t.length;o++)(e=t[o])&&e.from>n&&e.to<i&&((s||(s=[])).push(e),t[o]=null)
|
|
6697
6698
|
return s}function AS(t){let e=[]
|
|
6698
6699
|
for(let n=0;n<t.length;n++)null!=t[n]&&e.push(t[n])
|
|
6699
|
-
return e}function
|
|
6700
|
+
return e}function TS(t,e,n,i){let s=[],o=!1
|
|
6700
6701
|
e.forEach(((e,r)=>{let a=ES(t,e,r+n)
|
|
6701
6702
|
if(a){o=!0
|
|
6702
|
-
let t=
|
|
6703
|
+
let t=TS(a,e,n+r+1,i)
|
|
6703
6704
|
t!=MS&&s.push(r,r+e.nodeSize,t)}}))
|
|
6704
|
-
let r=DS(o?AS(t):t,-n).sort(
|
|
6705
|
+
let r=DS(o?AS(t):t,-n).sort(OS)
|
|
6705
6706
|
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))
|
|
6706
|
-
return r.length||s.length?new IS(r,s):MS}function
|
|
6707
|
+
return r.length||s.length?new IS(r,s):MS}function OS(t,e){return t.from-e.from||t.to-e.to}function RS(t){let e=t
|
|
6707
6708
|
for(let n=0;n<e.length-1;n++){let i=e[n]
|
|
6708
6709
|
if(i.from!=i.to)for(let s=n+1;s<e.length;s++){let o=e[s]
|
|
6709
6710
|
if(o.from!=i.from){o.from<i.to&&(e==t&&(e=t.slice()),e[n]=i.copy(i.from,o.from),FS(e,s,i.copy(o.from,i.to)))
|
|
6710
|
-
break}o.to!=i.to&&(e==t&&(e=t.slice()),e[s]=o.copy(o.from,i.to),FS(e,s+1,o.copy(i.to,o.to)))}}return e}function FS(t,e,n){for(;e<t.length&&
|
|
6711
|
+
break}o.to!=i.to&&(e==t&&(e=t.slice()),e[s]=o.copy(o.from,i.to),FS(e,s+1,o.copy(i.to,o.to)))}}return e}function FS(t,e,n){for(;e<t.length&&OS(n,t[e])>0;)e++
|
|
6711
6712
|
t.splice(e,0,n)}function NS(t){let e=[]
|
|
6712
6713
|
return t.someProp("decorations",(n=>{let i=n(t.state)
|
|
6713
6714
|
i&&i!=MS&&e.push(i)})),t.cursorWrapper&&e.push(IS.create(t.state.doc,[t.cursorWrapper.deco])),$S.from(e)}const LS={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},BS=oC&&rC<=11
|
|
@@ -6834,8 +6835,9 @@ if(d){let n=cC?this.trackWrites=this.domSelectionRange().focusNode:null
|
|
|
6834
6835
|
this.composing&&(this.input.compositionNode=uS(this)),!s&&this.docView.update(t.doc,l,a,this)||(this.docView.updateOuterDeco(l),this.docView.destroy(),this.docView=WC(t.doc,l,a,this.dom,this)),n&&!this.trackWrites&&(e=!0)}e||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange()
|
|
6835
6836
|
return Wx(e.node,e.offset,n.anchorNode,n.anchorOffset)}(this))?dk(this,e):(mk(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),(null===(n=this.dragging)||void 0===n?void 0:n.node)&&!i.doc.eq(t.doc)&&this.updateDraggedNode(this.dragging,i),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():h&&function({refDOM:t,refTop:e,stack:n}){let i=t?t.getBoundingClientRect().top:0
|
|
6836
6837
|
kC(n,0==i?0:i-e)}(h)}scrollToSelection(){let t=this.domSelectionRange().focusNode
|
|
6837
|
-
if(this.someProp("handleScrollToSelection",(t=>t(this))));else if(this.state.selection instanceof _x){let e=this.docView.domAfterPos(this.state.selection.from)
|
|
6838
|
-
1==e.nodeType&&xC(this,e.getBoundingClientRect(),t)}else xC(this,this.coordsAtPos(this.state.selection.head,1),t)
|
|
6838
|
+
if(t&&this.dom.contains(1==t.nodeType?t:t.parentNode))if(this.someProp("handleScrollToSelection",(t=>t(this))));else if(this.state.selection instanceof _x){let e=this.docView.domAfterPos(this.state.selection.from)
|
|
6839
|
+
1==e.nodeType&&xC(this,e.getBoundingClientRect(),t)}else xC(this,this.coordsAtPos(this.state.selection.head,1),t)
|
|
6840
|
+
else;}destroyPluginViews(){let t
|
|
6839
6841
|
for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(t&&t.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let e=0;e<this.pluginViews.length;e++){let n=this.pluginViews[e]
|
|
6840
6842
|
n.update&&n.update(this,t)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews()
|
|
6841
6843
|
for(let t=0;t<this.directPlugins.length;t++){let e=this.directPlugins[t]
|
|
@@ -6856,7 +6858,7 @@ if(SC)return t.focus(SC)
|
|
|
6856
6858
|
let e=CC(t)
|
|
6857
6859
|
t.focus(null==SC?{get preventScroll(){return SC={preventScroll:!0},!0}}:void 0),SC||(SC=!1,kC(e,0))}(this.dom),dk(this),this.domObserver.start()}get root(){let t=this._root
|
|
6858
6860
|
if(null==t)for(let t=this.dom.parentNode;t;t=t.parentNode)if(9==t.nodeType||11==t.nodeType&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t
|
|
6859
|
-
return t||document}updateRoot(){this._root=null}posAtCoords(t){return $C(this,t)}coordsAtPos(t,e=1){return
|
|
6861
|
+
return t||document}updateRoot(){this._root=null}posAtCoords(t){return $C(this,t)}coordsAtPos(t,e=1){return TC(this,t,e)}domAtPos(t,e=0){return this.docView.domFromPos(t,e)}nodeDOM(t){let e=this.docView.descAt(t)
|
|
6860
6862
|
return e?e.nodeDOM:null}posAtDOM(t,e,n=-1){let i=this.docView.posFromDOM(t,e,n)
|
|
6861
6863
|
if(null==i)throw new RangeError("DOM position not inside the editor")
|
|
6862
6864
|
return i}endOfTextblock(t,e){return VC(this,e||this.state,t)}pasteHTML(t,e){return mS(this,"",t,!1,e||new ClipboardEvent("paste"))}pasteText(t,e){return mS(this,t,null,!0,e||new ClipboardEvent("paste"))}destroy(){this.docView&&(!function(t){t.domObserver.stop()
|
|
@@ -6979,16 +6981,16 @@ return r}}class D_{constructor(){this.callbacks={}}on(t,e){return this.callbacks
|
|
|
6979
6981
|
return n&&n.forEach((t=>t.apply(this,e))),this}off(t,e){const n=this.callbacks[t]
|
|
6980
6982
|
return n&&(e?this.callbacks[t]=n.filter((t=>t!==e)):delete this.callbacks[t]),this}once(t,e){const n=(...i)=>{this.off(t,n),e.apply(this,i)}
|
|
6981
6983
|
return this.on(t,n)}removeAllListeners(){this.callbacks={}}}function E_(t,e,n){if(void 0===t.config[e]&&t.parent)return E_(t.parent,e,n)
|
|
6982
|
-
if("function"==typeof t.config[e]){return t.config[e].bind({...n,parent:t.parent?E_(t.parent,e,n):null})}return t.config[e]}function A_(t){return{baseExtensions:t.filter((t=>"extension"===t.type)),nodeExtensions:t.filter((t=>"node"===t.type)),markExtensions:t.filter((t=>"mark"===t.type))}}function
|
|
6984
|
+
if("function"==typeof t.config[e]){return t.config[e].bind({...n,parent:t.parent?E_(t.parent,e,n):null})}return t.config[e]}function A_(t){return{baseExtensions:t.filter((t=>"extension"===t.type)),nodeExtensions:t.filter((t=>"node"===t.type)),markExtensions:t.filter((t=>"mark"===t.type))}}function T_(t){const e=[],{nodeExtensions:n,markExtensions:i}=A_(t),s=[...n,...i],o={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1}
|
|
6983
6985
|
return t.forEach((t=>{const n=E_(t,"addGlobalAttributes",{name:t.name,options:t.options,storage:t.storage,extensions:s})
|
|
6984
6986
|
if(!n)return
|
|
6985
6987
|
n().forEach((t=>{t.types.forEach((n=>{Object.entries(t.attributes).forEach((([t,i])=>{e.push({type:n,name:t,attribute:{...o,...i}})}))}))}))})),s.forEach((t=>{const n={name:t.name,options:t.options,storage:t.storage},i=E_(t,"addAttributes",n)
|
|
6986
6988
|
if(!i)return
|
|
6987
6989
|
const s=i()
|
|
6988
6990
|
Object.entries(s).forEach((([n,i])=>{const s={...o,...i}
|
|
6989
|
-
"function"==typeof(null==s?void 0:s.default)&&(s.default=s.default()),(null==s?void 0:s.isRequired)&&void 0===(null==s?void 0:s.default)&&delete s.default,e.push({type:t.name,name:n,attribute:s})}))})),e}function
|
|
6991
|
+
"function"==typeof(null==s?void 0:s.default)&&(s.default=s.default()),(null==s?void 0:s.isRequired)&&void 0===(null==s?void 0:s.default)&&delete s.default,e.push({type:t.name,name:n,attribute:s})}))})),e}function O_(t,e){if("string"==typeof t){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`)
|
|
6990
6992
|
return e.nodes[t]}return t}function R_(...t){return t.filter((t=>!!t)).reduce(((t,e)=>{const n={...t}
|
|
6991
|
-
return Object.entries(e).forEach((([t,e])=>{if(n[t])if("class"===t){const i=e?e.split(" "):[],s=n[t]?n[t].split(" "):[],o=i.filter((t=>!s.includes(t)))
|
|
6993
|
+
return Object.entries(e).forEach((([t,e])=>{if(n[t])if("class"===t){const i=e?String(e).split(" "):[],s=n[t]?n[t].split(" "):[],o=i.filter((t=>!s.includes(t)))
|
|
6992
6994
|
n[t]=[...s,...o].join(" ")}else if("style"===t){const i=e?e.split(";").map((t=>t.trim())).filter(Boolean):[],s=n[t]?n[t].split(";").map((t=>t.trim())).filter(Boolean):[],o=new Map
|
|
6993
6995
|
s.forEach((t=>{const[e,n]=t.split(":").map((t=>t.trim()))
|
|
6994
6996
|
o.set(e,n)})),i.forEach((t=>{const[e,n]=t.split(":").map((t=>t.trim()))
|
|
@@ -7043,13 +7045,13 @@ return n.index=e.index,n.input=t,n.data=e.data,e.replaceWith&&(e.text.includes(e
|
|
|
7043
7045
|
let tI=null
|
|
7044
7046
|
function eI(t){const{editor:e,rules:n}=t
|
|
7045
7047
|
let i,s=null,o=!1,r=!1,a="undefined"!=typeof ClipboardEvent?new ClipboardEvent("paste"):null
|
|
7046
|
-
try{i="undefined"!=typeof DragEvent?new DragEvent("drop"):null}catch
|
|
7048
|
+
try{i="undefined"!=typeof DragEvent?new DragEvent("drop"):null}catch{i=null}const l=({state:t,from:n,to:s,rule:o,pasteEvt:r})=>{const l=t.tr,c=M_({state:t,transaction:l}),d=function(t){const{editor:e,state:n,from:i,to:s,rule:o,pasteEvent:r,dropEvent:a}=t,{commands:l,chain:c,can:d}=new $_({editor:e,state:n}),h=[]
|
|
7047
7049
|
return n.doc.nodesBetween(i,s,((t,e)=>{if(!t.isTextblock||t.type.spec.code)return
|
|
7048
7050
|
const u=Math.max(i,e),p=Math.min(s,e+t.content.size),f=t.textBetween(u-e,p-e,void 0,"")
|
|
7049
7051
|
Q_(f,o.find,r).forEach((t=>{if(void 0===t.index)return
|
|
7050
7052
|
const e=u+t.index+1,i=e+t[0].length,s={from:n.tr.mapping.map(e),to:n.tr.mapping.map(i)},p=o.handler({state:n,range:s,match:t,commands:l,chain:c,can:d,pasteEvent:r,dropEvent:a})
|
|
7051
7053
|
h.push(p)}))})),h.every((t=>null!==t))}({editor:e,state:c,from:Math.max(n-1,0),to:s.b-1,rule:o,pasteEvent:r,dropEvent:i})
|
|
7052
|
-
if(d&&l.steps.length){try{i="undefined"!=typeof DragEvent?new DragEvent("drop"):null}catch
|
|
7054
|
+
if(d&&l.steps.length){try{i="undefined"!=typeof DragEvent?new DragEvent("drop"):null}catch{i=null}return a="undefined"!=typeof ClipboardEvent?new ClipboardEvent("paste"):null,l}},c=n.map((t=>new Bx({view(t){const n=n=>{var i
|
|
7053
7055
|
s=(null===(i=t.dom.parentElement)||void 0===i?void 0:i.contains(n.target))?t.dom.parentElement:null,s&&(tI=e)},i=()=>{tI&&(tI=null)}
|
|
7054
7056
|
return window.addEventListener("dragstart",n),window.addEventListener("dragend",i),{destroy(){window.removeEventListener("dragstart",n),window.removeEventListener("dragend",i)}}},props:{handleDOMEvents:{drop:(t,e)=>{if(r=s===t.dom.parentElement,i=e,!r){const t=tI
|
|
7055
7057
|
t&&setTimeout((()=>{const e=t.state.selection
|
|
@@ -7065,7 +7067,7 @@ return null===(e=n.clipboardData)||void 0===e||e.setData("text/html",t),n})(e)
|
|
|
7065
7067
|
return l({rule:t,state:i,from:n,to:{b:s},pasteEvt:o})}const p=n.doc.content.findDiffStart(i.doc.content),f=n.doc.content.findDiffEnd(i.doc.content)
|
|
7066
7068
|
return"number"==typeof p&&f&&p!==f.b?l({rule:t,state:i,from:p,to:f,pasteEvt:a}):void 0}})))
|
|
7067
7069
|
return c}class nI{constructor(t,e){this.splittableMarks=[],this.editor=e,this.extensions=nI.resolve(t),this.schema=function(t,e){var n
|
|
7068
|
-
const i=
|
|
7070
|
+
const i=T_(t),{nodeExtensions:s,markExtensions:o}=A_(t),r=null===(n=s.find((t=>E_(t,"topNode"))))||void 0===n?void 0:n.name,a=Object.fromEntries(s.map((n=>{const s=i.filter((t=>t.type===n.name)),o={name:n.name,options:n.options,storage:n.storage,editor:e},r=P_({...t.reduce(((t,e)=>{const i=E_(e,"extendNodeSchema",o)
|
|
7069
7071
|
return{...t,...i?i(n):{}}}),{}),content:L_(E_(n,"content",o)),marks:L_(E_(n,"marks",o)),group:L_(E_(n,"group",o)),inline:L_(E_(n,"inline",o)),atom:L_(E_(n,"atom",o)),selectable:L_(E_(n,"selectable",o)),draggable:L_(E_(n,"draggable",o)),code:L_(E_(n,"code",o)),whitespace:L_(E_(n,"whitespace",o)),linebreakReplacement:L_(E_(n,"linebreakReplacement",o)),defining:L_(E_(n,"defining",o)),isolating:L_(E_(n,"isolating",o)),attrs:Object.fromEntries(s.map((t=>{var e
|
|
7070
7072
|
return[t.name,{default:null===(e=null==t?void 0:t.attribute)||void 0===e?void 0:e.default}]})))}),a=L_(E_(n,"parseHTML",o))
|
|
7071
7073
|
a&&(r.parseDOM=a.map((t=>B_(t,s))))
|
|
@@ -7095,8 +7097,8 @@ z_(e,t.options.enablePasteRules)&&d&&i.push(...d())
|
|
|
7095
7097
|
const h=E_(e,"addProseMirrorPlugins",s)
|
|
7096
7098
|
if(h){const t=h()
|
|
7097
7099
|
o.push(...t)}return o})).flat()
|
|
7098
|
-
return[Z_({editor:t,rules:n}),...eI({editor:t,rules:i}),...s]}get attributes(){return
|
|
7099
|
-
return Object.fromEntries(e.filter((t=>!!E_(t,"addNodeView"))).map((e=>{const n=this.attributes.filter((t=>t.type===e.name)),i={name:e.name,options:e.options,storage:e.storage,editor:t,type:
|
|
7100
|
+
return[Z_({editor:t,rules:n}),...eI({editor:t,rules:i}),...s]}get attributes(){return T_(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=A_(this.extensions)
|
|
7101
|
+
return Object.fromEntries(e.filter((t=>!!E_(t,"addNodeView"))).map((e=>{const n=this.attributes.filter((t=>t.type===e.name)),i={name:e.name,options:e.options,storage:e.storage,editor:t,type:O_(e.name,this.schema)},s=E_(e,"addNodeView",i)
|
|
7100
7102
|
if(!s)return[]
|
|
7101
7103
|
return[e.name,(i,o,r,a,l)=>{const c=F_(i,n)
|
|
7102
7104
|
return s()({node:i,view:o,getPos:r,decorations:a,innerDecorations:l,editor:t,extension:e,HTMLAttributes:c})}]})))}setupExtensions(){this.extensions.forEach((t=>{var e
|
|
@@ -7129,20 +7131,20 @@ const n=yx.atStart(t),i=yx.atEnd(t)
|
|
|
7129
7131
|
if("start"===e||!0===e)return n
|
|
7130
7132
|
if("end"===e)return i
|
|
7131
7133
|
const s=n.from,o=i.to
|
|
7132
|
-
return"all"===e?kx.create(t,pI(0,s,o),pI(t.content.size,s,o)):kx.create(t,pI(e,s,o),pI(e,s,o))}const
|
|
7134
|
+
return"all"===e?kx.create(t,pI(0,s,o),pI(t.content.size,s,o)):kx.create(t,pI(e,s,o),pI(e,s,o))}function mI(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const gI=t=>{const e=t.childNodes
|
|
7133
7135
|
for(let n=e.length-1;n>=0;n-=1){const i=e[n]
|
|
7134
|
-
3===i.nodeType&&i.nodeValue&&/^(\n\s\s|\n)$/.test(i.nodeValue)?t.removeChild(i):1===i.nodeType&&
|
|
7135
|
-
function
|
|
7136
|
-
return
|
|
7136
|
+
3===i.nodeType&&i.nodeValue&&/^(\n\s\s|\n)$/.test(i.nodeValue)?t.removeChild(i):1===i.nodeType&&gI(i)}return t}
|
|
7137
|
+
function vI(t){const e=`<body>${t}</body>`,n=(new window.DOMParser).parseFromString(e,"text/html").body
|
|
7138
|
+
return gI(n)}function bI(t,e,n){if(t instanceof Zy||t instanceof Sy)return t
|
|
7137
7139
|
n={slice:!0,parseOptions:{},...n}
|
|
7138
7140
|
const i="string"==typeof t
|
|
7139
7141
|
if("object"==typeof t&&null!==t)try{if(Array.isArray(t)&&t.length>0)return Sy.fromArray(t.map((t=>e.nodeFromJSON(t))))
|
|
7140
7142
|
const i=e.nodeFromJSON(t)
|
|
7141
7143
|
return n.errorOnInvalidContent&&i.check(),i}catch(i){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:i})
|
|
7142
|
-
return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",i),
|
|
7144
|
+
return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",i),bI("",e,n)}if(i){if(n.errorOnInvalidContent){let i=!1,s=""
|
|
7143
7145
|
const o=new pw({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)}]}})})
|
|
7144
|
-
if(n.slice?mw.fromSchema(o).parseSlice(
|
|
7145
|
-
return n.slice?i.parseSlice(
|
|
7146
|
+
if(n.slice?mw.fromSchema(o).parseSlice(vI(t),n.parseOptions):mw.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=mw.fromSchema(e)
|
|
7147
|
+
return n.slice?i.parseSlice(vI(t),n.parseOptions).content:i.parse(vI(t),n.parseOptions)}return bI("",e,n)}function yI(){return"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)}function wI(t,e,n={}){const{from:i,to:s,empty:o}=t.selection,r=e?O_(e,t.schema):null,a=[]
|
|
7146
7148
|
t.doc.nodesBetween(i,s,((t,e)=>{if(t.isText)return
|
|
7147
7149
|
const n=Math.max(i,e),o=Math.min(s,e+t.nodeSize)
|
|
7148
7150
|
a.push({node:t,from:n,to:o})}))
|
|
@@ -7150,12 +7152,12 @@ const l=s-i,c=a.filter((t=>!r||r.name===t.node.type.name)).filter((t=>aI(t.node.
|
|
|
7150
7152
|
if(o)return!!c.length
|
|
7151
7153
|
const d=c.reduce(((t,e)=>t+e.to-e.from),0)
|
|
7152
7154
|
return d>=l}function xI(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function CI(t,e){const n="string"==typeof e?[e]:e
|
|
7153
|
-
return Object.keys(t).reduce(((e,i)=>(n.includes(i)||(e[i]=t[i]),e)),{})}function kI(t,e,n={},i={}){return
|
|
7155
|
+
return Object.keys(t).reduce(((e,i)=>(n.includes(i)||(e[i]=t[i]),e)),{})}function kI(t,e,n={},i={}){return bI(t,e,{slice:!1,parseOptions:n,errorOnInvalidContent:i.errorOnInvalidContent})}function SI(t,e){const n=hI(e,t.schema),{from:i,to:s,empty:o}=t.selection,r=[]
|
|
7154
7156
|
o?(t.storedMarks&&r.push(...t.storedMarks),r.push(...t.selection.$head.marks())):t.doc.nodesBetween(i,s,(t=>{r.push(...t.marks)}))
|
|
7155
7157
|
const a=r.find((t=>t.type.name===n.name))
|
|
7156
7158
|
return a?{...a.attrs}:{}}function _I(t){return e=>function(t,e){for(let n=t.depth;n>0;n-=1){const i=t.node(n)
|
|
7157
7159
|
if(e(i))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:i}}}(e.$from,t)}function II(t,e){const n=xI("string"==typeof e?e:e.name,t.schema)
|
|
7158
|
-
return"node"===n?function(t,e){const n=
|
|
7160
|
+
return"node"===n?function(t,e){const n=O_(e,t.schema),{from:i,to:s}=t.selection,o=[]
|
|
7159
7161
|
t.doc.nodesBetween(i,s,(t=>{o.push(t)}))
|
|
7160
7162
|
const r=o.reverse().find((t=>t.type.name===n.name))
|
|
7161
7163
|
return r?{...r.attrs}:{}}(t,e):"mark"===n?SI(t,e):{}}function MI(t){const e=function(t,e=JSON.stringify){const n={}
|
|
@@ -7177,13 +7179,13 @@ const l=a.filter((t=>!o||o.name===t.mark.type.name)).filter((t=>aI(t.mark.attrs,
|
|
|
7177
7179
|
return(l>0?l+c:l)>=r}function AI(t,e){const{nodeExtensions:n}=A_(e),i=n.find((e=>e.name===t))
|
|
7178
7180
|
if(!i)return!1
|
|
7179
7181
|
const s=L_(E_(i,"group",{name:i.name,options:i.options,storage:i.storage}))
|
|
7180
|
-
return"string"==typeof s&&s.split(" ").includes("list")}function
|
|
7182
|
+
return"string"==typeof s&&s.split(" ").includes("list")}function TI(t,{checkChildren:e=!0,ignoreWhitespace:n=!1}={}){var i
|
|
7181
7183
|
if(n){if("hardBreak"===t.type.name)return!0
|
|
7182
7184
|
if(t.isText)return/^\s*$/m.test(null!==(i=t.text)&&void 0!==i?i:"")}if(t.isText)return!t.text
|
|
7183
7185
|
if(t.isAtom||t.isLeaf)return!1
|
|
7184
7186
|
if(0===t.content.childCount)return!0
|
|
7185
7187
|
if(e){let i=!0
|
|
7186
|
-
return t.content.forEach((t=>{!1!==i&&(
|
|
7188
|
+
return t.content.forEach((t=>{!1!==i&&(TI(t,{ignoreWhitespace:n,checkChildren:e})||(i=!1))})),i}return!1}function OI(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks()
|
|
7187
7189
|
if(n){const i=n.filter((t=>null==e?void 0:e.includes(t.type.name)))
|
|
7188
7190
|
t.tr.ensureMarks(i)}}const RI=(t,e)=>{const n=_I((t=>t.type===e))(t.selection)
|
|
7189
7191
|
if(!n)return!0
|
|
@@ -7215,7 +7217,7 @@ return i.insert(r,o.content),i.setSelection(new kx(i.doc.resolve(r-1))),!0},dele
|
|
|
7215
7217
|
if(i.content.size>0)return!1
|
|
7216
7218
|
const s=t.selection.$anchor
|
|
7217
7219
|
for(let n=s.depth;n>0;n-=1){if(s.node(n).type===i.type){if(e){const e=s.before(n),i=s.after(n)
|
|
7218
|
-
t.delete(e,i).scrollIntoView()}return!0}}return!1},deleteNode:t=>({tr:e,state:n,dispatch:i})=>{const s=
|
|
7220
|
+
t.delete(e,i).scrollIntoView()}return!0}}return!1},deleteNode:t=>({tr:e,state:n,dispatch:i})=>{const s=O_(t,n.schema),o=e.selection.$anchor
|
|
7219
7221
|
for(let t=o.depth;t>0;t-=1){if(o.node(t).type===s){if(i){const n=o.before(t),i=o.after(t)
|
|
7220
7222
|
e.delete(n,i).scrollIntoView()}return!0}}return!1},deleteRange:t=>({tr:e,dispatch:n})=>{const{from:i,to:s}=t
|
|
7221
7223
|
return n&&e.delete(i,s),!0},deleteSelection:()=>({state:t,dispatch:e})=>((t,e)=>!t.selection.empty&&(e&&e(t.tr.deleteSelection().scrollIntoView()),!0))(t,e),enter:()=>({commands:t})=>t.keyboardShortcut("Enter"),exitCode:()=>({state:t,dispatch:e})=>((t,e)=>{let{$head:n,$anchor:i}=t.selection
|
|
@@ -7229,14 +7231,14 @@ if(t&&t.from<=c&&t.to>=d){const e=kx.create(r,t.from,t.to)
|
|
|
7229
7231
|
n.setSelection(e)}}return!0},first:t=>e=>{const n="function"==typeof t?t(e):t
|
|
7230
7232
|
for(let t=0;t<n.length;t+=1)if(n[t](e))return!0
|
|
7231
7233
|
return!1},focus:(t=null,e={})=>({editor:n,view:i,tr:s,dispatch:o})=>{e={scrollIntoView:!0,...e}
|
|
7232
|
-
const r=()=>{i.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(i.focus(),(null==e?void 0:e.scrollIntoView)&&n.commands.scrollIntoView())}))}
|
|
7234
|
+
const r=()=>{(mI()||"Android"===navigator.platform||/android/i.test(navigator.userAgent))&&i.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(i.focus(),(null==e?void 0:e.scrollIntoView)&&n.commands.scrollIntoView())}))}
|
|
7233
7235
|
if(i.hasFocus()&&null===t||!1===t)return!0
|
|
7234
7236
|
if(o&&null===t&&!uI(n.state.selection))return r(),!0
|
|
7235
7237
|
const a=fI(s.doc,t)||n.state.selection,l=n.state.selection.eq(a)
|
|
7236
7238
|
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
|
|
7237
7239
|
if(s){let s
|
|
7238
7240
|
n={parseOptions:o.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n}
|
|
7239
|
-
try{s=
|
|
7241
|
+
try{s=bI(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
|
|
7240
7242
|
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)
|
|
7241
7243
|
t.isTextblock&&!t.type.spec.code&&!t.childCount&&(a-=1,l+=1)}let h
|
|
7242
7244
|
if(c){if(Array.isArray(e))h=e.map((t=>t.text||"")).join("")
|
|
@@ -7269,8 +7271,8 @@ if(w_(t,s,e,1))return!0
|
|
|
7269
7271
|
if(0==i.parent.content.size&&(m_(o,"start")||_x.isSelectable(o))){let n=sx(t.doc,i.before(),i.after(),Ey.empty)
|
|
7270
7272
|
if(n&&n.slice.size<n.to-n.from){if(e){let i=t.tr.step(n)
|
|
7271
7273
|
i.setSelection(m_(o,"start")?yx.findFrom(i.doc.resolve(i.mapping.map(s.pos)),1):_x.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))})(t,e),joinItemBackward:()=>({state:t,dispatch:e,tr:n})=>{try{const i=ix(t.doc,t.selection.$from.pos,-1)
|
|
7272
|
-
return null!=i&&(n.join(i,2),e&&e(n),!0)}catch
|
|
7273
|
-
return null!=i&&(n.join(i,2),e&&e(n),!0)}catch
|
|
7274
|
+
return null!=i&&(n.join(i,2),e&&e(n),!0)}catch{return!1}},joinItemForward:()=>({state:t,dispatch:e,tr:n})=>{try{const i=ix(t.doc,t.selection.$from.pos,1)
|
|
7275
|
+
return null!=i&&(n.join(i,2),e&&e(n),!0)}catch{return!1}},joinTextblockBackward:()=>({state:t,dispatch:e})=>((t,e,n)=>{let i=p_(t,n)
|
|
7274
7276
|
if(!i)return!1
|
|
7275
7277
|
let s=g_(i)
|
|
7276
7278
|
return!!s&&f_(t,s,e)})(t,e),joinTextblockForward:()=>({state:t,dispatch:e})=>((t,e,n)=>{let i=v_(t,n)
|
|
@@ -7289,17 +7291,17 @@ else if(/^a(lt)?$/i.test(r))n=!0
|
|
|
7289
7291
|
else if(/^(c|ctrl|control)$/i.test(r))i=!0
|
|
7290
7292
|
else if(/^s(hift)?$/i.test(r))s=!0
|
|
7291
7293
|
else{if(!/^mod$/i.test(r))throw new Error(`Unrecognized modifier name: ${r}`)
|
|
7292
|
-
|
|
7294
|
+
mI()||yI()?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)))}))
|
|
7293
7295
|
return null==l||l.steps.forEach((t=>{const e=t.map(i.mapping)
|
|
7294
|
-
e&&s&&i.maybeStep(e)})),!0},lift:(t,e={})=>({state:n,dispatch:i})=>!!wI(n,
|
|
7296
|
+
e&&s&&i.maybeStep(e)})),!0},lift:(t,e={})=>({state:n,dispatch:i})=>!!wI(n,O_(t,n.schema),e)&&((t,e)=>{let{$from:n,$to:i}=t.selection,s=n.blockRange(i),o=s&&Kw(s)
|
|
7295
7297
|
return null!=o&&(e&&e(t.tr.lift(s,o).scrollIntoView()),!0)})(n,i),liftEmptyBlock:()=>({state:t,dispatch:e})=>((t,e)=>{let{$cursor:n}=t.selection
|
|
7296
7298
|
if(!n||n.parent.content.size)return!1
|
|
7297
7299
|
if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before()
|
|
7298
7300
|
if(tx(t.doc,i))return e&&e(t.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),s=i&&Kw(i)
|
|
7299
|
-
return null!=s&&(e&&e(t.tr.lift(i,s).scrollIntoView()),!0)})(t,e),liftListItem:t=>({state:e,dispatch:n})=>I_(
|
|
7301
|
+
return null!=s&&(e&&e(t.tr.lift(i,s).scrollIntoView()),!0)})(t,e),liftListItem:t=>({state:e,dispatch:n})=>I_(O_(t,e.schema))(e,n),newlineInCode:()=>({state:t,dispatch:e})=>((t,e)=>{let{$head:n,$anchor:i}=t.selection
|
|
7300
7302
|
return!(!n.parent.type.spec.code||!n.sameParent(i)||(e&&e(t.tr.insertText("\n").scrollIntoView()),0))})(t,e),resetAttributes:(t,e)=>({tr:n,state:i,dispatch:s})=>{let o=null,r=null
|
|
7301
7303
|
const a=xI("string"==typeof t?t:t.name,i.schema)
|
|
7302
|
-
return!!a&&("node"===a&&(o=
|
|
7304
|
+
return!!a&&("node"===a&&(o=O_(t,i.schema)),"mark"===a&&(r=hI(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,CI(t.attrs,e)),r&&t.marks.length&&t.marks.forEach((s=>{r===s.type&&n.addMark(i,i+t.nodeSize,r.create(CI(s.attrs,e)))}))}))})),!0)},scrollIntoView:()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),selectAll:()=>({tr:t,dispatch:e})=>{if(e){const e=new Mx(t.doc)
|
|
7303
7305
|
t.setSelection(e)}return!0},selectNodeBackward:()=>({state:t,dispatch:e})=>((t,e,n)=>{let{$head:i,empty:s}=t.selection,o=i
|
|
7304
7306
|
if(!s)return!1
|
|
7305
7307
|
if(i.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):i.parentOffset>0)return!1
|
|
@@ -7325,11 +7327,11 @@ return!!n.isInSet(e)||!e.some((t=>t.type.excludes(n)))}const{ranges:r}=s
|
|
|
7325
7327
|
return r.some((({$from:e,$to:i})=>{let s=0===e.depth&&t.doc.inlineContent&&t.doc.type.allowsMarkType(n)
|
|
7326
7328
|
return t.doc.nodesBetween(e.pos,i.pos,((t,e,i)=>{if(s)return!1
|
|
7327
7329
|
if(t.isInline){const e=!i||i.type.allowsMarkType(n),o=!!n.isInSet(t.marks)||!t.marks.some((t=>t.type.excludes(n)))
|
|
7328
|
-
s=e&&o}return!s})),s}))}(i,n,l)},setMeta:(t,e)=>({tr:n})=>(n.setMeta(t,e),!0),setNode:(t,e={})=>({state:n,dispatch:i,chain:s})=>{const o=
|
|
7330
|
+
s=e&&o}return!s})),s}))}(i,n,l)},setMeta:(t,e)=>({tr:n})=>(n.setMeta(t,e),!0),setNode:(t,e={})=>({state:n,dispatch:i,chain:s})=>{const o=O_(t,n.schema)
|
|
7329
7331
|
let r
|
|
7330
7332
|
return n.selection.$anchor.sameParent(n.selection.$head)&&(r=n.selection.$anchor.parent.attrs),o.isTextblock?s().command((({commands:t})=>!!S_(o,{...r,...e})(n)||t.clearNodes())).command((({state:t})=>S_(o,{...r,...e})(t,i))).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},setNodeSelection:t=>({tr:e,dispatch:n})=>{if(n){const{doc:n}=e,i=pI(t,0,n.content.size),s=_x.create(n,i)
|
|
7331
7333
|
e.setSelection(s)}return!0},setTextSelection:t=>({tr:e,dispatch:n})=>{if(n){const{doc:n}=e,{from:i,to:s}="number"==typeof t?{from:t,to:t}:t,o=kx.atStart(n).from,r=kx.atEnd(n).to,a=pI(i,o,r),l=pI(s,o,r),c=kx.create(n,a,l)
|
|
7332
|
-
e.setSelection(c)}return!0},sinkListItem:t=>({state:e,dispatch:n})=>{const i=
|
|
7334
|
+
e.setSelection(c)}return!0},sinkListItem:t=>({state:e,dispatch:n})=>{const i=O_(t,e.schema)
|
|
7333
7335
|
return(s=i,function(t,e){let{$from:n,$to:i}=t.selection,o=n.blockRange(i,(t=>t.childCount>0&&t.firstChild.type==s))
|
|
7334
7336
|
if(!o)return!1
|
|
7335
7337
|
let r=o.startIndex
|
|
@@ -7339,14 +7341,14 @@ if(l.type!=s)return!1
|
|
|
7339
7341
|
if(e){let n=l.lastChild&&l.lastChild.type==a.type,i=Sy.from(n?s.create():null),r=new Ey(Sy.from(s.create(null,Sy.from(a.type.create(null,i)))),n?3:1,0),c=o.start,d=o.end
|
|
7340
7342
|
e(t.tr.step(new jw(c-(n?3:1),d,c,d,r,1,!0)).scrollIntoView())}return!0})(e,n)
|
|
7341
7343
|
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=DI(s.extensionManager.attributes,a.node().type.name,a.node().attrs)
|
|
7342
|
-
if(o instanceof _x&&o.node.isBlock)return!(!a.parentOffset||!tx(r,a.pos))&&(i&&(t&&
|
|
7344
|
+
if(o instanceof _x&&o.node.isBlock)return!(!a.parentOffset||!tx(r,a.pos))&&(i&&(t&&OI(n,s.extensionManager.splittableMarks),e.split(a.pos).scrollIntoView()),!0)
|
|
7343
7345
|
if(!a.parent.isBlock)return!1
|
|
7344
7346
|
const d=l.parentOffset===l.parent.content.size,h=0===a.depth?void 0:function(t){for(let e=0;e<t.edgeCount;e+=1){const{type:n}=t.edge(e)
|
|
7345
7347
|
if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}(a.node(-1).contentMatchAt(a.indexAfter(-1)))
|
|
7346
7348
|
let u=d&&h?[{type:h,attrs:c}]:void 0,p=tx(e.doc,e.mapping.map(a.pos),1,u)
|
|
7347
7349
|
if(u||p||!tx(e.doc,e.mapping.map(a.pos),1,h?[{type:h}]:void 0)||(p=!0,u=h?[{type:h,attrs:c}]:void 0),i){if(p&&(o instanceof kx&&e.deleteSelection(),e.split(e.mapping.map(a.pos),1,u),h&&!d&&!a.parentOffset&&a.parent.type!==h)){const t=e.mapping.map(a.before()),n=e.doc.resolve(t)
|
|
7348
|
-
a.node(-1).canReplaceWith(n.index(),n.index()+1,h)&&e.setNodeMarkup(e.mapping.map(a.before()),h)}t&&
|
|
7349
|
-
const a=
|
|
7350
|
+
a.node(-1).canReplaceWith(n.index(),n.index()+1,h)&&e.setNodeMarkup(e.mapping.map(a.before()),h)}t&&OI(n,s.extensionManager.splittableMarks),e.scrollIntoView()}return p},splitListItem:(t,e={})=>({tr:n,state:i,dispatch:s,editor:o})=>{var r
|
|
7351
|
+
const a=O_(t,i.schema),{$from:l,$to:c}=i.selection,d=i.selection.node
|
|
7350
7352
|
if(d&&d.isBlock||l.depth<2||!l.sameParent(c))return!1
|
|
7351
7353
|
const h=l.node(-1)
|
|
7352
7354
|
if(h.type!==a)return!1
|
|
@@ -7368,15 +7370,15 @@ if(!tx(n.doc,l.pos,2))return!1
|
|
|
7368
7370
|
if(s){const{selection:t,storedMarks:e}=i,{splittableMarks:r}=o.extensionManager,a=e||t.$to.parentOffset&&t.$from.marks()
|
|
7369
7371
|
if(n.split(l.pos,2,g).scrollIntoView(),!a||!s)return!0
|
|
7370
7372
|
const c=a.filter((t=>r.includes(t.type.name)))
|
|
7371
|
-
n.ensureMarks(c)}return!0},toggleList:(t,e,n,i={})=>({editor:s,tr:o,state:r,dispatch:a,chain:l,commands:c,can:d})=>{const{extensions:h,splittableMarks:u}=s.extensionManager,p=
|
|
7373
|
+
n.ensureMarks(c)}return!0},toggleList:(t,e,n,i={})=>({editor:s,tr:o,state:r,dispatch:a,chain:l,commands:c,can:d})=>{const{extensions:h,splittableMarks:u}=s.extensionManager,p=O_(t,r.schema),f=O_(e,r.schema),{selection:m,storedMarks:g}=r,{$from:v,$to:b}=m,y=v.blockRange(b),w=g||m.$to.parentOffset&&m.$from.marks()
|
|
7372
7374
|
if(!y)return!1
|
|
7373
7375
|
const x=_I((t=>AI(t.type.name,h)))(m)
|
|
7374
7376
|
if(y.depth>=1&&x&&y.depth-x.depth<=1){if(x.node.type===p)return c.liftListItem(f)
|
|
7375
7377
|
if(AI(x.node.type.name,h)&&p.validContent(x.node.content)&&a)return l().command((()=>(o.setNodeMarkup(x.pos,p),!0))).command((()=>RI(o,p))).command((()=>FI(o,p))).run()}return n&&w&&a?l().command((()=>{const t=d().wrapInList(p,i),e=w.filter((t=>u.includes(t.type.name)))
|
|
7376
7378
|
return o.ensureMarks(e),!!t||c.clearNodes()})).wrapInList(p,i).command((()=>RI(o,p))).command((()=>FI(o,p))).run():l().command((()=>!!d().wrapInList(p,i)||c.clearNodes())).wrapInList(p,i).command((()=>RI(o,p))).command((()=>FI(o,p))).run()},toggleMark:(t,e={},n={})=>({state:i,commands:s})=>{const{extendEmptyMarkRange:o=!1}=n,r=hI(t,i.schema)
|
|
7377
|
-
return EI(i,r,e)?s.unsetMark(r,{extendEmptyMarkRange:o}):s.setMark(r,e)},toggleNode:(t,e,n={})=>({state:i,commands:s})=>{const o=
|
|
7379
|
+
return EI(i,r,e)?s.unsetMark(r,{extendEmptyMarkRange:o}):s.setMark(r,e)},toggleNode:(t,e,n={})=>({state:i,commands:s})=>{const o=O_(t,i.schema),r=O_(e,i.schema),a=wI(i,o,n)
|
|
7378
7380
|
let l
|
|
7379
|
-
return i.selection.$anchor.sameParent(i.selection.$head)&&(l=i.selection.$anchor.parent.attrs),a?s.setNode(r,l):s.setNode(o,{...l,...n})},toggleWrap:(t,e={})=>({state:n,commands:i})=>{const s=
|
|
7381
|
+
return i.selection.$anchor.sameParent(i.selection.$head)&&(l=i.selection.$anchor.parent.attrs),a?s.setNode(r,l):s.setNode(o,{...l,...n})},toggleWrap:(t,e={})=>({state:n,commands:i})=>{const s=O_(t,n.schema)
|
|
7380
7382
|
return wI(n,s,e)?i.lift(s):i.wrapIn(s,e)},undoInputRule:()=>({state:t,dispatch:e})=>{const n=t.plugins
|
|
7381
7383
|
for(let i=0;i<n.length;i+=1){const s=n[i]
|
|
7382
7384
|
let o
|
|
@@ -7392,11 +7394,11 @@ const i=null===(o=c.marks().find((t=>t.type===l)))||void 0===o?void 0:o.attrs,s=
|
|
|
7392
7394
|
s&&(t=s.from,e=s.to),n.removeMark(t,e,l)}else h.forEach((t=>{n.removeMark(t.$from.pos,t.$to.pos,l)}))
|
|
7393
7395
|
return n.removeStoredMark(l),!0},updateAttributes:(t,e={})=>({tr:n,state:i,dispatch:s})=>{let o=null,r=null
|
|
7394
7396
|
const a=xI("string"==typeof t?t:t.name,i.schema)
|
|
7395
|
-
return!!a&&("node"===a&&(o=
|
|
7397
|
+
return!!a&&("node"===a&&(o=O_(t,i.schema)),"mark"===a&&(r=hI(t,i.schema)),s&&n.selection.ranges.forEach((t=>{const s=t.$from.pos,a=t.$to.pos
|
|
7396
7398
|
let l,c,d,h
|
|
7397
7399
|
n.selection.empty?i.doc.nodesBetween(s,a,((t,e)=>{o&&o===t.type&&(d=Math.max(e,s),h=Math.min(e+t.nodeSize,a),l=e,c=t)})):i.doc.nodesBetween(s,a,((t,i)=>{i<s&&o&&o===t.type&&(d=Math.max(i,s),h=Math.min(i+t.nodeSize,a),l=i,c=t),i>=s&&i<=a&&(o&&o===t.type&&n.setNodeMarkup(i,void 0,{...t.attrs,...e}),r&&t.marks.length&&t.marks.forEach((o=>{if(r===o.type){const l=Math.max(i,s),c=Math.min(i+t.nodeSize,a)
|
|
7398
7400
|
n.addMark(l,c,r.create({...o.attrs,...e}))}})))})),c&&(void 0!==l&&n.setNodeMarkup(l,void 0,{...c.attrs,...e}),r&&c.marks.length&&c.marks.forEach((t=>{r===t.type&&n.addMark(d,h,r.create({...t.attrs,...e}))})))})),!0)},wrapIn:(t,e={})=>({state:n,dispatch:i})=>function(t,e=null){return function(n,i){let{$from:s,$to:o}=n.selection,r=s.blockRange(o),a=r&&Yw(r,t,e)
|
|
7399
|
-
return!!a&&(i&&i(n.tr.wrap(r,a).scrollIntoView()),!0)}}(
|
|
7401
|
+
return!!a&&(i&&i(n.tr.wrap(r,a).scrollIntoView()),!0)}}(O_(t,n.schema),e)(n,i),wrapInList:(t,e={})=>({state:n,dispatch:i})=>__(O_(t,n.schema),e)(n,i)})
|
|
7400
7402
|
const LI=iI.create({name:"commands",addCommands:()=>({...NI})}),BI=iI.create({name:"drop",addProseMirrorPlugins(){return[new Bx({key:new zx("tiptapDrop"),props:{handleDrop:(t,e,n,i)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:n,moved:i})}}})]}}),PI=iI.create({name:"editable",addProseMirrorPlugins(){return[new Bx({key:new zx("editable"),props:{editable:()=>this.editor.options.editable}})]}}),VI=iI.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this
|
|
7401
7403
|
return[new Bx({key:new zx("focusEvents"),props:{handleDOMEvents:{focus:(e,n)=>{t.isFocused=!0
|
|
7402
7404
|
const i=t.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1)
|
|
@@ -7404,11 +7406,12 @@ return e.dispatch(i),!1},blur:(e,n)=>{t.isFocused=!1
|
|
|
7404
7406
|
const i=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1)
|
|
7405
7407
|
return e.dispatch(i),!1}}}})]}}),zI=iI.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first((({commands:t})=>[()=>t.undoInputRule(),()=>t.command((({tr:e})=>{const{selection:n,doc:i}=e,{empty:s,$anchor:o}=n,{pos:r,parent:a}=o,l=o.parent.isTextblock&&r>0?e.doc.resolve(r-1):o,c=l.parent.type.spec.isolating,d=o.pos-o.parentOffset,h=c&&1===l.parent.childCount?d===o.pos:yx.atStart(i).from===r
|
|
7406
7408
|
return!(!s||!a.type.isTextblock||a.textContent.length||!h||h&&"paragraph"===o.parent.type.name)&&t.clearNodes()})),()=>t.deleteSelection(),()=>t.joinBackward(),()=>t.selectNodeBackward()])),e=()=>this.editor.commands.first((({commands:t})=>[()=>t.deleteSelection(),()=>t.deleteCurrentNode(),()=>t.joinForward(),()=>t.selectNodeForward()])),n={Enter:()=>this.editor.commands.first((({commands:t})=>[()=>t.newlineInCode(),()=>t.createParagraphNear(),()=>t.liftEmptyBlock(),()=>t.splitBlock()])),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},i={...n},s={...n,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()}
|
|
7407
|
-
return
|
|
7409
|
+
return mI()||yI()?s:i},addProseMirrorPlugins(){return[new Bx({key:new zx("clearDocument"),appendTransaction:(t,e,n)=>{if(t.some((t=>t.getMeta("composition"))))return
|
|
7410
|
+
const i=t.some((t=>t.docChanged))&&!e.doc.eq(n.doc),s=t.some((t=>t.getMeta("preventClearDocument")))
|
|
7408
7411
|
if(!i||s)return
|
|
7409
7412
|
const{empty:o,from:r,to:a}=e.selection,l=yx.atStart(e.doc).from,c=yx.atEnd(e.doc).to
|
|
7410
7413
|
if(o||!(r===l&&a===c))return
|
|
7411
|
-
if(!
|
|
7414
|
+
if(!TI(n.doc))return
|
|
7412
7415
|
const d=n.tr,h=M_({state:n,transaction:d}),{commands:u}=new $_({editor:this.editor,state:h})
|
|
7413
7416
|
return u.clearNodes(),d.steps.length?d:void 0}})]}}),HI=iI.create({name:"paste",addProseMirrorPlugins(){return[new Bx({key:new zx("tiptapPaste"),props:{handlePaste:(t,e,n)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:n})}}})]}}),UI=iI.create({name:"tabindex",addProseMirrorPlugins(){return[new Bx({key:new zx("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}})
|
|
7414
7417
|
class qI{get name(){return this.node.type.name}constructor(t,e,n=!1,i=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=t,this.editor=e,this.currentNode=i}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var t
|
|
@@ -7462,7 +7465,7 @@ i&&this.emit("focus",{editor:this,event:i.event,transaction:t}),s&&this.emit("bl
|
|
|
7462
7465
|
return function(t,e,n={}){if(!e)return wI(t,null,n)||EI(t,null,n)
|
|
7463
7466
|
const i=xI(e,t.schema)
|
|
7464
7467
|
return"node"===i?wI(t,e,n):"mark"===i&&EI(t,e,n)}(this.state,n,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return H_(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e="\n\n",textSerializers:n={}}=t||{}
|
|
7465
|
-
return function(t,e){return sI(t,{from:0,to:t.content.size},e)}(this.state.doc,{blockSeparator:e,textSerializers:{...oI(this.schema),...n}})}get isEmpty(){return
|
|
7468
|
+
return function(t,e){return sI(t,{from:0,to:t.content.size},e)}(this.state.doc,{blockSeparator:e,textSerializers:{...oI(this.schema),...n}})}get isEmpty(){return TI(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const t=this.view.dom
|
|
7466
7469
|
t&&t.editor&&delete t.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var t
|
|
7467
7470
|
return!(null===(t=this.view)||void 0===t?void 0:t.docView)}$node(t,e){var n
|
|
7468
7471
|
return(null===(n=this.$doc)||void 0===n?void 0:n.querySelector(t,e))||null}$nodes(t,e){var n
|
|
@@ -7541,7 +7544,7 @@ const JI=class extends gs{}.compose({baseName:"toolbar",baseClass:gs,template:(t
|
|
|
7541
7544
|
${ae(0,e)}
|
|
7542
7545
|
</div>
|
|
7543
7546
|
</template>
|
|
7544
|
-
`,styles:XI
|
|
7547
|
+
`,styles:XI})
|
|
7545
7548
|
_i.getOrCreate().withPrefix("nimble").register(JI())
|
|
7546
7549
|
const QI="nimble-toolbar",tM="Bold",eM="Italics",nM="Bulleted List",iM="Numbered List",sM=yi.create({name:"rich-text-toggle-bold-label",cssCustomPropertyName:null}).withDefault(tM),oM=yi.create({name:"rich-text-toggle-italics-label",cssCustomPropertyName:null}).withDefault(eM),rM=yi.create({name:"rich-text-toggle-bulleted-list-label",cssCustomPropertyName:null}).withDefault(nM),aM=yi.create({name:"rich-text-toggle-numbered-list-label",cssCustomPropertyName:null}).withDefault(iM),lM=Mt`
|
|
7547
7550
|
${dv}
|
|
@@ -7985,7 +7988,7 @@ else if(r>=55296&&r<=57343){if(r>=55296&&r<=56319&&e+1<o){const n=t.charCodeAt(e
|
|
|
7985
7988
|
if(n>=56320&&n<=57343){s+=encodeURIComponent(t[e]+t[e+1]),e++
|
|
7986
7989
|
continue}}s+="%EF%BF%BD"}else s+=encodeURIComponent(t[e])}return s}function kM(t){let e=""
|
|
7987
7990
|
return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function SM(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}CM.defaultChars=";/?:@&=+$,-_.!~*'()#",CM.componentChars="-_.!~*'()"
|
|
7988
|
-
const _M=/^([a-z0-9.+-]+:)/i,IM=/:[0-9]*$/,MM=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,$M=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),DM=["'"].concat($M),EM=["%","/","?",";","#"].concat(DM),AM=["/","?","#"],
|
|
7991
|
+
const _M=/^([a-z0-9.+-]+:)/i,IM=/:[0-9]*$/,MM=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,$M=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),DM=["'"].concat($M),EM=["%","/","?",";","#"].concat(DM),AM=["/","?","#"],TM=/^[+a-z0-9A-Z_-]{0,63}$/,OM=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,RM={javascript:!0,"javascript:":!0},FM={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0}
|
|
7989
7992
|
function NM(t,e){if(t&&t instanceof SM)return t
|
|
7990
7993
|
const n=new SM
|
|
7991
7994
|
return n.parse(t,e),n}SM.prototype.parse=function(t,e){let n,i,s,o=t
|
|
@@ -8000,9 +8003,9 @@ o=o.slice(n),this.parseHost(s),this.hostname=this.hostname||""
|
|
|
8000
8003
|
const r="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1]
|
|
8001
8004
|
if(!r){const t=this.hostname.split(/\./)
|
|
8002
8005
|
for(let e=0,n=t.length;e<n;e++){const n=t[e]
|
|
8003
|
-
if(n&&!n.match(
|
|
8006
|
+
if(n&&!n.match(TM)){let i=""
|
|
8004
8007
|
for(let t=0,e=n.length;t<e;t++)n.charCodeAt(t)>127?i+="x":i+=n[t]
|
|
8005
|
-
if(!i.match(
|
|
8008
|
+
if(!i.match(TM)){const i=t.slice(0,e),s=t.slice(e+1),r=n.match(OM)
|
|
8006
8009
|
r&&(i.push(r[1]),s.unshift(r[2])),s.length&&(o=s.join(".")+o),this.hostname=i.join(".")
|
|
8007
8010
|
break}}}}this.hostname.length>255&&(this.hostname=""),r&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=o.indexOf("#");-1!==a&&(this.hash=o.substr(a),o=o.slice(0,a))
|
|
8008
8011
|
const l=o.indexOf("?")
|
|
@@ -8096,7 +8099,7 @@ e++,o++,40===i&&(i=41),r.marker=i}for(;o<n;){if(s=t.charCodeAt(o),s===r.marker)r
|
|
|
8096
8099
|
if(40===s&&41===r.marker)return r
|
|
8097
8100
|
92===s&&o+1<n&&o++,o++}return r.can_continue=!0,r.str+=g$(t.slice(e,o)),r}})
|
|
8098
8101
|
const A$={}
|
|
8099
|
-
function
|
|
8102
|
+
function T$(){this.rules=c$({},A$)}function O$(){this.__rules__=[],this.__cache__=null}function R$(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 F$(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}A$.code_inline=function(t,e,n,i,s){const o=t[e]
|
|
8100
8103
|
return"<code"+s.renderAttrs(o)+">"+x$(o.content)+"</code>"},A$.code_block=function(t,e,n,i,s){const o=t[e]
|
|
8101
8104
|
return"<pre"+s.renderAttrs(o)+"><code>"+x$(t[e].content)+"</code></pre>\n"},A$.fence=function(t,e,n,i,s){const o=t[e],r=o.info?g$(o.info).trim():""
|
|
8102
8105
|
let a,l="",c=""
|
|
@@ -8106,43 +8109,43 @@ if(r){const t=o.attrIndex("class"),e=o.attrs?o.attrs.slice():[]
|
|
|
8106
8109
|
t<0?e.push(["class",n.langPrefix+l]):(e[t]=e[t].slice(),e[t][1]+=" "+n.langPrefix+l)
|
|
8107
8110
|
const i={attrs:e}
|
|
8108
8111
|
return`<pre><code${s.renderAttrs(i)}>${a}</code></pre>\n`}return`<pre><code${s.renderAttrs(o)}>${a}</code></pre>\n`},A$.image=function(t,e,n,i,s){const o=t[e]
|
|
8109
|
-
return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,n,i),s.renderToken(t,e,n)},A$.hardbreak=function(t,e,n){return n.xhtmlOut?"<br />\n":"<br>\n"},A$.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},A$.text=function(t,e){return x$(t[e].content)},A$.html_block=function(t,e){return t[e].content},A$.html_inline=function(t,e){return t[e].content},
|
|
8112
|
+
return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,n,i),s.renderToken(t,e,n)},A$.hardbreak=function(t,e,n){return n.xhtmlOut?"<br />\n":"<br>\n"},A$.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},A$.text=function(t,e){return x$(t[e].content)},A$.html_block=function(t,e){return t[e].content},A$.html_inline=function(t,e){return t[e].content},T$.prototype.renderAttrs=function(t){let e,n,i
|
|
8110
8113
|
if(!t.attrs)return""
|
|
8111
8114
|
for(i="",e=0,n=t.attrs.length;e<n;e++)i+=" "+x$(t.attrs[e][0])+'="'+x$(t.attrs[e][1])+'"'
|
|
8112
|
-
return i},
|
|
8115
|
+
return i},T$.prototype.renderToken=function(t,e,n){const i=t[e]
|
|
8113
8116
|
let s=""
|
|
8114
8117
|
if(i.hidden)return""
|
|
8115
8118
|
i.block&&-1!==i.nesting&&e&&t[e-1].hidden&&(s+="\n"),s+=(-1===i.nesting?"</":"<")+i.tag,s+=this.renderAttrs(i),0===i.nesting&&n.xhtmlOut&&(s+=" /")
|
|
8116
8119
|
let o=!1
|
|
8117
|
-
if(i.block&&(o=!0,1===i.nesting&&e+1<t.length)){const n=t[e+1];("inline"===n.type||n.hidden||-1===n.nesting&&n.tag===i.tag)&&(o=!1)}return s+=o?">\n":">",s},
|
|
8120
|
+
if(i.block&&(o=!0,1===i.nesting&&e+1<t.length)){const n=t[e+1];("inline"===n.type||n.hidden||-1===n.nesting&&n.tag===i.tag)&&(o=!1)}return s+=o?">\n":">",s},T$.prototype.renderInline=function(t,e,n){let i=""
|
|
8118
8121
|
const s=this.rules
|
|
8119
8122
|
for(let o=0,r=t.length;o<r;o++){const r=t[o].type
|
|
8120
|
-
void 0!==s[r]?i+=s[r](t,o,e,n,this):i+=this.renderToken(t,o,e)}return i},
|
|
8123
|
+
void 0!==s[r]?i+=s[r](t,o,e,n,this):i+=this.renderToken(t,o,e)}return i},T$.prototype.renderInlineAsText=function(t,e,n){let i=""
|
|
8121
8124
|
for(let s=0,o=t.length;s<o;s++)switch(t[s].type){case"text":case"html_inline":case"html_block":i+=t[s].content
|
|
8122
8125
|
break
|
|
8123
8126
|
case"image":i+=this.renderInlineAsText(t[s].children,e,n)
|
|
8124
8127
|
break
|
|
8125
|
-
case"softbreak":case"hardbreak":i+="\n"}return i},
|
|
8128
|
+
case"softbreak":case"hardbreak":i+="\n"}return i},T$.prototype.render=function(t,e,n){let i=""
|
|
8126
8129
|
const s=this.rules
|
|
8127
8130
|
for(let o=0,r=t.length;o<r;o++){const r=t[o].type
|
|
8128
|
-
"inline"===r?i+=this.renderInline(t[o].children,e,n):void 0!==s[r]?i+=s[r](t,o,e,n,this):i+=this.renderToken(t,o,e,n)}return i},
|
|
8129
|
-
return-1},
|
|
8130
|
-
t.__rules__.forEach((function(t){t.enabled&&t.alt.forEach((function(t){e.indexOf(t)<0&&e.push(t)}))})),t.__cache__={},e.forEach((function(e){t.__cache__[e]=[],t.__rules__.forEach((function(n){n.enabled&&(e&&n.alt.indexOf(e)<0||t.__cache__[e].push(n.fn))}))}))},
|
|
8131
|
+
"inline"===r?i+=this.renderInline(t[o].children,e,n):void 0!==s[r]?i+=s[r](t,o,e,n,this):i+=this.renderToken(t,o,e,n)}return i},O$.prototype.__find__=function(t){for(let e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e
|
|
8132
|
+
return-1},O$.prototype.__compile__=function(){const t=this,e=[""]
|
|
8133
|
+
t.__rules__.forEach((function(t){t.enabled&&t.alt.forEach((function(t){e.indexOf(t)<0&&e.push(t)}))})),t.__cache__={},e.forEach((function(e){t.__cache__[e]=[],t.__rules__.forEach((function(n){n.enabled&&(e&&n.alt.indexOf(e)<0||t.__cache__[e].push(n.fn))}))}))},O$.prototype.at=function(t,e,n){const i=this.__find__(t),s=n||{}
|
|
8131
8134
|
if(-1===i)throw new Error("Parser rule not found: "+t)
|
|
8132
|
-
this.__rules__[i].fn=e,this.__rules__[i].alt=s.alt||[],this.__cache__=null},
|
|
8135
|
+
this.__rules__[i].fn=e,this.__rules__[i].alt=s.alt||[],this.__cache__=null},O$.prototype.before=function(t,e,n,i){const s=this.__find__(t),o=i||{}
|
|
8133
8136
|
if(-1===s)throw new Error("Parser rule not found: "+t)
|
|
8134
|
-
this.__rules__.splice(s,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},
|
|
8137
|
+
this.__rules__.splice(s,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},O$.prototype.after=function(t,e,n,i){const s=this.__find__(t),o=i||{}
|
|
8135
8138
|
if(-1===s)throw new Error("Parser rule not found: "+t)
|
|
8136
|
-
this.__rules__.splice(s+1,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},
|
|
8137
|
-
this.__rules__.push({name:t,enabled:!0,fn:e,alt:i.alt||[]}),this.__cache__=null},
|
|
8139
|
+
this.__rules__.splice(s+1,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},O$.prototype.push=function(t,e,n){const i=n||{}
|
|
8140
|
+
this.__rules__.push({name:t,enabled:!0,fn:e,alt:i.alt||[]}),this.__cache__=null},O$.prototype.enable=function(t,e){Array.isArray(t)||(t=[t])
|
|
8138
8141
|
const n=[]
|
|
8139
8142
|
return t.forEach((function(t){const i=this.__find__(t)
|
|
8140
8143
|
if(i<0){if(e)return
|
|
8141
|
-
throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[i].enabled=!0,n.push(t)}),this),this.__cache__=null,n},
|
|
8144
|
+
throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[i].enabled=!0,n.push(t)}),this),this.__cache__=null,n},O$.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach((function(t){t.enabled=!1})),this.enable(t,e)},O$.prototype.disable=function(t,e){Array.isArray(t)||(t=[t])
|
|
8142
8145
|
const n=[]
|
|
8143
8146
|
return t.forEach((function(t){const i=this.__find__(t)
|
|
8144
8147
|
if(i<0){if(e)return
|
|
8145
|
-
throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[i].enabled=!1,n.push(t)}),this),this.__cache__=null,n},
|
|
8148
|
+
throw new Error("Rules manager: invalid rule name "+t)}this.__rules__[i].enabled=!1,n.push(t)}),this),this.__cache__=null,n},O$.prototype.getRules=function(t){return null===this.__cache__&&this.__compile__(),this.__cache__[t]||[]},R$.prototype.attrIndex=function(t){if(!this.attrs)return-1
|
|
8146
8149
|
const e=this.attrs
|
|
8147
8150
|
for(let n=0,i=e.length;n<i;n++)if(e[n][0]===t)return n
|
|
8148
8151
|
return-1},R$.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]},R$.prototype.attrSet=function(t,e){const n=this.attrIndex(t),i=[t,e]
|
|
@@ -8213,7 +8216,7 @@ const s=i[t].children,o=s.length
|
|
|
8213
8216
|
for(e=0;e<o;e++)"text_special"===s[e].type&&(s[e].type="text")
|
|
8214
8217
|
for(e=n=0;e<o;e++)"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++)
|
|
8215
8218
|
e!==n&&(s.length=n)}}]]
|
|
8216
|
-
function J$(){this.ruler=new
|
|
8219
|
+
function J$(){this.ruler=new O$
|
|
8217
8220
|
for(let t=0;t<X$.length;t++)this.ruler.push(X$[t][0],X$[t][1])}function Q$(t,e,n,i){this.src=t,this.md=e,this.env=n,this.tokens=i,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0
|
|
8218
8221
|
const s=this.src
|
|
8219
8222
|
for(let t=0,e=0,n=0,i=0,o=s.length,r=!1;e<o;e++){const a=s.charCodeAt(e)
|
|
@@ -8481,7 +8484,7 @@ break}if(e)break}const r=t.getLines(e,o,t.blkIndent,!1).trim()
|
|
|
8481
8484
|
t.line=o,t.push("paragraph_open","p",1).map=[e,t.line]
|
|
8482
8485
|
const a=t.push("inline","",0)
|
|
8483
8486
|
return a.content=r,a.map=[e,t.line],a.children=[],t.push("paragraph_close","p",-1),t.parentType=s,!0}]]
|
|
8484
|
-
function dD(){this.ruler=new
|
|
8487
|
+
function dD(){this.ruler=new O$
|
|
8485
8488
|
for(let t=0;t<cD.length;t++)this.ruler.push(cD[t][0],cD[t][1],{alt:(cD[t][2]||[]).slice()})}function hD(t,e,n,i){this.src=t,this.env=n,this.md=e,this.tokens=i,this.tokens_meta=Array(i.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}function uD(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0
|
|
8486
8489
|
default:return!1}}dD.prototype.tokenize=function(t,e,n){const i=this.ruler.getRules(""),s=i.length,o=t.md.options.maxNesting
|
|
8487
8490
|
let r=e,a=!1
|
|
@@ -8676,9 +8679,9 @@ for(let t=0;t<n;t++)e[t]&&e[t].delimiters&&kD(e[t].delimiters)}],["strikethrough
|
|
|
8676
8679
|
const s=t.tokens,o=t.tokens.length
|
|
8677
8680
|
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++)
|
|
8678
8681
|
e!==n&&(s.length=n)}]]
|
|
8679
|
-
function ID(){this.ruler=new
|
|
8682
|
+
function ID(){this.ruler=new O$
|
|
8680
8683
|
for(let t=0;t<SD.length;t++)this.ruler.push(SD[t][0],SD[t][1])
|
|
8681
|
-
this.ruler2=new
|
|
8684
|
+
this.ruler2=new O$
|
|
8682
8685
|
for(let t=0;t<_D.length;t++)this.ruler2.push(_D[t][0],_D[t][1])}function MD(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){e&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t}function $D(t){return Object.prototype.toString.call(t)}function DD(t){return"[object Function]"===$D(t)}function ED(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}ID.prototype.skipToken=function(t){const e=t.pos,n=this.ruler.getRules(""),i=n.length,s=t.md.options.maxNesting,o=t.cache
|
|
8683
8686
|
if(void 0!==o[e])return void(t.pos=o[e])
|
|
8684
8687
|
let r=!1
|
|
@@ -8693,15 +8696,15 @@ this.tokenize(s)
|
|
|
8693
8696
|
const o=this.ruler2.getRules(""),r=o.length
|
|
8694
8697
|
for(let t=0;t<r;t++)o[t](s)},ID.prototype.State=hD
|
|
8695
8698
|
const AD={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1}
|
|
8696
|
-
const
|
|
8699
|
+
const TD={"http:":{validate:function(t,e,n){const i=t.slice(e)
|
|
8697
8700
|
return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){const i=t.slice(e)
|
|
8698
8701
|
return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?e>=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const i=t.slice(e)
|
|
8699
|
-
return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},
|
|
8702
|
+
return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},OD="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",RD="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|")
|
|
8700
8703
|
function FD(t){const e=t.re=function(t){const e={}
|
|
8701
8704
|
t=t||{},e.src_Any=PM.source,e.src_Cc=VM.source,e.src_Z=UM.source,e.src_P=zM.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|")
|
|
8702
8705
|
const n="[><|]"
|
|
8703
8706
|
return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}(t.__opts__),n=t.__tlds__.slice()
|
|
8704
|
-
function i(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(
|
|
8707
|
+
function i(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(OD),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(i(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(i(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(i(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(i(e.tpl_host_fuzzy_test),"i")
|
|
8705
8708
|
const s=[]
|
|
8706
8709
|
function o(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){const n=t.__schemas__[e]
|
|
8707
8710
|
if(null===n)return
|
|
@@ -8714,7 +8717,7 @@ t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+r+")","i"),t.re.s
|
|
|
8714
8717
|
this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=s,this.text=s,this.url=s}function LD(t,e){const n=new ND(t,e)
|
|
8715
8718
|
return t.__compiled__[n.schema].normalize(n,t),n}function BD(t,e){if(!(this instanceof BD))return new BD(t,e)
|
|
8716
8719
|
var n
|
|
8717
|
-
e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||AD.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=MD({},AD,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=MD({},
|
|
8720
|
+
e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||AD.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=MD({},AD,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=MD({},TD,t),this.__compiled__={},this.__tlds__=RD,this.__tlds_replaced__=!1,this.re={},FD(this)}BD.prototype.add=function(t,e){return this.__schemas__[t]=e,FD(this),this},BD.prototype.set=function(t){return this.__opts__=MD(this.__opts__,t),this},BD.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1
|
|
8718
8721
|
let e,n,i,s,o,r,a,l,c
|
|
8719
8722
|
if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(e=a.exec(t));)if(s=this.testSchemaAt(t,e[2],a.lastIndex),s){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+s
|
|
8720
8723
|
break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&null!==(i=t.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,r=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&r>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=r))),this.__index__>=0},BD.prototype.pretest=function(t){return this.re.pretest.test(t)},BD.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},BD.prototype.match=function(t){const e=[]
|
|
@@ -8775,7 +8778,7 @@ return!nE.test(e)||iE.test(e)}const oE=["http:","https:","mailto:"]
|
|
|
8775
8778
|
function rE(t){const e=NM(t,!0)
|
|
8776
8779
|
if(e.hostname&&(!e.protocol||oE.indexOf(e.protocol)>=0))try{e.hostname=tE.toASCII(e.hostname)}catch(t){}return CM(kM(e))}function aE(t){const e=NM(t,!0)
|
|
8777
8780
|
if(e.hostname&&(!e.protocol||oE.indexOf(e.protocol)>=0))try{e.hostname=tE.toUnicode(e.hostname)}catch(t){}return wM(kM(e),wM.defaultChars+"%")}function lE(t,e){if(!(this instanceof lE))return new lE(t,e)
|
|
8778
|
-
e||a$(t)||(e=t||{},t="default"),this.inline=new ID,this.block=new dD,this.core=new J$,this.renderer=new
|
|
8781
|
+
e||a$(t)||(e=t||{},t="default"),this.inline=new ID,this.block=new dD,this.core=new J$,this.renderer=new T$,this.linkify=new BD,this.validateLink=sE,this.normalizeLink=rE,this.normalizeLinkText=aE,this.utils=D$,this.helpers=c$({},E$),this.options={},this.configure(t),e&&this.set(e)}lE.prototype.set=function(t){return c$(this.options,t),this},lE.prototype.configure=function(t){const e=this
|
|
8779
8782
|
if(a$(t)){const e=t
|
|
8780
8783
|
if(!(t=eE[e]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty")
|
|
8781
8784
|
return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach((function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)})),this},lE.prototype.enable=function(t,e){let n=[]
|
|
@@ -8882,14 +8885,14 @@ for(const t of this.mappingElements){const e=x.getNotifier(t)
|
|
|
8882
8885
|
e.subscribe(this),this.mappingNotifiers.push(e)}}}t([ft],ME.prototype,"pattern",void 0),t([ft({attribute:"button-label"})],ME.prototype,"buttonLabel",void 0),t([C],ME.prototype,"mappingElements",void 0)
|
|
8883
8886
|
class $E{constructor(t){this.regexPattern=new RegExp(t.pattern??""),this.mappingConfigs=t.mappingConfigs,this.viewElement=t.viewElement}isValidMentionHref(t){return this.regexPattern.test(t)}getDisplayName(t){const e=this.mappingConfigs?.get(t),n=this.extractMentionId(t)
|
|
8884
8887
|
return e?.displayName??n}extractMentionId(t){const e=this.regexPattern.exec(t)
|
|
8885
|
-
return e?.[1]??void 0}}class DE{constructor(t){this.parserMentionConfig=[],this.isValid=!0,this.isValid=t.every((t=>t.mentionInternals.validator.isValid())),this.parserMentionConfig=this.isValid?t.map((t=>new $E(t.mentionInternals))):[]}}class EE{constructor(t){this.trackedItems={},this.trackedItems=t.reduce(((t,e)=>({...t,[e]:!1})),this.trackedItems)}getTrackedItems(){return{...this.trackedItems}}isTracked(t){return this.trackedItems[t]}track(t){this.trackedItems[t]||(this.trackedItems[t]=!0,this.onTrackingChange())}untrack(t){this.trackedItems[t]&&(this.trackedItems[t]=!1,this.onTrackingChange())}trackAll(){this.allTracked()||(this.setAllKeys(!0),this.onTrackingChange())}untrackAll(){this.noneTracked()||(this.setAllKeys(!1),this.onTrackingChange())}allTracked(){return Object.values(this.trackedItems).every((t=>t))}anyTracked(){return Object.values(this.trackedItems).some((t=>t))}noneTracked(){return Object.values(this.trackedItems).every((t=>!t))}onTrackingChange(){}setAllKeys(t){this.trackedItems=Object.keys(this.trackedItems).reduce(((e,n)=>({...e,[n]:t})),this.trackedItems)}}class AE extends EE{}const
|
|
8886
|
-
class
|
|
8888
|
+
return e?.[1]??void 0}}class DE{constructor(t){this.parserMentionConfig=[],this.isValid=!0,this.isValid=t.every((t=>t.mentionInternals.validator.isValid())),this.parserMentionConfig=this.isValid?t.map((t=>new $E(t.mentionInternals))):[]}}class EE{constructor(t){this.trackedItems={},this.trackedItems=t.reduce(((t,e)=>({...t,[e]:!1})),this.trackedItems)}getTrackedItems(){return{...this.trackedItems}}isTracked(t){return this.trackedItems[t]}track(t){this.trackedItems[t]||(this.trackedItems[t]=!0,this.onTrackingChange())}untrack(t){this.trackedItems[t]&&(this.trackedItems[t]=!1,this.onTrackingChange())}trackAll(){this.allTracked()||(this.setAllKeys(!0),this.onTrackingChange())}untrackAll(){this.noneTracked()||(this.setAllKeys(!1),this.onTrackingChange())}allTracked(){return Object.values(this.trackedItems).every((t=>t))}anyTracked(){return Object.values(this.trackedItems).some((t=>t))}noneTracked(){return Object.values(this.trackedItems).every((t=>!t))}onTrackingChange(){}setAllKeys(t){this.trackedItems=Object.keys(this.trackedItems).reduce(((e,n)=>({...e,[n]:t})),this.trackedItems)}}class AE extends EE{}const TE=["pattern","mappingConfigs","buttonLabel"]
|
|
8889
|
+
class OE extends AE{constructor(t){super(TE),this.richText=t,this.updateQueued=!1}get updatePattern(){return this.isTracked("pattern")}get updateMappingConfigs(){return this.isTracked("mappingConfigs")}get updateButtonLabel(){return this.isTracked("buttonLabel")}trackMentionInternalsPropertyChanged(t){switch(t){case"mappingConfigs":this.track("mappingConfigs")
|
|
8887
8890
|
break
|
|
8888
8891
|
case"pattern":this.track("pattern")
|
|
8889
8892
|
break
|
|
8890
8893
|
case"buttonLabel":this.track("buttonLabel")}this.queueUpdate()}trackMentionElementsInstancesChanged(){this.track("pattern"),this.track("mappingConfigs"),this.track("buttonLabel"),this.queueUpdate()}queueUpdate(){this.richText.$fastController.isConnected&&(this.updateQueued||(this.updateQueued=!0,b.queueUpdate((()=>{this.richText.createConfig(),this.untrackAll(),this.updateQueued=!1}))))}}class RE{constructor(){this.invalidMentionConfiguration=!1,this.duplicateMentionConfiguration=!1}getValidity(){return{invalidMentionConfiguration:this.invalidMentionConfiguration,duplicateMentionConfiguration:this.duplicateMentionConfiguration}}isValid(){return Object.values(this.getValidity()).every((t=>!1===t))}validate(t){this.validateDuplicateMentionConfigurations(t),this.validateMentionConfigurations(t)}validateMentionConfigurations(t){return this.invalidMentionConfiguration=t.some((t=>!t.mentionInternals.validator.isValid())),!this.invalidMentionConfiguration}validateDuplicateMentionConfigurations(t){const e=t.map((t=>t.mentionInternals.character))
|
|
8891
8894
|
return this.duplicateMentionConfiguration=e.length!==new Set(e).size,!this.duplicateMentionConfiguration}}async function FE(t){const e=t.map((async t=>{t.matches(":not(:defined)")&&await customElements.whenDefined(t.localName)}))
|
|
8892
|
-
await Promise.all(e)}class NE extends We{constructor(){super(...arguments),this.mentionInternalsNotifiers=[],this.childItems=[],this.richTextUpdateTracker=new
|
|
8895
|
+
await Promise.all(e)}class NE extends We{constructor(){super(...arguments),this.mentionInternalsNotifiers=[],this.childItems=[],this.richTextUpdateTracker=new OE(this),this.richTextValidator=new RE}get validity(){return this.richTextValidator.getValidity()}checkValidity(){return this.richTextValidator.isValid()}handleChange(t,e){t instanceof IE&&"string"==typeof e&&this.richTextUpdateTracker.trackMentionInternalsPropertyChanged(e)}createConfig(){this.validate(),this.richTextValidator.isValid()?(this.richTextUpdateTracker.updateMappingConfigs||this.richTextUpdateTracker.updatePattern)&&(this.configuration=new DE(this.mentionElements)):this.configuration=void 0}validate(){this.richTextValidator.validate(this.mentionElements)}childItemsChanged(t,e){void 0!==t&&this.updateMentionElementsFromChildItems()}async updateMentionElementsFromChildItems(){await FE(this.childItems),this.mentionElements=this.childItems.filter((t=>t instanceof ME)),this.observeMentionInternals(),this.richTextUpdateTracker.trackMentionElementsInstancesChanged()}observeMentionInternals(){this.removeMentionInternalsObservers()
|
|
8893
8896
|
for(const t of this.mentionElements){const e=x.getNotifier(t.mentionInternals)
|
|
8894
8897
|
e.subscribe(this),this.mentionInternalsNotifiers.push(e)}}removeMentionInternalsObservers(){this.mentionInternalsNotifiers.forEach((t=>{t.unsubscribe(this)})),this.mentionInternalsNotifiers=[]}}t([C],NE.prototype,"childItems",void 0),t([C],NE.prototype,"configuration",void 0)
|
|
8895
8898
|
const LE=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,BE=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,PE=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,VE=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,zE=X_.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>"normal"!==t.style.fontWeight&&null},{style:"font-weight=400",clearMark:t=>t.type.name===this.name},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}]},renderHTML({HTMLAttributes:t}){return["strong",R_(this.options.HTMLAttributes,t),0]},addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[WI({find:LE,type:this.type}),WI({find:PE,type:this.type})]},addPasteRules(){return[KI({find:BE,type:this.type}),KI({find:VE,type:this.type})]}}),HE="textStyle",UE=/^\s*([-+*])\s$/,qE=ZI.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:t}){return["ul",R_(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(HE)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=GI({find:UE,type:this.type})
|
|
@@ -8977,132 +8980,132 @@ o&&i(e?o.scrollIntoView():o)}return!0}}const cA=lA(!1,!0),dA=lA(!0,!0),hA=iI.cre
|
|
|
8977
8980
|
return t},wA="numeric",xA="ascii",CA="alpha",kA="asciinumeric",SA="alphanumeric",_A="domain",IA="emoji",MA="scheme",$A="slashscheme",DA="whitespace"
|
|
8978
8981
|
function EA(t,e){return t in e||(e[t]=[]),e[t]}function AA(t,e,n){e[wA]&&(e[kA]=!0,e[SA]=!0),e[xA]&&(e[kA]=!0,e[CA]=!0),e[kA]&&(e[SA]=!0),e[CA]&&(e[SA]=!0),e[SA]&&(e[_A]=!0),e[IA]&&(e[_A]=!0)
|
|
8979
8982
|
for(const i in e){const e=EA(i,n)
|
|
8980
|
-
e.indexOf(t)<0&&e.push(t)}}function
|
|
8983
|
+
e.indexOf(t)<0&&e.push(t)}}function TA(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}TA.groups={},TA.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t]
|
|
8981
8984
|
if(n)return n
|
|
8982
8985
|
for(let n=0;n<e.jr.length;n++){const i=e.jr[n][0],s=e.jr[n][1]
|
|
8983
8986
|
if(s&&i.test(t))return s}return e.jd},has(t,e=!1){return e?t in this.j:!!this.go(t)},ta(t,e,n,i){for(let s=0;s<t.length;s++)this.tt(t[s],e,n,i)},tr(t,e,n,i){let s
|
|
8984
|
-
return i=i||
|
|
8987
|
+
return i=i||TA.groups,e&&e.j?s=e:(s=new TA(e),n&&i&&AA(e,n,i)),this.jr.push([t,s]),s},ts(t,e,n,i){let s=this
|
|
8985
8988
|
const o=t.length
|
|
8986
8989
|
if(!o)return s
|
|
8987
8990
|
for(let e=0;e<o-1;e++)s=s.tt(t[e])
|
|
8988
|
-
return s.tt(t[o-1],e,n,i)},tt(t,e,n,i){i=i||
|
|
8991
|
+
return s.tt(t[o-1],e,n,i)},tt(t,e,n,i){i=i||TA.groups
|
|
8989
8992
|
const s=this
|
|
8990
8993
|
if(e&&e.j)return s.j[t]=e,e
|
|
8991
8994
|
const o=e
|
|
8992
8995
|
let r,a=s.go(t)
|
|
8993
|
-
if(a?(r=new
|
|
8996
|
+
if(a?(r=new TA,yA(r.j,a.j),r.jr.push.apply(r.jr,a.jr),r.jd=a.jd,r.t=a.t):r=new TA,o){if(i)if(r.t&&"string"==typeof r.t){const t=yA(function(t,e){const n={}
|
|
8994
8997
|
for(const i in e)e[i].indexOf(t)>=0&&(n[i]=!0)
|
|
8995
8998
|
return n}(r.t,i),n)
|
|
8996
8999
|
AA(o,t,i)}else n&&AA(o,n,i)
|
|
8997
9000
|
r.t=o}return s.j[t]=r,r}}
|
|
8998
|
-
const
|
|
8999
|
-
var
|
|
9000
|
-
const
|
|
9001
|
-
let
|
|
9002
|
-
function
|
|
9001
|
+
const OA=(t,e,n,i,s)=>t.ta(e,n,i,s),RA=(t,e,n,i,s)=>t.tr(e,n,i,s),FA=(t,e,n,i,s)=>t.ts(e,n,i,s),NA=(t,e,n,i,s)=>t.tt(e,n,i,s),LA="WORD",BA="UWORD",PA="ASCIINUMERICAL",VA="ALPHANUMERICAL",zA="LOCALHOST",HA="TLD",UA="UTLD",qA="SCHEME",jA="SLASH_SCHEME",WA="NUM",GA="WS",ZA="NL",KA="OPENBRACE",YA="CLOSEBRACE",XA="OPENBRACKET",JA="CLOSEBRACKET",QA="OPENPAREN",tT="CLOSEPAREN",eT="OPENANGLEBRACKET",nT="CLOSEANGLEBRACKET",iT="FULLWIDTHLEFTPAREN",sT="FULLWIDTHRIGHTPAREN",oT="LEFTCORNERBRACKET",rT="RIGHTCORNERBRACKET",aT="LEFTWHITECORNERBRACKET",lT="RIGHTWHITECORNERBRACKET",cT="FULLWIDTHLESSTHAN",dT="FULLWIDTHGREATERTHAN",hT="AMPERSAND",uT="APOSTROPHE",pT="ASTERISK",fT="AT",mT="BACKSLASH",gT="BACKTICK",vT="CARET",bT="COLON",yT="COMMA",wT="DOLLAR",xT="DOT",CT="EQUALS",kT="EXCLAMATION",ST="HYPHEN",_T="PERCENT",IT="PIPE",MT="PLUS",$T="POUND",DT="QUERY",ET="QUOTE",AT="FULLWIDTHMIDDLEDOT",TT="SEMI",OT="SLASH",RT="TILDE",FT="UNDERSCORE",NT="EMOJI",LT="SYM"
|
|
9002
|
+
var BT=Object.freeze({__proto__:null,WORD:LA,UWORD:BA,ASCIINUMERICAL:PA,ALPHANUMERICAL:VA,LOCALHOST:zA,TLD:HA,UTLD:UA,SCHEME:qA,SLASH_SCHEME:jA,NUM:WA,WS:GA,NL:ZA,OPENBRACE:KA,CLOSEBRACE:YA,OPENBRACKET:XA,CLOSEBRACKET:JA,OPENPAREN:QA,CLOSEPAREN:tT,OPENANGLEBRACKET:eT,CLOSEANGLEBRACKET:nT,FULLWIDTHLEFTPAREN:iT,FULLWIDTHRIGHTPAREN:sT,LEFTCORNERBRACKET:oT,RIGHTCORNERBRACKET:rT,LEFTWHITECORNERBRACKET:aT,RIGHTWHITECORNERBRACKET:lT,FULLWIDTHLESSTHAN:cT,FULLWIDTHGREATERTHAN:dT,AMPERSAND:hT,APOSTROPHE:uT,ASTERISK:pT,AT:fT,BACKSLASH:mT,BACKTICK:gT,CARET:vT,COLON:bT,COMMA:yT,DOLLAR:wT,DOT:xT,EQUALS:CT,EXCLAMATION:kT,HYPHEN:ST,PERCENT:_T,PIPE:IT,PLUS:MT,POUND:$T,QUERY:DT,QUOTE:ET,FULLWIDTHMIDDLEDOT:AT,SEMI:TT,SLASH:OT,TILDE:RT,UNDERSCORE:FT,EMOJI:NT,SYM:LT})
|
|
9003
|
+
const PT=/[a-z]/,VT=/\p{L}/u,zT=/\p{Emoji}/u,HT=/\d/,UT=/\s/,qT="\r",jT="\n",WT="️",GT="",ZT=""
|
|
9004
|
+
let KT=null,YT=null
|
|
9005
|
+
function XT(t,e){const n=function(t){const e=[],n=t.length
|
|
9003
9006
|
let i=0
|
|
9004
9007
|
for(;i<n;){let s,o=t.charCodeAt(i),r=o<55296||o>56319||i+1===n||(s=t.charCodeAt(i+1))<56320||s>57343?t[i]:t.slice(i,i+2)
|
|
9005
9008
|
e.push(r),i+=r.length}return e}(e.replace(/[A-Z]/g,(t=>t.toLowerCase()))),i=n.length,s=[]
|
|
9006
9009
|
let o=0,r=0
|
|
9007
9010
|
for(;r<i;){let a=t,l=null,c=0,d=null,h=-1,u=-1
|
|
9008
9011
|
for(;r<i&&(l=a.go(n[r]));)a=l,a.accepts()?(h=0,u=0,d=a):h>=0&&(h+=n[r].length,u++),c+=n[r].length,o+=n[r].length,r++
|
|
9009
|
-
o-=h,r-=u,c-=h,s.push({t:d.t,v:e.slice(o-c,o),s:o-c,e:o})}return s}function
|
|
9012
|
+
o-=h,r-=u,c-=h,s.push({t:d.t,v:e.slice(o-c,o),s:o-c,e:o})}return s}function JT(t,e,n,i,s){let o
|
|
9010
9013
|
const r=e.length
|
|
9011
9014
|
for(let n=0;n<r-1;n++){const r=e[n]
|
|
9012
|
-
t.j[r]?o=t.j[r]:(o=new
|
|
9015
|
+
t.j[r]?o=t.j[r]:(o=new TA(i),o.jr=s.slice(),t.j[r]=o),t=o}return o=new TA(n),o.jr=s.slice(),t.j[e[r-1]]=o,o}function QT(t){const e=[],n=[]
|
|
9013
9016
|
let i=0
|
|
9014
9017
|
for(;i<t.length;){let s=0
|
|
9015
9018
|
for(;"0123456789".indexOf(t[i+s])>=0;)s++
|
|
9016
9019
|
if(s>0){e.push(n.join(""))
|
|
9017
9020
|
for(let e=parseInt(t.substring(i,i+s),10);e>0;e--)n.pop()
|
|
9018
|
-
i+=s}else n.push(t[i]),i++}return e}const
|
|
9019
|
-
function
|
|
9020
|
-
t&&(n=yA(n,t instanceof
|
|
9021
|
+
i+=s}else n.push(t[i]),i++}return e}const tO={defaultProtocol:"http",events:null,format:nO,formatHref:nO,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null}
|
|
9022
|
+
function eO(t,e=null){let n=yA({},tO)
|
|
9023
|
+
t&&(n=yA(n,t instanceof eO?t.o:t))
|
|
9021
9024
|
const i=n.ignoreTags,s=[]
|
|
9022
9025
|
for(let t=0;t<i.length;t++)s.push(i[t].toUpperCase())
|
|
9023
|
-
this.o=n,e&&(this.defaultRender=e),this.ignoreTags=s}function
|
|
9024
|
-
return n.t=t,n}
|
|
9026
|
+
this.o=n,e&&(this.defaultRender=e),this.ignoreTags=s}function nO(t){return t}function iO(t,e){this.t="token",this.v=t,this.tk=e}function sO(t,e){class n extends iO{constructor(e,n){super(e,n),this.t=t}}for(const t in e)n.prototype[t]=e[t]
|
|
9027
|
+
return n.t=t,n}eO.prototype={o:tO,ignoreTags:[],defaultRender:t=>t,check(t){return this.get("validate",t.toString(),t)},get(t,e,n){const i=null!=e
|
|
9025
9028
|
let s=this.o[t]
|
|
9026
|
-
return s?("object"==typeof s?(s=n.t in s?s[n.t]:
|
|
9029
|
+
return s?("object"==typeof s?(s=n.t in s?s[n.t]:tO[t],"function"==typeof s&&i&&(s=s(e,n))):"function"==typeof s&&i&&(s=s(e,n.t,n)),s):s},getObj(t,e,n){let i=this.o[t]
|
|
9027
9030
|
return"function"==typeof i&&null!=e&&(i=i(e,n.t,n)),i},render(t){const e=t.render(this)
|
|
9028
|
-
return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}},
|
|
9029
|
-
return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=
|
|
9031
|
+
return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}},iO.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const e=this.toString(),n=t.get("truncate",e,this),i=t.get("format",e,this)
|
|
9032
|
+
return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=tO.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),i=t.get("formatHref",n,this),s=t.get("tagName",n,e),o=this.toFormattedString(t),r={},a=t.get("className",n,e),l=t.get("target",n,e),c=t.get("rel",n,e),d=t.getObj("attributes",n,e),h=t.getObj("events",n,e)
|
|
9030
9033
|
return r.href=i,a&&(r.class=a),l&&(r.target=l),c&&(r.rel=c),d&&yA(r,d),{tagName:s,attributes:r,content:o,eventListeners:h}}}
|
|
9031
|
-
const
|
|
9032
|
-
return t.length>=2&&t[0].t!==zA&&t[1].t===
|
|
9033
|
-
function
|
|
9034
|
-
return new t(e.slice(i,s),n)}const
|
|
9035
|
-
function
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
const n=new
|
|
9039
|
-
null==
|
|
9040
|
-
const i=RA(n,
|
|
9041
|
-
RA(i,
|
|
9042
|
-
const s=RA(i,
|
|
9043
|
-
RA(r,
|
|
9044
|
-
const a=RA(n,
|
|
9045
|
-
RA(a,
|
|
9046
|
-
const l=NA(n,
|
|
9047
|
-
NA(n,
|
|
9048
|
-
const h=RA(n,
|
|
9049
|
-
NA(h,"#"),RA(h,
|
|
9050
|
-
const u=NA(h,
|
|
9051
|
-
NA(u,"#"),RA(u,
|
|
9052
|
-
const p=[[
|
|
9053
|
-
for(let t=0;t<
|
|
9054
|
-
for(let t=0;t<
|
|
9055
|
-
AA(HA,{tld:!0,ascii:!0},e),AA(UA,{utld:!0,alpha:!0},e),
|
|
9034
|
+
const oO=sO("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),rO=sO("text"),aO=sO("nl"),lO=sO("url",{isLink:!0,toHref(t=tO.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk
|
|
9035
|
+
return t.length>=2&&t[0].t!==zA&&t[1].t===bT}}),cO=t=>new TA(t)
|
|
9036
|
+
function dO(t,e,n){const i=n[0].s,s=n[n.length-1].e
|
|
9037
|
+
return new t(e.slice(i,s),n)}const hO="undefined"!=typeof console&&console&&console.warn||(()=>{}),uO={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1}
|
|
9038
|
+
function pO(t,e=!1){if(uO.initialized&&hO(`linkifyjs: already initialized - will not register custom scheme "${t}" until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error('linkifyjs: incorrect scheme format.\n1. Must only contain digits, lowercase ASCII letters or "-"\n2. Cannot start or end with "-"\n3. "-" cannot repeat')
|
|
9039
|
+
uO.customSchemes.push([t,e])}function fO(){uO.scanner=function(t=[]){const e={}
|
|
9040
|
+
TA.groups=e
|
|
9041
|
+
const n=new TA
|
|
9042
|
+
null==KT&&(KT=QT(vA)),null==YT&&(YT=QT(bA)),NA(n,"'",uT),NA(n,"{",KA),NA(n,"}",YA),NA(n,"[",XA),NA(n,"]",JA),NA(n,"(",QA),NA(n,")",tT),NA(n,"<",eT),NA(n,">",nT),NA(n,"(",iT),NA(n,")",sT),NA(n,"「",oT),NA(n,"」",rT),NA(n,"『",aT),NA(n,"』",lT),NA(n,"<",cT),NA(n,">",dT),NA(n,"&",hT),NA(n,"*",pT),NA(n,"@",fT),NA(n,"`",gT),NA(n,"^",vT),NA(n,":",bT),NA(n,",",yT),NA(n,"$",wT),NA(n,".",xT),NA(n,"=",CT),NA(n,"!",kT),NA(n,"-",ST),NA(n,"%",_T),NA(n,"|",IT),NA(n,"+",MT),NA(n,"#",$T),NA(n,"?",DT),NA(n,'"',ET),NA(n,"/",OT),NA(n,";",TT),NA(n,"~",RT),NA(n,"_",FT),NA(n,"\\",mT),NA(n,"・",AT)
|
|
9043
|
+
const i=RA(n,HT,WA,{[wA]:!0})
|
|
9044
|
+
RA(i,HT,i)
|
|
9045
|
+
const s=RA(i,PT,PA,{[kA]:!0}),o=RA(i,VT,VA,{[SA]:!0}),r=RA(n,PT,LA,{[xA]:!0})
|
|
9046
|
+
RA(r,HT,s),RA(r,PT,r),RA(s,HT,s),RA(s,PT,s)
|
|
9047
|
+
const a=RA(n,VT,BA,{[CA]:!0})
|
|
9048
|
+
RA(a,PT),RA(a,HT,o),RA(a,VT,a),RA(o,HT,o),RA(o,PT),RA(o,VT,o)
|
|
9049
|
+
const l=NA(n,jT,ZA,{[DA]:!0}),c=NA(n,qT,GA,{[DA]:!0}),d=RA(n,UT,GA,{[DA]:!0})
|
|
9050
|
+
NA(n,ZT,d),NA(c,jT,l),NA(c,ZT,d),RA(c,UT,d),NA(d,qT),NA(d,jT),RA(d,UT,d),NA(d,ZT,d)
|
|
9051
|
+
const h=RA(n,zT,NT,{[IA]:!0})
|
|
9052
|
+
NA(h,"#"),RA(h,zT,h),NA(h,WT,h)
|
|
9053
|
+
const u=NA(h,GT)
|
|
9054
|
+
NA(u,"#"),RA(u,zT,h)
|
|
9055
|
+
const p=[[PT,r],[HT,s]],f=[[PT,null],[VT,a],[HT,o]]
|
|
9056
|
+
for(let t=0;t<KT.length;t++)JT(n,KT[t],HA,LA,p)
|
|
9057
|
+
for(let t=0;t<YT.length;t++)JT(n,YT[t],UA,BA,f)
|
|
9058
|
+
AA(HA,{tld:!0,ascii:!0},e),AA(UA,{utld:!0,alpha:!0},e),JT(n,"file",qA,LA,p),JT(n,"mailto",qA,LA,p),JT(n,"http",jA,LA,p),JT(n,"https",jA,LA,p),JT(n,"ftp",jA,LA,p),JT(n,"ftps",jA,LA,p),AA(qA,{scheme:!0,ascii:!0},e),AA(jA,{slashscheme:!0,ascii:!0},e),t=t.sort(((t,e)=>t[0]>e[0]?1:-1))
|
|
9056
9059
|
for(let e=0;e<t.length;e++){const i=t[e][0],s=t[e][1]?{[MA]:!0}:{[$A]:!0}
|
|
9057
|
-
i.indexOf("-")>=0?s[_A]=!0:
|
|
9058
|
-
for(let t=0;t<
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
const r=
|
|
9062
|
-
|
|
9063
|
-
const c=NA(r,
|
|
9064
|
-
NA(o,
|
|
9065
|
-
const d=NA(o,
|
|
9066
|
-
|
|
9067
|
-
const h=
|
|
9068
|
-
|
|
9069
|
-
const u=NA(h,
|
|
9070
|
-
|
|
9071
|
-
const p=
|
|
9072
|
-
|
|
9073
|
-
const f=NA(h,
|
|
9074
|
-
NA(f,
|
|
9075
|
-
const m=NA(p,
|
|
9076
|
-
|
|
9077
|
-
const g=NA(r,
|
|
9078
|
-
NA(g,
|
|
9079
|
-
const b=
|
|
9080
|
-
|
|
9081
|
-
const y=NA(b,
|
|
9082
|
-
|
|
9083
|
-
const x=
|
|
9084
|
-
|
|
9085
|
-
const k=NA(a,
|
|
9086
|
-
|
|
9087
|
-
const M=[[KA,YA],[XA,JA],[QA,
|
|
9060
|
+
i.indexOf("-")>=0?s[_A]=!0:PT.test(i)?HT.test(i)?s[kA]=!0:s[xA]=!0:s[wA]=!0,FA(n,i,i,s)}return FA(n,"localhost",zA,{ascii:!0}),n.jd=new TA(LT),{start:n,tokens:yA({groups:e},BT)}}(uO.customSchemes)
|
|
9061
|
+
for(let t=0;t<uO.tokenQueue.length;t++)uO.tokenQueue[t][1]({scanner:uO.scanner})
|
|
9062
|
+
uO.parser=function({groups:t}){const e=t.domain.concat([hT,pT,fT,mT,gT,vT,wT,CT,ST,WA,_T,IT,MT,$T,OT,LT,RT,FT]),n=[bT,yT,xT,kT,_T,DT,ET,TT,eT,nT,KA,YA,JA,XA,QA,tT,iT,sT,oT,rT,aT,lT,cT,dT],i=[hT,uT,pT,mT,gT,vT,wT,CT,ST,KA,YA,_T,IT,MT,$T,DT,OT,LT,RT,FT],s=cO(),o=NA(s,RT)
|
|
9063
|
+
OA(o,i,o),OA(o,t.domain,o)
|
|
9064
|
+
const r=cO(),a=cO(),l=cO()
|
|
9065
|
+
OA(s,t.domain,r),OA(s,t.scheme,a),OA(s,t.slashscheme,l),OA(r,i,o),OA(r,t.domain,r)
|
|
9066
|
+
const c=NA(r,fT)
|
|
9067
|
+
NA(o,fT,c),NA(a,fT,c),NA(l,fT,c)
|
|
9068
|
+
const d=NA(o,xT)
|
|
9069
|
+
OA(d,i,o),OA(d,t.domain,o)
|
|
9070
|
+
const h=cO()
|
|
9071
|
+
OA(c,t.domain,h),OA(h,t.domain,h)
|
|
9072
|
+
const u=NA(h,xT)
|
|
9073
|
+
OA(u,t.domain,h)
|
|
9074
|
+
const p=cO(oO)
|
|
9075
|
+
OA(u,t.tld,p),OA(u,t.utld,p),NA(c,zA,p)
|
|
9076
|
+
const f=NA(h,ST)
|
|
9077
|
+
NA(f,ST,f),OA(f,t.domain,h),OA(p,t.domain,h),NA(p,xT,u),NA(p,ST,f)
|
|
9078
|
+
const m=NA(p,bT)
|
|
9079
|
+
OA(m,t.numeric,oO)
|
|
9080
|
+
const g=NA(r,ST),v=NA(r,xT)
|
|
9081
|
+
NA(g,ST,g),OA(g,t.domain,r),OA(v,i,o),OA(v,t.domain,r)
|
|
9082
|
+
const b=cO(lO)
|
|
9083
|
+
OA(v,t.tld,b),OA(v,t.utld,b),OA(b,t.domain,r),OA(b,i,o),NA(b,xT,v),NA(b,ST,g),NA(b,fT,c)
|
|
9084
|
+
const y=NA(b,bT),w=cO(lO)
|
|
9085
|
+
OA(y,t.numeric,w)
|
|
9086
|
+
const x=cO(lO),C=cO()
|
|
9087
|
+
OA(x,e,x),OA(x,n,C),OA(C,e,x),OA(C,n,C),NA(b,OT,x),NA(w,OT,x)
|
|
9088
|
+
const k=NA(a,bT),S=NA(l,bT),_=NA(S,OT),I=NA(_,OT)
|
|
9089
|
+
OA(a,t.domain,r),NA(a,xT,v),NA(a,ST,g),OA(l,t.domain,r),NA(l,xT,v),NA(l,ST,g),OA(k,t.domain,x),NA(k,OT,x),NA(k,DT,x),OA(I,t.domain,x),OA(I,e,x),NA(I,OT,x)
|
|
9090
|
+
const M=[[KA,YA],[XA,JA],[QA,tT],[eT,nT],[iT,sT],[oT,rT],[aT,lT],[cT,dT]]
|
|
9088
9091
|
for(let t=0;t<M.length;t++){const[i,s]=M[t],o=NA(x,i)
|
|
9089
9092
|
NA(C,i,o),NA(o,s,x)
|
|
9090
|
-
const r=
|
|
9091
|
-
|
|
9092
|
-
const a=
|
|
9093
|
-
|
|
9094
|
-
for(let t=0;t<
|
|
9095
|
-
return
|
|
9093
|
+
const r=cO(lO)
|
|
9094
|
+
OA(o,e,r)
|
|
9095
|
+
const a=cO()
|
|
9096
|
+
OA(o,n),OA(r,e,r),OA(r,n,a),OA(a,e,r),OA(a,n,a),NA(r,s,x),NA(a,s,x)}return NA(s,zA,b),NA(s,ZA,aO),{start:s,tokens:BT}}(uO.scanner.tokens)
|
|
9097
|
+
for(let t=0;t<uO.pluginQueue.length;t++)uO.pluginQueue[t][1]({scanner:uO.scanner,parser:uO.parser})
|
|
9098
|
+
return uO.initialized=!0,uO}function mO(t){return uO.initialized||fO(),function(t,e,n){let i=n.length,s=0,o=[],r=[]
|
|
9096
9099
|
for(;s<i;){let a=t,l=null,c=null,d=0,h=null,u=-1
|
|
9097
9100
|
for(;s<i&&!(l=a.go(n[s].t));)r.push(n[s++])
|
|
9098
9101
|
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++
|
|
9099
9102
|
if(u<0)s-=d,s<i&&(r.push(n[s]),s++)
|
|
9100
|
-
else{r.length>0&&(o.push(
|
|
9103
|
+
else{r.length>0&&(o.push(dO(rO,e,r)),r=[]),s-=u,d-=u
|
|
9101
9104
|
const t=h.t,i=n.slice(s-d,s)
|
|
9102
|
-
o.push(
|
|
9103
|
-
n=e,e=null}const i=new
|
|
9105
|
+
o.push(dO(t,e,i))}}return r.length>0&&o.push(dO(rO,e,r)),o}(uO.parser.start,t,XT(uO.scanner.start,t))}function gO(t,e=null,n=null){if(e&&"object"==typeof e){if(n)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`)
|
|
9106
|
+
n=e,e=null}const i=new eO(n),s=mO(t),o=[]
|
|
9104
9107
|
for(let t=0;t<s.length;t++){const n=s[t]
|
|
9105
|
-
!n.isLink||e&&n.t!==e||!i.check(n)||o.push(n.toFormattedObject(i))}return o}function
|
|
9108
|
+
!n.isLink||e&&n.t!==e||!i.check(n)||o.push(n.toFormattedObject(i))}return o}function vO(t){return new Bx({key:new zx("autolink"),appendTransaction:(e,n,i)=>{const s=e.some((t=>t.docChanged))&&!n.doc.eq(i.doc),o=e.some((t=>t.getMeta("preventAutolink")))
|
|
9106
9109
|
if(!s||o)return
|
|
9107
9110
|
const{tr:r}=i,a=function(t,e){const n=new vx(t)
|
|
9108
9111
|
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=[]
|
|
@@ -9119,21 +9122,21 @@ if(n.length>1?(s=n[0],o=i.doc.textBetween(s.pos,s.pos+s.node.nodeSize,void 0," "
|
|
|
9119
9122
|
if(e.length<=0)return!1
|
|
9120
9123
|
const n=e[e.length-1],l=s.pos+o.lastIndexOf(n)
|
|
9121
9124
|
if(!n)return!1
|
|
9122
|
-
const c=
|
|
9125
|
+
const c=mO(n).map((e=>e.toObject(t.defaultProtocol)))
|
|
9123
9126
|
if(!(1===(a=c).length?a[0].isLink:3===a.length&&a[1].isLink&&["()","[]"].includes(a[0].value+a[2].value)))return!1
|
|
9124
|
-
c.filter((t=>t.isLink)).map((t=>({...t,from:l+t.start+1,to:l+t.end+1}))).filter((t=>!i.schema.marks.code||!i.doc.rangeHasMark(t.from,t.to,i.schema.marks.code))).filter((e=>t.validate(e.value))).filter((e=>t.shouldAutoLink(e.value))).forEach((e=>{$I(e.from,e.to,i.doc).some((e=>e.mark.type===t.type))||r.addMark(e.from,e.to,t.type.create({href:e.href}))}))}var a})),r.steps.length?r:void 0}})}
|
|
9125
|
-
const
|
|
9126
|
-
function
|
|
9127
|
+
c.filter((t=>t.isLink)).map((t=>({...t,from:l+t.start+1,to:l+t.end+1}))).filter((t=>!i.schema.marks.code||!i.doc.rangeHasMark(t.from,t.to,i.schema.marks.code))).filter((e=>t.validate(e.value))).filter((e=>t.shouldAutoLink(e.value))).forEach((e=>{$I(e.from,e.to,i.doc).some((e=>e.mark.type===t.type))||r.addMark(e.from,e.to,t.type.create({href:e.href}))}))}var a})),r.steps.length?r:void 0}})}mO.scan=XT
|
|
9128
|
+
const bO=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
9129
|
+
function yO(t,e){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"]
|
|
9127
9130
|
return e&&e.forEach((t=>{const e="string"==typeof t?t:t.scheme
|
|
9128
|
-
e&&n.push(e)})),!t||t.replace(
|
|
9129
|
-
return!(!e||!this.options.isAllowedUri(e,{defaultValidate:t=>!!
|
|
9130
|
-
return!!this.options.isAllowedUri(n,{defaultValidate:t=>!!
|
|
9131
|
-
return!!this.options.isAllowedUri(n,{defaultValidate:t=>!!
|
|
9132
|
-
if(t){const{protocols:n,defaultProtocol:i}=this.options,s=
|
|
9131
|
+
e&&n.push(e)})),!t||t.replace(bO,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"))}const wO=X_.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach((t=>{"string"!=typeof t?pO(t.scheme,t.optionalSlashes):pO(t)}))},onDestroy(){TA.groups={},uO.scanner=null,uO.parser=null,uO.tokenQueue=[],uO.pluginQueue=[],uO.customSchemes=[],uO.initialized=!1},inclusive(){return this.options.autolink},addOptions:()=>({openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(t,e)=>!!yO(t,e.protocols),validate:t=>!!t,shouldAutoLink:t=>!!t}),addAttributes(){return{href:{default:null,parseHTML:t=>t.getAttribute("href")},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{const e=t.getAttribute("href")
|
|
9132
|
+
return!(!e||!this.options.isAllowedUri(e,{defaultValidate:t=>!!yO(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol}))&&null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:t=>!!yO(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",R_(this.options.HTMLAttributes,t),0]:["a",R_(this.options.HTMLAttributes,{...t,href:""}),0]},addCommands(){return{setLink:t=>({chain:e})=>{const{href:n}=t
|
|
9133
|
+
return!!this.options.isAllowedUri(n,{defaultValidate:t=>!!yO(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
|
|
9134
|
+
return!!this.options.isAllowedUri(n,{defaultValidate:t=>!!yO(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[KI({find:t=>{const e=[]
|
|
9135
|
+
if(t){const{protocols:n,defaultProtocol:i}=this.options,s=gO(t).filter((t=>t.isLink&&this.options.isAllowedUri(t.value,{defaultValidate:t=>!!yO(t,n),protocols:n,defaultProtocol:i})))
|
|
9133
9136
|
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
|
|
9134
9137
|
return{href:null===(e=t.data)||void 0===e?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:n}=this.options
|
|
9135
9138
|
var i
|
|
9136
|
-
return this.options.autolink&&t.push(
|
|
9139
|
+
return this.options.autolink&&t.push(vO({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:t=>this.options.isAllowedUri(t,{defaultValidate:t=>!!yO(t,e),protocols:e,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),!0===this.options.openOnClick&&t.push((i={type:this.type},new Bx({key:new zx("handleClickLink"),props:{handleClick:(t,e,n)=>{var s,o
|
|
9137
9140
|
if(0!==n.button)return!1
|
|
9138
9141
|
if(!t.editable)return!1
|
|
9139
9142
|
let r=n.target
|
|
@@ -9145,9 +9148,9 @@ return!(!c||!d||(window.open(d,h),0))}}}))),this.options.linkOnPaste&&t.push(fun
|
|
|
9145
9148
|
if(r)return!1
|
|
9146
9149
|
let a=""
|
|
9147
9150
|
i.content.forEach((t=>{a+=t.textContent}))
|
|
9148
|
-
const l=
|
|
9149
|
-
return!(!a||!l
|
|
9150
|
-
function
|
|
9151
|
+
const l=gO(a,{defaultProtocol:t.defaultProtocol}).find((t=>t.isLink&&t.value===a))
|
|
9152
|
+
return!(!a||!l)&&t.editor.commands.setMark(t.type,{href:l.href})}}})}({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),t}}),xO=ZI.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:t}){return["li",R_(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)}}})
|
|
9153
|
+
function CO(t){var e
|
|
9151
9154
|
const{char:n,allowSpaces:i,allowToIncludeChar:s,allowedPrefixes:o,startOfLine:r,$position:a}=t,l=i&&!s,c=n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")
|
|
9152
9155
|
const d=new RegExp(`\\s${c}$`),h=r?"^":"",u=s?"":c,p=l?new RegExp(`${h}${c}.*?(?=\\s${u}|$)`,"gm"):new RegExp(`${h}(?:^)?${c}[^\\s${u}]*`,"gm"),f=(null===(e=a.nodeBefore)||void 0===e?void 0:e.isText)&&a.nodeBefore.text
|
|
9153
9156
|
if(!f)return null
|
|
@@ -9157,8 +9160,8 @@ const v=g.input.slice(Math.max(0,g.index-1),g.index),b=new RegExp(`^[${null==o?v
|
|
|
9157
9160
|
if(null!==o&&!b)return null
|
|
9158
9161
|
const y=m+g.index
|
|
9159
9162
|
let w=y+g[0].length
|
|
9160
|
-
return l&&d.test(f.slice(w-1,w+1))&&(g[0]+=" ",w+=1),y<a.pos&&w>=a.pos?{range:{from:y,to:w},query:g[0].slice(n.length),text:g[0]}:null}const
|
|
9161
|
-
function
|
|
9163
|
+
return l&&d.test(f.slice(w-1,w+1))&&(g[0]+=" ",w+=1),y<a.pos&&w>=a.pos?{range:{from:y,to:w},query:g[0].slice(n.length),text:g[0]}:null}const kO=new zx("suggestion")
|
|
9164
|
+
function SO({pluginKey:t=kO,editor:e,char:n="@",allowSpaces:i=!1,allowToIncludeChar:s=!1,allowedPrefixes:o=[" "],startOfLine:r=!1,decorationTag:a="span",decorationClass:l="suggestion",command:c=(()=>null),items:d=(()=>[]),render:h=(()=>({})),allow:u=(()=>!0),findSuggestionMatch:p=CO}){let f
|
|
9162
9165
|
const m=null==h?void 0:h(),g=new Bx({key:t,view(){return{update:async(t,n)=>{var i,s,o,r,a,l,h
|
|
9163
9166
|
const u=null===(i=this.key)||void 0===i?void 0:i.getState(n),p=null===(s=this.key)||void 0===s?void 0:s.getState(t.state),g=u.active&&p.active&&u.range.from!==p.range.from,v=!u.active&&p.active,b=u.active&&!p.active,y=!v&&!b&&u.query!==p.query,w=v||g&&y,x=y||g,C=b||g&&y
|
|
9164
9167
|
if(!w&&!x&&!C)return
|
|
@@ -9174,9 +9177,9 @@ return v.active||(v.decorationId=null,v.range={from:0,to:0},v.query=null,v.text=
|
|
|
9174
9177
|
const{active:i,range:s}=g.getState(t.state)
|
|
9175
9178
|
return i&&(null===(n=null==m?void 0:m.onKeyDown)||void 0===n?void 0:n.call(m,{view:t,event:e,range:s}))||!1},decorations(t){const{active:e,range:n,decorationId:i}=g.getState(t)
|
|
9176
9179
|
return e?IS.create(t.doc,[kS.inline(n.from,n.to,{nodeName:a,class:l,"data-decoration-id":i})]):null}}})
|
|
9177
|
-
return g}const
|
|
9180
|
+
return g}const _O=new zx("mention"),IO=ZI.create({name:"mention",priority:101,addOptions(){return{HTMLAttributes:{},renderText({options:t,node:e}){var n
|
|
9178
9181
|
return`${t.suggestion.char}${null!==(n=e.attrs.label)&&void 0!==n?n:e.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:t,node:e}){var n
|
|
9179
|
-
return["span",R_(this.HTMLAttributes,t.HTMLAttributes),`${t.suggestion.char}${null!==(n=e.attrs.label)&&void 0!==n?n:e.attrs.id}`]},suggestion:{char:"@",pluginKey:
|
|
9182
|
+
return["span",R_(this.HTMLAttributes,t.HTMLAttributes),`${t.suggestion.char}${null!==(n=e.attrs.label)&&void 0!==n?n:e.attrs.id}`]},suggestion:{char:"@",pluginKey:_O,command:({editor:t,range:e,props:n})=>{var i,s,o
|
|
9180
9183
|
const r=t.view.state.selection.$to.nodeAfter;(null===(i=null==r?void 0:r.text)||void 0===i?void 0:i.startsWith(" "))&&(e.to+=1),t.chain().focus().insertContentAt(e,[{type:this.name,attrs:n},{type:"text",text:" "}]).run(),null===(o=null===(s=t.view.dom.ownerDocument.defaultView)||void 0===s?void 0:s.getSelection())||void 0===o||o.collapseToEnd()},allow:({state:t,range:e})=>{const n=t.doc.resolve(e.from),i=t.schema.nodes[this.name]
|
|
9181
9184
|
return!!n.parent.type.contentMatch.matchType(i)}}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes:()=>({id:{default:null,parseHTML:t=>t.getAttribute("data-id"),renderHTML:t=>t.id?{"data-id":t.id}:{}},label:{default:null,parseHTML:t=>t.getAttribute("data-label"),renderHTML:t=>t.label?{"data-label":t.label}:{}}}),parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:t,HTMLAttributes:e}){if(void 0!==this.options.renderLabel)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",R_({"data-type":this.name},this.options.HTMLAttributes,e),this.options.renderLabel({options:this.options,node:t})]
|
|
9182
9185
|
const n={...this.options}
|
|
@@ -9184,49 +9187,49 @@ n.HTMLAttributes=R_({"data-type":this.name},this.options.HTMLAttributes,e)
|
|
|
9184
9187
|
const i=this.options.renderHTML({options:n,node:t})
|
|
9185
9188
|
return"string"==typeof i?["span",R_({"data-type":this.name},this.options.HTMLAttributes,e),i]:i},renderText({node:t}){return void 0!==this.options.renderLabel?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel({options:this.options,node:t})):this.options.renderText({options:this.options,node:t})},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command((({tr:t,state:e})=>{let n=!1
|
|
9186
9189
|
const{selection:i}=e,{empty:s,anchor:o}=i
|
|
9187
|
-
return!!s&&(e.doc.nodesBetween(o-1,o,((e,i)=>{if(e.type.name===this.name)return n=!0,t.insertText(this.options.deleteTriggerWithBackspace?"":this.options.suggestion.char||"",i,i+e.nodeSize),!1})),n)}))}},addProseMirrorPlugins(){return[
|
|
9188
|
-
return 1===e?["ol",R_(this.options.HTMLAttributes,n),0]:["ol",R_(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(
|
|
9189
|
-
return(this.options.keepMarks||this.options.keepAttributes)&&(t=GI({find:$
|
|
9190
|
+
return!!s&&(e.doc.nodesBetween(o-1,o,((e,i)=>{if(e.type.name===this.name)return n=!0,t.insertText(this.options.deleteTriggerWithBackspace?"":this.options.suggestion.char||"",i,i+e.nodeSize),!1})),n)}))}},addProseMirrorPlugins(){return[SO({editor:this.editor,...this.options.suggestion})]}}),MO="textStyle",$O=/^(\d+)\.\s$/,DO=ZI.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:void 0,parseHTML:t=>t.getAttribute("type")}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:t}){const{start:e,...n}=t
|
|
9191
|
+
return 1===e?["ol",R_(this.options.HTMLAttributes,n),0]:["ol",R_(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes(MO)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=GI({find:$O,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,e)=>e.childCount+e.attrs.start===+t[1]})
|
|
9192
|
+
return(this.options.keepMarks||this.options.keepAttributes)&&(t=GI({find:$O,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:t=>({start:+t[1],...this.editor.getAttributes(MO)}),joinPredicate:(t,e)=>e.childCount+e.attrs.start===+t[1],editor:this.editor})),[t]}}),EO=ZI.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:t}){return["p",R_(this.options.HTMLAttributes,t),0]},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),AO=iI.create({name:"placeholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new Bx({key:new zx("placeholder"),props:{decorations:({doc:t,selection:e})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:i}=e,s=[]
|
|
9190
9193
|
if(!n)return null
|
|
9191
9194
|
const o=this.editor.isEmpty
|
|
9192
|
-
return t.descendants(((t,e)=>{const n=i>=e&&i<=e+t.nodeSize,r=!t.isLeaf&&
|
|
9195
|
+
return t.descendants(((t,e)=>{const n=i>=e&&i<=e+t.nodeSize,r=!t.isLeaf&&TI(t)
|
|
9193
9196
|
if((n||!this.options.showOnlyCurrent)&&r){const i=[this.options.emptyNodeClass]
|
|
9194
9197
|
o&&i.push(this.options.emptyEditorClass)
|
|
9195
9198
|
const r=kS.node(e,e+t.nodeSize,{class:i.join(" "),"data-placeholder":"function"==typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:t,pos:e,hasAnchor:n}):this.options.placeholder})
|
|
9196
|
-
s.push(r)}return this.options.includeChildren})),IS.create(t,s)}}})]}}),
|
|
9197
|
-
function
|
|
9198
|
-
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===Za&&(s=!1),i?.keydownHandler(t.event)??!1),onExit:()=>{e(""),n(void 0),i?.close()}}}}})}(n,t,e,s))),l=new jI({element:n,enableInputRules:[qE,
|
|
9199
|
-
return new Ey(e,t.openStart,t.openEnd)}},extensions:[jE,
|
|
9200
|
-
return l}function
|
|
9199
|
+
s.push(r)}return this.options.includeChildren})),IS.create(t,s)}}})]}}),TO=ZI.create({name:"text",group:"inline"}),OO=/^https?:\/\//i
|
|
9200
|
+
function RO(t,e,n,i,s,o){const r=wO.extend({excludes:"_",inclusive:!1,parseHTML:()=>[{tag:xh},{tag:"a"}],renderHTML:({HTMLAttributes:t})=>["a",t]}).configure({HTMLAttributes:{rel:"noopener noreferrer",target:null,class:""},autolink:!0,openOnClick:!1,linkOnPaste:!1,shouldAutoLink:t=>OO.test(t)}),a=i.map((n=>function(t,e,n,i){return IO.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,R_(this.options.HTMLAttributes,n),this.options.renderText({options:this.options,node:e})]}}).configure({suggestion:{char:t.character,decorationClass:"nimble-mention-view-edit",pluginKey:new zx(t.key),allowSpaces:!0,render:()=>{let s=!1
|
|
9201
|
+
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===Za&&(s=!1),i?.keydownHandler(t.event)??!1),onExit:()=>{e(""),n(void 0),i?.close()}}}}})}(n,t,e,s))),l=new jI({element:n,enableInputRules:[qE,DO],enablePasteRules:!1,editorProps:{transformPasted:function(t){const e=FO(l,t.content)
|
|
9202
|
+
return new Ey(e,t.openStart,t.openEnd)}},extensions:[jE,EO,TO,qE,DO,xO,zE,gA,hA,AO.configure({placeholder:o,showOnlyWhenEditable:!1}),YI,r,...a]})
|
|
9203
|
+
return l}function FO(t,e){const n=[]
|
|
9201
9204
|
return e.forEach((e=>{if(e.isText&&e.marks.length>0){const i=e.marks.find((t=>"link"===t.type.name&&t.attrs))
|
|
9202
|
-
i?
|
|
9203
|
-
else{const i=
|
|
9204
|
-
n.push(e.copy(i))}})),Sy.fromArray(n)}class
|
|
9205
|
-
const e=`${bM}${
|
|
9206
|
-
this.name=e,this.key=e,this.viewElement=t.viewElement,this.character=t.character,this.mappingConfigs=t.mappingConfigs,this.iconTemplate=t.iconTemplate,this.buttonLabel=t.buttonLabel??"",this.mentionUpdateEmitter=t.mentionUpdateEmitter}}
|
|
9207
|
-
class
|
|
9205
|
+
i?OO.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(bM))n.push(t.schema.text(e.attrs.label))
|
|
9206
|
+
else{const i=FO(t,e.content)
|
|
9207
|
+
n.push(e.copy(i))}})),Sy.fromArray(n)}class NO{constructor(t){NO.instance+=1
|
|
9208
|
+
const e=`${bM}${NO.instance}`
|
|
9209
|
+
this.name=e,this.key=e,this.viewElement=t.viewElement,this.character=t.character,this.mappingConfigs=t.mappingConfigs,this.iconTemplate=t.iconTemplate,this.buttonLabel=t.buttonLabel??"",this.mentionUpdateEmitter=t.mentionUpdateEmitter}}NO.instance=0
|
|
9210
|
+
class LO extends DE{constructor(t){super(t),this.mentionExtensionConfig=this.isValid?t.map((t=>new NO(t.mentionInternals))):[]}}class BO extends(Xg(NE)){constructor(){super(...arguments),this.editorDiv=this.createEditor(),this.tiptapEditor=RO((()=>{}),(()=>{}),this.editorDiv,[],this.mentionListbox,this.placeholder),this.xmlSerializer=new XMLSerializer,this.richTextMarkdownSerializer=new _E([]),this.disabled=!1,this.footerHidden=!1,this.scrollbarWidth=-1,this.activeMentionCharacter="",this.updateScrollbarWidthQueued=!1}get empty(){if(""===this.tiptapEditor.state.doc.textContent.trim()){let t=!1
|
|
9208
9211
|
return this.tiptapEditor.state.doc.descendants((e=>{e.type.name.startsWith(bM)&&(t=!0)
|
|
9209
9212
|
return!1===t})),!t}return!1}connectedCallback(){super.connectedCallback(),this.editorDiv.isConnected||this.editorContainer.append(this.editorDiv),this.bindEditorTransactionEvent(),this.bindEditorUpdateEvent(),this.stopNativeInputEventPropagation(),this.resizeObserver=new ResizeObserver((()=>this.onResize())),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.unbindEditorTransactionEvent(),this.unbindEditorUpdateEvent(),this.unbindNativeInputEvent(),this.resizeObserver?.disconnect()}disabledChanged(){this.disableEditor(),this.disableMentionViewElement()}placeholderChanged(t,e){this.getTipTapExtension("placeholder").options.placeholder=this.placeholder??"",this.tiptapEditor.view.dispatch(this.tiptapEditor.state.tr),this.queueUpdateScrollbarWidth()}ariaLabelChanged(t,e){null!==this.ariaLabel&&void 0!==this.ariaLabel?this.editorDiv.setAttribute("aria-label",this.ariaLabel):this.editorDiv.removeAttribute("aria-label")}configurationChanged(t,e){const n=this.getButtonsState(this.tiptapEditor),{from:i,to:s}=this.tiptapEditor.view.state.selection
|
|
9210
9213
|
if(this.isMentionExtensionConfigUnchanged(t,e))this.setMarkdown(this.getMarkdown())
|
|
9211
9214
|
else{const t=this.getMentionExtensionConfig(),e=this.getMarkdown()
|
|
9212
9215
|
this.richTextMarkdownSerializer=new _E(t.map((t=>t.name))),this.initializeEditor(),this.setMarkdown(e)}this.tiptapEditor.commands.setTextSelection({from:i,to:s}),this.resetEditorButtonsState(n),this.setActiveMappingConfigs()}activeMentionCharacterChanged(){this.setActiveMappingConfigs()}boldButtonClick(){this.tiptapEditor.chain().focus().toggleBold().run()}boldButtonKeyDown(t){return!this.keyActivatesButton(t)||(this.tiptapEditor.chain().focus().toggleBold().run(),!1)}italicsButtonClick(){this.tiptapEditor.chain().focus().toggleItalic().run()}italicsButtonKeyDown(t){return!this.keyActivatesButton(t)||(this.tiptapEditor.chain().focus().toggleItalic().run(),!1)}bulletListButtonClick(){this.tiptapEditor.chain().focus().toggleBulletList().run()}bulletListButtonKeyDown(t){return!this.keyActivatesButton(t)||(this.tiptapEditor.chain().focus().toggleBulletList().run(),!1)}numberedListButtonClick(){this.tiptapEditor.chain().focus().toggleOrderedList().run()}numberedListButtonKeyDown(t){return!this.keyActivatesButton(t)||(this.tiptapEditor.chain().focus().toggleOrderedList().run(),!1)}mentionButtonClick(t){this.tiptapEditor.chain().insertContent(this.shouldInsertSpace()?` ${t}`:t).focus().run()}setMarkdown(t){const e=this.getHtmlContent(t)
|
|
9213
9216
|
this.tiptapEditor.commands.setContent(e),this.disableMentionViewElement()}getMarkdown(){return this.richTextMarkdownSerializer.serializeDOMToMarkdown(this.tiptapEditor.state.doc)}stopEventPropagation(t){return t.stopPropagation(),!1}getMentionedHrefs(){const t=new Set
|
|
9214
|
-
return this.tiptapEditor.state.doc.descendants((e=>{e.type.name.startsWith(bM)&&t.add(e.attrs.href)})),Array.from(t)}getMentionExtensionConfig(){return this.configuration instanceof
|
|
9217
|
+
return this.tiptapEditor.state.doc.descendants((e=>{e.type.name.startsWith(bM)&&t.add(e.attrs.href)})),Array.from(t)}getMentionExtensionConfig(){return this.configuration instanceof LO?this.configuration.mentionExtensionConfig:[]}onMentionSelect(t){this.activeMentionCommand&&this.activeMentionCommand({href:t.detail.href,label:t.detail.displayName})}focusoutHandler(){this.mentionListbox?.open&&this.mentionListbox?.close()}createConfig(){this.validate(),this.richTextValidator.isValid()?(this.richTextUpdateTracker.updateButtonLabel||this.richTextUpdateTracker.updateMappingConfigs||this.richTextUpdateTracker.updatePattern)&&(this.configuration=new LO(this.mentionElements)):this.configuration=void 0}isMentionExtensionConfigUnchanged(t,e){const n=t?.mentionExtensionConfig.map((t=>t.character)).sort(((t,e)=>t.localeCompare(e))).toString(),i=e?.mentionExtensionConfig.map((t=>t.character)).sort(((t,e)=>t.localeCompare(e))).toString()
|
|
9215
9218
|
return n===i}createEditor(){const t=document.createElement("div")
|
|
9216
|
-
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=
|
|
9219
|
+
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=RO((t=>{this.activeMentionCharacter=t}),(t=>{this.activeMentionCommand=t}),this.editorDiv,this.configuration instanceof LO?this.configuration.mentionExtensionConfig:[],this.mentionListbox,this.placeholder),this.disableEditor(),this.disableMentionViewElement(),this.bindEditorTransactionEvent(),this.bindEditorUpdateEvent(),this.stopNativeInputEventPropagation()}getHtmlContent(t){const e=SE.parseMarkdownToDOM(t,this.configuration?.parserMentionConfig)
|
|
9217
9220
|
return this.xmlSerializer.serializeToString(e.fragment)}bindEditorTransactionEvent(){this.tiptapEditor.on("transaction",(()=>{this.updateEditorButtonsState()}))}unbindEditorTransactionEvent(){this.tiptapEditor.off("transaction")}updateEditorButtonsState(){if(!this.$fastController.isConnected)return
|
|
9218
9221
|
const{extensionManager:t,state:e}=this.tiptapEditor,{extensions:n}=t,{selection:i}=e,s=_I((t=>AI(t.type.name,n)))(i)
|
|
9219
9222
|
this.boldButton.checked=this.tiptapEditor.isActive("bold"),this.italicsButton.checked=this.tiptapEditor.isActive("italic"),this.bulletListButton.checked=s?.node.type.name===gM,this.numberedListButton.checked=s?.node.type.name===vM}keyActivatesButton(t){switch(t.key){case Ja:case Ga:return!0
|
|
9220
9223
|
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(bM)){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)
|
|
9221
9224
|
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===YI.name,o=i?.textContent.endsWith(" ")
|
|
9222
|
-
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"})],
|
|
9223
|
-
const
|
|
9224
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
9225
|
-
const
|
|
9225
|
+
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"})],BO.prototype,"disabled",void 0),t([ft({attribute:"footer-hidden",mode:"boolean"})],BO.prototype,"footerHidden",void 0),t([ft],BO.prototype,"placeholder",void 0),t([C],BO.prototype,"boldButton",void 0),t([C],BO.prototype,"italicsButton",void 0),t([C],BO.prototype,"bulletListButton",void 0),t([C],BO.prototype,"numberedListButton",void 0),t([C],BO.prototype,"scrollbarWidth",void 0),t([C],BO.prototype,"activeMentionCharacter",void 0),t([C],BO.prototype,"activeMappingConfigs",void 0),Ke(BO,wn)
|
|
9226
|
+
const PO=BO.compose({baseName:"rich-text-editor",template:fM,styles:mM,shadowOptions:{delegatesFocus:!0}})
|
|
9227
|
+
_i.getOrCreate().withPrefix("nimble").register(PO())
|
|
9228
|
+
const VO=Q`
|
|
9226
9229
|
<template ${oe({property:"childItems",filter:te()})}>
|
|
9227
9230
|
<div ${Ut("viewer")} class="viewer"></div>
|
|
9228
9231
|
</template>
|
|
9229
|
-
`,
|
|
9232
|
+
`,zO=Mt`
|
|
9230
9233
|
${Bs("flex")}
|
|
9231
9234
|
|
|
9232
9235
|
:host {
|
|
@@ -9268,11 +9271,11 @@ const VT=Q`
|
|
|
9268
9271
|
color: ${Sc};
|
|
9269
9272
|
}
|
|
9270
9273
|
`
|
|
9271
|
-
class
|
|
9272
|
-
this.viewer.replaceChildren(t.fragment),this.mentionedHrefs=t.mentionedHrefs}else this.viewer.innerHTML="",this.mentionedHrefs=[]}}t([C],
|
|
9273
|
-
const
|
|
9274
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
9275
|
-
const
|
|
9274
|
+
class HO extends NE{constructor(){super(...arguments),this.markdown="",this.mentionedHrefs=[]}connectedCallback(){super.connectedCallback(),this.updateView()}markdownChanged(){this.updateView()}configurationChanged(){this.updateView()}getMentionedHrefs(){return Array.from(this.mentionedHrefs)}updateView(){if(this.$fastController.isConnected)if(this.markdown){const t=SE.parseMarkdownToDOM(this.markdown,this.configuration?.parserMentionConfig)
|
|
9275
|
+
this.viewer.replaceChildren(t.fragment),this.mentionedHrefs=t.mentionedHrefs}else this.viewer.innerHTML="",this.mentionedHrefs=[]}}t([C],HO.prototype,"markdown",void 0)
|
|
9276
|
+
const UO=HO.compose({baseName:"rich-text-viewer",template:VO,styles:zO})
|
|
9277
|
+
_i.getOrCreate().withPrefix("nimble").register(UO())
|
|
9278
|
+
const qO=Mt`
|
|
9276
9279
|
${dv}
|
|
9277
9280
|
${Wg}
|
|
9278
9281
|
${hv}
|
|
@@ -9426,7 +9429,7 @@ const qT=Mt`
|
|
|
9426
9429
|
.loading-container {
|
|
9427
9430
|
background: ${fl(lo,.15)};
|
|
9428
9431
|
}
|
|
9429
|
-
`)),
|
|
9432
|
+
`)),jO=Mt`
|
|
9430
9433
|
${Bs("inline-grid")}
|
|
9431
9434
|
|
|
9432
9435
|
:host {
|
|
@@ -9584,7 +9587,7 @@ const qT=Mt`
|
|
|
9584
9587
|
:host([appearance='accent']) {
|
|
9585
9588
|
--ni-private-spinner-bits-background-color: ${xo};
|
|
9586
9589
|
}
|
|
9587
|
-
`)),
|
|
9590
|
+
`)),WO=Q`
|
|
9588
9591
|
<template role="progressbar">
|
|
9589
9592
|
${""}
|
|
9590
9593
|
<div class="overlay"></div>
|
|
@@ -9594,11 +9597,11 @@ const qT=Mt`
|
|
|
9594
9597
|
<div class="bit2"></div>
|
|
9595
9598
|
</div>
|
|
9596
9599
|
</template>
|
|
9597
|
-
`,
|
|
9598
|
-
class
|
|
9599
|
-
const
|
|
9600
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
9601
|
-
const
|
|
9600
|
+
`,GO={default:void 0,accent:"accent"}
|
|
9601
|
+
class ZO extends We{constructor(){super(...arguments),this.appearance=GO.default}}t([ft],ZO.prototype,"appearance",void 0)
|
|
9602
|
+
const KO=ZO.compose({baseName:"spinner",template:WO,styles:jO})
|
|
9603
|
+
_i.getOrCreate().withPrefix("nimble").register(KO())
|
|
9604
|
+
const YO="nimble-spinner",XO=t=>t instanceof Tb,JO=t=>t instanceof Lb,QO=mv(Q`
|
|
9602
9605
|
<label part="label" class="label" aria-hidden="true">
|
|
9603
9606
|
<slot ${Ut("labelSlot")}></slot>
|
|
9604
9607
|
</label>
|
|
@@ -9609,11 +9612,11 @@ class sR extends(Xg(yv(eR))){constructor(){super(...arguments),this.appearance=a
|
|
|
9609
9612
|
let n=t
|
|
9610
9613
|
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
|
|
9611
9614
|
this.options.forEach((t=>{const e=x.getNotifier(t)
|
|
9612
|
-
e.unsubscribe(this,"value"),e.unsubscribe(this,"hidden"),e.unsubscribe(this,"disabled")})),t?.filter(
|
|
9615
|
+
e.unsubscribe(this,"value"),e.unsubscribe(this,"hidden"),e.unsubscribe(this,"disabled")})),t?.filter(JO).forEach((t=>{const e=x.getNotifier(t)
|
|
9613
9616
|
e.unsubscribe(this,"hidden"),e.unsubscribe(this,"visuallyHidden"),e.unsubscribe(this,"listOptions")}))
|
|
9614
9617
|
const i=this.getSlottedOptions(e)
|
|
9615
9618
|
super.slottedOptionsChanged(t,i),i.forEach((t=>{const e=x.getNotifier(t)
|
|
9616
|
-
e.subscribe(this,"value"),e.subscribe(this,"hidden"),e.subscribe(this,"disabled")})),e?.filter(
|
|
9619
|
+
e.subscribe(this,"value"),e.subscribe(this,"hidden"),e.subscribe(this,"disabled")})),e?.filter(JO).forEach((t=>{this.updateAdjacentSeparatorState(t)
|
|
9617
9620
|
const e=x.getNotifier(t)
|
|
9618
9621
|
e.subscribe(this,"hidden"),e.subscribe(this,"visuallyHidden"),e.subscribe(this,"listOptions")})),this.setProxyOptions(),this.updateValue(),this.filterOptions(),n&&(this.value=n)}clickHandler(t){if(this.disabled)return
|
|
9619
9622
|
let e=!1
|
|
@@ -9622,11 +9625,11 @@ if(e=null!==n,n?.disabled)return}const n=this.selectedIndex
|
|
|
9622
9625
|
super.clickHandler(t),this.open&&this.selectedIndex!==n&&e&&this.updateValue(!0),this.open=this.collapsible&&!this.open}handleChange(t,e){const n=t
|
|
9623
9626
|
switch(e){case"value":this.updateValue()
|
|
9624
9627
|
break
|
|
9625
|
-
case"selected":
|
|
9628
|
+
case"selected":XO(n)&&n.selected?this.selectedIndex=this.options.indexOf(n):this.clearSelect()
|
|
9626
9629
|
break
|
|
9627
|
-
case"hidden":
|
|
9630
|
+
case"hidden":XO(n)?(n.visuallyHidden=n.hidden,this.updateAdjacentSeparatorState(n)):JO(n)&&(n.listOptions.forEach((t=>{t.visuallyHidden=n.hidden})),this.updateAdjacentSeparatorState(n)),this.filterOptions(),this.updateDisplayValue()
|
|
9628
9631
|
break
|
|
9629
|
-
case"visuallyHidden":(
|
|
9632
|
+
case"visuallyHidden":(JO(n)||XO(n))&&this.updateAdjacentSeparatorState(n)
|
|
9630
9633
|
break
|
|
9631
9634
|
case"disabled":this.updateDisplayValue()
|
|
9632
9635
|
break
|
|
@@ -9642,9 +9645,9 @@ if(t.ctrlKey||t.shiftKey)return!0
|
|
|
9642
9645
|
n!==Ha&&n!==ja&&super.keydownHandler(t)
|
|
9643
9646
|
let i=this.openActiveIndex??this.selectedIndex,s=!1
|
|
9644
9647
|
switch(n){case Ha:{const e=this.options[this.selectedIndex]
|
|
9645
|
-
this.open&&
|
|
9648
|
+
this.open&&XO(e)&&!iR(e)?this.openActiveIndex===this.selectedIndex?this.selectFirstOption():this.selectNextOption():super.keydownHandler(t),i=this.openActiveIndex??this.selectedIndex
|
|
9646
9649
|
break}case ja:{const e=this.options[this.selectedIndex]
|
|
9647
|
-
this.open&&
|
|
9650
|
+
this.open&&XO(e)&&!iR(e)?this.openActiveIndex===this.selectedIndex?this.selectLastOption():this.selectPreviousOption():super.keydownHandler(t),i=this.openActiveIndex??this.selectedIndex
|
|
9648
9651
|
break}case Ja:if(this.open&&this.filterMode!==uv.none)break
|
|
9649
9652
|
t.preventDefault(),this.collapsible&&this.typeAheadExpired&&(this.open=!this.open),this.open||this.focus()
|
|
9650
9653
|
break
|
|
@@ -9657,50 +9660,50 @@ case Za:if(!this.open){if(this.clearable)return this.clearSelect(),this.updateVa
|
|
|
9657
9660
|
break}this.collapsible&&this.open&&(t.preventDefault(),this.open=!1),i=this.selectedIndex,this.focus()}return this.open&&!s||(this.selectedIndex!==i&&(this.selectedIndex=i),e!==this.selectedIndex&&this.updateValue(!0)),s&&(this.open=!1),!(n===Ha||n===ja)}selectedIndexChanged(t,e){this.setSelectedOptions(),this.open&&this.setActiveOption(this.selectedIndex),this.updateValue()}typeaheadBufferChanged(t,e){if(this.$fastController.isConnected){const t=this.getTypeaheadMatches()
|
|
9658
9661
|
if(t.length){const e=this.options.indexOf(t[0])
|
|
9659
9662
|
this.open&&this.filterMode!==uv.none||this.setActiveOption(e)}this.typeaheadExpired=!1}}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}formResetCallback(){this.setProxyOptions(),super.setDefaultSelectedOption(),-1===this.selectedIndex&&(this.selectedIndex=0)}selectNextOption(){for(let t=(this.openActiveIndex??this.selectedIndex)+1;t<this.options.length;t++){const e=this.options[t]
|
|
9660
|
-
if(
|
|
9663
|
+
if(XO(e)&&nR(e)){this.setActiveOption(t)
|
|
9661
9664
|
break}}}selectPreviousOption(){for(let t=(this.openActiveIndex??this.selectedIndex)-1;t>=0;t--){const e=this.options[t]
|
|
9662
|
-
if(
|
|
9663
|
-
break}}}selectFirstOption(){const t=this.options.findIndex((t=>
|
|
9665
|
+
if(XO(e)&&nR(e)){this.setActiveOption(t)
|
|
9666
|
+
break}}}selectFirstOption(){const t=this.options.findIndex((t=>XO(t)&&nR(t)))
|
|
9664
9667
|
this.setActiveOption(t)}selectLastOption(){const t=function(t,e){let n=t.length
|
|
9665
9668
|
for(;n--;)if(e(t[n],n,t))return n
|
|
9666
|
-
return-1}(this.options,(t=>
|
|
9669
|
+
return-1}(this.options,(t=>XO(t)&&nR(t)))
|
|
9667
9670
|
this.setActiveOption(t)}registerOption(t){this.options.includes(t)||this.options.push(t)}setSelectedOptions(){this.open&&-1===this.selectedIndex||super.setSelectedOptions()}focusAndScrollOptionIntoView(){this.open&&(super.focusAndScrollOptionIntoView(),window.requestAnimationFrame((()=>{this.filterInput?.focus()})))}getTypeaheadMatches(){return super.getTypeaheadMatches().filter((t=>!t.hidden&&!t.disabled))}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}sizeChanged(t,e){super.sizeChanged(t,e),this.proxy&&(this.proxy.size=e)}openChanged(){if(!this.collapsible)return
|
|
9668
9671
|
if(this.open)return void this.initializeOpenState()
|
|
9669
9672
|
const t=this.options[this.openActiveIndex??this.selectedIndex]
|
|
9670
|
-
|
|
9673
|
+
XO(t)&&(t.activeOption=!1),this.openActiveIndex=void 0,this.filter="",this.filterInput&&(this.filterInput.value=""),this.filterMode!==uv.none&&this.emitFilterInputEvent(),this.ariaControls="",this.ariaExpanded="false"}selectedOptionsChanged(t,e){this.options?.forEach(((t,n)=>{const i=x.getNotifier(t)
|
|
9671
9674
|
i.unsubscribe(this,"selected"),t.selected=e.includes(t),i.subscribe(this,"selected")
|
|
9672
9675
|
const s=this.proxy?.options.item(n)
|
|
9673
|
-
s&&(s.selected=t.selected)}))}setDefaultSelectedOption(){const t=this.options??Array.from(this.children).filter((t=>
|
|
9676
|
+
s&&(s.selected=t.selected)}))}setDefaultSelectedOption(){const t=this.options??Array.from(this.children).filter((t=>XO(t))),e=t=>t.hasAttribute("selected")||t.selected
|
|
9674
9677
|
let n=-1,i=-1,s=-1
|
|
9675
9678
|
for(let r=0;r<t?.length;r++){const a=t[r]
|
|
9676
9679
|
if(e(a)||a.value===this.value){n=r
|
|
9677
9680
|
break}-1===s&&((o=a).disabled&&o.hidden)?s=r:-1===i&&nR(a)&&(i=r)}var o
|
|
9678
9681
|
this.selectedIndex=-1!==n?n:-1!==s?s:-1!==i?i:0}getSlottedOptions(t){const e=[]
|
|
9679
|
-
return t?.forEach((t=>{
|
|
9680
|
-
if(this.open){
|
|
9682
|
+
return t?.forEach((t=>{XO(t)?e.push(t):JO(t)&&e.push(...this.getGroupOptions(t))})),e}setActiveOption(t){const e=this.options[t]
|
|
9683
|
+
if(this.open){XO(e)&&(e.activeOption=!0)
|
|
9681
9684
|
const n=this.openActiveIndex??this.selectedIndex,i=this.options[n]
|
|
9682
|
-
n!==t&&
|
|
9685
|
+
n!==t&&XO(i)&&(i.activeOption=!1),this.openActiveIndex=t,this.focusAndScrollActiveOptionIntoView()}else this.selectedIndex=t
|
|
9683
9686
|
this.ariaActiveDescendant=e?.id??""}focusAndScrollActiveOptionIntoView(){const t=this.options[this.openActiveIndex??this.selectedIndex]
|
|
9684
9687
|
void 0!==t&&this.contains(t)&&(t.focus(),requestAnimationFrame((()=>{t.scrollIntoView({block:"nearest"})})))}getPlaceholderOption(){return this.options.find((t=>t.hidden&&t.disabled))}setPositioning(){if(!this.$fastController.isConnected)return
|
|
9685
9688
|
const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom
|
|
9686
9689
|
this.forcedPosition?this.position=this.positionAttribute:t.top>e?this.position=Wn:this.position=Gn,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.availableViewportHeight=this.position===Wn?Math.trunc(t.top):Math.trunc(e)}updateAdjacentSeparatorState(t){const e=this.getPreviousVisibleOptionOrGroup(t),n=this.getNextVisibleOptionOrGroup(t)
|
|
9687
|
-
if(iR(t)){const i=
|
|
9690
|
+
if(iR(t)){const i=XO(e)
|
|
9688
9691
|
this.setTopSeparatorState(t,i)
|
|
9689
9692
|
const s=null!==n
|
|
9690
|
-
this.setBottomSeparatorState(t,s),this.setBottomSeparatorState(e,!0)}else{const t=
|
|
9693
|
+
this.setBottomSeparatorState(t,s),this.setBottomSeparatorState(e,!0)}else{const t=XO(e)
|
|
9691
9694
|
this.setTopSeparatorState(n,t)
|
|
9692
9695
|
const i=null!==n
|
|
9693
|
-
this.setBottomSeparatorState(e,i)}}setTopSeparatorState(t,e){
|
|
9694
|
-
for(;e;){if((
|
|
9696
|
+
this.setBottomSeparatorState(e,i)}}setTopSeparatorState(t,e){JO(t)&&(t.topSeparatorVisible=e)}setBottomSeparatorState(t,e){JO(t)&&(t.bottomSeparatorVisible=e)}getPreviousVisibleOptionOrGroup(t){let e=t.previousElementSibling
|
|
9697
|
+
for(;e;){if((XO(e)||JO(e))&&iR(e))return e
|
|
9695
9698
|
e=e.previousElementSibling}return null}getNextVisibleOptionOrGroup(t){let e=t.nextElementSibling
|
|
9696
|
-
for(;e;){if((
|
|
9699
|
+
for(;e;){if((XO(e)||JO(e))&&iR(e))return e
|
|
9697
9700
|
e=e.nextElementSibling}return null}isOptionHiddenOrFilteredOut(t){return!!t.hidden||this.filterMode===uv.standard&&!this.filterMatchesText(t.text)}filterMatchesText(t){const e=this.filter.toLowerCase(),n=dM(e)
|
|
9698
9701
|
return dM(t).includes(n)}filterOptions(){if(!this.$fastController.isConnected)return
|
|
9699
9702
|
const t=[]
|
|
9700
|
-
for(const e of this.slottedOptions)if(
|
|
9703
|
+
for(const e of this.slottedOptions)if(JO(e)){if(e.hidden)continue
|
|
9701
9704
|
const n=this.getGroupOptions(e),i=this.filterMatchesText(e.labelContent)
|
|
9702
|
-
n.forEach((e=>{e.visuallyHidden=!i&&this.isOptionHiddenOrFilteredOut(e),e.visuallyHidden||t.push(e)}))}else
|
|
9703
|
-
this.filteredOptions=t}getGroupOptions(t){return Array.from(t.children).filter((t=>
|
|
9705
|
+
n.forEach((e=>{e.visuallyHidden=!i&&this.isOptionHiddenOrFilteredOut(e),e.visuallyHidden||t.push(e)}))}else XO(e)&&(e.visuallyHidden=this.isOptionHiddenOrFilteredOut(e),e.visuallyHidden||t.push(e))
|
|
9706
|
+
this.filteredOptions=t}getGroupOptions(t){return Array.from(t.children).filter((t=>XO(t))).map((e=>(t.hidden&&XO(e)&&(e.visuallyHidden=!0),e)))}updateValue(t){this.$fastController.isConnected&&(this.value=this.firstSelectedOption?.value??"",this.observeSelectedOptionTextContent()),t&&(this.$emit("input"),this.$emit("change",this,{bubbles:!0,composed:void 0}))}clearSelect(){const t=this.getPlaceholderOption()
|
|
9704
9707
|
this.selectedIndex=t?this.options.indexOf(t):-1}setProxyOptions(){this.proxy instanceof HTMLSelectElement&&this.options&&(this.proxy.options.length=0,this.options.forEach((t=>{const e=t.proxy||(t instanceof HTMLOptionElement?t.cloneNode():null)
|
|
9705
9708
|
e&&this.proxy.options.add(e)})))}filterChanged(){this.filterOptions()}emitFilterInputEvent(){const t={filterText:this.filter}
|
|
9706
9709
|
this.$emit("filter-input",t,{bubbles:!0})}initializeOpenState(){this.setActiveOption(this.selectedIndex),this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView()}observeSelectedOptionTextContent(){if(this.selectedOptionObserver?.disconnect(),-1===this.selectedIndex)return
|
|
@@ -9727,7 +9730,7 @@ const oR=sR.compose({baseName:"select",baseClass:es,template:(t,e)=>Q`
|
|
|
9727
9730
|
@keydown="${(t,e)=>t.keydownHandler(e.event)}"
|
|
9728
9731
|
@mousedown="${(t,e)=>t.mousedownHandler(e.event)}"
|
|
9729
9732
|
>
|
|
9730
|
-
${
|
|
9733
|
+
${QO}
|
|
9731
9734
|
${Gt((t=>t.collapsible),Q`
|
|
9732
9735
|
<div
|
|
9733
9736
|
class="control"
|
|
@@ -9805,7 +9808,7 @@ const oR=sR.compose({baseName:"select",baseClass:es,template:(t,e)=>Q`
|
|
|
9805
9808
|
class="scrollable-region">
|
|
9806
9809
|
<slot
|
|
9807
9810
|
name="option"
|
|
9808
|
-
${ie({filter:t=>t instanceof HTMLElement&&(
|
|
9811
|
+
${ie({filter:t=>t instanceof HTMLElement&&(XO(t)||JO(t)),flatten:!0,property:"slottedOptions"})}
|
|
9809
9812
|
></slot>
|
|
9810
9813
|
${Gt((t=>t.filterMode!==uv.none&&0===t.filteredOptions.length&&!t.loadingVisible),Q`
|
|
9811
9814
|
<span class="no-results-label">
|
|
@@ -9819,14 +9822,14 @@ const oR=sR.compose({baseName:"select",baseClass:es,template:(t,e)=>Q`
|
|
|
9819
9822
|
<span class="loading-label">
|
|
9820
9823
|
${t=>cg.getValueFor(t)}
|
|
9821
9824
|
</span>
|
|
9822
|
-
<${
|
|
9825
|
+
<${YO} class="loading-spinner" appearance="accent"></${YO}>
|
|
9823
9826
|
</div>
|
|
9824
9827
|
`)}
|
|
9825
9828
|
</div>
|
|
9826
9829
|
</div>
|
|
9827
9830
|
</${Cg}>
|
|
9828
9831
|
</template>
|
|
9829
|
-
`,styles:
|
|
9832
|
+
`,styles:qO,indicator:Yh.data,end:Q`
|
|
9830
9833
|
<${Mg}
|
|
9831
9834
|
severity="error"
|
|
9832
9835
|
class="error-icon"
|
|
@@ -9840,7 +9843,7 @@ const rR=Mt`
|
|
|
9840
9843
|
:host {
|
|
9841
9844
|
outline: none;
|
|
9842
9845
|
font: ${sd};
|
|
9843
|
-
color: ${
|
|
9846
|
+
color: ${Od};
|
|
9844
9847
|
flex-direction: column;
|
|
9845
9848
|
cursor: pointer;
|
|
9846
9849
|
--ni-private-switch-height: 24px;
|
|
@@ -10036,7 +10039,7 @@ const cR=Mt`
|
|
|
10036
10039
|
|
|
10037
10040
|
:host {
|
|
10038
10041
|
position: relative;
|
|
10039
|
-
font: ${
|
|
10042
|
+
font: ${Td};
|
|
10040
10043
|
height: ${Pl};
|
|
10041
10044
|
color: ${od};
|
|
10042
10045
|
align-items: center;
|
|
@@ -10239,15 +10242,15 @@ return null==(i=t.getValue(e))?void 0:i.includes(n)}))
|
|
|
10239
10242
|
ER.autoRemove=t=>FR(t)||!(null!=t&&t.length)
|
|
10240
10243
|
const AR=(t,e,n)=>t.getValue(e)===n
|
|
10241
10244
|
AR.autoRemove=t=>FR(t)
|
|
10242
|
-
const
|
|
10243
|
-
|
|
10244
|
-
const
|
|
10245
|
+
const TR=(t,e,n)=>t.getValue(e)==n
|
|
10246
|
+
TR.autoRemove=t=>FR(t)
|
|
10247
|
+
const OR=(t,e,n)=>{let[i,s]=n
|
|
10245
10248
|
const o=t.getValue(e)
|
|
10246
10249
|
return o>=i&&o<=s}
|
|
10247
|
-
|
|
10250
|
+
OR.resolveFilterValue=t=>{let[e,n]=t,i="number"!=typeof e?parseFloat(e):e,s="number"!=typeof n?parseFloat(n):n,o=null===e||Number.isNaN(i)?-1/0:i,r=null===n||Number.isNaN(s)?1/0:s
|
|
10248
10251
|
if(o>r){const t=o
|
|
10249
|
-
o=r,r=t}return[o,r]},
|
|
10250
|
-
const RR={includesString:_R,includesStringSensitive:IR,equalsString:MR,arrIncludes:$R,arrIncludesAll:DR,arrIncludesSome:ER,equals:AR,weakEquals:
|
|
10252
|
+
o=r,r=t}return[o,r]},OR.autoRemove=t=>FR(t)||FR(t[0])&&FR(t[1])
|
|
10253
|
+
const RR={includesString:_R,includesStringSensitive:IR,equalsString:MR,arrIncludes:$R,arrIncludesAll:DR,arrIncludesSome:ER,equals:AR,weakEquals:TR,inNumberRange:OR}
|
|
10251
10254
|
function FR(t){return null==t||""===t}const NR={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:t=>({columnFilters:[],...t}),getDefaultOptions:t=>({onColumnFiltersChange:fR("columnFilters",t),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(t,e)=>{t.getAutoFilterFn=()=>{const n=e.getCoreRowModel().flatRows[0],i=null==n?void 0:n.getValue(t.id)
|
|
10252
10255
|
return"string"==typeof i?RR.includesString:"number"==typeof i?RR.inNumberRange:"boolean"==typeof i||null!==i&&"object"==typeof i?RR.equals:Array.isArray(i)?RR.arrIncludes:RR.weakEquals},t.getFilterFn=()=>{var n,i
|
|
10253
10256
|
return mR(t.columnDef.filterFn)?t.columnDef.filterFn:"auto"===t.columnDef.filterFn?t.getAutoFilterFn():null!=(n=null==(i=e.options.filterFns)?void 0:i[t.columnDef.filterFn])?n:RR[t.columnDef.filterFn]},t.getCanFilter=()=>{var n,i,s
|
|
@@ -10518,7 +10521,7 @@ return m._valuesCache[e]}if(m._groupingValuesCache.hasOwnProperty(e))return m._g
|
|
|
10518
10521
|
const s=t.getColumn(e),o=null==s?void 0:s.getAggregationFn()
|
|
10519
10522
|
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}))
|
|
10520
10523
|
return d},a=r(n.rows,0)
|
|
10521
|
-
return a.forEach((t=>{s.push(t),o[t.id]=t})),{rows:a,flatRows:s,rowsById:o}}),bR(t.options,"debugTable",0,(()=>{t._queue((()=>{t._autoResetExpanded(),t._autoResetPageIndex()}))})))}const pF=void 0,fF="can-load-children",mF="loading-children",gF={none:void 0,ascending:"ascending",descending:"descending"},vF={none:void 0,single:"single",multiple:"multiple"},bF="not-selected",yF="selected",wF="partially-selected",xF="left",CF="right",kF="none",SF="columnHeader",_F="headerActions",IF="row",MF="rowSelectionCheckbox",$F="cell",DF="cellActionMenu",EF="cellContent",AF="basic",
|
|
10524
|
+
return a.forEach((t=>{s.push(t),o[t.id]=t})),{rows:a,flatRows:s,rowsById:o}}),bR(t.options,"debugTable",0,(()=>{t._queue((()=>{t._autoResetExpanded(),t._autoResetPageIndex()}))})))}const pF=void 0,fF="can-load-children",mF="loading-children",gF={none:void 0,ascending:"ascending",descending:"descending"},vF={none:void 0,single:"single",multiple:"multiple"},bF="not-selected",yF="selected",wF="partially-selected",xF="left",CF="right",kF="none",SF="columnHeader",_F="headerActions",IF="row",MF="rowSelectionCheckbox",$F="cell",DF="cellActionMenu",EF="cellContent",AF="basic",TF="localeAwareCaseSensitive",OF=117,RF=1
|
|
10522
10525
|
class FF extends We{}t([C],FF.prototype,"groupHeaderValue",void 0),t([C],FF.prototype,"columnConfig",void 0)
|
|
10523
10526
|
const NF=t=>((t=>{let e
|
|
10524
10527
|
try{e=document.createElement(t)}catch(t){}if(!(e instanceof FF))throw new Error(`Group header view tag name (${t}) must evaluate to an element extending TableGroupHeaderView`)})(t),Q`
|
|
@@ -10549,7 +10552,7 @@ try{e=document.createElement(t)}catch(t){}if(!(e instanceof LF))throw new Error(
|
|
|
10549
10552
|
`)}
|
|
10550
10553
|
</${t}>
|
|
10551
10554
|
`)
|
|
10552
|
-
class zF{constructor(t){this.uniqueId=nl("table-column-slot"),this.sortOperation=AF,this.dataRecordFieldNames=[],this.groupingDisabled=!0,this.fractionalWidth=RF,this.minPixelWidth=
|
|
10555
|
+
class zF{constructor(t){this.uniqueId=nl("table-column-slot"),this.sortOperation=AF,this.dataRecordFieldNames=[],this.groupingDisabled=!0,this.fractionalWidth=RF,this.minPixelWidth=OF,this.resizingDisabled=!1,this.hideHeaderIndicators=!1,this.headerAlignment=xF,this.currentFractionalWidth=RF,this.sortingDisabled=!0,this.currentSortDirection=gF.none,this.cellRecordFieldNames=t.cellRecordFieldNames,this.cellViewTemplate=VF(t.cellViewTag),t.groupHeaderViewTag&&(this.groupHeaderViewTemplate=NF(t.groupHeaderViewTag)),this.delegatedEvents=t.delegatedEvents,this.slotNames=t.slotNames??[],this.sortOperation=t.sortOperation??AF,this.validator=t.validator}fractionalWidthChanged(){this.currentFractionalWidth=this.fractionalWidth}pixelWidthChanged(){this.currentPixelWidth=this.pixelWidth}}function HF(t,...e){for(const n of e)if(t===n)return!0
|
|
10553
10556
|
return!1}t([C],zF.prototype,"columnConfig",void 0),t([C],zF.prototype,"operandDataRecordFieldName",void 0),t([C],zF.prototype,"sortOperation",void 0),t([C],zF.prototype,"dataRecordFieldNames",void 0),t([C],zF.prototype,"groupingDisabled",void 0),t([C],zF.prototype,"groupIndex",void 0),t([C],zF.prototype,"pixelWidth",void 0),t([C],zF.prototype,"fractionalWidth",void 0),t([C],zF.prototype,"minPixelWidth",void 0),t([C],zF.prototype,"resizingDisabled",void 0),t([C],zF.prototype,"hideHeaderIndicators",void 0),t([C],zF.prototype,"headerAlignment",void 0),t([C],zF.prototype,"currentFractionalWidth",void 0),t([C],zF.prototype,"currentPixelWidth",void 0),t([C],zF.prototype,"sortingDisabled",void 0),t([C],zF.prototype,"currentSortIndex",void 0),t([C],zF.prototype,"currentSortDirection",void 0)
|
|
10554
10557
|
class UF extends We{constructor(){super(...arguments),this.columnInternals=new zF(this.getColumnInternalsOptions()),this.columnHidden=!1,this.hasOverflow=!1}checkValidity(){return this.columnInternals.validator.isColumnValid}get validity(){return this.columnInternals.validator.getValidity()}get headerTextContent(){return Ab(this.contentSlot)}connectedCallback(){super.connectedCallback(),this.setAttribute("slot",this.columnInternals.uniqueId)}}t([ft({attribute:"column-id"})],UF.prototype,"columnId",void 0),t([ft({attribute:"action-menu-slot"})],UF.prototype,"actionMenuSlot",void 0),t([ft({attribute:"action-menu-label"})],UF.prototype,"actionMenuLabel",void 0),t([ft({attribute:"column-hidden",mode:"boolean"})],UF.prototype,"columnHidden",void 0),t([C],UF.prototype,"hasOverflow",void 0)
|
|
10555
10558
|
class qF{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()
|
|
@@ -10733,7 +10736,7 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(t
|
|
|
10733
10736
|
min-width: max(100%, var(--ni-private-table-scrollable-min-width));
|
|
10734
10737
|
position: relative;
|
|
10735
10738
|
top: var(--ni-private-table-row-container-top);
|
|
10736
|
-
background-color: ${
|
|
10739
|
+
background-color: ${Tl};
|
|
10737
10740
|
}
|
|
10738
10741
|
|
|
10739
10742
|
.selection-checkbox {
|
|
@@ -10820,11 +10823,11 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(t
|
|
|
10820
10823
|
></${Rv}>
|
|
10821
10824
|
`)}
|
|
10822
10825
|
${Gt((t=>t.sortDirection===gF.descending),Q`
|
|
10823
|
-
<${
|
|
10826
|
+
<${Ov}
|
|
10824
10827
|
class="sort-indicator"
|
|
10825
10828
|
title="${t=>yb.getValueFor(t)}"
|
|
10826
10829
|
aria-hidden="true"
|
|
10827
|
-
></${
|
|
10830
|
+
></${Ov}>
|
|
10828
10831
|
`)}
|
|
10829
10832
|
${Gt((t=>t.isGrouped),Q`
|
|
10830
10833
|
<${Uv}
|
|
@@ -11134,12 +11137,12 @@ const iN="nimble-table-cell",sN=Q`
|
|
|
11134
11137
|
${Gt((t=>t.isParentRow),Q`
|
|
11135
11138
|
${Gt((t=>t.loading),Q`
|
|
11136
11139
|
<span class="spinner-container">
|
|
11137
|
-
<${
|
|
11138
|
-
appearance="${
|
|
11140
|
+
<${YO}
|
|
11141
|
+
appearance="${GO.accent}"
|
|
11139
11142
|
aria-label="${t=>Sb.getValueFor(t)}"
|
|
11140
11143
|
title="${t=>Sb.getValueFor(t)}"
|
|
11141
11144
|
>
|
|
11142
|
-
</${
|
|
11145
|
+
</${YO}>
|
|
11143
11146
|
</span>
|
|
11144
11147
|
`)}
|
|
11145
11148
|
${Gt((t=>!t.loading),Q`
|
|
@@ -11622,7 +11625,7 @@ return{count:this.tanStackTable.getRowModel().rows.length,getScrollElement:()=>t
|
|
|
11622
11625
|
this.visibleItems=t.getVirtualItems(),this.scrollHeight=t.getTotalSize(),this.isScrolling=t.isScrolling,window.clearTimeout(this.isScrollingTimer),this.isScrolling&&(this.isScrollingTimer=window.setTimeout((()=>{this.isScrolling=!1}),300))
|
|
11623
11626
|
let e=0
|
|
11624
11627
|
if(this.visibleItems.length>0){e=this.visibleItems[0].start}this.rowContainerYOffset=e}updatePageSize(){this._pageSize=Math.round(this.table.viewport.clientHeight/this.table.rowHeight)}}function $N(t){switch(t){case AF:return EN
|
|
11625
|
-
case
|
|
11628
|
+
case TF:return DN
|
|
11626
11629
|
default:return EN}}function DN(t,e,n){const i=t.getValue(n),s=e.getValue(n)
|
|
11627
11630
|
return"string"==typeof i&&"string"==typeof s?i.localeCompare(s):i===s?0:void 0===i||null===i&&void 0!==s?-1:1}function EN(t,e,n){const i=t.getValue(n),s=e.getValue(n)
|
|
11628
11631
|
return Object.is(i,s)?0:void 0===i?-1:void 0===s?1:null===i?-1:null===s?1:Number.isNaN(i)?-1:Number.isNaN(s)?1:0===i&&0===s?Object.is(i,-0)?-1:1:i>s?1:-1}t([C],MN.prototype,"visibleItems",void 0),t([C],MN.prototype,"scrollHeight",void 0),t([C],MN.prototype,"isScrolling",void 0),t([C],MN.prototype,"headerContainerMarginRight",void 0),t([C],MN.prototype,"rowContainerYOffset",void 0)
|
|
@@ -11663,9 +11666,9 @@ const t=this.gridSizedColumns.reduce(((t,e)=>t+e.columnInternals.currentPixelWid
|
|
|
11663
11666
|
let n=0
|
|
11664
11667
|
for(let t=0;t<this.visibleColumns.length&&n<this.gridSizedColumns.length;t++){const i=this.visibleColumns[t]
|
|
11665
11668
|
i===this.gridSizedColumns[n]&&(n+=1,i.columnInternals.currentFractionalWidth=i.columnInternals.currentPixelWidth/e,i.columnInternals.currentPixelWidth=void 0)}}getVisibleColumns(){return this.table.columns.filter((t=>!t.columnHidden))}getLeftColumnIndexFromDivider(t){return Math.floor(t/2)}}t([C],AN.prototype,"isColumnBeingSized",void 0),t([C],AN.prototype,"activeColumnIndex",void 0),t([C],AN.prototype,"activeColumnDivider",void 0)
|
|
11666
|
-
const
|
|
11667
|
-
return!1},
|
|
11668
|
-
class RN extends AE{constructor(t){super(
|
|
11669
|
+
const TN=(t,...e)=>{for(const n of e)if(t===n)return!0
|
|
11670
|
+
return!1},ON=["rowIds","rowParentIds","groupRows","columnIds","columnHidden","columnSort","columnSortDisabled","columnWidths","columnDefinition","actionMenuSlots","selectionMode"]
|
|
11671
|
+
class RN extends AE{constructor(t){super(ON),this.table=t,this.updateQueued=!1}get updateRowIds(){return this.isTracked("rowIds")}get updateRowParentIds(){return this.isTracked("rowParentIds")}get updateGroupRows(){return this.isTracked("groupRows")}get updateColumnIds(){return this.isTracked("columnIds")}get updateColumnSort(){return this.isTracked("columnSort")}get updateColumnWidths(){return this.isTracked("columnWidths")}get updateColumnDefinition(){return this.isTracked("columnDefinition")}get updateActionMenuSlots(){return this.isTracked("actionMenuSlots")}get updateSelectionMode(){return this.isTracked("selectionMode")}get requiresTanStackUpdate(){return this.isTracked("rowIds")||this.isTracked("rowParentIds")||this.isTracked("columnSort")||this.isTracked("columnDefinition")||this.isTracked("groupRows")||this.isTracked("selectionMode")}get requiresTanStackDataReset(){return this.isTracked("rowIds")||this.isTracked("columnDefinition")||this.isTracked("rowParentIds")}get requiresKeyboardFocusReset(){return this.isTracked("columnSortDisabled")||this.isTracked("columnDefinition")||this.isTracked("columnHidden")||this.isTracked("selectionMode")||this.isTracked("actionMenuSlots")}trackAllStateChanged(){this.trackAll(),this.queueUpdate()}get hasPendingUpdates(){return this.updateQueued}trackColumnPropertyChanged(t){TN(t,"columnId")?this.track("columnIds"):HF(t,"operandDataRecordFieldName","sortOperation")?this.track("columnDefinition"):HF(t,"sortingDisabled")?(this.track("columnSort"),this.track("columnSortDisabled")):HF(t,"currentSortDirection","currentSortIndex")?this.track("columnSort"):HF(t,"currentFractionalWidth","currentPixelWidth","minPixelWidth","resizingDisabled")?this.track("columnWidths"):TN(t,"columnHidden")?(this.track("columnWidths"),this.track("columnHidden")):TN(t,"actionMenuSlot")?this.track("actionMenuSlots"):HF(t,"groupIndex","groupingDisabled")&&this.track("groupRows"),this.queueUpdate()}trackColumnInstancesChanged(){this.track("columnIds"),this.track("columnDefinition"),this.track("columnSort"),this.track("columnSortDisabled"),this.track("columnWidths"),this.track("actionMenuSlots"),this.track("groupRows"),this.queueUpdate()}trackIdFieldNameChanged(){this.track("rowIds"),this.queueUpdate()}trackParentIdFieldNameChanged(){this.track("rowParentIds"),this.queueUpdate()}trackSelectionModeChanged(){this.track("selectionMode"),this.queueUpdate()}queueUpdate(){this.table.$fastController.isConnected&&(this.updateQueued||(this.updateQueued=!0,b.queueUpdate((()=>{this.table.update(),this.untrackAll(),this.updateQueued=!1}))))}}class FN{constructor(t){this.tanStackTable=t}reset(){}toggleIsRowSelected(t,e){t.isGroupRow&&t.selectionState===yF?this.deselectAllLeafRows(t.id):this.tanStackTable.getRow(t.id).toggleSelected(e,{selectChildren:t.isGroupRow})}selectSingleRow(t){if(t.isGroupRow)throw new Error("function not intended to select grouped rows")
|
|
11669
11672
|
const e=this.tanStackTable.getState().rowSelection,n=[]
|
|
11670
11673
|
if(Object.entries(e).forEach((([t,e])=>{e&&n.push(t)})),1===n.length&&n[0]===t.id)return!1
|
|
11671
11674
|
const i={}
|
|
@@ -11949,7 +11952,7 @@ const KN=Mt`
|
|
|
11949
11952
|
>
|
|
11950
11953
|
<slot ${Ut("contentSlot")}></slot>
|
|
11951
11954
|
</span>`
|
|
11952
|
-
function XN(t){class e extends t{fractionalWidthChanged(){this.columnInternals.fractionalWidth=this.fractionalWidth??RF}minPixelWidthChanged(){this.columnInternals.minPixelWidth=this.minPixelWidth??
|
|
11955
|
+
function XN(t){class e extends t{fractionalWidthChanged(){this.columnInternals.fractionalWidth=this.fractionalWidth??RF}minPixelWidthChanged(){this.columnInternals.minPixelWidth=this.minPixelWidth??OF}}return ft({attribute:"fractional-width",converter:ut})(e.prototype,"fractionalWidth"),ft({attribute:"min-pixel-width",converter:ut})(e.prototype,"minPixelWidth"),e}function JN(t){class e extends t{constructor(){super(...arguments),this.groupingDisabled=!1}groupingDisabledChanged(){this.columnInternals.groupingDisabled=this.groupingDisabled}groupIndexChanged(){this.columnInternals.groupIndex=this.groupIndex??void 0}}return ft({attribute:"grouping-disabled",mode:"boolean"})(e.prototype,"groupingDisabled"),ft({attribute:"group-index",converter:ut})(e.prototype,"groupIndex"),e}function QN(t){class e extends t{}return ft({attribute:"placeholder"})(e.prototype,"placeholder"),e}const tL=Mt`
|
|
11953
11956
|
${Bs("flex")}
|
|
11954
11957
|
|
|
11955
11958
|
:host {
|
|
@@ -12040,7 +12043,7 @@ _i.getOrCreate().withPrefix("nimble").register(aL())
|
|
|
12040
12043
|
const lL="nimble-table-column-text-group-header-view"
|
|
12041
12044
|
function cL(t){class e extends t{constructor(){super(...arguments),this.sortingDisabled=!1,this.sortDirection=gF.none}sortingDisabledChanged(){this.columnInternals.sortingDisabled=this.sortingDisabled,this.sortingDisabled?(this.columnInternals.currentSortDirection=gF.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 dL(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?AF: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
|
|
12042
12045
|
!!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 hL=["invalidCustomSortWithGrouping"]
|
|
12043
|
-
class uL extends jN{constructor(){super(hL)}}class pL extends(JN(XN(QN(cL(dL(UF)))))){constructor(){super(...arguments),this.underlineHidden=!1,this.defaultSortOperation=
|
|
12046
|
+
class uL extends jN{constructor(){super(hL)}}class pL extends(JN(XN(QN(cL(dL(UF)))))){constructor(){super(...arguments),this.underlineHidden=!1,this.defaultSortOperation=TF}placeholderChanged(){this.updateColumnConfig()}handleSortConfigurationChange(){this.updateColumnInternalsSortConfiguration()}getColumnInternalsOptions(){return{cellRecordFieldNames:["label","href"],cellViewTag:"nimble-table-column-anchor-cell-view",groupHeaderViewTag:lL,delegatedEvents:["click"],sortOperation:this.getResolvedSortOperation(this.defaultSortOperation),validator:new uL}}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"})],pL.prototype,"labelFieldName",void 0),t([ft({attribute:"href-field-name"})],pL.prototype,"hrefFieldName",void 0),t([ft],pL.prototype,"appearance",void 0),t([ft({attribute:"underline-hidden",mode:"boolean"})],pL.prototype,"underlineHidden",void 0),t([ft],pL.prototype,"hreflang",void 0),t([ft],pL.prototype,"ping",void 0),t([ft],pL.prototype,"referrerpolicy",void 0),t([ft],pL.prototype,"rel",void 0),t([ft],pL.prototype,"target",void 0),t([ft],pL.prototype,"type",void 0),t([ft],pL.prototype,"download",void 0)
|
|
12044
12047
|
const fL=pL.compose({baseName:"table-column-anchor",template:YN,styles:KN})
|
|
12045
12048
|
_i.getOrCreate().withPrefix("nimble").register(fL())
|
|
12046
12049
|
class mL extends UF{fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}}function gL(t){return JN(XN(QN(cL(t))))}function vL(t,e){if("number"!=typeof e)return""
|
|
@@ -12115,9 +12118,9 @@ if(t<1&&0!==h)return this.scientificSecondsFormatter.format(h)
|
|
|
12115
12118
|
if(u>=5e-4||0===u&&0===e.length){const t=this.secondsFormatter.format(u)
|
|
12116
12119
|
e.push(t)}return e.join(", ")}}const AL=class extends sL{updateText(){this.columnConfig?this.text=this.columnConfig.formatter.format(this.groupHeaderValue):this.text=""}}.compose({baseName:"table-column-duration-text-group-header-view",template:oL,styles:rL})
|
|
12117
12120
|
_i.getOrCreate().withPrefix("nimble").register(AL())
|
|
12118
|
-
class
|
|
12119
|
-
this.columnInternals.columnConfig=t}}const TL
|
|
12120
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
12121
|
+
class TL extends(gL(mL)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),ll.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),ll.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:AF,validator:new jN([])}}updateColumnConfig(){const t={formatter:new EL(ll.getValueFor(this)),placeholder:this.placeholder}
|
|
12122
|
+
this.columnInternals.columnConfig=t}}const OL=TL.compose({baseName:"table-column-duration-text",template:YN,styles:KN})
|
|
12123
|
+
_i.getOrCreate().withPrefix("nimble").register(OL())
|
|
12121
12124
|
const RL=(t,e)=>{if("number"===e){const e=ut.fromView(t)
|
|
12122
12125
|
return null===e?void 0:e}return"boolean"===e?!1!==t&&"false"!==t&&(!0===t||"true"===t||void 0):t?.toString()??void 0}
|
|
12123
12126
|
class FL extends UF{constructor(){super(...arguments),this.mappingNotifiers=[],this.mappings=[],this.keyType="string"}handleChange(t,e){t instanceof Pb&&"string"==typeof e&&this.updateColumnConfig()}updateColumnConfig(){this.columnInternals.validator.validate(this.mappings,this.keyType),this.columnInternals.columnConfig=this.checkValidity()?this.createColumnConfig(this.getMappingConfigs()):void 0}getMappingConfigs(){const t=new Map
|
|
@@ -12188,12 +12191,12 @@ super(n),this.severity=e,this.textHidden=i,this.iconTemplate=Q`
|
|
|
12188
12191
|
>
|
|
12189
12192
|
</${s}>
|
|
12190
12193
|
`}}const WL=Q`
|
|
12191
|
-
<${
|
|
12194
|
+
<${YO}
|
|
12192
12195
|
title="${t=>t.textHidden?t.text:""}"
|
|
12193
12196
|
aria-label="${t=>t.text}"
|
|
12194
12197
|
aria-hidden="${t=>t.textHidden?"false":"true"}"
|
|
12195
12198
|
>
|
|
12196
|
-
</${
|
|
12199
|
+
</${YO}>
|
|
12197
12200
|
`
|
|
12198
12201
|
class GL extends qL{constructor(t,e){super(t),this.textHidden=e,this.spinnerTemplate=WL}}class ZL extends qL{}class KL extends qL{}class YL extends FF{constructor(){super(...arguments),this.hasOverflow=!1,this.text="",this.textHidden=!1}columnConfigChanged(){this.updateState()}groupHeaderValueChanged(){this.updateState()}updateState(){if(this.resetState(),!this.columnConfig)return
|
|
12199
12202
|
const t=this.groupHeaderValue,e=this.columnConfig.mappingConfigs.get(t)
|
|
@@ -12250,7 +12253,7 @@ class iB extends(JN(XN(cL(FL)))){minPixelWidthChanged(){this.widthMode!==nB&&(th
|
|
|
12250
12253
|
return new jL(t.resolvedIcon,t.severity,t.text,t.textHidden)}if(t instanceof Gb)return new GL(t.text,t.textHidden)
|
|
12251
12254
|
if(t instanceof Kb)return new ZL(t.text)
|
|
12252
12255
|
if(t instanceof Hb)return new KL(t.text)
|
|
12253
|
-
throw new Error("Unsupported mapping")}widthModeChanged(){this.widthMode===nB?(this.columnInternals.resizingDisabled=!0,this.columnInternals.hideHeaderIndicators=!0,this.columnInternals.pixelWidth=32,this.columnInternals.minPixelWidth=32):(this.columnInternals.resizingDisabled=!1,this.columnInternals.hideHeaderIndicators=!1,this.columnInternals.pixelWidth=void 0,this.columnInternals.minPixelWidth=this.getConfiguredMinPixelWidth())}getConfiguredMinPixelWidth(){return"number"==typeof this.minPixelWidth?this.minPixelWidth:
|
|
12256
|
+
throw new Error("Unsupported mapping")}widthModeChanged(){this.widthMode===nB?(this.columnInternals.resizingDisabled=!0,this.columnInternals.hideHeaderIndicators=!0,this.columnInternals.pixelWidth=32,this.columnInternals.minPixelWidth=32):(this.columnInternals.resizingDisabled=!1,this.columnInternals.hideHeaderIndicators=!1,this.columnInternals.pixelWidth=void 0,this.columnInternals.minPixelWidth=this.getConfiguredMinPixelWidth())}getConfiguredMinPixelWidth(){return"number"==typeof this.minPixelWidth?this.minPixelWidth:OF}}t([ft({attribute:"width-mode"})],iB.prototype,"widthMode",void 0)
|
|
12254
12257
|
const sB=iB.compose({baseName:"table-column-mapping",template:LL,styles:NL})
|
|
12255
12258
|
_i.getOrCreate().withPrefix("nimble").register(sB())
|
|
12256
12259
|
const oB=Q`
|
|
@@ -12346,17 +12349,17 @@ this.setConditionValue("invalidDecimalDigits",n)}validateDecimalMaximumDigits(t,
|
|
|
12346
12349
|
this.setConditionValue("invalidDecimalMaximumDigits",n)}validateNoMutuallyExclusiveProperties(t,e,n){const i=!!(t===gB.decimal)&&("number"==typeof e&&"number"==typeof n)
|
|
12347
12350
|
this.setConditionValue("decimalDigitsMutuallyExclusiveWithDecimalMaximumDigits",i)}validateAtMostOneUnit(t){const e=t.length>1
|
|
12348
12351
|
this.setConditionValue("moreThanOneUnitSpecified",e)}isInvalidDecimalDigitsValue(t){return t<0||t>20}}class AB extends We{}t([C],AB.prototype,"resolvedUnitScale",void 0)
|
|
12349
|
-
class
|
|
12352
|
+
class TB extends(gL(mL)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}},this.unitSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),ll.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),ll.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:AF,validator:new EB}}updateUnitNotifier(){if(this.unitNotifier&&(this.unitNotifier.unsubscribe(this.unitSubscriber),this.unitNotifier=void 0),this.unit){const t=x.getNotifier(this.unit)
|
|
12350
12353
|
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 FE(this.unitElements),this.unit=this.unitElements.find((t=>t instanceof AB))),this.updateUnitNotifier()}unitChanged(){this.updateColumnConfig()}updateColumnConfig(){const t=this.columnInternals.validator
|
|
12351
12354
|
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}
|
|
12352
12355
|
this.columnInternals.headerAlignment=t.alignment,this.columnInternals.columnConfig=t}else this.columnInternals.columnConfig=void 0}createFormatter(){const t=this.unit?.resolvedUnitScale
|
|
12353
|
-
return new $B(ll.getValueFor(this),{numberTextFormat:this.format??void 0,decimalDigits:this.decimalDigits??void 0,decimalMaximumDigits:this.decimalMaximumDigits??void 0,unitScale:t})}determineCellContentAlignment(){return this.alignment===vB?xF:this.alignment===bB?CF:this.format!==gB.decimal||"number"==typeof this.decimalMaximumDigits||this.unit?xF:CF}}t([ft],
|
|
12354
|
-
const TB
|
|
12355
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
12356
|
+
return new $B(ll.getValueFor(this),{numberTextFormat:this.format??void 0,decimalDigits:this.decimalDigits??void 0,decimalMaximumDigits:this.decimalMaximumDigits??void 0,unitScale:t})}determineCellContentAlignment(){return this.alignment===vB?xF:this.alignment===bB?CF:this.format!==gB.decimal||"number"==typeof this.decimalMaximumDigits||this.unit?xF:CF}}t([ft],TB.prototype,"format",void 0),t([ft],TB.prototype,"alignment",void 0),t([ft({attribute:"decimal-digits",converter:ut})],TB.prototype,"decimalDigits",void 0),t([ft({attribute:"decimal-maximum-digits",converter:ut})],TB.prototype,"decimalMaximumDigits",void 0),t([C],TB.prototype,"unitElements",void 0),t([C],TB.prototype,"unit",void 0)
|
|
12357
|
+
const OB=TB.compose({baseName:"table-column-number-text",template:pB,styles:KN})
|
|
12358
|
+
_i.getOrCreate().withPrefix("nimble").register(OB())
|
|
12356
12359
|
const RB=class extends xL{updateText(){this.text="string"==typeof this.cellRecord?.value?this.cellRecord.value:""}}.compose({baseName:"table-column-text-cell-view",template:yL,styles:wL})
|
|
12357
12360
|
_i.getOrCreate().withPrefix("nimble").register(RB())
|
|
12358
12361
|
const FB=["invalidCustomSortWithGrouping"]
|
|
12359
|
-
class NB extends jN{constructor(){super(FB)}}class LB extends(dL(gL(mL))){constructor(){super(...arguments),this.defaultSortOperation=
|
|
12362
|
+
class NB extends jN{constructor(){super(FB)}}class LB extends(dL(gL(mL))){constructor(){super(...arguments),this.defaultSortOperation=TF}placeholderChanged(){this.columnInternals.columnConfig={placeholder:this.placeholder}}handleSortConfigurationChange(){this.updateColumnInternalsSortConfiguration()}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-text-cell-view",groupHeaderViewTag:lL,delegatedEvents:[],sortOperation:this.getResolvedSortOperation(this.defaultSortOperation),validator:new NB}}fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.updateColumnInternalsSortConfiguration()}updateColumnInternalsSortConfiguration(){this.columnInternals.operandDataRecordFieldName=this.getResolvedOperandDataRecordFieldName(this.fieldName),this.columnInternals.sortOperation=this.getResolvedSortOperation(this.defaultSortOperation)}}const BB=LB.compose({baseName:"table-column-text",template:YN,styles:KN})
|
|
12360
12363
|
_i.getOrCreate().withPrefix("nimble").register(BB())
|
|
12361
12364
|
const PB=Mt`
|
|
12362
12365
|
${Vh}
|
|
@@ -13047,8 +13050,8 @@ const oP=Mt`
|
|
|
13047
13050
|
</${Cg}>
|
|
13048
13051
|
`)}
|
|
13049
13052
|
`
|
|
13050
|
-
class aP extends
|
|
13051
|
-
const lP=aP.compose({baseName:"tooltip",baseClass:
|
|
13053
|
+
class aP extends Ts{constructor(){super(...arguments),this.iconVisible=!1}}t([ft],aP.prototype,"severity",void 0),t([ft({attribute:"icon-visible",mode:"boolean"})],aP.prototype,"iconVisible",void 0)
|
|
13054
|
+
const lP=aP.compose({baseName:"tooltip",baseClass:Ts,template:rP,styles:oP})
|
|
13052
13055
|
_i.getOrCreate().withPrefix("nimble").register(lP())
|
|
13053
13056
|
const cP="group-selected",dP="all",hP="leaves-only",uP="none"
|
|
13054
13057
|
class pP{constructor(t,e,n){this.ltr=t,this.rtl=e,this.source=n,this.attached=null}handleChange({target:t,token:e}){this.attach(e.getValueFor(t))}attach(t){this.attached!==this[t]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[t],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}const fP=Mt`
|
|
@@ -13301,7 +13304,7 @@ const vP=Mt`
|
|
|
13301
13304
|
</template>
|
|
13302
13305
|
`
|
|
13303
13306
|
class yP extends Fs{constructor(){super(...arguments),this.selectionMode=dP,this.selectedItems=[]}handleClick(t){if(t.defaultPrevented)return!1
|
|
13304
|
-
if(!(t.target instanceof Element&&
|
|
13307
|
+
if(!(t.target instanceof Element&&Os(t.target)))return!0
|
|
13305
13308
|
const e=t.target
|
|
13306
13309
|
return!e.disabled&&(this.canSelect(e)?e.selected=!0:this.itemHasChildren(e)&&(e.expanded=!e.expanded),!0)}canSelect(t){switch(this.selectionMode){case dP:return!0
|
|
13307
13310
|
case uP:return!1
|
|
@@ -13324,8 +13327,8 @@ const $P=new class extends kB{constructor(){super(MP.map((([t,e,n])=>new CB(t,xB
|
|
|
13324
13327
|
class EP extends AB{constructor(){super(),this.binary=!1,this.resolvedUnitScale=$P}binaryChanged(){this.resolvedUnitScale=this.binary?IP:$P}}t([ft({mode:"boolean"})],EP.prototype,"binary",void 0)
|
|
13325
13328
|
const AP=EP.compose({baseName:"unit-byte",template:xP,styles:DP})
|
|
13326
13329
|
_i.getOrCreate().withPrefix("nimble").register(AP())
|
|
13327
|
-
const
|
|
13328
|
-
const RP=new class extends kB{constructor(){super(
|
|
13330
|
+
const TP=[[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"]],OP=new Map([["en",new CP("volt","volts","V")],["fr",new CP("volt","volts","V")],["de",new CP("Volt","Volt","V")],["ja",new CP("ボルト","ボルト","V")],["zh",new CP("伏特","伏特","V")]])
|
|
13331
|
+
const RP=new class extends kB{constructor(){super(TP.map((([t,e])=>new CB(t,kP.createFactory({unitTranslations:OP,scaledPrefixText:e})))))}}
|
|
13329
13332
|
const FP=class extends AB{constructor(){super(),this.resolvedUnitScale=RP}}.compose({baseName:"unit-volt",template:xP,styles:DP})
|
|
13330
13333
|
_i.getOrCreate().withPrefix("nimble").register(FP())
|
|
13331
13334
|
var NP={value:()=>{}}
|
|
@@ -13358,7 +13361,7 @@ for(a=0;a<h;++a)(l=e[a])&&d.get(p[a])===l&&(s[a]=l)}function lV(t){return t.__da
|
|
|
13358
13361
|
null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function gV(t,e){return function(){var n=e.apply(this,arguments)
|
|
13359
13362
|
null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function vV(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function bV(t){return function(){this.style.removeProperty(t)}}function yV(t,e,n){return function(){this.style.setProperty(t,e,n)}}function wV(t,e,n){return function(){var i=e.apply(this,arguments)
|
|
13360
13363
|
null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function xV(t,e){return t.style.getPropertyValue(e)||vV(t).getComputedStyle(t,null).getPropertyValue(e)}function CV(t){return function(){delete this[t]}}function kV(t,e){return function(){this[t]=e}}function SV(t,e){return function(){var n=e.apply(this,arguments)
|
|
13361
|
-
null==n?delete this[t]:this[t]=n}}function _V(t){return t.trim().split(/^|\s+/)}function IV(t){return t.classList||new MV(t)}function MV(t){this._node=t,this._names=_V(t.getAttribute("class")||"")}function $V(t,e){for(var n=IV(t),i=-1,s=e.length;++i<s;)n.add(e[i])}function DV(t,e){for(var n=IV(t),i=-1,s=e.length;++i<s;)n.remove(e[i])}function EV(t){return function(){$V(this,t)}}function AV(t){return function(){DV(this,t)}}function
|
|
13364
|
+
null==n?delete this[t]:this[t]=n}}function _V(t){return t.trim().split(/^|\s+/)}function IV(t){return t.classList||new MV(t)}function MV(t){this._node=t,this._names=_V(t.getAttribute("class")||"")}function $V(t,e){for(var n=IV(t),i=-1,s=e.length;++i<s;)n.add(e[i])}function DV(t,e){for(var n=IV(t),i=-1,s=e.length;++i<s;)n.remove(e[i])}function EV(t){return function(){$V(this,t)}}function AV(t){return function(){DV(this,t)}}function TV(t,e){return function(){(e.apply(this,arguments)?$V:DV)(this,t)}}function OV(){this.textContent=""}function RV(t){return function(){this.textContent=t}}function FV(t){return function(){var e=t.apply(this,arguments)
|
|
13362
13365
|
this.textContent=null==e?"":e}}function NV(){this.innerHTML=""}function LV(t){return function(){this.innerHTML=t}}function BV(t){return function(){var e=t.apply(this,arguments)
|
|
13363
13366
|
this.innerHTML=null==e?"":e}}function PV(){this.nextSibling&&this.parentNode.appendChild(this)}function VV(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function zV(){return null}function HV(){var t=this.parentNode
|
|
13364
13367
|
t&&t.removeChild(this)}function UV(){var t=this.cloneNode(!1),e=this.parentNode
|
|
@@ -13401,7 +13404,7 @@ return this},attr:function(t,e){var n=UP(t)
|
|
|
13401
13404
|
if(arguments.length<2){var i=this.node()
|
|
13402
13405
|
return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?uV:hV:"function"==typeof e?n.local?gV:mV:n.local?fV:pV)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?bV:"function"==typeof e?wV:yV)(t,e,null==n?"":n)):xV(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?CV:"function"==typeof e?SV:kV)(t,e)):this.node()[t]},classed:function(t,e){var n=_V(t+"")
|
|
13403
13406
|
if(arguments.length<2){for(var i=IV(this.node()),s=-1,o=n.length;++s<o;)if(!i.contains(n[s]))return!1
|
|
13404
|
-
return!0}return this.each(("function"==typeof e?
|
|
13407
|
+
return!0}return this.each(("function"==typeof e?TV:e?EV:AV)(n,e))},text:function(t){return arguments.length?this.each(null==t?OV:("function"==typeof t?FV:RV)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?NV:("function"==typeof t?BV:LV)(t)):this.node().innerHTML},raise:function(){return this.each(PV)},lower:function(){return this.each(VV)},append:function(t){var e="function"==typeof t?t:WP(t)
|
|
13405
13408
|
return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:WP(t),i=null==e?zV:"function"==typeof e?e:ZP(e)
|
|
13406
13409
|
return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(HV)},clone:function(t){return this.select(t?qV:UV)},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(".")
|
|
13407
13410
|
return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}(t+""),r=o.length
|
|
@@ -13415,12 +13418,12 @@ return n}function oz(){}var rz=.7,az=1/rz,lz="\\s*([+-]?\\d+)\\s*",cz="\\s*([+-]
|
|
|
13415
13418
|
function yz(){return this.rgb().formatHex()}function wz(){return this.rgb().formatRgb()}function xz(t){var e,n
|
|
13416
13419
|
return t=(t+"").trim().toLowerCase(),(e=hz.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Cz(e):3===n?new _z(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?kz(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?kz(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=uz.exec(t))?new _z(e[1],e[2],e[3],1):(e=pz.exec(t))?new _z(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=fz.exec(t))?kz(e[1],e[2],e[3],e[4]):(e=mz.exec(t))?kz(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=gz.exec(t))?Az(e[1],e[2]/100,e[3]/100,1):(e=vz.exec(t))?Az(e[1],e[2]/100,e[3]/100,e[4]):bz.hasOwnProperty(t)?Cz(bz[t]):"transparent"===t?new _z(NaN,NaN,NaN,0):null}function Cz(t){return new _z(t>>16&255,t>>8&255,255&t,1)}function kz(t,e,n,i){return i<=0&&(t=e=n=NaN),new _z(t,e,n,i)}function Sz(t,e,n,i){return 1===arguments.length?((s=t)instanceof oz||(s=xz(s)),s?new _z((s=s.rgb()).r,s.g,s.b,s.opacity):new _z):new _z(t,e,n,null==i?1:i)
|
|
13417
13420
|
var s}function _z(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function Iz(){return`#${Ez(this.r)}${Ez(this.g)}${Ez(this.b)}`}function Mz(){const t=$z(this.opacity)
|
|
13418
|
-
return`${1===t?"rgb(":"rgba("}${Dz(this.r)}, ${Dz(this.g)}, ${Dz(this.b)}${1===t?")":`, ${t})`}`}function $z(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Dz(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ez(t){return((t=Dz(t))<16?"0":"")+t.toString(16)}function Az(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new
|
|
13419
|
-
if(t instanceof oz||(t=xz(t)),!t)return new
|
|
13420
|
-
if(t instanceof
|
|
13421
|
+
return`${1===t?"rgb(":"rgba("}${Dz(this.r)}, ${Dz(this.g)}, ${Dz(this.b)}${1===t?")":`, ${t})`}`}function $z(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Dz(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ez(t){return((t=Dz(t))<16?"0":"")+t.toString(16)}function Az(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Oz(t,e,n,i)}function Tz(t){if(t instanceof Oz)return new Oz(t.h,t.s,t.l,t.opacity)
|
|
13422
|
+
if(t instanceof oz||(t=xz(t)),!t)return new Oz
|
|
13423
|
+
if(t instanceof Oz)return t
|
|
13421
13424
|
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
|
|
13422
|
-
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
|
|
13423
|
-
return new _z(Nz(t>=240?t-240:t+120,s,i),Nz(t,s,i),Nz(t<120?t+240:t-120,s,i),this.opacity)},clamp(){return new
|
|
13425
|
+
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 Oz(r,a,l,t.opacity)}function Oz(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function Rz(t){return(t=(t||0)%360)<0?t+360:t}function Fz(t){return Math.max(0,Math.min(1,t||0))}function Nz(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}iz(oz,xz,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:yz,formatHex:yz,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Tz(this).formatHsl()},formatRgb:wz,toString:wz}),iz(_z,Sz,sz(oz,{brighter(t){return t=null==t?az:Math.pow(az,t),new _z(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?rz:Math.pow(rz,t),new _z(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new _z(Dz(this.r),Dz(this.g),Dz(this.b),$z(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:Iz,formatHex:Iz,formatHex8:function(){return`#${Ez(this.r)}${Ez(this.g)}${Ez(this.b)}${Ez(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Mz,toString:Mz})),iz(Oz,(function(t,e,n,i){return 1===arguments.length?Tz(t):new Oz(t,e,n,null==i?1:i)}),sz(oz,{brighter(t){return t=null==t?az:Math.pow(az,t),new Oz(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?rz:Math.pow(rz,t),new Oz(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
|
|
13426
|
+
return new _z(Nz(t>=240?t-240:t+120,s,i),Nz(t,s,i),Nz(t<120?t+240:t-120,s,i),this.opacity)},clamp(){return new Oz(Rz(this.h),Fz(this.s),Fz(this.l),$z(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=$z(this.opacity)
|
|
13424
13427
|
return`${1===t?"hsl(":"hsla("}${Rz(this.h)}, ${100*Fz(this.s)}%, ${100*Fz(this.l)}%${1===t?")":`, ${t})`}`}}))
|
|
13425
13428
|
var Lz=t=>()=>t
|
|
13426
13429
|
function Bz(t){return 1==(t=+t)?Pz: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):Lz(isNaN(e)?n:e)}}function Pz(t,e){var n=e-t
|
|
@@ -13466,16 +13469,16 @@ rH=t,kH(i)}(),pH=0}}function CH(){var t=mH.now(),e=t-uH
|
|
|
13466
13469
|
e>hH&&(fH-=e,uH=t)}function kH(t){lH||(cH&&(cH=clearTimeout(cH)),t-pH>24?(t<1/0&&(cH=setTimeout(xH,t-mH.now()-fH)),dH&&(dH=clearInterval(dH))):(dH||(uH=mH.now(),dH=setInterval(CH,hH)),lH=1,gH(xH)))}function SH(t,e,n){var i=new yH
|
|
13467
13470
|
return e=null==e?0:+e,i.restart((n=>{i.stop(),t(n+e)}),e,n),i}yH.prototype=wH.prototype={constructor:yH,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function")
|
|
13468
13471
|
n=(null==n?vH():+n)+(null==e?0:+e),this._next||rH===this||(rH?rH._next=this:oH=this,rH=this),this._call=t,this._time=n,kH()},stop:function(){this._call&&(this._call=null,this._time=1/0,kH())}}
|
|
13469
|
-
var _H=LP("start","end","cancel","interrupt"),IH=[],MH=0,$H=1,DH=2,EH=3,AH=4,
|
|
13472
|
+
var _H=LP("start","end","cancel","interrupt"),IH=[],MH=0,$H=1,DH=2,EH=3,AH=4,TH=5,OH=6
|
|
13470
13473
|
function RH(t,e,n,i,s,o){var r=t.__transition
|
|
13471
13474
|
if(r){if(n in r)return}else t.__transition={}
|
|
13472
13475
|
!function(t,e,n){var i,s=t.__transition
|
|
13473
13476
|
function o(t){n.state=$H,n.timer.restart(r,n.delay,n.time),n.delay<=t&&r(t-n.delay)}function r(o){var c,d,h,u
|
|
13474
13477
|
if(n.state!==$H)return l()
|
|
13475
13478
|
for(c in s)if((u=s[c]).name===n.name){if(u.state===EH)return SH(r)
|
|
13476
|
-
u.state===AH?(u.state=
|
|
13477
|
-
i.length=d+1}}function a(e){for(var s=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(l),n.state=
|
|
13478
|
-
n.state===
|
|
13479
|
+
u.state===AH?(u.state=OH,u.timer.stop(),u.on.call("interrupt",t,t.__data__,u.index,u.group),delete s[c]):+c<e&&(u.state=OH,u.timer.stop(),u.on.call("cancel",t,t.__data__,u.index,u.group),delete s[c])}if(SH((function(){n.state===EH&&(n.state=AH,n.timer.restart(a,n.delay,n.time),a(o))})),n.state=DH,n.on.call("start",t,t.__data__,n.index,n.group),n.state===DH){for(n.state=EH,i=new Array(h=n.tween.length),c=0,d=-1;c<h;++c)(u=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(i[++d]=u)
|
|
13480
|
+
i.length=d+1}}function a(e){for(var s=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(l),n.state=TH,1),o=-1,r=i.length;++o<r;)i[o].call(t,s)
|
|
13481
|
+
n.state===TH&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){for(var i in n.state=OH,n.timer.stop(),delete s[e],s)return
|
|
13479
13482
|
delete t.__transition}s[e]=n,n.timer=wH(o,0,n.time)}(t,n,{name:e,index:i,group:s,on:_H,tween:IH,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:MH})}function FH(t,e){var n=LH(t,e)
|
|
13480
13483
|
if(n.state>MH)throw new Error("too late; already scheduled")
|
|
13481
13484
|
return n}function NH(t,e){var n=LH(t,e)
|
|
@@ -13483,7 +13486,7 @@ if(n.state>EH)throw new Error("too late; already running")
|
|
|
13483
13486
|
return n}function LH(t,e){var n=t.__transition
|
|
13484
13487
|
if(!n||!(n=n[e]))throw new Error("transition not found")
|
|
13485
13488
|
return n}function BH(t,e){var n,i,s,o=t.__transition,r=!0
|
|
13486
|
-
if(o){for(s in e=null==e?null:e+"",o)(n=o[s]).name===e?(i=n.state>DH&&n.state<
|
|
13489
|
+
if(o){for(s in e=null==e?null:e+"",o)(n=o[s]).name===e?(i=n.state>DH&&n.state<TH,n.state=OH,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[s]):r=!1
|
|
13487
13490
|
r&&delete t.__transition}}function PH(t,e){var n,i
|
|
13488
13491
|
return function(){var s=NH(this,t),o=s.tween
|
|
13489
13492
|
if(o!==n)for(var r=0,a=(i=n=o).length;r<a;++r)if(i[r].name===e){(i=i.slice()).splice(r,1)
|
|
@@ -13610,7 +13613,7 @@ return o(y(b(i,l),r,a),t,c)}),n,i)},v.translateBy=function(t,e,n,i){v.transform(
|
|
|
13610
13613
|
return o(uU.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=QV(this.that).datum()
|
|
13611
13614
|
u.call(t,this.that,new dU(t,{sourceEvent:this.sourceEvent,target:v,type:t,transform:this.that.__zoom,dispatch:u}),e)}},v.wheelDelta=function(t){return arguments.length?(r="function"==typeof t?t:cU(+t),v):r},v.filter=function(t){return arguments.length?(i="function"==typeof t?t:cU(!!t),v):i},v.touchable=function(t){return arguments.length?(a="function"==typeof t?t:cU(!!t),v):a},v.extent=function(t){return arguments.length?(s="function"==typeof t?t:cU([[+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)
|
|
13612
13615
|
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}hU.prototype
|
|
13613
|
-
const CU=new TextDecoder("utf-8"),kU=t=>CU.decode(t),SU=new TextEncoder,_U=t=>SU.encode(t),IU=t=>"function"==typeof t,MU=t=>null!=t&&Object(t)===t,$U=t=>MU(t)&&IU(t.then),DU=t=>MU(t)&&IU(t[Symbol.iterator]),EU=t=>MU(t)&&IU(t[Symbol.asyncIterator]),AU=t=>MU(t)&&MU(t.schema),
|
|
13616
|
+
const CU=new TextDecoder("utf-8"),kU=t=>CU.decode(t),SU=new TextEncoder,_U=t=>SU.encode(t),IU=t=>"function"==typeof t,MU=t=>null!=t&&Object(t)===t,$U=t=>MU(t)&&IU(t.then),DU=t=>MU(t)&&IU(t[Symbol.iterator]),EU=t=>MU(t)&&IU(t[Symbol.asyncIterator]),AU=t=>MU(t)&&MU(t.schema),TU=t=>MU(t)&&"done"in t&&"value"in t,OU=t=>MU(t)&&IU(t.stat)&&(t=>"number"==typeof t)(t.fd),RU=t=>MU(t)&&NU(t.body),FU=t=>"_getDOMStream"in t&&"_getNodeStream"in t,NU=t=>MU(t)&&IU(t.cancel)&&IU(t.getReader)&&!FU(t),LU=t=>MU(t)&&IU(t.read)&&IU(t.pipe)&&(t=>"boolean"==typeof t)(t.readable)&&!FU(t),BU=t=>MU(t)&&IU(t.clear)&&IU(t.bytes)&&IU(t.position)&&IU(t.setPosition)&&IU(t.capacity)&&IU(t.getBufferIdentifier)&&IU(t.createLong),PU="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:ArrayBuffer
|
|
13614
13617
|
function VU(t,e,n=0,i=e.byteLength){const s=t.byteLength,o=new Uint8Array(t.buffer,t.byteOffset,s),r=new Uint8Array(e.buffer,e.byteOffset,Math.min(i,s))
|
|
13615
13618
|
return o.set(r,n),t}function zU(t,e){const n=function(t){const e=t[0]?[t[0]]:[]
|
|
13616
13619
|
let n,i,s,o
|
|
@@ -13619,7 +13622,7 @@ return e}(t),i=n.reduce(((t,e)=>t+e.byteLength),0)
|
|
|
13619
13622
|
let s,o,r,a=0,l=-1
|
|
13620
13623
|
const c=Math.min(e||Number.POSITIVE_INFINITY,i)
|
|
13621
13624
|
for(const t=n.length;++l<t;){if(s=n[l],o=s.subarray(0,Math.min(s.length,c-a)),c<=a+o.length){o.length<s.length?n[l]=s.subarray(o.length):o.length===s.length&&l++,r?VU(r,o,a):r=o
|
|
13622
|
-
break}VU(r||(r=new Uint8Array(c)),o,a),a+=o.length}return[r||new Uint8Array(0),n.slice(l),i-(r?r.byteLength:0)]}function HU(t,e){let n=
|
|
13625
|
+
break}VU(r||(r=new Uint8Array(c)),o,a),a+=o.length}return[r||new Uint8Array(0),n.slice(l),i-(r?r.byteLength:0)]}function HU(t,e){let n=TU(e)?e.value:e
|
|
13623
13626
|
return n instanceof t?t===Uint8Array?new t(n.buffer,n.byteOffset,n.byteLength):n:n?("string"==typeof n&&(n=_U(n)),n instanceof ArrayBuffer||n instanceof PU?new t(n):BU(n)?HU(t,n.bytes()):ArrayBuffer.isView(n)?n.byteLength<=0?new t(0):new t(n.buffer,n.byteOffset,n.byteLength/t.BYTES_PER_ELEMENT):t.from(n)):new t(0)}const UU=t=>HU(Int32Array,t),qU=t=>HU(BigInt64Array,t),jU=t=>HU(Uint8Array,t),WU=t=>(t.next(),t)
|
|
13624
13627
|
const GU=t=>function*(t,e){const n=function*(t){yield t},i="string"==typeof e||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof PU?n(e):DU(e)?e:n(e)
|
|
13625
13628
|
return yield*WU(function*(e){let n=null
|
|
@@ -13741,9 +13744,9 @@ return t?this.bb.readInt32(this.bb_pos+t):128}static startDecimal(t){t.startObje
|
|
|
13741
13744
|
return t?this.bb.readInt16(this.bb_pos+t):sq.MILLISECOND}static startDuration(t){t.startObject(1)}static addUnit(t,e){t.addFieldInt16(0,e,sq.MILLISECOND)}static endDuration(t){return t.endObject()}static createDuration(e,n){return t.startDuration(e),t.addUnit(e,n),t.endDuration(e)}},Eq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsFixedSizeBinary(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFixedSizeBinary(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}byteWidth(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13742
13745
|
return t?this.bb.readInt32(this.bb_pos+t):0}static startFixedSizeBinary(t){t.startObject(1)}static addByteWidth(t,e){t.addFieldInt32(0,e,0)}static endFixedSizeBinary(t){return t.endObject()}static createFixedSizeBinary(e,n){return t.startFixedSizeBinary(e),t.addByteWidth(e,n),t.endFixedSizeBinary(e)}},Aq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsFixedSizeList(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFixedSizeList(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}listSize(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13743
13746
|
return t?this.bb.readInt32(this.bb_pos+t):0}static startFixedSizeList(t){t.startObject(1)}static addListSize(t,e){t.addFieldInt32(0,e,0)}static endFixedSizeList(t){return t.endObject()}static createFixedSizeList(e,n){return t.startFixedSizeList(e),t.addListSize(e,n),t.endFixedSizeList(e)}}
|
|
13744
|
-
class
|
|
13745
|
-
return t?this.bb.readInt16(this.bb_pos+t):nq.HALF}static startFloatingPoint(t){t.startObject(1)}static addPrecision(t,e){t.addFieldInt16(0,e,nq.HALF)}static endFloatingPoint(t){return t.endObject()}static createFloatingPoint(t,e){return
|
|
13746
|
-
return t?this.bb.readInt16(this.bb_pos+t):oq.YEAR_MONTH}static startInterval(t){t.startObject(1)}static addUnit(t,e){t.addFieldInt16(0,e,oq.YEAR_MONTH)}static endInterval(t){return t.endObject()}static createInterval(t,e){return
|
|
13747
|
+
class Tq{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsFloatingPoint(t,e){return(e||new Tq).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsFloatingPoint(t,e){return t.setPosition(t.position()+4),(e||new Tq).__init(t.readInt32(t.position())+t.position(),t)}precision(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13748
|
+
return t?this.bb.readInt16(this.bb_pos+t):nq.HALF}static startFloatingPoint(t){t.startObject(1)}static addPrecision(t,e){t.addFieldInt16(0,e,nq.HALF)}static endFloatingPoint(t){return t.endObject()}static createFloatingPoint(t,e){return Tq.startFloatingPoint(t),Tq.addPrecision(t,e),Tq.endFloatingPoint(t)}}class Oq{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsInterval(t,e){return(e||new Oq).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsInterval(t,e){return t.setPosition(t.position()+4),(e||new Oq).__init(t.readInt32(t.position())+t.position(),t)}unit(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13749
|
+
return t?this.bb.readInt16(this.bb_pos+t):oq.YEAR_MONTH}static startInterval(t){t.startObject(1)}static addUnit(t,e){t.addFieldInt16(0,e,oq.YEAR_MONTH)}static endInterval(t){return t.endObject()}static createInterval(t,e){return Oq.startInterval(t),Oq.addUnit(t,e),Oq.endInterval(t)}}let Rq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsLargeBinary(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsLargeBinary(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static startLargeBinary(t){t.startObject(0)}static endLargeBinary(t){return t.endObject()}static createLargeBinary(e){return t.startLargeBinary(e),t.endLargeBinary(e)}},Fq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsLargeUtf8(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsLargeUtf8(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static startLargeUtf8(t){t.startObject(0)}static endLargeUtf8(t){return t.endObject()}static createLargeUtf8(e){return t.startLargeUtf8(e),t.endLargeUtf8(e)}},Nq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsList(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsList(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static startList(t){t.startObject(0)}static endList(t){return t.endObject()}static createList(e){return t.startList(e),t.endList(e)}},Lq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsMap(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMap(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}keysSorted(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13747
13750
|
return!!t&&!!this.bb.readInt8(this.bb_pos+t)}static startMap(t){t.startObject(1)}static addKeysSorted(t,e){t.addFieldInt8(0,+e,0)}static endMap(t){return t.endObject()}static createMap(e,n){return t.startMap(e),t.addKeysSorted(e,n),t.endMap(e)}},Bq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsNull(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsNull(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static startNull(t){t.startObject(0)}static endNull(t){return t.endObject()}static createNull(e){return t.startNull(e),t.endNull(e)}}
|
|
13748
13751
|
class Pq{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsStruct_(t,e){return(e||new Pq).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsStruct_(t,e){return t.setPosition(t.position()+4),(e||new Pq).__init(t.readInt32(t.position())+t.position(),t)}static startStruct_(t){t.startObject(0)}static endStruct_(t){return t.endObject()}static createStruct_(t){return Pq.startStruct_(t),Pq.endStruct_(t)}}class Vq{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsTime(t,e){return(e||new Vq).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsTime(t,e){return t.setPosition(t.position()+4),(e||new Vq).__init(t.readInt32(t.position())+t.position(),t)}unit(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13749
13752
|
return t?this.bb.readInt16(this.bb_pos+t):sq.MILLISECOND}bitWidth(){const t=this.bb.__offset(this.bb_pos,6)
|
|
@@ -13817,41 +13820,41 @@ 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]
|
|
|
13817
13820
|
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])
|
|
13818
13821
|
return null!=e?e:"0"}class lj{static new(t,e){switch(e){case!0:return new ej(t)
|
|
13819
13822
|
case!1:return new nj(t)}switch(t.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new ej(t)}return 16===t.byteLength?new ij(t):new nj(t)}static signed(t){return new ej(t)}static unsigned(t){return new nj(t)}static decimal(t){return new ij(t)}constructor(t,e){return lj.new(t,e)}}var cj,dj,hj,uj,pj,fj,mj,gj,vj,bj,yj,wj,xj,Cj,kj,Sj,_j,Ij,Mj,$j,Dj,Ej,Aj
|
|
13820
|
-
class
|
|
13821
|
-
class
|
|
13822
|
-
class Rj extends
|
|
13823
|
+
class Tj{static isNull(t){return(null==t?void 0:t.typeId)===Zq.Null}static isInt(t){return(null==t?void 0:t.typeId)===Zq.Int}static isFloat(t){return(null==t?void 0:t.typeId)===Zq.Float}static isBinary(t){return(null==t?void 0:t.typeId)===Zq.Binary}static isLargeBinary(t){return(null==t?void 0:t.typeId)===Zq.LargeBinary}static isUtf8(t){return(null==t?void 0:t.typeId)===Zq.Utf8}static isLargeUtf8(t){return(null==t?void 0:t.typeId)===Zq.LargeUtf8}static isBool(t){return(null==t?void 0:t.typeId)===Zq.Bool}static isDecimal(t){return(null==t?void 0:t.typeId)===Zq.Decimal}static isDate(t){return(null==t?void 0:t.typeId)===Zq.Date}static isTime(t){return(null==t?void 0:t.typeId)===Zq.Time}static isTimestamp(t){return(null==t?void 0:t.typeId)===Zq.Timestamp}static isInterval(t){return(null==t?void 0:t.typeId)===Zq.Interval}static isDuration(t){return(null==t?void 0:t.typeId)===Zq.Duration}static isList(t){return(null==t?void 0:t.typeId)===Zq.List}static isStruct(t){return(null==t?void 0:t.typeId)===Zq.Struct}static isUnion(t){return(null==t?void 0:t.typeId)===Zq.Union}static isFixedSizeBinary(t){return(null==t?void 0:t.typeId)===Zq.FixedSizeBinary}static isFixedSizeList(t){return(null==t?void 0:t.typeId)===Zq.FixedSizeList}static isMap(t){return(null==t?void 0:t.typeId)===Zq.Map}static isDictionary(t){return(null==t?void 0:t.typeId)===Zq.Dictionary}static isDenseUnion(t){return Tj.isUnion(t)&&t.mode===eq.Dense}static isSparseUnion(t){return Tj.isUnion(t)&&t.mode===eq.Sparse}constructor(t){this.typeId=t}}cj=Symbol.toStringTag,Tj[cj]=((Aj=Tj.prototype).children=null,Aj.ArrayType=Array,Aj.OffsetArrayType=Int32Array,Aj[Symbol.toStringTag]="DataType")
|
|
13824
|
+
class Oj extends Tj{constructor(){super(Zq.Null)}toString(){return"Null"}}dj=Symbol.toStringTag,Oj[dj]=(t=>t[Symbol.toStringTag]="Null")(Oj.prototype)
|
|
13825
|
+
class Rj extends Tj{constructor(t,e){super(Zq.Int),this.isSigned=t,this.bitWidth=e}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array
|
|
13823
13826
|
case 16:return this.isSigned?Int16Array:Uint16Array
|
|
13824
13827
|
case 32:return this.isSigned?Int32Array:Uint32Array
|
|
13825
13828
|
case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}hj=Symbol.toStringTag,Rj[hj]=(t=>(t.isSigned=null,t.bitWidth=null,t[Symbol.toStringTag]="Int"))(Rj.prototype)
|
|
13826
13829
|
class Fj extends Rj{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Fj.prototype,"ArrayType",{value:Int32Array})
|
|
13827
|
-
class Nj extends
|
|
13830
|
+
class Nj extends Tj{constructor(t){super(Zq.Float),this.precision=t}get ArrayType(){switch(this.precision){case nq.HALF:return Uint16Array
|
|
13828
13831
|
case nq.SINGLE:return Float32Array
|
|
13829
13832
|
case nq.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}uj=Symbol.toStringTag,Nj[uj]=(t=>(t.precision=null,t[Symbol.toStringTag]="Float"))(Nj.prototype)
|
|
13830
|
-
class Lj extends
|
|
13831
|
-
class Bj extends
|
|
13832
|
-
class Pj extends
|
|
13833
|
-
class Vj extends
|
|
13834
|
-
class zj extends
|
|
13835
|
-
class Hj extends
|
|
13836
|
-
class Uj extends
|
|
13837
|
-
class qj extends
|
|
13833
|
+
class Lj extends Tj{constructor(){super(Zq.Binary)}toString(){return"Binary"}}pj=Symbol.toStringTag,Lj[pj]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Binary"))(Lj.prototype)
|
|
13834
|
+
class Bj extends Tj{constructor(){super(Zq.LargeBinary)}toString(){return"LargeBinary"}}fj=Symbol.toStringTag,Bj[fj]=(t=>(t.ArrayType=Uint8Array,t.OffsetArrayType=BigInt64Array,t[Symbol.toStringTag]="LargeBinary"))(Bj.prototype)
|
|
13835
|
+
class Pj extends Tj{constructor(){super(Zq.Utf8)}toString(){return"Utf8"}}mj=Symbol.toStringTag,Pj[mj]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Utf8"))(Pj.prototype)
|
|
13836
|
+
class Vj extends Tj{constructor(){super(Zq.LargeUtf8)}toString(){return"LargeUtf8"}}gj=Symbol.toStringTag,Vj[gj]=(t=>(t.ArrayType=Uint8Array,t.OffsetArrayType=BigInt64Array,t[Symbol.toStringTag]="LargeUtf8"))(Vj.prototype)
|
|
13837
|
+
class zj extends Tj{constructor(){super(Zq.Bool)}toString(){return"Bool"}}vj=Symbol.toStringTag,zj[vj]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Bool"))(zj.prototype)
|
|
13838
|
+
class Hj extends Tj{constructor(t,e,n=128){super(Zq.Decimal),this.scale=t,this.precision=e,this.bitWidth=n}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}}bj=Symbol.toStringTag,Hj[bj]=(t=>(t.scale=null,t.precision=null,t.ArrayType=Uint32Array,t[Symbol.toStringTag]="Decimal"))(Hj.prototype)
|
|
13839
|
+
class Uj extends Tj{constructor(t){super(Zq.Date),this.unit=t}toString(){return`Date${32*(this.unit+1)}<${iq[this.unit]}>`}get ArrayType(){return this.unit===iq.DAY?Int32Array:BigInt64Array}}yj=Symbol.toStringTag,Uj[yj]=(t=>(t.unit=null,t[Symbol.toStringTag]="Date"))(Uj.prototype)
|
|
13840
|
+
class qj extends Tj{constructor(t,e){super(Zq.Time),this.unit=t,this.bitWidth=e}toString(){return`Time${this.bitWidth}<${sq[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array
|
|
13838
13841
|
case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}wj=Symbol.toStringTag,qj[wj]=(t=>(t.unit=null,t.bitWidth=null,t[Symbol.toStringTag]="Time"))(qj.prototype)
|
|
13839
|
-
class jj extends
|
|
13840
|
-
class Wj extends
|
|
13841
|
-
class Gj extends
|
|
13842
|
-
class Zj extends
|
|
13843
|
-
class Kj extends
|
|
13844
|
-
class Yj extends
|
|
13845
|
-
class Xj extends
|
|
13846
|
-
class Jj extends
|
|
13847
|
-
class Qj extends
|
|
13842
|
+
class jj extends Tj{constructor(t,e){super(Zq.Timestamp),this.unit=t,this.timezone=e}toString(){return`Timestamp<${sq[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}xj=Symbol.toStringTag,jj[xj]=(t=>(t.unit=null,t.timezone=null,t.ArrayType=BigInt64Array,t[Symbol.toStringTag]="Timestamp"))(jj.prototype)
|
|
13843
|
+
class Wj extends Tj{constructor(t){super(Zq.Interval),this.unit=t}toString(){return`Interval<${oq[this.unit]}>`}}Cj=Symbol.toStringTag,Wj[Cj]=(t=>(t.unit=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Interval"))(Wj.prototype)
|
|
13844
|
+
class Gj extends Tj{constructor(t){super(Zq.Duration),this.unit=t}toString(){return`Duration<${sq[this.unit]}>`}}kj=Symbol.toStringTag,Gj[kj]=(t=>(t.unit=null,t.ArrayType=BigInt64Array,t[Symbol.toStringTag]="Duration"))(Gj.prototype)
|
|
13845
|
+
class Zj extends Tj{constructor(t){super(Zq.List),this.children=[t]}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}}Sj=Symbol.toStringTag,Zj[Sj]=(t=>(t.children=null,t[Symbol.toStringTag]="List"))(Zj.prototype)
|
|
13846
|
+
class Kj extends Tj{constructor(t){super(Zq.Struct),this.children=t}toString(){return`Struct<{${this.children.map((t=>`${t.name}:${t.type}`)).join(", ")}}>`}}_j=Symbol.toStringTag,Kj[_j]=(t=>(t.children=null,t[Symbol.toStringTag]="Struct"))(Kj.prototype)
|
|
13847
|
+
class Yj extends Tj{constructor(t,e,n){super(Zq.Union),this.mode=t,this.children=n,this.typeIds=e=Int32Array.from(e),this.typeIdToChildIndex=e.reduce(((t,e,n)=>(t[e]=n)&&t||t),Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map((t=>`${t.type}`)).join(" | ")}>`}}Ij=Symbol.toStringTag,Yj[Ij]=(t=>(t.mode=null,t.typeIds=null,t.children=null,t.typeIdToChildIndex=null,t.ArrayType=Int8Array,t[Symbol.toStringTag]="Union"))(Yj.prototype)
|
|
13848
|
+
class Xj extends Tj{constructor(t){super(Zq.FixedSizeBinary),this.byteWidth=t}toString(){return`FixedSizeBinary[${this.byteWidth}]`}}Mj=Symbol.toStringTag,Xj[Mj]=(t=>(t.byteWidth=null,t.ArrayType=Uint8Array,t[Symbol.toStringTag]="FixedSizeBinary"))(Xj.prototype)
|
|
13849
|
+
class Jj extends Tj{constructor(t,e){super(Zq.FixedSizeList),this.listSize=t,this.children=[e]}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}}$j=Symbol.toStringTag,Jj[$j]=(t=>(t.children=null,t.listSize=null,t[Symbol.toStringTag]="FixedSizeList"))(Jj.prototype)
|
|
13850
|
+
class Qj extends Tj{constructor(t,e=!1){var n,i,s
|
|
13848
13851
|
if(super(Zq.Map),this.children=[t],this.keysSorted=e,t&&(t.name="entries",null===(n=null==t?void 0:t.type)||void 0===n?void 0:n.children)){const e=null===(i=null==t?void 0:t.type)||void 0===i?void 0:i.children[0]
|
|
13849
13852
|
e&&(e.name="key")
|
|
13850
13853
|
const n=null===(s=null==t?void 0:t.type)||void 0===s?void 0:s.children[1]
|
|
13851
13854
|
n&&(n.name="value")}}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map((t=>`${t.name}:${t.type}`)).join(", ")}}>`}}Dj=Symbol.toStringTag,Qj[Dj]=(t=>(t.children=null,t.keysSorted=null,t[Symbol.toStringTag]="Map_"))(Qj.prototype)
|
|
13852
13855
|
const tW=(eW=-1,()=>++eW)
|
|
13853
13856
|
var eW
|
|
13854
|
-
class nW extends
|
|
13857
|
+
class nW extends Tj{constructor(t,e,n,i){super(Zq.Dictionary),this.indices=e,this.dictionary=t,this.isOrdered=i||!1,this.id=null==n?tW():Xq(n)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}function iW(t){const e=t
|
|
13855
13858
|
switch(t.typeId){case Zq.Decimal:return t.bitWidth/32
|
|
13856
13859
|
case Zq.Interval:return 1+e.unit
|
|
13857
13860
|
case Zq.FixedSizeList:return e.listSize
|
|
@@ -13859,8 +13862,8 @@ case Zq.FixedSizeBinary:return e.byteWidth
|
|
|
13859
13862
|
default:return 1}}Ej=Symbol.toStringTag,nW[Ej]=(t=>(t.id=null,t.indices=null,t.isOrdered=null,t.dictionary=null,t[Symbol.toStringTag]="Dictionary"))(nW.prototype)
|
|
13860
13863
|
class sW{visitMany(t,...e){return t.map(((t,n)=>this.visit(t,...e.map((t=>t[n])))))}visit(...t){return this.getVisitFn(t[0],!1).apply(this,t)}getVisitFn(t,e=!0){return function(t,e,n=!0){if("number"==typeof e)return oW(t,e,n)
|
|
13861
13864
|
if("string"==typeof e&&e in Zq)return oW(t,Zq[e],n)
|
|
13862
|
-
if(e&&e instanceof
|
|
13863
|
-
if((null==e?void 0:e.type)&&e.type instanceof
|
|
13865
|
+
if(e&&e instanceof Tj)return oW(t,rW(e),n)
|
|
13866
|
+
if((null==e?void 0:e.type)&&e.type instanceof Tj)return oW(t,rW(e.type),n)
|
|
13864
13867
|
return oW(t,Zq.NONE,n)}(this,t,e)}getVisitFnByTypeId(t,e=!0){return oW(this,t,e)}visitNull(t,...e){return null}visitBool(t,...e){return null}visitInt(t,...e){return null}visitFloat(t,...e){return null}visitUtf8(t,...e){return null}visitLargeUtf8(t,...e){return null}visitBinary(t,...e){return null}visitLargeBinary(t,...e){return null}visitFixedSizeBinary(t,...e){return null}visitDate(t,...e){return null}visitTimestamp(t,...e){return null}visitTime(t,...e){return null}visitDecimal(t,...e){return null}visitList(t,...e){return null}visitStruct(t,...e){return null}visitUnion(t,...e){return null}visitDictionary(t,...e){return null}visitInterval(t,...e){return null}visitDuration(t,...e){return null}visitFixedSizeList(t,...e){return null}visitMap(t,...e){return null}}function oW(t,e,n=!0){let i=null
|
|
13865
13868
|
switch(e){case Zq.Null:i=t.visitNull
|
|
13866
13869
|
break
|
|
@@ -14010,7 +14013,7 @@ const e=(2147483648&lW[1])>>16&65535
|
|
|
14010
14013
|
let n=2146435072&lW[1],i=0
|
|
14011
14014
|
return n>=1089470464?lW[0]>0?n=31744:(n=(2080374784&n)>>16,i=(1048575&lW[1])>>10):n<=1056964608?(i=1048576+(1048575&lW[1]),i=1048576+(i<<(n>>20)-998)>>21,n=0):(n=n-1056964608>>10,i=512+(1048575&lW[1])>>10),e|n|65535&i}(n)},gW=({values:t},e,n)=>{((t,e,n)=>{t[e]=Math.floor(n/864e5)})(t,e,n.valueOf())},vW=({values:t},e,n)=>{t[e]=BigInt(n)},bW=({values:t,valueOffsets:e},n,i)=>uW(t,e,n,i),yW=({values:t,valueOffsets:e},n,i)=>uW(t,e,n,_U(i)),wW=({values:t},e,n)=>{t[e]=BigInt(n/1e3)},xW=({values:t},e,n)=>{t[e]=BigInt(n)},CW=({values:t},e,n)=>{t[e]=BigInt(1e3*n)},kW=({values:t},e,n)=>{t[e]=BigInt(1e6*n)},SW=({values:t},e,n)=>{t[e]=n},_W=({values:t},e,n)=>{t[e]=n},IW=({values:t},e,n)=>{t[e]=n},MW=({values:t},e,n)=>{t[e]=n},$W=(t,e,n)=>{const i=t.type.typeIdToChildIndex[t.typeIds[e]],s=t.children[i]
|
|
14012
14015
|
NW.visit(s,t.valueOffsets[e],n)},DW=(t,e,n)=>{const i=t.type.typeIdToChildIndex[t.typeIds[e]],s=t.children[i]
|
|
14013
|
-
NW.visit(s,e,n)},EW=({values:t},e,n)=>{t.set(n.subarray(0,2),2*e)},AW=({values:t},e,n)=>{t[e]=12*n[0]+n[1]%12},
|
|
14016
|
+
NW.visit(s,e,n)},EW=({values:t},e,n)=>{t.set(n.subarray(0,2),2*e)},AW=({values:t},e,n)=>{t[e]=12*n[0]+n[1]%12},TW=({values:t},e,n)=>{t[e]=n},OW=({values:t},e,n)=>{t[e]=n},RW=({values:t},e,n)=>{t[e]=n},FW=({values:t},e,n)=>{t[e]=n}
|
|
14014
14017
|
dW.prototype.visitBool=hW((({offset:t,values:e},n,i)=>{const s=t+n
|
|
14015
14018
|
i?e[s>>3]|=1<<s%8:e[s>>3]&=~(1<<s%8)})),dW.prototype.visitInt=hW(pW),dW.prototype.visitInt8=hW(pW),dW.prototype.visitInt16=hW(pW),dW.prototype.visitInt32=hW(pW),dW.prototype.visitInt64=hW(pW),dW.prototype.visitUint8=hW(pW),dW.prototype.visitUint16=hW(pW),dW.prototype.visitUint32=hW(pW),dW.prototype.visitUint64=hW(pW),dW.prototype.visitFloat=hW(((t,e,n)=>{switch(t.type.precision){case nq.HALF:return mW(t,e,n)
|
|
14016
14019
|
case nq.SINGLE:case nq.DOUBLE:return fW(t,e,n)}})),dW.prototype.visitFloat16=hW(mW),dW.prototype.visitFloat32=hW(fW),dW.prototype.visitFloat64=hW(fW),dW.prototype.visitUtf8=hW(yW),dW.prototype.visitLargeUtf8=hW(yW),dW.prototype.visitBinary=hW(bW),dW.prototype.visitLargeBinary=hW(bW),dW.prototype.visitFixedSizeBinary=hW((({stride:t,values:e},n,i)=>{e.set(i.subarray(0,t),t*n)})),dW.prototype.visitDate=hW(((t,e,n)=>{t.type.unit===iq.DAY?gW(t,e,n):vW(t,e,n)})),dW.prototype.visitDateDay=hW(gW),dW.prototype.visitDateMillisecond=hW(vW),dW.prototype.visitTimestamp=hW(((t,e,n)=>{switch(t.type.unit){case sq.SECOND:return wW(t,e,n)
|
|
@@ -14024,10 +14027,10 @@ if(Array.isArray(n))for(let t=-1,r=s[e],a=s[e+1];r<a;)o(i,r++,n[++t])
|
|
|
14024
14027
|
else for(let t=-1,r=s[e],a=s[e+1];r<a;)o(i,r++,n.get(++t))})),dW.prototype.visitStruct=hW(((t,e,n)=>{const i=t.type.children.map((t=>NW.getVisitFn(t.type))),s=n instanceof Map?(o=e,r=n,(t,e,n,i)=>e&&t(e,o,r.get(n.name))):n instanceof oZ?((t,e)=>(n,i,s,o)=>i&&n(i,t,e.get(o)))(e,n):Array.isArray(n)?((t,e)=>(n,i,s,o)=>i&&n(i,t,e[o]))(e,n):((t,e)=>(n,i,s,o)=>i&&n(i,t,e[s.name]))(e,n)
|
|
14025
14028
|
var o,r
|
|
14026
14029
|
t.type.children.forEach(((e,n)=>s(i[n],t.children[n],e,n)))})),dW.prototype.visitUnion=hW(((t,e,n)=>{t.type.mode===eq.Dense?$W(t,e,n):DW(t,e,n)})),dW.prototype.visitDenseUnion=hW($W),dW.prototype.visitSparseUnion=hW(DW),dW.prototype.visitDictionary=hW(((t,e,n)=>{var i
|
|
14027
|
-
null===(i=t.dictionary)||void 0===i||i.set(t.values[e],n)})),dW.prototype.visitInterval=hW(((t,e,n)=>{t.type.unit===oq.DAY_TIME?EW(t,e,n):AW(t,e,n)})),dW.prototype.visitIntervalDayTime=hW(EW),dW.prototype.visitIntervalYearMonth=hW(AW),dW.prototype.visitDuration=hW(((t,e,n)=>{switch(t.type.unit){case sq.SECOND:return
|
|
14028
|
-
case sq.MILLISECOND:return
|
|
14030
|
+
null===(i=t.dictionary)||void 0===i||i.set(t.values[e],n)})),dW.prototype.visitInterval=hW(((t,e,n)=>{t.type.unit===oq.DAY_TIME?EW(t,e,n):AW(t,e,n)})),dW.prototype.visitIntervalDayTime=hW(EW),dW.prototype.visitIntervalYearMonth=hW(AW),dW.prototype.visitDuration=hW(((t,e,n)=>{switch(t.type.unit){case sq.SECOND:return TW(t,e,n)
|
|
14031
|
+
case sq.MILLISECOND:return OW(t,e,n)
|
|
14029
14032
|
case sq.MICROSECOND:return RW(t,e,n)
|
|
14030
|
-
case sq.NANOSECOND:return FW(t,e,n)}})),dW.prototype.visitDurationSecond=hW(
|
|
14033
|
+
case sq.NANOSECOND:return FW(t,e,n)}})),dW.prototype.visitDurationSecond=hW(TW),dW.prototype.visitDurationMillisecond=hW(OW),dW.prototype.visitDurationMicrosecond=hW(RW),dW.prototype.visitDurationNanosecond=hW(FW),dW.prototype.visitFixedSizeList=hW(((t,e,n)=>{const{stride:i}=t,s=t.children[0],o=NW.getVisitFn(s)
|
|
14031
14034
|
if(Array.isArray(n))for(let t=-1,r=e*i;++t<i;)o(s,r+t,n[t])
|
|
14032
14035
|
else for(let t=-1,r=e*i;++t<i;)o(s,r+t,n.get(t))})),dW.prototype.visitMap=hW(((t,e,n)=>{const i=t.children[0],{valueOffsets:s}=t,o=NW.getVisitFn(i)
|
|
14033
14036
|
let{[e]:r,[e+1]:a}=s
|
|
@@ -14110,32 +14113,32 @@ const a=t.length
|
|
|
14110
14113
|
let l=o.next(),c=i.next(),d=s.next()
|
|
14111
14114
|
for(;r<a&&!c.done&&!d.done&&!l.done&&(c.value===d.value&&t[r](l.value));++r,c=i.next(),d=s.next(),l=o.next());return!!(r===a&&c.done&&d.done&&l.done)||(i.return&&i.return(),s.return&&s.return(),o.return&&o.return(),!1)}function $G(t,e,n,i){return!!(n&1<<i)}function DG(t,e,n,i){return(n&1<<i)>>i}function EG(t,e,n){const i=n.byteLength+7&-8
|
|
14112
14115
|
if(t>0||n.byteLength<i){const s=new Uint8Array(i)
|
|
14113
|
-
return s.set(t%8==0?n.subarray(t>>3):AG(new
|
|
14116
|
+
return s.set(t%8==0?n.subarray(t>>3):AG(new TG(n,t,e,null,$G)).subarray(0,i)),s}return n}function AG(t){const e=[]
|
|
14114
14117
|
let n=0,i=0,s=0
|
|
14115
14118
|
for(const o of t)o&&(s|=1<<i),8==++i&&(e[n++]=s,s=i=0);(0===n||i>0)&&(e[n++]=s)
|
|
14116
14119
|
const o=new Uint8Array(e.length+7&-8)
|
|
14117
|
-
return o.set(e),o}class
|
|
14120
|
+
return o.set(e),o}class TG{constructor(t,e,n,i,s){this.bytes=t,this.length=n,this.context=i,this.get=s,this.bit=e%8,this.byteIndex=e>>3,this.byte=t[this.byteIndex++],this.index=0}next(){return this.index<this.length?(8===this.bit&&(this.bit=0,this.byte=this.bytes[this.byteIndex++]),{value:this.get(this.context,this.index++,this.byte,this.bit++)}):{done:!0,value:null}}[Symbol.iterator](){return this}}function OG(t,e,n){if(n-e<=0)return 0
|
|
14118
14121
|
if(n-e<8){let i=0
|
|
14119
|
-
for(const s of new
|
|
14122
|
+
for(const s of new TG(t,e,n-e,t,DG))i+=s
|
|
14120
14123
|
return i}const i=n>>3<<3,s=e+(e%8==0?0:8-e%8)
|
|
14121
|
-
return
|
|
14124
|
+
return OG(t,e,s)+OG(t,i,n)+function(t,e,n){let i=0,s=Math.trunc(e)
|
|
14122
14125
|
const o=new DataView(t.buffer,t.byteOffset,t.byteLength),r=void 0===n?t.byteLength:s+n
|
|
14123
14126
|
for(;r-s>=4;)i+=RG(o.getUint32(s)),s+=4
|
|
14124
14127
|
for(;r-s>=2;)i+=RG(o.getUint16(s)),s+=2
|
|
14125
14128
|
for(;r-s>=1;)i+=RG(o.getUint8(s)),s+=1
|
|
14126
14129
|
return i}(t,s>>3,i-s>>3)}function RG(t){let e=Math.trunc(t)
|
|
14127
14130
|
return e-=e>>>1&1431655765,e=(858993459&e)+(e>>>2&858993459),16843009*(e+(e>>>4)&252645135)>>>24}class FG{get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get nullable(){if(0!==this._nullCount){const{type:t}=this
|
|
14128
|
-
return
|
|
14131
|
+
return Tj.isSparseUnion(t)||Tj.isDenseUnion(t)?this.children.some((t=>t.nullable)):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let t=0
|
|
14129
14132
|
const{valueOffsets:e,values:n,nullBitmap:i,typeIds:s}=this
|
|
14130
|
-
return e&&(t+=e.byteLength),n&&(t+=n.byteLength),i&&(t+=i.byteLength),s&&(t+=s.byteLength),this.children.reduce(((t,e)=>t+e.byteLength),t)}get nullCount(){if(
|
|
14133
|
+
return e&&(t+=e.byteLength),n&&(t+=n.byteLength),i&&(t+=i.byteLength),s&&(t+=s.byteLength),this.children.reduce(((t,e)=>t+e.byteLength),t)}get nullCount(){if(Tj.isUnion(this.type))return this.children.reduce(((t,e)=>t+e.nullCount),0)
|
|
14131
14134
|
let t,e=this._nullCount
|
|
14132
|
-
return e<=-1&&(t=this.nullBitmap)&&(this._nullCount=e=0===t.length?0:this.length-
|
|
14135
|
+
return e<=-1&&(t=this.nullBitmap)&&(this._nullCount=e=0===t.length?0:this.length-OG(t,this.offset,this.offset+this.length)),e}constructor(t,e,n,i,s,o=[],r){let a
|
|
14133
14136
|
this.type=t,this.children=o,this.dictionary=r,this.offset=Math.floor(Math.max(e||0,0)),this.length=Math.floor(Math.max(n||0,0)),this._nullCount=Math.floor(Math.max(i||0,-1)),s instanceof FG?(this.stride=s.stride,this.values=s.values,this.typeIds=s.typeIds,this.nullBitmap=s.nullBitmap,this.valueOffsets=s.valueOffsets):(this.stride=iW(t),s&&((a=s[0])&&(this.valueOffsets=a),(a=s[1])&&(this.values=a),(a=s[2])&&(this.nullBitmap=a),(a=s[3])&&(this.typeIds=a)))}getValid(t){const{type:e}=this
|
|
14134
|
-
if(
|
|
14137
|
+
if(Tj.isUnion(e)){const n=e,i=this.children[n.typeIdToChildIndex[this.typeIds[t]]],s=n.mode===eq.Dense?this.valueOffsets[t]:t
|
|
14135
14138
|
return i.getValid(s)}if(this.nullable&&this.nullCount>0){const e=this.offset+t
|
|
14136
14139
|
return!!(this.nullBitmap[e>>3]&1<<e%8)}return!0}setValid(t,e){let n
|
|
14137
14140
|
const{type:i}=this
|
|
14138
|
-
if(
|
|
14141
|
+
if(Tj.isUnion(i)){const s=i,o=this.children[s.typeIdToChildIndex[this.typeIds[t]]],r=s.mode===eq.Dense?this.valueOffsets[t]:t
|
|
14139
14142
|
n=o.getValid(r),o.setValid(r,e)}else{let{nullBitmap:i}=this
|
|
14140
14143
|
const{offset:s,length:o}=this,r=s+t,a=1<<r%8,l=r>>3;(!i||i.byteLength<=l)&&(i=new Uint8Array((s+o+63&-64)>>3).fill(255),this.nullCount>0?(i.set(EG(s,o,this.nullBitmap),0),Object.assign(this,{nullBitmap:i})):Object.assign(this,{nullBitmap:i,_nullCount:0}))
|
|
14141
14144
|
const c=i[l]
|
|
@@ -14163,7 +14166,7 @@ return new FG(e,n,o,r,[void 0,s,i])}visitDecimal(t){const{type:e,offset:n=0}=t,i
|
|
|
14163
14166
|
return new FG(e,n,o,r,[void 0,s,i])}visitList(t){const{type:e,offset:n=0,child:i}=t,s=jU(t.nullBitmap),o=UU(t.valueOffsets),{length:r=o.length-1,nullCount:a=(t.nullBitmap?-1:0)}=t
|
|
14164
14167
|
return new FG(e,n,r,a,[o,void 0,s],[i])}visitStruct(t){const{type:e,offset:n=0,children:i=[]}=t,s=jU(t.nullBitmap),{length:o=i.reduce(((t,{length:e})=>Math.max(t,e)),0),nullCount:r=(t.nullBitmap?-1:0)}=t
|
|
14165
14168
|
return new FG(e,n,o,r,[void 0,void 0,s],i)}visitUnion(t){const{type:e,offset:n=0,children:i=[]}=t,s=HU(e.ArrayType,t.typeIds),{length:o=s.length,nullCount:r=-1}=t
|
|
14166
|
-
if(
|
|
14169
|
+
if(Tj.isSparseUnion(e))return new FG(e,n,o,r,[void 0,void 0,void 0,s],i)
|
|
14167
14170
|
const a=UU(t.valueOffsets)
|
|
14168
14171
|
return new FG(e,n,o,r,[a,void 0,void 0,s],i)}visitDictionary(t){const{type:e,offset:n=0}=t,i=jU(t.nullBitmap),s=HU(e.indices.ArrayType,t.data),{dictionary:o=new oZ([(new NG).visit({type:e.dictionary})])}=t,{length:r=s.length,nullCount:a=(t.nullBitmap?-1:0)}=t
|
|
14169
14172
|
return new FG(e,n,r,a,[void 0,s,i],[],o)}visitInterval(t){const{type:e,offset:n=0}=t,i=jU(t.nullBitmap),s=HU(e.ArrayType,t.data),{length:o=s.length/iW(e),nullCount:r=(t.nullBitmap?-1:0)}=t
|
|
@@ -14195,14 +14198,14 @@ if(null===e)switch(t.typeId){case Zq.Union:case Zq.Dictionary:break
|
|
|
14195
14198
|
default:return function(t,e){const{nullBitmap:n}=t
|
|
14196
14199
|
if(!n||t.nullCount<=0)return-1
|
|
14197
14200
|
let i=0
|
|
14198
|
-
for(const s of new
|
|
14201
|
+
for(const s of new TG(n,t.offset+(e||0),t.length,n,$G)){if(!s)return i;++i}return-1}(t,n)}const i=pG.getVisitFn(t),s=_G(e)
|
|
14199
14202
|
for(let e=(n||0)-1,o=t.length;++e<o;)if(s(i(t,e)))return e
|
|
14200
14203
|
return-1}function YG(t,e,n){const i=pG.getVisitFn(t),s=_G(e)
|
|
14201
14204
|
for(let e=(n||0)-1,o=t.length;++e<o;)if(s(i(t,e)))return e
|
|
14202
14205
|
return-1}ZG.prototype.visitNull=function(t,e){return null===e&&t.length>0?0:-1},ZG.prototype.visitBool=KG,ZG.prototype.visitInt=KG,ZG.prototype.visitInt8=KG,ZG.prototype.visitInt16=KG,ZG.prototype.visitInt32=KG,ZG.prototype.visitInt64=KG,ZG.prototype.visitUint8=KG,ZG.prototype.visitUint16=KG,ZG.prototype.visitUint32=KG,ZG.prototype.visitUint64=KG,ZG.prototype.visitFloat=KG,ZG.prototype.visitFloat16=KG,ZG.prototype.visitFloat32=KG,ZG.prototype.visitFloat64=KG,ZG.prototype.visitUtf8=KG,ZG.prototype.visitLargeUtf8=KG,ZG.prototype.visitBinary=KG,ZG.prototype.visitLargeBinary=KG,ZG.prototype.visitFixedSizeBinary=KG,ZG.prototype.visitDate=KG,ZG.prototype.visitDateDay=KG,ZG.prototype.visitDateMillisecond=KG,ZG.prototype.visitTimestamp=KG,ZG.prototype.visitTimestampSecond=KG,ZG.prototype.visitTimestampMillisecond=KG,ZG.prototype.visitTimestampMicrosecond=KG,ZG.prototype.visitTimestampNanosecond=KG,ZG.prototype.visitTime=KG,ZG.prototype.visitTimeSecond=KG,ZG.prototype.visitTimeMillisecond=KG,ZG.prototype.visitTimeMicrosecond=KG,ZG.prototype.visitTimeNanosecond=KG,ZG.prototype.visitDecimal=KG,ZG.prototype.visitList=KG,ZG.prototype.visitStruct=KG,ZG.prototype.visitUnion=KG,ZG.prototype.visitDenseUnion=YG,ZG.prototype.visitSparseUnion=YG,ZG.prototype.visitDictionary=KG,ZG.prototype.visitInterval=KG,ZG.prototype.visitIntervalDayTime=KG,ZG.prototype.visitIntervalYearMonth=KG,ZG.prototype.visitDuration=KG,ZG.prototype.visitDurationSecond=KG,ZG.prototype.visitDurationMillisecond=KG,ZG.prototype.visitDurationMicrosecond=KG,ZG.prototype.visitDurationNanosecond=KG,ZG.prototype.visitFixedSizeList=KG,ZG.prototype.visitMap=KG
|
|
14203
14206
|
const XG=new ZG
|
|
14204
14207
|
class JG extends sW{}function QG(t){const{type:e}=t
|
|
14205
|
-
if(0===t.nullCount&&1===t.stride&&(
|
|
14208
|
+
if(0===t.nullCount&&1===t.stride&&(Tj.isInt(e)&&64!==e.bitWidth||Tj.isTime(e)&&64!==e.bitWidth||Tj.isFloat(e)&&e.precision!==nq.HALF))return new PG(t.data.length,(e=>{const n=t.data[e]
|
|
14206
14209
|
return n.values.subarray(0,n.length)[Symbol.iterator]()}))
|
|
14207
14210
|
let n=0
|
|
14208
14211
|
return new PG(t.data.length,(e=>{const i=t.data[e].length,s=t.slice(n,n+i)
|
|
@@ -14222,11 +14225,11 @@ break}default:Object.setPrototypeOf(this,sZ[o.typeId]),this._offsets=zG(s)}this.
|
|
|
14222
14225
|
switch(t.typeId){case Zq.Int:case Zq.Float:case Zq.Decimal:case Zq.Time:case Zq.Timestamp:switch(e.length){case 0:return new s
|
|
14223
14226
|
case 1:return e[0].values.subarray(0,n*i)
|
|
14224
14227
|
default:return e.reduce(((t,{values:e,length:n})=>(t.array.set(e.subarray(0,n*i),t.offset),t.offset+=n*i,t)),{array:new s(n*i),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(t){var e
|
|
14225
|
-
return this.getChildAt(null===(e=this.type.children)||void 0===e?void 0:e.findIndex((e=>e.name===t)))}getChildAt(t){return t>-1&&t<this.numChildren?new oZ(this.data.map((({children:e})=>e[t]))):null}get isMemoized(){return!!
|
|
14228
|
+
return this.getChildAt(null===(e=this.type.children)||void 0===e?void 0:e.findIndex((e=>e.name===t)))}getChildAt(t){return t>-1&&t<this.numChildren?new oZ(this.data.map((({children:e})=>e[t]))):null}get isMemoized(){return!!Tj.isDictionary(this.type)&&this.data[0].dictionary.isMemoized}memoize(){if(Tj.isDictionary(this.type)){const t=new rZ(this.data[0].dictionary),e=this.data.map((e=>{const n=e.clone()
|
|
14226
14229
|
return n.dictionary=t,n}))
|
|
14227
|
-
return new oZ(e)}return new rZ(this)}unmemoize(){if(
|
|
14230
|
+
return new oZ(e)}return new rZ(this)}unmemoize(){if(Tj.isDictionary(this.type)&&this.isMemoized){const t=this.data[0].dictionary.unmemoize(),e=this.data.map((e=>{const n=e.clone()
|
|
14228
14231
|
return n.dictionary=t,n}))
|
|
14229
|
-
return new oZ(e)}return this}}nZ=Symbol.toStringTag,oZ[nZ]=(t=>{t.type=
|
|
14232
|
+
return new oZ(e)}return this}}nZ=Symbol.toStringTag,oZ[nZ]=(t=>{t.type=Tj.prototype,t.data=[],t.length=0,t.stride=1,t.numChildren=0,t._offsets=new Uint32Array([0]),t[Symbol.isConcatSpreadable]=!0
|
|
14230
14233
|
const e=Object.keys(Zq).map((t=>Zq[t])).filter((t=>"number"==typeof t&&t!==Zq.NONE))
|
|
14231
14234
|
for(const n of e){const e=pG.getVisitFnByTypeId(n),i=NW.getVisitFnByTypeId(n),s=XG.getVisitFnByTypeId(n)
|
|
14232
14235
|
iZ[n]={get:e,set:i,indexOf:s},sZ[n]=Object.create(t,{isValid:{value:jG(qG)},get:{value:jG(pG.getVisitFnByTypeId(n))},set:{value:WG(NW.getVisitFnByTypeId(n))},indexOf:{value:GG(XG.getVisitFnByTypeId(n))}})}return"Vector"})(oZ.prototype)
|
|
@@ -14253,7 +14256,7 @@ return new cZ([...n,...s],i,new Map([...this.dictionaries,...o]))}}cZ.prototype.
|
|
|
14253
14256
|
class dZ{static new(...t){let[e,n,i,s]=t
|
|
14254
14257
|
return t[0]&&"object"==typeof t[0]&&(({name:e}=t[0]),void 0===n&&(n=t[0].type),void 0===i&&(i=t[0].nullable),void 0===s&&(s=t[0].metadata)),new dZ(`${e}`,n,i,s)}constructor(t,e,n=!1,i){this.name=t,this.type=e,this.nullable=n,this.metadata=i||new Map}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...t){let[e,n,i,s]=t
|
|
14255
14258
|
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,dZ.new(e,n,i,s)}}function hZ(t,e){return new Map([...t||new Map,...e||new Map])}function uZ(t,e=new Map){for(let n=-1,i=t.length;++n<i;){const i=t[n].type
|
|
14256
|
-
if(
|
|
14259
|
+
if(Tj.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)
|
|
14257
14260
|
i.children&&i.children.length>0&&uZ(i.children,e)}return e}dZ.prototype.type=null,dZ.prototype.name=null,dZ.prototype.nullable=null,dZ.prototype.metadata=null
|
|
14258
14261
|
var pZ=uq,fZ=hq
|
|
14259
14262
|
class mZ{static decode(t){t=new fZ(jU(t))
|
|
@@ -14299,29 +14302,29 @@ let i=e[3]*n[3]
|
|
|
14299
14302
|
this.buffer[0]=65535&i
|
|
14300
14303
|
let s=i>>>16
|
|
14301
14304
|
return i=e[2]*n[3],s+=i,i=e[3]*n[2]>>>0,s+=i,this.buffer[0]+=s<<16,this.buffer[1]=s>>>0<i?65536:0,this.buffer[1]+=s>>>16,this.buffer[1]+=e[1]*n[3]+e[2]*n[2]+e[3]*n[1],this.buffer[1]+=e[0]*n[3]+e[1]*n[2]+e[2]*n[1]+e[3]*n[0]<<16,this}_plus(t){const e=this.buffer[0]+t.buffer[0]>>>0
|
|
14302
|
-
this.buffer[1]+=t.buffer[1],e<this.buffer[0]>>>0&&++this.buffer[1],this.buffer[0]=e}lessThan(t){return this.buffer[1]<t.buffer[1]||this.buffer[1]===t.buffer[1]&&this.buffer[0]<t.buffer[0]}equals(t){return this.buffer[1]===t.buffer[1]&&this.buffer[0]==t.buffer[0]}greaterThan(t){return t.lessThan(this)}hex(){return`${DZ(this.buffer[1])} ${DZ(this.buffer[0])}`}}class
|
|
14303
|
-
for(let e=0;e<n;){const s=8<n-e?8:n-e,o=new
|
|
14305
|
+
this.buffer[1]+=t.buffer[1],e<this.buffer[0]>>>0&&++this.buffer[1],this.buffer[0]=e}lessThan(t){return this.buffer[1]<t.buffer[1]||this.buffer[1]===t.buffer[1]&&this.buffer[0]<t.buffer[0]}equals(t){return this.buffer[1]===t.buffer[1]&&this.buffer[0]==t.buffer[0]}greaterThan(t){return t.lessThan(this)}hex(){return`${DZ(this.buffer[1])} ${DZ(this.buffer[0])}`}}class TZ extends AZ{times(t){return this._times(t),this}plus(t){return this._plus(t),this}static from(t,e=new Uint32Array(2)){return TZ.fromString("string"==typeof t?t:t.toString(),e)}static fromNumber(t,e=new Uint32Array(2)){return TZ.fromString(t.toString(),e)}static fromString(t,e=new Uint32Array(2)){const n=t.length,i=new TZ(e)
|
|
14306
|
+
for(let e=0;e<n;){const s=8<n-e?8:n-e,o=new TZ(new Uint32Array([Number.parseInt(t.slice(e,e+s),10),0])),r=new TZ(new Uint32Array([EZ[s],0]))
|
|
14304
14307
|
i.times(r),i.plus(o),e+=s}return i}static convertArray(t){const e=new Uint32Array(2*t.length)
|
|
14305
|
-
for(let n=-1,i=t.length;++n<i;)OZ.from(t[n],new Uint32Array(e.buffer,e.byteOffset+2*n*4,2))
|
|
14306
|
-
return e}static multiply(t,e){return new OZ(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new OZ(new Uint32Array(t.buffer)).plus(e)}}class TZ extends AZ{negate(){return this.buffer[0]=1+~this.buffer[0],this.buffer[1]=~this.buffer[1],0==this.buffer[0]&&++this.buffer[1],this}times(t){return this._times(t),this}plus(t){return this._plus(t),this}lessThan(t){const e=this.buffer[1]|0,n=t.buffer[1]|0
|
|
14307
|
-
return e<n||e===n&&this.buffer[0]<t.buffer[0]}static from(t,e=new Uint32Array(2)){return TZ.fromString("string"==typeof t?t:t.toString(),e)}static fromNumber(t,e=new Uint32Array(2)){return TZ.fromString(t.toString(),e)}static fromString(t,e=new Uint32Array(2)){const n=t.startsWith("-"),i=t.length,s=new TZ(e)
|
|
14308
|
-
for(let e=n?1:0;e<i;){const n=8<i-e?8:i-e,o=new TZ(new Uint32Array([Number.parseInt(t.slice(e,e+n),10),0])),r=new TZ(new Uint32Array([EZ[n],0]))
|
|
14309
|
-
s.times(r),s.plus(o),e+=n}return n?s.negate():s}static convertArray(t){const e=new Uint32Array(2*t.length)
|
|
14310
14308
|
for(let n=-1,i=t.length;++n<i;)TZ.from(t[n],new Uint32Array(e.buffer,e.byteOffset+2*n*4,2))
|
|
14311
|
-
return e}static multiply(t,e){return new TZ(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new TZ(new Uint32Array(t.buffer)).plus(e)}}class
|
|
14312
|
-
|
|
14309
|
+
return e}static multiply(t,e){return new TZ(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new TZ(new Uint32Array(t.buffer)).plus(e)}}class OZ extends AZ{negate(){return this.buffer[0]=1+~this.buffer[0],this.buffer[1]=~this.buffer[1],0==this.buffer[0]&&++this.buffer[1],this}times(t){return this._times(t),this}plus(t){return this._plus(t),this}lessThan(t){const e=this.buffer[1]|0,n=t.buffer[1]|0
|
|
14310
|
+
return e<n||e===n&&this.buffer[0]<t.buffer[0]}static from(t,e=new Uint32Array(2)){return OZ.fromString("string"==typeof t?t:t.toString(),e)}static fromNumber(t,e=new Uint32Array(2)){return OZ.fromString(t.toString(),e)}static fromString(t,e=new Uint32Array(2)){const n=t.startsWith("-"),i=t.length,s=new OZ(e)
|
|
14311
|
+
for(let e=n?1:0;e<i;){const n=8<i-e?8:i-e,o=new OZ(new Uint32Array([Number.parseInt(t.slice(e,e+n),10),0])),r=new OZ(new Uint32Array([EZ[n],0]))
|
|
14312
|
+
s.times(r),s.plus(o),e+=n}return n?s.negate():s}static convertArray(t){const e=new Uint32Array(2*t.length)
|
|
14313
|
+
for(let n=-1,i=t.length;++n<i;)OZ.from(t[n],new Uint32Array(e.buffer,e.byteOffset+2*n*4,2))
|
|
14314
|
+
return e}static multiply(t,e){return new OZ(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new OZ(new Uint32Array(t.buffer)).plus(e)}}class RZ{constructor(t){this.buffer=t}high(){return new OZ(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset+8,2))}low(){return new OZ(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset,2))}negate(){return this.buffer[0]=1+~this.buffer[0],this.buffer[1]=~this.buffer[1],this.buffer[2]=~this.buffer[2],this.buffer[3]=~this.buffer[3],0==this.buffer[0]&&++this.buffer[1],0==this.buffer[1]&&++this.buffer[2],0==this.buffer[2]&&++this.buffer[3],this}times(t){const e=new TZ(new Uint32Array([this.buffer[3],0])),n=new TZ(new Uint32Array([this.buffer[2],0])),i=new TZ(new Uint32Array([this.buffer[1],0])),s=new TZ(new Uint32Array([this.buffer[0],0])),o=new TZ(new Uint32Array([t.buffer[3],0])),r=new TZ(new Uint32Array([t.buffer[2],0])),a=new TZ(new Uint32Array([t.buffer[1],0])),l=new TZ(new Uint32Array([t.buffer[0],0]))
|
|
14315
|
+
let c=TZ.multiply(s,l)
|
|
14313
14316
|
this.buffer[0]=c.low()
|
|
14314
|
-
const d=new
|
|
14315
|
-
c=
|
|
14316
|
-
return new
|
|
14317
|
+
const d=new TZ(new Uint32Array([c.high(),0]))
|
|
14318
|
+
c=TZ.multiply(i,l),d.plus(c),c=TZ.multiply(s,a),d.plus(c),this.buffer[1]=d.low(),this.buffer[3]=d.lessThan(c)?1:0,this.buffer[2]=d.high()
|
|
14319
|
+
return new TZ(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset+8,2)).plus(TZ.multiply(n,l)).plus(TZ.multiply(i,a)).plus(TZ.multiply(s,r)),this.buffer[3]+=TZ.multiply(e,l).plus(TZ.multiply(n,a)).plus(TZ.multiply(i,r)).plus(TZ.multiply(s,o)).low(),this}plus(t){const e=new Uint32Array(4)
|
|
14317
14320
|
return e[3]=this.buffer[3]+t.buffer[3]>>>0,e[2]=this.buffer[2]+t.buffer[2]>>>0,e[1]=this.buffer[1]+t.buffer[1]>>>0,e[0]=this.buffer[0]+t.buffer[0]>>>0,e[0]<this.buffer[0]>>>0&&++e[1],e[1]<this.buffer[1]>>>0&&++e[2],e[2]<this.buffer[2]>>>0&&++e[3],this.buffer[3]=e[3],this.buffer[2]=e[2],this.buffer[1]=e[1],this.buffer[0]=e[0],this}hex(){return`${DZ(this.buffer[3])} ${DZ(this.buffer[2])} ${DZ(this.buffer[1])} ${DZ(this.buffer[0])}`}static multiply(t,e){return new RZ(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new RZ(new Uint32Array(t.buffer)).plus(e)}static from(t,e=new Uint32Array(4)){return RZ.fromString("string"==typeof t?t:t.toString(),e)}static fromNumber(t,e=new Uint32Array(4)){return RZ.fromString(t.toString(),e)}static fromString(t,e=new Uint32Array(4)){const n=t.startsWith("-"),i=t.length,s=new RZ(e)
|
|
14318
14321
|
for(let e=n?1:0;e<i;){const n=8<i-e?8:i-e,o=new RZ(new Uint32Array([Number.parseInt(t.slice(e,e+n),10),0,0,0])),r=new RZ(new Uint32Array([EZ[n],0,0,0]))
|
|
14319
14322
|
s.times(r),s.plus(o),e+=n}return n?s.negate():s}static convertArray(t){const e=new Uint32Array(4*t.length)
|
|
14320
14323
|
for(let n=-1,i=t.length;++n<i;)RZ.from(t[n],new Uint32Array(e.buffer,e.byteOffset+16*n,4))
|
|
14321
14324
|
return e}}class FZ extends sW{constructor(t,e,n,i,s=tq.V5){super(),this.nodesIndex=-1,this.buffersIndex=-1,this.bytes=t,this.nodes=e,this.buffers=n,this.dictionaries=i,this.metadataVersion=s}visit(t){return super.visit(t instanceof dZ?t.type:t)}visitNull(t,{length:e}=this.nextFieldNode()){return BG({type:t,length:e})}visitBool(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitInt(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitFloat(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitUtf8(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitLargeUtf8(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitBinary(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitLargeBinary(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitFixedSizeBinary(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitDate(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitTimestamp(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitTime(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitDecimal(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitList(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),child:this.visit(t.children[0])})}visitStruct(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),children:this.visitMany(t.children)})}visitUnion(t,{length:e,nullCount:n}=this.nextFieldNode()){return this.metadataVersion<tq.V5&&this.readNullBitmap(t,n),t.mode===eq.Sparse?this.visitSparseUnion(t,{length:e,nullCount:n}):this.visitDenseUnion(t,{length:e,nullCount:n})}visitDenseUnion(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,typeIds:this.readTypeIds(t),valueOffsets:this.readOffsets(t),children:this.visitMany(t.children)})}visitSparseUnion(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,typeIds:this.readTypeIds(t),children:this.visitMany(t.children)})}visitDictionary(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t.indices),dictionary:this.readDictionary(t)})}visitInterval(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitDuration(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitFixedSizeList(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),child:this.visit(t.children[0])})}visitMap(t,{length:e,nullCount:n}=this.nextFieldNode()){return BG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),child:this.visit(t.children[0])})}nextFieldNode(){return this.nodes[++this.nodesIndex]}nextBufferRange(){return this.buffers[++this.buffersIndex]}readNullBitmap(t,e,n=this.nextBufferRange()){return e>0&&this.readData(t,n)||new Uint8Array(0)}readOffsets(t,e){return this.readData(t,e)}readTypeIds(t,e){return this.readData(t,e)}readData(t,{length:e,offset:n}=this.nextBufferRange()){return this.bytes.subarray(n,n+e)}readDictionary(t){return this.dictionaries.get(t.id)}}class NZ extends FZ{constructor(t,e,n,i,s){super(new Uint8Array(0),e,n,i,s),this.sources=t}readNullBitmap(t,e,{offset:n}=this.nextBufferRange()){return e<=0?new Uint8Array(0):AG(this.sources[n])}readOffsets(t,{offset:e}=this.nextBufferRange()){return HU(Uint8Array,HU(t.OffsetArrayType,this.sources[e]))}readTypeIds(t,{offset:e}=this.nextBufferRange()){return HU(Uint8Array,HU(t.ArrayType,this.sources[e]))}readData(t,{offset:e}=this.nextBufferRange()){const{sources:n}=this
|
|
14322
|
-
return
|
|
14325
|
+
return Tj.isTimestamp(t)||(Tj.isInt(t)||Tj.isTime(t))&&64===t.bitWidth||Tj.isDuration(t)||Tj.isDate(t)&&t.unit===iq.MILLISECOND?HU(Uint8Array,OZ.convertArray(n[e])):Tj.isDecimal(t)?HU(Uint8Array,RZ.convertArray(n[e])):Tj.isBinary(t)||Tj.isLargeBinary(t)||Tj.isFixedSizeBinary(t)?function(t){const e=t.join(""),n=new Uint8Array(e.length/2)
|
|
14323
14326
|
for(let t=0;t<e.length;t+=2)n[t>>1]=Number.parseInt(e.slice(t,t+2),16)
|
|
14324
|
-
return n}(n[e]):
|
|
14327
|
+
return n}(n[e]):Tj.isBool(t)?AG(n[e]):Tj.isUtf8(t)||Tj.isLargeUtf8(t)?_U(n[e].join("")):HU(Uint8Array,HU(t.ArrayType,n[e].map((t=>+t))))}}class LZ extends sW{compareSchemas(t,e){return t===e||e instanceof t.constructor&&this.compareManyFields(t.fields,e.fields)}compareManyFields(t,e){return t===e||Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every(((t,n)=>this.compareFields(t,e[n])))}compareFields(t,e){return t===e||e instanceof t.constructor&&t.name===e.name&&t.nullable===e.nullable&&this.visit(t.type,e.type)}}function BZ(t,e){return e instanceof t.constructor}function PZ(t,e){return t===e||BZ(t,e)}function VZ(t,e){return t===e||BZ(t,e)&&t.bitWidth===e.bitWidth&&t.isSigned===e.isSigned}function zZ(t,e){return t===e||BZ(t,e)&&t.precision===e.precision}function HZ(t,e){return t===e||BZ(t,e)&&t.unit===e.unit}function UZ(t,e){return t===e||BZ(t,e)&&t.unit===e.unit&&t.timezone===e.timezone}function qZ(t,e){return t===e||BZ(t,e)&&t.unit===e.unit&&t.bitWidth===e.bitWidth}function jZ(t,e){return t===e||BZ(t,e)&&t.mode===e.mode&&t.typeIds.every(((t,n)=>t===e.typeIds[n]))&&ZZ.compareManyFields(t.children,e.children)}function WZ(t,e){return t===e||BZ(t,e)&&t.unit===e.unit}function GZ(t,e){return t===e||BZ(t,e)&&t.unit===e.unit}LZ.prototype.visitNull=PZ,LZ.prototype.visitBool=PZ,LZ.prototype.visitInt=VZ,LZ.prototype.visitInt8=VZ,LZ.prototype.visitInt16=VZ,LZ.prototype.visitInt32=VZ,LZ.prototype.visitInt64=VZ,LZ.prototype.visitUint8=VZ,LZ.prototype.visitUint16=VZ,LZ.prototype.visitUint32=VZ,LZ.prototype.visitUint64=VZ,LZ.prototype.visitFloat=zZ,LZ.prototype.visitFloat16=zZ,LZ.prototype.visitFloat32=zZ,LZ.prototype.visitFloat64=zZ,LZ.prototype.visitUtf8=PZ,LZ.prototype.visitLargeUtf8=PZ,LZ.prototype.visitBinary=PZ,LZ.prototype.visitLargeBinary=PZ,LZ.prototype.visitFixedSizeBinary=function(t,e){return t===e||BZ(t,e)&&t.byteWidth===e.byteWidth},LZ.prototype.visitDate=HZ,LZ.prototype.visitDateDay=HZ,LZ.prototype.visitDateMillisecond=HZ,LZ.prototype.visitTimestamp=UZ,LZ.prototype.visitTimestampSecond=UZ,LZ.prototype.visitTimestampMillisecond=UZ,LZ.prototype.visitTimestampMicrosecond=UZ,LZ.prototype.visitTimestampNanosecond=UZ,LZ.prototype.visitTime=qZ,LZ.prototype.visitTimeSecond=qZ,LZ.prototype.visitTimeMillisecond=qZ,LZ.prototype.visitTimeMicrosecond=qZ,LZ.prototype.visitTimeNanosecond=qZ,LZ.prototype.visitDecimal=PZ,LZ.prototype.visitList=function(t,e){return t===e||BZ(t,e)&&t.children.length===e.children.length&&ZZ.compareManyFields(t.children,e.children)},LZ.prototype.visitStruct=function(t,e){return t===e||BZ(t,e)&&t.children.length===e.children.length&&ZZ.compareManyFields(t.children,e.children)},LZ.prototype.visitUnion=jZ,LZ.prototype.visitDenseUnion=jZ,LZ.prototype.visitSparseUnion=jZ,LZ.prototype.visitDictionary=function(t,e){return t===e||BZ(t,e)&&t.id===e.id&&t.isOrdered===e.isOrdered&&ZZ.visit(t.indices,e.indices)&&ZZ.visit(t.dictionary,e.dictionary)},LZ.prototype.visitInterval=WZ,LZ.prototype.visitIntervalDayTime=WZ,LZ.prototype.visitIntervalYearMonth=WZ,LZ.prototype.visitDuration=GZ,LZ.prototype.visitDurationSecond=GZ,LZ.prototype.visitDurationMillisecond=GZ,LZ.prototype.visitDurationMicrosecond=GZ,LZ.prototype.visitDurationNanosecond=GZ,LZ.prototype.visitFixedSizeList=function(t,e){return t===e||BZ(t,e)&&t.listSize===e.listSize&&t.children.length===e.children.length&&ZZ.compareManyFields(t.children,e.children)},LZ.prototype.visitMap=function(t,e){return t===e||BZ(t,e)&&t.keysSorted===e.keysSorted&&t.children.length===e.children.length&&ZZ.compareManyFields(t.children,e.children)}
|
|
14325
14328
|
const ZZ=new LZ
|
|
14326
14329
|
function KZ(t,e){return ZZ.compareSchemas(t,e)}function YZ(t,e){return function(t,e){const n=[...t.fields],i=[],s={numBatches:e.reduce(((t,e)=>Math.max(t,e.length)),0)}
|
|
14327
14330
|
let o=0,r=0,a=-1
|
|
@@ -14353,7 +14356,7 @@ return new tK(n,i.map((t=>new eK(n,t))))}getChild(t){return this.getChildAt(this
|
|
|
14353
14356
|
if(0===e.length){const{type:n}=this.schema.fields[t],i=BG({type:n,length:0,nullCount:0})
|
|
14354
14357
|
e.push(i._changeLengthAndBackfillNullBitmap(this.numRows))}return new oZ(e)}return null}setChild(t,e){var n
|
|
14355
14358
|
return this.setChildAt(null===(n=this.schema.fields)||void 0===n?void 0:n.findIndex((e=>e.name===t)),e)}setChildAt(t,e){let n=this.schema,i=[...this.batches]
|
|
14356
|
-
if(t>-1&&t<this.numCols){e||(e=new oZ([BG({type:new
|
|
14359
|
+
if(t>-1&&t<this.numCols){e||(e=new oZ([BG({type:new Oj,length:this.numRows})]))
|
|
14357
14360
|
const s=n.fields.slice(),o=s[t].clone({type:e.type}),r=this.schema.fields.map(((t,e)=>this.getChildAt(e)));[s[t],r[t]]=[o,e],[n,i]=YZ(n,r)}return new tK(n,i)}select(t){const e=this.schema.fields.reduce(((t,e,n)=>t.set(e.name,n)),new Map)
|
|
14358
14361
|
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)))
|
|
14359
14362
|
return new tK(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))
|
|
@@ -14367,7 +14370,7 @@ break}default:throw new TypeError("RecordBatch constructor expects an Object map
|
|
|
14367
14370
|
return new t(this.schema,i)}getChild(t){var e
|
|
14368
14371
|
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
|
|
14369
14372
|
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
|
|
14370
|
-
if(e>-1&&e<this.numCols){n||(n=new oZ([BG({type:new
|
|
14373
|
+
if(e>-1&&e<this.numCols){n||(n=new oZ([BG({type:new Oj,length:this.numRows})]))
|
|
14371
14374
|
const t=i.fields.slice(),o=s.children.slice(),r=t[e].clone({type:n.type});[t[e],o[e]]=[r,n.data[0]],i=new cZ(t,new Map(this.schema.metadata)),s=BG({type:new Kj(t),children:o})}return new t(i,s)}select(e){const n=this.schema.select(e),i=new Kj(n.fields),s=[]
|
|
14372
14375
|
for(const t of e){const e=this.schema.fields.findIndex((e=>e.name===t))
|
|
14373
14376
|
~e&&(s[e]=this.data.children[e])}return new t(n,BG({type:i,length:this.numRows,children:s}))}selectAt(e){const n=this.schema.selectAt(e),i=e.map((t=>this.data.children[t])).filter(Boolean),s=BG({type:new Kj(n.fields),length:this.numRows,children:i})
|
|
@@ -14378,7 +14381,7 @@ for(const[a,l]of t.fields.entries()){const t=e[a]
|
|
|
14378
14381
|
t&&t.length===n||(s[a]=l.clone({nullable:!0}),o[a]=null!==(i=null==t?void 0:t._changeLengthAndBackfillNullBitmap(n))&&void 0!==i?i:BG({type:l.type,length:n,nullCount:n,nullBitmap:new Uint8Array(r)}))}return[t.assign(s),BG({type:new Kj(s),length:n,children:o})]}function iK(t,e,n=new Map){var i,s
|
|
14379
14382
|
if((null!==(i=null==t?void 0:t.length)&&void 0!==i?i:0)>0&&(null==t?void 0:t.length)===(null==e?void 0:e.length))for(let i=-1,o=t.length;++i<o;){const{type:o}=t[i],r=e[i]
|
|
14380
14383
|
for(const t of[r,...(null===(s=null==r?void 0:r.dictionary)||void 0===s?void 0:s.data)||[]])iK(o.children,null==t?void 0:t.children,n)
|
|
14381
|
-
if(
|
|
14384
|
+
if(Tj.isDictionary(o)){const{id:t}=o
|
|
14382
14385
|
if(n.has(t)){if(n.get(t)!==r.dictionary)throw new Error("Cannot create Schema containing two different dictionaries with the same Id")}else(null==r?void 0:r.dictionary)&&n.set(t,r.dictionary)}}return n}QZ=Symbol.toStringTag,eK[QZ]=(t=>(t._nullCount=-1,t[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(eK.prototype)
|
|
14383
14386
|
class sK extends eK{constructor(t){const e=t.fields.map((t=>BG({type:t.type})))
|
|
14384
14387
|
super(t,BG({type:new Kj(t.fields),nullCount:0,children:e}))}}let oK=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsMessage(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}version(){const t=this.bb.__offset(this.bb_pos,4)
|
|
@@ -14390,15 +14393,15 @@ return n?(e||new Sq).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4
|
|
|
14390
14393
|
return t?this.bb.__vector_len(this.bb_pos+t):0}static startMessage(t){t.startObject(5)}static addVersion(t,e){t.addFieldInt16(0,e,tq.V1)}static addHeaderType(t,e){t.addFieldInt8(1,e,Gq.NONE)}static addHeader(t,e){t.addFieldOffset(2,e,0)}static addBodyLength(t,e){t.addFieldInt64(3,e,BigInt("0"))}static addCustomMetadata(t,e){t.addFieldOffset(4,e,0)}static createCustomMetadataVector(t,e){t.startVector(4,e.length,4)
|
|
14391
14394
|
for(let n=e.length-1;n>=0;n--)t.addOffset(e[n])
|
|
14392
14395
|
return t.endVector()}static startCustomMetadataVector(t,e){t.startVector(4,e,4)}static endMessage(t){return t.endObject()}static finishMessageBuffer(t,e){t.finish(e)}static finishSizePrefixedMessageBuffer(t,e){t.finish(e,void 0,!0)}static createMessage(e,n,i,s,o,r){return t.startMessage(e),t.addVersion(e,n),t.addHeaderType(e,i),t.addHeader(e,s),t.addBodyLength(e,o),t.addCustomMetadata(e,r),t.endMessage(e)}}
|
|
14393
|
-
const rK=new class extends sW{visit(t,e){return null==t||null==e?void 0:super.visit(t,e)}visitNull(t,e){return Bq.startNull(e),Bq.endNull(e)}visitInt(t,e){return Cq.startInt(e),Cq.addBitWidth(e,t.bitWidth),Cq.addIsSigned(e,t.isSigned),Cq.endInt(e)}visitFloat(t,e){return
|
|
14394
|
-
return zq.startTimestamp(e),zq.addUnit(e,t.unit),void 0!==n&&zq.addTimezone(e,n),zq.endTimestamp(e)}visitInterval(t,e){return
|
|
14396
|
+
const rK=new class extends sW{visit(t,e){return null==t||null==e?void 0:super.visit(t,e)}visitNull(t,e){return Bq.startNull(e),Bq.endNull(e)}visitInt(t,e){return Cq.startInt(e),Cq.addBitWidth(e,t.bitWidth),Cq.addIsSigned(e,t.isSigned),Cq.endInt(e)}visitFloat(t,e){return Tq.startFloatingPoint(e),Tq.addPrecision(e,t.precision),Tq.endFloatingPoint(e)}visitBinary(t,e){return _q.startBinary(e),_q.endBinary(e)}visitLargeBinary(t,e){return Rq.startLargeBinary(e),Rq.endLargeBinary(e)}visitBool(t,e){return Iq.startBool(e),Iq.endBool(e)}visitUtf8(t,e){return Uq.startUtf8(e),Uq.endUtf8(e)}visitLargeUtf8(t,e){return Fq.startLargeUtf8(e),Fq.endLargeUtf8(e)}visitDecimal(t,e){return $q.startDecimal(e),$q.addScale(e,t.scale),$q.addPrecision(e,t.precision),$q.addBitWidth(e,t.bitWidth),$q.endDecimal(e)}visitDate(t,e){return Mq.startDate(e),Mq.addUnit(e,t.unit),Mq.endDate(e)}visitTime(t,e){return Vq.startTime(e),Vq.addUnit(e,t.unit),Vq.addBitWidth(e,t.bitWidth),Vq.endTime(e)}visitTimestamp(t,e){const n=t.timezone&&e.createString(t.timezone)||void 0
|
|
14397
|
+
return zq.startTimestamp(e),zq.addUnit(e,t.unit),void 0!==n&&zq.addTimezone(e,n),zq.endTimestamp(e)}visitInterval(t,e){return Oq.startInterval(e),Oq.addUnit(e,t.unit),Oq.endInterval(e)}visitDuration(t,e){return Dq.startDuration(e),Dq.addUnit(e,t.unit),Dq.endDuration(e)}visitList(t,e){return Nq.startList(e),Nq.endList(e)}visitStruct(t,e){return Pq.startStruct_(e),Pq.endStruct_(e)}visitUnion(t,e){Hq.startTypeIdsVector(e,t.typeIds.length)
|
|
14395
14398
|
const n=Hq.createTypeIdsVector(e,t.typeIds)
|
|
14396
14399
|
return Hq.startUnion(e),Hq.addMode(e,t.mode),Hq.addTypeIds(e,n),Hq.endUnion(e)}visitDictionary(t,e){const n=this.visit(t.indices,e)
|
|
14397
14400
|
return kq.startDictionaryEncoding(e),kq.addId(e,BigInt(t.id)),kq.addIsOrdered(e,t.isOrdered),void 0!==n&&kq.addIndexType(e,n),kq.endDictionaryEncoding(e)}visitFixedSizeBinary(t,e){return Eq.startFixedSizeBinary(e),Eq.addByteWidth(e,t.byteWidth),Eq.endFixedSizeBinary(e)}visitFixedSizeList(t,e){return Aq.startFixedSizeList(e),Aq.addListSize(e,t.listSize),Aq.endFixedSizeList(e)}visitMap(t,e){return Lq.startMap(e),Lq.addKeysSorted(e,t.keysSorted),Lq.endMap(e)}}
|
|
14398
14401
|
function aK(t){return new vK(t.count,cK(t.columns),dK(t.columns))}function lK(t,e){return(t.children||[]).filter(Boolean).map((t=>dZ.fromJSON(t,e)))}function cK(t){return(t||[]).reduce(((t,e)=>{return[...t,new wK(e.count,(n=e.VALIDITY,(n||[]).reduce(((t,e)=>t+ +(0===e)),0))),...cK(e.children)]
|
|
14399
14402
|
var n}),[])}function dK(t,e=[]){for(let n=-1,i=(t||[]).length;++n<i;){const i=t[n]
|
|
14400
14403
|
i.VALIDITY&&e.push(new yK(e.length,i.VALIDITY.length)),i.TYPE_ID&&e.push(new yK(e.length,i.TYPE_ID.length)),i.OFFSET&&e.push(new yK(e.length,i.OFFSET.length)),i.DATA&&e.push(new yK(e.length,i.DATA.length)),e=dK(i.children,e)}return e}function hK(t=[]){return new Map(t.map((({key:t,value:e})=>[t,e])))}function uK(t){return new Rj(t.isSigned,t.bitWidth)}function pK(t,e){const n=t.type.name
|
|
14401
|
-
switch(n){case"NONE":case"null":return new
|
|
14404
|
+
switch(n){case"NONE":case"null":return new Oj
|
|
14402
14405
|
case"binary":return new Lj
|
|
14403
14406
|
case"largebinary":return new Bj
|
|
14404
14407
|
case"utf8":return new Pj
|
|
@@ -14435,7 +14438,7 @@ for(let i,s=-1,o=-1,r=t.childrenLength();++s<r;)(i=t.children(s))&&(n[++o]=dZ.de
|
|
|
14435
14438
|
return n}function CK(t){const e=new Map
|
|
14436
14439
|
if(t)for(let n,i,s=-1,o=Math.trunc(t.customMetadataLength());++s<o;)(n=t.customMetadata(s))&&null!=(i=n.key())&&e.set(i,n.value())
|
|
14437
14440
|
return e}function kK(t){return new Rj(t.isSigned(),t.bitWidth())}function SK(t,e){const n=t.typeType()
|
|
14438
|
-
switch(n){case qq.NONE:case qq.Null:return new
|
|
14441
|
+
switch(n){case qq.NONE:case qq.Null:return new Oj
|
|
14439
14442
|
case qq.Binary:return new Lj
|
|
14440
14443
|
case qq.LargeBinary:return new Bj
|
|
14441
14444
|
case qq.Utf8:return new Pj
|
|
@@ -14443,12 +14446,12 @@ case qq.LargeUtf8:return new Vj
|
|
|
14443
14446
|
case qq.Bool:return new zj
|
|
14444
14447
|
case qq.List:return new Zj((e||[])[0])
|
|
14445
14448
|
case qq.Struct_:return new Kj(e||[])}switch(n){case qq.Int:{const e=t.type(new Cq)
|
|
14446
|
-
return new Rj(e.isSigned(),e.bitWidth())}case qq.FloatingPoint:{const e=t.type(new
|
|
14449
|
+
return new Rj(e.isSigned(),e.bitWidth())}case qq.FloatingPoint:{const e=t.type(new Tq)
|
|
14447
14450
|
return new Nj(e.precision())}case qq.Decimal:{const e=t.type(new $q)
|
|
14448
14451
|
return new Hj(e.scale(),e.precision(),e.bitWidth())}case qq.Date:{const e=t.type(new Mq)
|
|
14449
14452
|
return new Uj(e.unit())}case qq.Time:{const e=t.type(new Vq)
|
|
14450
14453
|
return new qj(e.unit(),e.bitWidth())}case qq.Timestamp:{const e=t.type(new zq)
|
|
14451
|
-
return new jj(e.unit(),e.timezone())}case qq.Interval:{const e=t.type(new
|
|
14454
|
+
return new jj(e.unit(),e.timezone())}case qq.Interval:{const e=t.type(new Oq)
|
|
14452
14455
|
return new Wj(e.unit())}case qq.Duration:{const e=t.type(new Dq)
|
|
14453
14456
|
return new Gj(e.unit())}case qq.Union:{const n=t.type(new Hq)
|
|
14454
14457
|
return new Yj(n.mode(),n.typeIdsArray()||[],e||[])}case qq.FixedSizeBinary:{const e=t.type(new Eq)
|
|
@@ -14457,7 +14460,7 @@ return new Jj(n.listSize(),(e||[])[0])}case qq.Map:{const n=t.type(new Lq)
|
|
|
14457
14460
|
return new Qj((e||[])[0],n.keysSorted())}}throw new Error(`Unrecognized type: "${qq[n]}" (${n})`)}dZ.encode=function(t,e){let n=-1,i=-1,s=-1
|
|
14458
14461
|
const o=e.type
|
|
14459
14462
|
let r=e.typeId
|
|
14460
|
-
|
|
14463
|
+
Tj.isDictionary(o)?(r=o.dictionary.typeId,s=rK.visit(o,t),i=rK.visit(o.dictionary,t)):i=rK.visit(o,t)
|
|
14461
14464
|
const a=(o.children||[]).map((e=>dZ.encode(t,e))),l=jq.createChildrenVector(t,a),c=e.metadata&&e.metadata.size>0?jq.createCustomMetadataVector(t,[...e.metadata].map((([e,n])=>{const i=t.createString(`${e}`),s=t.createString(`${n}`)
|
|
14462
14465
|
return Sq.startKeyValue(t),Sq.addKey(t,i),Sq.addValue(t,s),Sq.endKeyValue(t)}))):-1
|
|
14463
14466
|
e.name&&(n=t.createString(e.name))
|
|
@@ -14498,11 +14501,11 @@ const e=jU(this.source.read(t))
|
|
|
14498
14501
|
if(e.byteLength<t)throw new Error(DK(t,e.byteLength))
|
|
14499
14502
|
return e.byteOffset%8==0&&e.byteOffset+e.byteLength<=e.buffer.byteLength?e:e.slice()}readSchema(t=!1){const e=Gq.Schema,n=this.readMessage(e),i=null==n?void 0:n.header()
|
|
14500
14503
|
if(t&&!i)throw new Error(MK(e))
|
|
14501
|
-
return i}readMetadataLength(){const t=this.source.read(
|
|
14504
|
+
return i}readMetadataLength(){const t=this.source.read(OK),e=t&&new hq(t),n=(null==e?void 0:e.readInt32(0))||0
|
|
14502
14505
|
return{done:0===n,value:n}}readMetadata(t){const e=this.source.read(t)
|
|
14503
14506
|
if(!e)return bZ
|
|
14504
14507
|
if(e.byteLength<t)throw new Error($K(t,e.byteLength))
|
|
14505
|
-
return{done:!1,value:gK.decode(e)}}}class AK{constructor(t,e){this.source=t instanceof SZ?t:
|
|
14508
|
+
return{done:!1,value:gK.decode(e)}}}class AK{constructor(t,e){this.source=t instanceof SZ?t:OU(t)?new $Z(t,e):new SZ(t)}[Symbol.asyncIterator](){return this}next(){return e(this,void 0,void 0,(function*(){let t
|
|
14506
14509
|
return(t=yield this.readMetadataLength()).done||-1===t.value&&(t=yield this.readMetadataLength()).done||(t=yield this.readMetadata(t.value)).done?bZ:t}))}throw(t){return e(this,void 0,void 0,(function*(){return yield this.source.throw(t)}))}return(t){return e(this,void 0,void 0,(function*(){return yield this.source.return(t)}))}readMessage(t){return e(this,void 0,void 0,(function*(){let e
|
|
14507
14510
|
if((e=yield this.next()).done)return null
|
|
14508
14511
|
if(null!=t&&e.value.headerType!==t)throw new Error(IK(t))
|
|
@@ -14511,11 +14514,11 @@ const e=jU(yield this.source.read(t))
|
|
|
14511
14514
|
if(e.byteLength<t)throw new Error(DK(t,e.byteLength))
|
|
14512
14515
|
return e.byteOffset%8==0&&e.byteOffset+e.byteLength<=e.buffer.byteLength?e:e.slice()}))}readSchema(){return e(this,arguments,void 0,(function*(t=!1){const e=Gq.Schema,n=yield this.readMessage(e),i=null==n?void 0:n.header()
|
|
14513
14516
|
if(t&&!i)throw new Error(MK(e))
|
|
14514
|
-
return i}))}readMetadataLength(){return e(this,void 0,void 0,(function*(){const t=yield this.source.read(
|
|
14517
|
+
return i}))}readMetadataLength(){return e(this,void 0,void 0,(function*(){const t=yield this.source.read(OK),e=t&&new hq(t),n=(null==e?void 0:e.readInt32(0))||0
|
|
14515
14518
|
return{done:0===n,value:n}}))}readMetadata(t){return e(this,void 0,void 0,(function*(){const e=yield this.source.read(t)
|
|
14516
14519
|
if(!e)return bZ
|
|
14517
14520
|
if(e.byteLength<t)throw new Error($K(t,e.byteLength))
|
|
14518
|
-
return{done:!1,value:gK.decode(e)}}))}}class
|
|
14521
|
+
return{done:!1,value:gK.decode(e)}}))}}class TK extends EK{constructor(t){super(new Uint8Array(0)),this._schema=!1,this._body=[],this._batchIndex=0,this._dictionaryIndex=0,this._json=t instanceof yZ?t:new yZ(t)}next(){const{_json:t}=this
|
|
14519
14522
|
if(!this._schema){this._schema=!0
|
|
14520
14523
|
return{done:!1,value:gK.fromJSON(t.schema,Gq.Schema)}}if(this._dictionaryIndex<t.dictionaries.length){const e=t.dictionaries[this._dictionaryIndex++]
|
|
14521
14524
|
this._body=e.data.columns
|
|
@@ -14526,21 +14529,21 @@ if((e=this.next()).done)return null
|
|
|
14526
14529
|
if(null!=t&&e.value.headerType!==t)throw new Error(IK(t))
|
|
14527
14530
|
return e.value}readSchema(){const t=Gq.Schema,e=this.readMessage(t),n=null==e?void 0:e.header()
|
|
14528
14531
|
if(!e||!n)throw new Error(MK(t))
|
|
14529
|
-
return n}}const
|
|
14532
|
+
return n}}const OK=4,RK="ARROW1",FK=new Uint8Array(6)
|
|
14530
14533
|
for(let t=0;t<6;t+=1)FK[t]=RK.codePointAt(t)
|
|
14531
14534
|
function NK(t,e=0){for(let n=-1,i=FK.length;++n<i;)if(FK[n]!==t[e+n])return!1
|
|
14532
|
-
return!0}const LK=FK.length,BK=LK+
|
|
14535
|
+
return!0}const LK=FK.length,BK=LK+OK,PK=2*LK+OK
|
|
14533
14536
|
class VK extends wZ{constructor(t){super(),this._impl=t}get closed(){return this._impl.closed}get schema(){return this._impl.schema}get autoDestroy(){return this._impl.autoDestroy}get dictionaries(){return this._impl.dictionaries}get numDictionaries(){return this._impl.numDictionaries}get numRecordBatches(){return this._impl.numRecordBatches}get footer(){return this._impl.isFile()?this._impl.footer:null}isSync(){return this._impl.isSync()}isAsync(){return this._impl.isAsync()}isFile(){return this._impl.isFile()}isStream(){return this._impl.isStream()}next(){return this._impl.next()}throw(t){return this._impl.throw(t)}return(t){return this._impl.return(t)}cancel(){return this._impl.cancel()}reset(t){return this._impl.reset(t),this._DOMStream=void 0,this._nodeStream=void 0,this}open(t){const e=this._impl.open(t)
|
|
14534
|
-
return $U(e)?e.then((()=>this)):this}readRecordBatch(t){return this._impl.isFile()?this._impl.readRecordBatch(t):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return YU.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return YU.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(t){throw new Error('"throughNode" not available in this environment')}static throughDOM(t,e){throw new Error('"throughDOM" not available in this environment')}static from(t){return t instanceof VK?t:AU(t)?function(t){return new zK(new YK(t))}(t):
|
|
14537
|
+
return $U(e)?e.then((()=>this)):this}readRecordBatch(t){return this._impl.isFile()?this._impl.readRecordBatch(t):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return YU.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return YU.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(t){throw new Error('"throughNode" not available in this environment')}static throughDOM(t,e){throw new Error('"throughDOM" not available in this environment')}static from(t){return t instanceof VK?t:AU(t)?function(t){return new zK(new YK(t))}(t):OU(t)?function(t){return e(this,void 0,void 0,(function*(){const{size:e}=yield t.stat(),n=new $Z(t,e)
|
|
14535
14538
|
return e>=PK&&NK(yield n.readAt(0,LK+7&-8))?new qK(new KK(n)):new HK(new GK(n))}))}(t):$U(t)?(()=>e(this,void 0,void 0,(function*(){return yield VK.from(yield t)})))():RU(t)||NU(t)||LU(t)||EU(t)?function(t){return e(this,void 0,void 0,(function*(){const e=yield t.peek(LK+7&-8)
|
|
14536
14539
|
return e&&e.byteLength>=4?NK(e)?new UK(new ZK(yield t.read())):new HK(new GK(t)):new HK(new GK(function(){return s(this,arguments,(function*(){}))}()))}))}(new SZ(t)):function(t){const e=t.peek(LK+7&-8)
|
|
14537
|
-
return e&&e.byteLength>=4?NK(e)?new UK(new ZK(t.read())):new zK(new WK(t)):new zK(new WK(function*(){}()))}(new kZ(t))}static readAll(t){return t instanceof VK?t.isSync()?JK(t):QK(t):AU(t)||ArrayBuffer.isView(t)||DU(t)||
|
|
14540
|
+
return e&&e.byteLength>=4?NK(e)?new UK(new ZK(t.read())):new zK(new WK(t)):new zK(new WK(function*(){}()))}(new kZ(t))}static readAll(t){return t instanceof VK?t.isSync()?JK(t):QK(t):AU(t)||ArrayBuffer.isView(t)||DU(t)||TU(t)?JK(t):QK(t)}}class zK extends VK{constructor(t){super(t),this._impl=t}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return s(this,arguments,(function*(){yield i(yield*o(r(this[Symbol.iterator]())))}))}}class HK extends VK{constructor(t){super(t),this._impl=t}readAll(){return e(this,void 0,void 0,(function*(){var t,e,n,i
|
|
14538
14541
|
const s=new Array
|
|
14539
14542
|
try{for(var o,a=!0,l=r(this);!(t=(o=yield l.next()).done);a=!0){i=o.value,a=!1
|
|
14540
14543
|
const t=i
|
|
14541
14544
|
s.push(t)}}catch(t){e={error:t}}finally{try{a||t||!(n=l.return)||(yield n.call(l))}finally{if(e)throw e.error}}return s}))}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class UK extends zK{constructor(t){super(t),this._impl=t}}class qK extends HK{constructor(t){super(t),this._impl=t}}class jK{get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}constructor(t=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=t}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(t){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=t,this.dictionaries=new Map,this}_loadRecordBatch(t,e){const n=this._loadVectors(t,e,this.schema.fields),i=BG({type:new Kj(this.schema.fields),length:t.length,children:n})
|
|
14542
14545
|
return new eK(this.schema,i)}_loadDictionaryBatch(t,e){const{id:n,isDelta:i}=t,{dictionaries:s,schema:o}=this,r=s.get(n),a=o.dictionaries.get(n),l=this._loadVectors(t.data,e,[a])
|
|
14543
|
-
return(r&&i?r.concat(new oZ(l)):new oZ(l)).memoize()}_loadVectors(t,e,n){return new FZ(e,t.nodes,t.buffers,this.dictionaries,this.schema.metadataVersion).visitMany(n)}}class WK extends jK{constructor(t,e){super(e),this._reader=AU(t)?new
|
|
14546
|
+
return(r&&i?r.concat(new oZ(l)):new oZ(l)).memoize()}_loadVectors(t,e,n){return new FZ(e,t.nodes,t.buffers,this.dictionaries,this.schema.metadataVersion).visitMany(n)}}class WK extends jK{constructor(t,e){super(e),this._reader=AU(t)?new TK(this._handle=t):new EK(this._handle=t)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(t){return this.closed||(this.autoDestroy=XK(this,t),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(t){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(t):bZ}return(t){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(t):bZ}next(){if(this.closed)return bZ
|
|
14544
14547
|
let t
|
|
14545
14548
|
const{_reader:e}=this
|
|
14546
14549
|
for(;t=this._readNextMessageAndValidate();)if(t.isSchema())this.reset(t.header())
|
|
@@ -14754,13 +14757,13 @@ return o[n](s[n](e))}}function $Y(){var t,e,n,i,s,o,r=kY,a=kY,l=Kz,c=SY
|
|
|
14754
14757
|
function d(){var t,e,n,l=Math.min(r.length,a.length)
|
|
14755
14758
|
return c!==SY&&(t=r[0],e=r[l-1],t>e&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),i=l>2?MY:IY,s=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(s||(s=i(r.map(t),a,l)))(t(c(e)))}return h.invert=function(n){return c(e((o||(o=i(a,r.map(t),qz)))(n)))},h.domain=function(t){return arguments.length?(r=Array.from(t,CY),d()):r.slice()},h.range=function(t){return arguments.length?(a=Array.from(t),d()):a.slice()},h.rangeRound=function(t){return a=Array.from(t),l=Yz,d()},h.clamp=function(t){return arguments.length?(c=!!t||SY,d()):c!==SY},h.interpolate=function(t){return arguments.length?(l=t,d()):l},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,i){return t=n,e=i,d()}}function DY(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null
|
|
14756
14759
|
var n,i=t.slice(0,n)
|
|
14757
|
-
return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function EY(t){return(t=DY(Math.abs(t)))?t[1]:NaN}var AY,
|
|
14758
|
-
function
|
|
14760
|
+
return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function EY(t){return(t=DY(Math.abs(t)))?t[1]:NaN}var AY,TY=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i
|
|
14761
|
+
function OY(t){if(!(e=TY.exec(t)))throw new Error("invalid format: "+t)
|
|
14759
14762
|
var e
|
|
14760
14763
|
return new RY({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function RY(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function FY(t,e){var n=DY(t,e)
|
|
14761
14764
|
if(!n)return t+""
|
|
14762
14765
|
var i=n[0],s=n[1]
|
|
14763
|
-
return s<0?"0."+new Array(-s).join("0")+i:i.length>s+1?i.slice(0,s+1)+"."+i.slice(s+1):i+new Array(s-i.length+2).join("0")}
|
|
14766
|
+
return s<0?"0."+new Array(-s).join("0")+i:i.length>s+1?i.slice(0,s+1)+"."+i.slice(s+1):i+new Array(s-i.length+2).join("0")}OY.prototype=RY.prototype,RY.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}
|
|
14764
14767
|
var NY={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>FY(100*t,e),r:FY,s:function(t,e){var n=DY(t,e)
|
|
14765
14768
|
if(!n)return t+""
|
|
14766
14769
|
var i=n[0],s=n[1],o=s-(AY=3*Math.max(-8,Math.min(8,Math.floor(s/3))))+1,r=i.length
|
|
@@ -14768,7 +14771,7 @@ return o===r?i:o>r?i+new Array(o-r+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):
|
|
|
14768
14771
|
function LY(t){return t}var BY,PY,VY,zY=Array.prototype.map,HY=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]
|
|
14769
14772
|
function UY(t){var e,n,i=void 0===t.grouping||void 0===t.thousands?LY:(e=zY.call(t.grouping,Number),n=t.thousands+"",function(t,i){for(var s=t.length,o=[],r=0,a=e[0],l=0;s>0&&a>0&&(l+a+1>i&&(a=Math.max(1,i-l)),o.push(t.substring(s-=a,s+a)),!((l+=a+1)>i));)a=e[r=(r+1)%e.length]
|
|
14770
14773
|
return o.reverse().join(n)}),s=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",r=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?LY:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(zY.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"−":t.minus+"",d=void 0===t.nan?"NaN":t.nan+""
|
|
14771
|
-
function h(t){var e=(t=
|
|
14774
|
+
function h(t){var e=(t=OY(t)).fill,n=t.align,h=t.sign,u=t.symbol,p=t.zero,f=t.width,m=t.comma,g=t.precision,v=t.trim,b=t.type
|
|
14772
14775
|
"n"===b?(m=!0,b="g"):NY[b]||(void 0===g&&(g=12),v=!0,b="g"),(p||"0"===e&&"="===n)&&(p=!0,e="0",n="=")
|
|
14773
14776
|
var y="$"===u?s:"#"===u&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",w="$"===u?o:/[%p]/.test(b)?l:"",x=NY[b],C=/[defgprs%]/.test(b)
|
|
14774
14777
|
function k(t){var s,o,l,u=y,k=w
|
|
@@ -14788,11 +14791,11 @@ case"=":t=u+I+t+k
|
|
|
14788
14791
|
break
|
|
14789
14792
|
case"^":t=I.slice(0,_=I.length>>1)+u+t+k+I.slice(_)
|
|
14790
14793
|
break
|
|
14791
|
-
default:t=I+u+t+k}return a(t)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,e){var n=h(((t=
|
|
14794
|
+
default:t=I+u+t+k}return a(t)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,e){var n=h(((t=OY(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(EY(e)/3))),s=Math.pow(10,-i),o=HY[8+i/3]
|
|
14792
14795
|
return function(t){return n(s*t)+o}}}}function qY(t,e,n,i){var s,o=function(t,e,n){n=+n
|
|
14793
14796
|
const i=(e=+e)<(t=+t),s=i?mY(e,t,n):mY(t,e,n)
|
|
14794
14797
|
return(i?-1:1)*(s<0?1/-s:s)}(t,e,n)
|
|
14795
|
-
switch((i=
|
|
14798
|
+
switch((i=OY(null==i?",f":i)).type){case"s":var r=Math.max(Math.abs(t),Math.abs(e))
|
|
14796
14799
|
return null!=i.precision||isNaN(s=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(EY(e)/3)))-EY(Math.abs(t)))}(o,r))||(i.precision=s),VY(i,r)
|
|
14797
14800
|
case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(s=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,EY(e)-EY(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=s-("e"===i.type))
|
|
14798
14801
|
break
|
|
@@ -14865,7 +14868,7 @@ o[0]-=t,o[1]-=e
|
|
|
14865
14868
|
for(const n of this.dies)this.isDieVisible(n,o,r)&&i.fillText(n.text,n.x+t/2,n.y+e/2+s.width/2,t-t/100*20)}}clearCanvas(){this.wafermap.canvasContext.clearRect(0,0,this.wafermap.canvas.width,this.wafermap.canvas.height)}scaleCanvas(){this.wafermap.canvasContext.translate(this.wafermap.transform.x,this.wafermap.transform.y),this.wafermap.canvasContext.scale(this.wafermap.transform.k,this.wafermap.transform.k)}isDieVisible(t,e,n){return t.x>=e[0]&&t.x<n[0]&&t.y>=e[1]&&t.y<n[1]}}const rX=["highlightedTags","canvasWidth","canvasHeight","originLocation","gridMinX","gridMaxX","gridMinY","gridMaxY","dies","maxCharacters","colorScale","colorScaleMode","dieLabelsHidden","dieLabelsSuffix","transform","hoverDie"]
|
|
14866
14869
|
class aX extends AE{constructor(t){super(rX),this.wafermap=t,this.updateQueued=!1}get requiresEventsUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")||this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")||this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")||this.isTracked("transform")}get requiresWorkerWaferSetup(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")||this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")||this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresContainerDimensionsUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")}get requiresComponentResizeUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")}get requiresScalesUpdate(){return this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")}get requiresInputDataUpdate(){return this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")}get requiresLabelsFontSizeUpdate(){return this.isTracked("maxCharacters")}get requiresDiesRenderInfoUpdate(){return this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresColorAndTextUpdate(){return this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresDrawnWaferUpdate(){return this.isTracked("transform")}get requiresRenderHoverUpdate(){return this.isTracked("hoverDie")}queueUpdate(){this.wafermap.$fastController.isConnected&&!this.updateQueued&&(this.updateQueued=!0,void 0===this.wafermap.currentTask?b.queueUpdate((()=>{this.wafermap.update(),this.untrackAll(),this.updateQueued=!1})):(async()=>{await this.wafermap.currentTask,b.queueUpdate((()=>{this.wafermap.update(),this.untrackAll(),this.updateQueued=!1,this.wafermap.currentTask=void 0}))})())}}class lX{constructor(t){this.wafermap=t,this.invalidGridDimensions=!1,this.invalidDiesTableSchema=!1}getValidity(){return{invalidGridDimensions:this.invalidGridDimensions,invalidDiesTableSchema:this.invalidDiesTableSchema}}isValid(){return Object.values(this.getValidity()).every((t=>!1===t))}validateGridDimensions(){return this.invalidGridDimensions=!1,void 0===this.wafermap.gridMinX&&void 0===this.wafermap.gridMaxX&&void 0===this.wafermap.gridMinY&&void 0===this.wafermap.gridMaxY?this.invalidGridDimensions=!1:("number"!=typeof this.wafermap.gridMinX||"number"!=typeof this.wafermap.gridMaxX||"number"!=typeof this.wafermap.gridMinY||"number"!=typeof this.wafermap.gridMaxY||this.wafermap.gridMaxX<this.wafermap.gridMinX||this.wafermap.gridMaxY<this.wafermap.gridMinY)&&(this.invalidGridDimensions=!0),!this.invalidGridDimensions}validateDiesTableSchema(){if(this.invalidDiesTableSchema=!1,void 0===this.wafermap.diesTable)this.invalidDiesTableSchema=!1
|
|
14867
14870
|
else{const t=this.wafermap.diesTable.schema.fields,e=t.find((t=>"colIndex"===t.name)),n=t.find((t=>"rowIndex"===t.name)),i=t.find((t=>"value"===t.name))
|
|
14868
|
-
e&&n&&i&&
|
|
14871
|
+
e&&n&&i&&Tj.isInt(e.type)&&32===e.type.bitWidth&&Tj.isInt(n.type)&&32===n.type.bitWidth&&Tj.isFloat(i.type)&&i.type.precision===nq.DOUBLE||(this.invalidDiesTableSchema=!0)}return!this.invalidDiesTableSchema}}
|
|
14869
14872
|
/**
|
|
14870
14873
|
* @license
|
|
14871
14874
|
* Copyright 2019 Google LLC
|
|
@@ -14933,7 +14936,7 @@ if(void 0===t)return""
|
|
|
14933
14936
|
const e=this.wafermap.computations.verticalScale(this.wafermap.hoverDie.y)
|
|
14934
14937
|
if(void 0===e)return""
|
|
14935
14938
|
const n=this.wafermap.transform.apply([t+this.wafermap.computations.margin.left,e+this.wafermap.computations.margin.top])
|
|
14936
|
-
return`translate(${n[0]}, ${n[1]})`}return""}}let
|
|
14939
|
+
return`translate(${n[0]}, ${n[1]})`}return""}}let TX=class{constructor(t){this.wafermap=t,this.onMouseMove=t=>{if(this.wafermap.isExperimentalUpdate())return
|
|
14937
14940
|
const e={x:t.offsetX,y:t.offsetY}
|
|
14938
14941
|
if(!this.hoversOverDie(e))return void(this.wafermap.hoverDie=void 0)
|
|
14939
14942
|
const n=this.wafermap.transform.invert([e.x,e.y]),i=this.calculateDieCoordinates({x:n[0],y:n[1]})
|
|
@@ -14942,7 +14945,7 @@ return{x:n(this.wafermap.dataManager.invertedHorizontalScale(t.x-this.wafermap.d
|
|
|
14942
14945
|
let n=0
|
|
14943
14946
|
for(const t of e)n+=t
|
|
14944
14947
|
return n>0}}
|
|
14945
|
-
class
|
|
14948
|
+
class OX{constructor(t){this.wafermap=t,this.onMouseMove=t=>{if(!this.wafermap.isExperimentalUpdate())return
|
|
14946
14949
|
const e=this.wafermap.transform.invert([t.offsetX,t.offsetY]),n=this.calculateDieCoordinates({x:e[0],y:e[1]})
|
|
14947
14950
|
if(void 0===n||!this.isDieInGrid(n.x,n.y))return void(this.wafermap.hoverDie=void 0)
|
|
14948
14951
|
const i=this.wafermap.diesTable.getChild("colIndex").toArray(),s=this.wafermap.diesTable.getChild("rowIndex").toArray()
|
|
@@ -14961,7 +14964,7 @@ return t===ZY||t===YY?n.domain([this._gridMinX,this._gridMaxX+1]).range([0,e]):n
|
|
|
14961
14964
|
return t===ZY||t===KY?n.domain([this._gridMinY-1,this._gridMaxY]).range([e,0]):n.domain([this._gridMinY,this._gridMaxY+1]).range([0,e])}calculateMarginAddition(t,e){return{top:t.top+e.top,right:t.right+e.right,bottom:t.bottom+e.bottom,left:t.left+e.left}}calculateColorScale(){if(this.wafermap.colorScaleMode===tX){const t=this.wafermap.colorScale.values.map((t=>+t)),e=WY().domain(t).range(this.wafermap.colorScale.colors)
|
|
14962
14965
|
let n=t[0],i=t[0]
|
|
14963
14966
|
t.forEach((t=>{t<n&&(n=t),t>i&&(i=t)}))
|
|
14964
|
-
return vY(n,i,(i-n)/(t.length*this.colorScaleResolution)).concat(i).map((t=>({color:e(t),value:t})))}return this.wafermap.colorScale.colors.map(((t,e)=>({color:t,value:+this.wafermap.colorScale.values[e]}))).sort(((t,e)=>t.value-e.value))}calculateLabelsFontSize(t,e){return Math.min(t.height,t.width/(.5*Math.max(2,e))*this.fontSizeFactor)}}class NX extends We{constructor(){super(...arguments),this.waferMapUpdateTracker=new aX(this.asRequiredFieldsWaferMap),this.originLocation=ZY,this.gridMinX=void 0,this.gridMaxX=void 0,this.gridMinY=void 0,this.gridMaxY=void 0,this.orientation=XY,this.maxCharacters=4,this.dieLabelsHidden=!1,this.dieLabelsSuffix="",this.colorScaleMode=tX,this.computations=new FX(this.asRequiredFieldsWaferMap),this.dataManager=new sX(this.asRequiredFieldsWaferMap),this.workerRenderer=new AX(this.asRequiredFieldsWaferMap),this.renderer=new oX(this.asRequiredFieldsWaferMap),this.renderQueued=!1,this.transform=uU,this.hoverTransform="",this.hoverOpacity=QY,this.hoverWidth=0,this.hoverHeight=0,this.highlightedTags=[],this.dies=[],this.colorScale={colors:[],values:[]},this.hoverHandler=new
|
|
14967
|
+
return vY(n,i,(i-n)/(t.length*this.colorScaleResolution)).concat(i).map((t=>({color:e(t),value:t})))}return this.wafermap.colorScale.colors.map(((t,e)=>({color:t,value:+this.wafermap.colorScale.values[e]}))).sort(((t,e)=>t.value-e.value))}calculateLabelsFontSize(t,e){return Math.min(t.height,t.width/(.5*Math.max(2,e))*this.fontSizeFactor)}}class NX extends We{constructor(){super(...arguments),this.waferMapUpdateTracker=new aX(this.asRequiredFieldsWaferMap),this.originLocation=ZY,this.gridMinX=void 0,this.gridMaxX=void 0,this.gridMinY=void 0,this.gridMaxY=void 0,this.orientation=XY,this.maxCharacters=4,this.dieLabelsHidden=!1,this.dieLabelsSuffix="",this.colorScaleMode=tX,this.computations=new FX(this.asRequiredFieldsWaferMap),this.dataManager=new sX(this.asRequiredFieldsWaferMap),this.workerRenderer=new AX(this.asRequiredFieldsWaferMap),this.renderer=new oX(this.asRequiredFieldsWaferMap),this.renderQueued=!1,this.transform=uU,this.hoverTransform="",this.hoverOpacity=QY,this.hoverWidth=0,this.hoverHeight=0,this.highlightedTags=[],this.dies=[],this.colorScale={colors:[],values:[]},this.hoverHandler=new TX(this.asRequiredFieldsWaferMap),this.experimentalHoverHandler=new OX(this.asRequiredFieldsWaferMap),this.zoomHandler=new RX(this.asRequiredFieldsWaferMap),this.resizeObserver=this.createResizeObserver(),this.waferMapValidator=new lX(this.asRequiredFieldsWaferMap)}get validity(){return this.waferMapValidator.getValidity()}connectedCallback(){super.connectedCallback(),this.canvasContext=this.canvas.getContext("2d",{willReadFrequently:!0}),this.hoverHandler.connect(),this.experimentalHoverHandler.connect(),this.zoomHandler.connect(),this.resizeObserver.observe(this),this.waferMapUpdateTracker.trackAll()}disconnectedCallback(){super.disconnectedCallback(),this.hoverHandler.disconnect(),this.experimentalHoverHandler.disconnect(),this.zoomHandler.disconnect(),this.resizeObserver.unobserve(this)}async experimentalUpdate(){if(!this.validity.invalidDiesTableSchema){if(this.waferMapUpdateTracker.requiresEventsUpdate){this.waferMapUpdateTracker.requiresComponentResizeUpdate?this.computations.componentResizeUpdate():this.waferMapUpdateTracker.requiresInputDataUpdate?this.computations.inputDataUpdate():this.waferMapUpdateTracker.requiresColorAndTextUpdate&&this.computations.colorAndTextUpdate()
|
|
14965
14968
|
const t=this.createSnapshot()
|
|
14966
14969
|
this.waferMapUpdateTracker.requiresWorkerWaferSetup&&await this.workerRenderer.setupWafer(t),await this.workerRenderer.drawWafer(t)}this.workerRenderer.renderHover()}}update(){this.validate(),this.isExperimentalUpdate()?this.currentTask=this.experimentalUpdate():this.waferMapUpdateTracker.requiresEventsUpdate?this.waferMapUpdateTracker.requiresContainerDimensionsUpdate?(this.dataManager.updateContainerDimensions(),this.renderer.updateSortedDiesAndDrawWafer()):this.waferMapUpdateTracker.requiresScalesUpdate?(this.dataManager.updateScales(),this.renderer.updateSortedDiesAndDrawWafer()):this.waferMapUpdateTracker.requiresLabelsFontSizeUpdate?(this.dataManager.updateLabelsFontSize(),this.renderer.updateSortedDiesAndDrawWafer()):this.waferMapUpdateTracker.requiresDiesRenderInfoUpdate?(this.dataManager.updateDiesRenderInfo(),this.renderer.updateSortedDiesAndDrawWafer()):this.waferMapUpdateTracker.requiresDrawnWaferUpdate&&this.renderer.drawWafer():this.waferMapUpdateTracker.requiresRenderHoverUpdate&&this.renderer.renderHover()}isExperimentalUpdate(){return void 0!==this.diesTable}async setData(t){Array.isArray(t)?this.dies=t:this.diesTable=t,await b.nextUpdate(),void 0!==this.currentTask&&await this.currentTask}createSnapshot(){const t={width:this.canvasWidth??0,height:this.canvasHeight??0},e={dieDimensions:this.computations.dieDimensions,margin:this.computations.margin,verticalCoefficient:this.computations.verticalCoefficient,horizontalCoefficient:this.computations.horizontalCoefficient,horizontalConstant:this.computations.horizontalConstant,verticalConstant:this.computations.verticalConstant,gridMinX:this.computations.gridMinX,gridMaxX:this.computations.gridMaxX,gridMinY:this.computations.gridMinY,gridMaxY:this.computations.gridMaxY,labelsFontSize:this.computations.labelsFontSize,colorScale:this.computations.colorScale,dieLabelsSuffix:this.dieLabelsSuffix,maxCharacters:this.maxCharacters},n=this.computations.dieDimensions,i=this.transform,s=this.dieLabelsHidden
|
|
14967
14970
|
if(void 0===this.diesTable)return{canvasDimensions:t,renderConfig:e,dieDimensions:n,transform:i,dieLabelsHidden:s,columnIndices:Int32Array.from([]),rowIndices:Int32Array.from([]),values:Float64Array.from([])}
|