@seeqdev/qomponents 0.0.244-beta.63db8d8540.20260821 → 0.0.244-beta.711191a999.20260824
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/Accordion/Accordion.d.ts +2 -2
- package/dist/src/Alert/Alert.d.ts +2 -2
- package/dist/src/Badge/Badge.d.ts +2 -2
- package/dist/src/Button/Button.d.ts +2 -2
- package/dist/src/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/dist/src/ButtonWithDropdown/ButtonWithDropdown.d.ts +3 -3
- package/dist/src/ButtonWithPopover/ButtonWithPopover.d.ts +2 -2
- package/dist/src/Carousel/Carousel.d.ts +2 -2
- package/dist/src/Checkbox/Checkbox.d.ts +2 -2
- package/dist/src/Collapse/Collapse.d.ts +2 -2
- package/dist/src/ColorPickerControl/ColorPickerControl.d.ts +2 -2
- package/dist/src/EditorPanel/EditorPanel.d.ts +2 -2
- package/dist/src/ExternalLink/ExternalLink.d.ts +2 -2
- package/dist/src/Icon/Icon.d.ts +2 -2
- package/dist/src/InputGroup/InputGroup.d.ts +2 -2
- package/dist/src/LoadingIndicator/LoadingIndicator.d.ts +2 -2
- package/dist/src/Modal/Modal.d.ts +2 -2
- package/dist/src/Paginator/Paginator.d.ts +2 -2
- package/dist/src/Pill/Pill.d.ts +2 -2
- package/dist/src/ProgressBar/ProgressBar.d.ts +2 -2
- package/dist/src/SeeqActionDropdown/SeeqActionDropdown.d.ts +2 -2
- package/dist/src/SeeqActionDropdown/variants.d.ts +4 -4
- package/dist/src/Select/Select.d.ts +2 -2
- package/dist/src/Slider/Slider.d.ts +2 -2
- package/dist/src/SvgIcon/SvgIcon.d.ts +2 -2
- package/dist/src/Tabs/Tabs.d.ts +2 -2
- package/dist/src/TextArea/TextArea.d.ts +2 -2
- package/dist/src/TextField/TextField.d.ts +3 -3
- package/dist/src/Tooltip/Qtip.d.ts +2 -2
- package/dist/src/Tooltip/Tooltip.d.ts +2 -2
- package/dist/src/TriggerWithDropdown/TriggerWithDropdown.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -322,7 +322,7 @@ Defaulting to \`null\`.`}var Yk=zk,Xk=Vk,Zk=M(((exports,t)=>{(function(e){var n=
|
|
|
322
322
|
/*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE */
|
|
323
323
|
function Aj(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function jj(e){if(Array.isArray(e))return e}function Mj(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function Nj(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
324
324
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pj(e,t){return jj(e)||Mj(e,t)||Fj(e,t)||Nj()}function Fj(e,t){if(e){if(typeof e==`string`)return Aj(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Aj(e,t):void 0}}const Ij=Object.entries,Lj=Object.setPrototypeOf,Rj=Object.isFrozen,zj=Object.getPrototypeOf,Bj=Object.getOwnPropertyDescriptor;let Vj=Object.freeze,Hj=Object.seal,Uj=Object.create,Wj=typeof Reflect<`u`&&Reflect,Gj=Wj.apply,Kj=Wj.construct;Vj||=function(e){return e},Hj||=function(e){return e},Gj||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},Kj||=function(e){var t=[...arguments].slice(1);return new e(...t)};const qj=pM(Array.prototype.forEach),Jj=pM(Array.prototype.lastIndexOf),Yj=pM(Array.prototype.pop),Xj=pM(Array.prototype.push),Zj=pM(Array.prototype.splice),Qj=Array.isArray,$j=pM(String.prototype.toLowerCase),eM=pM(String.prototype.toString),tM=pM(String.prototype.match),nM=pM(String.prototype.replace),rM=pM(String.prototype.indexOf),iM=pM(String.prototype.trim),aM=pM(Number.prototype.toString),oM=pM(Boolean.prototype.toString),sM=typeof BigInt>`u`?null:pM(BigInt.prototype.toString),cM=typeof Symbol>`u`?null:pM(Symbol.prototype.toString),lM=pM(Object.prototype.hasOwnProperty),uM=pM(Object.prototype.toString),dM=pM(RegExp.prototype.test),fM=mM(TypeError);function pM(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return Gj(e,t,n)}}function mM(e){return function(){var t=[...arguments];return Kj(e,t)}}function $(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$j;if(Lj&&Lj(e,null),!Qj(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Rj(t)||(t[r]=e),i=e)}e[i]=!0}return e}function hM(e){for(let t=0;t<e.length;t++){let n=lM(e,t);n||(e[t]=null)}return e}function gM(e){let t=Uj(null);for(let r of Ij(e)){var n=Pj(r,2);let i=n[0],a=n[1],o=lM(e,i);o&&(Qj(a)?t[i]=hM(a):a&&typeof a==`object`&&a.constructor===Object?t[i]=gM(a):t[i]=a)}return t}function _M(e){switch(typeof e){case`string`:return e;case`number`:return aM(e);case`boolean`:return oM(e);case`bigint`:return sM?sM(e):`0`;case`symbol`:return cM?cM(e):`Symbol()`;case`undefined`:return uM(e);case`function`:case`object`:{if(e===null)return uM(e);let t=e,n=vM(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:uM(e)}return uM(e)}default:return uM(e)}}function vM(e,t){for(;e!==null;){let n=Bj(e,t);if(n){if(n.get)return pM(n.get);if(typeof n.value==`function`)return pM(n.value)}e=zj(e)}function n(){return null}return n}function yM(e){try{return dM(e,``),!0}catch{return!1}}const bM=Vj(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),xM=Vj(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),SM=Vj([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),CM=Vj([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),wM=Vj(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),TM=Vj([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),EM=Vj([`#text`]),DM=Vj(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),OM=Vj(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),kM=Vj(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),AM=Vj([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),jM=Hj(/{{[\w\W]*|^[\w\W]*}}/g),MM=Hj(/<%[\w\W]*|^[\w\W]*%>/g),NM=Hj(/\${[\w\W]*/g),PM=Hj(/^data-[\-\w.\u00B7-\uFFFF]+$/),FM=Hj(/^aria-[\-\w]+$/),IM=Hj(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),LM=Hj(/^(?:\w+script|data):/i),RM=Hj(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),zM=Hj(/^html$/i),BM=Hj(/^[a-z][.\w]*(-[.\w]+)+$/i),VM=Hj(/<[/\w!]/g),HM=Hj(/<[/\w]/g),UM=Hj(/<\/no(script|embed|frames)/i),WM=Hj(/\/>/i),GM={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},KM=function(){return typeof window>`u`?null:window},qM=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},JM=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},YM=function(e,t,n,r){return lM(e,t)&&Qj(e[t])?$(r.base?gM(r.base):{},e[t],r.transform):n};function XM(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:KM(),t=e=>XM(e);if(t.version=`3.4.12`,t.removed=[],!e||!e.document||e.document.nodeType!==GM.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter,l=e.NamedNodeMap;l===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let u=e.DOMParser,d=e.trustedTypes,f=s.prototype,p=vM(f,`cloneNode`),m=vM(f,`remove`),h=vM(f,`nextSibling`),g=vM(f,`childNodes`),_=vM(f,`parentNode`),v=vM(f,`shadowRoot`),y=vM(f,`attributes`),b=o&&o.prototype?vM(o.prototype,`nodeType`):null,x=o&&o.prototype?vM(o.prototype,`nodeName`):null;if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let S,C=``,w,T=0,E=function(){if(T>0)throw fM(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},D=function(e){E(),T++;try{return S.createHTML(e)}finally{T--}},O=function(e){E(),T++;try{return S.createScriptURL(e)}finally{T--}},k=function(){return w=qM(d,i),w},A=n,j=A.implementation,M=A.createNodeIterator,N=A.createDocumentFragment,P=A.getElementsByTagName,ee=r.importNode,F=JM();t.isSupported=typeof Ij==`function`&&typeof _==`function`&&j&&j.createHTMLDocument!==void 0;let te=jM,I=MM,ne=NM,re=PM,ie=FM,L=LM,R=RM,ae=BM,oe=IM,z=null,se=$({},[...bM,...xM,...SM,...wM,...EM]),B=null,ce=$({},[...DM,...OM,...kM,...AM]),V=Object.seal(Uj(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),le=null,ue=null,de=Object.seal(Uj(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),fe=!0,pe=!0,me=!1,H=!0,he=!1,ge=!0,_e=!1,ve=!1,ye=null,be=null,xe=!1,Se=!1,Ce=!1,we=!1,Te=!0,Ee=!1,De=`user-content-`,Oe=!0,ke=!1,Ae={},je=null,Me=$({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),Ne=null,Pe=$({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Fe=null,Ie=$({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Le=`http://www.w3.org/1998/Math/MathML`,Re=`http://www.w3.org/2000/svg`,ze=`http://www.w3.org/1999/xhtml`,Be=ze,Ve=!1,He=null,Ue=$({},[Le,Re,ze],eM),We=Vj([`mi`,`mo`,`mn`,`ms`,`mtext`]),Ge=$({},We),Ke=Vj([`annotation-xml`]),qe=$({},Ke),Je=$({},[`title`,`style`,`font`,`a`,`script`]),Ye=null,Xe=[`application/xhtml+xml`,`text/html`],U=null,Ze=null,Qe=n.createElement(`form`),$e=function(e){return e instanceof RegExp||e instanceof Function},et=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ze&&Ze===e)return;(!e||typeof e!=`object`)&&(e={}),e=gM(e),Ye=Xe.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,U=Ye===`application/xhtml+xml`?eM:$j,z=YM(e,`ALLOWED_TAGS`,se,{transform:U}),B=YM(e,`ALLOWED_ATTR`,ce,{transform:U}),He=YM(e,`ALLOWED_NAMESPACES`,Ue,{transform:eM}),Fe=YM(e,`ADD_URI_SAFE_ATTR`,Ie,{transform:U,base:Ie}),Ne=YM(e,`ADD_DATA_URI_TAGS`,Pe,{transform:U,base:Pe}),je=YM(e,`FORBID_CONTENTS`,Me,{transform:U}),le=YM(e,`FORBID_TAGS`,gM({}),{transform:U}),ue=YM(e,`FORBID_ATTR`,gM({}),{transform:U}),Ae=lM(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?gM(e.USE_PROFILES):e.USE_PROFILES:!1,fe=e.ALLOW_ARIA_ATTR!==!1,pe=e.ALLOW_DATA_ATTR!==!1,me=e.ALLOW_UNKNOWN_PROTOCOLS||!1,H=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,he=e.SAFE_FOR_TEMPLATES||!1,ge=e.SAFE_FOR_XML!==!1,_e=e.WHOLE_DOCUMENT||!1,Se=e.RETURN_DOM||!1,Ce=e.RETURN_DOM_FRAGMENT||!1,we=e.RETURN_TRUSTED_TYPE||!1,xe=e.FORCE_BODY||!1,Te=e.SANITIZE_DOM!==!1,Ee=e.SANITIZE_NAMED_PROPS||!1,Oe=e.KEEP_CONTENT!==!1,ke=e.IN_PLACE||!1,oe=yM(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:IM,Be=typeof e.NAMESPACE==`string`?e.NAMESPACE:ze,Ge=lM(e,`MATHML_TEXT_INTEGRATION_POINTS`)&&e.MATHML_TEXT_INTEGRATION_POINTS&&typeof e.MATHML_TEXT_INTEGRATION_POINTS==`object`?gM(e.MATHML_TEXT_INTEGRATION_POINTS):$({},We),qe=lM(e,`HTML_INTEGRATION_POINTS`)&&e.HTML_INTEGRATION_POINTS&&typeof e.HTML_INTEGRATION_POINTS==`object`?gM(e.HTML_INTEGRATION_POINTS):$({},Ke);let t=lM(e,`CUSTOM_ELEMENT_HANDLING`)&&e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING==`object`?gM(e.CUSTOM_ELEMENT_HANDLING):Uj(null);if(V=Uj(null),lM(t,`tagNameCheck`)&&$e(t.tagNameCheck)&&(V.tagNameCheck=t.tagNameCheck),lM(t,`attributeNameCheck`)&&$e(t.attributeNameCheck)&&(V.attributeNameCheck=t.attributeNameCheck),lM(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(V.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),Hj(V),he&&(pe=!1),Ce&&(Se=!0),Ae&&(z=$({},EM),B=Uj(null),Ae.html===!0&&($(z,bM),$(B,DM)),Ae.svg===!0&&($(z,xM),$(B,OM),$(B,AM)),Ae.svgFilters===!0&&($(z,SM),$(B,OM),$(B,AM)),Ae.mathMl===!0&&($(z,wM),$(B,kM),$(B,AM))),de.tagCheck=null,de.attributeCheck=null,lM(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?de.tagCheck=e.ADD_TAGS:Qj(e.ADD_TAGS)&&(z===se&&(z=gM(z)),$(z,e.ADD_TAGS,U))),lM(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?de.attributeCheck=e.ADD_ATTR:Qj(e.ADD_ATTR)&&(B===ce&&(B=gM(B)),$(B,e.ADD_ATTR,U))),lM(e,`ADD_URI_SAFE_ATTR`)&&Qj(e.ADD_URI_SAFE_ATTR)&&$(Fe,e.ADD_URI_SAFE_ATTR,U),lM(e,`FORBID_CONTENTS`)&&Qj(e.FORBID_CONTENTS)&&(je===Me&&(je=gM(je)),$(je,e.FORBID_CONTENTS,U)),lM(e,`ADD_FORBID_CONTENTS`)&&Qj(e.ADD_FORBID_CONTENTS)&&(je===Me&&(je=gM(je)),$(je,e.ADD_FORBID_CONTENTS,U)),Oe&&(z[`#text`]=!0),_e&&$(z,[`html`,`head`,`body`]),z.table&&($(z,[`tbody`]),delete le.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw fM(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw fM(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=S;S=e.TRUSTED_TYPES_POLICY;try{C=D(``)}catch(e){throw S=t,e}}else e.TRUSTED_TYPES_POLICY===null?(S=void 0,C=``):(S===void 0&&(S=k()),S&&typeof C==`string`&&(C=D(``)));Vj&&Vj(e),Ze=e},tt=$({},[...xM,...SM,...CM]),nt=$({},[...wM,...TM]),rt=function(e,t,n){return t.namespaceURI===ze?e===`svg`:t.namespaceURI===Le?e===`svg`&&(n===`annotation-xml`||Ge[n]):!!tt[e]},it=function(e,t,n){return t.namespaceURI===ze?e===`math`:t.namespaceURI===Re?e===`math`&&qe[n]:!!nt[e]},at=function(e,t,n){return t.namespaceURI===Re&&!qe[n]||t.namespaceURI===Le&&!Ge[n]?!1:!nt[e]&&(Je[e]||!tt[e])},ot=function(e){let t=_(e);(!t||!t.tagName)&&(t={namespaceURI:Be,tagName:`template`});let n=$j(e.tagName),r=$j(t.tagName);return He[e.namespaceURI]?e.namespaceURI===Re?rt(n,t,r):e.namespaceURI===Le?it(n,t,r):e.namespaceURI===ze?at(n,t,r):!!(Ye===`application/xhtml+xml`&&He[e.namespaceURI]):!1},st=function(e){Xj(t.removed,{element:e});try{_(e).removeChild(e)}catch{if(m(e),!_(e))throw fM(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},ct=function(e){dt(e);let t=g(e);if(t){let e=[];qj(t,t=>{Xj(e,t)}),qj(e,e=>{try{m(e)}catch{}})}let n=y(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;if(typeof i==`string`)try{e.removeAttribute(i)}catch{}}},lt=function(e,n){try{Xj(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch{Xj(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),e===`is`)if(Se||Ce)try{st(n)}catch{}else try{n.setAttribute(e,``)}catch{}},ut=function(e){let t=y(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;if(!(typeof i!=`string`||B[U(i)]))try{e.removeAttribute(i)}catch{}}},dt=function(e){let t=[e];for(;t.length>0;){let e=t.pop(),n=b?b(e):e.nodeType;n===GM.element&&ut(e);let r=g(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},ft=function(e){if(!ge)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=b?b(e):e.nodeType;if(n===GM.processingInstruction||n===GM.comment&&dM(HM,e.data)){try{m(e)}catch{}continue}if(n===GM.element){let t=e,n=U(x?x(e):e.nodeName);try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&n!==`label`&&n!==`output`&&t.removeAttribute(`for`)}catch{}}let r=g(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},pt=function(e){let t=null,r=null;if(xe)e=`<remove></remove>`+e;else{let t=tM(e,/^[\r\n\t ]+/);r=t&&t[0]}Ye===`application/xhtml+xml`&&Be===ze&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=S?D(e):e;if(Be===ze)try{t=new u().parseFromString(i,Ye)}catch{}if(!t||!t.documentElement){t=j.createDocument(Be,`template`,null);try{t.documentElement.innerHTML=Ve?C:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Be===ze?P.call(t,_e?`html`:`body`)[0]:_e?t.documentElement:a},mt=function(e){return M.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},ht=function(e){return e=nM(e,te,` `),e=nM(e,I,` `),e=nM(e,ne,` `),e},gt=function(e){var t;e.normalize();let n=M.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=ht(r.data),r=n.nextNode();let i=(t=e.querySelectorAll)?.call(e,`template`);i&&qj(i,e=>{vt(e.content)&>(e.content)})},_t=function(e){let t=x?x(e):null;return typeof t!=`string`||U(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==y(e)||typeof e.removeAttribute!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==b(e)||e.childNodes!==g(e)},vt=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return b(e)===GM.documentFragment}catch{return!1}},yt=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return typeof b(e)==`number`}catch{return!1}};function W(e,n,r){e.length!==0&&qj(e,e=>{e.call(t,n,r,Ze)})}let G=function(e,t){return!!(ge&&e.hasChildNodes()&&!yt(e.firstElementChild)&&dM(VM,e.textContent)&&dM(VM,e.innerHTML)||ge&&e.namespaceURI===ze&&t===`style`&&yt(e.firstElementChild)||e.nodeType===GM.processingInstruction||ge&&e.nodeType===GM.comment&&dM(HM,e.data))},bt=function(e,t){if(!le[t]&&wt(t)&&(V.tagNameCheck instanceof RegExp&&dM(V.tagNameCheck,t)||V.tagNameCheck instanceof Function&&V.tagNameCheck(t)))return!1;if(Oe&&!je[t]){let t=_(e),n=g(e);if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=ke?n[i]:p(n[i],!0);t.insertBefore(r,h(e))}}}return st(e),!0},xt=function(e,n){if(W(F.beforeSanitizeElements,e,null),e!==n&&_(e)===null)return!0;if(_t(e))return st(e),!0;let r=U(x?x(e):e.nodeName);if(W(F.uponSanitizeElement,e,{tagName:r,allowedTags:z}),e!==n&&_(e)===null)return!0;if(G(e,r))return st(e),!0;if(le[r]||!(de.tagCheck instanceof Function&&de.tagCheck(r))&&!z[r]){let t=bt(e,r);return t===!1&&W(F.afterSanitizeElements,e,null),t}let i=b?b(e):e.nodeType;if(i===GM.element&&!ot(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&dM(UM,e.innerHTML))return st(e),!0;if(he&&e.nodeType===GM.text){let n=ht(e.textContent);e.textContent!==n&&(Xj(t.removed,{element:e.cloneNode()}),e.textContent=n)}return W(F.afterSanitizeElements,e,null),!1},St=function(e,t,r){if(ue[t]||ge&&t===`patchsrc`||ge&&t===`for`&&e!==`label`&&e!==`output`||Te&&(t===`id`||t===`name`)&&(r in n||r in Qe))return!1;let i=B[t]||de.attributeCheck instanceof Function&&de.attributeCheck(t,e);if(!(pe&&dM(re,t))&&!(fe&&dM(ie,t))){if(i){if(!Fe[t]&&!dM(oe,nM(r,R,``))&&!((t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&rM(r,`data:`)===0&&Ne[e])&&!(me&&!dM(L,nM(r,R,``)))&&r)return!1}else if(!(wt(e)&&(V.tagNameCheck instanceof RegExp&&dM(V.tagNameCheck,e)||V.tagNameCheck instanceof Function&&V.tagNameCheck(e))&&(V.attributeNameCheck instanceof RegExp&&dM(V.attributeNameCheck,t)||V.attributeNameCheck instanceof Function&&V.attributeNameCheck(t,e))||t===`is`&&V.allowCustomizedBuiltInElements&&(V.tagNameCheck instanceof RegExp&&dM(V.tagNameCheck,r)||V.tagNameCheck instanceof Function&&V.tagNameCheck(r))))return!1}return!0},Ct=$({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),wt=function(e){return!Ct[$j(e)]&&dM(ae,e)},Tt=function(e,t,n,r){if(S&&typeof d==`object`&&typeof d.getAttributeType==`function`&&!n)switch(d.getAttributeType(e,t)){case`TrustedHTML`:return D(r);case`TrustedScriptURL`:return O(r)}return r},Et=function(e,n,r,i){try{r?e.setAttributeNS(r,n,i):e.setAttribute(n,i),_t(e)?st(e):Yj(t.removed)}catch{lt(n,e)}},Dt=function(e){W(F.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||_t(e))return;let n={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:B,forceKeepAttr:void 0},r=t.length,i=U(e.nodeName);for(;r--;){let a=t[r],o=a.name,s=a.namespaceURI,c=a.value,l=U(o),u=c,d=o===`value`?u:iM(u);if(n.attrName=l,n.attrValue=d,n.keepAttr=!0,n.forceKeepAttr=void 0,W(F.uponSanitizeAttribute,e,n),d=n.attrValue,Ee&&(l===`id`||l===`name`)&&rM(d,De)!==0&&(lt(o,e),d=De+d),ge&&dM(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)){lt(o,e);continue}if(l===`attributename`&&tM(d,`href`)){lt(o,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr){lt(o,e);continue}if(!H&&dM(WM,d)){lt(o,e);continue}if(he&&(d=ht(d)),!St(i,l,d)){lt(o,e);continue}d=Tt(i,l,s,d),d!==u&&Et(e,o,s,d)}}W(F.afterSanitizeAttributes,e,null)},Ot=function(e){let t=null,n=mt(e);for(W(F.beforeSanitizeShadowDOM,e,null);t=n.nextNode();){W(F.uponSanitizeShadowNode,t,null),xt(t,e),Dt(t),vt(t.content)&&Ot(t.content);let n=b?b(t):t.nodeType;if(n===GM.element){let e=v(t);vt(e)&&(kt(e),Ot(e))}}W(F.afterSanitizeShadowDOM,e,null)},kt=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Ot(e.shadow);continue}let n=e.node,r=b?b(n):n.nodeType,i=r===GM.element,a=g(n);if(a)for(let e=a.length-1;e>=0;--e)t.push({node:a[e],shadow:null});if(i){let e=x?x(n):null;if(typeof e==`string`&&U(e)===`template`){let e=n.content;vt(e)&&t.push({node:e,shadow:null})}}if(i){let e=v(n);vt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(Ve=!e,Ve&&(e=`<!-->`),typeof e!=`string`&&!yt(e)&&(e=_M(e),typeof e!=`string`))throw fM(`dirty is not a string, aborting`);if(!t.isSupported)return e;ve?(z=ye,B=be):et(n),(F.uponSanitizeElement.length>0||F.uponSanitizeAttribute.length>0)&&(z=gM(z)),F.uponSanitizeAttribute.length>0&&(B=gM(B)),t.removed=[];let c=ke&&typeof e!=`string`&&yt(e);if(c){ft(e);let t=x?x(e):e.nodeName;if(typeof t==`string`){let n=U(t);if(!z[n]||le[n])throw ct(e),fM(`root node is forbidden and cannot be sanitized in-place`)}if(_t(e))throw ct(e),fM(`root node is clobbered and cannot be sanitized in-place`);try{kt(e)}catch(t){throw ct(e),t}}else if(yt(e))i=pt(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===GM.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),kt(a);else{if(!Se&&!he&&!_e&&e.indexOf(`<`)===-1)return S&&we?D(e):e;if(i=pt(e),!i)return Se?null:we?C:``}i&&xe&&st(i.firstChild);let l=c?e:i,u=mt(l);try{for(;o=u.nextNode();)xt(o,l),Dt(o),vt(o.content)&&Ot(o.content)}catch(n){throw c&&(ct(e),qj(t.removed,e=>{e.element&&dt(e.element)})),n}if(c)return qj(t.removed,e=>{e.element&&dt(e.element)}),he&>(e),e;if(Se){if(he&>(i),Ce)for(s=N.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(B.shadowroot||B.shadowrootmode)&&(s=ee.call(r,s,!0)),s}let d=_e?i.outerHTML:i.innerHTML;return _e&&z[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&dM(zM,i.ownerDocument.doctype.name)&&(d=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
|
325
|
-
`+d),he&&(d=ht(d)),S&&we?D(d):d},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};et(e),ve=!0,ye=z,be=B},t.clearConfig=function(){Ze=null,ve=!1,ye=null,be=null,S=w,C=``},t.isValidAttribute=function(e,t,n){Ze||et({});let r=U(e),i=U(t);return St(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&lM(F,e)&&Xj(F[e],t)},t.removeHook=function(e,t){if(lM(F,e)){if(t!==void 0){let n=Jj(F[e],t);return n===-1?void 0:Zj(F[e],n,1)[0]}return Yj(F[e])}},t.removeHooks=function(e){lM(F,e)&&(F[e]=[])},t.removeAllHooks=function(){F=JM()},t}var ZM=XM(),QM=M(((exports,t)=>{var n=`Expected a function`,r=NaN,i=`[object Symbol]`,a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,u=typeof global==`object`&&global&&global.Object===Object&&global,d=typeof self==`object`&&self&&self.Object===Object&&self,f=u||d||Function(`return this`)(),p=Object.prototype,m=p.toString,h=Math.max,g=Math.min,_=function(){return f.Date.now()};function v(e,t,r){var i,a,o,s,c,l,u=0,d=!1,f=!1,p=!0;if(typeof e!=`function`)throw TypeError(n);t=S(t)||0,y(r)&&(d=!!r.leading,f=`maxWait`in r,o=f?h(S(r.maxWait)||0,t):o,p=`trailing`in r?!!r.trailing:p);function m(t){var n=i,r=a;return i=a=void 0,u=t,s=e.apply(r,n),s}function v(e){return u=e,c=setTimeout(C,t),d?m(e):s}function b(e){var n=e-l,r=e-u,i=t-n;return f?g(i,o-r):i}function x(e){var n=e-l,r=e-u;return l===void 0||n>=t||n<0||f&&r>=o}function C(){var e=_();if(x(e))return w(e);c=setTimeout(C,b(e))}function w(e){return c=void 0,p&&i?m(e):(i=a=void 0,s)}function T(){c!==void 0&&clearTimeout(c),u=0,i=l=a=c=void 0}function E(){return c===void 0?s:w(_())}function D(){var e=_(),n=x(e);if(i=arguments,a=this,l=e,n){if(c===void 0)return v(l);if(f)return c=setTimeout(C,t),m(l)}return c===void 0&&(c=setTimeout(C,t)),s}return D.cancel=T,D.flush=E,D}function y(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function b(e){return!!e&&typeof e==`object`}function x(e){return typeof e==`symbol`||b(e)&&m.call(e)==i}function S(e){if(typeof e==`number`)return e;if(x(e))return r;if(y(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=y(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=e.replace(a,``);var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):o.test(e)?r:+e}t.exports=v})),$M=M(((exports,t)=>{t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t==`object`&&typeof n==`object`){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}})),eN=M(((exports,n)=>{n.exports={...e}})),tN=M((exports=>{var t=eN();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;exports.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),nN=M(((exports,t)=>{t.exports=tN()})),rN=M(((exports,t)=>{(function(){var e,n,r,i,a,o;typeof performance<`u`&&performance!==null&&performance.now?t.exports=function(){return performance.now()}:typeof process<`u`&&process!==null&&process.hrtime?(t.exports=function(){return(e()-a)/1e6},n=process.hrtime,e=function(){var e;return e=n(),e[0]*1e9+e[1]},i=e(),o=process.uptime()*1e9,a=i-o):Date.now?(t.exports=function(){return Date.now()-r},r=Date.now()):(t.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(exports)})),iN=M(((exports,t)=>{for(var n=rN(),r=typeof window>`u`?global:window,i=[`moz`,`webkit`],a=`AnimationFrame`,o=r[`request`+a],s=r[`cancel`+a]||r[`cancelRequest`+a],c=0;!o&&c<i.length;c++)o=r[i[c]+`Request`+a],s=r[i[c]+`Cancel`+a]||r[i[c]+`CancelRequest`+a];if(!o||!s){var l=0,u=0,d=[],f=1e3/60;o=function(e){if(d.length===0){var t=n(),r=Math.max(0,f-(t-l));l=r+t,setTimeout(function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(l)}catch(e){setTimeout(function(){throw e},0)}},Math.round(r))}return d.push({handle:++u,callback:e,cancelled:!1}),u},s=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}t.exports=function(e){return o.call(r,e)},t.exports.cancel=function(){s.apply(r,arguments)},t.exports.polyfill=function(e){e||=r,e.requestAnimationFrame=o,e.cancelAnimationFrame=s}}));QM(),$M(),nN(),iN();var aN=()=>{};function oN(e,t=0,n=!0,r=!1){let i=_(void 0);f(()=>{i.current=e}),f(()=>{if(n){let e=function(){i.current?.()};r&&e();let n=window.setInterval(e,t);return()=>{window.clearInterval(n)}}return aN},[n,t,r])}var sN=!1,cN=()=>{};if(sN){let e=e=>{let t=`Warning: ${e}`;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}};cN=function(t,n){t||e(n)}}const lN=(e,t,n,r,i)=>{switch(e){case`bottom`:return{left:`${t}px`,top:`${-n}px`};case`left`:return{left:`${i-n}px`,top:`${r/2-n}px`};case`right`:return{left:`${-n}px`,top:`${r/2-n}px`};default:return{left:`${t}px`,top:`${r-10+n}px`}}},uN=({text:e})=>
|
|
325
|
+
`+d),he&&(d=ht(d)),S&&we?D(d):d},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};et(e),ve=!0,ye=z,be=B},t.clearConfig=function(){Ze=null,ve=!1,ye=null,be=null,S=w,C=``},t.isValidAttribute=function(e,t,n){Ze||et({});let r=U(e),i=U(t);return St(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&lM(F,e)&&Xj(F[e],t)},t.removeHook=function(e,t){if(lM(F,e)){if(t!==void 0){let n=Jj(F[e],t);return n===-1?void 0:Zj(F[e],n,1)[0]}return Yj(F[e])}},t.removeHooks=function(e){lM(F,e)&&(F[e]=[])},t.removeAllHooks=function(){F=JM()},t}var ZM=XM(),QM=M(((exports,t)=>{var n=`Expected a function`,r=NaN,i=`[object Symbol]`,a=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt,u=typeof global==`object`&&global&&global.Object===Object&&global,d=typeof self==`object`&&self&&self.Object===Object&&self,f=u||d||Function(`return this`)(),p=Object.prototype,m=p.toString,h=Math.max,g=Math.min,_=function(){return f.Date.now()};function v(e,t,r){var i,a,o,s,c,l,u=0,d=!1,f=!1,p=!0;if(typeof e!=`function`)throw TypeError(n);t=S(t)||0,y(r)&&(d=!!r.leading,f=`maxWait`in r,o=f?h(S(r.maxWait)||0,t):o,p=`trailing`in r?!!r.trailing:p);function m(t){var n=i,r=a;return i=a=void 0,u=t,s=e.apply(r,n),s}function v(e){return u=e,c=setTimeout(C,t),d?m(e):s}function b(e){var n=e-l,r=e-u,i=t-n;return f?g(i,o-r):i}function x(e){var n=e-l,r=e-u;return l===void 0||n>=t||n<0||f&&r>=o}function C(){var e=_();if(x(e))return w(e);c=setTimeout(C,b(e))}function w(e){return c=void 0,p&&i?m(e):(i=a=void 0,s)}function T(){c!==void 0&&clearTimeout(c),u=0,i=l=a=c=void 0}function E(){return c===void 0?s:w(_())}function D(){var e=_(),n=x(e);if(i=arguments,a=this,l=e,n){if(c===void 0)return v(l);if(f)return c=setTimeout(C,t),m(l)}return c===void 0&&(c=setTimeout(C,t)),s}return D.cancel=T,D.flush=E,D}function y(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function b(e){return!!e&&typeof e==`object`}function x(e){return typeof e==`symbol`||b(e)&&m.call(e)==i}function S(e){if(typeof e==`number`)return e;if(x(e))return r;if(y(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=y(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=e.replace(a,``);var n=s.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):o.test(e)?r:+e}t.exports=v})),$M=M(((exports,t)=>{t.exports=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t==`object`&&typeof n==`object`){if(t.constructor!==n.constructor)return!1;var r,i,a;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(a=Object.keys(t),r=a.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,a[i]))return!1;for(i=r;i--!==0;){var o=a[i];if(!e(t[o],n[o]))return!1}return!0}return t!==t&&n!==n}})),eN=M(((exports,n)=>{n.exports={...e}})),tN=M((exports=>{var t=eN();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;exports.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),nN=M(((exports,t)=>{t.exports=tN()})),rN=M(((exports,t)=>{(function(){var e,n,r,i,a,o;typeof performance<`u`&&performance!==null&&performance.now?t.exports=function(){return performance.now()}:typeof process<`u`&&process!==null&&process.hrtime?(t.exports=function(){return(e()-a)/1e6},n=process.hrtime,e=function(){var e;return e=n(),e[0]*1e9+e[1]},i=e(),o=process.uptime()*1e9,a=i-o):Date.now?(t.exports=function(){return Date.now()-r},r=Date.now()):(t.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(exports)})),iN=M(((exports,t)=>{for(var n=rN(),r=typeof window>`u`?global:window,i=[`moz`,`webkit`],a=`AnimationFrame`,o=r[`request`+a],s=r[`cancel`+a]||r[`cancelRequest`+a],c=0;!o&&c<i.length;c++)o=r[i[c]+`Request`+a],s=r[i[c]+`Cancel`+a]||r[i[c]+`CancelRequest`+a];if(!o||!s){var l=0,u=0,d=[],f=1e3/60;o=function(e){if(d.length===0){var t=n(),r=Math.max(0,f-(t-l));l=r+t,setTimeout(function(){var e=d.slice(0);d.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(l)}catch(e){setTimeout(function(){throw e},0)}},Math.round(r))}return d.push({handle:++u,callback:e,cancelled:!1}),u},s=function(e){for(var t=0;t<d.length;t++)d[t].handle===e&&(d[t].cancelled=!0)}}t.exports=function(e){return o.call(r,e)},t.exports.cancel=function(){s.apply(r,arguments)},t.exports.polyfill=function(e){e||=r,e.requestAnimationFrame=o,e.cancelAnimationFrame=s}}));QM(),$M(),nN(),iN();var aN=()=>{};function oN(e,t=0,n=!0,r=!1){let i=_(void 0);f(()=>{i.current=e}),f(()=>{if(n){let e=function(){i.current?.()};r&&e();let n=window.setInterval(e,t);return()=>{window.clearInterval(n)}}return aN},[n,t,r])}var sN=!1,cN=()=>{};if(sN){let e=e=>{let t=`Warning: ${e}`;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}};cN=function(t,n){t||e(n)}}const lN=(e,t,n,r,i)=>{switch(e){case`bottom`:return{left:`${t}px`,top:`${-n}px`};case`left`:return{left:`${i-n}px`,top:`${r/2-n}px`};case`right`:return{left:`${-n}px`,top:`${r/2-n}px`};default:return{left:`${t}px`,top:`${r-10+n}px`}}},uN=({text:e})=>b(`div`,{dangerouslySetInnerHTML:{__html:ZM.sanitize(e)}}),dN=()=>window.navigator.userAgent===`Playwright`||window.navigator.userAgent.includes(`Protractor`),fN=()=>{let e=_(null),t=_(null),n=_(null),[r,i]=v(``),[a,o]=v(null),[s,c]=v(!1),[l,u]=v(!1),[d,p]=v(``),[m,h]=v(!1);oN(()=>{let e=t?.current?.getBoundingClientRect();m||(a?.y!==e?.y||a?.x!==e?.x)&&c(!1)},300,s);let g=_(null),S=e=>{let t=e;for(let e=0;e<8&&t;e++){if(!t)return null;if(t?.dataset?.qtipText)return t.dataset;t=t?.parentElement}return null},C=(r,a,s,l,d=`top`)=>{if(r&&t.current){u(a),i(r),p(s),o(t.current.getBoundingClientRect());let f=()=>{e.current&&t.current&&n.current&&gT(t.current,e.current,{placement:d,middleware:[pr(10),mT(),pT({padding:8}),hT({element:n.current})]}).then(({x:r,y:i,middlewareData:a,placement:o})=>{if(e.current){if(Object.assign(e.current.style,{left:`${r}px`,top:`${i}px`}),a.arrow&&t.current&&n.current){let{x:t,y:r}=a.arrow,i=n.current.offsetHeight/2,s=e.current.offsetHeight,c=e.current.offsetWidth,l=lN(o,t||r,i,s,c);Object.assign(n.current.style,l)}c(!0)}})};l>0?requestAnimationFrame(()=>{f()}):f()}};return f(()=>{let e=e=>{g.current&&clearTimeout(g.current);let n=e.target,r=S(n);if(!r){t.current=null;return}t.current=n;let i=r.qtipText;if(i){let e=parseInt(r.qtipDelay||`500`,10),t=r.qtipPlacement||`top`,n=r.qtipIsHtml===`true`,a=r.qtipTestid;g.current=setTimeout(()=>{C(i,n,a,e,t)},e)}};return!dN()&&document.body.addEventListener(`mousemove`,e),()=>{!dN()&&document.removeEventListener(`mousemove`,e)}},[]),b(y,{children:x(`div`,{onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),"data-testid":d,ref:e,className:W(`tw:absolute tw:z-9999 tw:max-w-96 tw:rounded-sm tw:bg-black tw:p-2 tw:text-xs tw:text-sq-white`,{"tw:visible tw:animate-fadeIn":s,"tw:pointer-events-none tw:invisible":!s}),children:[l?b(uN,{text:r}):r,b(`div`,{className:`tw:absolute tw:h-2.5 tw:w-2.5 tw:rotate-45 tw:bg-black`,ref:n})]})})},pN=e=>{let{triggerIcon:t,id:n,extraClassNames:r=``,disabled:i=!1,...a}=e,o=St(a);return b(Vl,{...e,children:b(Dl,{id:n,className:`
|
|
326
326
|
tw:border-none
|
|
327
327
|
tw:bg-transparent
|
|
328
328
|
tw:focus-within:outline-none
|