@ni/spright-components 4.1.6 → 4.1.8
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.
|
@@ -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
|
|
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,7 +84,7 @@ 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 z extends ${constructor(t){super(),this.binding=t,this.bind=
|
|
87
|
+
for(const t in e)e[t]===i&&n.classList.remove(t)}}class z 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
|
|
@@ -267,17 +267,17 @@ if(r instanceof _t){const t=r.createBehavior()
|
|
|
267
267
|
r=r.createCSS(),t&&s.push(t)}r instanceof tt||r instanceof CSSStyleSheet?(""!==i.trim()&&(n.push(i),i=""),n.push(r)):i+=r}return i+=t[t.length-1],""!==i.trim()&&n.push(i),{styles:n,behaviors:s}}function Mt(t,...e){const{styles:n,behaviors:i}=It(t,e),s=tt.create(n)
|
|
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
|
-
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
|
|
271
|
-
return new $t(n,i)}function
|
|
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,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
|
|
275
275
|
return n}(t,i,l)),n===t.length&&o===i.length&&(a=function(t,e,n){let i=t.length,s=e.length,o=0
|
|
276
276
|
for(;o<n&&t[--i]===e[--s];)o++
|
|
277
277
|
return o}(t,i,l-r)),s+=r,o-=a,(n-=a)-(e+=r)==0&&o-s==0)return d
|
|
278
|
-
if(e===n){const t=
|
|
278
|
+
if(e===n){const t=Et(e,[],0)
|
|
279
279
|
for(;s<o;)t.removed.push(i[s++])
|
|
280
|
-
return[t]}if(s===o)return[
|
|
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
283
|
for(;e>0||n>0;){if(0===e){s.push(Ot),n--
|
|
@@ -293,12 +293,12 @@ 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 Tt:void 0===u&&(u=
|
|
296
|
+
case Tt:void 0===u&&(u=Et(p,[],0)),u.addedCount++,p++,u.removed.push(i[f]),f++
|
|
297
297
|
break
|
|
298
|
-
case Ot:void 0===u&&(u=
|
|
298
|
+
case Ot:void 0===u&&(u=Et(p,[],0)),u.addedCount++,p++
|
|
299
299
|
break
|
|
300
|
-
case Rt:void 0===u&&(u=
|
|
301
|
-
function Lt(t,e,n,i){const s=
|
|
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
|
+
function Lt(t,e,n,i){const s=Et(e,n,i)
|
|
302
302
|
let o=!1,r=0
|
|
303
303
|
for(let e=0;e<t.length;e++){const n=t[e]
|
|
304
304
|
if(n.index+=r,o)continue
|
|
@@ -323,7 +323,7 @@ return n>i?n=i-t.addedCount:n<0&&(n=i+t.removed.length+n-t.addedCount),n<0&&(n=0
|
|
|
323
323
|
if(void 0===t&&void 0===e)return
|
|
324
324
|
this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0
|
|
325
325
|
const n=void 0===e?Bt(this.source,t):Ft(this.source,0,this.source.length,e,0,e.length)
|
|
326
|
-
this.notify(n)}}class Ht{constructor(t,e){this.target=t,this.propertyName=e}bind(t){t[this.propertyName]=this.target}unbind(){}}function Ut(t){return new
|
|
326
|
+
this.notify(n)}}class Ht{constructor(t,e){this.target=t,this.propertyName=e}bind(t){t[this.propertyName]=this.target}unbind(){}}function Ut(t){return new D("fast-ref",Ht,t)}const qt=t=>"function"==typeof t,jt=()=>null
|
|
327
327
|
function Wt(t){return void 0===t?jt:qt(t)?t:()=>t}function Gt(t,e,n){const i=qt(t)?t:()=>t,s=Wt(e),o=Wt(n)
|
|
328
328
|
return(t,e)=>i(t,e)?s(t,e):o(t,e)}const Zt=Object.freeze({positioning:!1,recycle:!0})
|
|
329
329
|
function Kt(t,e,n,i){t.bind(e[n],i)}function Yt(t,e,n,i){const s=Object.create(i)
|
|
@@ -353,21 +353,21 @@ if(t.$fastPatch)return
|
|
|
353
353
|
Reflect.defineProperty(t,"$fastPatch",{value:1,enumerable:!1})
|
|
354
354
|
const e=t.pop,n=t.push,i=t.reverse,s=t.shift,o=t.sort,r=t.splice,a=t.unshift
|
|
355
355
|
t.pop=function(){const t=this.length>0,n=e.apply(this,arguments),i=this.$fastController
|
|
356
|
-
return void 0!==i&&t&&i.addSplice(
|
|
357
|
-
return void 0!==e&&e.addSplice(zt(
|
|
356
|
+
return void 0!==i&&t&&i.addSplice(Et(this.length,[n],0)),n},t.push=function(){const t=n.apply(this,arguments),e=this.$fastController
|
|
357
|
+
return void 0!==e&&e.addSplice(zt(Et(this.length-arguments.length,[],arguments.length),this)),t},t.reverse=function(){let t
|
|
358
358
|
const e=this.$fastController
|
|
359
359
|
void 0!==e&&(e.flush(),t=this.slice())
|
|
360
360
|
const n=i.apply(this,arguments)
|
|
361
361
|
return void 0!==e&&e.reset(t),n},t.shift=function(){const t=this.length>0,e=s.apply(this,arguments),n=this.$fastController
|
|
362
|
-
return void 0!==n&&t&&n.addSplice(
|
|
362
|
+
return void 0!==n&&t&&n.addSplice(Et(0,[e],0)),e},t.sort=function(){let t
|
|
363
363
|
const e=this.$fastController
|
|
364
364
|
void 0!==e&&(e.flush(),t=this.slice())
|
|
365
365
|
const n=o.apply(this,arguments)
|
|
366
366
|
return void 0!==e&&e.reset(t),n},t.splice=function(){const t=r.apply(this,arguments),e=this.$fastController
|
|
367
|
-
return void 0!==e&&e.addSplice(zt(
|
|
368
|
-
return void 0!==e&&e.addSplice(zt(
|
|
367
|
+
return void 0!==e&&e.addSplice(zt(Et(+arguments[0],t,arguments.length>2?arguments.length-2:0),this)),t},t.unshift=function(){const t=a.apply(this,arguments),e=this.$fastController
|
|
368
|
+
return void 0!==e&&e.addSplice(zt(Et(0,[],arguments.length),this)),t}}(),this.isItemsBindingVolatile=x.isVolatileBinding(t),this.isTemplateBindingVolatile=x.isVolatileBinding(e)}createBehavior(t){return new Xt(t,this.itemsBinding,this.isItemsBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile,this.options)}}function Qt(t,e,n=Zt){return new Jt(t,"function"==typeof e?e:()=>e,Object.assign(Object.assign({},Zt),n))}function te(t){return t?function(e,n,i){return 1===e.nodeType&&e.matches(t)}:function(t,e,n){return 1===t.nodeType}}class ee{constructor(t,e){this.target=t,this.options=e,this.source=null}bind(t){const e=this.options.property
|
|
369
369
|
this.shouldUpdate=x.getAccessors(t).some((t=>t.name===e)),this.source=t,this.updateTarget(this.computeNodes()),this.shouldUpdate&&this.observe()}unbind(){this.updateTarget(d),this.source=null,this.shouldUpdate&&this.disconnect()}handleEvent(){this.updateTarget(this.computeNodes())}computeNodes(){let t=this.getNodes()
|
|
370
|
-
return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateTarget(t){this.source[this.options.property]=t}}class ne extends ee{constructor(t,e){super(t,e)}observe(){this.target.addEventListener("slotchange",this)}disconnect(){this.target.removeEventListener("slotchange",this)}getNodes(){return this.target.assignedNodes(this.options)}}function ie(t){return"string"==typeof t&&(t={property:t}),new
|
|
370
|
+
return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateTarget(t){this.source[this.options.property]=t}}class ne extends ee{constructor(t,e){super(t,e)}observe(){this.target.addEventListener("slotchange",this)}disconnect(){this.target.removeEventListener("slotchange",this)}getNodes(){return this.target.assignedNodes(this.options)}}function ie(t){return"string"==typeof t&&(t={property:t}),new D("fast-slotted",ne,t)}class se extends ee{constructor(t,e){super(t,e),this.observer=null,e.childList=!0}observe(){null===this.observer&&(this.observer=new MutationObserver(this.handleEvent.bind(this))),this.observer.observe(this.target,this.options)}disconnect(){this.observer.disconnect()}getNodes(){return"subtree"in this.options?Array.from(this.target.querySelectorAll(this.options.selector)):Array.from(this.target.childNodes)}}function oe(t){return"string"==typeof t&&(t={property:t}),new D("fast-children",se,t)}class re{handleStartContentChange(){this.startContainer.classList.toggle("start",this.start.assignedNodes().length>0)}handleEndContentChange(){this.endContainer.classList.toggle("end",this.end.assignedNodes().length>0)}}const ae=(t,e)=>Q`
|
|
371
371
|
<span
|
|
372
372
|
part="end"
|
|
373
373
|
${Ut("endContainer")}
|
|
@@ -438,7 +438,7 @@ for(let o=0;o<i;++o)s=n[o],Ve(s)||(e[s]=t[s])
|
|
|
438
438
|
return e}const pe=Object.freeze({none(t){throw Error(`${t.toString()} not registered, did you forget to add @singleton()?`)},singleton:t=>new xe(t,1,t),transient:t=>new xe(t,2,t)}),fe=Object.freeze({default:Object.freeze({parentLocator:()=>null,responsibleForOwnerRequests:!1,defaultResolver:pe.singleton})}),me=new Map
|
|
439
439
|
function ge(t){return e=>Reflect.getOwnMetadata(t,e)}let ve=null
|
|
440
440
|
const be=Object.freeze({createContainer:t=>new Ae(null,Object.assign({},fe.default,t)),findResponsibleContainer(t){const e=t.$$container$$
|
|
441
|
-
return e&&e.responsibleForOwnerRequests?e:be.findParentContainer(t)},findParentContainer(t){const e=new CustomEvent(
|
|
441
|
+
return e&&e.responsibleForOwnerRequests?e:be.findParentContainer(t)},findParentContainer(t){const e=new CustomEvent(De,{bubbles:!0,composed:!0,cancelable:!0,detail:{container:void 0}})
|
|
442
442
|
return t.dispatchEvent(e),e.detail.container||be.getOrCreateDOMContainer()},getOrCreateDOMContainer:(t,e)=>t?t.$$container$$||new Ae(t,Object.assign({},fe.default,e,{parentLocator:be.findParentContainer})):ve||(ve=new Ae(null,Object.assign({},fe.default,e,{parentLocator:()=>null}))),getDesignParamtypes:ge("design:paramtypes"),getAnnotationParamtypes:ge("di:paramtypes"),getOrCreateAnnotationParamTypes(t){let e=this.getAnnotationParamtypes(t)
|
|
443
443
|
return void 0===e&&Reflect.defineMetadata("di:paramtypes",e=[],t),e},getDependencies(t){let e=me.get(t)
|
|
444
444
|
if(void 0===e){const n=t.inject
|
|
@@ -480,8 +480,8 @@ switch(this.strategy){case 1:case 2:return t.getFactory(this.state)
|
|
|
480
480
|
case 5:return null!==(i=null===(n=null===(e=t.getResolver(this.state))||void 0===e?void 0:e.getFactory)||void 0===n?void 0:n.call(e,t))&&void 0!==i?i:null
|
|
481
481
|
default:return null}}}function Ce(t){return this.get(t)}function ke(t,e){return e(t)}class Se{constructor(t,e){this.Type=t,this.dependencies=e,this.transformers=null}construct(t,e){let n
|
|
482
482
|
return n=void 0===e?new this.Type(...this.dependencies.map(Ce,t)):new this.Type(...this.dependencies.map(Ce,t),...e),null==this.transformers?n:this.transformers.reduce(ke,n)}registerTransformer(t){(this.transformers||(this.transformers=[])).push(t)}}const _e={$isResolver:!0,resolve:(t,e)=>e}
|
|
483
|
-
function Ie(t){return"function"==typeof t.register}function Me(t){return function(t){return Ie(t)&&"boolean"==typeof t.registerInRequestor}(t)&&t.registerInRequestor}const $e=new Set(["Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","RangeError","ReferenceError","RegExp","Set","SharedArrayBuffer","String","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet"]),
|
|
484
|
-
class Ae{constructor(t,e){this.owner=t,this.config=e,this._parent=void 0,this.registerDepth=0,this.context=null,null!==t&&(t.$$container$$=this),this.resolvers=new Map,this.resolvers.set(ye,_e),t instanceof Node&&t.addEventListener(
|
|
483
|
+
function Ie(t){return"function"==typeof t.register}function Me(t){return function(t){return Ie(t)&&"boolean"==typeof t.registerInRequestor}(t)&&t.registerInRequestor}const $e=new Set(["Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","RangeError","ReferenceError","RegExp","Set","SharedArrayBuffer","String","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet"]),De="__DI_LOCATE_PARENT__",Ee=new Map
|
|
484
|
+
class Ae{constructor(t,e){this.owner=t,this.config=e,this._parent=void 0,this.registerDepth=0,this.context=null,null!==t&&(t.$$container$$=this),this.resolvers=new Map,this.resolvers.set(ye,_e),t instanceof Node&&t.addEventListener(De,(t=>{t.composedPath()[0]!==this.owner&&(t.detail.container=this,t.stopImmediatePropagation())}))}get parent(){return void 0===this._parent&&(this._parent=this.config.parentLocator(this.owner)),this._parent}get depth(){return null===this.parent?0:this.parent.depth+1}get responsibleForOwnerRequests(){return this.config.responsibleForOwnerRequests}registerWithContext(t,...e){return this.context=t,this.register(...e),this.context=null,this}register(...t){if(100==++this.registerDepth)throw new Error("Unable to autoregister dependency")
|
|
485
485
|
let e,n,i,s,o
|
|
486
486
|
const r=this.context
|
|
487
487
|
for(let a=0,l=t.length;a<l;++a)if(e=t[a],Be(e))if(Ie(e))e.register(this,r)
|
|
@@ -506,9 +506,9 @@ let i,s=n
|
|
|
506
506
|
if(e){let e=d
|
|
507
507
|
for(;null!=s;)i=s.resolvers.get(t),null!=i&&(e=e.concat(Ne(i,s,n))),s=s.parent
|
|
508
508
|
return e}for(;null!=s;){if(i=s.resolvers.get(t),null!=i)return Ne(i,s,n)
|
|
509
|
-
if(s=s.parent,null==s)return d}return d}getFactory(t){let e=
|
|
509
|
+
if(s=s.parent,null==s)return d}return d}getFactory(t){let e=Ee.get(t)
|
|
510
510
|
if(void 0===e){if(Pe(t))throw new Error(`${t.name} is a native function and therefore cannot be safely constructed by DI. If this is intentional, please use a callback or cachedCallback resolver.`)
|
|
511
|
-
|
|
511
|
+
Ee.set(t,e=new Se(t,be.getDependencies(t)))}return e}registerFactory(t,e){Ee.set(t,e)}createChild(t){return new Ae(null,Object.assign({},this.config,t,{parentLocator:()=>this}))}jitRegister(t,e){if("function"!=typeof t)throw new Error(`Attempted to jitRegister something that is not a constructor: '${t}'. Did you forget to register this dependency?`)
|
|
512
512
|
if($e.has(t.name))throw new Error(`Attempted to jitRegister an intrinsic type: ${t.name}. Did you forget to add @inject(Key)`)
|
|
513
513
|
if(Ie(t)){const n=t.register(e)
|
|
514
514
|
if(!(n instanceof Object)||null==n.resolve){const n=e.resolvers.get(t)
|
|
@@ -629,12 +629,12 @@ this.setItemSeparator(e,n),this.setAriaCurrent(e,n)}))}}setItemSeparator(t,e){t
|
|
|
629
629
|
return t.childElementCount>0?t.querySelector("a[href]"):(null===(e=t.shadowRoot)||void 0===e?void 0:e.childElementCount)?null===(n=t.shadowRoot)||void 0===n?void 0:n.querySelector("a[href]"):null}setAriaCurrent(t,e){const n=this.findChildWithHref(t)
|
|
630
630
|
null===n&&t.hasAttribute("href")&&t instanceof _n?e?t.setAttribute("aria-current","page"):t.removeAttribute("aria-current"):null!==n&&(e?n.setAttribute("aria-current","page"):n.removeAttribute("aria-current"))}}
|
|
631
631
|
ce([C],In.prototype,"slottedBreadcrumbItems",void 0)
|
|
632
|
-
const Mn="form-associated-proxy",$n="ElementInternals",
|
|
633
|
-
function An(t){const e=class extends t{constructor(...t){super(...t),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return
|
|
632
|
+
const Mn="form-associated-proxy",$n="ElementInternals",Dn=$n in window&&"setFormValue"in window[$n].prototype,En=new WeakMap
|
|
633
|
+
function An(t){const e=class extends t{constructor(...t){super(...t),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return Dn}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels))
|
|
634
634
|
if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const t=this.proxy.labels,e=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),n=t?e.concat(Array.from(t)):e
|
|
635
|
-
return Object.freeze(n)}return d}valueChanged(t,e){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),b.queueUpdate((()=>this.classList.toggle("disabled",this.disabled)))}nameChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),b.queueUpdate((()=>this.classList.toggle("required",this.required))),this.validate()}get elementInternals(){if(!
|
|
636
|
-
let t=
|
|
637
|
-
return t||(t=this.attachInternals(),
|
|
635
|
+
return Object.freeze(n)}return d}valueChanged(t,e){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),b.queueUpdate((()=>this.classList.toggle("disabled",this.disabled)))}nameChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),b.queueUpdate((()=>this.classList.toggle("required",this.required))),this.validate()}get elementInternals(){if(!Dn)return null
|
|
636
|
+
let t=En.get(this)
|
|
637
|
+
return t||(t=this.attachInternals(),En.set(this,t)),t}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){super.disconnectedCallback(),this.proxyEventsToBlock.forEach((t=>this.proxy.removeEventListener(t,this.stopPropagation))),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(t,e,n){this.elementInternals?this.elementInternals.setValidity(t,e,n):"string"==typeof e&&this.proxy.setCustomValidity(e)}formDisabledCallback(t){this.disabled=t}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var t
|
|
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()}}
|
|
@@ -824,17 +824,17 @@ return this}}class Mi{constructor(t,e,n,i,s,o){this.container=t,this.name=e,this
|
|
|
824
824
|
/*!
|
|
825
825
|
* tabbable 5.3.3
|
|
826
826
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
827
|
-
*/var $i="undefined"==typeof Element,
|
|
827
|
+
*/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
|
|
828
828
|
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
|
|
829
829
|
if("hidden"===getComputedStyle(t).visibility)return!0
|
|
830
|
-
var s=
|
|
831
|
-
if(
|
|
832
|
-
var o=
|
|
833
|
-
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=
|
|
830
|
+
var s=Di.call(t,"details>summary:first-of-type")?t.parentElement:t
|
|
831
|
+
if(Di.call(s,"details:not([open]) *"))return!0
|
|
832
|
+
var o=Ei(t).host,r=(null==o?void 0:o.ownerDocument.contains(o))||t.ownerDocument.contains(t)
|
|
833
|
+
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)
|
|
834
834
|
if(l&&!l.shadowRoot&&!0===i(l))return Ai(t)
|
|
835
835
|
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)
|
|
836
|
-
if("LEGEND"===i.tagName)return!!
|
|
837
|
-
return!1!==
|
|
836
|
+
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")
|
|
837
|
+
return!1!==Di.call(t,Oi)&&Ti(e,t)}
|
|
838
838
|
class Fi extends qn{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var t
|
|
839
839
|
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
|
|
840
840
|
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
|
|
@@ -1016,7 +1016,7 @@ const a="radio"===n.getAttribute("role"),l=null===(s=null===(i=n.$fastController
|
|
|
1016
1016
|
return n.hasAttribute("disabled")||n.hasAttribute("hidden")||!(Ri(n)||a||l||c)?n.childElementCount?e.concat(Array.from(n.children).reduce(t.reduceFocusableItems,[])):e:(e.push(n),e)}setFocusableElements(){this.$fastController.isConnected&&this.focusableElements.length>0&&this.focusableElements.forEach(((t,e)=>{t.tabIndex=this.activeIndex===e?0:-1}))}}
|
|
1017
1017
|
ce([C],vs.prototype,"direction",void 0),ce([ft],vs.prototype,"orientation",void 0),ce([C],vs.prototype,"slottedItems",void 0),ce([C],vs.prototype,"slottedLabel",void 0),ce([C],vs.prototype,"childItems",void 0)
|
|
1018
1018
|
class bs{}ce([ft({attribute:"aria-labelledby"})],bs.prototype,"ariaLabelledby",void 0),ce([ft({attribute:"aria-label"})],bs.prototype,"ariaLabel",void 0),Ke(bs,wn),Ke(vs,re,bs)
|
|
1019
|
-
const ys="top",ws="right",xs="bottom",Cs="left",ks="start",Ss="end",_s="top-left",Is="top-right",Ms="bottom-left",$s="bottom-right",
|
|
1019
|
+
const ys="top",ws="right",xs="bottom",Cs="left",ks="start",Ss="end",_s="top-left",Is="top-right",Ms="bottom-left",$s="bottom-right",Ds="top-start",Es="top-end",As="bottom-start",Ts="bottom-end"
|
|
1020
1020
|
let Os=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()
|
|
1021
1021
|
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()
|
|
1022
1022
|
else{if(!0===this.visible)return void this.showTooltip()
|
|
@@ -1035,9 +1035,9 @@ case Ms:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="le
|
|
|
1035
1035
|
break
|
|
1036
1036
|
case $s:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="right"
|
|
1037
1037
|
break
|
|
1038
|
-
case
|
|
1038
|
+
case Ds:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="start"
|
|
1039
1039
|
break
|
|
1040
|
-
case
|
|
1040
|
+
case Es:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="end"
|
|
1041
1041
|
break
|
|
1042
1042
|
case As:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="start"
|
|
1043
1043
|
break
|
|
@@ -1103,7 +1103,7 @@ return new Ws(Us(Number(n[0]),0,255),Us(Number(n[1]),0,255),Us(Number(n[2]),0,25
|
|
|
1103
1103
|
if(null===e)return null
|
|
1104
1104
|
const n=e[1].split(",")
|
|
1105
1105
|
return 4===n.length?new Ws(Us(Number(n[0]),0,255),Us(Number(n[1]),0,255),Us(Number(n[2]),0,255),Number(n[3])):null}(e):function(t){return Gs.hasOwnProperty(t)}(e)?function(t){const e=Gs[t.toLowerCase()]
|
|
1106
|
-
return e?new Ws(e.r,e.g,e.b,e.hasOwnProperty("a")?e.a:void 0):null}(e):null}const eo="#a46eff",no="#804ad9",io="#ff8126",so="#009921",oo="#00c12b",ro="#c4000c",ao="#818386",lo="#f1f1f2",co="#f5f5f5",ho="#ffffff",uo="#363738",po="#505153",fo="#000000",mo="#161617",go="#074023",vo="#009b65",bo="#d63434",yo="#ff4b00",wo="#008557",xo="#00734b",Co="#00613f",ko="#32eb96",So="#364941",_o="#356d54",Io="#434445",Mo="#e54c8a",$o="#8e78b7",
|
|
1106
|
+
return e?new Ws(e.r,e.g,e.b,e.hasOwnProperty("a")?e.a:void 0):null}(e):null}const eo="#a46eff",no="#804ad9",io="#ff8126",so="#009921",oo="#00c12b",ro="#c4000c",ao="#818386",lo="#f1f1f2",co="#f5f5f5",ho="#ffffff",uo="#363738",po="#505153",fo="#000000",mo="#161617",go="#074023",vo="#009b65",bo="#d63434",yo="#ff4b00",wo="#008557",xo="#00734b",Co="#00613f",ko="#32eb96",So="#364941",_o="#356d54",Io="#434445",Mo="#e54c8a",$o="#8e78b7",Do="Source Sans Pro",Eo="Source Sans Pro",Ao="400",To="14px",Oo="14px",Ro="18px",Fo="18px",No="14px",Lo={light:"light",dark:"dark",color:"color"},Bo="action-rgb-partial-color",Po="application-background-color",zo="divider-background-color",Vo="header-background-color",Ho="section-background-color",Uo="button-fill-primary-color",qo="button-primary-font-color",jo="button-fill-accent-color",Wo="button-accent-block-font-color",Go="button-accent-outline-font-color",Zo="button-border-accent-outline-color",Ko="fill-selected-color",Yo="fill-selected-rgb-partial-color",Xo="fill-hover-selected-color",Jo="fill-hover-color",Qo="fill-hover-rgb-partial-color",tr="fill-down-color",er="border-color",nr="border-rgb-partial-color",ir="fail-color",sr="warning-color",or="pass-color",rr="information-color",ar="border-hover-color",lr="icon-color",cr="modal-backdrop-color",dr="popup-border-color",hr="card-border-color",ur="tag-fill-color",pr="control-height",fr="control-slim-height",mr="small-padding",gr="medium-padding",vr="standard-padding",br="large-padding",yr="label-height",wr="border-width",xr="icon-size",Cr="group-header-text-transform",kr="drawer-width",Sr="dialog-small-width",_r="dialog-small-height",Ir="dialog-small-max-height",Mr="dialog-large-width",$r="dialog-large-height",Dr="dialog-large-max-height",Er="menu-min-width",Ar="banner-gap-size",Tr="spinner-small-height",Or="spinner-medium-height",Rr="spinner-large-height",Fr="table-fit-rows-height",Nr="small-delay",Lr="medium-delay",Br="large-delay",Pr="headline-plus-1-font",zr="headline-font",Vr="table-header-font",Hr="title-plus-2-font",Ur="title-plus-1-font",qr="title-font",jr="subtitle-plus-1-font",Wr="subtitle-font",Gr="link-font",Zr="link-active-font",Kr="link-prominent-font",Yr="link-active-prominent-font",Xr="placeholder-font",Jr="body-font",Qr="body-emphasized-font",ta="body-plus-1-font",ea="body-plus-1-emphasized-font",na="group-header-font",ia="control-label-font",sa="button-label-font",oa="tooltip-caption-font",ra="tooltip-background-color",aa="error-text-font",la="table-row-border-color",ca="elevation-1-box-shadow",da="elevation-2-box-shadow",ha="elevation-3-box-shadow",ua="graph-gridline-color",pa="graph-trace-1-color",fa="graph-trace-2-color",ma="graph-trace-3-color",ga="graph-trace-4-color",va="graph-trace-5-color",ba="graph-trace-6-color",ya="graph-trace-7-color",wa="graph-trace-8-color",xa="mention-font",Ca="calendar-event-background-static-color",ka="calendar-event-background-dynamic-color",Sa="calendar-event-background-transient-color",_a="calendar-event-border-static-color",Ia="calendar-event-border-transient-color",Ma="calendar-event-static-font-color",$a="calendar-event-dynamic-font-color",Da="calendar-event-transient-font-color",Ea="calendar-event-background-hover-static-color",Aa="calendar-event-background-hover-dynamic-color",Ta="calendar-event-background-hover-transient-color",Oa="calendar-row-background-selected-color",Ra="calendar-event-fill-blocked-color",Fa="calendar-grab-handle-background-color",Na="calendar-grid-border-color",La="calendar-group-header-background-color",Ba=t=>`ni-nimble-${t}`
|
|
1107
1107
|
function Pa(...t){return t.every((t=>t instanceof HTMLElement))}const za="animationend",Va="change",Ha="ArrowDown",Ua="ArrowLeft",qa="ArrowRight",ja="ArrowUp",Wa="End",Ga="Enter",Za="Escape",Ka="Home",Ya="PageDown",Xa="PageUp",Ja=" ",Qa="Tab"
|
|
1108
1108
|
var tl
|
|
1109
1109
|
!function(t){t.ltr="ltr",t.rtl="rtl"}(tl||(tl={}))
|
|
@@ -1125,19 +1125,19 @@ return`rgba(${255*n}, ${255*i}, ${255*s}, ${e})`}const ml=yi.create(Ba(Bo)).with
|
|
|
1125
1125
|
yi.create(Ba(Vo)).withDefault((t=>uh(t,co,"#252526",go))),yi.create(Ba(Ho)).withDefault((t=>uh(t,lo,po,go))),yi.create(Ba(zo)).withDefault((t=>uh(t,lo,po,go)))
|
|
1126
1126
|
const vl=yi.create(Ba(Ko)).withDefault((t=>fl(gh(t),.2))),bl=yi.create(Ba(Yo)).withDefault((t=>dh(gh(t)))),yl=yi.create(Ba(Xo)).withDefault((t=>fl(gh(t),.15))),wl=yi.create(Ba(Jo)).withDefault((t=>fl(vh(t),.1)))
|
|
1127
1127
|
yi.create(Ba(Qo)).withDefault((t=>dh(vh(t)))),yi.create(Ba(tr)).withDefault((t=>fl(function(t){return uh(t,mo,lo,ho)}(t),.15)))
|
|
1128
|
-
const xl=yi.create(Ba(er)).withDefault((t=>fh(t))),Cl=yi.create(Ba(nr)).withDefault((t=>dh(fh(t)))),kl=yi.create(Ba(ir)).withDefault((t=>ph(t))),Sl=yi.create(Ba(sr)).withDefault((t=>function(t){return uh(t,yo,io,ho)}(t))),_l=yi.create(Ba(or)).withDefault((t=>function(t){return uh(t,so,oo,ho)}(t))),Il=yi.create(Ba(rr)).withDefault((t=>function(t){return uh(t,no,eo,ho)}(t))),Ml=yi.create(Ba(ar)).withDefault((t=>uh(t,vo,ko,ho))),$l=yi.create(Ba(lr)).withDefault((t=>uh(t,mo,lo,ho))),
|
|
1128
|
+
const xl=yi.create(Ba(er)).withDefault((t=>fh(t))),Cl=yi.create(Ba(nr)).withDefault((t=>dh(fh(t)))),kl=yi.create(Ba(ir)).withDefault((t=>ph(t))),Sl=yi.create(Ba(sr)).withDefault((t=>function(t){return uh(t,yo,io,ho)}(t))),_l=yi.create(Ba(or)).withDefault((t=>function(t){return uh(t,so,oo,ho)}(t))),Il=yi.create(Ba(rr)).withDefault((t=>function(t){return uh(t,no,eo,ho)}(t))),Ml=yi.create(Ba(ar)).withDefault((t=>uh(t,vo,ko,ho))),$l=yi.create(Ba(lr)).withDefault((t=>uh(t,mo,lo,ho))),Dl=yi.create(Ba(cr)).withDefault((t=>function(t){switch(dl.getValueFor(t)){case Lo.light:return fl(fo,.3)
|
|
1129
1129
|
case Lo.dark:case Lo.color:return fl(fo,.6)
|
|
1130
|
-
default:return fl(fo,.3)}}(t))),
|
|
1130
|
+
default:return fl(fo,.3)}}(t))),El=yi.create(Ba(dr)).withDefault((t=>fl(uh(t,mo,lo,ho),.3))),Al=yi.create(Ba(hr)).withDefault((t=>fl(uh(t,mo,lo,ho),.1)))
|
|
1131
1131
|
yi.create(Ba(ua)).withDefault((t=>fl(uh(t,mo,lo,ho),.2))),yi.create(Ba(pa)).withDefault((t=>uh(t,"#312e7f","#3cb4e7",ho))),yi.create(Ba(fa)).withDefault((t=>uh(t,"#cd1722","#ef463f",fl(ho,.7)))),yi.create(Ba(ma)).withDefault((t=>uh(t,"#499146","#76bc43",fl(ho,.4)))),yi.create(Ba(ga)).withDefault((t=>uh(t,"#8c459a","#a5d8c8",fl(ho,.25)))),yi.create(Ba(va)).withDefault((t=>uh(t,"#00685f","#00aba5",fl(ho,.55)))),yi.create(Ba(ba)).withDefault((t=>uh(t,Mo,Mo,fl(ho,.85)))),yi.create(Ba(ya)).withDefault((t=>uh(t,"#371615","#ffe76b",fl(ho,.325)))),yi.create(Ba(wa)).withDefault((t=>uh(t,$o,$o,fl(ho,.625)))),yi.create(Ba(ra)).withDefault((t=>uh(t,lo,uo,go)))
|
|
1132
1132
|
const Tl=yi.create(Ba(la)).withDefault((t=>uh(t,lo,po,go)))
|
|
1133
1133
|
yi.create(Ba(ur)).withDefault((t=>fl(uh(t,mo,lo,ho),.1)))
|
|
1134
1134
|
const Ol=yi.create(Ba(Uo)).withDefault((t=>uh(t,fl(mo,.75),fl(lo,.3),fl(ho,.3)))),Rl=yi.create(Ba(qo)).withDefault((t=>uh(t,lo,lo,ho))),Fl=yi.create(Ba(jo)).withDefault((t=>uh(t,wo,vo,fl(ho,.1)))),Nl=yi.create(Ba(Wo)).withDefault((t=>uh(t,ho,lo,ho))),Ll=yi.create(Ba(Go)).withDefault((t=>uh(t,xo,ko,ho))),Bl=yi.create(Ba(Zo)).withDefault((t=>uh(t,vo,ko,fl(ho,.3))))
|
|
1135
|
-
yi.create(Ba(Ca)).withDefault((t=>uh(t,"#e6f5f0",So,So))),yi.create(Ba(ka)).withDefault((t=>uh(t,xo,wo,wo))),yi.create(Ba(Sa)).withDefault((t=>uh(t,xo,wo,wo))),yi.create(Ba(_a)).withDefault((t=>uh(t,vo,vo,vo))),yi.create(Ba(Ia)).withDefault((t=>uh(t,vo,fl(ko,.85),fl(ko,.85)))),yi.create(Ba(Ma)).withDefault((t=>uh(t,Co,ho,ho))),yi.create(Ba($a)).withDefault((t=>uh(t,ho,ho,ho))),yi.create(Ba(
|
|
1135
|
+
yi.create(Ba(Ca)).withDefault((t=>uh(t,"#e6f5f0",So,So))),yi.create(Ba(ka)).withDefault((t=>uh(t,xo,wo,wo))),yi.create(Ba(Sa)).withDefault((t=>uh(t,xo,wo,wo))),yi.create(Ba(_a)).withDefault((t=>uh(t,vo,vo,vo))),yi.create(Ba(Ia)).withDefault((t=>uh(t,vo,fl(ko,.85),fl(ko,.85)))),yi.create(Ba(Ma)).withDefault((t=>uh(t,Co,ho,ho))),yi.create(Ba($a)).withDefault((t=>uh(t,ho,ho,ho))),yi.create(Ba(Da)).withDefault((t=>uh(t,ho,ho,ho))),yi.create(Ba(Ea)).withDefault((t=>uh(t,"#b3e1d1",_o,_o))),yi.create(Ba(Aa)).withDefault((t=>uh(t,Co,xo,xo))),yi.create(Ba(Ta)).withDefault((t=>uh(t,Co,xo,xo))),yi.create(Ba(Oa)).withDefault((t=>uh(t,fl(vo,.2),fl(ko,.2),fl(ko,.2)))),yi.create(Ba(Ra)).withDefault((t=>uh(t,fl(mo,.07),Io,Io))),yi.create(Ba(Fa)).withDefault((t=>uh(t,vo,ko,ko))),yi.create(Ba(Na)).withDefault((t=>uh(t,"#e6e6e6",po,po))),yi.create(Ba(La)).withDefault((t=>uh(t,co,fl(mo,.1),fl(mo,.1))))
|
|
1136
1136
|
const Pl=yi.create(Ba(pr)).withDefault("32px"),zl=yi.create(Ba(fr)).withDefault("24px"),Vl=yi.create(Ba(mr)).withDefault("4px"),Hl=yi.create(Ba(gr)).withDefault("8px"),Ul=yi.create(Ba(vr)).withDefault("16px"),ql=yi.create(Ba(br)).withDefault("24px")
|
|
1137
1137
|
yi.create(Ba(yr)).withDefault("16px")
|
|
1138
1138
|
const jl=yi.create(Ba(wr)).withDefault("1px"),Wl=yi.create(Ba(xr)).withDefault("16px"),Gl=yi.create(Ba(kr)).withDefault("784px"),Zl=yi.create(Ba(Sr)).withDefault("400px"),Kl=yi.create(Ba(_r)).withDefault("fit-content"),Yl=yi.create(Ba(Ir)).withDefault("600px")
|
|
1139
|
-
yi.create(Ba(Mr)).withDefault("1024px"),yi.create(Ba($r)).withDefault("680px"),yi.create(Ba(
|
|
1140
|
-
const Xl=yi.create(Ba(
|
|
1139
|
+
yi.create(Ba(Mr)).withDefault("1024px"),yi.create(Ba($r)).withDefault("680px"),yi.create(Ba(Dr)).withDefault("680px")
|
|
1140
|
+
const Xl=yi.create(Ba(Er)).withDefault("176px")
|
|
1141
1141
|
yi.create(Ba(Ar)).withDefault("1px")
|
|
1142
1142
|
const Jl=yi.create(Ba(Tr)).withDefault("16px")
|
|
1143
1143
|
yi.create(Ba(Or)).withDefault("32px"),yi.create(Ba(Rr)).withDefault("64px")
|
|
@@ -1147,10 +1147,10 @@ const tc=yi.create(Ba(da)).withDefault((t=>`0px 2px 4px ${fl(uh(t,fo,fo,fo),.16)
|
|
|
1147
1147
|
hh(zr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Noto Serif","400","25px","32px"),hh(Pr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Noto Serif","400","29.1px","40px"),hh(Hr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","25px","32px")
|
|
1148
1148
|
const[nc,ic,sc,oc,rc,ac,lc]=hh(Ur,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","22px","28px")
|
|
1149
1149
|
hh(qr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","19px","24px")
|
|
1150
|
-
const[cc,dc,hc,uc,pc,fc,mc]=hh(jr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","300","16px","20px"),[gc,vc,bc,yc,wc,xc,Cc]=hh(Wr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","300","12.8px","16px"),[kc,Sc,_c,Ic,Mc,$c,
|
|
1150
|
+
const[cc,dc,hc,uc,pc,fc,mc]=hh(jr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","300","16px","20px"),[gc,vc,bc,yc,wc,xc,Cc]=hh(Wr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","300","12.8px","16px"),[kc,Sc,_c,Ic,Mc,$c,Dc]=hh(Gr,(t=>mh(t)),(t=>fl(mh(t),.3)),Eo,Ao,Oo,Fo),[Ec,Ac,Tc,Oc,Rc,Fc,Nc]=hh(Zr,(t=>uh(t,vo,vo,fl(ho,.75))),(t=>fl(mh(t),.3)),Eo,Ao,Oo,Fo),[Lc,Bc,Pc,zc,Vc,Hc,Uc]=hh(Kr,(t=>uh(t,xo,ko,ho)),(t=>fl(mh(t),.3)),Eo,Ao,Oo,Fo),[qc,jc,Wc,Gc,Zc,Kc,Yc]=hh(Yr,(t=>uh(t,vo,vo,fl(ho,.75))),(t=>fl(mh(t),.3)),Eo,Ao,Oo,Fo),[Xc,Jc,Qc,td,ed,nd,id]=hh(Xr,(t=>fl(mh(t),.6)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","14px","18px"),[sd,od,rd,ad,ld,cd,dd]=hh(Jr,(t=>mh(t)),(t=>fl(mh(t),.3)),Do,"400",To,Ro),[hd,ud,pd,fd,md,gd,vd]=hh(Qr,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","14px","18px")
|
|
1151
1151
|
hh(ta,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","16px","16px"),hh(ea,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","16px","16px")
|
|
1152
|
-
const[bd,yd,wd,xd,Cd,kd,Sd]=hh(na,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","11px","16px"),[_d,Id,Md,$d,Ed,
|
|
1153
|
-
hh(xa,(t=>uh(t,wo,ko,ko)),(t=>fl(mh(t),.3)),
|
|
1152
|
+
const[bd,yd,wd,xd,Cd,kd,Sd]=hh(na,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","11px","16px"),[_d,Id,Md,$d,Dd,Ed,Ad]=hh(ia,(t=>fl(mh(t),.6)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","11px","16px"),[Td,Od,Rd,Fd,Nd,Ld,Bd]=hh(sa,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","600","14px","16px"),[Pd,zd,Vd,Hd,Ud,qd,jd]=hh(oa,(t=>mh(t)),(t=>fl(mh(t),.3)),"Source Sans Pro","400","11px",No),[Wd,Gd,Zd,Kd,Yd,Xd,Jd]=hh(aa,(t=>ph(t)),(t=>fl(ph(t),.3)),"Source Sans Pro","400","11px",No),[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",No)
|
|
1153
|
+
hh(xa,(t=>uh(t,wo,ko,ko)),(t=>fl(mh(t),.3)),Do,"600",To,Ro)
|
|
1154
1154
|
const rh=yi.create(Ba(Cr)).withDefault("uppercase"),ah=yi.create(Ba(Nr)).withDefault("0.075s"),lh=yi.create(Ba(Lr)).withDefault("0.15s"),ch=yi.create(Ba(Br)).withDefault("0.25s")
|
|
1155
1155
|
function dh(t){const{r:e,g:n,b:i}=Qs(t)
|
|
1156
1156
|
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")
|
|
@@ -1304,7 +1304,7 @@ const wh=yh.compose({baseName:"anchor",baseClass:xn,template:(t,e)=>Q`${""}<div
|
|
|
1304
1304
|
></span></a></div>`,styles:bh,shadowOptions:{delegatesFocus:!0}})
|
|
1305
1305
|
_i.getOrCreate().withPrefix("nimble").register(wh())
|
|
1306
1306
|
const xh="nimble-anchor",Ch="outline",kh="ghost",Sh="block",_h="primary"
|
|
1307
|
-
class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(t){x.getNotifier(t).subscribe(this,this.propertyName),this.handleChange(t,this.propertyName)}unbind(t){x.getNotifier(t).unsubscribe(this,this.propertyName),t.$fastController.removeStyles(this.styles)}handleChange(t,e){const n=t[e];(Array.isArray(this.value)?this.value.includes(n):this.value===n)?t.$fastController.addStyles(this.styles):t.$fastController.removeStyles(this.styles)}}function Mh(t,e){return new Ih("appearance",t,e)}const $h=
|
|
1307
|
+
class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(t){x.getNotifier(t).subscribe(this,this.propertyName),this.handleChange(t,this.propertyName)}unbind(t){x.getNotifier(t).unsubscribe(this,this.propertyName),t.$fastController.removeStyles(this.styles)}handleChange(t,e){const n=t[e];(Array.isArray(this.value)?this.value.includes(n):this.value===n)?t.$fastController.addStyles(this.styles):t.$fastController.removeStyles(this.styles)}}function Mh(t,e){return new Ih("appearance",t,e)}const $h=Dt`
|
|
1308
1308
|
display: inline-block;
|
|
1309
1309
|
height: 1px;
|
|
1310
1310
|
width: 1px;
|
|
@@ -1314,7 +1314,7 @@ class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1314
1314
|
clip-path: inset(50%);
|
|
1315
1315
|
overflow: hidden;
|
|
1316
1316
|
padding: 0;
|
|
1317
|
-
`,
|
|
1317
|
+
`,Dh=Mt`
|
|
1318
1318
|
@layer base, checked, hover, focusVisible, active, disabled, top;
|
|
1319
1319
|
|
|
1320
1320
|
@layer base {
|
|
@@ -1529,7 +1529,7 @@ class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1529
1529
|
border-color: rgba(${Cl}, 0.1);
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
|
-
`)),
|
|
1532
|
+
`)),Eh=Mt``.withBehaviors(Mh(Ch,Mt`
|
|
1533
1533
|
@layer base {
|
|
1534
1534
|
:host([appearance-variant='primary']) .control {
|
|
1535
1535
|
border-color: ${ml};
|
|
@@ -1591,8 +1591,8 @@ class Ih{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1591
1591
|
}
|
|
1592
1592
|
}
|
|
1593
1593
|
`)),Ah=Mt`
|
|
1594
|
-
${Eh}
|
|
1595
1594
|
${Dh}
|
|
1595
|
+
${Eh}
|
|
1596
1596
|
|
|
1597
1597
|
.control {
|
|
1598
1598
|
text-decoration: none;
|
|
@@ -1957,7 +1957,7 @@ const Hh=Vh.compose({baseName:"anchor-tabs",template:(t,e)=>Q`
|
|
|
1957
1957
|
${ae(0,e)}
|
|
1958
1958
|
`,styles:zh,shadowOptions:{delegatesFocus:!1}})
|
|
1959
1959
|
_i.getOrCreate().withPrefix("nimble").register(Hh())
|
|
1960
|
-
const Uh=
|
|
1960
|
+
const Uh=Dt`
|
|
1961
1961
|
user-select: none;
|
|
1962
1962
|
-webkit-user-select: none;
|
|
1963
1963
|
`,qh=Mt`
|
|
@@ -2244,8 +2244,8 @@ e&&dl.unsubscribe(e)}}const tu=(t,e)=>new Qh(t,e),eu=Mt`
|
|
|
2244
2244
|
background: ${fl(ho,.3)};
|
|
2245
2245
|
}
|
|
2246
2246
|
`)),nu=Mt`
|
|
2247
|
-
${Eh}
|
|
2248
2247
|
${Dh}
|
|
2248
|
+
${Eh}
|
|
2249
2249
|
`
|
|
2250
2250
|
class iu extends Fn{constructor(){super(...arguments),this.appearance=Ch,this.contentHidden=!1}}t([ft],iu.prototype,"appearance",void 0),t([ft({attribute:"appearance-variant"})],iu.prototype,"appearanceVariant",void 0),t([ft({attribute:"content-hidden",mode:"boolean"})],iu.prototype,"contentHidden",void 0),t([ft({attribute:"tabindex",converter:ut})],iu.prototype,"tabIndex",void 0)
|
|
2251
2251
|
const su=iu.compose({baseName:"button",baseClass:Fn,template:(t,e)=>Q`
|
|
@@ -2295,7 +2295,7 @@ const su=iu.compose({baseName:"button",baseClass:Fn,template:(t,e)=>Q`
|
|
|
2295
2295
|
</button>
|
|
2296
2296
|
`,styles:nu,shadowOptions:{delegatesFocus:!0}})
|
|
2297
2297
|
_i.getOrCreate().withPrefix("nimble").register(su())
|
|
2298
|
-
const ou="nimble-button",ru={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>'},au={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>'},lu={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>'},cu={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>'},du={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>'},hu={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>'},uu={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>'},pu={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>'},fu={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>'},mu={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>'},gu={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>'},vu={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>'},bu={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>'},yu={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>'},wu={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>'},xu={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>'},Cu={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>'},ku={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>'},Su={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>'},_u={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>'},Iu={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>'},Mu={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>'},$u={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>'},Eu={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>'},Du={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>'},Au={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>'},Tu={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>'},Ou={name:"bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 13v-2h12v2Zm0-4V7h12v2Zm0-4V3h12v2Z" class="cls-1"/></svg>'},Ru={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 14a2.05 2.05 0 0 1-2-2h4a2.05 2.05 0 0 1-2 2m-5.25-3s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.297.098 2.145.587 2.25 1.43v.483c0 .32.108.426.183.463H11s.25 0 .25.483v.02s.5 4.92 1.5 4.92c.5 0 .5.745.5.745Z" class="cls-1"/></svg>'},Fu={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>'},Nu={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>'},Lu={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>'},Bu={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>'},Pu={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>'},zu={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>'},Vu={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>'},Hu={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>'},Uu={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>'},qu={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>'},ju={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>'},Wu={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>'},Gu={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>'},Zu={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>'},Ku={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>'},Yu={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>'},Xu={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>'},Ju={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>'},Qu={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>'},tp={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>'},ep={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>'},np={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>'},ip={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>'},sp={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>'},op={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>'},rp={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>'},ap={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>'},lp={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>'},cp={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>'},dp={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>'},hp={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>'},up={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>'},pp={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>'},fp={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>'},mp={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>'},gp={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>'},vp={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>'},bp={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>'},yp={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>'},wp={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>'},xp={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>'},Cp={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>'},kp={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>'},Sp={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>'},_p={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>'},Ip={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>'},Mp={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>'},$p={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>'},Ep={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>'},Dp={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>'},Ap={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>'},Tp={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>'},Op={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>'},Rp={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>'},Fp={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>'},Np={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>'},Lp={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>'},Bp={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>'},Pp={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>'},zp={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>'},Vp={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>'},Hp={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>'},Up={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>'},qp={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>'},jp={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>'},Wp={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>'},Gp={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>'},Zp={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>'},Kp={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>'},Yp={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>'},Xp={name:"floppy_disk_pen_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.17 11.108 7.299 11H7V9H5v2H4V8h6v.696l1.626-1.386c.107-.09.228-.155.355-.206L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497 3.136.001zM3 7V4h8v3z" class="cls-2"/><path d="M12.275 8.07c.218-.185.693-.008 1.205.552s.635 1.038.418 1.223l-.92.784-1.621-1.775zm-4.92 6.113 1.98-.899-.985.164.043-.94-.32.161.104-.652-1.17 1.786zm2.212-.645L6 15l1.945-3.236 2.1-1.791 1.622 1.774zm2.862-2.49-1.622-1.774c-.118-.13.148-.349.262-.224l1.623 1.775c.117.128-.15.348-.263.224m-.522.452-1.622-1.775c-.118-.129.148-.349.262-.223l1.623 1.774c.117.128-.15.348-.263.224" class="cls-1"/></svg>'},Jp={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>'},Qp={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>'},tf={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>'},ef={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>'},nf={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>'},sf={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>'},of={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>'},rf={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>'},af={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>'},lf={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>'},cf={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>'},df={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>'},hf={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>'},uf={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>'},pf={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>'},ff={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>'},mf={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>'},gf={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>'},vf={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>'},bf={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>'},yf={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>'},wf={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>'},xf={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>'},Cf={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>'},kf={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>'},Sf={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>'},_f={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>'},If={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>'},Mf={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>'},$f={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>'},Ef={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>'},Df={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>'},Af={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>'},Tf={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>'},Of={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>'},Rf={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>'},Ff={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>'},Nf={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>'},Lf={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>'},Bf={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>'},Pf={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>'},zf={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>'},Vf={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>'},Hf={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.413 2.674c.326-.288 1.04-.013 1.807.857.768.869.952 1.61.626 1.898l-1.378 1.218-2.433-2.757Zm-7.381 9.493 2.97-1.396-1.477.254.064-1.459-.48.25.156-1.013-1.754 2.774Zm3.319-1.002L2 13.435 4.917 8.41l3.15-2.78L10.5 8.383Zm4.293-3.866L9.21 4.544c-.177-.202.222-.543.394-.349l2.434 2.756c.175.2-.224.54-.394.348m-.783.7L8.428 5.244c-.178-.201.22-.542.393-.347l2.433 2.755c.176.199-.223.54-.393.347" class="cls-1"/></svg>'},Uf={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>'},qf={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>'},jf={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>'},Wf={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>'},Gf={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>'},Zf={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>'},Kf={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>'},Yf={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>'},Xf={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>'},Jf={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>'},Qf={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>'},tm={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>'},em={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>'},nm={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>'},im={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>'},sm={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>'},om={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>'},rm={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>'},am={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>'},lm={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>'},cm={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>'},dm={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>'},hm={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>'},um={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>'},pm={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>'},fm={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>'},mm={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>'},gm={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>'},vm={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>'},bm={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>'},ym={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>'},wm={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>'},xm={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>'},Cm={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>'},km={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>'},Sm={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>'},_m={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>'},Im={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>'},Mm={name:"true_false_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.4 3.003H2.6a1.6 1.6 0 0 0-1.6 1.6v6.8a1.595 1.595 0 0 0 1.6 1.594h10.8a1.595 1.595 0 0 0 1.6-1.594v-6.8a1.6 1.6 0 0 0-1.6-1.6M7.587 6.58H6.141v3.736H4.946V6.58H3.5v-.896h4.087Zm4.913 0h-2.13v.862h1.974v.896H10.37v1.978H9.181V5.684H12.5Z" class="cls-1"/></svg>'},$m={name:"two_squares_in_brackets",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 4h5v5H4zm6 3v3H7v2h5V7zM5 3V2H2v12h3v-1H3V3zm8-1h-2v1h2v10h-2v1h3V2z" class="cls-1"/></svg>'},Em={name:"two_triangles_between_lines",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.11 2.11v12h2v-12zm12 0v12h2v-12zm-6 8.974-3-3 3-3zm1.925-5.948 3 3-3 3z" class="cls-1"/></svg>'},Dm={name:"unlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.126 8.585c-.581.123-1.117.241-1.362.303a1.55 1.55 0 0 0-1.182 1.51l.01.155.021.193a1.7 1.7 0 0 0 .216.54l.02.038.105.134.127.144.054.047a1.5 1.5 0 0 0 .992.36h.049a1.3 1.3 0 0 0 .224-.034l.03.015.006-.001q.694-.134 1.387-.287l.343 1.538c-.488.11-.976.221-1.467.314a3 3 0 0 1-.571.053 3.15 3.15 0 0 1-2.99-2.258l-.011-.045a3 3 0 0 1-.076-.35 3 3 0 0 1-.03-.206l-.004-.089a3 3 0 0 1-.016-.336A3.16 3.16 0 0 1 4.35 7.356c.272-.068.808-.203.802-.206l.623-.137Zm4.31-1.544-.353 1.575c.737.176 1.38.334 1.413.346a1.51 1.51 0 0 1 .789.768l.029.066.053.185.038.164.002.045a1.7 1.7 0 0 1-.035.58l-.064.185-.056.142a1.55 1.55 0 0 1-1.4.893 1.7 1.7 0 0 1-.313-.03 55 55 0 0 1-1.15-.24l-.347 1.55.406.097-.013-.017c.276.057.55.118.826.173a3 3 0 0 0 .578.056 3.19 3.19 0 0 0 2.811-1.74 3 3 0 0 0 .129-.311l.033-.083.061-.197a3 3 0 0 0 .082-.351l.008-.044a3.13 3.13 0 0 0-2.281-3.513c-.297-.077-.777-.19-1.245-.299M7.932 2.393 6.875 6.075h.75l.3 3.032 1.2-3.782h-.75Z" class="cls-1"/></svg>'},Am={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>'},Tm={name:"up_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 10.828V12H4V8h1.172l2-2H2v8h8V8.828z" class="cls-1"/><path d="m14.042 1.97-2.063 6.281-.49-2.344-4.117 4.122-1.414-1.414 4.102-4.102-2.324-.504z" class="cls-1"/></svg>'},Om={name:"upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 9v5H2V9h1v4h10V9ZM7.982 2 5 7.9l2.004-1.312L7 11h2V6.613L11 7.9Z" class="cls-1"/></svg>'},Rm={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>'},Fm={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>'},Nm={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>'},Lm={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>'},Bm={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>'},Pm={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>'},zm={name:"window_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V5h10ZM7 8H4V6h3Zm5 2H4V9h8Zm0 2H4v-1h8Z" class="cls-1"/></svg>'},Vm={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>'},Hm={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>'},Um={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>'},qm=Q`<div
|
|
2298
|
+
const ou="nimble-button",ru={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>'},au={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>'},lu={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>'},cu={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>'},du={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>'},hu={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>'},uu={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>'},pu={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>'},fu={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>'},mu={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>'},gu={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>'},vu={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>'},bu={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>'},yu={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>'},wu={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>'},xu={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>'},Cu={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>'},ku={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>'},Su={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>'},_u={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>'},Iu={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>'},Mu={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>'},$u={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>'},Du={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>'},Eu={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>'},Au={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>'},Tu={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>'},Ou={name:"bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 13v-2h12v2Zm0-4V7h12v2Zm0-4V3h12v2Z" class="cls-1"/></svg>'},Ru={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 14a2.05 2.05 0 0 1-2-2h4a2.05 2.05 0 0 1-2 2m-5.25-3s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.297.098 2.145.587 2.25 1.43v.483c0 .32.108.426.183.463H11s.25 0 .25.483v.02s.5 4.92 1.5 4.92c.5 0 .5.745.5.745Z" class="cls-1"/></svg>'},Fu={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>'},Nu={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>'},Lu={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>'},Bu={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>'},Pu={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>'},zu={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>'},Vu={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>'},Hu={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>'},Uu={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>'},qu={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>'},ju={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>'},Wu={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>'},Gu={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>'},Zu={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>'},Ku={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>'},Yu={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>'},Xu={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>'},Ju={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>'},Qu={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>'},tp={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>'},ep={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>'},np={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>'},ip={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>'},sp={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>'},op={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>'},rp={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>'},ap={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>'},lp={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>'},cp={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>'},dp={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>'},hp={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>'},up={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>'},pp={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>'},fp={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>'},mp={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>'},gp={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>'},vp={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>'},bp={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>'},yp={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>'},wp={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>'},xp={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>'},Cp={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>'},kp={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>'},Sp={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>'},_p={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>'},Ip={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>'},Mp={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>'},$p={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>'},Dp={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>'},Ep={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>'},Ap={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>'},Tp={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>'},Op={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>'},Rp={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>'},Fp={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>'},Np={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>'},Lp={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>'},Bp={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>'},Pp={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>'},zp={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>'},Vp={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>'},Hp={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>'},Up={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>'},qp={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>'},jp={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>'},Wp={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>'},Gp={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>'},Zp={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>'},Kp={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>'},Yp={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>'},Xp={name:"floppy_disk_pen_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.17 11.108 7.299 11H7V9H5v2H4V8h6v.696l1.626-1.386c.107-.09.228-.155.355-.206L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497 3.136.001zM3 7V4h8v3z" class="cls-2"/><path d="M12.275 8.07c.218-.185.693-.008 1.205.552s.635 1.038.418 1.223l-.92.784-1.621-1.775zm-4.92 6.113 1.98-.899-.985.164.043-.94-.32.161.104-.652-1.17 1.786zm2.212-.645L6 15l1.945-3.236 2.1-1.791 1.622 1.774zm2.862-2.49-1.622-1.774c-.118-.13.148-.349.262-.224l1.623 1.775c.117.128-.15.348-.263.224m-.522.452-1.622-1.775c-.118-.129.148-.349.262-.223l1.623 1.774c.117.128-.15.348-.263.224" class="cls-1"/></svg>'},Jp={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>'},Qp={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>'},tf={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>'},ef={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>'},nf={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>'},sf={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>'},of={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>'},rf={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>'},af={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>'},lf={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>'},cf={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>'},df={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>'},hf={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>'},uf={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>'},pf={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>'},ff={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>'},mf={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>'},gf={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>'},vf={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>'},bf={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>'},yf={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>'},wf={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>'},xf={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>'},Cf={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>'},kf={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>'},Sf={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>'},_f={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>'},If={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>'},Mf={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>'},$f={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>'},Df={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>'},Ef={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>'},Af={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>'},Tf={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>'},Of={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>'},Rf={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>'},Ff={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>'},Nf={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>'},Lf={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>'},Bf={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>'},Pf={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>'},zf={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>'},Vf={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>'},Hf={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.413 2.674c.326-.288 1.04-.013 1.807.857.768.869.952 1.61.626 1.898l-1.378 1.218-2.433-2.757Zm-7.381 9.493 2.97-1.396-1.477.254.064-1.459-.48.25.156-1.013-1.754 2.774Zm3.319-1.002L2 13.435 4.917 8.41l3.15-2.78L10.5 8.383Zm4.293-3.866L9.21 4.544c-.177-.202.222-.543.394-.349l2.434 2.756c.175.2-.224.54-.394.348m-.783.7L8.428 5.244c-.178-.201.22-.542.393-.347l2.433 2.755c.176.199-.223.54-.393.347" class="cls-1"/></svg>'},Uf={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>'},qf={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>'},jf={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>'},Wf={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>'},Gf={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>'},Zf={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>'},Kf={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>'},Yf={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>'},Xf={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>'},Jf={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>'},Qf={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>'},tm={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>'},em={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>'},nm={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>'},im={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>'},sm={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>'},om={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>'},rm={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>'},am={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>'},lm={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>'},cm={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>'},dm={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>'},hm={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>'},um={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>'},pm={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>'},fm={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>'},mm={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>'},gm={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>'},vm={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>'},bm={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>'},ym={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>'},wm={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>'},xm={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>'},Cm={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>'},km={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>'},Sm={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>'},_m={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>'},Im={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>'},Mm={name:"true_false_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.4 3.003H2.6a1.6 1.6 0 0 0-1.6 1.6v6.8a1.595 1.595 0 0 0 1.6 1.594h10.8a1.595 1.595 0 0 0 1.6-1.594v-6.8a1.6 1.6 0 0 0-1.6-1.6M7.587 6.58H6.141v3.736H4.946V6.58H3.5v-.896h4.087Zm4.913 0h-2.13v.862h1.974v.896H10.37v1.978H9.181V5.684H12.5Z" class="cls-1"/></svg>'},$m={name:"two_squares_in_brackets",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 4h5v5H4zm6 3v3H7v2h5V7zM5 3V2H2v12h3v-1H3V3zm8-1h-2v1h2v10h-2v1h3V2z" class="cls-1"/></svg>'},Dm={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>'},Em={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>'},Am={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>'},Tm={name:"up_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 10.828V12H4V8h1.172l2-2H2v8h8V8.828z" class="cls-1"/><path d="m14.042 1.97-2.063 6.281-.49-2.344-4.117 4.122-1.414-1.414 4.102-4.102-2.324-.504z" class="cls-1"/></svg>'},Om={name:"upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 9v5H2V9h1v4h10V9ZM7.982 2 5 7.9l2.004-1.312L7 11h2V6.613L11 7.9Z" class="cls-1"/></svg>'},Rm={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>'},Fm={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>'},Nm={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>'},Lm={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>'},Bm={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>'},Pm={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>'},zm={name:"window_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V5h10ZM7 8H4V6h3Zm5 2H4V9h8Zm0 2H4v-1h8Z" class="cls-1"/></svg>'},Vm={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>'},Hm={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>'},Um={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>'},qm=Q`<div
|
|
2299
2299
|
class="icon"
|
|
2300
2300
|
aria-hidden="true"
|
|
2301
2301
|
:innerHTML=${t=>t.icon.data}
|
|
@@ -2733,8 +2733,8 @@ const $g=Mt`
|
|
|
2733
2733
|
--ni-private-card-button-border-selected-color: ${fl(ho,.6)};
|
|
2734
2734
|
}
|
|
2735
2735
|
`))
|
|
2736
|
-
class
|
|
2737
|
-
const Dg
|
|
2736
|
+
class Dg extends Fn{constructor(){super(...arguments),this.selected=!1}}t([ft({mode:"boolean"})],Dg.prototype,"selected",void 0)
|
|
2737
|
+
const Eg=Dg.compose({baseName:"card-button",template:(t,e)=>Q`
|
|
2738
2738
|
<button
|
|
2739
2739
|
class="control"
|
|
2740
2740
|
part="control"
|
|
@@ -2779,7 +2779,7 @@ const Dg=Eg.compose({baseName:"card-button",template:(t,e)=>Q`
|
|
|
2779
2779
|
${ae(0,e)}
|
|
2780
2780
|
</button>
|
|
2781
2781
|
`,styles:$g,shadowOptions:{delegatesFocus:!0}})
|
|
2782
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
2782
|
+
_i.getOrCreate().withPrefix("nimble").register(Eg())
|
|
2783
2783
|
const Ag=Mt`
|
|
2784
2784
|
${zs("inline-flex")}
|
|
2785
2785
|
|
|
@@ -2915,8 +2915,8 @@ const Og=Tg.compose({baseName:"checkbox",baseClass:zn,template:(t,e)=>Q`
|
|
|
2915
2915
|
`,styles:Ag,checkedIndicator:Qu.data,indeterminateIndicator:Tf.data})
|
|
2916
2916
|
_i.getOrCreate().withPrefix("nimble").register(Og())
|
|
2917
2917
|
const Rg="nimble-checkbox",Fg=Mt`
|
|
2918
|
-
${Eh}
|
|
2919
2918
|
${Dh}
|
|
2919
|
+
${Eh}
|
|
2920
2920
|
|
|
2921
2921
|
@layer checked {
|
|
2922
2922
|
.control[aria-pressed='true'] {
|
|
@@ -3197,7 +3197,7 @@ const zg="nimble-icon-arrow-expander-down",Vg="above",Hg="underline",Ug="outline
|
|
|
3197
3197
|
)
|
|
3198
3198
|
);
|
|
3199
3199
|
box-shadow: ${tc};
|
|
3200
|
-
border: ${jl} solid ${
|
|
3200
|
+
border: ${jl} solid ${El};
|
|
3201
3201
|
background-color: ${gl};
|
|
3202
3202
|
}
|
|
3203
3203
|
|
|
@@ -3388,7 +3388,7 @@ const zg="nimble-icon-arrow-expander-down",Vg="above",Hg="underline",Ug="outline
|
|
|
3388
3388
|
}
|
|
3389
3389
|
`))
|
|
3390
3390
|
class Kg{constructor(t,e){this.target=t,this.propertyName=e}bind(t){this.source=t,this.setSourceValue(!1),this.mouseOverHandler=()=>{const t=this.target.offsetWidth<this.target.scrollWidth
|
|
3391
|
-
this.setSourceValue(t)},this.mouseOutHandler=()=>{this.setSourceValue(!1)},this.target.addEventListener("mouseover",this.mouseOverHandler),this.target.addEventListener("mouseout",this.mouseOutHandler)}unbind(){this.source=void 0,this.target.removeEventListener("mouseover",this.mouseOverHandler),this.target.removeEventListener("mouseout",this.mouseOutHandler)}setSourceValue(t){this.source[this.propertyName]=t}}function Yg(t){return new
|
|
3391
|
+
this.setSourceValue(t)},this.mouseOutHandler=()=>{this.setSourceValue(!1)},this.target.addEventListener("mouseover",this.mouseOverHandler),this.target.addEventListener("mouseout",this.mouseOutHandler)}unbind(){this.source=void 0,this.target.removeEventListener("mouseover",this.mouseOverHandler),this.target.removeEventListener("mouseout",this.mouseOutHandler)}setSourceValue(t){this.source[this.propertyName]=t}}function Yg(t){return new D("nimble-overflow",Kg,t)}let Xg=class extends Fi{}
|
|
3392
3392
|
class Jg extends(An(Xg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Qg extends Jg{constructor(){super(...arguments),this.appearance=Hg,this.errorVisible=!1,this.open=!1,this.filteredOptions=[],this.hasOverflow=!1,this.listboxId=nl("listbox-"),this.availableViewportHeight=0,this.valueUpdatedByInput=!1,this._value="",this.filter="",this.forcedPosition=!1}get value(){return x.track(this,"value"),this._value}set value(t){const e=this._value
|
|
3393
3393
|
let n=t
|
|
3394
3394
|
if(this.$fastController.isConnected&&this.options){const e=this.findIndexOfValidOption(t),i=this.options[this.selectedIndex]?.text,s=this.options[e]?.text
|
|
@@ -3560,7 +3560,7 @@ const ev=Symbol("user dismissed"),nv=Mt`
|
|
|
3560
3560
|
}
|
|
3561
3561
|
|
|
3562
3562
|
dialog::backdrop {
|
|
3563
|
-
background: ${
|
|
3563
|
+
background: ${Dl};
|
|
3564
3564
|
}
|
|
3565
3565
|
|
|
3566
3566
|
header {
|
|
@@ -3696,7 +3696,7 @@ const rv=Mt`
|
|
|
3696
3696
|
}
|
|
3697
3697
|
|
|
3698
3698
|
dialog::backdrop {
|
|
3699
|
-
background: ${
|
|
3699
|
+
background: ${Dl};
|
|
3700
3700
|
}
|
|
3701
3701
|
|
|
3702
3702
|
dialog.animating::backdrop {
|
|
@@ -3834,8 +3834,8 @@ const fv="nimble-icon-arrow-up"
|
|
|
3834
3834
|
Gm("icon-arrow-up-left-and-arrow-down-right",class extends Wm{constructor(){super(Iu)}})
|
|
3835
3835
|
Gm("icon-arrow-up-rectangle",class extends Wm{constructor(){super(Mu)}})
|
|
3836
3836
|
Gm("icon-arrow-up-right-and-arrow-down-left",class extends Wm{constructor(){super($u)}})
|
|
3837
|
-
Gm("icon-arrow-up-right-from-square",class extends Wm{constructor(){super(
|
|
3838
|
-
Gm("icon-arrows-maximize",class extends Wm{constructor(){super(
|
|
3837
|
+
Gm("icon-arrow-up-right-from-square",class extends Wm{constructor(){super(Du)}})
|
|
3838
|
+
Gm("icon-arrows-maximize",class extends Wm{constructor(){super(Eu)}})
|
|
3839
3839
|
Gm("icon-arrows-repeat",class extends Wm{constructor(){super(Au)}})
|
|
3840
3840
|
Gm("icon-at",class extends Wm{constructor(){super(Tu)}})
|
|
3841
3841
|
Gm("icon-bars",class extends Wm{constructor(){super(Ou)}})
|
|
@@ -3889,8 +3889,8 @@ Gm("icon-copy-text",class extends Wm{constructor(){super(_p)}})
|
|
|
3889
3889
|
Gm("icon-dashboard-builder",class extends Wm{constructor(){super(Ip)}})
|
|
3890
3890
|
Gm("icon-dashboard-builder-legend",class extends Wm{constructor(){super(Mp)}})
|
|
3891
3891
|
Gm("icon-dashboard-builder-templates",class extends Wm{constructor(){super($p)}})
|
|
3892
|
-
Gm("icon-dashboard-builder-tile",class extends Wm{constructor(){super(
|
|
3893
|
-
Gm("icon-database",class extends Wm{constructor(){super(
|
|
3892
|
+
Gm("icon-dashboard-builder-tile",class extends Wm{constructor(){super(Dp)}})
|
|
3893
|
+
Gm("icon-database",class extends Wm{constructor(){super(Ep)}})
|
|
3894
3894
|
Gm("icon-database-check",class extends Wm{constructor(){super(Ap)}})
|
|
3895
3895
|
Gm("icon-debug",class extends Wm{constructor(){super(Tp)}})
|
|
3896
3896
|
Gm("icon-desktop",class extends Wm{constructor(){super(Op)}})
|
|
@@ -3942,8 +3942,8 @@ Gm("icon-list",class extends Wm{constructor(){super(If)}})
|
|
|
3942
3942
|
const vv="nimble-icon-list"
|
|
3943
3943
|
Gm("icon-list-tree",class extends Wm{constructor(){super(Mf)}})
|
|
3944
3944
|
Gm("icon-list-tree-database",class extends Wm{constructor(){super($f)}})
|
|
3945
|
-
Gm("icon-lock",class extends Wm{constructor(){super(
|
|
3946
|
-
Gm("icon-magnifying-glass",class extends Wm{constructor(){super(
|
|
3945
|
+
Gm("icon-lock",class extends Wm{constructor(){super(Df)}})
|
|
3946
|
+
Gm("icon-magnifying-glass",class extends Wm{constructor(){super(Ef)}})
|
|
3947
3947
|
const bv="nimble-icon-magnifying-glass"
|
|
3948
3948
|
Gm("icon-markdown",class extends Wm{constructor(){super(Af)}})
|
|
3949
3949
|
Gm("icon-minus",class extends Wm{constructor(){super(Tf)}})
|
|
@@ -4000,8 +4000,8 @@ const Cv="nimble-icon-triangle-two-lines-horizontal"
|
|
|
4000
4000
|
Gm("icon-true-false-rectangle",class extends Wm{constructor(){super(Mm)}})
|
|
4001
4001
|
Gm("icon-two-squares-in-brackets",class extends Wm{constructor(){super($m)}})
|
|
4002
4002
|
const kv="nimble-icon-two-squares-in-brackets"
|
|
4003
|
-
Gm("icon-two-triangles-between-lines",class extends Wm{constructor(){super(
|
|
4004
|
-
Gm("icon-unlink",class extends Wm{constructor(){super(
|
|
4003
|
+
Gm("icon-two-triangles-between-lines",class extends Wm{constructor(){super(Dm)}})
|
|
4004
|
+
Gm("icon-unlink",class extends Wm{constructor(){super(Em)}})
|
|
4005
4005
|
Gm("icon-unlock",class extends Wm{constructor(){super(Am)}})
|
|
4006
4006
|
Gm("icon-up-right-from-square",class extends Wm{constructor(){super(Tm)}})
|
|
4007
4007
|
Gm("icon-upload",class extends Wm{constructor(){super(Om)}})
|
|
@@ -4024,7 +4024,7 @@ null==n?e.deleteValueFor(this.themeProvider):e.setValueFor(this.themeProvider,n)
|
|
|
4024
4024
|
class Mv extends Sv{constructor(){super(...arguments),this.supportedLabels=Iv}}t([ft({attribute:"popup-dismiss"})],Mv.prototype,"popupDismiss",void 0),t([ft({attribute:"numeric-decrement"})],Mv.prototype,"numericDecrement",void 0),t([ft({attribute:"numeric-increment"})],Mv.prototype,"numericIncrement",void 0),t([ft({attribute:"popup-icon-error"})],Mv.prototype,"popupIconError",void 0),t([ft({attribute:"popup-icon-warning"})],Mv.prototype,"popupIconWarning",void 0),t([ft({attribute:"popup-icon-information"})],Mv.prototype,"popupIconInformation",void 0),t([ft({attribute:"filter-search"})],Mv.prototype,"filterSearch",void 0),t([ft({attribute:"filter-no-results"})],Mv.prototype,"filterNoResults",void 0),t([ft({attribute:"loading"})],Mv.prototype,"loading",void 0)
|
|
4025
4025
|
const $v=Mv.compose({baseName:"label-provider-core",styles:_v})
|
|
4026
4026
|
_i.getOrCreate().withPrefix("nimble").register($v())
|
|
4027
|
-
const
|
|
4027
|
+
const Dv="Collapse group",Ev="Expand group",Av="Collapse row",Tv="Expand row",Ov="Collapse all",Rv="Options",Fv="Grouped",Nv="Sorted ascending",Lv="Sorted descending",Bv="Select all rows",Pv="Select all rows in group",zv="Select row",Vv="Row operations",Hv="Loading",Uv="No value",qv="Empty",jv=yi.create({name:"table-group-collapse-label",cssCustomPropertyName:null}).withDefault(Dv),Wv=yi.create({name:"table-group-expand-label",cssCustomPropertyName:null}).withDefault(Ev),Gv=yi.create({name:"table-row-collapse-label",cssCustomPropertyName:null}).withDefault(Av),Zv=yi.create({name:"table-row-expand-label",cssCustomPropertyName:null}).withDefault(Tv),Kv=yi.create({name:"table-collapse-all-label",cssCustomPropertyName:null}).withDefault(Ov),Yv=yi.create({name:"table-cell-action-menu-label",cssCustomPropertyName:null}).withDefault(Rv),Xv=yi.create({name:"table-column-header-grouped-label",cssCustomPropertyName:null}).withDefault(Fv),Jv=yi.create({name:"table-column-header-sorted-ascending-label",cssCustomPropertyName:null}).withDefault(Nv),Qv=yi.create({name:"table-column-header-sorted-descending-label",cssCustomPropertyName:null}).withDefault(Lv),tb=yi.create({name:"table-select-all-label",cssCustomPropertyName:null}).withDefault(Bv),eb=yi.create({name:"table-group-select-all-label",cssCustomPropertyName:null}).withDefault(Pv),nb=yi.create({name:"table-row-select-label",cssCustomPropertyName:null}).withDefault(zv),ib=yi.create({name:"table-row-operation-column-label",cssCustomPropertyName:null}).withDefault(Vv),sb=yi.create({name:"table-row-loading-label",cssCustomPropertyName:null}).withDefault(Hv),ob=yi.create({name:"table-group-row-placeholder-no-value-label",cssCustomPropertyName:null}).withDefault(Uv),rb=yi.create({name:"table-group-row-placeholder-empty-label",cssCustomPropertyName:null}).withDefault(qv),ab={groupCollapse:jv,groupExpand:Wv,rowCollapse:Gv,rowExpand:Zv,collapseAll:Kv,cellActionMenu:Yv,columnHeaderGrouped:Xv,columnHeaderSortedAscending:Jv,columnHeaderSortedDescending:Qv,selectAll:tb,groupSelectAll:eb,rowSelect:nb,rowOperationColumn:ib,rowLoading:sb,groupRowPlaceholderNoValue:ob,groupRowPlaceholderEmpty:rb}
|
|
4028
4028
|
class lb extends Sv{constructor(){super(...arguments),this.supportedLabels=ab}}t([ft({attribute:"group-collapse"})],lb.prototype,"groupCollapse",void 0),t([ft({attribute:"group-expand"})],lb.prototype,"groupExpand",void 0),t([ft({attribute:"row-collapse"})],lb.prototype,"rowCollapse",void 0),t([ft({attribute:"row-expand"})],lb.prototype,"rowExpand",void 0),t([ft({attribute:"collapse-all"})],lb.prototype,"collapseAll",void 0),t([ft({attribute:"cell-action-menu"})],lb.prototype,"cellActionMenu",void 0),t([ft({attribute:"column-header-grouped"})],lb.prototype,"columnHeaderGrouped",void 0),t([ft({attribute:"column-header-sorted-ascending"})],lb.prototype,"columnHeaderSortedAscending",void 0),t([ft({attribute:"column-header-sorted-descending"})],lb.prototype,"columnHeaderSortedDescending",void 0),t([ft({attribute:"select-all"})],lb.prototype,"selectAll",void 0),t([ft({attribute:"group-select-all"})],lb.prototype,"groupSelectAll",void 0),t([ft({attribute:"row-select"})],lb.prototype,"rowSelect",void 0),t([ft({attribute:"row-operation-column"})],lb.prototype,"rowOperationColumn",void 0),t([ft({attribute:"row-loading"})],lb.prototype,"rowLoading",void 0),t([ft({attribute:"group-row-placeholder-no-value"})],lb.prototype,"groupRowPlaceholderNoValue",void 0),t([ft({attribute:"group-row-placeholder-empty"})],lb.prototype,"groupRowPlaceholderEmpty",void 0)
|
|
4029
4029
|
const cb=lb.compose({baseName:"label-provider-table",styles:_v})
|
|
4030
4030
|
_i.getOrCreate().withPrefix("nimble").register(cb())
|
|
@@ -4235,9 +4235,9 @@ _i.getOrCreate().withPrefix("nimble").register(Ib())
|
|
|
4235
4235
|
class Mb extends yb{constructor(){super(...arguments),this.textHidden=!1}}t([ft()],Mb.prototype,"text",void 0),t([ft({attribute:"text-hidden",mode:"boolean"})],Mb.prototype,"textHidden",void 0)
|
|
4236
4236
|
const $b=Mb.compose({baseName:"mapping-spinner",template:wb,styles:xb})
|
|
4237
4237
|
_i.getOrCreate().withPrefix("nimble").register($b())
|
|
4238
|
-
class
|
|
4239
|
-
const Db
|
|
4240
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
4238
|
+
class Db extends yb{}t([ft()],Db.prototype,"text",void 0)
|
|
4239
|
+
const Eb=Db.compose({baseName:"mapping-text",template:wb,styles:xb})
|
|
4240
|
+
_i.getOrCreate().withPrefix("nimble").register(Eb())
|
|
4241
4241
|
let Ab=class t extends We{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&Pa(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=t=>{if(!this.contains(t.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem()
|
|
4242
4242
|
const t=this.menuItems.findIndex(this.isFocusableElement)
|
|
4243
4243
|
this.menuItems[this.focusIndex]?.setAttribute("tabindex","-1"),this.menuItems[t]?.setAttribute("tabindex","0"),this.focusIndex=t}},this.handleItemFocus=t=>{const e=t.target
|
|
@@ -4272,7 +4272,7 @@ const Tb=Mt`
|
|
|
4272
4272
|
|
|
4273
4273
|
:host {
|
|
4274
4274
|
background: ${gl};
|
|
4275
|
-
border: ${jl} solid ${
|
|
4275
|
+
border: ${jl} solid ${El};
|
|
4276
4276
|
margin: 0;
|
|
4277
4277
|
min-width: ${Xl};
|
|
4278
4278
|
width: max-content;
|
|
@@ -4601,6 +4601,7 @@ const Hb="underline",Ub="outline",qb="block",jb=Mt`
|
|
|
4601
4601
|
border-bottom-color: ${Ml};
|
|
4602
4602
|
}
|
|
4603
4603
|
|
|
4604
|
+
:host([readonly]) .root,
|
|
4604
4605
|
:host([disabled]) .root {
|
|
4605
4606
|
border-color: rgba(${Cl}, 0.1);
|
|
4606
4607
|
}
|
|
@@ -4642,6 +4643,7 @@ const Hb="underline",Ub="outline",qb="block",jb=Mt`
|
|
|
4642
4643
|
width: 100%;
|
|
4643
4644
|
}
|
|
4644
4645
|
|
|
4646
|
+
:host([readonly]:hover) .root::after,
|
|
4645
4647
|
:host([disabled]:hover) .root::after {
|
|
4646
4648
|
width: 0px;
|
|
4647
4649
|
}
|
|
@@ -4720,11 +4722,20 @@ const Hb="underline",Ub="outline",qb="block",jb=Mt`
|
|
|
4720
4722
|
}
|
|
4721
4723
|
|
|
4722
4724
|
:host(:hover) .root {
|
|
4725
|
+
border-bottom-width: ${jl};
|
|
4723
4726
|
padding-bottom: 0;
|
|
4724
4727
|
}
|
|
4725
4728
|
|
|
4729
|
+
:host([readonly]) .root,
|
|
4726
4730
|
:host([disabled]) .root {
|
|
4727
4731
|
background-color: rgba(${Cl}, 0.07);
|
|
4732
|
+
border-color: transparent;
|
|
4733
|
+
}
|
|
4734
|
+
|
|
4735
|
+
:host([error-visible][readonly]) .root,
|
|
4736
|
+
:host([error-visible][disabled]) .root {
|
|
4737
|
+
padding-bottom: 0;
|
|
4738
|
+
border-bottom-color: ${kl};
|
|
4728
4739
|
}
|
|
4729
4740
|
`),Mh(Ub,Mt`
|
|
4730
4741
|
.root {
|
|
@@ -5191,9 +5202,9 @@ _y.prototype.text=void 0
|
|
|
5191
5202
|
class Iy extends _y{constructor(t,e,n,i){if(super(t,e,null,i),!n)throw new RangeError("Empty text nodes are not allowed")
|
|
5192
5203
|
this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):My(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,e){return this.text.slice(t,e)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new Iy(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new Iy(this.type,this.attrs,t,this.marks)}cut(t=0,e=this.text.length){return 0==t&&e==this.text.length?this:this.withText(this.text.slice(t,e))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON()
|
|
5193
5204
|
return t.text=this.text,t}}function My(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")"
|
|
5194
|
-
return e}class $y{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){let n=new
|
|
5205
|
+
return e}class $y{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){let n=new Dy(t,e)
|
|
5195
5206
|
if(null==n.next)return $y.empty
|
|
5196
|
-
let i=
|
|
5207
|
+
let i=Ey(n)
|
|
5197
5208
|
n.next&&n.err("Unexpected trailing text")
|
|
5198
5209
|
let s=function(t){let e=Object.create(null)
|
|
5199
5210
|
return n(Ny(t,0))
|
|
@@ -5245,11 +5256,11 @@ return function e(n){t.push(n)
|
|
|
5245
5256
|
for(let i=0;i<n.next.length;i++)-1==t.indexOf(n.next[i].next)&&e(n.next[i].next)}(this),t.map(((e,n)=>{let i=n+(e.validEnd?"*":" ")+" "
|
|
5246
5257
|
for(let n=0;n<e.next.length;n++)i+=(n?", ":"")+e.next[n].type.name+"->"+t.indexOf(e.next[n].next)
|
|
5247
5258
|
return i})).join("\n")}}$y.empty=new $y(!0)
|
|
5248
|
-
class
|
|
5259
|
+
class Dy{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function Ey(t){let e=[]
|
|
5249
5260
|
do{e.push(Ay(t))}while(t.eat("|"))
|
|
5250
5261
|
return 1==e.length?e[0]:{type:"choice",exprs:e}}function Ay(t){let e=[]
|
|
5251
5262
|
do{e.push(Ty(t))}while(t.next&&")"!=t.next&&"|"!=t.next)
|
|
5252
|
-
return 1==e.length?e[0]:{type:"seq",exprs:e}}function Ty(t){let e=function(t){if(t.eat("(")){let e=
|
|
5263
|
+
return 1==e.length?e[0]:{type:"seq",exprs:e}}function Ty(t){let e=function(t){if(t.eat("(")){let e=Ey(t)
|
|
5253
5264
|
return t.eat(")")||t.err("Missing closing paren"),e}if(!/\W/.test(t.next)){let e=function(t,e){let n=t.nodeTypes,i=n[e]
|
|
5254
5265
|
if(i)return[i]
|
|
5255
5266
|
let s=[]
|
|
@@ -5561,7 +5572,7 @@ if(!r)return null
|
|
|
5561
5572
|
let a=(r.length?r[r.length-1]:e).contentMatch
|
|
5562
5573
|
for(let t=i;a&&t<s;t++)a=a.matchType(n.child(t).type)
|
|
5563
5574
|
return a&&a.validEnd?r:null}(i,e)
|
|
5564
|
-
return o?s.map($w).concat({type:e,attrs:n}).concat(o.map($w)):null}function $w(t){return{type:t,attrs:null}}function
|
|
5575
|
+
return o?s.map($w).concat({type:e,attrs:n}).concat(o.map($w)):null}function $w(t){return{type:t,attrs:null}}function Dw(t,e,n=1,i){let s=t.resolve(e),o=s.depth-n,r=i&&i[i.length-1]||s.parent
|
|
5565
5576
|
if(o<0||s.parent.type.spec.isolating||!s.parent.canReplace(s.index(),s.parent.childCount)||!r.type.validContent(s.parent.content.cutByIndex(s.index(),s.parent.childCount)))return!1
|
|
5566
5577
|
for(let t=s.depth-1,e=n-2;t>o;t--,e--){let n=s.node(t),o=s.index(t)
|
|
5567
5578
|
if(n.type.spec.isolating)return!1
|
|
@@ -5569,7 +5580,7 @@ let r=n.content.cutByIndex(o,n.childCount),a=i&&i[e+1]
|
|
|
5569
5580
|
a&&(r=r.replaceChild(0,a.type.create(a.attrs)))
|
|
5570
5581
|
let l=i&&i[e]||n
|
|
5571
5582
|
if(!n.canReplace(o+1,n.childCount)||!l.type.validContent(r))return!1}let a=s.indexAfter(o),l=i&&i[0]
|
|
5572
|
-
return s.node(o).canReplaceWith(a,a,l?l.type:s.node(o+1).type)}function
|
|
5583
|
+
return s.node(o).canReplaceWith(a,a,l?l.type:s.node(o+1).type)}function Ew(t,e){let n=t.resolve(e),i=n.index()
|
|
5573
5584
|
return Aw(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(i,i+1)}function Aw(t,e){return!(!t||!e||t.isLeaf||!t.canAppend(e))}function Tw(t,e,n=-1){let i=t.resolve(e)
|
|
5574
5585
|
for(let t=i.depth;;t--){let s,o,r=i.index(t)
|
|
5575
5586
|
if(t==i.depth?(s=i.nodeBefore,o=i.nodeAfter):n>0?(s=i.node(t+1),r++,o=i.node(t).maybeChild(r)):(s=i.node(t).maybeChild(r-1),o=i.node(t+1)),s&&!s.isTextblock&&Aw(s,o)&&i.node(t).canReplace(r,r+1))return e
|
|
@@ -5825,9 +5836,9 @@ if("false"==(t=t.childNodes[e+(s<0?-1:0)]).contentEditable)return!1
|
|
|
5825
5836
|
e=s<0?Sx(t):0}}}function Sx(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length}function _x(t){let e
|
|
5826
5837
|
for(let n=t;n&&!(e=n.pmViewDesc);n=n.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==t||e.contentDOM==t)}const Ix=function(t){return t.focusNode&&xx(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)}
|
|
5827
5838
|
function Mx(t,e){let n=document.createEvent("Event")
|
|
5828
|
-
return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}const $x="undefined"!=typeof navigator?navigator:null,
|
|
5829
|
-
Nx&&(/Firefox\/(\d+)/.exec(
|
|
5830
|
-
const Lx=!Rx&&/Chrome\/(\d+)/.exec(
|
|
5839
|
+
return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}const $x="undefined"!=typeof navigator?navigator:null,Dx="undefined"!=typeof document?document:null,Ex=$x&&$x.userAgent||"",Ax=/Edge\/(\d+)/.exec(Ex),Tx=/MSIE \d/.exec(Ex),Ox=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ex),Rx=!!(Tx||Ox||Ax),Fx=Tx?document.documentMode:Ox?+Ox[1]:Ax?+Ax[1]:0,Nx=!Rx&&/gecko\/(\d+)/i.test(Ex)
|
|
5840
|
+
Nx&&(/Firefox\/(\d+)/.exec(Ex)||[0,0])[1]
|
|
5841
|
+
const Lx=!Rx&&/Chrome\/(\d+)/.exec(Ex),Bx=!!Lx,Px=Lx?+Lx[1]:0,zx=!Rx&&!!$x&&/Apple Computer/.test($x.vendor),Vx=zx&&(/Mobile\/\w+/.test(Ex)||!!$x&&$x.maxTouchPoints>2),Hx=Vx||!!$x&&/Mac/.test($x.platform),Ux=!!$x&&/Win/.test($x.platform),qx=/Android \d/.test(Ex),jx=!!Dx&&"webkitFontSmoothing"in Dx.documentElement.style,Wx=jx?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0
|
|
5831
5842
|
function Gx(t){let e=t.defaultView&&t.defaultView.visualViewport
|
|
5832
5843
|
return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function Zx(t,e){return"number"==typeof t?t:t[e]}function Kx(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1
|
|
5833
5844
|
return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*i}}function Yx(t,e,n){let i=t.someProp("scrollThreshold")||0,s=t.someProp("scrollMargin")||5,o=t.dom.ownerDocument
|
|
@@ -6038,7 +6049,7 @@ for(;s.nextSibling;)s.parentNode.removeChild(s.nextSibling)
|
|
|
6038
6049
|
s.pmViewDesc&&(s.pmViewDesc=void 0)}let o=new bC(this,s,e,i)
|
|
6039
6050
|
t.input.compositionNodes.push(o),this.children=NC(this.children,n,n+i.length,t,o)}update(t,e,n,i){return!(3==this.dirty||!t.sameMarkup(this.node))&&(this.updateInner(t,e,n,i),!0)}updateInner(t,e,n,i){this.updateOuterDeco(e),this.node=t,this.innerDeco=n,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=0}updateOuterDeco(t){if(TC(t,this.outerDeco))return
|
|
6040
6051
|
let e=1!=this.nodeDOM.nodeType,n=this.dom
|
|
6041
|
-
this.dom=
|
|
6052
|
+
this.dom=DC(this.dom,this.nodeDOM,$C(this.outerDeco,this.node,e),$C(t,this.node,e)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function xC(t,e,n,i,s){AC(i,e,t)
|
|
6042
6053
|
let o=new wC(void 0,t,e,n,i,i,i,s,0)
|
|
6043
6054
|
return o.contentDOM&&o.updateChildren(s,0),o}class CC extends wC{constructor(t,e,n,i,s,o,r){super(t,e,n,i,s,null,o,r,0)}parseRule(){let t=this.nodeDOM.parentNode
|
|
6044
6055
|
for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode
|
|
@@ -6061,17 +6072,17 @@ let i=n?MC[0]:new IC,s=[i]
|
|
|
6061
6072
|
for(let o=0;o<t.length;o++){let r=t[o].type.attrs
|
|
6062
6073
|
if(r){r.nodeName&&s.push(i=new IC(r.nodeName))
|
|
6063
6074
|
for(let t in r){let o=r[t]
|
|
6064
|
-
null!=o&&(n&&1==s.length&&s.push(i=new IC(e.isInline?"span":"div")),"class"==t?i.class=(i.class?i.class+" ":"")+o:"style"==t?i.style=(i.style?i.style+";":"")+o:"nodeName"!=t&&(i[t]=o))}}}return s}function
|
|
6075
|
+
null!=o&&(n&&1==s.length&&s.push(i=new IC(e.isInline?"span":"div")),"class"==t?i.class=(i.class?i.class+" ":"")+o:"style"==t?i.style=(i.style?i.style+";":"")+o:"nodeName"!=t&&(i[t]=o))}}}return s}function DC(t,e,n,i){if(n==MC&&i==MC)return e
|
|
6065
6076
|
let s=e
|
|
6066
6077
|
for(let e=0;e<i.length;e++){let o=i[e],r=n[e]
|
|
6067
6078
|
if(e){let e
|
|
6068
|
-
r&&r.nodeName==o.nodeName&&s!=t&&(e=s.parentNode)&&e.nodeName.toLowerCase()==o.nodeName||(e=document.createElement(o.nodeName),e.pmIsDeco=!0,e.appendChild(s),r=MC[0]),s=e}
|
|
6079
|
+
r&&r.nodeName==o.nodeName&&s!=t&&(e=s.parentNode)&&e.nodeName.toLowerCase()==o.nodeName||(e=document.createElement(o.nodeName),e.pmIsDeco=!0,e.appendChild(s),r=MC[0]),s=e}EC(s,r||MC[0],o)}return s}function EC(t,e,n){for(let i in e)"class"==i||"style"==i||"nodeName"==i||i in n||t.removeAttribute(i)
|
|
6069
6080
|
for(let i in n)"class"!=i&&"style"!=i&&"nodeName"!=i&&n[i]!=e[i]&&t.setAttribute(i,n[i])
|
|
6070
6081
|
if(e.class!=n.class){let i=e.class?e.class.split(" ").filter(Boolean):[],s=n.class?n.class.split(" ").filter(Boolean):[]
|
|
6071
6082
|
for(let e=0;e<i.length;e++)-1==s.indexOf(i[e])&&t.classList.remove(i[e])
|
|
6072
6083
|
for(let e=0;e<s.length;e++)-1==i.indexOf(s[e])&&t.classList.add(s[e])
|
|
6073
6084
|
0==t.classList.length&&t.removeAttribute("class")}if(e.style!=n.style){if(e.style){let n,i=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g
|
|
6074
|
-
for(;n=i.exec(e.style);)t.style.removeProperty(n[1])}n.style&&(t.style.cssText+=n.style)}}function AC(t,e,n){return
|
|
6085
|
+
for(;n=i.exec(e.style);)t.style.removeProperty(n[1])}n.style&&(t.style.cssText+=n.style)}}function AC(t,e,n){return DC(t,t,MC,$C(e,n,1!=t.nodeType))}function TC(t,e){if(t.length!=e.length)return!1
|
|
6075
6086
|
for(let n=0;n<t.length;n++)if(!t[n].type.eq(e[n].type))return!1
|
|
6076
6087
|
return!0}function OC(t){let e=t.nextSibling
|
|
6077
6088
|
return t.parentNode.removeChild(t),e}class RC{constructor(t,e,n){this.lock=e,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=t,this.preMatch=function(t,e){let n=e,i=n.children.length,s=t.childCount,o=new Map,r=[]
|
|
@@ -6104,8 +6115,8 @@ if(a instanceof wC){let l=this.preMatch.matched.get(a)
|
|
|
6104
6115
|
if(null!=l&&l!=s)return!1
|
|
6105
6116
|
let c,d=a.dom,h=this.isLocked(d)&&!(t.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==t.text&&3!=a.dirty&&TC(e,a.outerDeco))
|
|
6106
6117
|
if(!h&&a.update(t,e,n,i))return this.destroyBetween(this.index,r),a.dom!=d&&(this.changed=!0),this.index++,!0
|
|
6107
|
-
if(!h&&(c=this.recreateWrapper(a,t,e,n,i,o)))return this.top.children[this.index]=c,c.contentDOM&&(c.dirty=2,c.updateChildren(i,o+1),c.dirty=0),this.changed=!0,this.index++,!0
|
|
6108
|
-
break}}return!1}recreateWrapper(t,e,n,i,s,o){if(t.dirty||e.isAtom||!t.children.length||!t.node.content.eq(e.content))return null
|
|
6118
|
+
if(!h&&(c=this.recreateWrapper(a,t,e,n,i,o)))return this.destroyBetween(this.index,r),this.top.children[this.index]=c,c.contentDOM&&(c.dirty=2,c.updateChildren(i,o+1),c.dirty=0),this.changed=!0,this.index++,!0
|
|
6119
|
+
break}}return!1}recreateWrapper(t,e,n,i,s,o){if(t.dirty||e.isAtom||!t.children.length||!t.node.content.eq(e.content)||!TC(n,t.outerDeco)||!i.eq(t.innerDeco))return null
|
|
6109
6120
|
let r=wC.create(this.top,e,n,i,s,o)
|
|
6110
6121
|
if(r.contentDOM){r.children=t.children,t.children=[]
|
|
6111
6122
|
for(let t of r.children)t.parent=r}return t.destroy(),r}addNode(t,e,n,i,s){let o=wC.create(this.top,t,e,n,i,s)
|
|
@@ -6123,15 +6134,17 @@ if(!n.focusNode)return null
|
|
|
6123
6134
|
let s=t.docView.nearestDesc(n.focusNode),o=s&&0==s.size,r=t.docView.posFromDOM(n.focusNode,n.focusOffset,1)
|
|
6124
6135
|
if(r<0)return null
|
|
6125
6136
|
let a,l,c=i.resolve(r)
|
|
6126
|
-
if(Ix(n)){for(a=
|
|
6137
|
+
if(Ix(n)){for(a=r;s&&!s.node;)s=s.parent
|
|
6127
6138
|
let t=s.node
|
|
6128
6139
|
if(s&&t.isAtom&&tx.isSelectable(t)&&s.parent&&(!t.isInline||!function(t,e,n){for(let i=0==e,s=e==Sx(t);i||s;){if(t==n)return!0
|
|
6129
6140
|
let e=vx(t)
|
|
6130
6141
|
if(!(t=t.parentNode))return!1
|
|
6131
6142
|
i=i&&0==e,s=s&&e==Sx(t)}}(n.focusNode,n.focusOffset,s.dom))){let t=s.posBefore
|
|
6132
|
-
l=new tx(r==t?c:i.resolve(t))}}else{
|
|
6133
|
-
|
|
6134
|
-
|
|
6143
|
+
l=new tx(r==t?c:i.resolve(t))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let e=r,s=r
|
|
6144
|
+
for(let i=0;i<n.rangeCount;i++){let o=n.getRangeAt(i)
|
|
6145
|
+
e=Math.min(e,t.docView.posFromDOM(o.startContainer,o.startOffset,1)),s=Math.max(s,t.docView.posFromDOM(o.endContainer,o.endOffset,-1))}if(e<0)return null;[a,r]=s==t.state.selection.anchor?[s,e]:[e,s],c=i.resolve(r)}else a=t.docView.posFromDOM(n.anchorNode,n.anchorOffset,1)
|
|
6146
|
+
if(a<0)return null}let d=i.resolve(a)
|
|
6147
|
+
if(!l){l=WC(t,d,c,"pointer"==e||t.state.selection.head<c.pos&&!o?1:-1)}return l}function BC(t){return t.editable?t.hasFocus():ZC(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function PC(t,e=!1){let n=t.state.selection
|
|
6135
6148
|
if(qC(t,n),BC(t)){if(!e&&t.input.mouseDown&&t.input.mouseDown.allowDefault&&Bx){let e=t.domSelectionRange(),n=t.domObserver.currentSelection
|
|
6136
6149
|
if(e.anchorNode&&n.anchorNode&&xx(e.anchorNode,e.anchorOffset,n.anchorNode,n.anchorOffset))return t.input.mouseDown.delayedSelectionSync=!0,void t.domObserver.setCurSelection()}if(t.domObserver.disconnectSelection(),t.cursorWrapper)!function(t){let e=t.domSelection(),n=document.createRange()
|
|
6137
6150
|
if(!e)return
|
|
@@ -6289,24 +6302,24 @@ for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&
|
|
|
6289
6302
|
return!0}function Mk(t){return{left:t.clientX,top:t.clientY}}function $k(t,e,n,i,s){if(-1==i)return!1
|
|
6290
6303
|
let o=t.state.doc.resolve(i)
|
|
6291
6304
|
for(let i=o.depth+1;i>0;i--)if(t.someProp(e,(e=>i>o.depth?e(t,n,o.nodeAfter,o.before(i),s,!0):e(t,n,o.node(i),o.before(i),s,!1))))return!0
|
|
6292
|
-
return!1}function
|
|
6305
|
+
return!1}function Dk(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return
|
|
6293
6306
|
let i=t.state.tr.setSelection(e)
|
|
6294
|
-
i.setMeta("pointer",!0),t.dispatch(i)}function
|
|
6307
|
+
i.setMeta("pointer",!0),t.dispatch(i)}function Ek(t,e,n,i,s){return $k(t,"handleClickOn",e,n,i)||t.someProp("handleClick",(n=>n(t,e,i)))||(s?function(t,e){if(-1==e)return!1
|
|
6295
6308
|
let n,i,s=t.state.selection
|
|
6296
6309
|
s instanceof tx&&(n=s.node)
|
|
6297
6310
|
let o=t.state.doc.resolve(e)
|
|
6298
6311
|
for(let t=o.depth+1;t>0;t--){let e=t>o.depth?o.nodeAfter:o.node(t)
|
|
6299
6312
|
if(tx.isSelectable(e)){i=n&&s.$from.depth>0&&t>=s.$from.depth&&o.before(s.$from.depth+1)==s.$from.pos?o.before(s.$from.depth):o.before(t)
|
|
6300
|
-
break}}return null!=i&&(
|
|
6313
|
+
break}}return null!=i&&(Dk(t,tx.create(t.state.doc,i)),!0)}(t,n):function(t,e){if(-1==e)return!1
|
|
6301
6314
|
let n=t.state.doc.resolve(e),i=n.nodeAfter
|
|
6302
|
-
return!!(i&&i.isAtom&&tx.isSelectable(i))&&(
|
|
6315
|
+
return!!(i&&i.isAtom&&tx.isSelectable(i))&&(Dk(t,new tx(n)),!0)}(t,n))}function Ak(t,e,n,i){return $k(t,"handleDoubleClickOn",e,n,i)||t.someProp("handleDoubleClick",(n=>n(t,e,i)))}function Tk(t,e,n,i){return $k(t,"handleTripleClickOn",e,n,i)||t.someProp("handleTripleClick",(n=>n(t,e,i)))||function(t,e,n){if(0!=n.button)return!1
|
|
6303
6316
|
let i=t.state.doc
|
|
6304
|
-
if(-1==e)return!!i.inlineContent&&(
|
|
6317
|
+
if(-1==e)return!!i.inlineContent&&(Dk(t,Jw.create(i,0,i.content.size)),!0)
|
|
6305
6318
|
let s=i.resolve(e)
|
|
6306
6319
|
for(let e=s.depth+1;e>0;e--){let n=e>s.depth?s.nodeAfter:s.node(e),o=s.before(e)
|
|
6307
|
-
if(n.inlineContent)
|
|
6320
|
+
if(n.inlineContent)Dk(t,Jw.create(i,o+1,o+1+n.content.size))
|
|
6308
6321
|
else{if(!tx.isSelectable(n))continue
|
|
6309
|
-
|
|
6322
|
+
Dk(t,tx.create(i,o))}return!0}}(t,n,i)}function Ok(t){return Vk(t)}wk.keydown=(t,e)=>{let n=e
|
|
6310
6323
|
if(t.input.shiftKey=16==n.keyCode||n.shiftKey,!Nk(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!qx||!Bx||13!=n.keyCode))if(t.domObserver.selectionChanged(t.domSelectionRange())?t.domObserver.flush():229!=n.keyCode&&t.domObserver.forceFlush(),!Vx||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)t.someProp("handleKeyDown",(e=>e(t,n)))||ak(t,n)?n.preventDefault():kk(t,"key")
|
|
6311
6324
|
else{let e=Date.now()
|
|
6312
6325
|
t.input.lastIOSEnter=e,t.input.lastIOSEnterFallbackTimeout=setTimeout((()=>{t.input.lastIOSEnter==e&&(t.someProp("handleKeyDown",(e=>e(t,Mx(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
|
|
@@ -6329,7 +6342,7 @@ s=n.parent,o=n.depth?n.before():0}const r=i?null:n.target,a=r?t.docView.nearestD
|
|
|
6329
6342
|
this.target=a&&1==a.dom.nodeType?a.dom:null
|
|
6330
6343
|
let{selection:l}=t.state;(0==n.button&&s.type.spec.draggable&&!1!==s.type.spec.selectable||l instanceof tx&&l.from<=o&&l.to>o)&&(this.mightDrag={node:s,pos:o,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!Nx||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),kk(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((()=>PC(this.view))),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return
|
|
6331
6344
|
let e=this.pos
|
|
6332
|
-
this.view.state.doc!=this.startDoc&&(e=this.view.posAtCoords(Mk(t))),this.updateAllowDefault(t),this.allowDefault||!e?kk(this.view,"pointer"):
|
|
6345
|
+
this.view.state.doc!=this.startDoc&&(e=this.view.posAtCoords(Mk(t))),this.updateAllowDefault(t),this.allowDefault||!e?kk(this.view,"pointer"):Ek(this.view,e.pos,e.inside,t,this.selectNode)?t.preventDefault():0==t.button&&(this.flushed||zx&&this.mightDrag&&!this.mightDrag.node.isAtom||Bx&&!this.view.state.selection.visible&&Math.min(Math.abs(e.pos-this.view.state.selection.from),Math.abs(e.pos-this.view.state.selection.to))<=2)?(Dk(this.view,Zw.near(this.view.state.doc.resolve(e.pos))),t.preventDefault()):kk(this.view,"pointer")}move(t){this.updateAllowDefault(t),kk(this.view,"pointer"),0==t.buttons&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}function Nk(t,e){return!!t.composing||!!(zx&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500)&&(t.input.compositionEndedAt=-2e8,!0)}yk.touchstart=t=>{t.input.lastTouch=Date.now(),Ok(t),kk(t,"pointer")},yk.touchmove=t=>{t.input.lastTouch=Date.now(),kk(t,"pointer")},yk.contextmenu=t=>Ok(t)
|
|
6333
6346
|
const Lk=qx?5e3:-1
|
|
6334
6347
|
function Bk(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout((()=>Vk(t)),e))}function Pk(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=function(){let t=document.createEvent("Event")
|
|
6335
6348
|
return t.initEvent("event",!0,!0),t.timeStamp}());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function zk(t){let e=t.domSelectionRange()
|
|
@@ -6608,13 +6621,13 @@ for(;i>0&&(e||t.indexAfter(i)==t.node(i).childCount);)i--,s++,e=!1
|
|
|
6608
6621
|
if(n){let e=t.node(i).maybeChild(t.indexAfter(i))
|
|
6609
6622
|
for(;e&&!e.isLeaf;)e=e.firstChild,s++}return s}function SS(t){if(2!=t.length)return!1
|
|
6610
6623
|
let e=t.charCodeAt(0),n=t.charCodeAt(1)
|
|
6611
|
-
return e>=56320&&e<=57343&&n>=55296&&n<=56319}class _S{constructor(t,e){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new Ck,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=e,this.state=e.state,this.directPlugins=e.plugins||[],this.directPlugins.forEach(
|
|
6624
|
+
return e>=56320&&e<=57343&&n>=55296&&n<=56319}class _S{constructor(t,e){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new Ck,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=e,this.state=e.state,this.directPlugins=e.plugins||[],this.directPlugins.forEach(ES),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):"function"==typeof t?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=$S(this),MS(this),this.nodeViews=DS(this),this.docView=xC(this.state.doc,IS(this),dS(this),this.dom,this),this.domObserver=new fS(this,((t,e,n,i)=>xS(this,t,e,n,i))),this.domObserver.start(),function(t){for(let e in yk){let n=yk[e]
|
|
6612
6625
|
t.dom.addEventListener(e,t.input.eventHandlers[e]=e=>{!Ik(t,e)||_k(t,e)||!t.editable&&e.type in wk||n(t,e)},xk[e]?{passive:!0}:void 0)}zx&&t.dom.addEventListener("input",(()=>null)),Sk(t)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props
|
|
6613
6626
|
this._props={}
|
|
6614
6627
|
for(let e in t)this._props[e]=t[e]
|
|
6615
6628
|
this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&Sk(this)
|
|
6616
6629
|
let e=this._props
|
|
6617
|
-
this._props=t,t.plugins&&(t.plugins.forEach(
|
|
6630
|
+
this._props=t,t.plugins&&(t.plugins.forEach(ES),this.directPlugins=t.plugins),this.updateStateInner(t.state,e)}setProps(t){let e={}
|
|
6618
6631
|
for(let t in this._props)e[t]=this._props[t]
|
|
6619
6632
|
e.state=this.state
|
|
6620
6633
|
for(let n in t)e[n]=t[n]
|
|
@@ -6622,7 +6635,7 @@ this.update(e)}updateState(t){this.updateStateInner(t,this._props)}updateStateIn
|
|
|
6622
6635
|
let i=this.state,s=!1,o=!1
|
|
6623
6636
|
t.storedMarks&&this.composing&&(Pk(this),o=!0),this.state=t
|
|
6624
6637
|
let r=i.plugins!=t.plugins||this._props.plugins!=e.plugins
|
|
6625
|
-
if(r||this._props.plugins!=e.plugins||this._props.nodeViews!=e.nodeViews){let t=
|
|
6638
|
+
if(r||this._props.plugins!=e.plugins||this._props.nodeViews!=e.nodeViews){let t=DS(this);(function(t,e){let n=0,i=0
|
|
6626
6639
|
for(let i in t){if(t[i]!=e[i])return!0
|
|
6627
6640
|
n++}for(let t in e)i++
|
|
6628
6641
|
return n!=i})(t,this.nodeViews)&&(this.nodeViews=t,s=!0)}(r||e.handleDOMEvents!=this._props.handleDOMEvents)&&Sk(this),this.editable=$S(this),MS(this)
|
|
@@ -6676,8 +6689,8 @@ return e}(this.dom.ownerDocument)==this.dom&&function(t,e){if(e.getComposedRange
|
|
|
6676
6689
|
if(n)return vS(t,n)}let n
|
|
6677
6690
|
function i(t){t.preventDefault(),t.stopImmediatePropagation(),n=t.getTargetRanges()[0]}return t.dom.addEventListener("beforeinput",i,!0),document.execCommand("indent"),t.dom.removeEventListener("beforeinput",i,!0),n?vS(t,n):null}(this,t)||t:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function IS(t){let e=Object.create(null)
|
|
6678
6691
|
return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",(n=>{if("function"==typeof n&&(n=n(t.state)),n)for(let t in n)"class"==t?e.class+=" "+n[t]:"style"==t?e.style=(e.style?e.style+";":"")+n[t]:e[t]||"contenteditable"==t||"nodeName"==t||(e[t]=String(n[t]))})),e.translate||(e.translate="no"),[Xk.node(0,t.state.doc.content.size,e)]}function MS(t){if(t.markCursor){let e=document.createElement("img")
|
|
6679
|
-
e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:Xk.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function $S(t){return!t.someProp("editable",(e=>!1===e(t.state)))}function
|
|
6680
|
-
function n(t){for(let n in t)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=t[n])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function
|
|
6692
|
+
e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:Xk.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function $S(t){return!t.someProp("editable",(e=>!1===e(t.state)))}function DS(t){let e=Object.create(null)
|
|
6693
|
+
function n(t){for(let n in t)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=t[n])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function ES(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var AS={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},TS={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},OS="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),RS="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),FS=0;FS<10;FS++)AS[48+FS]=AS[96+FS]=String(FS)
|
|
6681
6694
|
for(FS=1;FS<=24;FS++)AS[FS+111]="F"+FS
|
|
6682
6695
|
for(FS=65;FS<=90;FS++)AS[FS]=String.fromCharCode(FS+32),TS[FS]=String.fromCharCode(FS)
|
|
6683
6696
|
for(var NS in AS)TS.hasOwnProperty(NS)||(TS[NS]=AS[NS])
|
|
@@ -6718,13 +6731,13 @@ if(t.index(e)+1<n.childCount)return t.doc.resolve(t.after(e+1))
|
|
|
6718
6731
|
if(n.type.spec.isolating)break}return null}function GS(t){for(let e=0;e<t.edgeCount;e++){let{type:n}=t.edge(e)
|
|
6719
6732
|
if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}function ZS(t,e,n,i){let s,o,r=e.nodeBefore,a=e.nodeAfter,l=r.type.spec.isolating||a.type.spec.isolating
|
|
6720
6733
|
if(!l&&function(t,e,n){let i=e.nodeBefore,s=e.nodeAfter,o=e.index()
|
|
6721
|
-
return!(!(i&&s&&i.type.compatibleContent(s.type))||(!i.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-i.nodeSize,e.pos).scrollIntoView()),0):!e.parent.canReplace(o,o+1)||!s.isTextblock&&!
|
|
6734
|
+
return!(!(i&&s&&i.type.compatibleContent(s.type))||(!i.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-i.nodeSize,e.pos).scrollIntoView()),0):!e.parent.canReplace(o,o+1)||!s.isTextblock&&!Ew(t.doc,e.pos)||(n&&n(t.tr.clearIncompatible(e.pos,i.type,i.contentMatchAt(i.childCount)).join(e.pos).scrollIntoView()),0)))}(t,e,n))return!0
|
|
6722
6735
|
let c=!l&&e.parent.canReplace(e.index(),e.index()+1)
|
|
6723
6736
|
if(c&&(s=(o=r.contentMatchAt(r.childCount)).findWrapping(a.type))&&o.matchType(s[0]||a.type).validEnd){if(n){let i=e.pos+a.nodeSize,o=ey.empty
|
|
6724
6737
|
for(let t=s.length-1;t>=0;t--)o=ey.from(s[t].create(null,o))
|
|
6725
6738
|
o=ey.from(r.copy(o))
|
|
6726
6739
|
let l=t.tr.step(new Cw(e.pos-1,i,e.pos,i,new ay(o,1,0),s.length,!0)),c=i+2*s.length
|
|
6727
|
-
|
|
6740
|
+
Ew(l.doc,c)&&l.join(c),n(l.scrollIntoView())}return!0}let d=a.type.spec.isolating||i>0&&l?null:Zw.findFrom(e,1),h=d&&d.$from.blockRange(d.$to),u=h&&Iw(h)
|
|
6728
6741
|
if(null!=u&&u>=e.depth)return n&&n(t.tr.lift(h,u).scrollIntoView()),!0
|
|
6729
6742
|
if(c&&US(a,"start",!0)&&US(r,"end")){let i=r,s=[]
|
|
6730
6743
|
for(;s.push(i),!i.isTextblock;)i=i.lastChild
|
|
@@ -6754,7 +6767,7 @@ t.step(new Cw(e.start-(i?2:0),e.end,e.start,e.end,new ay(o,0,0),n.length,!0))
|
|
|
6754
6767
|
let r=0
|
|
6755
6768
|
for(let t=0;t<n.length;t++)n[t].type==s&&(r=t+1)
|
|
6756
6769
|
let a=n.length-r,l=e.start+n.length-(i?2:0),c=e.parent
|
|
6757
|
-
for(let n=e.startIndex,i=e.endIndex,s=!0;n<i;n++,s=!1)!s&&
|
|
6770
|
+
for(let n=e.startIndex,i=e.endIndex,s=!0;n<i;n++,s=!1)!s&&Dw(t.doc,l,a)&&(t.split(l,a),l+=2*a),l+=c.child(n).nodeSize
|
|
6758
6771
|
return t}(n.tr,r,c,a,t).scrollIntoView()),!0)}}function t_(t){return function(e,n){let{$from:i,$to:s}=e.selection,o=i.blockRange(s,(e=>e.childCount>0&&e.firstChild.type==t))
|
|
6759
6772
|
return!!o&&(!n||(i.node(o.depth-1).type==t?function(t,e,n,i){let s=t.tr,o=i.end,r=i.$to.end(i.depth)
|
|
6760
6773
|
o<r&&(s.step(new Cw(o-1,r,o,r,new ay(ey.from(n.create(null,i.parent.copy())),1,0),1,!0)),i=new ky(s.doc.resolve(i.$from.pos),s.doc.resolve(r),i.depth))
|
|
@@ -6762,7 +6775,7 @@ const a=Iw(i)
|
|
|
6762
6775
|
if(null==a)return!1
|
|
6763
6776
|
s.lift(i,a)
|
|
6764
6777
|
let l=s.mapping.map(o,-1)-1
|
|
6765
|
-
|
|
6778
|
+
Ew(s.doc,l)&&s.join(l)
|
|
6766
6779
|
return e(s.scrollIntoView()),!0}(e,n,t,o):function(t,e,n){let i=t.tr,s=n.parent
|
|
6767
6780
|
for(let t=n.end,e=n.endIndex-1,o=n.startIndex;e>o;e--)t-=s.child(e).nodeSize,i.delete(t-1,t+1)
|
|
6768
6781
|
let o=i.doc.resolve(n.start),r=o.nodeAfter
|
|
@@ -6792,8 +6805,11 @@ Object.entries(s).forEach((([n,i])=>{const s={...o,...i}
|
|
|
6792
6805
|
"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 a_(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?`)
|
|
6793
6806
|
return e.nodes[t]}return t}function l_(...t){return t.filter((t=>!!t)).reduce(((t,e)=>{const n={...t}
|
|
6794
6807
|
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)))
|
|
6795
|
-
n[t]=[...s,...o].join(" ")}else
|
|
6796
|
-
|
|
6808
|
+
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
|
|
6809
|
+
s.forEach((t=>{const[e,n]=t.split(":").map((t=>t.trim()))
|
|
6810
|
+
o.set(e,n)})),i.forEach((t=>{const[e,n]=t.split(":").map((t=>t.trim()))
|
|
6811
|
+
o.set(e,n)})),n[t]=Array.from(o.entries()).map((([t,e])=>`${t}: ${e}`)).join("; ")}else n[t]=e
|
|
6812
|
+
else n[t]=e})),n}),{})}function c_(t,e){return e.filter((e=>e.type===t.type.name)).filter((t=>t.attribute.rendered)).map((e=>e.attribute.renderHTML?e.attribute.renderHTML(t.attrs)||{}:{[e.name]:t.attrs[e.name]})).reduce(((t,e)=>l_(t,e)),{})}function d_(t){return"function"==typeof t}function h_(t,e=void 0,...n){return d_(t)?e?t.bind(e)(...n):t(...n):t}function u_(t,e){return"style"in t?t:{...t,getAttrs:n=>{const i=t.getAttrs?t.getAttrs(n):t.attrs
|
|
6797
6813
|
if(!1===i)return!1
|
|
6798
6814
|
const s=e.reduce(((t,e)=>{const i=e.attribute.parseHTML?e.attribute.parseHTML(n):function(t){return"string"!=typeof t?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):"true"===t||"false"!==t&&t}(n.getAttribute(e.name))
|
|
6799
6815
|
return null==i?t:{...t,[e.name]:i}}),{})
|
|
@@ -6883,22 +6899,22 @@ o.push(...t)}return o})).flat()
|
|
|
6883
6899
|
return[x_({editor:t,rules:n}),...S_({editor:t,rules:i}),...s]}get attributes(){return r_(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=o_(this.extensions)
|
|
6884
6900
|
return Object.fromEntries(e.filter((t=>!!s_(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:a_(e.name,this.schema)},s=s_(e,"addNodeView",i)
|
|
6885
6901
|
if(!s)return[]
|
|
6886
|
-
return[e.name,(i,o,r,a)=>{const
|
|
6887
|
-
return s()({
|
|
6902
|
+
return[e.name,(i,o,r,a,l)=>{const c=c_(i,n)
|
|
6903
|
+
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
|
|
6888
6904
|
this.editor.extensionStorage[t.name]=t.storage
|
|
6889
6905
|
const n={name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:f_(t.name,this.schema)}
|
|
6890
6906
|
if("mark"===t.type){(null===(e=h_(s_(t,"keepOnSplit",n)))||void 0===e||e)&&this.splittableMarks.push(t.name)}const i=s_(t,"onBeforeCreate",n),s=s_(t,"onCreate",n),o=s_(t,"onUpdate",n),r=s_(t,"onSelectionUpdate",n),a=s_(t,"onTransaction",n),l=s_(t,"onFocus",n),c=s_(t,"onBlur",n),d=s_(t,"onDestroy",n)
|
|
6891
6907
|
i&&this.editor.on("beforeCreate",i),s&&this.editor.on("create",s),o&&this.editor.on("update",o),r&&this.editor.on("selectionUpdate",r),a&&this.editor.on("transaction",a),l&&this.editor.on("focus",l),c&&this.editor.on("blur",c),d&&this.editor.on("destroy",d)}))}}function I_(t){return"Object"===function(t){return Object.prototype.toString.call(t).slice(8,-1)}(t)&&(t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype)}function M_(t,e){const n={...t}
|
|
6892
6908
|
return I_(t)&&I_(e)&&Object.keys(e).forEach((i=>{I_(e[i])&&I_(t[i])?n[i]=M_(t[i],e[i]):n[i]=e[i]})),n}class $_{constructor(t={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=h_(s_(this,"addOptions",{name:this.name}))),this.storage=h_(s_(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new $_(t)}configure(t={}){const e=this.extend({...this.config,addOptions:()=>M_(this.options,t)})
|
|
6893
6909
|
return e.name=this.name,e.parent=this.parent,e}extend(t={}){const e=new $_({...this.config,...t})
|
|
6894
|
-
return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=h_(s_(e,"addOptions",{name:e.name})),e.storage=h_(s_(e,"addStorage",{name:e.name,options:e.options})),e}}function
|
|
6910
|
+
return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=h_(s_(e,"addOptions",{name:e.name})),e.storage=h_(s_(e,"addStorage",{name:e.name,options:e.options})),e}}function D_(t,e,n){const{from:i,to:s}=e,{blockSeparator:o="\n\n",textSerializers:r={}}=n||{}
|
|
6895
6911
|
let a=""
|
|
6896
6912
|
return t.nodesBetween(i,s,((t,n,l,c)=>{var d
|
|
6897
6913
|
t.isBlock&&n>i&&(a+=o)
|
|
6898
6914
|
const h=null==r?void 0:r[t.type.name]
|
|
6899
6915
|
if(h)return l&&(a+=h({node:t,pos:n,parent:l,index:c,range:e})),!1
|
|
6900
|
-
t.isText&&(a+=null===(d=null==t?void 0:t.text)||void 0===d?void 0:d.slice(Math.max(i,n)-n,s-n))})),a}function
|
|
6901
|
-
return
|
|
6916
|
+
t.isText&&(a+=null===(d=null==t?void 0:t.text)||void 0===d?void 0:d.slice(Math.max(i,n)-n,s-n))})),a}function E_(t){return Object.fromEntries(Object.entries(t.nodes).filter((([,t])=>t.spec.toText)).map((([t,e])=>[t,e.spec.toText])))}const A_=$_.create({name:"clipboardTextSerializer",addOptions:()=>({blockSeparator:void 0}),addProseMirrorPlugins(){return[new px({key:new gx("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:i,selection:s}=e,{ranges:o}=s,r=Math.min(...o.map((t=>t.$from.pos))),a=Math.max(...o.map((t=>t.$to.pos))),l=E_(n)
|
|
6917
|
+
return D_(i,{from:r,to:a},{...void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}})
|
|
6902
6918
|
function T_(t,e,n={strict:!0}){const i=Object.keys(e)
|
|
6903
6919
|
return!i.length||i.every((i=>n.strict?e[i]===t[i]:v_(e[i])?e[i].test(t[i]):e[i]===t[i]))}function O_(t,e,n={}){return t.find((t=>t.type===e&&T_(t.attrs,n)))}function R_(t,e,n={}){return!!O_(t,e,n)}function F_(t,e,n={}){if(!t||!e)return
|
|
6904
6920
|
let i=t.parent.childAfter(t.parentOffset)
|
|
@@ -6974,12 +6990,12 @@ if(!n)return!0
|
|
|
6974
6990
|
const i=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth)
|
|
6975
6991
|
if(void 0===i)return!0
|
|
6976
6992
|
const s=t.doc.nodeAt(i)
|
|
6977
|
-
return n.node.type!==(null==s?void 0:s.type)||!
|
|
6993
|
+
return n.node.type!==(null==s?void 0:s.type)||!Ew(t.doc,n.pos)||(t.join(n.pos),!0)},rI=(t,e)=>{const n=Y_((t=>t.type===e))(t.selection)
|
|
6978
6994
|
if(!n)return!0
|
|
6979
6995
|
const i=t.doc.resolve(n.start).after(n.depth)
|
|
6980
6996
|
if(void 0===i)return!0
|
|
6981
6997
|
const s=t.doc.nodeAt(i)
|
|
6982
|
-
return n.node.type!==(null==s?void 0:s.type)||!
|
|
6998
|
+
return n.node.type!==(null==s?void 0:s.type)||!Ew(t.doc,i)||(t.join(i),!0)}
|
|
6983
6999
|
var aI=Object.freeze({__proto__:null,blur:()=>({editor:t,view:e})=>(requestAnimationFrame((()=>{var n
|
|
6984
7000
|
t.isDestroyed||(e.dom.blur(),null===(n=null===window||void 0===window?void 0:window.getSelection())||void 0===n||n.removeAllRanges())})),!0),clearContent:(t=!1)=>({commands:e})=>e.setContent("",t),clearNodes:()=>({state:t,tr:e,dispatch:n})=>{const{selection:i}=e,{ranges:s}=i
|
|
6985
7001
|
return!n||(s.forEach((({$from:n,$to:i})=>{t.doc.nodesBetween(n.pos,i.pos,((t,n)=>{if(t.type.isText)return
|
|
@@ -7038,7 +7054,7 @@ if(ZS(t,s,e,-1))return!0
|
|
|
7038
7054
|
if(0==i.parent.content.size&&(US(o,"end")||tx.isSelectable(o)))for(let n=i.depth;;n--){let r=Ow(t.doc,i.before(n),i.after(n),ay.empty)
|
|
7039
7055
|
if(r&&r.slice.size<r.to-r.from){if(e){let n=t.tr.step(r)
|
|
7040
7056
|
n.setSelection(US(o,"end")?Zw.findFrom(n.doc.resolve(n.mapping.map(s.pos,-1)),-1):tx.create(n.doc,s.pos-o.nodeSize)),e(n.scrollIntoView())}return!0}if(1==n||i.node(n-1).childCount>1)break}return!(!o.isAtom||s.depth!=i.depth-1||(e&&e(t.tr.delete(s.pos-o.nodeSize,s.pos).scrollIntoView()),0))})(t,e),joinDown:()=>({state:t,dispatch:e})=>((t,e)=>{let n,i=t.selection
|
|
7041
|
-
if(i instanceof tx){if(i.node.isTextblock||!
|
|
7057
|
+
if(i instanceof tx){if(i.node.isTextblock||!Ew(t.doc,i.to))return!1
|
|
7042
7058
|
n=i.to}else if(n=Tw(t.doc,i.to,1),null==n)return!1
|
|
7043
7059
|
return e&&e(t.tr.join(n).scrollIntoView()),!0})(t,e),joinForward:()=>({state:t,dispatch:e})=>((t,e,n)=>{let i=jS(t,n)
|
|
7044
7060
|
if(!i)return!1
|
|
@@ -7057,7 +7073,7 @@ return!!s&&HS(t,s,e)})(t,e),joinTextblockForward:()=>({state:t,dispatch:e})=>((t
|
|
|
7057
7073
|
if(!i)return!1
|
|
7058
7074
|
let s=WS(i)
|
|
7059
7075
|
return!!s&&HS(t,s,e)})(t,e),joinUp:()=>({state:t,dispatch:e})=>((t,e)=>{let n,i=t.selection,s=i instanceof tx
|
|
7060
|
-
if(s){if(i.node.isTextblock||!
|
|
7076
|
+
if(s){if(i.node.isTextblock||!Ew(t.doc,i.from))return!1
|
|
7061
7077
|
n=i.from}else if(n=Tw(t.doc,i.from,-1),null==n)return!1
|
|
7062
7078
|
if(e){let i=t.tr.join(n)
|
|
7063
7079
|
s&&i.setSelection(tx.create(i.doc,n-t.doc.resolve(n).nodeBefore.nodeSize)),e(i.scrollIntoView())}return!0})(t,e),keyboardShortcut:t=>({editor:e,view:n,tr:i,dispatch:s})=>{const o=function(t){const e=t.split(/-(?!$)/)
|
|
@@ -7075,7 +7091,7 @@ e&&s&&i.maybeStep(e)})),!0},lift:(t,e={})=>({state:n,dispatch:i})=>!!j_(n,a_(t,n
|
|
|
7075
7091
|
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
|
|
7076
7092
|
if(!n||n.parent.content.size)return!1
|
|
7077
7093
|
if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before()
|
|
7078
|
-
if(
|
|
7094
|
+
if(Dw(t.doc,i))return e&&e(t.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),s=i&&Iw(i)
|
|
7079
7095
|
return null!=s&&(e&&e(t.tr.lift(i,s).scrollIntoView()),!0)})(t,e),liftListItem:t=>({state:e,dispatch:n})=>t_(a_(t,e.schema))(e,n),newlineInCode:()=>({state:t,dispatch:e})=>((t,e)=>{let{$head:n,$anchor:i}=t.selection
|
|
7080
7096
|
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
|
|
7081
7097
|
const a=W_("string"==typeof t?t:t.name,i.schema)
|
|
@@ -7117,12 +7133,12 @@ if(l.type!=s)return!1
|
|
|
7117
7133
|
if(e){let n=l.lastChild&&l.lastChild.type==a.type,i=ey.from(n?s.create():null),r=new ay(ey.from(s.create(null,ey.from(a.type.create(null,i)))),n?3:1,0),c=o.start,d=o.end
|
|
7118
7134
|
e(t.tr.step(new Cw(c-(n?3:1),d,c,d,r,1,!0)).scrollIntoView())}return!0})(e,n)
|
|
7119
7135
|
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=tI(s.extensionManager.attributes,a.node().type.name,a.node().attrs)
|
|
7120
|
-
if(o instanceof tx&&o.node.isBlock)return!(!a.parentOffset||!
|
|
7136
|
+
if(o instanceof tx&&o.node.isBlock)return!(!a.parentOffset||!Dw(r,a.pos))&&(i&&(t&&sI(n,s.extensionManager.splittableMarks),e.split(a.pos).scrollIntoView()),!0)
|
|
7121
7137
|
if(!a.parent.isBlock)return!1
|
|
7122
7138
|
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)
|
|
7123
7139
|
if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}(a.node(-1).contentMatchAt(a.indexAfter(-1)))
|
|
7124
|
-
let u=d&&h?[{type:h,attrs:c}]:void 0,p=
|
|
7125
|
-
if(u||p||!
|
|
7140
|
+
let u=d&&h?[{type:h,attrs:c}]:void 0,p=Dw(e.doc,e.mapping.map(a.pos),1,u)
|
|
7141
|
+
if(u||p||!Dw(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 Jw&&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)
|
|
7126
7142
|
a.node(-1).canReplaceWith(n.index(),n.index()+1,h)&&e.setNodeMarkup(e.mapping.map(a.before()),h)}t&&sI(n,s.extensionManager.splittableMarks),e.scrollIntoView()}return p},splitListItem:(t,e={})=>({tr:n,state:i,dispatch:s,editor:o})=>{var r
|
|
7127
7143
|
const a=a_(t,i.schema),{$from:l,$to:c}=i.selection,d=i.selection.node
|
|
7128
7144
|
if(d&&d.isBlock||l.depth<2||!l.sameParent(c))return!1
|
|
@@ -7142,7 +7158,7 @@ n.doc.nodesBetween(d,n.doc.content.size,((t,e)=>{if(h>-1)return!1
|
|
|
7142
7158
|
t.isTextblock&&0===t.content.size&&(h=e+1)})),h>-1&&n.setSelection(Jw.near(n.doc.resolve(h))),n.scrollIntoView()}return!0}const p=c.pos===l.end()?h.contentMatchAt(0).defaultType:null,f={...tI(u,h.type.name,h.attrs),...e},m={...tI(u,l.node().type.name,l.node().attrs),...e}
|
|
7143
7159
|
n.delete(l.pos,c.pos)
|
|
7144
7160
|
const g=p?[{type:a,attrs:f},{type:p,attrs:m}]:[{type:a,attrs:f}]
|
|
7145
|
-
if(!
|
|
7161
|
+
if(!Dw(n.doc,l.pos,2))return!1
|
|
7146
7162
|
if(s){const{selection:t,storedMarks:e}=i,{splittableMarks:r}=o.extensionManager,a=e||t.$to.parentOffset&&t.$from.marks()
|
|
7147
7163
|
if(n.split(l.pos,2,g).scrollIntoView(),!a||!s)return!0
|
|
7148
7164
|
const c=a.filter((t=>r.includes(t.type.name)))
|
|
@@ -7152,8 +7168,9 @@ const x=Y_((t=>nI(t.type.name,h)))(m)
|
|
|
7152
7168
|
if(y.depth>=1&&x&&y.depth-x.depth<=1){if(x.node.type===p)return c.liftListItem(f)
|
|
7153
7169
|
if(nI(x.node.type.name,h)&&p.validContent(x.node.content)&&a)return l().command((()=>(o.setNodeMarkup(x.pos,p),!0))).command((()=>oI(o,p))).command((()=>rI(o,p))).run()}return n&&w&&a?l().command((()=>{const t=d().wrapInList(p,i),e=w.filter((t=>u.includes(t.type.name)))
|
|
7154
7170
|
return o.ensureMarks(e),!!t||c.clearNodes()})).wrapInList(p,i).command((()=>oI(o,p))).command((()=>rI(o,p))).run():l().command((()=>!!d().wrapInList(p,i)||c.clearNodes())).wrapInList(p,i).command((()=>oI(o,p))).command((()=>rI(o,p))).run()},toggleMark:(t,e={},n={})=>({state:i,commands:s})=>{const{extendEmptyMarkRange:o=!1}=n,r=N_(t,i.schema)
|
|
7155
|
-
return eI(i,r,e)?s.unsetMark(r,{extendEmptyMarkRange:o}):s.setMark(r,e)},toggleNode:(t,e,n={})=>({state:i,commands:s})=>{const o=a_(t,i.schema),r=a_(e,i.schema)
|
|
7156
|
-
|
|
7171
|
+
return eI(i,r,e)?s.unsetMark(r,{extendEmptyMarkRange:o}):s.setMark(r,e)},toggleNode:(t,e,n={})=>({state:i,commands:s})=>{const o=a_(t,i.schema),r=a_(e,i.schema),a=j_(i,o,n)
|
|
7172
|
+
let l
|
|
7173
|
+
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=a_(t,n.schema)
|
|
7157
7174
|
return j_(n,s,e)?i.lift(s):i.wrapIn(s,e)},undoInputRule:()=>({state:t,dispatch:e})=>{const n=t.plugins
|
|
7158
7175
|
for(let i=0;i<n.length;i+=1){const s=n[i]
|
|
7159
7176
|
let o
|
|
@@ -7180,12 +7197,13 @@ return e.dispatch(i),!1},blur:(e,n)=>{t.isFocused=!1
|
|
|
7180
7197
|
const i=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1)
|
|
7181
7198
|
return e.dispatch(i),!1}}}})]}}),hI=$_.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:Zw.atStart(i).from===r
|
|
7182
7199
|
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()}
|
|
7183
|
-
return z_()||q_()?s:i},addProseMirrorPlugins(){return[new px({key:new gx("clearDocument"),appendTransaction:(t,e,n)=>{
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
if(
|
|
7187
|
-
|
|
7188
|
-
|
|
7200
|
+
return z_()||q_()?s:i},addProseMirrorPlugins(){return[new px({key:new gx("clearDocument"),appendTransaction:(t,e,n)=>{const i=t.some((t=>t.docChanged))&&!e.doc.eq(n.doc),s=t.some((t=>t.getMeta("preventClearDocument")))
|
|
7201
|
+
if(!i||s)return
|
|
7202
|
+
const{empty:o,from:r,to:a}=e.selection,l=Zw.atStart(e.doc).from,c=Zw.atEnd(e.doc).to
|
|
7203
|
+
if(o||!(r===l&&a===c))return
|
|
7204
|
+
if(!iI(n.doc))return
|
|
7205
|
+
const d=n.tr,h=e_({state:n,transaction:d}),{commands:u}=new n_({editor:this.editor,state:h})
|
|
7206
|
+
return u.clearNodes(),d.steps.length?d:void 0}})]}}),uI=$_.create({name:"tabindex",addProseMirrorPlugins(){return[new px({key:new gx("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}})
|
|
7189
7207
|
class pI{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
|
|
7190
7208
|
return null!==(t=this.actualDepth)&&void 0!==t?t:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(t){let e=this.from,n=this.to
|
|
7191
7209
|
if(this.isBlock){if(0===this.content.size)return void console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`)
|
|
@@ -7206,14 +7224,15 @@ i=i.parent}return n}querySelector(t,e={}){return this.querySelectorAll(t,e,!0)[0
|
|
|
7206
7224
|
if(!this.children||0===this.children.length)return i
|
|
7207
7225
|
const s=Object.keys(e)
|
|
7208
7226
|
return this.children.forEach((o=>{if(!(n&&i.length>0)){if(o.node.type.name===t){s.every((t=>e[t]===o.node.attrs[t]))&&i.push(o)}n&&i.length>0||(i=i.concat(o.querySelectorAll(t,e,n)))}})),i}setAttribute(t){const e=this.editor.state.selection
|
|
7209
|
-
this.editor.chain().setTextSelection(this.from).updateAttributes(this.node.type.name,t).setTextSelection(e.from).run()}}class fI extends i_{constructor(t={}){
|
|
7227
|
+
this.editor.chain().setTextSelection(this.from).updateAttributes(this.node.type.name,t).setTextSelection(e.from).run()}}class fI extends i_{constructor(t={}){var e,n
|
|
7228
|
+
super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:t})=>{throw t},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.options.onPaste&&this.registerPlugin((e=this.options.onPaste,new px({key:new gx("tiptapPaste"),props:{handlePaste:(t,n,i)=>{e(n,i)}}}))),this.options.onDrop&&this.registerPlugin((n=this.options.onDrop,new px({key:new gx("tiptapDrop"),props:{handleDrop:(t,e,i,s)=>{n(e,i,s)}}}))),window.setTimeout((()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)}),0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=function(t,e,n){const i=document.querySelector("style[data-tiptap-style]")
|
|
7210
7229
|
if(null!==i)return i
|
|
7211
7230
|
const s=document.createElement("style")
|
|
7212
7231
|
return e&&s.setAttribute("nonce",e),s.setAttribute("data-tiptap-style",""),s.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(s),s}('.ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 0 !important;\n height: 0 !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n content: "";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n}',this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,e=!0){this.setOptions({editable:t}),e&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(t,e){const n=d_(e)?e(t,[...this.state.plugins]):[...this.state.plugins,t],i=this.state.reconfigure({plugins:n})
|
|
7213
|
-
this.view.updateState(i)}unregisterPlugin(t){if(this.isDestroyed)return
|
|
7232
|
+
return this.view.updateState(i),i}unregisterPlugin(t){if(this.isDestroyed)return
|
|
7214
7233
|
const e="string"==typeof t?`${t}$`:t.key,n=this.state.reconfigure({plugins:this.state.plugins.filter((t=>!t.key.startsWith(e)))})
|
|
7215
|
-
this.view.updateState(n)}createExtensionManager(){var t,e
|
|
7216
|
-
const n=[...this.options.enableCoreExtensions?[cI,A_.configure({blockSeparator:null===(e=null===(t=this.options.coreExtensionOptions)||void 0===t?void 0:t.clipboardTextSerializer)||void 0===e?void 0:e.blockSeparator}),lI,dI,hI,uI]:[],...this.options.extensions].filter((t=>["extension","node","mark"].includes(null==t?void 0:t.type)))
|
|
7234
|
+
return this.view.updateState(n),n}createExtensionManager(){var t,e
|
|
7235
|
+
const n=[...this.options.enableCoreExtensions?[cI,A_.configure({blockSeparator:null===(e=null===(t=this.options.coreExtensionOptions)||void 0===t?void 0:t.clipboardTextSerializer)||void 0===e?void 0:e.blockSeparator}),lI,dI,hI,uI].filter((t=>"object"!=typeof this.options.enableCoreExtensions||!1!==this.options.enableCoreExtensions[t.name])):[],...this.options.extensions].filter((t=>["extension","node","mark"].includes(null==t?void 0:t.type)))
|
|
7217
7236
|
this.extensionManager=new __(n,this)}createCommandManager(){this.commandManager=new n_({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){let t
|
|
7218
7237
|
try{t=Z_(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error&&["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(e.message)))throw e
|
|
7219
7238
|
this.emit("contentError",{editor:this,error:e,disableCollaboration:()=>{this.options.extensions=this.options.extensions.filter((t=>"collaboration"!==t.name)),this.createExtensionManager()}}),t=Z_(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const e=P_(t,this.options.autofocus)
|
|
@@ -7233,7 +7252,8 @@ return function(t,e,n={}){if(!e)return j_(t,null,n)||eI(t,null,n)
|
|
|
7233
7252
|
const i=W_(e,t.schema)
|
|
7234
7253
|
return"node"===i?j_(t,e,n):"mark"===i&&eI(t,e,n)}(this.state,n,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return function(t,e){const n=nw.fromSchema(e).serializeFragment(t),i=document.implementation.createHTMLDocument().createElement("div")
|
|
7235
7254
|
return i.appendChild(n),i.innerHTML}(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e="\n\n",textSerializers:n={}}=t||{}
|
|
7236
|
-
return function(t,e){return
|
|
7255
|
+
return function(t,e){return D_(t,{from:0,to:t.content.size},e)}(this.state.doc,{blockSeparator:e,textSerializers:{...E_(this.schema),...n}})}get isEmpty(){return iI(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
|
|
7256
|
+
t&&t.editor&&delete t.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var t
|
|
7237
7257
|
return!(null===(t=this.view)||void 0===t?void 0:t.docView)}$node(t,e){var n
|
|
7238
7258
|
return(null===(n=this.$doc)||void 0===n?void 0:n.querySelector(t,e))||null}$nodes(t,e){var n
|
|
7239
7259
|
return(null===(n=this.$doc)||void 0===n?void 0:n.querySelectorAll(t,e))||null}$pos(t){const e=this.state.doc.resolve(t)
|
|
@@ -7250,7 +7270,7 @@ if(r.wrap(a,l),t.keepMarks&&t.editor){const{selection:n,storedMarks:i}=e,{splitt
|
|
|
7250
7270
|
if(o){const t=o.filter((t=>s.includes(t.type.name)))
|
|
7251
7271
|
r.ensureMarks(t)}}if(t.keepAttributes){const e="bulletList"===t.type.name||"orderedList"===t.type.name?"listItem":"taskList"
|
|
7252
7272
|
s().updateAttributes(e,o).run()}const c=r.doc.resolve(n.from-1).nodeBefore
|
|
7253
|
-
c&&c.type===t.type&&
|
|
7273
|
+
c&&c.type===t.type&&Ew(r.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(i,c))&&r.join(n.from-1)}})}class vI{constructor(t={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=h_(s_(this,"addOptions",{name:this.name}))),this.storage=h_(s_(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new vI(t)}configure(t={}){const e=this.extend({...this.config,addOptions:()=>M_(this.options,t)})
|
|
7254
7274
|
return e.name=this.name,e.parent=this.parent,e}extend(t={}){const e=new vI(t)
|
|
7255
7275
|
return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=h_(s_(e,"addOptions",{name:e.name})),e.storage=h_(s_(e,"addStorage",{name:e.name,options:e.options})),e}static handleExit({editor:t,mark:e}){const{tr:n}=t.state,i=t.state.selection.$from
|
|
7256
7276
|
if(i.pos===i.end()){const s=i.marks()
|
|
@@ -7319,7 +7339,7 @@ const CI=class extends vs{}.compose({baseName:"toolbar",baseClass:vs,template:(t
|
|
|
7319
7339
|
</template>
|
|
7320
7340
|
`,styles:xI,shadowOptions:{delegatesFocus:!0}})
|
|
7321
7341
|
_i.getOrCreate().withPrefix("nimble").register(CI())
|
|
7322
|
-
const kI="nimble-toolbar",SI="Bold",_I="Italics",II="Bulleted List",MI="Numbered List",$I=yi.create({name:"rich-text-toggle-bold-label",cssCustomPropertyName:null}).withDefault(SI),
|
|
7342
|
+
const kI="nimble-toolbar",SI="Bold",_I="Italics",II="Bulleted List",MI="Numbered List",$I=yi.create({name:"rich-text-toggle-bold-label",cssCustomPropertyName:null}).withDefault(SI),DI=yi.create({name:"rich-text-toggle-italics-label",cssCustomPropertyName:null}).withDefault(_I),EI=yi.create({name:"rich-text-toggle-bulleted-list-label",cssCustomPropertyName:null}).withDefault(II),AI=yi.create({name:"rich-text-toggle-numbered-list-label",cssCustomPropertyName:null}).withDefault(MI),TI=Mt`
|
|
7323
7343
|
${jg}
|
|
7324
7344
|
|
|
7325
7345
|
:host {
|
|
@@ -7423,12 +7443,12 @@ const LI="nimble-rich-text-mention-listbox",BI=Q`
|
|
|
7423
7443
|
content-hidden
|
|
7424
7444
|
?disabled="${t=>t.disabled}"
|
|
7425
7445
|
slot="start"
|
|
7426
|
-
title=${t=>
|
|
7446
|
+
title=${t=>DI.getValueFor(t)}
|
|
7427
7447
|
@click=${t=>t.italicsButtonClick()}
|
|
7428
7448
|
@change=${(t,e)=>t.stopEventPropagation(e.event)}
|
|
7429
7449
|
@keydown=${(t,e)=>t.italicsButtonKeyDown(e.event)}
|
|
7430
7450
|
>
|
|
7431
|
-
${t=>
|
|
7451
|
+
${t=>DI.getValueFor(t)}
|
|
7432
7452
|
<${gv} slot="start"></${gv}>
|
|
7433
7453
|
</${Bg}>
|
|
7434
7454
|
<${Bg}
|
|
@@ -7437,12 +7457,12 @@ const LI="nimble-rich-text-mention-listbox",BI=Q`
|
|
|
7437
7457
|
content-hidden
|
|
7438
7458
|
?disabled="${t=>t.disabled}"
|
|
7439
7459
|
slot="start"
|
|
7440
|
-
title=${t=>
|
|
7460
|
+
title=${t=>EI.getValueFor(t)}
|
|
7441
7461
|
@click=${t=>t.bulletListButtonClick()}
|
|
7442
7462
|
@change=${(t,e)=>t.stopEventPropagation(e.event)}
|
|
7443
7463
|
@keydown=${(t,e)=>t.bulletListButtonKeyDown(e.event)}
|
|
7444
7464
|
>
|
|
7445
|
-
${t=>
|
|
7465
|
+
${t=>EI.getValueFor(t)}
|
|
7446
7466
|
<${vv} slot="start"></${vv}>
|
|
7447
7467
|
</${Bg}>
|
|
7448
7468
|
<${Bg}
|
|
@@ -7834,14 +7854,14 @@ return e<0||e>=s?-1:t[n+e]-1}let r=n,a=r+s-1
|
|
|
7834
7854
|
for(;r<=a;){const e=r+a>>>1,n=t[e]
|
|
7835
7855
|
if(n<i)r=e+1
|
|
7836
7856
|
else{if(!(n>i))return t[e+s]
|
|
7837
|
-
a=e-1}}return-1}const
|
|
7838
|
-
function
|
|
7857
|
+
a=e-1}}return-1}const DM=MM(mM)
|
|
7858
|
+
function EM(t,e=CM.Legacy){return DM(t,e)}function AM(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)}MM(gM)
|
|
7839
7859
|
const TM=Object.prototype.hasOwnProperty
|
|
7840
7860
|
function OM(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object")
|
|
7841
7861
|
Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function RM(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function FM(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(!!(65535&~t&&65534!=(65535&t))&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function NM(t){if(t>65535){const e=55296+((t-=65536)>>10),n=56320+(1023&t)
|
|
7842
7862
|
return String.fromCharCode(e,n)}return String.fromCharCode(t)}const LM=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,BM=new RegExp(LM.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),PM=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i
|
|
7843
7863
|
function zM(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(BM,(function(t,e,n){return e||function(t,e){if(35===e.charCodeAt(0)&&PM.test(e)){const n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10)
|
|
7844
|
-
return FM(n)?NM(n):t}const n=
|
|
7864
|
+
return FM(n)?NM(n):t}const n=EM(t)
|
|
7845
7865
|
return n!==t?n:t}(t,n)}))}const VM=/[&<>"]/,HM=/[&<>"]/g,UM={"&":"&","<":"<",">":">",'"':"""}
|
|
7846
7866
|
function qM(t){return UM[t]}function jM(t){return VM.test(t)?t.replace(HM,qM):t}const WM=/[.?*+^$[\]\\(){}|-]/g
|
|
7847
7867
|
function GM(t){switch(t){case 9:case 32:return!0}return!1}function ZM(t){if(t>=8192&&t<=8202)return!0
|
|
@@ -8024,7 +8044,7 @@ let o=t.src.charCodeAt(s++)
|
|
|
8024
8044
|
if(o<48||o>57)return-1
|
|
8025
8045
|
for(;;){if(s>=i)return-1
|
|
8026
8046
|
if(o=t.src.charCodeAt(s++),!(o>=48&&o<=57)){if(41===o||46===o)break
|
|
8027
|
-
return-1}if(s-n>=10)return-1}return s<i&&(o=t.src.charCodeAt(s),!GM(o))?-1:s}const $$="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",
|
|
8047
|
+
return-1}if(s-n>=10)return-1}return s<i&&(o=t.src.charCodeAt(s),!GM(o))?-1:s}const $$="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",D$="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",E$=new RegExp("^(?:"+$$+"|"+D$+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),A$=new RegExp("^(?:"+$$+"|"+D$+")"),T$=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(A$.source+"\\s*$"),/^$/,!1]]
|
|
8028
8048
|
const O$=[["table",function(t,e,n,i){if(e+2>n)return!1
|
|
8029
8049
|
let s=e+1
|
|
8030
8050
|
if(t.sCount[s]<t.blkIndent)return!1
|
|
@@ -8434,7 +8454,7 @@ if(60!==t.src.charCodeAt(i)||i+2>=n)return!1
|
|
|
8434
8454
|
const s=t.src.charCodeAt(i+1)
|
|
8435
8455
|
if(33!==s&&63!==s&&47!==s&&!function(t){const e=32|t
|
|
8436
8456
|
return e>=97&&e<=122}(s))return!1
|
|
8437
|
-
const o=t.src.slice(i).match(
|
|
8457
|
+
const o=t.src.slice(i).match(E$)
|
|
8438
8458
|
if(!o)return!1
|
|
8439
8459
|
if(!e){const e=t.push("html_inline","",0)
|
|
8440
8460
|
e.content=o[0],r=e.content,/^<a[>\s]/i.test(r)&&t.linkLevel++,function(t){return/^<\/a\s*>/i.test(t)}(e.content)&&t.linkLevel--}var r
|
|
@@ -8444,7 +8464,7 @@ if(n+1>=i)return!1
|
|
|
8444
8464
|
if(35===t.src.charCodeAt(n+1)){const i=t.src.slice(n).match(j$)
|
|
8445
8465
|
if(i){if(!e){const e="x"===i[1][0].toLowerCase()?parseInt(i[1].slice(1),16):parseInt(i[1],10),n=t.push("text_special","",0)
|
|
8446
8466
|
n.content=FM(e)?NM(e):NM(65533),n.markup=i[0],n.info="entity"}return t.pos+=i[0].length,!0}}else{const i=t.src.slice(n).match(W$)
|
|
8447
|
-
if(i){const n=
|
|
8467
|
+
if(i){const n=EM(i[0])
|
|
8448
8468
|
if(n!==i[0]){if(!e){const e=t.push("text_special","",0)
|
|
8449
8469
|
e.content=n,e.markup=i[0],e.info="entity"}return t.pos+=i[0].length,!0}}}return!1}]],K$=[["balance_pairs",function(t){const e=t.tokens_meta,n=t.tokens_meta.length
|
|
8450
8470
|
G$(t.delimiters)
|
|
@@ -8455,7 +8475,7 @@ e!==n&&(s.length=n)}]]
|
|
|
8455
8475
|
function Y$(){this.ruler=new i$
|
|
8456
8476
|
for(let t=0;t<Z$.length;t++)this.ruler.push(Z$[t][0],Z$[t][1])
|
|
8457
8477
|
this.ruler2=new i$
|
|
8458
|
-
for(let t=0;t<K$.length;t++)this.ruler2.push(K$[t][0],K$[t][1])}function X$(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){e&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t}function J$(t){return Object.prototype.toString.call(t)}function Q$(t){return"[object Function]"===J$(t)}function
|
|
8478
|
+
for(let t=0;t<K$.length;t++)this.ruler2.push(K$[t][0],K$[t][1])}function X$(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){e&&Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t}function J$(t){return Object.prototype.toString.call(t)}function Q$(t){return"[object Function]"===J$(t)}function tD(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}Y$.prototype.skipToken=function(t){const e=t.pos,n=this.ruler.getRules(""),i=n.length,s=t.md.options.maxNesting,o=t.cache
|
|
8459
8479
|
if(void 0!==o[e])return void(t.pos=o[e])
|
|
8460
8480
|
let r=!1
|
|
8461
8481
|
if(t.level<s){for(let s=0;s<i;s++)if(t.level++,r=n[s](t,!0),t.level--,r){if(e>=t.pos)throw new Error("inline rule didn't increment state.pos")
|
|
@@ -8468,16 +8488,16 @@ break}if(r){if(t.pos>=i)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPe
|
|
|
8468
8488
|
this.tokenize(s)
|
|
8469
8489
|
const o=this.ruler2.getRules(""),r=o.length
|
|
8470
8490
|
for(let t=0;t<r;t++)o[t](s)},Y$.prototype.State=F$
|
|
8471
|
-
const
|
|
8472
|
-
const
|
|
8491
|
+
const eD={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1}
|
|
8492
|
+
const nD={"http:":{validate:function(t,e,n){const i=t.slice(e)
|
|
8473
8493
|
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)
|
|
8474
8494
|
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)
|
|
8475
|
-
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}}},
|
|
8476
|
-
function
|
|
8495
|
+
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}}},iD="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]",sD="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|")
|
|
8496
|
+
function oD(t){const e=t.re=function(t){const e={}
|
|
8477
8497
|
t=t||{},e.src_Any=cM.source,e.src_Cc=dM.source,e.src_Z=pM.source,e.src_P=hM.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|")
|
|
8478
8498
|
const n="[><|]"
|
|
8479
8499
|
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()
|
|
8480
|
-
function i(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(
|
|
8500
|
+
function i(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(iD),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")
|
|
8481
8501
|
const s=[]
|
|
8482
8502
|
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]
|
|
8483
8503
|
if(null===n)return
|
|
@@ -8485,90 +8505,90 @@ const i={validate:null,link:null}
|
|
|
8485
8505
|
if(t.__compiled__[e]=i,"[object Object]"===J$(n))return!function(t){return"[object RegExp]"===J$(t)}(n.validate)?Q$(n.validate)?i.validate=n.validate:o(e,n):i.validate=function(t){return function(e,n){const i=e.slice(n)
|
|
8486
8506
|
return t.test(i)?i.match(t)[0].length:0}}(n.validate),void(Q$(n.normalize)?i.normalize=n.normalize:n.normalize?o(e,n):i.normalize=function(t,e){e.normalize(t)})
|
|
8487
8507
|
!function(t){return"[object String]"===J$(t)}(n)?o(e,n):s.push(e)})),s.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}}
|
|
8488
|
-
const r=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(
|
|
8489
|
-
t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+r+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+r+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function
|
|
8490
|
-
this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=s,this.text=s,this.url=s}function
|
|
8491
|
-
return t.__compiled__[n.schema].normalize(n,t),n}function
|
|
8508
|
+
const r=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(tD).join("|")
|
|
8509
|
+
t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+r+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+r+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function rD(t,e){const n=t.__index__,i=t.__last_index__,s=t.__text_cache__.slice(n,i)
|
|
8510
|
+
this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=s,this.text=s,this.url=s}function aD(t,e){const n=new rD(t,e)
|
|
8511
|
+
return t.__compiled__[n.schema].normalize(n,t),n}function lD(t,e){if(!(this instanceof lD))return new lD(t,e)
|
|
8492
8512
|
var n
|
|
8493
|
-
e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||
|
|
8513
|
+
e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||eD.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=X$({},eD,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=X$({},nD,t),this.__compiled__={},this.__tlds__=sD,this.__tlds_replaced__=!1,this.re={},oD(this)}lD.prototype.add=function(t,e){return this.__schemas__[t]=e,oD(this),this},lD.prototype.set=function(t){return this.__opts__=X$(this.__opts__,t),this},lD.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1
|
|
8494
8514
|
let e,n,i,s,o,r,a,l,c
|
|
8495
8515
|
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
|
|
8496
|
-
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},
|
|
8516
|
+
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},lD.prototype.pretest=function(t){return this.re.pretest.test(t)},lD.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},lD.prototype.match=function(t){const e=[]
|
|
8497
8517
|
let n=0
|
|
8498
|
-
this.__index__>=0&&this.__text_cache__===t&&(e.push(
|
|
8518
|
+
this.__index__>=0&&this.__text_cache__===t&&(e.push(aD(this,n)),n=this.__last_index__)
|
|
8499
8519
|
let i=n?t.slice(n):t
|
|
8500
|
-
for(;this.test(i);)e.push(
|
|
8501
|
-
return e.length?e:null},
|
|
8520
|
+
for(;this.test(i);)e.push(aD(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__
|
|
8521
|
+
return e.length?e:null},lD.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null
|
|
8502
8522
|
const e=this.re.schema_at_start.exec(t)
|
|
8503
8523
|
if(!e)return null
|
|
8504
8524
|
const n=this.testSchemaAt(t,e[2],e[0].length)
|
|
8505
|
-
return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,
|
|
8506
|
-
const
|
|
8507
|
-
function
|
|
8525
|
+
return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,aD(this,0)):null},lD.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse(),oD(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,oD(this),this)},lD.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},lD.prototype.onCompile=function(){}
|
|
8526
|
+
const cD=2147483647,dD=36,hD=/^xn--/,uD=/[^\0-\x7F]/,pD=/[\x2E\u3002\uFF0E\uFF61]/g,fD={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},mD=Math.floor,gD=String.fromCharCode
|
|
8527
|
+
function vD(t){throw new RangeError(fD[t])}function bD(t,e){const n=t.split("@")
|
|
8508
8528
|
let i=""
|
|
8509
8529
|
n.length>1&&(i=n[0]+"@",t=n[1])
|
|
8510
8530
|
const s=function(t,e){const n=[]
|
|
8511
8531
|
let i=t.length
|
|
8512
8532
|
for(;i--;)n[i]=e(t[i])
|
|
8513
|
-
return n}((t=t.replace(
|
|
8514
|
-
return i+s}function
|
|
8533
|
+
return n}((t=t.replace(pD,".")).split("."),e).join(".")
|
|
8534
|
+
return i+s}function yD(t){const e=[]
|
|
8515
8535
|
let n=0
|
|
8516
8536
|
const i=t.length
|
|
8517
8537
|
for(;n<i;){const s=t.charCodeAt(n++)
|
|
8518
8538
|
if(s>=55296&&s<=56319&&n<i){const i=t.charCodeAt(n++)
|
|
8519
|
-
56320==(64512&i)?e.push(((1023&s)<<10)+(1023&i)+65536):(e.push(s),n--)}else e.push(s)}return e}const
|
|
8520
|
-
for(t=n?
|
|
8521
|
-
return
|
|
8539
|
+
56320==(64512&i)?e.push(((1023&s)<<10)+(1023&i)+65536):(e.push(s),n--)}else e.push(s)}return e}const wD=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},xD=function(t,e,n){let i=0
|
|
8540
|
+
for(t=n?mD(t/700):t>>1,t+=mD(t/e);t>455;i+=dD)t=mD(t/35)
|
|
8541
|
+
return mD(i+36*t/(t+38))},CD=function(t){const e=[],n=t.length
|
|
8522
8542
|
let i=0,s=128,o=72,r=t.lastIndexOf("-")
|
|
8523
8543
|
r<0&&(r=0)
|
|
8524
|
-
for(let n=0;n<r;++n)t.charCodeAt(n)>=128&&
|
|
8544
|
+
for(let n=0;n<r;++n)t.charCodeAt(n)>=128&&vD("not-basic"),e.push(t.charCodeAt(n))
|
|
8525
8545
|
for(let l=r>0?r+1:0;l<n;){const r=i
|
|
8526
|
-
for(let e=1,s=
|
|
8527
|
-
const r=(a=t.charCodeAt(l++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:
|
|
8528
|
-
r>=
|
|
8546
|
+
for(let e=1,s=dD;;s+=dD){l>=n&&vD("invalid-input")
|
|
8547
|
+
const r=(a=t.charCodeAt(l++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:dD
|
|
8548
|
+
r>=dD&&vD("invalid-input"),r>mD((cD-i)/e)&&vD("overflow"),i+=r*e
|
|
8529
8549
|
const c=s<=o?1:s>=o+26?26:s-o
|
|
8530
8550
|
if(r<c)break
|
|
8531
|
-
const d=
|
|
8532
|
-
e>
|
|
8533
|
-
o=
|
|
8534
|
-
return String.fromCodePoint(...e)},
|
|
8551
|
+
const d=dD-c
|
|
8552
|
+
e>mD(cD/d)&&vD("overflow"),e*=d}const c=e.length+1
|
|
8553
|
+
o=xD(i-r,c,0==r),mD(i/c)>cD-s&&vD("overflow"),s+=mD(i/c),i%=c,e.splice(i++,0,s)}var a
|
|
8554
|
+
return String.fromCodePoint(...e)},kD=function(t){const e=[],n=(t=yD(t)).length
|
|
8535
8555
|
let i=128,s=0,o=72
|
|
8536
|
-
for(const n of t)n<128&&e.push(
|
|
8556
|
+
for(const n of t)n<128&&e.push(gD(n))
|
|
8537
8557
|
const r=e.length
|
|
8538
8558
|
let a=r
|
|
8539
|
-
for(r&&e.push("-");a<n;){let n=
|
|
8559
|
+
for(r&&e.push("-");a<n;){let n=cD
|
|
8540
8560
|
for(const e of t)e>=i&&e<n&&(n=e)
|
|
8541
8561
|
const l=a+1
|
|
8542
|
-
n-i>
|
|
8543
|
-
for(const n of t)if(n<i&&++s>
|
|
8544
|
-
for(let n=
|
|
8562
|
+
n-i>mD((cD-s)/l)&&vD("overflow"),s+=(n-i)*l,i=n
|
|
8563
|
+
for(const n of t)if(n<i&&++s>cD&&vD("overflow"),n===i){let t=s
|
|
8564
|
+
for(let n=dD;;n+=dD){const i=n<=o?1:n>=o+26?26:n-o
|
|
8545
8565
|
if(t<i)break
|
|
8546
|
-
const s=t-i,r=
|
|
8547
|
-
e.push(
|
|
8548
|
-
const
|
|
8549
|
-
function $
|
|
8550
|
-
return!
|
|
8551
|
-
function
|
|
8552
|
-
if(e.hostname&&(!e.protocol||
|
|
8553
|
-
if(e.hostname&&(!e.protocol||
|
|
8554
|
-
e||AM(t)||(e=t||{},t="default"),this.inline=new Y$,this.block=new R$,this.core=new C$,this.renderer=new n$,this.linkify=new
|
|
8566
|
+
const s=t-i,r=dD-i
|
|
8567
|
+
e.push(gD(wD(i+s%r,0))),t=mD(s/r)}e.push(gD(wD(t,0))),o=xD(s,l,a===r),s=0,++a}++s,++i}return e.join("")},SD={version:"2.3.1",ucs2:{decode:yD,encode:t=>String.fromCodePoint(...t)},decode:CD,encode:kD,toASCII:function(t){return bD(t,(function(t){return uD.test(t)?"xn--"+kD(t):t}))},toUnicode:function(t){return bD(t,(function(t){return hD.test(t)?CD(t.slice(4).toLowerCase()):t}))}}
|
|
8568
|
+
const _D={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},ID=/^(vbscript|javascript|file|data):/,MD=/^data:image\/(gif|png|jpeg|webp);/
|
|
8569
|
+
function $D(t){const e=t.trim().toLowerCase()
|
|
8570
|
+
return!ID.test(e)||MD.test(e)}const DD=["http:","https:","mailto:"]
|
|
8571
|
+
function ED(t){const e=rM(t,!0)
|
|
8572
|
+
if(e.hostname&&(!e.protocol||DD.indexOf(e.protocol)>=0))try{e.hostname=SD.toASCII(e.hostname)}catch(t){}return WI(GI(e))}function AD(t){const e=rM(t,!0)
|
|
8573
|
+
if(e.hostname&&(!e.protocol||DD.indexOf(e.protocol)>=0))try{e.hostname=SD.toUnicode(e.hostname)}catch(t){}return qI(GI(e),qI.defaultChars+"%")}function TD(t,e){if(!(this instanceof TD))return new TD(t,e)
|
|
8574
|
+
e||AM(t)||(e=t||{},t="default"),this.inline=new Y$,this.block=new R$,this.core=new C$,this.renderer=new n$,this.linkify=new lD,this.validateLink=$D,this.normalizeLink=ED,this.normalizeLinkText=AD,this.utils=QM,this.helpers=OM({},t$),this.options={},this.configure(t),e&&this.set(e)}TD.prototype.set=function(t){return OM(this.options,t),this},TD.prototype.configure=function(t){const e=this
|
|
8555
8575
|
if(AM(t)){const e=t
|
|
8556
|
-
if(!(t=
|
|
8557
|
-
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},
|
|
8576
|
+
if(!(t=_D[e]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty")
|
|
8577
|
+
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},TD.prototype.enable=function(t,e){let n=[]
|
|
8558
8578
|
Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.enable(t,!0))}),this),n=n.concat(this.inline.ruler2.enable(t,!0))
|
|
8559
8579
|
const i=t.filter((function(t){return n.indexOf(t)<0}))
|
|
8560
8580
|
if(i.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i)
|
|
8561
|
-
return this},
|
|
8581
|
+
return this},TD.prototype.disable=function(t,e){let n=[]
|
|
8562
8582
|
Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.disable(t,!0))}),this),n=n.concat(this.inline.ruler2.disable(t,!0))
|
|
8563
8583
|
const i=t.filter((function(t){return n.indexOf(t)<0}))
|
|
8564
8584
|
if(i.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i)
|
|
8565
|
-
return this},
|
|
8566
|
-
return t.apply(t,e),this},
|
|
8585
|
+
return this},TD.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1))
|
|
8586
|
+
return t.apply(t,e),this},TD.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String")
|
|
8567
8587
|
const n=new this.core.State(t,this,e)
|
|
8568
|
-
return this.core.process(n),n.tokens},
|
|
8569
|
-
return n.inlineMode=!0,this.core.process(n),n.tokens},
|
|
8570
|
-
const
|
|
8571
|
-
class
|
|
8588
|
+
return this.core.process(n),n.tokens},TD.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},TD.prototype.parseInline=function(t,e){const n=new this.core.State(t,this,e)
|
|
8589
|
+
return n.inlineMode=!0,this.core.process(n),n.tokens},TD.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)}
|
|
8590
|
+
const OD=new qy({nodes:{doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM:()=>["p",0]},blockquote:{content:"block+",group:"block",parseDOM:[{tag:"blockquote"}],toDOM:()=>["blockquote",0]},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM:()=>["div",["hr"]]},heading:{attrs:{level:{default:1}},content:"(text | image)*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM:t=>["h"+t.attrs.level,0]},code_block:{content:"text*",group:"block",code:!0,defining:!0,marks:"",attrs:{params:{default:""}},parseDOM:[{tag:"pre",preserveWhitespace:"full",getAttrs:t=>({params:t.getAttribute("data-params")||""})}],toDOM:t=>["pre",t.attrs.params?{"data-params":t.attrs.params}:{},["code",0]]},ordered_list:{content:"list_item+",group:"block",attrs:{order:{default:1},tight:{default:!1}},parseDOM:[{tag:"ol",getAttrs:t=>({order:t.hasAttribute("start")?+t.getAttribute("start"):1,tight:t.hasAttribute("data-tight")})}],toDOM:t=>["ol",{start:1==t.attrs.order?null:t.attrs.order,"data-tight":t.attrs.tight?"true":null},0]},bullet_list:{content:"list_item+",group:"block",attrs:{tight:{default:!1}},parseDOM:[{tag:"ul",getAttrs:t=>({tight:t.hasAttribute("data-tight")})}],toDOM:t=>["ul",{"data-tight":t.attrs.tight?"true":null},0]},list_item:{content:"block+",defining:!0,parseDOM:[{tag:"li"}],toDOM:()=>["li",0]},text:{group:"inline"},image:{inline:!0,attrs:{src:{},alt:{default:null},title:{default:null}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs:t=>({src:t.getAttribute("src"),title:t.getAttribute("title"),alt:t.getAttribute("alt")})}],toDOM:t=>["img",t.attrs]},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM:()=>["br"]}},marks:{em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:t=>"em"==t.type.name}],toDOM:()=>["em"]},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:t=>"normal"!=t.style.fontWeight&&null},{style:"font-weight=400",clearMark:t=>"strong"==t.type.name},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}],toDOM:()=>["strong"]},link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:t=>({href:t.getAttribute("href"),title:t.getAttribute("title")})}],toDOM:t=>["a",t.attrs]},code:{parseDOM:[{tag:"code"}],toDOM:()=>["code"]}}})
|
|
8591
|
+
class RD{constructor(t,e){this.schema=t,this.tokenHandlers=e,this.stack=[{type:t.topNodeType,attrs:null,content:[],marks:oy.none}]}top(){return this.stack[this.stack.length-1]}push(t){this.stack.length&&this.top().content.push(t)}addText(t){if(!t)return
|
|
8572
8592
|
let e,n=this.top(),i=n.content,s=i[i.length-1],o=this.schema.text(t,n.marks)
|
|
8573
8593
|
s&&(e=function(t,e){if(t.isText&&e.isText&&oy.sameSet(t.marks,e.marks))return t.withText(t.text+e.text)}(s,o))?i[i.length-1]=e:i.push(o)}openMark(t){let e=this.top()
|
|
8574
8594
|
e.marks=t.addToSet(e.marks)}closeMark(t){let e=this.top()
|
|
@@ -8576,35 +8596,35 @@ e.marks=t.removeFromSet(e.marks)}parseTokens(t){for(let e=0;e<t.length;e++){let
|
|
|
8576
8596
|
if(!i)throw new Error("Token type `"+n.type+"` not supported by Markdown parser")
|
|
8577
8597
|
i(this,n,t,e)}}addNode(t,e,n){let i=this.top(),s=t.createAndFill(e,n,i?i.marks:[])
|
|
8578
8598
|
return s?(this.push(s),s):null}openNode(t,e){this.stack.push({type:t,attrs:e,content:[],marks:oy.none})}closeNode(){let t=this.stack.pop()
|
|
8579
|
-
return this.addNode(t.type,t.attrs,t.content)}}function
|
|
8599
|
+
return this.addNode(t.type,t.attrs,t.content)}}function FD(t,e,n,i){return t.getAttrs?t.getAttrs(e,n,i):t.attrs instanceof Function?t.attrs(e):t.attrs}function ND(t,e){return t.noCloseToken||"code_inline"==e||"code_block"==e||"fence"==e}function LD(t){return"\n"==t[t.length-1]?t.slice(0,t.length-1):t}function BD(){}class PD{constructor(t,e,n){this.schema=t,this.tokenizer=e,this.tokens=n,this.tokenHandlers=function(t,e){let n=Object.create(null)
|
|
8580
8600
|
for(let i in e){let s=e[i]
|
|
8581
8601
|
if(s.block){let e=t.nodeType(s.block)
|
|
8582
|
-
|
|
8583
|
-
n[i]=(t,n,i,o)=>t.addNode(e,
|
|
8584
|
-
|
|
8585
|
-
|
|
8602
|
+
ND(s,i)?n[i]=(t,n,i,o)=>{t.openNode(e,FD(s,n,i,o)),t.addText(LD(n.content)),t.closeNode()}:(n[i+"_open"]=(t,n,i,o)=>t.openNode(e,FD(s,n,i,o)),n[i+"_close"]=t=>t.closeNode())}else if(s.node){let e=t.nodeType(s.node)
|
|
8603
|
+
n[i]=(t,n,i,o)=>t.addNode(e,FD(s,n,i,o))}else if(s.mark){let e=t.marks[s.mark]
|
|
8604
|
+
ND(s,i)?n[i]=(t,n,i,o)=>{t.openMark(e.create(FD(s,n,i,o))),t.addText(LD(n.content)),t.closeMark(e)}:(n[i+"_open"]=(t,n,i,o)=>t.openMark(e.create(FD(s,n,i,o))),n[i+"_close"]=t=>t.closeMark(e))}else{if(!s.ignore)throw new RangeError("Unrecognized parsing spec "+JSON.stringify(s))
|
|
8605
|
+
ND(s,i)?n[i]=BD:(n[i+"_open"]=BD,n[i+"_close"]=BD)}}return n.text=(t,e)=>t.addText(e.content),n.inline=(t,e)=>t.parseTokens(e.children),n.softbreak=n.softbreak||(t=>t.addText(" ")),n}(t,n)}parse(t,e={}){let n,i=new RD(this.schema,this.tokenHandlers)
|
|
8586
8606
|
i.parseTokens(this.tokenizer.parse(t,e))
|
|
8587
8607
|
do{n=i.closeNode()}while(i.stack.length)
|
|
8588
|
-
return n||this.schema.topNodeType.createAndFill()}}function
|
|
8589
|
-
return!1}const
|
|
8590
|
-
class
|
|
8591
|
-
let n=new
|
|
8592
|
-
return n.renderContent(t),n.out}}const
|
|
8608
|
+
return n||this.schema.topNodeType.createAndFill()}}function zD(t,e){for(;++e<t.length;)if("list_item_open"!=t[e].type)return t[e].hidden
|
|
8609
|
+
return!1}const VD=new PD(OD,TD("commonmark",{html:!1}),{blockquote:{block:"blockquote"},paragraph:{block:"paragraph"},list_item:{block:"list_item"},bullet_list:{block:"bullet_list",getAttrs:(t,e,n)=>({tight:zD(e,n)})},ordered_list:{block:"ordered_list",getAttrs:(t,e,n)=>({order:+t.attrGet("start")||1,tight:zD(e,n)})},heading:{block:"heading",getAttrs:t=>({level:+t.tag.slice(1)})},code_block:{block:"code_block",noCloseToken:!0},fence:{block:"code_block",getAttrs:t=>({params:t.info||""}),noCloseToken:!0},hr:{node:"horizontal_rule"},image:{node:"image",getAttrs:t=>({src:t.attrGet("src"),title:t.attrGet("title")||null,alt:t.children[0]&&t.children[0].content||null})},hardbreak:{node:"hard_break"},em:{mark:"em"},strong:{mark:"strong"},link:{mark:"link",getAttrs:t=>({href:t.attrGet("href"),title:t.attrGet("title")||null})},code_inline:{mark:"code",noCloseToken:!0}}),HD={open:"",close:"",mixable:!0}
|
|
8610
|
+
class UD{constructor(t,e,n={}){this.nodes=t,this.marks=e,this.options=n}serialize(t,e={}){e=Object.assign({},this.options,e)
|
|
8611
|
+
let n=new WD(this.nodes,this.marks,e)
|
|
8612
|
+
return n.renderContent(t),n.out}}const qD=new UD({blockquote(t,e){t.wrapBlock("> ",null,e,(()=>t.renderContent(e)))},code_block(t,e){const n=e.textContent.match(/`{3,}/gm),i=n?n.sort().slice(-1)[0]+"`":"```"
|
|
8593
8613
|
t.write(i+(e.attrs.params||"")+"\n"),t.text(e.textContent,!1),t.write("\n"),t.write(i),t.closeBlock(e)},heading(t,e){t.write(t.repeat("#",e.attrs.level)+" "),t.renderInline(e,!1),t.closeBlock(e)},horizontal_rule(t,e){t.write(e.attrs.markup||"---"),t.closeBlock(e)},bullet_list(t,e){t.renderList(e," ",(()=>(e.attrs.bullet||"*")+" "))},ordered_list(t,e){let n=e.attrs.order||1,i=String(n+e.childCount-1).length,s=t.repeat(" ",i+2)
|
|
8594
8614
|
t.renderList(e,s,(e=>{let s=String(n+e)
|
|
8595
8615
|
return t.repeat(" ",i-s.length)+s+". "}))},list_item(t,e){t.renderContent(e)},paragraph(t,e){t.renderInline(e),t.closeBlock(e)},image(t,e){t.write("]/g,"\\$&")+(e.attrs.title?' "'+e.attrs.title.replace(/"/g,'\\"')+'"':"")+")")},hard_break(t,e,n,i){for(let s=i+1;s<n.childCount;s++)if(n.child(s).type!=e.type)return void t.write("\\\n")},text(t,e){t.text(e.text,!t.inAutolink)}},{em:{open:"*",close:"*",mixable:!0,expelEnclosingWhitespace:!0},strong:{open:"**",close:"**",mixable:!0,expelEnclosingWhitespace:!0},link:{open:(t,e,n,i)=>(t.inAutolink=function(t,e,n){if(t.attrs.title||!/^\w+:/.test(t.attrs.href))return!1
|
|
8596
8616
|
let i=e.child(n)
|
|
8597
8617
|
return!(!i.isText||i.text!=t.attrs.href||i.marks[i.marks.length-1]!=t)&&(n==e.childCount-1||!t.isInSet(e.child(n+1).marks))}(e,n,i),t.inAutolink?"<":"["),close(t,e,n,i){let{inAutolink:s}=t
|
|
8598
|
-
return t.inAutolink=void 0,s?">":"]("+e.attrs.href.replace(/[\(\)"]/g,"\\$&")+(e.attrs.title?` "${e.attrs.title.replace(/"/g,'\\"')}"`:"")+")"},mixable:!0},code:{open:(t,e,n,i)=>
|
|
8599
|
-
function
|
|
8618
|
+
return t.inAutolink=void 0,s?">":"]("+e.attrs.href.replace(/[\(\)"]/g,"\\$&")+(e.attrs.title?` "${e.attrs.title.replace(/"/g,'\\"')}"`:"")+")"},mixable:!0},code:{open:(t,e,n,i)=>jD(n.child(i),-1),close:(t,e,n,i)=>jD(n.child(i-1),1),escape:!1}})
|
|
8619
|
+
function jD(t,e){let n,i=/`+/g,s=0
|
|
8600
8620
|
if(t.isText)for(;n=i.exec(t.text);)s=Math.max(s,n[0].length)
|
|
8601
8621
|
let o=s>0&&e>0?" `":"`"
|
|
8602
8622
|
for(let t=0;t<s;t++)o+="`"
|
|
8603
|
-
return s>0&&e<0&&(o+=" "),o}class
|
|
8623
|
+
return s>0&&e<0&&(o+=" "),o}class WD{constructor(t,e,n){this.nodes=t,this.marks=e,this.options=n,this.delim="",this.out="",this.closed=null,this.inAutolink=void 0,this.atBlockStart=!1,this.inTightList=!1,void 0===this.options.tightLists&&(this.options.tightLists=!1),void 0===this.options.hardBreakNodeName&&(this.options.hardBreakNodeName="hard_break")}flushClose(t=2){if(this.closed){if(this.atBlank()||(this.out+="\n"),t>1){let e=this.delim,n=/\s+$/.exec(e)
|
|
8604
8624
|
n&&(e=e.slice(0,e.length-n[0].length))
|
|
8605
8625
|
for(let n=1;n<t;n++)this.out+=e+"\n"}this.closed=null}}getMark(t){let e=this.marks[t]
|
|
8606
8626
|
if(!e){if(!1!==this.options.strict)throw new Error(`Mark type \`${t}\` not supported by Markdown renderer`)
|
|
8607
|
-
e=
|
|
8627
|
+
e=HD}return e}wrapBlock(t,e,n,i){let s=this.delim
|
|
8608
8628
|
this.write(null!=e?e:t),this.delim+=t,i(),this.delim=s,this.closeBlock(n)}atBlank(){return/(^|\n)$/.test(this.out)}ensureNewLine(){this.atBlank()||(this.out+="\n")}write(t){this.flushClose(),this.delim&&this.atBlank()&&(this.out+=this.delim),t&&(this.out+=t)}closeBlock(t){this.closed=t}text(t,e=!0){let n=t.split("\n")
|
|
8609
8629
|
for(let t=0;t<n.length;t++)this.write(),!e&&"["==n[t][0]&&/(^|[^\\])\!$/.test(this.out)&&(this.out=this.out.slice(0,this.out.length-1)+"\\!"),this.out+=e?this.esc(n[t],this.atBlockStart):n[t],t!=n.length-1&&(this.out+="\n")}render(t,e,n){if(this.nodes[t.type.name])this.nodes[t.type.name](this,t,e,n)
|
|
8610
8630
|
else{if(!1!==this.options.strict)throw new Error("Token type `"+t.type.name+"` not supported by Markdown renderer")
|
|
@@ -8635,72 +8655,72 @@ this.inTightList=i,t.forEach(((s,o,r)=>{r&&i&&this.flushClose(1),this.wrapBlock(
|
|
|
8635
8655
|
return e[0]+t+e[1]}repeat(t,e){let n=""
|
|
8636
8656
|
for(let i=0;i<e;i++)n+=t
|
|
8637
8657
|
return n}markString(t,e,n,i){let s=this.getMark(t.type.name),o=e?s.open:s.close
|
|
8638
|
-
return"string"==typeof o?o:o(this,t,n,i)}getEnclosingWhitespace(t){return{leading:(t.match(/^(\s+)/)||[void 0])[0],trailing:(t.match(/(\s+)$/)||[void 0])[0]}}}var
|
|
8639
|
-
class
|
|
8658
|
+
return"string"==typeof o?o:o(this,t,n,i)}getEnclosingWhitespace(t){return{leading:(t.match(/^(\s+)/)||[void 0])[0],trailing:(t.match(/(\s+)$/)||[void 0])[0]}}}var GD
|
|
8659
|
+
class ZD{static parseMarkdownToDOM(t,e){try{GD.setup(e)
|
|
8640
8660
|
const n=this.markdownParser.parse(t)
|
|
8641
|
-
return null===n?{fragment:document.createDocumentFragment(),mentionedHrefs:Array.from(
|
|
8642
|
-
return t.normalizeLinkText=t=>t,new
|
|
8643
|
-
return n&&i?(
|
|
8644
|
-
class
|
|
8645
|
-
t.write(`<${n}>`)},n={bulletList:
|
|
8661
|
+
return null===n?{fragment:document.createDocumentFragment(),mentionedHrefs:Array.from(GD.mentionedHrefs)}:{fragment:this.domSerializer.serializeFragment(n.content),mentionedHrefs:Array.from(GD.mentionedHrefs)}}finally{GD.cleanup()}}static initializeMarkdownParser(){const t=VD.tokenizer.configure("zero").enable(["emphasis","list","escape","autolink","newline"])
|
|
8662
|
+
return t.normalizeLinkText=t=>t,new PD(this.updatedSchema,t,VD.tokens)}static getCustomSchemaConfiguration(){return new qy({nodes:OD.spec.nodes,marks:{link:{attrs:{href:{},rel:{default:"noopener noreferrer"},class:{default:""}},inclusive:!1,excludes:"_",toDOM(t){const e=t.attrs.href,n=GD.mentionConfigs?.find((t=>t.isValidMentionHref(e))),i=n?.getDisplayName(e)
|
|
8663
|
+
return n&&i?(GD.mentionedHrefs.add(e),[n.viewElement,{"mention-href":e,"mention-label":i}]):[xh,{href:GD.startsWithHttpOrHttps(e)?e:null,rel:t.attrs.rel,class:e,"underline-hidden":!GD.startsWithHttpOrHttps(e)||null}]}},em:OD.spec.marks.get("em"),strong:OD.spec.marks.get("strong")}})}static setup(t){GD.mentionConfigs=t,GD.mentionedHrefs.clear()}static cleanup(){GD.mentionConfigs=void 0,GD.mentionedHrefs.clear()}static startsWithHttpOrHttps(t){return/^https?:\/\//i.test(t)}}GD=ZD,ZD.mentionedHrefs=new Set,ZD.updatedSchema=GD.getCustomSchemaConfiguration(),ZD.markdownParser=GD.initializeMarkdownParser(),ZD.domSerializer=nw.fromSchema(GD.updatedSchema)
|
|
8664
|
+
class KD{constructor(t){this.markdownSerializer=this.initializeMarkdownSerializerForTipTap(t)}serializeDOMToMarkdown(t){return this.markdownSerializer.serialize(t)}initializeMarkdownSerializerForTipTap(t){const e=function(t,e){const n=e.attrs.href
|
|
8665
|
+
t.write(`<${n}>`)},n={bulletList:qD.nodes.bullet_list,listItem:qD.nodes.list_item,orderedList:function(t,e){const n=e.attrs.start||1,i=String(n+e.childCount-1).length,s=t.repeat(" ",i+2)
|
|
8646
8666
|
t.renderList(e,s,(e=>{const s=String(n+e)
|
|
8647
|
-
return`${t.repeat(" ",i-s.length)+s}. `}))},doc:
|
|
8667
|
+
return`${t.repeat(" ",i-s.length)+s}. `}))},doc:qD.nodes.doc,paragraph:qD.nodes.paragraph,text:qD.nodes.text,hardBreak:qD.nodes.hard_break}
|
|
8648
8668
|
t.forEach((t=>{n[t]=e}))
|
|
8649
|
-
const i={italic:
|
|
8650
|
-
return new
|
|
8651
|
-
class
|
|
8669
|
+
const i={italic:qD.marks.em,bold:qD.marks.strong,link:{open:"<",close:">",escape:!1,expelEnclosingWhitespace:!0}}
|
|
8670
|
+
return new UD(n,i)}}class YD{constructor(t,e){this.iconTemplate=Q`<${t.icon} slot="start"></${t.icon}>`,this.character=t.character,this.viewElement=t.viewElement,this.validator=t.validator,this.mentionUpdateEmitter=e}}t([C],YD.prototype,"mappingConfigs",void 0),t([C],YD.prototype,"pattern",void 0),t([C],YD.prototype,"buttonLabel",void 0)
|
|
8671
|
+
class XD extends We{constructor(){super(...arguments),this.mentionInternals=new YD(this.getMentionInternalsOptions(),(t=>{this.emitMentionUpdate(t)})),this.mappingNotifiers=[],this.mappingElements=[]}checkValidity(){return this.mentionInternals.validator.isValid()}get validity(){return this.mentionInternals.validator.getValidity()}emitMentionUpdate(t){const e={filter:t}
|
|
8652
8672
|
this.$emit("mention-update",e)}handleChange(t,e){t instanceof yb&&"string"==typeof e&&this.getObservedMappingProperty().includes(e)&&this.updateMappingConfigs()}getMappingConfigs(){const t=new Map
|
|
8653
8673
|
return this.mappingElements.forEach((e=>{const n=e.key??void 0
|
|
8654
8674
|
if(void 0===n||"string"!=typeof n)throw Error("mentionHref was invalid for type. Validation should have prevented this.")
|
|
8655
8675
|
const i=this.createMappingConfig(e)
|
|
8656
8676
|
t.set(n,i)})),t}updateMappingConfigs(){this.mentionInternals.validator.validate(this.mappingElements,this.pattern),this.mentionInternals.mappingConfigs=this.mentionInternals.validator.isValid()?this.getMappingConfigs():void 0}mappingElementsChanged(){this.updateMappingConfigs(),this.observeMappingElements()}patternChanged(){this.mentionInternals.validator.validate(this.mappingElements,this.pattern),this.mentionInternals.pattern=this.pattern}buttonLabelChanged(){this.mentionInternals.buttonLabel=this.buttonLabel}removeMappingElementObservers(){this.mappingNotifiers.forEach((t=>{t.unsubscribe(this)})),this.mappingNotifiers=[]}observeMappingElements(){this.removeMappingElementObservers()
|
|
8657
8677
|
for(const t of this.mappingElements){const e=x.getNotifier(t)
|
|
8658
|
-
e.subscribe(this),this.mappingNotifiers.push(e)}}}t([ft],
|
|
8659
|
-
class
|
|
8678
|
+
e.subscribe(this),this.mappingNotifiers.push(e)}}}t([ft],XD.prototype,"pattern",void 0),t([ft({attribute:"button-label"})],XD.prototype,"buttonLabel",void 0),t([C],XD.prototype,"mappingElements",void 0)
|
|
8679
|
+
class JD{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)
|
|
8660
8680
|
return e?.displayName??n}extractMentionId(t){const e=this.regexPattern.exec(t)
|
|
8661
|
-
return e?.[1]??void 0}}class
|
|
8662
|
-
class
|
|
8681
|
+
return e?.[1]??void 0}}class QD{constructor(t){this.parserMentionConfig=[],this.isValid=!0,this.isValid=t.every((t=>t.mentionInternals.validator.isValid())),this.parserMentionConfig=this.isValid?t.map((t=>new JD(t.mentionInternals))):[]}}class tE{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 eE extends tE{}const nE=["pattern","mappingConfigs","buttonLabel"]
|
|
8682
|
+
class iE extends eE{constructor(t){super(nE),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")
|
|
8663
8683
|
break
|
|
8664
8684
|
case"pattern":this.track("pattern")
|
|
8665
8685
|
break
|
|
8666
|
-
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
|
|
8667
|
-
return this.duplicateMentionConfiguration=e.length!==new Set(e).size,!this.duplicateMentionConfiguration}}async function
|
|
8668
|
-
await Promise.all(e)}class
|
|
8686
|
+
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 sE{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))
|
|
8687
|
+
return this.duplicateMentionConfiguration=e.length!==new Set(e).size,!this.duplicateMentionConfiguration}}async function oE(t){const e=t.map((async t=>t.matches(":not(:defined)")?customElements.whenDefined(t.localName):Promise.resolve()))
|
|
8688
|
+
await Promise.all(e)}class rE extends We{constructor(){super(...arguments),this.mentionInternalsNotifiers=[],this.childItems=[],this.richTextUpdateTracker=new iE(this),this.richTextValidator=new sE}get validity(){return this.richTextValidator.getValidity()}checkValidity(){return this.richTextValidator.isValid()}handleChange(t,e){t instanceof YD&&"string"==typeof e&&this.richTextUpdateTracker.trackMentionInternalsPropertyChanged(e)}createConfig(){this.validate(),this.richTextValidator.isValid()?(this.richTextUpdateTracker.updateMappingConfigs||this.richTextUpdateTracker.updatePattern)&&(this.configuration=new QD(this.mentionElements)):this.configuration=void 0}validate(){this.richTextValidator.validate(this.mentionElements)}childItemsChanged(t,e){void 0!==t&&this.updateMentionElementsFromChildItems()}async updateMentionElementsFromChildItems(){await oE(this.childItems),this.mentionElements=this.childItems.filter((t=>t instanceof XD)),this.observeMentionInternals(),this.richTextUpdateTracker.trackMentionElementsInstancesChanged()}observeMentionInternals(){this.removeMentionInternalsObservers()
|
|
8669
8689
|
for(const t of this.mentionElements){const e=x.getNotifier(t.mentionInternals)
|
|
8670
|
-
e.subscribe(this),this.mentionInternalsNotifiers.push(e)}}removeMentionInternalsObservers(){this.mentionInternalsNotifiers.forEach((t=>{t.unsubscribe(this)})),this.mentionInternalsNotifiers=[]}}t([C],
|
|
8671
|
-
const
|
|
8672
|
-
return!!Object.entries(n).some((([,t])=>!!t))||e.unsetMark(this.name)}}}}),
|
|
8673
|
-
return(this.options.keepMarks||this.options.keepAttributes)&&(t=gI({find:
|
|
8674
|
-
var
|
|
8675
|
-
|
|
8690
|
+
e.subscribe(this),this.mentionInternalsNotifiers.push(e)}}removeMentionInternalsObservers(){this.mentionInternalsNotifiers.forEach((t=>{t.unsubscribe(this)})),this.mentionInternalsNotifiers=[]}}t([C],rE.prototype,"childItems",void 0),t([C],rE.prototype,"configuration",void 0)
|
|
8691
|
+
const aE=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,lE=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,cE=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,dE=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,hE=vI.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"strong"},{tag:"b",getAttrs:t=>"normal"!==t.style.fontWeight&&null},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}],renderHTML({HTMLAttributes:t}){return["strong",l_(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[mI({find:aE,type:this.type}),mI({find:cE,type:this.type})]},addPasteRules(){return[yI({find:lE,type:this.type}),yI({find:dE,type:this.type})]}}),uE=bI.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:t}){return["li",l_(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)}}}),pE=vI.create({name:"textStyle",priority:101,addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:t=>!!t.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:t}){return["span",l_(this.options.HTMLAttributes,t),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:t,commands:e})=>{const n=K_(t,this.type)
|
|
8692
|
+
return!!Object.entries(n).some((([,t])=>!!t))||e.unsetMark(this.name)}}}}),fE=/^\s*([-+*])\s$/,mE=bI.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",l_(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(uE.name,this.editor.getAttributes(pE.name)).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:fE,type:this.type})
|
|
8693
|
+
return(this.options.keepMarks||this.options.keepAttributes)&&(t=gI({find:fE,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(pE.name),editor:this.editor})),[t]}}),gE=bI.create({name:"doc",topNode:!0,content:"block+"})
|
|
8694
|
+
var vE=200,bE=function(){}
|
|
8695
|
+
bE.prototype.append=function(t){return t.length?(t=bE.from(t),!this.length&&t||t.length<vE&&this.leafAppend(t)||this.length<vE&&t.leafPrepend(this)||this.appendInner(t)):this},bE.prototype.prepend=function(t){return t.length?bE.from(t).append(this):this},bE.prototype.appendInner=function(t){return new wE(this,t)},bE.prototype.slice=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.length),t>=e?bE.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,e))},bE.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)},bE.prototype.forEach=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length),e<=n?this.forEachInner(t,e,n,0):this.forEachInvertedInner(t,e,n,0)},bE.prototype.map=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length)
|
|
8676
8696
|
var i=[]
|
|
8677
|
-
return this.forEach((function(e,n){return i.push(t(e,n))}),e,n),i},
|
|
8678
|
-
var
|
|
8697
|
+
return this.forEach((function(e,n){return i.push(t(e,n))}),e,n),i},bE.from=function(t){return t instanceof bE?t:t&&t.length?new yE(t):bE.empty}
|
|
8698
|
+
var yE=function(t){function e(e){t.call(this),this.values=e}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e
|
|
8679
8699
|
var n={length:{configurable:!0},depth:{configurable:!0}}
|
|
8680
|
-
return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(t,n){return 0==t&&n==this.length?this:new e(this.values.slice(t,n))},e.prototype.getInner=function(t){return this.values[t]},e.prototype.forEachInner=function(t,e,n,i){for(var s=e;s<n;s++)if(!1===t(this.values[s],i+s))return!1},e.prototype.forEachInvertedInner=function(t,e,n,i){for(var s=e-1;s>=n;s--)if(!1===t(this.values[s],i+s))return!1},e.prototype.leafAppend=function(t){if(this.length+t.length<=
|
|
8681
|
-
|
|
8682
|
-
var
|
|
8700
|
+
return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(t,n){return 0==t&&n==this.length?this:new e(this.values.slice(t,n))},e.prototype.getInner=function(t){return this.values[t]},e.prototype.forEachInner=function(t,e,n,i){for(var s=e;s<n;s++)if(!1===t(this.values[s],i+s))return!1},e.prototype.forEachInvertedInner=function(t,e,n,i){for(var s=e-1;s>=n;s--)if(!1===t(this.values[s],i+s))return!1},e.prototype.leafAppend=function(t){if(this.length+t.length<=vE)return new e(this.values.concat(t.flatten()))},e.prototype.leafPrepend=function(t){if(this.length+t.length<=vE)return new e(t.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}(bE)
|
|
8701
|
+
bE.empty=new yE([])
|
|
8702
|
+
var wE=function(t){function e(e,n){t.call(this),this.left=e,this.right=n,this.length=e.length+n.length,this.depth=Math.max(e.depth,n.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(t){return t<this.left.length?this.left.get(t):this.right.get(t-this.left.length)},e.prototype.forEachInner=function(t,e,n,i){var s=this.left.length
|
|
8683
8703
|
return!(e<s&&!1===this.left.forEachInner(t,e,Math.min(n,s),i))&&(!(n>s&&!1===this.right.forEachInner(t,Math.max(e-s,0),Math.min(this.length,n)-s,i+s))&&void 0)},e.prototype.forEachInvertedInner=function(t,e,n,i){var s=this.left.length
|
|
8684
8704
|
return!(e>s&&!1===this.right.forEachInvertedInner(t,e-s,Math.max(n,s)-s,i+s))&&(!(n<s&&!1===this.left.forEachInvertedInner(t,Math.min(e,s),n,i))&&void 0)},e.prototype.sliceInner=function(t,e){if(0==t&&e==this.length)return this
|
|
8685
8705
|
var n=this.left.length
|
|
8686
8706
|
return e<=n?this.left.slice(t,e):t>=n?this.right.slice(t-n,e-n):this.left.slice(t,n).append(this.right.slice(0,e-n))},e.prototype.leafAppend=function(t){var n=this.right.leafAppend(t)
|
|
8687
8707
|
if(n)return new e(this.left,n)},e.prototype.leafPrepend=function(t){var n=this.left.leafPrepend(t)
|
|
8688
|
-
if(n)return new e(n,this.right)},e.prototype.appendInner=function(t){return this.left.depth>=Math.max(this.right.depth,t.depth)+1?new e(this.left,new e(this.right,t)):new e(this,t)},e}(
|
|
8689
|
-
class
|
|
8708
|
+
if(n)return new e(n,this.right)},e.prototype.appendInner=function(t){return this.left.depth>=Math.max(this.right.depth,t.depth)+1?new e(this.left,new e(this.right,t)):new e(this,t)},e}(bE)
|
|
8709
|
+
class xE{constructor(t,e){this.items=t,this.eventCount=e}popEvent(t,e){if(0==this.eventCount)return null
|
|
8690
8710
|
let n,i,s=this.items.length
|
|
8691
8711
|
for(;;s--){if(this.items.get(s-1).selection){--s
|
|
8692
8712
|
break}}e&&(n=this.remapping(s,this.items.length),i=n.maps.length)
|
|
8693
8713
|
let o,r,a=t.tr,l=[],c=[]
|
|
8694
8714
|
return this.items.forEach(((t,e)=>{if(!t.step)return n||(n=this.remapping(s,e+1),i=n.maps.length),i--,void c.push(t)
|
|
8695
|
-
if(n){c.push(new
|
|
8715
|
+
if(n){c.push(new CE(t.map))
|
|
8696
8716
|
let e,s=t.step.map(n.slice(i))
|
|
8697
|
-
s&&a.maybeStep(s).doc&&(e=a.mapping.maps[a.mapping.maps.length-1],l.push(new
|
|
8698
|
-
return t.selection?(o=n?t.selection.map(n.slice(i)):t.selection,r=new
|
|
8699
|
-
for(let n=0;n<t.steps.length;n++){let l,c=t.steps[n].invert(t.docs[n]),d=new
|
|
8700
|
-
return l>
|
|
8701
|
-
return t.forEach(((t,i)=>{if(t.selection&&0==e--)return n=i,!1})),t.slice(n)}(r,l),o-=l),new
|
|
8717
|
+
s&&a.maybeStep(s).doc&&(e=a.mapping.maps[a.mapping.maps.length-1],l.push(new CE(e,void 0,void 0,l.length+c.length))),i--,e&&n.appendMap(e,i)}else a.maybeStep(t.step)
|
|
8718
|
+
return t.selection?(o=n?t.selection.map(n.slice(i)):t.selection,r=new xE(this.items.slice(0,s).append(c.reverse().concat(l)),this.eventCount-1),!1):void 0}),this.items.length,0),{remaining:r,transform:a,selection:o}}addTransform(t,e,n,i){let s=[],o=this.eventCount,r=this.items,a=!i&&r.length?r.get(r.length-1):null
|
|
8719
|
+
for(let n=0;n<t.steps.length;n++){let l,c=t.steps[n].invert(t.docs[n]),d=new CE(t.mapping.maps[n],c,e);(l=a&&a.merge(d))&&(d=l,n?s.pop():r=r.slice(0,r.length-1)),s.push(d),e&&(o++,e=void 0),i||(a=d)}let l=o-n.depth
|
|
8720
|
+
return l>SE&&(r=function(t,e){let n
|
|
8721
|
+
return t.forEach(((t,i)=>{if(t.selection&&0==e--)return n=i,!1})),t.slice(n)}(r,l),o-=l),new xE(r.append(s),o)}remapping(t,e){let n=new uw
|
|
8702
8722
|
return this.items.forEach(((e,i)=>{let s=null!=e.mirrorOffset&&i-e.mirrorOffset>=t?n.maps.length-e.mirrorOffset:void 0
|
|
8703
|
-
n.appendMap(e.map,s)}),t,e),n}addMaps(t){return 0==this.eventCount?this:new
|
|
8723
|
+
n.appendMap(e.map,s)}),t,e),n}addMaps(t){return 0==this.eventCount?this:new xE(this.items.append(t.map((t=>new CE(t)))),this.eventCount)}rebased(t,e){if(!this.eventCount)return this
|
|
8704
8724
|
let n=[],i=Math.max(0,this.items.length-e),s=t.mapping,o=t.steps.length,r=this.eventCount
|
|
8705
8725
|
this.items.forEach((t=>{t.selection&&r--}),i)
|
|
8706
8726
|
let a=e
|
|
@@ -8709,50 +8729,50 @@ if(null==i)return
|
|
|
8709
8729
|
o=Math.min(o,i)
|
|
8710
8730
|
let l=s.maps[i]
|
|
8711
8731
|
if(e.step){let o=t.steps[i].invert(t.docs[i]),c=e.selection&&e.selection.map(s.slice(a+1,i))
|
|
8712
|
-
c&&r++,n.push(new
|
|
8732
|
+
c&&r++,n.push(new CE(l,o,c))}else n.push(new CE(l))}),i)
|
|
8713
8733
|
let l=[]
|
|
8714
|
-
for(let t=e;t<o;t++)l.push(new
|
|
8715
|
-
let c=this.items.slice(0,i).append(l).append(n),d=new
|
|
8734
|
+
for(let t=e;t<o;t++)l.push(new CE(s.maps[t]))
|
|
8735
|
+
let c=this.items.slice(0,i).append(l).append(n),d=new xE(c,r)
|
|
8716
8736
|
return d.emptyItemCount()>500&&(d=d.compress(this.items.length-n.length)),d}emptyItemCount(){let t=0
|
|
8717
8737
|
return this.items.forEach((e=>{e.step||t++})),t}compress(t=this.items.length){let e=this.remapping(0,t),n=e.maps.length,i=[],s=0
|
|
8718
8738
|
return this.items.forEach(((o,r)=>{if(r>=t)i.push(o),o.selection&&s++
|
|
8719
8739
|
else if(o.step){let t=o.step.map(e.slice(n)),r=t&&t.getMap()
|
|
8720
8740
|
if(n--,r&&e.appendMap(r,n),t){let a=o.selection&&o.selection.map(e.slice(n))
|
|
8721
8741
|
a&&s++
|
|
8722
|
-
let l,c=new
|
|
8723
|
-
class
|
|
8724
|
-
if(e)return new
|
|
8725
|
-
function
|
|
8742
|
+
let l,c=new CE(r.invert(),t,a),d=i.length-1;(l=i.length&&i[d].merge(c))?i[d]=l:i.push(c)}}else o.map&&n--}),this.items.length,0),new xE(bE.from(i.reverse()),s)}}xE.empty=new xE(bE.empty,0)
|
|
8743
|
+
class CE{constructor(t,e,n,i){this.map=t,this.step=e,this.selection=n,this.mirrorOffset=i}merge(t){if(this.step&&t.step&&!t.selection){let e=t.step.merge(this.step)
|
|
8744
|
+
if(e)return new CE(e.getMap().invert(),e,this.selection)}}}class kE{constructor(t,e,n,i,s){this.done=t,this.undone=e,this.prevRanges=n,this.prevTime=i,this.prevComposition=s}}const SE=20
|
|
8745
|
+
function _E(t){let e=[]
|
|
8726
8746
|
for(let n=t.length-1;n>=0&&0==e.length;n--)t[n].forEach(((t,n,i,s)=>e.push(i,s)))
|
|
8727
|
-
return e}function
|
|
8747
|
+
return e}function IE(t,e){if(!t)return null
|
|
8728
8748
|
let n=[]
|
|
8729
8749
|
for(let i=0;i<t.length;i+=2){let s=e.map(t[i],1),o=e.map(t[i+1],-1)
|
|
8730
|
-
s<=o&&n.push(s,o)}return n}let
|
|
8731
|
-
function
|
|
8732
|
-
if($
|
|
8733
|
-
for(let t=0;t<e.length;t++)if(e[t].spec.historyPreserveItems){
|
|
8734
|
-
break}}return
|
|
8735
|
-
function
|
|
8750
|
+
s<=o&&n.push(s,o)}return n}let ME=!1,$E=null
|
|
8751
|
+
function DE(t){let e=t.plugins
|
|
8752
|
+
if($E!=e){ME=!1,$E=e
|
|
8753
|
+
for(let t=0;t<e.length;t++)if(e[t].spec.historyPreserveItems){ME=!0
|
|
8754
|
+
break}}return ME}const EE=new gx("history"),AE=new gx("closeHistory")
|
|
8755
|
+
function TE(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new px({key:EE,state:{init:()=>new kE(xE.empty,xE.empty,null,0,-1),apply:(e,n,i)=>function(t,e,n,i){let s,o=n.getMeta(EE)
|
|
8736
8756
|
if(o)return o.historyState
|
|
8737
|
-
n.getMeta(
|
|
8757
|
+
n.getMeta(AE)&&(t=new kE(t.done,t.undone,null,0,-1))
|
|
8738
8758
|
let r=n.getMeta("appendedTransaction")
|
|
8739
8759
|
if(0==n.steps.length)return t
|
|
8740
|
-
if(r&&r.getMeta(
|
|
8741
|
-
if(!1===n.getMeta("addToHistory")||r&&!1===r.getMeta("addToHistory"))return(s=n.getMeta("rebased"))?new
|
|
8760
|
+
if(r&&r.getMeta(EE))return r.getMeta(EE).redo?new kE(t.done.addTransform(n,void 0,i,DE(e)),t.undone,_E(n.mapping.maps),t.prevTime,t.prevComposition):new kE(t.done,t.undone.addTransform(n,void 0,i,DE(e)),null,t.prevTime,t.prevComposition)
|
|
8761
|
+
if(!1===n.getMeta("addToHistory")||r&&!1===r.getMeta("addToHistory"))return(s=n.getMeta("rebased"))?new kE(t.done.rebased(n,s),t.undone.rebased(n,s),IE(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new kE(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),IE(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)
|
|
8742
8762
|
{let s=n.getMeta("composition"),o=0==t.prevTime||!r&&t.prevComposition!=s&&(t.prevTime<(n.time||0)-i.newGroupDelay||!function(t,e){if(!e)return!1
|
|
8743
8763
|
if(!t.docChanged)return!0
|
|
8744
8764
|
let n=!1
|
|
8745
|
-
return t.mapping.maps[0].forEach(((t,i)=>{for(let s=0;s<e.length;s+=2)t<=e[s+1]&&i>=e[s]&&(n=!0)})),n}(n,t.prevRanges)),a=r?
|
|
8746
|
-
return new
|
|
8747
|
-
return!!i&&(e.preventDefault(),i(t.state,t.dispatch))}}}})}function
|
|
8765
|
+
return t.mapping.maps[0].forEach(((t,i)=>{for(let s=0;s<e.length;s+=2)t<=e[s+1]&&i>=e[s]&&(n=!0)})),n}(n,t.prevRanges)),a=r?IE(t.prevRanges,n.mapping):_E(n.mapping.maps)
|
|
8766
|
+
return new kE(t.done.addTransform(n,o?e.selection.getBookmark():void 0,i,DE(e)),xE.empty,a,n.time,null==s?t.prevComposition:s)}}(n,i,e,t)},config:t,props:{handleDOMEvents:{beforeinput(t,e){let n=e.inputType,i="historyUndo"==n?RE:"historyRedo"==n?FE:null
|
|
8767
|
+
return!!i&&(e.preventDefault(),i(t.state,t.dispatch))}}}})}function OE(t,e){return(n,i)=>{let s=EE.getState(n)
|
|
8748
8768
|
if(!s||0==(t?s.undone:s.done).eventCount)return!1
|
|
8749
|
-
if(i){let o=function(t,e,n){let i=
|
|
8769
|
+
if(i){let o=function(t,e,n){let i=DE(e),s=EE.get(e).spec.config,o=(n?t.undone:t.done).popEvent(e,i)
|
|
8750
8770
|
if(!o)return null
|
|
8751
|
-
let r=o.selection.resolve(o.transform.doc),a=(n?t.done:t.undone).addTransform(o.transform,e.selection.getBookmark(),s,i),l=new
|
|
8752
|
-
return o.transform.setSelection(r).setMeta(
|
|
8753
|
-
o&&i(e?o.scrollIntoView():o)}return!0}}const
|
|
8754
|
-
return t},
|
|
8755
|
-
function eA(t,e){return t in e||(e[t]=[]),e[t]}function nA(t,e,n){e[
|
|
8771
|
+
let r=o.selection.resolve(o.transform.doc),a=(n?t.done:t.undone).addTransform(o.transform,e.selection.getBookmark(),s,i),l=new kE(n?a:o.remaining,n?o.remaining:a,null,0,-1)
|
|
8772
|
+
return o.transform.setSelection(r).setMeta(EE,{redo:n,historyState:l})}(s,n,t)
|
|
8773
|
+
o&&i(e?o.scrollIntoView():o)}return!0}}const RE=OE(!1,!0),FE=OE(!0,!0),NE=$_.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:t,dispatch:e})=>RE(t,e),redo:()=>({state:t,dispatch:e})=>FE(t,e)}),addProseMirrorPlugins(){return[TE(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),LE=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,BE=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,PE=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,zE=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,VE=vI.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"em"},{tag:"i",getAttrs:t=>"normal"!==t.style.fontStyle&&null},{style:"font-style=italic"}],renderHTML({HTMLAttributes:t}){return["em",l_(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[mI({find:LE,type:this.type}),mI({find:PE,type:this.type})]},addPasteRules(){return[yI({find:BE,type:this.type}),yI({find:zE,type:this.type})]}}),HE="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",UE="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",qE=(t,e)=>{for(const n in e)t[n]=e[n]
|
|
8774
|
+
return t},jE="numeric",WE="ascii",GE="alpha",ZE="asciinumeric",KE="alphanumeric",YE="domain",XE="emoji",JE="scheme",QE="slashscheme",tA="whitespace"
|
|
8775
|
+
function eA(t,e){return t in e||(e[t]=[]),e[t]}function nA(t,e,n){e[jE]&&(e[ZE]=!0,e[KE]=!0),e[WE]&&(e[ZE]=!0,e[GE]=!0),e[ZE]&&(e[KE]=!0),e[GE]&&(e[KE]=!0),e[KE]&&(e[YE]=!0),e[XE]&&(e[YE]=!0)
|
|
8756
8776
|
for(const i in e){const e=eA(i,n)
|
|
8757
8777
|
e.indexOf(t)<0&&e.push(t)}}function iA(t){void 0===t&&(t=null),this.j={},this.jr=[],this.jd=null,this.t=t}iA.groups={},iA.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t]
|
|
8758
8778
|
if(n)return n
|
|
@@ -8767,13 +8787,13 @@ const s=this
|
|
|
8767
8787
|
if(e&&e.j)return s.j[t]=e,e
|
|
8768
8788
|
const o=e
|
|
8769
8789
|
let r,a=s.go(t)
|
|
8770
|
-
if(a?(r=new iA,
|
|
8790
|
+
if(a?(r=new iA,qE(r.j,a.j),r.jr.push.apply(r.jr,a.jr),r.jd=a.jd,r.t=a.t):r=new iA,o){if(i)if(r.t&&"string"==typeof r.t){const t=qE(function(t,e){const n={}
|
|
8771
8791
|
for(const i in e)e[i].indexOf(t)>=0&&(n[i]=!0)
|
|
8772
8792
|
return n}(r.t,i),n)
|
|
8773
8793
|
nA(o,t,i)}else n&&nA(o,n,i)
|
|
8774
8794
|
r.t=o}return s.j[t]=r,r}}
|
|
8775
|
-
const sA=(t,e,n,i,s)=>t.ta(e,n,i,s),oA=(t,e,n,i,s)=>t.tr(e,n,i,s),rA=(t,e,n,i,s)=>t.ts(e,n,i,s),aA=(t,e,n,i,s)=>t.tt(e,n,i,s),lA="WORD",cA="UWORD",dA="LOCALHOST",hA="TLD",uA="UTLD",pA="SCHEME",fA="SLASH_SCHEME",mA="NUM",gA="WS",vA="NL",bA="OPENBRACE",yA="CLOSEBRACE",wA="OPENBRACKET",xA="CLOSEBRACKET",CA="OPENPAREN",kA="CLOSEPAREN",SA="OPENANGLEBRACKET",_A="CLOSEANGLEBRACKET",IA="FULLWIDTHLEFTPAREN",MA="FULLWIDTHRIGHTPAREN",$A="LEFTCORNERBRACKET",
|
|
8776
|
-
var rT=Object.freeze({__proto__:null,WORD:lA,UWORD:cA,LOCALHOST:dA,TLD:hA,UTLD:uA,SCHEME:pA,SLASH_SCHEME:fA,NUM:mA,WS:gA,NL:vA,OPENBRACE:bA,CLOSEBRACE:yA,OPENBRACKET:wA,CLOSEBRACKET:xA,OPENPAREN:CA,CLOSEPAREN:kA,OPENANGLEBRACKET:SA,CLOSEANGLEBRACKET:_A,FULLWIDTHLEFTPAREN:IA,FULLWIDTHRIGHTPAREN:MA,LEFTCORNERBRACKET:$A,RIGHTCORNERBRACKET:
|
|
8795
|
+
const sA=(t,e,n,i,s)=>t.ta(e,n,i,s),oA=(t,e,n,i,s)=>t.tr(e,n,i,s),rA=(t,e,n,i,s)=>t.ts(e,n,i,s),aA=(t,e,n,i,s)=>t.tt(e,n,i,s),lA="WORD",cA="UWORD",dA="LOCALHOST",hA="TLD",uA="UTLD",pA="SCHEME",fA="SLASH_SCHEME",mA="NUM",gA="WS",vA="NL",bA="OPENBRACE",yA="CLOSEBRACE",wA="OPENBRACKET",xA="CLOSEBRACKET",CA="OPENPAREN",kA="CLOSEPAREN",SA="OPENANGLEBRACKET",_A="CLOSEANGLEBRACKET",IA="FULLWIDTHLEFTPAREN",MA="FULLWIDTHRIGHTPAREN",$A="LEFTCORNERBRACKET",DA="RIGHTCORNERBRACKET",EA="LEFTWHITECORNERBRACKET",AA="RIGHTWHITECORNERBRACKET",TA="FULLWIDTHLESSTHAN",OA="FULLWIDTHGREATERTHAN",RA="AMPERSAND",FA="APOSTROPHE",NA="ASTERISK",LA="AT",BA="BACKSLASH",PA="BACKTICK",zA="CARET",VA="COLON",HA="COMMA",UA="DOLLAR",qA="DOT",jA="EQUALS",WA="EXCLAMATION",GA="HYPHEN",ZA="PERCENT",KA="PIPE",YA="PLUS",XA="POUND",JA="QUERY",QA="QUOTE",tT="SEMI",eT="SLASH",nT="TILDE",iT="UNDERSCORE",sT="EMOJI",oT="SYM"
|
|
8796
|
+
var rT=Object.freeze({__proto__:null,WORD:lA,UWORD:cA,LOCALHOST:dA,TLD:hA,UTLD:uA,SCHEME:pA,SLASH_SCHEME:fA,NUM:mA,WS:gA,NL:vA,OPENBRACE:bA,CLOSEBRACE:yA,OPENBRACKET:wA,CLOSEBRACKET:xA,OPENPAREN:CA,CLOSEPAREN:kA,OPENANGLEBRACKET:SA,CLOSEANGLEBRACKET:_A,FULLWIDTHLEFTPAREN:IA,FULLWIDTHRIGHTPAREN:MA,LEFTCORNERBRACKET:$A,RIGHTCORNERBRACKET:DA,LEFTWHITECORNERBRACKET:EA,RIGHTWHITECORNERBRACKET:AA,FULLWIDTHLESSTHAN:TA,FULLWIDTHGREATERTHAN:OA,AMPERSAND:RA,APOSTROPHE:FA,ASTERISK:NA,AT:LA,BACKSLASH:BA,BACKTICK:PA,CARET:zA,COLON:VA,COMMA:HA,DOLLAR:UA,DOT:qA,EQUALS:jA,EXCLAMATION:WA,HYPHEN:GA,PERCENT:ZA,PIPE:KA,PLUS:YA,POUND:XA,QUERY:JA,QUOTE:QA,SEMI:tT,SLASH:eT,TILDE:nT,UNDERSCORE:iT,EMOJI:sT,SYM:oT})
|
|
8777
8797
|
const aT=/[a-z]/,lT=/\p{L}/u,cT=/\p{Emoji}/u,dT=/\d/,hT=/\s/,uT="\n",pT="️",fT=""
|
|
8778
8798
|
let mT=null,gT=null
|
|
8779
8799
|
function vT(t,e,n,i,s){let o
|
|
@@ -8787,8 +8807,8 @@ if(s>0){e.push(n.join(""))
|
|
|
8787
8807
|
for(let e=parseInt(t.substring(i,i+s),10);e>0;e--)n.pop()
|
|
8788
8808
|
i+=s}else n.push(t[i]),i++}return e}const yT={defaultProtocol:"http",events:null,format:xT,formatHref:xT,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null}
|
|
8789
8809
|
function wT(t,e){void 0===e&&(e=null)
|
|
8790
|
-
let n=
|
|
8791
|
-
t&&(n=
|
|
8810
|
+
let n=qE({},yT)
|
|
8811
|
+
t&&(n=qE(n,t instanceof wT?t.o:t))
|
|
8792
8812
|
const i=n.ignoreTags,s=[]
|
|
8793
8813
|
for(let t=0;t<i.length;t++)s.push(i[t].toUpperCase())
|
|
8794
8814
|
this.o=n,e&&(this.defaultRender=e),this.ignoreTags=s}function xT(t){return t}function CT(t,e){this.t="token",this.v=t,this.tk=e}function kT(t,e){class n extends CT{constructor(e,n){super(e,n),this.t=t}}for(const t in e)n.prototype[t]=e[t]
|
|
@@ -8798,26 +8818,26 @@ return s?("object"==typeof s?(s=n.t in s?s[n.t]:yT[t],"function"==typeof s&&i&&(
|
|
|
8798
8818
|
return"function"==typeof i&&null!=e&&(i=i(e,n.t,n)),i},render(t){const e=t.render(this)
|
|
8799
8819
|
return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}},CT.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)
|
|
8800
8820
|
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){return void 0===t&&(t=yT.defaultProtocol),{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)
|
|
8801
|
-
return r.href=i,a&&(r.class=a),l&&(r.target=l),c&&(r.rel=c),d&&
|
|
8821
|
+
return r.href=i,a&&(r.class=a),l&&(r.target=l),c&&(r.rel=c),d&&qE(r,d),{tagName:s,attributes:r,content:o,eventListeners:h}}}
|
|
8802
8822
|
const ST=kT("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),_T=kT("text"),IT=kT("nl"),MT=kT("url",{isLink:!0,toHref(t){return void 0===t&&(t=yT.defaultProtocol),this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk
|
|
8803
8823
|
return t.length>=2&&t[0].t!==dA&&t[1].t===VA}}),$T=t=>new iA(t)
|
|
8804
|
-
function
|
|
8805
|
-
return new t(e.slice(i,s),n)}const
|
|
8806
|
-
function TT(t,e){if(void 0===e&&(e=!1),AT.initialized&&
|
|
8824
|
+
function DT(t,e,n){const i=n[0].s,s=n[n.length-1].e
|
|
8825
|
+
return new t(e.slice(i,s),n)}const ET="undefined"!=typeof console&&console&&console.warn||(()=>{}),AT={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1}
|
|
8826
|
+
function TT(t,e){if(void 0===e&&(e=!1),AT.initialized&&ET(`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')
|
|
8807
8827
|
AT.customSchemes.push([t,e])}function OT(){AT.scanner=function(t){void 0===t&&(t=[])
|
|
8808
8828
|
const e={}
|
|
8809
8829
|
iA.groups=e
|
|
8810
8830
|
const n=new iA
|
|
8811
|
-
null==mT&&(mT=bT(
|
|
8812
|
-
const i=oA(n,dT,mA,{[
|
|
8831
|
+
null==mT&&(mT=bT(HE)),null==gT&&(gT=bT(UE)),aA(n,"'",FA),aA(n,"{",bA),aA(n,"}",yA),aA(n,"[",wA),aA(n,"]",xA),aA(n,"(",CA),aA(n,")",kA),aA(n,"<",SA),aA(n,">",_A),aA(n,"(",IA),aA(n,")",MA),aA(n,"「",$A),aA(n,"」",DA),aA(n,"『",EA),aA(n,"』",AA),aA(n,"<",TA),aA(n,">",OA),aA(n,"&",RA),aA(n,"*",NA),aA(n,"@",LA),aA(n,"`",PA),aA(n,"^",zA),aA(n,":",VA),aA(n,",",HA),aA(n,"$",UA),aA(n,".",qA),aA(n,"=",jA),aA(n,"!",WA),aA(n,"-",GA),aA(n,"%",ZA),aA(n,"|",KA),aA(n,"+",YA),aA(n,"#",XA),aA(n,"?",JA),aA(n,'"',QA),aA(n,"/",eT),aA(n,";",tT),aA(n,"~",nT),aA(n,"_",iT),aA(n,"\\",BA)
|
|
8832
|
+
const i=oA(n,dT,mA,{[jE]:!0})
|
|
8813
8833
|
oA(i,dT,i)
|
|
8814
|
-
const s=oA(n,aT,lA,{[
|
|
8834
|
+
const s=oA(n,aT,lA,{[WE]:!0})
|
|
8815
8835
|
oA(s,aT,s)
|
|
8816
|
-
const o=oA(n,lT,cA,{[
|
|
8836
|
+
const o=oA(n,lT,cA,{[GE]:!0})
|
|
8817
8837
|
oA(o,aT),oA(o,lT,o)
|
|
8818
8838
|
const r=oA(n,hT,gA,{[tA]:!0})
|
|
8819
8839
|
aA(n,uT,vA,{[tA]:!0}),aA(r,uT),oA(r,hT,r)
|
|
8820
|
-
const a=oA(n,cT,sT,{[
|
|
8840
|
+
const a=oA(n,cT,sT,{[XE]:!0})
|
|
8821
8841
|
oA(a,cT,a),aA(a,pT,a)
|
|
8822
8842
|
const l=aA(a,fT)
|
|
8823
8843
|
oA(l,cT,a)
|
|
@@ -8825,11 +8845,11 @@ const c=[[aT,s]],d=[[aT,null],[lT,o]]
|
|
|
8825
8845
|
for(let t=0;t<mT.length;t++)vT(n,mT[t],hA,lA,c)
|
|
8826
8846
|
for(let t=0;t<gT.length;t++)vT(n,gT[t],uA,cA,d)
|
|
8827
8847
|
nA(hA,{tld:!0,ascii:!0},e),nA(uA,{utld:!0,alpha:!0},e),vT(n,"file",pA,lA,c),vT(n,"mailto",pA,lA,c),vT(n,"http",fA,lA,c),vT(n,"https",fA,lA,c),vT(n,"ftp",fA,lA,c),vT(n,"ftps",fA,lA,c),nA(pA,{scheme:!0,ascii:!0},e),nA(fA,{slashscheme:!0,ascii:!0},e),t=t.sort(((t,e)=>t[0]>e[0]?1:-1))
|
|
8828
|
-
for(let e=0;e<t.length;e++){const i=t[e][0],s=t[e][1]?{[
|
|
8829
|
-
i.indexOf("-")>=0?s[
|
|
8848
|
+
for(let e=0;e<t.length;e++){const i=t[e][0],s=t[e][1]?{[JE]:!0}:{[QE]:!0}
|
|
8849
|
+
i.indexOf("-")>=0?s[YE]=!0:aT.test(i)?dT.test(i)?s[ZE]=!0:s[WE]=!0:s[jE]=!0,rA(n,i,i,s)}return rA(n,"localhost",dA,{ascii:!0}),n.jd=new iA(oT),{start:n,tokens:qE({groups:e},rT)}}(AT.customSchemes)
|
|
8830
8850
|
for(let t=0;t<AT.tokenQueue.length;t++)AT.tokenQueue[t][1]({scanner:AT.scanner})
|
|
8831
8851
|
AT.parser=function(t){let{groups:e}=t
|
|
8832
|
-
const n=e.domain.concat([RA,NA,LA,BA,PA,zA,UA,jA,GA,mA,ZA,KA,YA,XA,eT,oT,nT,iT]),i=[FA,VA,HA,qA,WA,JA,QA,tT,SA,_A,bA,yA,xA,wA,CA,kA,IA,MA,$A,EA,
|
|
8852
|
+
const n=e.domain.concat([RA,NA,LA,BA,PA,zA,UA,jA,GA,mA,ZA,KA,YA,XA,eT,oT,nT,iT]),i=[FA,VA,HA,qA,WA,JA,QA,tT,SA,_A,bA,yA,xA,wA,CA,kA,IA,MA,$A,DA,EA,AA,TA,OA],s=[RA,FA,NA,BA,PA,zA,UA,jA,GA,bA,yA,ZA,KA,YA,XA,JA,eT,oT,nT,iT],o=$T(),r=aA(o,nT)
|
|
8833
8853
|
sA(r,s,r),sA(r,e.domain,r)
|
|
8834
8854
|
const a=$T(),l=$T(),c=$T()
|
|
8835
8855
|
sA(o,e.domain,a),sA(o,e.scheme,l),sA(o,e.slashscheme,c),sA(a,s,r),sA(a,e.domain,a)
|
|
@@ -8857,7 +8877,7 @@ const C=$T(MT),k=$T()
|
|
|
8857
8877
|
sA(C,n,C),sA(C,i,k),sA(k,n,C),sA(k,i,k),aA(y,eT,C),aA(x,eT,C)
|
|
8858
8878
|
const S=aA(l,VA),_=aA(c,VA),I=aA(_,eT),M=aA(I,eT)
|
|
8859
8879
|
sA(l,e.domain,a),aA(l,qA,b),aA(l,GA,v),sA(c,e.domain,a),aA(c,qA,b),aA(c,GA,v),sA(S,e.domain,C),aA(S,eT,C),sA(M,e.domain,C),sA(M,n,C),aA(M,eT,C)
|
|
8860
|
-
const $=[[bA,yA],[wA,xA],[CA,kA],[SA,_A],[IA,MA],[$A,
|
|
8880
|
+
const $=[[bA,yA],[wA,xA],[CA,kA],[SA,_A],[IA,MA],[$A,DA],[EA,AA],[TA,OA]]
|
|
8861
8881
|
for(let t=0;t<$.length;t++){const[e,s]=$[t],o=aA(C,e)
|
|
8862
8882
|
aA(k,e,o),aA(o,s,C)
|
|
8863
8883
|
const r=$T(MT)
|
|
@@ -8870,9 +8890,9 @@ for(;s<i;){let a=t,l=null,c=null,d=0,h=null,u=-1
|
|
|
8870
8890
|
for(;s<i&&!(l=a.go(n[s].t));)r.push(n[s++])
|
|
8871
8891
|
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++
|
|
8872
8892
|
if(u<0)s-=d,s<i&&(r.push(n[s]),s++)
|
|
8873
|
-
else{r.length>0&&(o.push(
|
|
8893
|
+
else{r.length>0&&(o.push(DT(_T,e,r)),r=[]),s-=u,d-=u
|
|
8874
8894
|
const t=h.t,i=n.slice(s-d,s)
|
|
8875
|
-
o.push(
|
|
8895
|
+
o.push(DT(t,e,i))}}return r.length>0&&o.push(DT(_T,e,r)),o}(AT.parser.start,t,function(t,e){const n=function(t){const e=[],n=t.length
|
|
8876
8896
|
let i=0
|
|
8877
8897
|
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)
|
|
8878
8898
|
e.push(r),i+=r.length}return e}(e.replace(/[A-Z]/g,(t=>t.toLowerCase()))),i=n.length,s=[]
|
|
@@ -8953,8 +8973,8 @@ return i&&(null===(n=null==f?void 0:f.onKeyDown)||void 0===n?void 0:n.call(f,{vi
|
|
|
8953
8973
|
return e?tS.create(t.doc,[Xk.inline(n.from,n.to,{nodeName:r,class:a,"data-decoration-id":i})]):null}}})
|
|
8954
8974
|
return m}const qT=new gx("mention"),jT=bI.create({name:"mention",addOptions(){return{HTMLAttributes:{},renderText({options:t,node:e}){var n
|
|
8955
8975
|
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
|
|
8956
|
-
return["span",l_(this.HTMLAttributes,t.HTMLAttributes),`${t.suggestion.char}${null!==(n=e.attrs.label)&&void 0!==n?n:e.attrs.id}`]},suggestion:{char:"@",pluginKey:qT,command:({editor:t,range:e,props:n})=>{var i,s
|
|
8957
|
-
const
|
|
8976
|
+
return["span",l_(this.HTMLAttributes,t.HTMLAttributes),`${t.suggestion.char}${null!==(n=e.attrs.label)&&void 0!==n?n:e.attrs.id}`]},suggestion:{char:"@",pluginKey:qT,command:({editor:t,range:e,props:n})=>{var i,s,o
|
|
8977
|
+
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]
|
|
8958
8978
|
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",l_({"data-type":this.name},this.options.HTMLAttributes,e),this.options.renderLabel({options:this.options,node:t})]
|
|
8959
8979
|
const n={...this.options}
|
|
8960
8980
|
n.HTMLAttributes=l_({"data-type":this.name},this.options.HTMLAttributes,e)
|
|
@@ -8973,8 +8993,8 @@ o&&i.push(this.options.emptyEditorClass)
|
|
|
8973
8993
|
const r=Xk.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})
|
|
8974
8994
|
s.push(r)}return this.options.includeChildren})),tS.create(t,s)}}})]}}),JT=bI.create({name:"text",group:"inline"}),QT=/^https?:\/\//i
|
|
8975
8995
|
function tO(t,e,n,i,s,o){const r=PT.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,validate:t=>QT.test(t)}),a=i.map((n=>function(t,e,n,i){return jT.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,l_(this.options.HTMLAttributes,n),this.options.renderText({options:this.options,node:e})]}}).configure({suggestion:{char:t.character,decorationClass:"nimble-mention-view-edit",pluginKey:new gx(t.key),allowSpaces:!0,render:()=>{let s=!1
|
|
8976
|
-
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 fI({element:n,enableInputRules:[
|
|
8977
|
-
return new ay(e,t.openStart,t.openEnd)}},extensions:[
|
|
8996
|
+
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 fI({element:n,enableInputRules:[mE,KT],enablePasteRules:!1,editorProps:{transformPasted:function(t){const e=eO(l,t.content)
|
|
8997
|
+
return new ay(e,t.openStart,t.openEnd)}},extensions:[gE,YT,JT,mE,KT,zT,hE,VE,NE,XT.configure({placeholder:o,showOnlyWhenEditable:!1}),wI,r,...a]})
|
|
8978
8998
|
return l}function eO(t,e){const n=[]
|
|
8979
8999
|
return e.forEach((e=>{if(e.isText&&e.marks.length>0){const i=e.marks.find((t=>"link"===t.type.name&&t.attrs))
|
|
8980
9000
|
i?QT.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(HI))n.push(t.schema.text(e.attrs.label))
|
|
@@ -8982,16 +9002,16 @@ else{const i=eO(t,e.content)
|
|
|
8982
9002
|
n.push(e.copy(i))}})),ey.fromArray(n)}class nO{constructor(t){nO.instance+=1
|
|
8983
9003
|
const e=`${HI}${nO.instance}`
|
|
8984
9004
|
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
|
|
8985
|
-
class iO extends
|
|
9005
|
+
class iO extends QD{constructor(t){super(t),this.mentionExtensionConfig=this.isValid?t.map((t=>new nO(t.mentionInternals))):[]}}class sO extends rE{constructor(){super(...arguments),this.editorDiv=this.createEditor(),this.tiptapEditor=tO((()=>{}),(()=>{}),this.editorDiv,[],this.mentionListbox,this.placeholder),this.xmlSerializer=new XMLSerializer,this.richTextMarkdownSerializer=new KD([]),this.disabled=!1,this.footerHidden=!1,this.errorVisible=!1,this.scrollbarWidth=-1,this.activeMentionCharacter="",this.updateScrollbarWidthQueued=!1}get empty(){if(""===this.tiptapEditor.state.doc.textContent.trim()){let t=!1
|
|
8986
9006
|
return this.tiptapEditor.state.doc.descendants((e=>{e.type.name.startsWith(HI)&&(t=!0)
|
|
8987
9007
|
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
|
|
8988
9008
|
if(this.isMentionExtensionConfigUnchanged(t,e))this.setMarkdown(this.getMarkdown())
|
|
8989
9009
|
else{const t=this.getMentionExtensionConfig(),e=this.getMarkdown()
|
|
8990
|
-
this.richTextMarkdownSerializer=new
|
|
9010
|
+
this.richTextMarkdownSerializer=new KD(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)
|
|
8991
9011
|
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
|
|
8992
9012
|
return this.tiptapEditor.state.doc.descendants((e=>{e.type.name.startsWith(HI)&&t.add(e.attrs.href)})),Array.from(t)}getMentionExtensionConfig(){return this.configuration instanceof iO?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 iO(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()
|
|
8993
9013
|
return n===i}createEditor(){const t=document.createElement("div")
|
|
8994
|
-
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=tO((t=>{this.activeMentionCharacter=t}),(t=>{this.activeMentionCommand=t}),this.editorDiv,this.configuration instanceof iO?this.configuration.mentionExtensionConfig:[],this.mentionListbox,this.placeholder),this.disableEditor(),this.disableMentionViewElement(),this.bindEditorTransactionEvent(),this.bindEditorUpdateEvent(),this.stopNativeInputEventPropagation()}getHtmlContent(t){const e=
|
|
9014
|
+
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=tO((t=>{this.activeMentionCharacter=t}),(t=>{this.activeMentionCommand=t}),this.editorDiv,this.configuration instanceof iO?this.configuration.mentionExtensionConfig:[],this.mentionListbox,this.placeholder),this.disableEditor(),this.disableMentionViewElement(),this.bindEditorTransactionEvent(),this.bindEditorUpdateEvent(),this.stopNativeInputEventPropagation()}getHtmlContent(t){const e=ZD.parseMarkdownToDOM(t,this.configuration?.parserMentionConfig)
|
|
8995
9015
|
return this.xmlSerializer.serializeToString(e.fragment)}bindEditorTransactionEvent(){this.tiptapEditor.on("transaction",(()=>{this.updateEditorButtonsState()}))}unbindEditorTransactionEvent(){this.tiptapEditor.off("transaction")}updateEditorButtonsState(){if(!this.$fastController.isConnected)return
|
|
8996
9016
|
const{extensionManager:t,state:e}=this.tiptapEditor,{extensions:n}=t,{selection:i}=e,s=Y_((t=>nI(t.type.name,n)))(i)
|
|
8997
9017
|
this.boldButton.checked=this.tiptapEditor.isActive("bold"),this.italicsButton.checked=this.tiptapEditor.isActive("italic"),this.bulletListButton.checked=s?.node.type.name===zI,this.numberedListButton.checked=s?.node.type.name===VI}keyActivatesButton(t){switch(t.key){case Ja:case Ga:return!0
|
|
@@ -9046,7 +9066,7 @@ const rO=Q`
|
|
|
9046
9066
|
color: ${Sc};
|
|
9047
9067
|
}
|
|
9048
9068
|
`
|
|
9049
|
-
class lO extends
|
|
9069
|
+
class lO extends rE{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=ZD.parseMarkdownToDOM(this.markdown,this.configuration?.parserMentionConfig)
|
|
9050
9070
|
this.viewer.replaceChildren(t.fragment),this.mentionedHrefs=t.mentionedHrefs}else this.viewer.innerHTML="",this.mentionedHrefs=[]}}t([C],lO.prototype,"markdown",void 0)
|
|
9051
9071
|
const cO=lO.compose({baseName:"rich-text-viewer",template:rO,styles:aO})
|
|
9052
9072
|
_i.getOrCreate().withPrefix("nimble").register(cO())
|
|
@@ -9904,13 +9924,13 @@ const $O=Mt`
|
|
|
9904
9924
|
border-bottom-color: rgba(${Ml}, 0.3);
|
|
9905
9925
|
}
|
|
9906
9926
|
`
|
|
9907
|
-
const
|
|
9927
|
+
const DO=class extends cs{}.compose({baseName:"tab",baseClass:cs,template:(t,e)=>Q`
|
|
9908
9928
|
<template slot="tab" role="tab" aria-disabled="${t=>t.disabled}">
|
|
9909
9929
|
<slot></slot>
|
|
9910
9930
|
</template>
|
|
9911
9931
|
`,styles:$O})
|
|
9912
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
9913
|
-
const
|
|
9932
|
+
_i.getOrCreate().withPrefix("nimble").register(DO())
|
|
9933
|
+
const EO=Mt`
|
|
9914
9934
|
${zs("block")}
|
|
9915
9935
|
|
|
9916
9936
|
:host {
|
|
@@ -9923,7 +9943,7 @@ const AO=class extends ls{}.compose({baseName:"tab-panel",baseClass:ls,template:
|
|
|
9923
9943
|
<template slot="tabpanel" role="tabpanel">
|
|
9924
9944
|
<slot></slot>
|
|
9925
9945
|
</template>
|
|
9926
|
-
`,styles:
|
|
9946
|
+
`,styles:EO})
|
|
9927
9947
|
|
|
9928
9948
|
;/**
|
|
9929
9949
|
* table-core
|
|
@@ -10240,9 +10260,9 @@ const i=null==(n=e.getState().sorting)?void 0:n.find((e=>e.id===t.id))
|
|
|
10240
10260
|
return!!i&&(i.desc?"desc":"asc")},t.getSortIndex=()=>{var n,i
|
|
10241
10261
|
return null!=(n=null==(i=e.getState().sorting)?void 0:i.findIndex((e=>e.id===t.id)))?n:-1},t.clearSorting=()=>{e.setSorting((e=>null!=e&&e.length?e.filter((e=>e.id!==t.id)):[]))},t.getToggleSortingHandler=()=>{const n=t.getCanSort()
|
|
10242
10262
|
return i=>{n&&(null==i.persist||i.persist(),null==t.toggleSorting||t.toggleSorting(void 0,!!t.getCanMultiSort()&&(null==e.options.isMultiSortEvent?void 0:e.options.isMultiSortEvent(i))))}}},createTable:t=>{t.setSorting=e=>null==t.options.onSortingChange?void 0:t.options.onSortingChange(e),t.resetSorting=e=>{var n,i
|
|
10243
|
-
t.setSorting(e?[]:null!=(n=null==(i=t.initialState)?void 0:i.sorting)?n:[])},t.getPreSortedRowModel=()=>t.getGroupedRowModel(),t.getSortedRowModel=()=>(!t._getSortedRowModel&&t.options.getSortedRowModel&&(t._getSortedRowModel=t.options.getSortedRowModel(t)),t.options.manualSorting||!t._getSortedRowModel?t.getPreSortedRowModel():t._getSortedRowModel())}},
|
|
10244
|
-
function
|
|
10245
|
-
const i=[...
|
|
10263
|
+
t.setSorting(e?[]:null!=(n=null==(i=t.initialState)?void 0:i.sorting)?n:[])},t.getPreSortedRowModel=()=>t.getGroupedRowModel(),t.getSortedRowModel=()=>(!t._getSortedRowModel&&t.options.getSortedRowModel&&(t._getSortedRowModel=t.options.getSortedRowModel(t)),t.options.manualSorting||!t._getSortedRowModel?t.getPreSortedRowModel():t._getSortedRowModel())}},DR=[zO,hR,oR,rR,UO,eR,pR,fR,$R,sR,mR,gR,vR,bR,lR]
|
|
10264
|
+
function ER(t){var e,n
|
|
10265
|
+
const i=[...DR,...null!=(e=t._features)?e:[]]
|
|
10246
10266
|
let s={_features:i}
|
|
10247
10267
|
const o=s._features.reduce(((t,e)=>Object.assign(t,null==e.getDefaultOptions?void 0:e.getDefaultOptions(s))),{})
|
|
10248
10268
|
let r={...null!=(n=t.initialState)?n:{}}
|
|
@@ -10443,7 +10463,7 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(t
|
|
|
10443
10463
|
|
|
10444
10464
|
.column-divider {
|
|
10445
10465
|
border-left: var(--ni-private-column-divider-width) solid
|
|
10446
|
-
${
|
|
10466
|
+
${El};
|
|
10447
10467
|
display: none;
|
|
10448
10468
|
height: ${zl};
|
|
10449
10469
|
cursor: col-resize;
|
|
@@ -11111,13 +11131,13 @@ const IF="nimble-table-row",MF=Mt`
|
|
|
11111
11131
|
</div>
|
|
11112
11132
|
</template>
|
|
11113
11133
|
`
|
|
11114
|
-
class
|
|
11134
|
+
class DF extends We{constructor(){super(...arguments),this.nestingLevel=0,this.expanded=!1,this.selectable=!1,this.selectionState=LR,this.animationClass="",this.allowHover=!1,this.ignoreSelectionChangeEvents=!1,this.removeAnimatingClass=()=>{this.animationClass="",this.expandIcon.removeEventListener("transitionend",this.removeAnimatingClass)}}onGroupExpandToggle(){this.$emit("group-expand-toggle"),this.animationClass="animating",this.expandIcon.addEventListener("transitionend",this.removeAnimatingClass)}onSelectionCheckboxChange(t){if(this.ignoreSelectionChangeEvents)return
|
|
11115
11135
|
const e=t.target.checked
|
|
11116
11136
|
this.selectionState=e?BR:LR
|
|
11117
11137
|
const n={oldState:!e,newState:e}
|
|
11118
|
-
this.$emit("group-selection-toggle",n)}getFocusableElements(){return{selectionCheckbox:this.selectable?this.selectionCheckbox:void 0,cells:[]}}selectionStateChanged(){this.setSelectionCheckboxState()}selectionCheckboxChanged(){this.setSelectionCheckboxState()}setSelectionCheckboxState(){this.selectionCheckbox&&(this.ignoreSelectionChangeEvents=!0,this.selectionCheckbox.checked=this.selectionState===BR,this.selectionCheckbox.indeterminate=this.selectionState===PR,this.ignoreSelectionChangeEvents=!1)}}t([C],
|
|
11119
|
-
const DF
|
|
11120
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
11138
|
+
this.$emit("group-selection-toggle",n)}getFocusableElements(){return{selectionCheckbox:this.selectable?this.selectionCheckbox:void 0,cells:[]}}selectionStateChanged(){this.setSelectionCheckboxState()}selectionCheckboxChanged(){this.setSelectionCheckboxState()}setSelectionCheckboxState(){this.selectionCheckbox&&(this.ignoreSelectionChangeEvents=!0,this.selectionCheckbox.checked=this.selectionState===BR,this.selectionCheckbox.indeterminate=this.selectionState===PR,this.ignoreSelectionChangeEvents=!1)}}t([C],DF.prototype,"groupRowValue",void 0),t([C],DF.prototype,"nestingLevel",void 0),t([C],DF.prototype,"resolvedRowIndex",void 0),t([C],DF.prototype,"immediateChildCount",void 0),t([C],DF.prototype,"groupColumn",void 0),t([ft({mode:"boolean"})],DF.prototype,"expanded",void 0),t([ft({mode:"boolean"})],DF.prototype,"selectable",void 0),t([ft({attribute:"selection-state"})],DF.prototype,"selectionState",void 0),t([C],DF.prototype,"selectionCheckbox",void 0),t([C],DF.prototype,"animationClass",void 0),t([ft({attribute:"allow-hover",mode:"boolean"})],DF.prototype,"allowHover",void 0)
|
|
11139
|
+
const EF=DF.compose({baseName:"table-group-row",template:$F,styles:MF})
|
|
11140
|
+
_i.getOrCreate().withPrefix("nimble").register(EF())
|
|
11121
11141
|
const AF="nimble-table-group-row",TF=Q`
|
|
11122
11142
|
<template
|
|
11123
11143
|
role="treegrid"
|
|
@@ -11329,14 +11349,14 @@ const r=t+e
|
|
|
11329
11349
|
null==(o=null==(s=i.scrollElement)?void 0:s.scrollTo)||o.call(s,{[i.options.horizontal?"left":"top"]:r,behavior:n})}
|
|
11330
11350
|
let qF=class{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null
|
|
11331
11351
|
const e=()=>t||(this.targetWindow&&this.targetWindow.ResizeObserver?t=new this.targetWindow.ResizeObserver((t=>{t.forEach((t=>{this._measureElement(t.target,t)}))})):null)
|
|
11332
|
-
return{disconnect:()=>{var
|
|
11333
|
-
|
|
11352
|
+
return{disconnect:()=>{var n
|
|
11353
|
+
null==(n=e())||n.disconnect(),t=null},observe:t=>{var n
|
|
11334
11354
|
return null==(n=e())?void 0:n.observe(t,{box:"border-box"})},unobserve:t=>{var n
|
|
11335
11355
|
return null==(n=e())?void 0:n.unobserve(t)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach((([e,n])=>{void 0===n&&delete t[e]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:NF,rangeExtractor:LF,onChange:()=>{},measureElement:HF,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,...t}},this.notify=t=>{var e,n
|
|
11336
|
-
null==(n=(e=this.options).onChange)||n.call(e,this,t)},this.maybeNotify=OF((()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null])),(t=>{this.notify(t)}),{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((t=>t())),this.unsubs=[],this.scrollElement=null,this.targetWindow=null
|
|
11356
|
+
null==(n=(e=this.options).onChange)||n.call(e,this,t)},this.maybeNotify=OF((()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null])),(t=>{this.notify(t)}),{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((t=>t())),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var t
|
|
11337
11357
|
const e=this.options.enabled?this.options.getScrollElement():null
|
|
11338
11358
|
if(this.scrollElement!==e){if(this.cleanup(),!e)return void this.maybeNotify()
|
|
11339
|
-
this.scrollElement=e,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(t=this.scrollElement)?void 0:t.window)??null,this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(t=>{this.scrollRect=t,this.maybeNotify()}))),this.unsubs.push(this.options.observeElementOffset(this,((t,e)=>{this.scrollAdjustments=0,this.scrollDirection=e?this.getScrollOffset()<t?"forward":"backward":null,this.scrollOffset=t,this.isScrolling=e,this.maybeNotify()})))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(t,e)=>{const n=new Map,i=new Map
|
|
11359
|
+
this.scrollElement=e,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(t=this.scrollElement)?void 0:t.window)??null,this.elementsCache.forEach((t=>{this.observer.observe(t)})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(t=>{this.scrollRect=t,this.maybeNotify()}))),this.unsubs.push(this.options.observeElementOffset(this,((t,e)=>{this.scrollAdjustments=0,this.scrollDirection=e?this.getScrollOffset()<t?"forward":"backward":null,this.scrollOffset=t,this.isScrolling=e,this.maybeNotify()})))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(t,e)=>{const n=new Map,i=new Map
|
|
11340
11360
|
for(let s=e-1;s>=0;s--){const e=t[s]
|
|
11341
11361
|
if(n.has(e.lane))continue
|
|
11342
11362
|
const o=i.get(e.lane)
|
|
@@ -11379,7 +11399,7 @@ e=s,i=this.getScrollOffset(),Math.abs(e-i)<1||this.scrollToIndex(t,{align:o,beha
|
|
|
11379
11399
|
var e,i})))},this.scrollBy=(t,{behavior:e}={})=>{this.cancelScrollToIndex(),"smooth"===e&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:e})},this.getTotalSize=()=>{var t
|
|
11380
11400
|
const e=this.getMeasurements()
|
|
11381
11401
|
let n
|
|
11382
|
-
return n=0===e.length?this.options.paddingStart:1===this.options.lanes?(null==(t=e[e.length-1])?void 0:t.end)??0:Math.max(...e.slice(-this.options.lanes).map((t=>t.end))),n-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(t,{adjustments:e,behavior:n})=>{this.options.scrollToFn(t,{behavior:n,adjustments:e},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}
|
|
11402
|
+
return n=0===e.length?this.options.paddingStart:1===this.options.lanes?(null==(t=e[e.length-1])?void 0:t.end)??0:Math.max(...e.slice(-this.options.lanes).map((t=>t.end))),Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:e,behavior:n})=>{this.options.scrollToFn(t,{behavior:n,adjustments:e},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}
|
|
11383
11403
|
const jF=(t,e,n,i)=>{for(;t<=e;){const s=(t+e)/2|0,o=n(s)
|
|
11384
11404
|
if(o<i)t=s+1
|
|
11385
11405
|
else{if(!(o>i))return s
|
|
@@ -11439,7 +11459,7 @@ for(let t=0;t<this.visibleColumns.length&&n<this.gridSizedColumns.length;t++){co
|
|
|
11439
11459
|
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],YF.prototype,"isColumnBeingSized",void 0),t([C],YF.prototype,"activeColumnIndex",void 0),t([C],YF.prototype,"activeColumnDivider",void 0)
|
|
11440
11460
|
const XF=(t,...e)=>{for(const n of e)if(t===n)return!0
|
|
11441
11461
|
return!1},JF=["rowIds","rowParentIds","groupRows","columnIds","columnHidden","columnSort","columnSortDisabled","columnWidths","columnDefinition","actionMenuSlots","selectionMode"]
|
|
11442
|
-
class QF extends
|
|
11462
|
+
class QF extends eE{constructor(t){super(JF),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){XF(t,"columnId")?this.track("columnIds"):aF(t,"operandDataRecordFieldName","sortOperation")?this.track("columnDefinition"):aF(t,"sortingDisabled")?(this.track("columnSort"),this.track("columnSortDisabled")):aF(t,"currentSortDirection","currentSortIndex")?this.track("columnSort"):aF(t,"currentFractionalWidth","currentPixelWidth","minPixelWidth","resizingDisabled")?this.track("columnWidths"):XF(t,"columnHidden")?(this.track("columnWidths"),this.track("columnHidden")):XF(t,"actionMenuSlot")?this.track("actionMenuSlots"):aF(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 tN{constructor(t){this.tanStackTable=t}reset(){}toggleIsRowSelected(t,e){t.isGroupRow&&t.selectionState===BR?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")
|
|
11443
11463
|
const e=this.tanStackTable.getState().rowSelection,n=[]
|
|
11444
11464
|
if(Object.entries(e).forEach((([t,e])=>{e&&n.push(t)})),1===n.length&&n[0]===t.id)return!1
|
|
11445
11465
|
const i={}
|
|
@@ -11489,7 +11509,7 @@ for(const{recordId:n,options:i}of t){e.set(n,i)
|
|
|
11489
11509
|
const t=this.hierarchyOptions.get(n)?.delayedHierarchyState,s=i.delayedHierarchyState
|
|
11490
11510
|
t!==RR||s!==OR||this.parentRowsWithChildren.has(n)||this.explicitExpansionStates.delete(n)}this.hierarchyOptions=e}isRowExpandable(t){return t.subRows.length>0||this.canLoadDelayedChildren(t.id)}setHierarchyEnabled(t){this.isHierarchyEnabled=t}isLoadingChildren(t){return!!this.isHierarchyEnabled&&(this.hierarchyOptions.get(t)?.delayedHierarchyState===RR??!1)}canLoadDelayedChildren(t){if(!this.isHierarchyEnabled)return!1
|
|
11491
11511
|
const e=this.hierarchyOptions.get(t)?.delayedHierarchyState
|
|
11492
|
-
return e!==TR}getDefaultExpansionState(t){return 0!==t.subRows.length}}class cN extends
|
|
11512
|
+
return e!==TR}getDefaultExpansionState(t){return 0!==t.subRows.length}}class cN extends tE{isValid(){return this.noneTracked()}getValidationFlags(){return this.getTrackedItems()}}class dN extends cN{constructor(t){super(t),this.isColumnValid=!0}getValidity(){return this.getValidationFlags()}onTrackingChange(){super.onTrackingChange(),this.isColumnValid=this.isValid()}setConditionValue(t,e){e?this.track(t):this.untrack(t)}}t([C],dN.prototype,"isColumnValid",void 0)
|
|
11493
11513
|
class hN{get inNavigationMode(){return this.focusType!==ZR&&this.focusType!==KR}constructor(t,e){this.table=t,this.virtualizer=e,this.focusType=HR,this.headerActionIndex=-1,this.rowIndex=-1,this.cellContentIndex=-1,this.columnIndex=-1,this.focusWithinTable=!1,this.isCurrentlyFocusingElement=!1,this.visibleRowNotifiers=[],this.onTableFocusIn=t=>{this.focusWithinTable=!0,this.updateFocusStateFromActiveElement(!1)
|
|
11494
11514
|
const e=void 0!==this.table.openActionMenuRecordId
|
|
11495
11515
|
if((t.target===this.table||this.focusType===HR)&&!e){let t=!0
|
|
@@ -11537,11 +11557,11 @@ const e=t.target
|
|
|
11537
11557
|
this.isResolvedRowType(e)&&this.rowIndex!==e.resolvedRowIndex&&this.setRowFocusState(e.resolvedRowIndex)}onRowBlur(t){const e=t.target
|
|
11538
11558
|
this.isResolvedRowType(e)&&this.setElementFocusable(e,!1)}onRowActionMenuToggle(t){if(t.detail.newState){const e=t.target,n=this.table.visibleColumns.findIndex((e=>e.columnId===t.detail.columnId))
|
|
11539
11559
|
this.setCellActionMenuFocusState(e.resolvedRowIndex,n,!1)}}onEnterPressed(t){let e,n
|
|
11540
|
-
if(this.hasRowOrCellFocusType()&&(e=this.getCurrentRow(),n=e?.getFocusableElements()),this.focusType===jR&&e instanceof
|
|
11560
|
+
if(this.hasRowOrCellFocusType()&&(e=this.getCurrentRow(),n=e?.getFocusableElements()),this.focusType===jR&&e instanceof DF)return this.toggleRowExpanded(e),!0
|
|
11541
11561
|
if(this.focusType===GR){if(t){const t=n?.cells[this.columnIndex]
|
|
11542
11562
|
if(t?.actionMenuButton&&!t.actionMenuButton.open)return t.actionMenuButton.toggleButton.control.click(),!0}return this.focusFirstInteractiveElementInCurrentCell(n)}return!1}onF2Pressed(){if(this.focusType===GR){const t=this.getCurrentRow(),e=t?.getFocusableElements()
|
|
11543
11563
|
return this.focusFirstInteractiveElementInCurrentCell(e)}return!1}onSpacePressed(t){if(this.focusType===jR||this.focusType===GR){if(this.focusType===jR||t){const t=this.getCurrentRow()
|
|
11544
|
-
t instanceof SF&&t.selectable?t.onSelectionChange(t.selected,!t.selected):t instanceof
|
|
11564
|
+
t instanceof SF&&t.selectable?t.onSelectionChange(t.selected,!t.selected):t instanceof DF&&this.toggleRowExpanded(t)}return!0}return!1}onLeftArrowPressed(){let t,e,n
|
|
11545
11565
|
switch(this.hasRowOrCellFocusType()?(t=this.getCurrentRow(),e=t?.getFocusableElements()):this.hasHeaderFocusType()&&(n=this.getTableHeaderFocusableElements()),this.focusType){case qR:return this.trySetHeaderActionFocus(n,this.headerActionIndex-1)
|
|
11546
11566
|
case UR:return this.trySetColumnHeaderFocus(n,this.columnIndex-1)||this.trySetHeaderActionFocus(n,n.headerActions.length-1)
|
|
11547
11567
|
case jR:return!0===this.isRowExpanded(t)&&(this.toggleRowExpanded(t),!0)
|
|
@@ -11583,7 +11603,7 @@ case jR:case WR:case GR:{const i={}
|
|
|
11583
11603
|
let s=this.rowIndex
|
|
11584
11604
|
return void 0!==e&&(s=e),s+=t,n&&s>=this.table.tableData.length&&(s=this.table.tableData.length-1),t>1&&(i.align="end"),s>this.rowIndex&&s<this.table.tableData.length&&this.scrollToAndFocusRow(s,i)}}return!1}updateFocusStateFromActiveElement(t){const e=this.getActiveElement()
|
|
11585
11605
|
if(e){const n=this.getContainingRow(e)
|
|
11586
|
-
if(n){if(!(n instanceof
|
|
11606
|
+
if(n){if(!(n instanceof DF)){const t=this.getContainingCell(e)
|
|
11587
11607
|
if(t){const i=this.table.visibleColumns.indexOf(t.column)
|
|
11588
11608
|
if(t.actionMenuButton===e)return void this.setCellActionMenuFocusState(n.resolvedRowIndex,i,!1)
|
|
11589
11609
|
const s=t.cellView.tabbableChildren.indexOf(e)
|
|
@@ -11595,7 +11615,7 @@ const n=this.table.rowElements[e]
|
|
|
11595
11615
|
let i=!1
|
|
11596
11616
|
switch(this.focusType){case jR:i=!0
|
|
11597
11617
|
break
|
|
11598
|
-
case GR:case ZR:case KR:i=n instanceof
|
|
11618
|
+
case GR:case ZR:case KR:i=n instanceof DF}const s={preventScroll:!t}
|
|
11599
11619
|
return i?(this.focusElement(n,s),!0):(this.focusRowElement(n,s),!0)}focusRowElement(t,e){const n=t.getFocusableElements()
|
|
11600
11620
|
let i
|
|
11601
11621
|
switch(this.focusType){case WR:i=n.selectionCheckbox
|
|
@@ -11611,7 +11631,7 @@ break
|
|
|
11611
11631
|
case UR:e=t.columnHeaders[this.columnIndex]}return!!e&&(this.focusElement(e),!0)}getCurrentRowVisibleIndex(){return this.table.rowElements.findIndex((t=>t.resolvedRowIndex===this.rowIndex))}getTableHeaderFocusableElements(){const t=[]
|
|
11612
11632
|
this.table.selectionCheckbox?.getRootNode()===this.table.shadowRoot&&t.push(this.table.selectionCheckbox),this.table.showCollapseAll&&this.table.collapseAllButton?.getRootNode()===this.table.shadowRoot&&t.push(this.table.collapseAllButton)
|
|
11613
11633
|
const e=[]
|
|
11614
|
-
return this.canFocusColumnHeaders()&&this.table.columnHeadersContainer.querySelectorAll(mF).forEach((t=>e.push(t))),{headerActions:t,columnHeaders:e}}canFocusColumnHeaders(){return void 0!==this.table.columns.find((t=>!t.columnInternals.sortingDisabled))}getCurrentRow(){return this.table.rowElements[this.getCurrentRowVisibleIndex()]}isRowExpanded(t){if(t instanceof SF&&t.isParentRow||t instanceof
|
|
11634
|
+
return this.canFocusColumnHeaders()&&this.table.columnHeadersContainer.querySelectorAll(mF).forEach((t=>e.push(t))),{headerActions:t,columnHeaders:e}}canFocusColumnHeaders(){return void 0!==this.table.columns.find((t=>!t.columnInternals.sortingDisabled))}getCurrentRow(){return this.table.rowElements[this.getCurrentRowVisibleIndex()]}isRowExpanded(t){if(t instanceof SF&&t.isParentRow||t instanceof DF)return t.expanded}toggleRowExpanded(t){t instanceof DF?t.onGroupExpandToggle():t.onRowExpandToggle(),this.focusRowElement(t)}getContainingRow(t){return this.getContainingElement(t,(t=>this.isResolvedRowType(t)))}getContainingCell(t){return this.getContainingElement(t,(t=>t instanceof wF))}getContainingElement(t,e){let n=t
|
|
11615
11635
|
for(;n&&n!==this.table;){if(e(n))return n
|
|
11616
11636
|
n=n.parentElement??n.parentNode?.host}}isInTable(t){let e=t
|
|
11617
11637
|
for(;e&&e!==this.table;)e=e.parentElement??e.parentNode?.host
|
|
@@ -11623,7 +11643,7 @@ const i=e??this.columnIndex,s=n??this.rowIndex
|
|
|
11623
11643
|
return i>=0&&i<t.cells.length&&(this.focusType=GR,this.setRowCellFocusState(i,s,!0),!0)}trySetCellContentFocus(t,e,n,i){if(!t)return!1
|
|
11624
11644
|
const s=n??this.columnIndex,o=i??this.rowIndex
|
|
11625
11645
|
return s>=0&&s<t.cells.length&&e>=0&&e<t.cells[s].cell.cellView.tabbableChildren.length&&(this.setCellContentFocusState(e,o,s,!0),!0)}trySetCellActionMenuFocus(t,e,n){const i=e??this.columnIndex,s=n??this.rowIndex
|
|
11626
|
-
return!!(i>=0&&i<t.cells.length&&t.cells[i].actionMenuButton)&&(this.setCellActionMenuFocusState(s,i,!0),!0)}setCellActionMenuFocusState(t,e,n){this.focusType=ZR,this.setRowCellFocusState(e,t,n)}setCellContentFocusState(t,e,n,i){this.focusType=KR,this.cellContentIndex=t,this.setRowCellFocusState(n,e,i)}setRowFocusState(t){this.focusType=jR,void 0!==t&&(this.rowIndex=t)}setCellFocusState(t,e,n){this.focusType=GR,this.setRowCellFocusState(t,e,n)}setRowCellFocusState(t,e,n){this.rowIndex=e,this.columnIndex=t,n&&this.focusCurrentRow(!0)}isResolvedRowType(t){return t instanceof SF||t instanceof
|
|
11646
|
+
return!!(i>=0&&i<t.cells.length&&t.cells[i].actionMenuButton)&&(this.setCellActionMenuFocusState(s,i,!0),!0)}setCellActionMenuFocusState(t,e,n){this.focusType=ZR,this.setRowCellFocusState(e,t,n)}setCellContentFocusState(t,e,n,i){this.focusType=KR,this.cellContentIndex=t,this.setRowCellFocusState(n,e,i)}setRowFocusState(t){this.focusType=jR,void 0!==t&&(this.rowIndex=t)}setCellFocusState(t,e,n){this.focusType=GR,this.setRowCellFocusState(t,e,n)}setRowCellFocusState(t,e,n){this.rowIndex=e,this.columnIndex=t,n&&this.focusCurrentRow(!0)}isResolvedRowType(t){return t instanceof SF||t instanceof DF}}let uN=class extends We{get validity(){return this.tableValidator.getValidity()}get showRowOperationColumn(){return this.selectionMode===NR.multiple||this.showCollapseAll}get collapseButtonVisibility(){return this.canHaveCollapsibleRows?this.showCollapseAll?"visible":"":"hidden-size-reduced"}get rowHeight(){return this._rowHeight}constructor(){super(),this.selectionMode=NR.none,this.tableData=[],this.columns=[],this.childItems=[],this.rowElements=[],this.canRenderRows=!0,this.scrollX=0,this.selectionState=LR,this.showCollapseAll=!1,this.canHaveCollapsibleRows=!1,this.visibleColumns=[],this.tableScrollableMinWidth=0,this.windowShiftKeyDown=!1,this.tableValidator=new cF,this.tableUpdateTracker=new QF(this),this.columnNotifiers=[],this._rowHeight=0,this.isInitialized=!1,this.ignoreSelectionChangeEvents=!1,this.requestedSlots=new Map,this.borderWidthSubscriber={handleChange:()=>{this.updateRowHeight()}},this.controlHeightSubscriber={handleChange:()=>{this.updateRowHeight()}},this.actionMenuSlots=[],this.onViewPortScroll=t=>{this.scrollX=t.target.scrollLeft},this.onKeyDown=t=>{this.windowShiftKeyDown=t.shiftKey},this.onKeyUp=t=>{this.windowShiftKeyDown=t.shiftKey},this.onBlur=()=>{this.windowShiftKeyDown=!1},this.getRowCanExpand=t=>this.expansionManager.isRowExpandable(t),this.getIsRowExpanded=t=>this.expansionManager.isRowExpanded(t),this.handleRowSelectionChange=t=>{const e=t instanceof Function?t(this.table.getState().rowSelection):t
|
|
11627
11647
|
this.updateTableOptions({state:{rowSelection:e}})},this.handleExpandedChange=t=>{const e=t instanceof Function?t(this.table.getState().expanded):t
|
|
11628
11648
|
this.updateTableOptions({state:{expanded:e}})},this.options={data:[],onStateChange:t=>{},onRowSelectionChange:this.handleRowSelectionChange,onExpandedChange:this.handleExpandedChange,getCoreRowModel:t=>NO((()=>[t.options.data]),(e=>{const n={rows:[],flatRows:[],rowsById:{}},i=function(e,s,o){void 0===s&&(s=0)
|
|
11629
11649
|
const r=[]
|
|
@@ -11646,7 +11666,7 @@ d=n&&i?0:n?l:-l}}if(0===d&&(d=a.sortingFn(t,e,s.id)),0!==d)return c&&(d*=-1),a.i
|
|
|
11646
11666
|
s.push(t),null!=(e=t.subRows)&&e.length&&(t.subRows=a(t.subRows))})),e}
|
|
11647
11667
|
return{rows:a(n.rows),flatRows:s,rowsById:n.rowsById}}),LO(t.options,"debugTable",0,(()=>t._autoResetPageIndex()))),getGroupedRowModel:AR(),getExpandedRowModel:t=>NO((()=>[t.getState().expanded,t.getPreExpandedRowModel(),t.options.paginateExpandedRows]),((t,e,n)=>!e.rows.length||!0!==t&&!Object.keys(null!=t?t:{}).length?e:n?function(t){const e=[],n=t=>{var i
|
|
11648
11668
|
e.push(t),null!=(i=t.subRows)&&i.length&&t.getIsExpanded()&&t.subRows.forEach(n)}
|
|
11649
|
-
return t.rows.forEach(n),{rows:e,flatRows:t.flatRows,rowsById:t.rowsById}}(e):e),LO(t.options,"debugTable")),getRowCanExpand:this.getRowCanExpand,getIsRowExpanded:this.getIsRowExpanded,getSubRows:t=>t.subRows,columns:[],state:{rowSelection:{},grouping:[],expanded:!0},enableRowSelection:t=>!t.getIsGrouped(),enableMultiRowSelection:!1,enableSubRowSelection:!1,enableSorting:!0,enableGrouping:!0,renderFallbackValue:null,autoResetAll:!1},this.table=
|
|
11669
|
+
return t.rows.forEach(n),{rows:e,flatRows:t.flatRows,rowsById:t.rowsById}}(e):e),LO(t.options,"debugTable")),getRowCanExpand:this.getRowCanExpand,getIsRowExpanded:this.getIsRowExpanded,getSubRows:t=>t.subRows,columns:[],state:{rowSelection:{},grouping:[],expanded:!0},enableRowSelection:t=>!t.getIsGrouped(),enableMultiRowSelection:!1,enableSubRowSelection:!1,enableSorting:!0,enableGrouping:!0,renderFallbackValue:null,autoResetAll:!1},this.table=ER(this.options),this.virtualizer=new WF(this,this.table),this.keyboardNavigationManager=new hN(this,this.virtualizer),this.layoutManager=new YF(this),this.layoutManagerNotifier=x.getNotifier(this.layoutManager),this.layoutManagerNotifier.subscribe(this,"isColumnBeingSized"),this.selectionManager=new sN(this.table,this.selectionMode),this.expansionManager=new lN(this.table)}async setData(t){await this.processPendingUpdates()
|
|
11650
11670
|
const e=t.map((t=>({...t}))),n=this.calculateTanStackData(e)
|
|
11651
11671
|
this.updateTableOptions(n)}async getSelectedRecordIds(){return await this.processPendingUpdates(),this.selectionManager.getCurrentSelectedRecordIds()}async setSelectedRecordIds(t){await this.processPendingUpdates(),this.selectionMode!==NR.none&&this.updateTableOptions({state:{rowSelection:this.calculateTanStackSelectionState(t)}})}async setRecordHierarchyOptions(t){await this.processPendingUpdates()
|
|
11652
11672
|
const e=structuredClone(t),n=this.tableValidator.getOptionsWithPresentIds(e)
|
|
@@ -11679,7 +11699,7 @@ e.subscribe(this),this.columnNotifiers.push(e)
|
|
|
11679
11699
|
const n=x.getNotifier(t.columnInternals)
|
|
11680
11700
|
n.subscribe(this),this.columnNotifiers.push(n)
|
|
11681
11701
|
const i=x.getNotifier(t.columnInternals.validator)
|
|
11682
|
-
i.subscribe(this),this.columnNotifiers.push(i)}}getColumnsParticipatingInSorting(){return this.columns.filter((t=>!t.columnInternals.sortingDisabled&&t.columnInternals.currentSortDirection!==FR.none&&"number"==typeof t.columnInternals.currentSortIndex))}getColumnsParticipatingInGrouping(){return this.columns.filter((t=>!t.columnInternals.groupingDisabled&&"number"==typeof t.columnInternals.groupIndex))}childItemsChanged(){this.updateColumnsFromChildItems()}async updateColumnsFromChildItems(){await
|
|
11702
|
+
i.subscribe(this),this.columnNotifiers.push(i)}}getColumnsParticipatingInSorting(){return this.columns.filter((t=>!t.columnInternals.sortingDisabled&&t.columnInternals.currentSortDirection!==FR.none&&"number"==typeof t.columnInternals.currentSortIndex))}getColumnsParticipatingInGrouping(){return this.columns.filter((t=>!t.columnInternals.groupingDisabled&&"number"==typeof t.columnInternals.groupIndex))}childItemsChanged(){this.updateColumnsFromChildItems()}async updateColumnsFromChildItems(){await oE(this.childItems),this.columns=this.childItems.filter((t=>t instanceof lF))}updateTanStack(){const t={state:{}}
|
|
11683
11703
|
if(this.tableUpdateTracker.updateColumnSort&&(t.state.sorting=this.calculateTanStackSortState()),this.tableUpdateTracker.updateColumnDefinition&&(t.columns=this.calculateTanStackColumns()),this.tableUpdateTracker.updateRowIds&&(t.getRowId=this.calculateTanStackRowIdFunction(),t.state.rowSelection={},this.selectionManager.handleSelectionReset(),this.expansionManager.resetHierarchyOptions()),this.tableUpdateTracker.updateRowParentIds&&this.expansionManager.setHierarchyEnabled(this.isHierarchyEnabled()),this.tableUpdateTracker.updateSelectionMode&&(t.enableMultiRowSelection=this.selectionMode===NR.multiple,t.enableSubRowSelection=this.selectionMode===NR.multiple,t.state.rowSelection={},this.selectionManager.handleSelectionModeChanged(this.selectionMode)),this.dataHierarchyManager&&this.tableUpdateTracker.requiresTanStackDataReset)if(this.isHierarchyEnabled()||this.tableUpdateTracker.updateRowParentIds){const e=this.dataHierarchyManager.getAllRecords(!0),n=this.calculateTanStackData(e)
|
|
11684
11704
|
n.state&&(t.state.rowSelection=n.state.rowSelection),t.data=n.data}else t.data=[...this.table.options.data]
|
|
11685
11705
|
this.tableUpdateTracker.updateGroupRows&&(t.state.grouping=this.calculateTanStackGroupingState()),(this.tableUpdateTracker.updateRowIds||this.tableUpdateTracker.updateRowParentIds||this.tableUpdateTracker.updateGroupRows)&&(t.state.expanded=!0,this.expansionManager.resetExpansionState()),this.updateTableOptions(t)}updateActionMenuSlots(){if(void 0!==this.openActionMenuRecordId)for(const t of this.actionMenuSlots)this.requestedSlots.delete(t)
|
|
@@ -11812,9 +11832,9 @@ const SN=Q`
|
|
|
11812
11832
|
const IN=class extends kN{updateText(){this.text="string"==typeof this.groupHeaderValue?this.groupHeaderValue:""}}.compose({baseName:"table-column-text-group-header-view",template:SN,styles:_N})
|
|
11813
11833
|
_i.getOrCreate().withPrefix("nimble").register(IN())
|
|
11814
11834
|
const MN="nimble-table-column-text-group-header-view"
|
|
11815
|
-
function $N(t){class e extends t{constructor(){super(...arguments),this.sortingDisabled=!1,this.sortDirection=FR.none}sortingDisabledChanged(){this.columnInternals.sortingDisabled=this.sortingDisabled,this.sortingDisabled?(this.columnInternals.currentSortDirection=FR.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
|
|
11816
|
-
!!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
|
|
11817
|
-
class AN extends dN{constructor(){super(
|
|
11835
|
+
function $N(t){class e extends t{constructor(){super(...arguments),this.sortingDisabled=!1,this.sortDirection=FR.none}sortingDisabledChanged(){this.columnInternals.sortingDisabled=this.sortingDisabled,this.sortingDisabled?(this.columnInternals.currentSortDirection=FR.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 DN(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?YR: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
|
|
11836
|
+
!!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 EN=["invalidCustomSortWithGrouping"]
|
|
11837
|
+
class AN extends dN{constructor(){super(EN)}}class TN extends(vN(gN(bN($N(DN(lF)))))){constructor(){super(...arguments),this.underlineHidden=!1,this.defaultSortOperation=XR}placeholderChanged(){this.updateColumnConfig()}handleSortConfigurationChange(){this.updateColumnInternalsSortConfiguration()}getColumnInternalsOptions(){return{cellRecordFieldNames:["label","href"],cellViewTag:"nimble-table-column-anchor-cell-view",groupHeaderViewTag:MN,delegatedEvents:["click"],sortOperation:this.getResolvedSortOperation(this.defaultSortOperation),validator:new AN}}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"})],TN.prototype,"labelFieldName",void 0),t([ft({attribute:"href-field-name"})],TN.prototype,"hrefFieldName",void 0),t([ft],TN.prototype,"appearance",void 0),t([ft({attribute:"underline-hidden",mode:"boolean"})],TN.prototype,"underlineHidden",void 0),t([ft],TN.prototype,"hreflang",void 0),t([ft],TN.prototype,"ping",void 0),t([ft],TN.prototype,"referrerpolicy",void 0),t([ft],TN.prototype,"rel",void 0),t([ft],TN.prototype,"target",void 0),t([ft],TN.prototype,"type",void 0),t([ft],TN.prototype,"download",void 0)
|
|
11818
11838
|
const ON=TN.compose({baseName:"table-column-anchor",template:mN,styles:fN})
|
|
11819
11839
|
_i.getOrCreate().withPrefix("nimble").register(ON())
|
|
11820
11840
|
class RN extends lF{fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}}function FN(t){return vN(gN(bN($N(t))))}function NN(t,e){if("number"!=typeof e)return""
|
|
@@ -11914,7 +11934,7 @@ this.validateKeyValuesForType(n,e),this.validateUniqueKeys(n,e),this.validateNoM
|
|
|
11914
11934
|
this.setConditionValue("invalidMappingKeyValueForType",n)}validateUniqueKeys(t,e){const n=t.map((t=>QN(t,e))),i=new Set(n).size!==n.length
|
|
11915
11935
|
this.setConditionValue("duplicateMappingKey",i)}validateNoMissingKeys(t){const e=t.some((t=>void 0===t.key))
|
|
11916
11936
|
this.setConditionValue("missingKeyValue",e)}}const sL=["invalidMappingKeyValueForType","duplicateMappingKey","missingKeyValue","unsupportedMappingType","invalidIconName","missingTextValue"]
|
|
11917
|
-
class oL extends iL{constructor(){super(sL)}static isIconMappingElement(t){return t instanceof _b}static isSupportedMappingElement(t){return t instanceof _b||t instanceof Mb||t instanceof
|
|
11937
|
+
class oL extends iL{constructor(){super(sL)}static isIconMappingElement(t){return t instanceof _b}static isSupportedMappingElement(t){return t instanceof _b||t instanceof Mb||t instanceof Db||t instanceof Cb}validate(t,e){super.validate(t,e),this.validateMappingTypes(t),this.validateIconNames(t),this.validateNoMissingText(t)}validateIconNames(t){const e=t.filter(oL.isIconMappingElement).some((t=>void 0===t.resolvedIcon))
|
|
11918
11938
|
this.setConditionValue("invalidIconName",e)}validateNoMissingText(t){const e=t.filter(oL.isSupportedMappingElement).some((t=>void 0===t.text))
|
|
11919
11939
|
this.setConditionValue("missingTextValue",e)}validateMappingTypes(t){const e=t.every(oL.isSupportedMappingElement)
|
|
11920
11940
|
this.setConditionValue("unsupportedMappingType",!e)}}const rL=Mt`
|
|
@@ -12022,7 +12042,7 @@ _i.getOrCreate().withPrefix("nimble").register(wL())
|
|
|
12022
12042
|
const xL="icon-size"
|
|
12023
12043
|
class CL extends(vN(gN($N(tL)))){minPixelWidthChanged(){this.widthMode!==xL&&(this.columnInternals.minPixelWidth=this.getConfiguredMinPixelWidth())}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-mapping-cell-view",groupHeaderViewTag:"nimble-table-column-mapping-group-header-view",delegatedEvents:[],sortOperation:YR,validator:new oL}}createColumnConfig(t){return{mappingConfigs:t}}createMappingConfig(t){if(t instanceof _b){if(!t.resolvedIcon)throw Error("Unresolved icon")
|
|
12024
12044
|
return new dL(t.resolvedIcon,t.severity,t.text,t.textHidden)}if(t instanceof Mb)return new uL(t.text,t.textHidden)
|
|
12025
|
-
if(t instanceof
|
|
12045
|
+
if(t instanceof Db)return new pL(t.text)
|
|
12026
12046
|
if(t instanceof Cb)return new fL(t.text)
|
|
12027
12047
|
throw new Error("Unsupported mapping")}widthModeChanged(){this.widthMode===xL?(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:JR}}t([ft({attribute:"width-mode"})],CL.prototype,"widthMode",void 0)
|
|
12028
12048
|
const kL=CL.compose({baseName:"table-column-mapping",template:nL,styles:eL})
|
|
@@ -12068,13 +12088,13 @@ const SL=Q`
|
|
|
12068
12088
|
class $L extends nF{constructor(){super(...arguments),this.hasOverflow=!1}get showMenuButton(){return!!this.cellRecord?.value}get tabbableChildren(){return this.showMenuButton?[this.menuButton]:[]}onMenuButtonBeforeToggle(t){const e=this.columnConfig?.menuSlot
|
|
12069
12089
|
if(e&&t.detail.newState){const t={slots:[{name:e,slot:_L}]}
|
|
12070
12090
|
this.$emit("cell-view-slots-request",t)}return!0}onMenuButtonMouseOver(){this.valueSpan&&(this.hasOverflow=this.valueSpan.offsetWidth<this.valueSpan.scrollWidth)}onMenuButtonMouseOut(){this.hasOverflow=!1}onMenuButtonClick(t){t.stopPropagation()}}t([C],$L.prototype,"hasOverflow",void 0),t([k],$L.prototype,"showMenuButton",null)
|
|
12071
|
-
const
|
|
12072
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
12073
|
-
class
|
|
12091
|
+
const DL=$L.compose({baseName:"table-column-menu-button-cell-view",template:IL,styles:ML})
|
|
12092
|
+
_i.getOrCreate().withPrefix("nimble").register(DL())
|
|
12093
|
+
class EL extends(gN(lF)){onDelegatedEvent(t){t.stopImmediatePropagation()
|
|
12074
12094
|
const e=t,n=e.detail.originalEvent
|
|
12075
12095
|
if("beforetoggle"===n.type||"toggle"===n.type){const t=`menu-button-column-${n.type}`,i={...n.detail,recordId:e.detail.recordId}
|
|
12076
|
-
this.$emit(t,i)}}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-menu-button-cell-view",delegatedEvents:["beforetoggle","toggle"],slotNames:[_L],validator:new dN([])}}fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}menuSlotChanged(){this.updateColumnConfig()}updateColumnConfig(){this.columnInternals.columnConfig={menuSlot:this.menuSlot}}}t([ft({attribute:"field-name"})],
|
|
12077
|
-
const AL=
|
|
12096
|
+
this.$emit(t,i)}}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-menu-button-cell-view",delegatedEvents:["beforetoggle","toggle"],slotNames:[_L],validator:new dN([])}}fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}menuSlotChanged(){this.updateColumnConfig()}updateColumnConfig(){this.columnInternals.columnConfig={menuSlot:this.menuSlot}}}t([ft({attribute:"field-name"})],EL.prototype,"fieldName",void 0),t([ft({attribute:"menu-slot"})],EL.prototype,"menuSlot",void 0)
|
|
12097
|
+
const AL=EL.compose({baseName:"table-column-menu-button",template:SL,styles:fN})
|
|
12078
12098
|
_i.getOrCreate().withPrefix("nimble").register(AL())
|
|
12079
12099
|
const TL=Q`<span
|
|
12080
12100
|
${Yg("hasOverflow")}
|
|
@@ -12121,7 +12141,7 @@ this.setConditionValue("invalidDecimalMaximumDigits",n)}validateNoMutuallyExclus
|
|
|
12121
12141
|
this.setConditionValue("decimalDigitsMutuallyExclusiveWithDecimalMaximumDigits",i)}validateAtMostOneUnit(t){const e=t.length>1
|
|
12122
12142
|
this.setConditionValue("moreThanOneUnitSpecified",e)}isInvalidDecimalDigitsValue(t){return t<0||t>20}}class YL extends We{}t([C],YL.prototype,"resolvedUnitScale",void 0)
|
|
12123
12143
|
class XL extends(FN(RN)){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:YR,validator:new KL}}updateUnitNotifier(){if(this.unitNotifier&&(this.unitNotifier.unsubscribe(this.unitSubscriber),this.unitNotifier=void 0),this.unit){const t=x.getNotifier(this.unit)
|
|
12124
|
-
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
|
|
12144
|
+
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 oE(this.unitElements),this.unit=this.unitElements.find((t=>t instanceof YL))),this.updateUnitNotifier()}unitChanged(){this.updateColumnConfig()}updateColumnConfig(){const t=this.columnInternals.validator
|
|
12125
12145
|
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}
|
|
12126
12146
|
this.columnInternals.headerAlignment=t.alignment,this.columnInternals.columnConfig=t}else this.columnInternals.columnConfig=void 0}createFormatter(){const t=this.unit?.resolvedUnitScale
|
|
12127
12147
|
return new GL(ll.getValueFor(this),{numberTextFormat:this.format??void 0,decimalDigits:this.decimalDigits??void 0,decimalMaximumDigits:this.decimalMaximumDigits??void 0,unitScale:t})}determineCellContentAlignment(){return this.alignment===NL?zR:this.alignment===LL?VR:this.format!==FL.decimal||"number"==typeof this.decimalMaximumDigits||this.unit?zR:VR}}t([ft],XL.prototype,"format",void 0),t([ft],XL.prototype,"alignment",void 0),t([ft({attribute:"decimal-digits",converter:ut})],XL.prototype,"decimalDigits",void 0),t([ft({attribute:"decimal-maximum-digits",converter:ut})],XL.prototype,"decimalMaximumDigits",void 0),t([C],XL.prototype,"unitElements",void 0),t([C],XL.prototype,"unit",void 0)
|
|
@@ -12130,7 +12150,7 @@ _i.getOrCreate().withPrefix("nimble").register(JL())
|
|
|
12130
12150
|
const QL=class extends zN{updateText(){this.text="string"==typeof this.cellRecord?.value?this.cellRecord.value:""}}.compose({baseName:"table-column-text-cell-view",template:BN,styles:PN})
|
|
12131
12151
|
_i.getOrCreate().withPrefix("nimble").register(QL())
|
|
12132
12152
|
const tB=["invalidCustomSortWithGrouping"]
|
|
12133
|
-
class eB extends dN{constructor(){super(tB)}}class nB extends(
|
|
12153
|
+
class eB extends dN{constructor(){super(tB)}}class nB extends(DN(FN(RN))){constructor(){super(...arguments),this.defaultSortOperation=XR}placeholderChanged(){this.columnInternals.columnConfig={placeholder:this.placeholder}}handleSortConfigurationChange(){this.updateColumnInternalsSortConfiguration()}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-text-cell-view",groupHeaderViewTag:MN,delegatedEvents:[],sortOperation:this.getResolvedSortOperation(this.defaultSortOperation),validator:new eB}}fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.updateColumnInternalsSortConfiguration()}updateColumnInternalsSortConfiguration(){this.columnInternals.operandDataRecordFieldName=this.getResolvedOperandDataRecordFieldName(this.fieldName),this.columnInternals.sortOperation=this.getResolvedSortOperation(this.defaultSortOperation)}}const iB=nB.compose({baseName:"table-column-text",template:mN,styles:fN})
|
|
12134
12154
|
_i.getOrCreate().withPrefix("nimble").register(iB())
|
|
12135
12155
|
const sB=Mt`
|
|
12136
12156
|
${zs("grid")}
|
|
@@ -12851,7 +12871,7 @@ class kB extends Os{constructor(){super(...arguments),this.iconVisible=!1}}t([ft
|
|
|
12851
12871
|
const SB=kB.compose({baseName:"tooltip",baseClass:Os,template:CB,styles:xB})
|
|
12852
12872
|
_i.getOrCreate().withPrefix("nimble").register(SB())
|
|
12853
12873
|
const _B="group-selected",IB="all",MB="leaves-only",$B="none"
|
|
12854
|
-
class
|
|
12874
|
+
class DB{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 EB=Mt`
|
|
12855
12875
|
${zs("block")}
|
|
12856
12876
|
|
|
12857
12877
|
:host {
|
|
@@ -12999,7 +13019,7 @@ class EB{constructor(t,e,n){this.ltr=t,this.rtl=e,this.source=n,this.attached=nu
|
|
|
12999
13019
|
display: block;
|
|
13000
13020
|
}
|
|
13001
13021
|
`.withBehaviors(new class{constructor(t,e){this.cache=new WeakMap,this.ltr=t,this.rtl=e}bind(t){this.attach(t)}unbind(t){const e=this.cache.get(t)
|
|
13002
|
-
e&&cl.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new
|
|
13022
|
+
e&&cl.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new DB(this.ltr,this.rtl,t),n=cl.getValueFor(t)
|
|
13003
13023
|
cl.subscribe(e),e.attach(n),this.cache.set(t,e)}}(Mt`
|
|
13004
13024
|
.expand-collapse-button {
|
|
13005
13025
|
left: var(
|
|
@@ -13072,7 +13092,7 @@ const TB=AB.compose({baseName:"tree-item",baseClass:Fs,template:(t,e)=>Q`
|
|
|
13072
13092
|
</div>
|
|
13073
13093
|
`)}
|
|
13074
13094
|
</template>
|
|
13075
|
-
`,styles:
|
|
13095
|
+
`,styles:EB,expandCollapseGlyph:fu.data})
|
|
13076
13096
|
_i.getOrCreate().withPrefix("nimble").register(TB())
|
|
13077
13097
|
const OB=Mt`
|
|
13078
13098
|
${zs("flex")}
|
|
@@ -13154,7 +13174,7 @@ function yP(){return Array.from(this.children)}function wP(t){return new Array(t
|
|
|
13154
13174
|
for(;a<l;++a)(r=e[a])&&(s[a]=r)}function kP(t,e,n,i,s,o,r){var a,l,c,d=new Map,h=e.length,u=o.length,p=new Array(h)
|
|
13155
13175
|
for(a=0;a<h;++a)(l=e[a])&&(p[a]=c=r.call(l,l.__data__,a,e)+"",d.has(c)?s[a]=l:d.set(c,l))
|
|
13156
13176
|
for(a=0;a<u;++a)c=r.call(t,o[a],a,o)+"",(l=d.get(c))?(i[a]=l,l.__data__=o[a],d.delete(c)):n[a]=new xP(t,o[a])
|
|
13157
|
-
for(a=0;a<h;++a)(l=e[a])&&d.get(p[a])===l&&(s[a]=l)}function SP(t){return t.__data__}function _P(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function IP(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function MP(t){return function(){this.removeAttribute(t)}}function $P(t){return function(){this.removeAttributeNS(t.space,t.local)}}function
|
|
13177
|
+
for(a=0;a<h;++a)(l=e[a])&&d.get(p[a])===l&&(s[a]=l)}function SP(t){return t.__data__}function _P(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function IP(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function MP(t){return function(){this.removeAttribute(t)}}function $P(t){return function(){this.removeAttributeNS(t.space,t.local)}}function DP(t,e){return function(){this.setAttribute(t,e)}}function EP(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function AP(t,e){return function(){var n=e.apply(this,arguments)
|
|
13158
13178
|
null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function TP(t,e){return function(){var n=e.apply(this,arguments)
|
|
13159
13179
|
null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function OP(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function RP(t){return function(){this.style.removeProperty(t)}}function FP(t,e,n){return function(){this.style.setProperty(t,e,n)}}function NP(t,e,n){return function(){var i=e.apply(this,arguments)
|
|
13160
13180
|
null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function LP(t,e){return t.style.getPropertyValue(e)||OP(t).getComputedStyle(t,null).getPropertyValue(e)}function BP(t){return function(){delete this[t]}}function PP(t,e){return function(){this[t]=e}}function zP(t,e){return function(){var n=e.apply(this,arguments)
|
|
@@ -13199,7 +13219,7 @@ for(const e of this)++t
|
|
|
13199
13219
|
return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var s,o=e[n],r=0,a=o.length;r<a;++r)(s=o[r])&&t.call(s,s.__data__,r,o)
|
|
13200
13220
|
return this},attr:function(t,e){var n=oP(t)
|
|
13201
13221
|
if(arguments.length<2){var i=this.node()
|
|
13202
|
-
return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?$P:MP:"function"==typeof e?n.local?TP:AP:n.local?DP
|
|
13222
|
+
return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?$P:MP:"function"==typeof e?n.local?TP:AP:n.local?EP:DP)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?RP:"function"==typeof e?NP:FP)(t,e,null==n?"":n)):LP(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?BP:"function"==typeof e?zP:PP)(t,e)):this.node()[t]},classed:function(t,e){var n=VP(t+"")
|
|
13203
13223
|
if(arguments.length<2){for(var i=HP(this.node()),s=-1,o=n.length;++s<o;)if(!i.contains(n[s]))return!1
|
|
13204
13224
|
return!0}return this.each(("function"==typeof e?ZP:e?WP:GP)(n,e))},text:function(t){return arguments.length?this.each(null==t?KP:("function"==typeof t?XP:YP)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?JP:("function"==typeof t?tz:QP)(t)):this.node().innerHTML},raise:function(){return this.each(ez)},lower:function(){return this.each(nz)},append:function(t){var e="function"==typeof t?t:lP(t)
|
|
13205
13225
|
return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:lP(t),i=null==e?iz:"function"==typeof e?e:dP(e)
|
|
@@ -13211,9 +13231,9 @@ if(a)for(var l,c=0,d=a.length;c<d;++c)for(i=0,l=a[c];i<r;++i)if((s=o[i]).type===
|
|
|
13211
13231
|
const vz={capture:!0,passive:!1}
|
|
13212
13232
|
function bz(t){t.preventDefault(),t.stopImmediatePropagation()}function yz(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function wz(t,e){var n=Object.create(t.prototype)
|
|
13213
13233
|
for(var i in e)n[i]=e[i]
|
|
13214
|
-
return n}function xz(){}var Cz=.7,kz=1/Cz,Sz="\\s*([+-]?\\d+)\\s*",_z="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Iz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Mz=/^#([0-9a-f]{3,8})$/,$z=new RegExp(`^rgb\\(${Sz},${Sz},${Sz}\\)$`),
|
|
13234
|
+
return n}function xz(){}var Cz=.7,kz=1/Cz,Sz="\\s*([+-]?\\d+)\\s*",_z="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Iz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Mz=/^#([0-9a-f]{3,8})$/,$z=new RegExp(`^rgb\\(${Sz},${Sz},${Sz}\\)$`),Dz=new RegExp(`^rgb\\(${Iz},${Iz},${Iz}\\)$`),Ez=new RegExp(`^rgba\\(${Sz},${Sz},${Sz},${_z}\\)$`),Az=new RegExp(`^rgba\\(${Iz},${Iz},${Iz},${_z}\\)$`),Tz=new RegExp(`^hsl\\(${_z},${Iz},${Iz}\\)$`),Oz=new RegExp(`^hsla\\(${_z},${Iz},${Iz},${_z}\\)$`),Rz={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074}
|
|
13215
13235
|
function Fz(){return this.rgb().formatHex()}function Nz(){return this.rgb().formatRgb()}function Lz(t){var e,n
|
|
13216
|
-
return t=(t+"").trim().toLowerCase(),(e=Mz.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Bz(e):3===n?new Vz(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Pz(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Pz(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=$z.exec(t))?new Vz(e[1],e[2],e[3],1):(e=
|
|
13236
|
+
return t=(t+"").trim().toLowerCase(),(e=Mz.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Bz(e):3===n?new Vz(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Pz(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Pz(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=$z.exec(t))?new Vz(e[1],e[2],e[3],1):(e=Dz.exec(t))?new Vz(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ez.exec(t))?Pz(e[1],e[2],e[3],e[4]):(e=Az.exec(t))?Pz(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Tz.exec(t))?Gz(e[1],e[2]/100,e[3]/100,1):(e=Oz.exec(t))?Gz(e[1],e[2]/100,e[3]/100,e[4]):Rz.hasOwnProperty(t)?Bz(Rz[t]):"transparent"===t?new Vz(NaN,NaN,NaN,0):null}function Bz(t){return new Vz(t>>16&255,t>>8&255,255&t,1)}function Pz(t,e,n,i){return i<=0&&(t=e=n=NaN),new Vz(t,e,n,i)}function zz(t,e,n,i){return 1===arguments.length?((s=t)instanceof xz||(s=Lz(s)),s?new Vz((s=s.rgb()).r,s.g,s.b,s.opacity):new Vz):new Vz(t,e,n,null==i?1:i)
|
|
13217
13237
|
var s}function Vz(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function Hz(){return`#${Wz(this.r)}${Wz(this.g)}${Wz(this.b)}`}function Uz(){const t=qz(this.opacity)
|
|
13218
13238
|
return`${1===t?"rgb(":"rgba("}${jz(this.r)}, ${jz(this.g)}, ${jz(this.b)}${1===t?")":`, ${t})`}`}function qz(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function jz(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Wz(t){return((t=jz(t))<16?"0":"")+t.toString(16)}function Gz(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Kz(t,e,n,i)}function Zz(t){if(t instanceof Kz)return new Kz(t.h,t.s,t.l,t.opacity)
|
|
13219
13239
|
if(t instanceof xz||(t=Lz(t)),!t)return new Kz
|
|
@@ -13256,14 +13276,14 @@ if(m<1e-12)r=Math.log(u/c)/e,o=function(t){return[a+t*p,l+t*f,c*Math.exp(e*t*r)]
|
|
|
13256
13276
|
else{var g=Math.sqrt(m),v=(u*u-c*c+i*m)/(2*c*n*g),b=(u*u-c*c-i*m)/(2*u*n*g),y=Math.log(Math.sqrt(v*v+1)-v),w=Math.log(Math.sqrt(b*b+1)-b)
|
|
13257
13277
|
r=(w-y)/e,o=function(t){var i,s=t*r,o=wV(y),d=c/(n*g)*(o*(i=e*s+y,((i=Math.exp(2*i))-1)/(i+1))-function(t){return((t=Math.exp(t))-1/t)/2}(y))
|
|
13258
13278
|
return[a+d*p,l+d*f,c*o/wV(e*s+y)]}}return o.duration=1e3*r*e/Math.SQRT2,o}return s.rho=function(e){var n=Math.max(.001,+e),i=n*n
|
|
13259
|
-
return t(n,i,i*i)},s}(Math.SQRT2,2,4),SV=0,_V=0,IV=0,MV=1e3,$V=0,
|
|
13260
|
-
function OV(){return
|
|
13261
|
-
return i.restart(t,e,n),i}function LV(){
|
|
13279
|
+
return t(n,i,i*i)},s}(Math.SQRT2,2,4),SV=0,_V=0,IV=0,MV=1e3,$V=0,DV=0,EV=0,AV="object"==typeof performance&&performance.now?performance:Date,TV="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)}
|
|
13280
|
+
function OV(){return DV||(TV(RV),DV=AV.now()+EV)}function RV(){DV=0}function FV(){this._call=this._time=this._next=null}function NV(t,e,n){var i=new FV
|
|
13281
|
+
return i.restart(t,e,n),i}function LV(){DV=($V=AV.now())+EV,SV=_V=0
|
|
13262
13282
|
try{!function(){OV(),++SV
|
|
13263
|
-
for(var t,e=xV;e;)(t=
|
|
13283
|
+
for(var t,e=xV;e;)(t=DV-e._time)>=0&&e._call.call(void 0,t),e=e._next;--SV}()}finally{SV=0,function(){var t,e,n=xV,i=1/0
|
|
13264
13284
|
for(;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:xV=e)
|
|
13265
|
-
CV=t,PV(i)}(),
|
|
13266
|
-
e>MV&&(
|
|
13285
|
+
CV=t,PV(i)}(),DV=0}}function BV(){var t=AV.now(),e=t-$V
|
|
13286
|
+
e>MV&&(EV-=e,$V=t)}function PV(t){SV||(_V&&(_V=clearTimeout(_V)),t-DV>24?(t<1/0&&(_V=setTimeout(LV,t-AV.now()-EV)),IV&&(IV=clearInterval(IV))):(IV||($V=AV.now(),IV=setInterval(BV,MV)),SV=1,TV(LV)))}function zV(t,e,n){var i=new FV
|
|
13267
13287
|
return e=null==e?0:+e,i.restart((n=>{i.stop(),t(n+e)}),e,n),i}FV.prototype=NV.prototype={constructor:FV,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function")
|
|
13268
13288
|
n=(null==n?OV():+n)+(null==e?0:+e),this._next||CV===this||(CV?CV._next=this:xV=this,CV=this),this._call=t,this._time=n,PV()},stop:function(){this._call&&(this._call=null,this._time=1/0,PV())}}
|
|
13269
13289
|
var VV=QB("start","end","cancel","interrupt"),HV=[],UV=0,qV=1,jV=2,WV=3,GV=4,ZV=5,KV=6
|
|
@@ -13379,29 +13399,29 @@ return new wH(i,this._parents,t,e)}
|
|
|
13379
13399
|
var _H=t=>()=>t
|
|
13380
13400
|
function IH(t,{sourceEvent:e,target:n,transform:i,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:s}})}function MH(t,e,n){this.k=t,this.x=e,this.y=n}MH.prototype={constructor:MH,scale:function(t){return 1===t?this:new MH(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new MH(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}}
|
|
13381
13401
|
var $H=new MH(1,0,0)
|
|
13382
|
-
function
|
|
13402
|
+
function DH(t){t.stopImmediatePropagation()}function EH(t){t.preventDefault(),t.stopImmediatePropagation()}function AH(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function TH(){var t=this
|
|
13383
13403
|
return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function OH(){return this.__zoom||$H}function RH(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function FH(){return navigator.maxTouchPoints||"ontouchstart"in this}function NH(t,e,n){var i=t.invertX(e[0][0])-n[0][0],s=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],r=t.invertY(e[1][1])-n[1][1]
|
|
13384
13404
|
return t.translate(s>i?(i+s)/2:Math.min(0,i)||Math.max(0,s),r>o?(o+r)/2:Math.min(0,o)||Math.max(0,r))}function LH(){var t,e,n,i=AH,s=TH,o=NH,r=RH,a=FH,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],d=250,h=kV,u=QB("start","zoom","end"),p=500,f=150,m=0,g=10
|
|
13385
|
-
function v(t){t.property("__zoom",OH).on("wheel.zoom",S,{passive:!1}).on("mousedown.zoom",_).on("dblclick.zoom",I).filter(a).on("touchstart.zoom",M).on("touchmove.zoom",$).on("touchend.zoom touchcancel.zoom",
|
|
13405
|
+
function v(t){t.property("__zoom",OH).on("wheel.zoom",S,{passive:!1}).on("mousedown.zoom",_).on("dblclick.zoom",I).filter(a).on("touchstart.zoom",M).on("touchmove.zoom",$).on("touchend.zoom touchcancel.zoom",D).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function b(t,e){return(e=Math.max(l[0],Math.min(l[1],e)))===t.k?t:new MH(e,t.x,t.y)}function y(t,e,n){var i=e[0]-n[0]*t.k,s=e[1]-n[1]*t.k
|
|
13386
13406
|
return i===t.x&&s===t.y?t:new MH(t.k,i,s)}function w(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function x(t,e,n,i){t.on("start.zoom",(function(){C(this,arguments).event(i).start()})).on("interrupt.zoom end.zoom",(function(){C(this,arguments).event(i).end()})).tween("zoom",(function(){var t=this,o=arguments,r=C(t,o).event(i),a=s.apply(t,o),l=null==n?w(a):"function"==typeof n?n.apply(t,o):n,c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),d=t.__zoom,u="function"==typeof e?e.apply(t,o):e,p=h(d.invert(l).concat(c/d.k),u.invert(l).concat(c/u.k))
|
|
13387
13407
|
return function(t){if(1===t)t=u
|
|
13388
13408
|
else{var e=p(t),n=c/e[2]
|
|
13389
13409
|
t=new MH(n,l[0]-e[0]*n,l[1]-e[1]*n)}r.zoom(null,t)}}))}function C(t,e,n){return!n&&t.__zooming||new k(t,e)}function k(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=s.apply(t,e),this.taps=0}function S(t,...e){if(i.apply(this,arguments)){var n=C(this,e).event(t),s=this.__zoom,a=Math.max(l[0],Math.min(l[1],s.k*Math.pow(2,r.apply(this,arguments)))),d=gz(t)
|
|
13390
13410
|
if(n.wheel)n.mouse[0][0]===d[0]&&n.mouse[0][1]===d[1]||(n.mouse[1]=s.invert(n.mouse[0]=d)),clearTimeout(n.wheel)
|
|
13391
13411
|
else{if(s.k===a)return
|
|
13392
|
-
n.mouse=[d,s.invert(d)],tH(this),n.start()}
|
|
13412
|
+
n.mouse=[d,s.invert(d)],tH(this),n.start()}EH(t),n.wheel=setTimeout((function(){n.wheel=null,n.end()}),f),n.zoom("mouse",o(y(b(s,a),n.mouse[0],n.mouse[1]),n.extent,c))}}function _(t,...e){if(!n&&i.apply(this,arguments)){var s=t.currentTarget,r=C(this,e,!0).event(t),a=mz(t.view).on("mousemove.zoom",(function(t){if(EH(t),!r.moved){var e=t.clientX-d,n=t.clientY-h
|
|
13393
13413
|
r.moved=e*e+n*n>m}r.event(t).zoom("mouse",o(y(r.that.__zoom,r.mouse[0]=gz(t,s),r.mouse[1]),r.extent,c))}),!0).on("mouseup.zoom",(function(t){a.on("mousemove.zoom mouseup.zoom",null),function(t,e){var n=t.document.documentElement,i=mz(t).on("dragstart.drag",null)
|
|
13394
|
-
e&&(i.on("click.drag",bz,vz),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(t.view,r.moved),
|
|
13414
|
+
e&&(i.on("click.drag",bz,vz),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(t.view,r.moved),EH(t),r.event(t).end()}),!0),l=gz(t,s),d=t.clientX,h=t.clientY
|
|
13395
13415
|
!function(t){var e=t.document.documentElement,n=mz(t).on("dragstart.drag",bz,vz)
|
|
13396
|
-
"onselectstart"in e?n.on("selectstart.drag",bz,vz):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}(t.view),
|
|
13397
|
-
|
|
13398
|
-
for(
|
|
13416
|
+
"onselectstart"in e?n.on("selectstart.drag",bz,vz):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}(t.view),DH(t),r.mouse=[l,this.__zoom.invert(l)],tH(this),r.start()}}function I(t,...e){if(i.apply(this,arguments)){var n=this.__zoom,r=gz(t.changedTouches?t.changedTouches[0]:t,this),a=n.invert(r),l=n.k*(t.shiftKey?.5:2),h=o(y(b(n,l),r,a),s.apply(this,e),c)
|
|
13417
|
+
EH(t),d>0?mz(this).transition().duration(d).call(x,h,r,t):mz(this).call(v.transform,h,r,t)}}function M(n,...s){if(i.apply(this,arguments)){var o,r,a,l,c=n.touches,d=c.length,h=C(this,s,n.changedTouches.length===d).event(n)
|
|
13418
|
+
for(DH(n),r=0;r<d;++r)l=[l=gz(a=c[r],this),this.__zoom.invert(l),a.identifier],h.touch0?h.touch1||h.touch0[2]===l[2]||(h.touch1=l,h.taps=0):(h.touch0=l,o=!0,h.taps=1+!!t)
|
|
13399
13419
|
t&&(t=clearTimeout(t)),o&&(h.taps<2&&(e=l[0],t=setTimeout((function(){t=null}),p)),tH(this),h.start())}}function $(t,...e){if(this.__zooming){var n,i,s,r,a=C(this,e).event(t),l=t.changedTouches,d=l.length
|
|
13400
|
-
for(
|
|
13420
|
+
for(EH(t),n=0;n<d;++n)s=gz(i=l[n],this),a.touch0&&a.touch0[2]===i.identifier?a.touch0[0]=s:a.touch1&&a.touch1[2]===i.identifier&&(a.touch1[0]=s)
|
|
13401
13421
|
if(i=a.that.__zoom,a.touch1){var h=a.touch0[0],u=a.touch0[1],p=a.touch1[0],f=a.touch1[1],m=(m=p[0]-h[0])*m+(m=p[1]-h[1])*m,g=(g=f[0]-u[0])*g+(g=f[1]-u[1])*g
|
|
13402
13422
|
i=b(i,Math.sqrt(m/g)),s=[(h[0]+p[0])/2,(h[1]+p[1])/2],r=[(u[0]+f[0])/2,(u[1]+f[1])/2]}else{if(!a.touch0)return
|
|
13403
|
-
s=a.touch0[0],r=a.touch0[1]}a.zoom("touch",o(y(i,s,r),a.extent,c))}}function
|
|
13404
|
-
for(
|
|
13423
|
+
s=a.touch0[0],r=a.touch0[1]}a.zoom("touch",o(y(i,s,r),a.extent,c))}}function D(t,...i){if(this.__zooming){var s,o,r=C(this,i).event(t),a=t.changedTouches,l=a.length
|
|
13424
|
+
for(DH(t),n&&clearTimeout(n),n=setTimeout((function(){n=null}),p),s=0;s<l;++s)o=a[s],r.touch0&&r.touch0[2]===o.identifier?delete r.touch0:r.touch1&&r.touch1[2]===o.identifier&&delete r.touch1
|
|
13405
13425
|
if(r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0)r.touch0[1]=this.__zoom.invert(r.touch0[0])
|
|
13406
13426
|
else if(r.end(),2===r.taps&&(o=gz(o,this),Math.hypot(e[0]-o[0],e[1]-o[1])<g)){var c=mz(this).on("dblclick.zoom")
|
|
13407
13427
|
c&&c.apply(this,arguments)}}}return v.transform=function(t,e,n,i){var s=t.selection?t.selection():t
|
|
@@ -13509,11 +13529,11 @@ return e=t instanceof Uint8Array?t:this.text_encoder.encode(t),this.addInt8(0),t
|
|
|
13509
13529
|
for(let n=0;n<t.length;++n){const i=t[n]
|
|
13510
13530
|
if(null===i)throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.")
|
|
13511
13531
|
e.push(this.createObjectOffset(i))}return e}createStructOffsetList(t,e){return e(this,t.length),this.createObjectOffsetList(t.slice().reverse()),this.endVector()}}
|
|
13512
|
-
var EU
|
|
13513
|
-
!function(t){t[t.BUFFER=0]="BUFFER"}(
|
|
13532
|
+
var DU,EU
|
|
13533
|
+
!function(t){t[t.BUFFER=0]="BUFFER"}(DU||(DU={})),function(t){t[t.LZ4_FRAME=0]="LZ4_FRAME",t[t.ZSTD=1]="ZSTD"}(EU||(EU={}))
|
|
13514
13534
|
class AU{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsBodyCompression(t,e){return(e||new AU).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsBodyCompression(t,e){return t.setPosition(t.position()+4),(e||new AU).__init(t.readInt32(t.position())+t.position(),t)}codec(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13515
|
-
return t?this.bb.readInt8(this.bb_pos+t):
|
|
13516
|
-
return t?this.bb.readInt8(this.bb_pos+t):
|
|
13535
|
+
return t?this.bb.readInt8(this.bb_pos+t):EU.LZ4_FRAME}method(){const t=this.bb.__offset(this.bb_pos,6)
|
|
13536
|
+
return t?this.bb.readInt8(this.bb_pos+t):DU.BUFFER}static startBodyCompression(t){t.startObject(2)}static addCodec(t,e){t.addFieldInt8(0,e,EU.LZ4_FRAME)}static addMethod(t,e){t.addFieldInt8(1,e,DU.BUFFER)}static endBodyCompression(t){return t.endObject()}static createBodyCompression(t,e,n){return AU.startBodyCompression(t),AU.addCodec(t,e),AU.addMethod(t,n),AU.endBodyCompression(t)}}class TU{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(t,e,n){return t.prep(8,16),t.writeInt64(BigInt(null!=n?n:0)),t.writeInt64(BigInt(null!=e?e:0)),t.offset()}}let OU=class{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(t,e,n){return t.prep(8,16),t.writeInt64(BigInt(null!=n?n:0)),t.writeInt64(BigInt(null!=e?e:0)),t.offset()}},RU=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsRecordBatch(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}length(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13517
13537
|
return t?this.bb.readInt64(this.bb_pos+t):BigInt("0")}nodes(t,e){const n=this.bb.__offset(this.bb_pos,6)
|
|
13518
13538
|
return n?(e||new OU).__init(this.bb.__vector(this.bb_pos+n)+16*t,this.bb):null}nodesLength(){const t=this.bb.__offset(this.bb_pos,6)
|
|
13519
13539
|
return t?this.bb.__vector_len(this.bb_pos+t):0}buffers(t,e){const n=this.bb.__offset(this.bb_pos,8)
|
|
@@ -13616,7 +13636,7 @@ const r=i.length-1
|
|
|
13616
13636
|
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]
|
|
13617
13637
|
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])
|
|
13618
13638
|
return null!=e?e:"0"}class Sq{static new(t,e){switch(e){case!0:return new vq(t)
|
|
13619
|
-
case!1:return new bq(t)}switch(t.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new vq(t)}return 16===t.byteLength?new yq(t):new bq(t)}static signed(t){return new vq(t)}static unsigned(t){return new bq(t)}static decimal(t){return new yq(t)}constructor(t,e){return Sq.new(t,e)}}var _q,Iq,Mq,$q,Eq,
|
|
13639
|
+
case!1:return new bq(t)}switch(t.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new vq(t)}return 16===t.byteLength?new yq(t):new bq(t)}static signed(t){return new vq(t)}static unsigned(t){return new bq(t)}static decimal(t){return new yq(t)}constructor(t,e){return Sq.new(t,e)}}var _q,Iq,Mq,$q,Dq,Eq,Aq,Tq,Oq,Rq,Fq,Nq,Lq,Bq,Pq,zq,Vq,Hq,Uq,qq,jq,Wq,Gq
|
|
13620
13640
|
class Zq{static isNull(t){return(null==t?void 0:t.typeId)===dq.Null}static isInt(t){return(null==t?void 0:t.typeId)===dq.Int}static isFloat(t){return(null==t?void 0:t.typeId)===dq.Float}static isBinary(t){return(null==t?void 0:t.typeId)===dq.Binary}static isLargeBinary(t){return(null==t?void 0:t.typeId)===dq.LargeBinary}static isUtf8(t){return(null==t?void 0:t.typeId)===dq.Utf8}static isLargeUtf8(t){return(null==t?void 0:t.typeId)===dq.LargeUtf8}static isBool(t){return(null==t?void 0:t.typeId)===dq.Bool}static isDecimal(t){return(null==t?void 0:t.typeId)===dq.Decimal}static isDate(t){return(null==t?void 0:t.typeId)===dq.Date}static isTime(t){return(null==t?void 0:t.typeId)===dq.Time}static isTimestamp(t){return(null==t?void 0:t.typeId)===dq.Timestamp}static isInterval(t){return(null==t?void 0:t.typeId)===dq.Interval}static isDuration(t){return(null==t?void 0:t.typeId)===dq.Duration}static isList(t){return(null==t?void 0:t.typeId)===dq.List}static isStruct(t){return(null==t?void 0:t.typeId)===dq.Struct}static isUnion(t){return(null==t?void 0:t.typeId)===dq.Union}static isFixedSizeBinary(t){return(null==t?void 0:t.typeId)===dq.FixedSizeBinary}static isFixedSizeList(t){return(null==t?void 0:t.typeId)===dq.FixedSizeList}static isMap(t){return(null==t?void 0:t.typeId)===dq.Map}static isDictionary(t){return(null==t?void 0:t.typeId)===dq.Dictionary}static isDenseUnion(t){return Zq.isUnion(t)&&t.mode===vU.Dense}static isSparseUnion(t){return Zq.isUnion(t)&&t.mode===vU.Sparse}constructor(t){this.typeId=t}}_q=Symbol.toStringTag,Zq[_q]=((Gq=Zq.prototype).children=null,Gq.ArrayType=Array,Gq.OffsetArrayType=Int32Array,Gq[Symbol.toStringTag]="DataType")
|
|
13621
13641
|
class Kq extends Zq{constructor(){super(dq.Null)}toString(){return"Null"}}Iq=Symbol.toStringTag,Kq[Iq]=(t=>t[Symbol.toStringTag]="Null")(Kq.prototype)
|
|
13622
13642
|
class Yq extends Zq{constructor(t,e){super(dq.Int),this.isSigned=t,this.bitWidth=e}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array
|
|
@@ -13627,8 +13647,8 @@ class Xq extends Yq{constructor(){super(!0,32)}get ArrayType(){return Int32Array
|
|
|
13627
13647
|
class Jq extends Zq{constructor(t){super(dq.Float),this.precision=t}get ArrayType(){switch(this.precision){case bU.HALF:return Uint16Array
|
|
13628
13648
|
case bU.SINGLE:return Float32Array
|
|
13629
13649
|
case bU.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}$q=Symbol.toStringTag,Jq[$q]=(t=>(t.precision=null,t[Symbol.toStringTag]="Float"))(Jq.prototype)
|
|
13630
|
-
class Qq extends Zq{constructor(){super(dq.Binary)}toString(){return"Binary"}}
|
|
13631
|
-
class tj extends Zq{constructor(){super(dq.LargeBinary)}toString(){return"LargeBinary"}}
|
|
13650
|
+
class Qq extends Zq{constructor(){super(dq.Binary)}toString(){return"Binary"}}Dq=Symbol.toStringTag,Qq[Dq]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Binary"))(Qq.prototype)
|
|
13651
|
+
class tj extends Zq{constructor(){super(dq.LargeBinary)}toString(){return"LargeBinary"}}Eq=Symbol.toStringTag,tj[Eq]=(t=>(t.ArrayType=Uint8Array,t.OffsetArrayType=BigInt64Array,t[Symbol.toStringTag]="LargeBinary"))(tj.prototype)
|
|
13632
13652
|
class ej extends Zq{constructor(){super(dq.Utf8)}toString(){return"Utf8"}}Aq=Symbol.toStringTag,ej[Aq]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Utf8"))(ej.prototype)
|
|
13633
13653
|
class nj extends Zq{constructor(){super(dq.LargeUtf8)}toString(){return"LargeUtf8"}}Tq=Symbol.toStringTag,nj[Tq]=(t=>(t.ArrayType=Uint8Array,t.OffsetArrayType=BigInt64Array,t[Symbol.toStringTag]="LargeUtf8"))(nj.prototype)
|
|
13634
13654
|
class ij extends Zq{constructor(){super(dq.Bool)}toString(){return"Bool"}}Oq=Symbol.toStringTag,ij[Oq]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Bool"))(ij.prototype)
|
|
@@ -13804,7 +13824,7 @@ const kj=new Float64Array(1),Sj=new Uint32Array(kj.buffer)
|
|
|
13804
13824
|
function _j(t){const e=(31744&t)>>10,n=(1023&t)/1024,i=Math.pow(-1,(32768&t)>>15)
|
|
13805
13825
|
switch(e){case 31:return i*(n?Number.NaN:1/0)
|
|
13806
13826
|
case 0:return i*(n?6103515625e-14*n:0)}return i*Math.pow(2,e-15)*(1+n)}class Ij extends wj{}function Mj(t){return(e,n,i)=>{if(e.setValid(n,null!=i))return t(e,n,i)}}const $j=(t,e,n,i)=>{if(n+1<e.length){const s=pq(e[n]),o=pq(e[n+1])
|
|
13807
|
-
t.set(i.subarray(0,o-s),s)}},
|
|
13827
|
+
t.set(i.subarray(0,o-s),s)}},Dj=({values:t},e,n)=>{t[e]=n},Ej=({values:t},e,n)=>{t[e]=n},Aj=({values:t},e,n)=>{t[e]=function(t){if(t!=t)return 32256
|
|
13808
13828
|
kj[0]=t
|
|
13809
13829
|
const e=(2147483648&Sj[1])>>16&65535
|
|
13810
13830
|
let n=2146435072&Sj[1],i=0
|
|
@@ -13812,8 +13832,8 @@ return n>=1089470464?Sj[0]>0?n=31744:(n=(2080374784&n)>>16,i=(1048575&Sj[1])>>10
|
|
|
13812
13832
|
Jj.visit(s,t.valueOffsets[e],n)},jj=(t,e,n)=>{const i=t.type.typeIdToChildIndex[t.typeIds[e]],s=t.children[i]
|
|
13813
13833
|
Jj.visit(s,e,n)},Wj=({values:t},e,n)=>{t.set(n.subarray(0,2),2*e)},Gj=({values:t},e,n)=>{t[e]=12*n[0]+n[1]%12},Zj=({values:t},e,n)=>{t[e]=n},Kj=({values:t},e,n)=>{t[e]=n},Yj=({values:t},e,n)=>{t[e]=n},Xj=({values:t},e,n)=>{t[e]=n}
|
|
13814
13834
|
Ij.prototype.visitBool=Mj((({offset:t,values:e},n,i)=>{const s=t+n
|
|
13815
|
-
i?e[s>>3]|=1<<s%8:e[s>>3]&=~(1<<s%8)})),Ij.prototype.visitInt=Mj(
|
|
13816
|
-
case bU.SINGLE:case bU.DOUBLE:return
|
|
13835
|
+
i?e[s>>3]|=1<<s%8:e[s>>3]&=~(1<<s%8)})),Ij.prototype.visitInt=Mj(Dj),Ij.prototype.visitInt8=Mj(Dj),Ij.prototype.visitInt16=Mj(Dj),Ij.prototype.visitInt32=Mj(Dj),Ij.prototype.visitInt64=Mj(Dj),Ij.prototype.visitUint8=Mj(Dj),Ij.prototype.visitUint16=Mj(Dj),Ij.prototype.visitUint32=Mj(Dj),Ij.prototype.visitUint64=Mj(Dj),Ij.prototype.visitFloat=Mj(((t,e,n)=>{switch(t.type.precision){case bU.HALF:return Aj(t,e,n)
|
|
13836
|
+
case bU.SINGLE:case bU.DOUBLE:return Ej(t,e,n)}})),Ij.prototype.visitFloat16=Mj(Aj),Ij.prototype.visitFloat32=Mj(Ej),Ij.prototype.visitFloat64=Mj(Ej),Ij.prototype.visitUtf8=Mj(Fj),Ij.prototype.visitLargeUtf8=Mj(Fj),Ij.prototype.visitBinary=Mj(Rj),Ij.prototype.visitLargeBinary=Mj(Rj),Ij.prototype.visitFixedSizeBinary=Mj((({stride:t,values:e},n,i)=>{e.set(i.subarray(0,t),t*n)})),Ij.prototype.visitDate=Mj(((t,e,n)=>{t.type.unit===yU.DAY?Tj(t,e,n):Oj(t,e,n)})),Ij.prototype.visitDateDay=Mj(Tj),Ij.prototype.visitDateMillisecond=Mj(Oj),Ij.prototype.visitTimestamp=Mj(((t,e,n)=>{switch(t.type.unit){case wU.SECOND:return Nj(t,e,n)
|
|
13817
13837
|
case wU.MILLISECOND:return Lj(t,e,n)
|
|
13818
13838
|
case wU.MICROSECOND:return Bj(t,e,n)
|
|
13819
13839
|
case wU.NANOSECOND:return Pj(t,e,n)}})),Ij.prototype.visitTimestampSecond=Mj(Nj),Ij.prototype.visitTimestampMillisecond=Mj(Lj),Ij.prototype.visitTimestampMicrosecond=Mj(Bj),Ij.prototype.visitTimestampNanosecond=Mj(Pj),Ij.prototype.visitTime=Mj(((t,e,n)=>{switch(t.type.unit){case wU.SECOND:return zj(t,e,n)
|
|
@@ -13835,19 +13855,19 @@ const l=n instanceof Map?n.entries():Object.entries(n)
|
|
|
13835
13855
|
for(const t of l)if(o(i,r,t),++r>=a)break}))
|
|
13836
13856
|
const Jj=new Ij,Qj=Symbol.for("parent"),tW=Symbol.for("rowIndex")
|
|
13837
13857
|
class eW{constructor(t,e){return this[Qj]=t,this[tW]=e,new Proxy(this,new iW)}toArray(){return Object.values(this.toJSON())}toJSON(){const t=this[tW],e=this[Qj],n=e.type.children,i={}
|
|
13838
|
-
for(let s=-1,o=n.length;++s<o;)i[n[s].name]=
|
|
13858
|
+
for(let s=-1,o=n.length;++s<o;)i[n[s].name]=DW.visit(e.children[s],t)
|
|
13839
13859
|
return i}toString(){return`{${[...this].map((([t,e])=>`${uq(t)}: ${uq(e)}`)).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}[Symbol.iterator](){return new nW(this[Qj],this[tW])}}class nW{constructor(t,e){this.childIndex=0,this.children=t.children,this.rowIndex=e,this.childFields=t.type.children,this.numChildren=this.childFields.length}[Symbol.iterator](){return this}next(){const t=this.childIndex
|
|
13840
|
-
return t<this.numChildren?(this.childIndex=t+1,{done:!1,value:[this.childFields[t].name,
|
|
13860
|
+
return t<this.numChildren?(this.childIndex=t+1,{done:!1,value:[this.childFields[t].name,DW.visit(this.children[t],this.rowIndex)]}):{done:!0,value:null}}}Object.defineProperties(eW.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[Qj]:{writable:!0,enumerable:!1,configurable:!1,value:null},[tW]:{writable:!0,enumerable:!1,configurable:!1,value:-1}})
|
|
13841
13861
|
class iW{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(t){return t[Qj].type.children.map((t=>t.name))}has(t,e){return-1!==t[Qj].type.children.findIndex((t=>t.name===e))}getOwnPropertyDescriptor(t,e){if(-1!==t[Qj].type.children.findIndex((t=>t.name===e)))return{writable:!0,enumerable:!0,configurable:!0}}get(t,e){if(Reflect.has(t,e))return t[e]
|
|
13842
13862
|
const n=t[Qj].type.children.findIndex((t=>t.name===e))
|
|
13843
|
-
if(-1!==n){const i=
|
|
13863
|
+
if(-1!==n){const i=DW.visit(t[Qj].children[n],t[tW])
|
|
13844
13864
|
return Reflect.set(t,e,i),i}}set(t,e,n){const i=t[Qj].type.children.findIndex((t=>t.name===e))
|
|
13845
13865
|
return-1!==i?(Jj.visit(t[Qj].children[i],t[tW],n),Reflect.set(t,e,n)):!(!Reflect.has(t,e)&&"symbol"!=typeof e)&&Reflect.set(t,e,n)}}class sW extends wj{}function oW(t){return(e,n)=>e.getValid(n)?t(e,n):null}const rW=(t,e,n)=>{if(n+1>=e.length)return null
|
|
13846
13866
|
const i=pq(e[n]),s=pq(e[n+1])
|
|
13847
13867
|
return t.subarray(i,s)},aW=({values:t},e)=>((t,e)=>864e5*t[e])(t,e),lW=({values:t},e)=>pq(t[e]),cW=({stride:t,values:e},n)=>e[t*n],dW=({values:t},e)=>t[e],hW=({values:t,valueOffsets:e},n)=>rW(t,e,n),uW=({values:t,valueOffsets:e},n)=>{const i=rW(t,e,n)
|
|
13848
13868
|
return null!==i?PH(i):null},pW=({values:t},e)=>1e3*pq(t[e]),fW=({values:t},e)=>pq(t[e]),mW=({values:t},e)=>fq(t[e],BigInt(1e3)),gW=({values:t},e)=>fq(t[e],BigInt(1e6)),vW=({values:t},e)=>t[e],bW=({values:t},e)=>t[e],yW=({values:t},e)=>t[e],wW=({values:t},e)=>t[e],xW=(t,e)=>{const n=t.type.typeIdToChildIndex[t.typeIds[e]],i=t.children[n]
|
|
13849
|
-
return
|
|
13850
|
-
return
|
|
13869
|
+
return DW.visit(i,t.valueOffsets[e])},CW=(t,e)=>{const n=t.type.typeIdToChildIndex[t.typeIds[e]],i=t.children[n]
|
|
13870
|
+
return DW.visit(i,e)},kW=({values:t},e)=>t.subarray(2*e,2*(e+1)),SW=({values:t},e)=>{const n=t[e],i=new Int32Array(2)
|
|
13851
13871
|
return i[0]=Math.trunc(n/12),i[1]=Math.trunc(n%12),i},_W=({values:t},e)=>t[e],IW=({values:t},e)=>t[e],MW=({values:t},e)=>t[e],$W=({values:t},e)=>t[e]
|
|
13852
13872
|
sW.prototype.visitNull=oW(((t,e)=>null)),sW.prototype.visitBool=oW((({offset:t,values:e},n)=>{const i=t+n
|
|
13853
13873
|
return!!(e[i>>3]&1<<i%8)})),sW.prototype.visitInt=oW((({values:t},e)=>t[e])),sW.prototype.visitInt8=oW(cW),sW.prototype.visitInt16=oW(cW),sW.prototype.visitInt32=oW(cW),sW.prototype.visitInt64=oW(dW),sW.prototype.visitUint8=oW(cW),sW.prototype.visitUint16=oW(cW),sW.prototype.visitUint32=oW(cW),sW.prototype.visitUint64=oW(dW),sW.prototype.visitFloat=oW((({type:t,values:e},n)=>t.precision!==bU.HALF?e[n]:_j(e[n]))),sW.prototype.visitFloat16=oW((({stride:t,values:e},n)=>_j(e[t*n]))),sW.prototype.visitFloat32=oW(cW),sW.prototype.visitFloat64=oW(cW),sW.prototype.visitUtf8=oW(uW),sW.prototype.visitLargeUtf8=oW(uW),sW.prototype.visitBinary=oW(hW),sW.prototype.visitLargeBinary=oW(hW),sW.prototype.visitFixedSizeBinary=oW((({stride:t,values:e},n)=>e.subarray(t*n,t*(n+1)))),sW.prototype.visitDate=oW(((t,e)=>t.type.unit===yU.DAY?aW(t,e):lW(t,e))),sW.prototype.visitDateDay=oW(aW),sW.prototype.visitDateMillisecond=oW(lW),sW.prototype.visitTimestamp=oW(((t,e)=>{switch(t.type.unit){case wU.SECOND:return pW(t,e)
|
|
@@ -13864,18 +13884,18 @@ case wU.MICROSECOND:return MW(t,e)
|
|
|
13864
13884
|
case wU.NANOSECOND:return $W(t,e)}})),sW.prototype.visitDurationSecond=oW(_W),sW.prototype.visitDurationMillisecond=oW(IW),sW.prototype.visitDurationMicrosecond=oW(MW),sW.prototype.visitDurationNanosecond=oW($W),sW.prototype.visitFixedSizeList=oW(((t,e)=>{const{stride:n,children:i}=t,s=i[0].slice(e*n,n)
|
|
13865
13885
|
return new xG([s])})),sW.prototype.visitMap=oW(((t,e)=>{const{valueOffsets:n,children:i}=t,{[e]:s,[e+1]:o}=n,r=i[0]
|
|
13866
13886
|
return new RW(r.slice(s,o-s))}))
|
|
13867
|
-
const
|
|
13868
|
-
class RW{constructor(t){return this[
|
|
13869
|
-
for(let i=-1,s=t.length;++i<s;)n[t.get(i)]=
|
|
13887
|
+
const DW=new sW,EW=Symbol.for("keys"),AW=Symbol.for("vals"),TW=Symbol.for("kKeysAsStrings"),OW=Symbol.for("_kKeysAsStrings")
|
|
13888
|
+
class RW{constructor(t){return this[EW]=new xG([t.children[0]]).memoize(),this[AW]=t.children[1],new Proxy(this,new NW)}get[TW](){return this[OW]||(this[OW]=Array.from(this[EW].toArray(),String))}[Symbol.iterator](){return new FW(this[EW],this[AW])}get size(){return this[EW].length}toArray(){return Object.values(this.toJSON())}toJSON(){const t=this[EW],e=this[AW],n={}
|
|
13889
|
+
for(let i=-1,s=t.length;++i<s;)n[t.get(i)]=DW.visit(e,i)
|
|
13870
13890
|
return n}toString(){return`{${[...this].map((([t,e])=>`${uq(t)}: ${uq(e)}`)).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class FW{constructor(t,e){this.keys=t,this.vals=e,this.keyIndex=0,this.numKeys=t.length}[Symbol.iterator](){return this}next(){const t=this.keyIndex
|
|
13871
|
-
return t===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(t),
|
|
13891
|
+
return t===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(t),DW.visit(this.vals,t)]})}}class NW{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(t){return t[TW]}has(t,e){return t[TW].includes(e)}getOwnPropertyDescriptor(t,e){if(-1!==t[TW].indexOf(e))return{writable:!0,enumerable:!0,configurable:!0}}get(t,e){if(Reflect.has(t,e))return t[e]
|
|
13872
13892
|
const n=t[TW].indexOf(e)
|
|
13873
|
-
if(-1!==n){const i=
|
|
13893
|
+
if(-1!==n){const i=DW.visit(Reflect.get(t,AW),n)
|
|
13874
13894
|
return Reflect.set(t,e,i),i}}set(t,e,n){const i=t[TW].indexOf(e)
|
|
13875
13895
|
return-1!==i?(Jj.visit(Reflect.get(t,AW),i,n),Reflect.set(t,e,n)):!!Reflect.has(t,e)&&Reflect.set(t,e,n)}}let LW
|
|
13876
13896
|
function BW(t,e,n,i){const{length:s=0}=t
|
|
13877
13897
|
let o="number"!=typeof e?0:e,r="number"!=typeof n?s:n
|
|
13878
|
-
return o<0&&(o=(o%s+s)%s),r<0&&(r=(r%s+s)%s),r<o&&(LW=o,o=r,r=LW),r>s&&(r=s),i?i(t,o,r):[o,r]}Object.defineProperties(RW.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[
|
|
13898
|
+
return o<0&&(o=(o%s+s)%s),r<0&&(r=(r%s+s)%s),r<o&&(LW=o,o=r,r=LW),r>s&&(r=s),i?i(t,o,r):[o,r]}Object.defineProperties(RW.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[EW]:{writable:!0,enumerable:!1,configurable:!1,value:null},[AW]:{writable:!0,enumerable:!1,configurable:!1,value:null},[OW]:{writable:!0,enumerable:!1,configurable:!1,value:null}})
|
|
13879
13899
|
const PW=(t,e)=>t<0?e+t:t,zW=t=>t!=t
|
|
13880
13900
|
function VW(t){if("object"!==typeof t||null===t)return zW(t)?zW:e=>e===t
|
|
13881
13901
|
if(t instanceof Date){const e=t.valueOf()
|
|
@@ -13994,9 +14014,9 @@ if(null===e)switch(t.typeId){case dq.Union:case dq.Dictionary:break
|
|
|
13994
14014
|
default:return function(t,e){const{nullBitmap:n}=t
|
|
13995
14015
|
if(!n||t.nullCount<=0)return-1
|
|
13996
14016
|
let i=0
|
|
13997
|
-
for(const s of new ZW(n,t.offset+(e||0),t.length,n,qW)){if(!s)return i;++i}return-1}(t,n)}const i=
|
|
14017
|
+
for(const s of new ZW(n,t.offset+(e||0),t.length,n,qW)){if(!s)return i;++i}return-1}(t,n)}const i=DW.getVisitFn(t),s=VW(e)
|
|
13998
14018
|
for(let e=(n||0)-1,o=t.length;++e<o;)if(s(i(t,e)))return e
|
|
13999
|
-
return-1}function uG(t,e,n){const i=
|
|
14019
|
+
return-1}function uG(t,e,n){const i=DW.getVisitFn(t),s=VW(e)
|
|
14000
14020
|
for(let e=(n||0)-1,o=t.length;++e<o;)if(s(i(t,e)))return e
|
|
14001
14021
|
return-1}dG.prototype.visitNull=function(t,e){return null===e&&t.length>0?0:-1},dG.prototype.visitBool=hG,dG.prototype.visitInt=hG,dG.prototype.visitInt8=hG,dG.prototype.visitInt16=hG,dG.prototype.visitInt32=hG,dG.prototype.visitInt64=hG,dG.prototype.visitUint8=hG,dG.prototype.visitUint16=hG,dG.prototype.visitUint32=hG,dG.prototype.visitUint64=hG,dG.prototype.visitFloat=hG,dG.prototype.visitFloat16=hG,dG.prototype.visitFloat32=hG,dG.prototype.visitFloat64=hG,dG.prototype.visitUtf8=hG,dG.prototype.visitLargeUtf8=hG,dG.prototype.visitBinary=hG,dG.prototype.visitLargeBinary=hG,dG.prototype.visitFixedSizeBinary=hG,dG.prototype.visitDate=hG,dG.prototype.visitDateDay=hG,dG.prototype.visitDateMillisecond=hG,dG.prototype.visitTimestamp=hG,dG.prototype.visitTimestampSecond=hG,dG.prototype.visitTimestampMillisecond=hG,dG.prototype.visitTimestampMicrosecond=hG,dG.prototype.visitTimestampNanosecond=hG,dG.prototype.visitTime=hG,dG.prototype.visitTimeSecond=hG,dG.prototype.visitTimeMillisecond=hG,dG.prototype.visitTimeMicrosecond=hG,dG.prototype.visitTimeNanosecond=hG,dG.prototype.visitDecimal=hG,dG.prototype.visitList=hG,dG.prototype.visitStruct=hG,dG.prototype.visitUnion=hG,dG.prototype.visitDenseUnion=uG,dG.prototype.visitSparseUnion=uG,dG.prototype.visitDictionary=hG,dG.prototype.visitInterval=hG,dG.prototype.visitIntervalDayTime=hG,dG.prototype.visitIntervalYearMonth=hG,dG.prototype.visitDuration=hG,dG.prototype.visitDurationSecond=hG,dG.prototype.visitDurationMillisecond=hG,dG.prototype.visitDurationMicrosecond=hG,dG.prototype.visitDurationNanosecond=hG,dG.prototype.visitFixedSizeList=hG,dG.prototype.visitMap=hG
|
|
14002
14022
|
const pG=new dG
|
|
@@ -14027,8 +14047,8 @@ return new xG(e)}return new CG(this)}unmemoize(){if(Zq.isDictionary(this.type)&&
|
|
|
14027
14047
|
return n.dictionary=t,n}))
|
|
14028
14048
|
return new xG(e)}return this}}bG=Symbol.toStringTag,xG[bG]=(t=>{t.type=Zq.prototype,t.data=[],t.length=0,t.stride=1,t.numChildren=0,t._offsets=new Uint32Array([0]),t[Symbol.isConcatSpreadable]=!0
|
|
14029
14049
|
const e=Object.keys(dq).map((t=>dq[t])).filter((t=>"number"==typeof t&&t!==dq.NONE))
|
|
14030
|
-
for(const n of e){const e=
|
|
14031
|
-
yG[n]={get:e,set:i,indexOf:s},wG[n]=Object.create(t,{isValid:{value:aG(rG)},get:{value:aG(
|
|
14050
|
+
for(const n of e){const e=DW.getVisitFnByTypeId(n),i=Jj.getVisitFnByTypeId(n),s=pG.getVisitFnByTypeId(n)
|
|
14051
|
+
yG[n]={get:e,set:i,indexOf:s},wG[n]=Object.create(t,{isValid:{value:aG(rG)},get:{value:aG(DW.getVisitFnByTypeId(n))},set:{value:lG(Jj.getVisitFnByTypeId(n))},indexOf:{value:cG(pG.getVisitFnByTypeId(n))}})}return"Vector"})(xG.prototype)
|
|
14032
14052
|
class CG extends xG{constructor(t){super(t.data)
|
|
14033
14053
|
const e=this.get,n=this.set,i=this.slice,s=new Array(this.length)
|
|
14034
14054
|
Object.defineProperty(this,"get",{value(t){const n=s[t]
|
|
@@ -14054,10 +14074,10 @@ return t[0]&&"object"==typeof t[0]&&(({name:e}=t[0]),void 0===n&&(n=t[0].type),v
|
|
|
14054
14074
|
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,IG.new(e,n,i,s)}}function MG(t,e){return new Map([...t||new Map,...e||new Map])}function $G(t,e=new Map){for(let n=-1,i=t.length;++n<i;){const i=t[n].type
|
|
14055
14075
|
if(Zq.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)
|
|
14056
14076
|
i.children&&i.children.length>0&&$G(i.children,e)}return e}IG.prototype.type=null,IG.prototype.name=null,IG.prototype.nullable=null,IG.prototype.metadata=null
|
|
14057
|
-
var
|
|
14058
|
-
class AG{static decode(t){t=new
|
|
14077
|
+
var DG=$U,EG=MU
|
|
14078
|
+
class AG{static decode(t){t=new EG(aU(t))
|
|
14059
14079
|
const e=SG.getRootAsFooter(t),n=_G.decode(e.schema(),new Map,e.version())
|
|
14060
|
-
return new TG(n,e)}static encode(t){const e=new
|
|
14080
|
+
return new TG(n,e)}static encode(t){const e=new DG,n=_G.encode(e,t.schema)
|
|
14061
14081
|
SG.startRecordBatchesVector(e,t.numRecordBatches)
|
|
14062
14082
|
for(const n of[...t.recordBatches()].slice().reverse())OG.encode(e,n)
|
|
14063
14083
|
const i=e.endVector()
|
|
@@ -14157,12 +14177,12 @@ const s=n.fields.slice(),o=s[t].clone({type:e.type}),r=this.schema.fields.map(((
|
|
|
14157
14177
|
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)))
|
|
14158
14178
|
return new gZ(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))
|
|
14159
14179
|
return~r?o[r]=i:s.push(i),t}),[[],[]]),s=this.schema.assign(t.schema),o=[...e.map(((t,e)=>[e,i[e]])).map((([e,n])=>void 0===n?this.getChildAt(e):t.getChildAt(n))),...n.map((e=>t.getChildAt(e)))].filter(Boolean)
|
|
14160
|
-
return new gZ(...uZ(s,o))}}fZ=Symbol.toStringTag,gZ[fZ]=(t=>(t.schema=null,t.batches=[],t._offsets=new Uint32Array([0]),t._nullCount=-1,t[Symbol.isConcatSpreadable]=!0,t.isValid=aG(rG),t.get=aG(
|
|
14180
|
+
return new gZ(...uZ(s,o))}}fZ=Symbol.toStringTag,gZ[fZ]=(t=>(t.schema=null,t.batches=[],t._offsets=new Uint32Array([0]),t._nullCount=-1,t[Symbol.isConcatSpreadable]=!0,t.isValid=aG(rG),t.get=aG(DW.getVisitFn(dq.Struct)),t.set=lG(Jj.getVisitFn(dq.Struct)),t.indexOf=cG(pG.getVisitFn(dq.Struct)),"Table"))(gZ.prototype)
|
|
14161
14181
|
let vZ=class t{constructor(...t){switch(t.length){case 2:if([this.schema]=t,!(this.schema instanceof _G))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.")
|
|
14162
14182
|
if([,this.data=tG({nullCount:0,type:new hj(this.schema.fields),children:this.schema.fields.map((t=>tG({type:t.type,nullCount:0})))})]=t,!(this.data instanceof XW))throw new TypeError("RecordBatch constructor expects a [Schema, Data] pair.");[this.schema,this.data]=bZ(this.schema,this.data.children)
|
|
14163
14183
|
break
|
|
14164
14184
|
case 1:{const[e]=t,{fields:n,children:i,length:s}=Object.keys(e).reduce(((t,n,i)=>(t.children[i]=e[n],t.length=Math.max(t.length,e[n].length),t.fields[i]=IG.new({name:n,type:e[n].type,nullable:!0}),t)),{length:0,fields:new Array,children:new Array}),o=new _G(n),r=tG({type:new hj(n),length:s,children:i,nullCount:0});[this.schema,this.data]=bZ(o,r.children,s)
|
|
14165
|
-
break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=yZ(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(t){return this.data.getValid(t)}get(t){return
|
|
14185
|
+
break}default:throw new TypeError("RecordBatch constructor expects an Object mapping names to child Data, or a [Schema, Data] pair.")}}get dictionaries(){return this._dictionaries||(this._dictionaries=yZ(this.schema.fields,this.data.children))}get numCols(){return this.schema.fields.length}get numRows(){return this.data.length}get nullCount(){return this.data.nullCount}isValid(t){return this.data.getValid(t)}get(t){return DW.visit(this.data,t)}at(t){return this.get(PW(t,this.numRows))}set(t,e){return Jj.visit(this.data,t,e)}indexOf(t,e){return pG.visit(this.data,t,e)}[Symbol.iterator](){return vG.visit(new xG([this.data]))}toArray(){return[...this]}concat(...t){return new gZ(this.schema,[this,...t])}slice(e,n){const[i]=new xG([this.data]).slice(e,n).data
|
|
14166
14186
|
return new t(this.schema,i)}getChild(t){var e
|
|
14167
14187
|
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 xG([this.data.children[t]]):null}setChild(t,e){var n
|
|
14168
14188
|
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
|
|
@@ -14196,7 +14216,7 @@ return sq.startUnion(e),sq.addMode(e,t.mode),sq.addTypeIds(e,n),sq.endUnion(e)}v
|
|
|
14196
14216
|
return PU.startDictionaryEncoding(e),PU.addId(e,BigInt(t.id)),PU.addIsOrdered(e,t.isOrdered),void 0!==n&&PU.addIndexType(e,n),PU.endDictionaryEncoding(e)}visitFixedSizeBinary(t,e){return WU.startFixedSizeBinary(e),WU.addByteWidth(e,t.byteWidth),WU.endFixedSizeBinary(e)}visitFixedSizeList(t,e){return GU.startFixedSizeList(e),GU.addListSize(e,t.listSize),GU.endFixedSizeList(e)}visitMap(t,e){return QU.startMap(e),QU.addKeysSorted(e,t.keysSorted),QU.endMap(e)}}
|
|
14197
14217
|
function kZ(t){return new OZ(t.count,_Z(t.columns),IZ(t.columns))}function SZ(t,e){return(t.children||[]).filter(Boolean).map((t=>IG.fromJSON(t,e)))}function _Z(t){return(t||[]).reduce(((t,e)=>{return[...t,new NZ(e.count,(n=e.VALIDITY,(n||[]).reduce(((t,e)=>t+ +(0===e)),0))),..._Z(e.children)]
|
|
14198
14218
|
var n}),[])}function IZ(t,e=[]){for(let n=-1,i=(t||[]).length;++n<i;){const i=t[n]
|
|
14199
|
-
i.VALIDITY&&e.push(new FZ(e.length,i.VALIDITY.length)),i.TYPE_ID&&e.push(new FZ(e.length,i.TYPE_ID.length)),i.OFFSET&&e.push(new FZ(e.length,i.OFFSET.length)),i.DATA&&e.push(new FZ(e.length,i.DATA.length)),e=IZ(i.children,e)}return e}function MZ(t=[]){return new Map(t.map((({key:t,value:e})=>[t,e])))}function $Z(t){return new Yq(t.isSigned,t.bitWidth)}function
|
|
14219
|
+
i.VALIDITY&&e.push(new FZ(e.length,i.VALIDITY.length)),i.TYPE_ID&&e.push(new FZ(e.length,i.TYPE_ID.length)),i.OFFSET&&e.push(new FZ(e.length,i.OFFSET.length)),i.DATA&&e.push(new FZ(e.length,i.DATA.length)),e=IZ(i.children,e)}return e}function MZ(t=[]){return new Map(t.map((({key:t,value:e})=>[t,e])))}function $Z(t){return new Yq(t.isSigned,t.bitWidth)}function DZ(t,e){const n=t.type.name
|
|
14200
14220
|
switch(n){case"NONE":case"null":return new Kq
|
|
14201
14221
|
case"binary":return new Qq
|
|
14202
14222
|
case"largebinary":return new tj
|
|
@@ -14216,7 +14236,7 @@ return new cj(wU[e.unit])}case"union":{const n=t.type,[i,...s]=(n.mode+"").toLow
|
|
|
14216
14236
|
return new uj(vU[o],n.typeIds||[],e||[])}case"fixedsizebinary":{const e=t.type
|
|
14217
14237
|
return new pj(e.byteWidth)}case"fixedsizelist":{const n=t.type
|
|
14218
14238
|
return new fj(n.listSize,(e||[])[0])}case"map":{const n=t.type
|
|
14219
|
-
return new mj((e||[])[0],n.keysSorted)}}throw new Error(`Unrecognized type: "${n}"`)}var
|
|
14239
|
+
return new mj((e||[])[0],n.keysSorted)}}throw new Error(`Unrecognized type: "${n}"`)}var EZ=$U,AZ=MU
|
|
14220
14240
|
class TZ{static fromJSON(t,e){const n=new TZ(0,gU.V5,e)
|
|
14221
14241
|
return n._createHeader=function(t,e){return()=>{switch(e){case cq.Schema:return _G.fromJSON(t)
|
|
14222
14242
|
case cq.RecordBatch:return OZ.fromJSON(t)
|
|
@@ -14224,7 +14244,7 @@ case cq.DictionaryBatch:return RZ.fromJSON(t)}throw new Error(`Unrecognized Mess
|
|
|
14224
14244
|
const e=xZ.getRootAsMessage(t),n=e.bodyLength(),i=e.version(),s=e.headerType(),o=new TZ(n,i,s)
|
|
14225
14245
|
return o._createHeader=function(t,e){return()=>{switch(e){case cq.Schema:return _G.decode(t.header(new lq),new Map,t.version())
|
|
14226
14246
|
case cq.RecordBatch:return OZ.decode(t.header(new RU),t.version())
|
|
14227
|
-
case cq.DictionaryBatch:return RZ.decode(t.header(new FU),t.version())}throw new Error(`Unrecognized Message type: { name: ${cq[e]}, type: ${e} }`)}}(e,s),o}static encode(t){const e=new
|
|
14247
|
+
case cq.DictionaryBatch:return RZ.decode(t.header(new FU),t.version())}throw new Error(`Unrecognized Message type: { name: ${cq[e]}, type: ${e} }`)}}(e,s),o}static encode(t){const e=new EZ
|
|
14228
14248
|
let n=-1
|
|
14229
14249
|
return t.isSchema()?n=_G.encode(e,t.header()):t.isRecordBatch()?n=OZ.encode(e,t.header()):t.isDictionaryBatch()&&(n=RZ.encode(e,t.header())),xZ.startMessage(e),xZ.addVersion(e,gU.V5),xZ.addHeader(e,n),xZ.addHeaderType(e,t.headerType),xZ.addBodyLength(e,BigInt(t.bodyLength)),xZ.finishMessageBuffer(e,xZ.endMessage(e)),e.asUint8Array()}static from(t,e=0){if(t instanceof _G)return new TZ(0,gU.V5,cq.Schema,t)
|
|
14230
14250
|
if(t instanceof OZ)return new TZ(e,gU.V5,cq.RecordBatch,t)
|
|
@@ -14264,7 +14284,7 @@ aq.startField(t),aq.addType(t,i),aq.addTypeType(t,r),aq.addChildren(t,l),aq.addN
|
|
|
14264
14284
|
return aq.endField(t)},IG.decode=function(t,e){let n,i,s,o,r,a
|
|
14265
14285
|
e&&(a=t.dictionary())?e.has(n=pq(a.id()))?(o=(o=a.indexType())?PZ(o):new Xq,r=new bj(e.get(n),o,n,a.isOrdered()),i=new IG(t.name(),r,t.nullable(),BZ(t))):(o=(o=a.indexType())?PZ(o):new Xq,e.set(n,s=zZ(t,LZ(t,e))),r=new bj(s,o,n,a.isOrdered()),i=new IG(t.name(),r,t.nullable(),BZ(t))):(s=zZ(t,LZ(t,e)),i=new IG(t.name(),s,t.nullable(),BZ(t)))
|
|
14266
14286
|
return i||null},IG.fromJSON=function(t,e){let n,i,s,o,r,a
|
|
14267
|
-
return e&&(o=t.dictionary)?e.has(n=o.id)?(i=(i=o.indexType)?$Z(i):new Xq,a=new bj(e.get(n),i,n,o.isOrdered),s=new IG(t.name,a,t.nullable,MZ(t.metadata))):(i=(i=o.indexType)?$Z(i):new Xq,e.set(n,r=
|
|
14287
|
+
return e&&(o=t.dictionary)?e.has(n=o.id)?(i=(i=o.indexType)?$Z(i):new Xq,a=new bj(e.get(n),i,n,o.isOrdered),s=new IG(t.name,a,t.nullable,MZ(t.metadata))):(i=(i=o.indexType)?$Z(i):new Xq,e.set(n,r=DZ(t,SZ(t,e))),a=new bj(r,i,n,o.isOrdered),s=new IG(t.name,a,t.nullable,MZ(t.metadata))):(r=DZ(t,SZ(t,e)),s=new IG(t.name,r,t.nullable,MZ(t.metadata))),s||null},_G.encode=function(t,e){const n=e.fields.map((e=>IG.encode(t,e)))
|
|
14268
14288
|
lq.startFieldsVector(t,n.length)
|
|
14269
14289
|
const i=lq.createFieldsVector(t,n),s=e.metadata&&e.metadata.size>0?lq.createCustomMetadataVector(t,[...e.metadata].map((([e,n])=>{const i=t.createString(`${e}`),s=t.createString(`${n}`)
|
|
14270
14290
|
return zU.startKeyValue(t),zU.addKey(t,i),zU.addValue(t,s),zU.endKeyValue(t)}))):-1
|
|
@@ -14522,10 +14542,10 @@ class SK extends Map{constructor(t,e=IK){if(super(),Object.defineProperties(this
|
|
|
14522
14542
|
return t.has(i)?t.get(i):(t.set(i,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){const i=e(n)
|
|
14523
14543
|
t.has(i)&&(n=t.get(i),t.delete(i))
|
|
14524
14544
|
return n}(this,t))}}function _K({_intern:t,_key:e},n){const i=e(n)
|
|
14525
|
-
return t.has(i)?t.get(i):n}function IK(t){return null!==t&&"object"==typeof t?t.valueOf():t}const MK=Math.sqrt(50),$K=Math.sqrt(10),
|
|
14526
|
-
function
|
|
14545
|
+
return t.has(i)?t.get(i):n}function IK(t){return null!==t&&"object"==typeof t?t.valueOf():t}const MK=Math.sqrt(50),$K=Math.sqrt(10),DK=Math.sqrt(2)
|
|
14546
|
+
function EK(t,e,n){const i=(e-t)/Math.max(0,n),s=Math.floor(Math.log10(i)),o=i/Math.pow(10,s),r=o>=MK?10:o>=$K?5:o>=DK?2:1
|
|
14527
14547
|
let a,l,c
|
|
14528
|
-
return s<0?(c=Math.pow(10,-s)/r,a=Math.round(t*c),l=Math.round(e*c),a/c<t&&++a,l/c>e&&--l,c=-c):(c=Math.pow(10,s)*r,a=Math.round(t/c),l=Math.round(e/c),a*c<t&&++a,l*c>e&&--l),l<a&&.5<=n&&n<2?
|
|
14548
|
+
return s<0?(c=Math.pow(10,-s)/r,a=Math.round(t*c),l=Math.round(e*c),a/c<t&&++a,l/c>e&&--l,c=-c):(c=Math.pow(10,s)*r,a=Math.round(t/c),l=Math.round(e/c),a*c<t&&++a,l*c>e&&--l),l<a&&.5<=n&&n<2?EK(t,e,2*n):[a,l,c]}function AK(t,e,n){return EK(t=+t,e=+e,n=+n)[2]}function TK(t,e,n=CK){if((i=t.length)&&!isNaN(e=+e)){if(e<=0||i<2)return+n(t[0],0,t)
|
|
14529
14549
|
if(e>=1)return+n(t[i-1],i-1,t)
|
|
14530
14550
|
var i,s=(i-1)*e,o=Math.floor(s),r=+n(t[o],o,t)
|
|
14531
14551
|
return r+(+n(t[o+1],o+1,t)-r)*(s-o)}}function OK(t,e,n){t=+t,e=+e,n=(s=arguments.length)<2?(e=t,t=0,1):s<3?1:+n
|
|
@@ -14600,7 +14620,7 @@ case"f":case"%":null!=i.precision||isNaN(s=function(t){return Math.max(0,-WK(Mat
|
|
|
14600
14620
|
return t.ticks=function(t){var n=e()
|
|
14601
14621
|
return function(t,e,n){if(!((n=+n)>0))return[]
|
|
14602
14622
|
if((t=+t)==(e=+e))return[t]
|
|
14603
|
-
const i=e<t,[s,o,r]=i?
|
|
14623
|
+
const i=e<t,[s,o,r]=i?EK(e,t,n):EK(t,e,n)
|
|
14604
14624
|
if(!(o>=s))return[]
|
|
14605
14625
|
const a=o-s+1,l=new Array(a)
|
|
14606
14626
|
if(i)if(r<0)for(let t=0;t<a;++t)l[t]=(o-t)/-r
|
|
@@ -14663,15 +14683,15 @@ i.font=`${n.toString()}px sans-serif`,i.fillStyle="#ffffff",i.textAlign="center"
|
|
|
14663
14683
|
const s=i.measureText("M"),o=this.wafermap.transform.invert([0,0]),r=this.wafermap.transform.invert([this.wafermap.canvas.width,this.wafermap.canvas.height])
|
|
14664
14684
|
o[0]-=t,o[1]-=e
|
|
14665
14685
|
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 CY=["highlightedTags","canvasWidth","canvasHeight","originLocation","gridMinX","gridMaxX","gridMinY","gridMaxY","dies","maxCharacters","colorScale","colorScaleMode","dieLabelsHidden","dieLabelsSuffix","transform","hoverDie"]
|
|
14666
|
-
class kY extends
|
|
14686
|
+
class kY extends eE{constructor(t){super(CY),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 SY{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
|
|
14667
14687
|
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))
|
|
14668
14688
|
e&&n&&i&&Zq.isInt(e.type)&&32===e.type.bitWidth&&Zq.isInt(n.type)&&32===n.type.bitWidth&&Zq.isFloat(i.type)&&i.type.precision===bU.DOUBLE||(this.invalidDiesTableSchema=!0)}return!this.invalidDiesTableSchema}}
|
|
14669
14689
|
/**
|
|
14670
14690
|
* @license
|
|
14671
14691
|
* Copyright 2019 Google LLC
|
|
14672
14692
|
* SPDX-License-Identifier: Apache-2.0
|
|
14673
|
-
*/const _Y=Symbol("Comlink.proxy"),IY=Symbol("Comlink.endpoint"),MY=Symbol("Comlink.releaseProxy"),$Y=Symbol("Comlink.finalizer"),
|
|
14674
|
-
return TY(t,e),[n,[n]]},deserialize:t=>(t.start(),RY(t))}],["throw",{canHandle:t=>
|
|
14693
|
+
*/const _Y=Symbol("Comlink.proxy"),IY=Symbol("Comlink.endpoint"),MY=Symbol("Comlink.releaseProxy"),$Y=Symbol("Comlink.finalizer"),DY=Symbol("Comlink.thrown"),EY=t=>"object"==typeof t&&null!==t||"function"==typeof t,AY=new Map([["proxy",{canHandle:t=>EY(t)&&t[_Y],serialize(t){const{port1:e,port2:n}=new MessageChannel
|
|
14694
|
+
return TY(t,e),[n,[n]]},deserialize:t=>(t.start(),RY(t))}],["throw",{canHandle:t=>EY(t)&&DY in t,serialize({value:t}){let e
|
|
14675
14695
|
return e=t instanceof Error?{isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:{isError:!1,value:t},[e,[]]},deserialize(t){if(t.isError)throw Object.assign(new Error(t.value.message),t.value)
|
|
14676
14696
|
throw t.value}}]])
|
|
14677
14697
|
function TY(t,e=globalThis,n=["*"]){e.addEventListener("message",(function i(s){if(!s||!s.data)return
|
|
@@ -14692,8 +14712,8 @@ case"ENDPOINT":{const{port1:e,port2:n}=new MessageChannel
|
|
|
14692
14712
|
TY(t,n),c=HY(e,[e])}break
|
|
14693
14713
|
case"RELEASE":c=void 0
|
|
14694
14714
|
break
|
|
14695
|
-
default:return}}catch(t){c={value:t,[
|
|
14696
|
-
e.postMessage(Object.assign(Object.assign({},s),{id:o}),a),"RELEASE"===r&&(e.removeEventListener("message",i),OY(e),$Y in t&&"function"==typeof t[$Y]&&t[$Y]())})).catch((t=>{const[n,i]=UY({value:new TypeError("Unserializable return value"),[
|
|
14715
|
+
default:return}}catch(t){c={value:t,[DY]:0}}Promise.resolve(c).catch((t=>({value:t,[DY]:0}))).then((n=>{const[s,a]=UY(n)
|
|
14716
|
+
e.postMessage(Object.assign(Object.assign({},s),{id:o}),a),"RELEASE"===r&&(e.removeEventListener("message",i),OY(e),$Y in t&&"function"==typeof t[$Y]&&t[$Y]())})).catch((t=>{const[n,i]=UY({value:new TypeError("Unserializable return value"),[DY]:0})
|
|
14697
14717
|
e.postMessage(Object.assign(Object.assign({},n),{id:o}),i)}))})),e.start&&e.start()}function OY(t){(function(t){return"MessagePort"===t.constructor.name})(t)&&t.close()}function RY(t,e){return PY(t,[],e)}function FY(t){if(t)throw new Error("Proxy has been released and is not useable")}function NY(t){return jY(t,{type:"RELEASE"}).then((()=>{OY(t)}))}const LY=new WeakMap,BY="FinalizationRegistry"in globalThis&&new FinalizationRegistry((t=>{const e=(LY.get(t)||0)-1
|
|
14698
14718
|
LY.set(t,e),0===e&&NY(t)}))
|
|
14699
14719
|
function PY(t,e=[],n=function(){}){let i=!1
|