eslint-config-silverwind 108.0.2 → 108.0.3
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.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -783,4 +783,4 @@ If you absolutely need more files included, set parserOptions.projectService.max
|
|
|
783
783
|
`)):!0}function xKe(e){return e.sourceCode.text.includes(yKe)?{JSXElement(t){let n=w9(e,t);if(n(yKe)==null)return;let r=n(`children`)??t.children.find(bKe);r!=null&&e.report({messageId:`noDangerouslySetInnerhtmlWithChildren`,node:r})}}:{}}const SKe=[];var CKe=X9({meta:{type:`problem`,docs:{description:"Disallow `findDOMNode`.",[Symbol.for(`rule_features`)]:SKe},messages:{noFindDomNode:`[Deprecated] Use alternatives instead.`},schema:[]},name:`no-find-dom-node`,create:TKe,defaultOptions:[]});const wKe=`findDOMNode`;function TKe(e){return e.sourceCode.text.includes(wKe)?{CallExpression(t){let{callee:n}=t;switch(n.type){case Y9.AST_NODE_TYPES.Identifier:n.name===wKe&&e.report({messageId:`noFindDomNode`,node:t});return;case Y9.AST_NODE_TYPES.MemberExpression:n.property.type===Y9.AST_NODE_TYPES.Identifier&&n.property.name===wKe&&e.report({messageId:`noFindDomNode`,node:t});return}}}:{}}const EKe=[];var DKe=X9({meta:{type:`problem`,docs:{description:"Disallow `flushSync`.",[Symbol.for(`rule_features`)]:EKe},messages:{noFlushSync:`Using 'flushSync' is uncommon and can hurt the performance of your app.`},schema:[]},name:`no-flush-sync`,create:kKe,defaultOptions:[]});const OKe=`flushSync`;function kKe(e){return e.sourceCode.text.includes(OKe)?{CallExpression(t){let{callee:n}=t;switch(n.type){case Y9.AST_NODE_TYPES.Identifier:n.name===OKe&&e.report({messageId:`noFlushSync`,node:t});return;case Y9.AST_NODE_TYPES.MemberExpression:n.property.type===Y9.AST_NODE_TYPES.Identifier&&n.property.name===OKe&&e.report({messageId:`noFlushSync`,node:t});return}}}:{}}const AKe=[`MOD`];var jKe=X9({meta:{type:`problem`,docs:{description:"Replaces usages of `ReactDom.hydrate()` with `hydrateRoot()`.",[Symbol.for(`rule_features`)]:AKe},fixable:`code`,messages:{noHydrate:`[Deprecated] Use 'hydrateRoot()' instead.`},schema:[]},name:`no-hydrate`,create:NKe,defaultOptions:[]});const MKe=`hydrate`;function NKe(e){if(!e.sourceCode.text.includes(MKe)||(0,oKe.compare)(Z7(e).version,`18.0.0`,`<`))return{};let t=new Set,n=new Set;return{CallExpression(r){switch(!0){case r.callee.type===Y9.AST_NODE_TYPES.Identifier&&n.has(r.callee.name):e.report({messageId:`noHydrate`,node:r,fix:PKe(e,r)});return;case r.callee.type===Y9.AST_NODE_TYPES.MemberExpression&&r.callee.object.type===Y9.AST_NODE_TYPES.Identifier&&r.callee.property.type===Y9.AST_NODE_TYPES.Identifier&&r.callee.property.name===MKe&&t.has(r.callee.object.name):e.report({messageId:`noHydrate`,node:r,fix:PKe(e,r)});return}},ImportDeclaration(e){let[r]=e.source.value.split(`/`);if(r===`react-dom`)for(let r of e.specifiers)switch(r.type){case Y9.AST_NODE_TYPES.ImportSpecifier:if(r.imported.type!==Y9.AST_NODE_TYPES.Identifier)continue;r.imported.name===MKe&&n.add(r.local.name);continue;case Y9.AST_NODE_TYPES.ImportDefaultSpecifier:case Y9.AST_NODE_TYPES.ImportNamespaceSpecifier:t.add(r.local.name);continue}}}}function PKe(e,t){let n=t=>e.sourceCode.getText(t);return r=>{let[i,a]=t.arguments;return i==null||a==null?null:[r.insertTextBefore(e.sourceCode.ast,`import { hydrateRoot } from "react-dom/client";
|
|
784
784
|
`),r.replaceText(t,`hydrateRoot(${n(a)}, ${n(i)})`)]}}const FKe=[`FIX`],IKe=[`button`,`submit`,`reset`];var LKe=X9({meta:{type:`problem`,docs:{description:"Enforces explicit `type` attribute for `button` elements.",[Symbol.for(`rule_features`)]:FKe},hasSuggestions:!0,messages:{addButtonType:`Add 'type' attribute with value '{{type}}'.`,noMissingButtonType:`Add missing 'type' attribute on 'button' component.`},schema:[]},name:`no-missing-button-type`,create:RKe,defaultOptions:[]});function RKe(e){let t=dKe(e);return{JSXElement(n){t.resolve(n).domElementType===`button`&&w9(e,n)(`type`)==null&&e.report({messageId:`noMissingButtonType`,node:n.openingElement,suggest:IKe.map(e=>({messageId:`addButtonType`,data:{type:e},fix:t=>t.insertTextAfter(n.openingElement.name,` type="${e}"`)}))})}}}const zKe=[`FIX`];var BKe=X9({meta:{type:`problem`,docs:{description:"Enforces explicit `sandbox` prop for `iframe` elements.",[Symbol.for(`rule_features`)]:zKe},fixable:`code`,hasSuggestions:!0,messages:{addIframeSandbox:`Add 'sandbox' prop with value '{{value}}'.`,noMissingIframeSandbox:`Add missing 'sandbox' prop on 'iframe' component.`},schema:[]},name:`no-missing-iframe-sandbox`,create:VKe,defaultOptions:[]});function VKe(e){let t=dKe(e);return{JSXElement(n){let{domElementType:r}=t.resolve(n);if(r!==`iframe`)return;let i=w9(e,n)(`sandbox`);if(i==null){e.report({messageId:`noMissingIframeSandbox`,node:n.openingElement,suggest:[{messageId:`addIframeSandbox`,data:{value:``},fix(e){return e.insertTextAfter(n.openingElement.name,` sandbox=""`)}}]});return}let a=T9(e,i);typeof a.toStatic(`sandbox`)!=`string`&&e.report({messageId:`noMissingIframeSandbox`,node:a.node??i,suggest:[{messageId:`addIframeSandbox`,data:{value:``},fix(e){return a.kind.startsWith(`spread`)?null:e.replaceText(i,`sandbox=""`)}}]})}}}const HKe=[];var UKe=X9({meta:{type:`problem`,docs:{description:"Enforces the absence of a `namespace` in React elements.",[Symbol.for(`rule_features`)]:HKe},messages:{noNamespace:`A React component '{{name}}' must not be in a namespace, as React does not support them.`},schema:[]},name:`no-namespace`,create:WKe,defaultOptions:[]});function WKe(e){return{JSXElement(t){let n=ERe(e,t);typeof n!=`string`||!n.includes(`:`)||e.report({messageId:`noNamespace`,node:t.openingElement.name,data:{name:n}})}}}const GKe=[`MOD`];var KKe=X9({meta:{type:`problem`,docs:{description:"Replaces usages of `ReactDom.render()` with `createRoot(node).render()`.",[Symbol.for(`rule_features`)]:GKe},fixable:`code`,messages:{noRender:`[Deprecated] Use 'createRoot(node).render()' instead.`},schema:[]},name:`no-render`,create:qKe,defaultOptions:[]});function qKe(e){if(!e.sourceCode.text.includes(`render`)||(0,oKe.compare)(Z7(e).version,`18.0.0`,`<`))return{};let t=new Set([`ReactDOM`,`ReactDom`]),n=new Set;return{CallExpression(r){switch(!0){case r.callee.type===Y9.AST_NODE_TYPES.Identifier&&n.has(r.callee.name):e.report({messageId:`noRender`,node:r,fix:JKe(e,r)});return;case r.callee.type===Y9.AST_NODE_TYPES.MemberExpression&&r.callee.object.type===Y9.AST_NODE_TYPES.Identifier&&r.callee.property.type===Y9.AST_NODE_TYPES.Identifier&&r.callee.property.name===`render`&&t.has(r.callee.object.name):e.report({messageId:`noRender`,node:r,fix:JKe(e,r)});return}},ImportDeclaration(e){let[r]=e.source.value.split(`/`);if(r===`react-dom`)for(let r of e.specifiers)switch(r.type){case Y9.AST_NODE_TYPES.ImportSpecifier:if(r.imported.type!==Y9.AST_NODE_TYPES.Identifier)continue;r.imported.name===`render`&&n.add(r.local.name);continue;case Y9.AST_NODE_TYPES.ImportDefaultSpecifier:case Y9.AST_NODE_TYPES.ImportNamespaceSpecifier:t.add(r.local.name);continue}}}}function JKe(e,t){let n=t=>e.sourceCode.getText(t);return r=>{let[i,a]=t.arguments;return i==null||a==null?null:[r.insertTextBefore(e.sourceCode.ast,`import { createRoot } from "react-dom/client";
|
|
785
785
|
`),r.replaceText(t,`createRoot(${n(a)}).render(${n(i)})`)]}}const YKe=[],XKe=[Y9.AST_NODE_TYPES.VariableDeclarator,Y9.AST_NODE_TYPES.Property,Y9.AST_NODE_TYPES.ReturnStatement,Y9.AST_NODE_TYPES.ArrowFunctionExpression,Y9.AST_NODE_TYPES.AssignmentExpression];var ZKe=X9({meta:{type:`problem`,docs:{description:"Disallow the return value of `ReactDOM.render`.",[Symbol.for(`rule_features`)]:YKe},messages:{noRenderReturnValue:`Do not depend on the return value from 'ReactDOM.render'.`},schema:[]},name:`no-render-return-value`,create:QKe,defaultOptions:[]});function QKe(e){let t=new Set([`ReactDOM`,`ReactDom`]),n=new Set;return{CallExpression(r){switch(!0){case r.callee.type===Y9.AST_NODE_TYPES.Identifier&&n.has(r.callee.name)&&XKe.includes(r.parent.type):e.report({messageId:`noRenderReturnValue`,node:r});return;case r.callee.type===Y9.AST_NODE_TYPES.MemberExpression&&r.callee.object.type===Y9.AST_NODE_TYPES.Identifier&&r.callee.property.type===Y9.AST_NODE_TYPES.Identifier&&r.callee.property.name===`render`&&t.has(r.callee.object.name)&&XKe.includes(r.parent.type):e.report({messageId:`noRenderReturnValue`,node:r});return}},ImportDeclaration(e){let[r]=e.source.value.split(`/`);if(r===`react-dom`)for(let r of e.specifiers)switch(r.type){case Y9.AST_NODE_TYPES.ImportSpecifier:if(r.imported.type!==Y9.AST_NODE_TYPES.Identifier)continue;r.imported.name===`render`&&n.add(r.local.name);continue;case Y9.AST_NODE_TYPES.ImportDefaultSpecifier:case Y9.AST_NODE_TYPES.ImportNamespaceSpecifier:t.add(r.local.name);continue}}}}const $Ke=[];var eqe=X9({meta:{type:`problem`,docs:{description:"Disallow `javascript:` URLs as attribute values.",[Symbol.for(`rule_features`)]:$Ke},messages:{noScriptUrl:"Using a `javascript:` URL is a security risk and should be avoided."},schema:[]},name:`no-script-url`,create:tqe,defaultOptions:[]});function tqe(e){return{JSXAttribute(t){if(t.name.type!==Y9.AST_NODE_TYPES.JSXIdentifier||t.value==null)return;let n=T9(e,t).toStatic();typeof n==`string`&&GNe.test(n)&&e.report({messageId:`noScriptUrl`,node:t.value})}}}const nqe=[];var rqe=X9({meta:{type:`problem`,docs:{description:`Disallows the use of string style prop.`,[Symbol.for(`rule_features`)]:nqe},messages:{noStringStyleProp:`Do not use string style prop. Use an object instead.`},schema:[]},name:`no-string-style-prop`,create:iqe,defaultOptions:[]});function iqe(e){return{JSXElement(t){if(!DRe(e,t))return;let n=w9(e,t)(`style`);if(n==null)return;let r=T9(e,n);typeof r.toStatic()==`string`&&e.report({messageId:`noStringStyleProp`,node:r.node??n})}}}const aqe={ignore:[],requireDataLowercase:!1},oqe={"accept-charset":`acceptCharset`,class:`className`,crossorigin:`crossOrigin`,for:`htmlFor`,"http-equiv":`httpEquiv`,nomodule:`noModule`},sqe={"accent-height":`accentHeight`,"alignment-baseline":`alignmentBaseline`,"arabic-form":`arabicForm`,"baseline-shift":`baselineShift`,"cap-height":`capHeight`,"clip-path":`clipPath`,"clip-rule":`clipRule`,"color-interpolation":`colorInterpolation`,"color-interpolation-filters":`colorInterpolationFilters`,"color-profile":`colorProfile`,"color-rendering":`colorRendering`,"dominant-baseline":`dominantBaseline`,"enable-background":`enableBackground`,"fill-opacity":`fillOpacity`,"fill-rule":`fillRule`,"flood-color":`floodColor`,"flood-opacity":`floodOpacity`,"font-family":`fontFamily`,"font-size":`fontSize`,"font-size-adjust":`fontSizeAdjust`,"font-stretch":`fontStretch`,"font-style":`fontStyle`,"font-variant":`fontVariant`,"font-weight":`fontWeight`,"glyph-name":`glyphName`,"glyph-orientation-horizontal":`glyphOrientationHorizontal`,"glyph-orientation-vertical":`glyphOrientationVertical`,"horiz-adv-x":`horizAdvX`,"horiz-origin-x":`horizOriginX`,"image-rendering":`imageRendering`,"letter-spacing":`letterSpacing`,"lighting-color":`lightingColor`,"marker-end":`markerEnd`,"marker-mid":`markerMid`,"marker-start":`markerStart`,"overline-position":`overlinePosition`,"overline-thickness":`overlineThickness`,"paint-order":`paintOrder`,"panose-1":`panose1`,"pointer-events":`pointerEvents`,"rendering-intent":`renderingIntent`,"shape-rendering":`shapeRendering`,"stop-color":`stopColor`,"stop-opacity":`stopOpacity`,"strikethrough-position":`strikethroughPosition`,"strikethrough-thickness":`strikethroughThickness`,"stroke-dasharray":`strokeDasharray`,"stroke-dashoffset":`strokeDashoffset`,"stroke-linecap":`strokeLinecap`,"stroke-linejoin":`strokeLinejoin`,"stroke-miterlimit":`strokeMiterlimit`,"stroke-opacity":`strokeOpacity`,"stroke-width":`strokeWidth`,"text-anchor":`textAnchor`,"text-decoration":`textDecoration`,"text-rendering":`textRendering`,"underline-position":`underlinePosition`,"underline-thickness":`underlineThickness`,"unicode-bidi":`unicodeBidi`,"unicode-range":`unicodeRange`,"units-per-em":`unitsPerEm`,"v-alphabetic":`vAlphabetic`,"v-hanging":`vHanging`,"v-ideographic":`vIdeographic`,"v-mathematical":`vMathematical`,"vector-effect":`vectorEffect`,"vert-adv-y":`vertAdvY`,"vert-origin-x":`vertOriginX`,"vert-origin-y":`vertOriginY`,"word-spacing":`wordSpacing`,"writing-mode":`writingMode`,"x-height":`xHeight`,"xlink:actuate":`xlinkActuate`,"xlink:arcrole":`xlinkArcrole`,"xlink:href":`xlinkHref`,"xlink:role":`xlinkRole`,"xlink:show":`xlinkShow`,"xlink:title":`xlinkTitle`,"xlink:type":`xlinkType`,"xml:base":`xmlBase`,"xml:lang":`xmlLang`,"xml:space":`xmlSpace`},cqe={as:[`link`],abbr:[`th`,`td`],align:[`applet`,`caption`,`col`,`colgroup`,`hr`,`iframe`,`img`,`table`,`tbody`,`td`,`tfoot`,`th`,`thead`,`tr`],allowFullScreen:[`iframe`,`video`],autoPictureInPicture:[`video`],charset:[`meta`],checked:[`input`],controls:[`audio`,`video`],controlsList:[`audio`,`video`],crossOrigin:[`script`,`img`,`video`,`audio`,`link`,`image`],disablePictureInPicture:[`video`],disableRemotePlayback:[`audio`,`video`],displaystyle:[`math`],download:[`a`,`area`],fill:[`altGlyph`,`circle`,`ellipse`,`g`,`line`,`marker`,`mask`,`path`,`polygon`,`polyline`,`rect`,`svg`,`symbol`,`text`,`textPath`,`tref`,`tspan`,`use`,`animate`,`animateColor`,`animateMotion`,`animateTransform`,`set`],focusable:[`svg`],imageSizes:[`link`],imageSrcSet:[`link`],loop:[`audio`,`video`],mozAllowFullScreen:[`iframe`,`video`],muted:[`audio`,`video`],noModule:[`script`],onAbort:[`audio`,`video`],onCanPlay:[`audio`,`video`],onCanPlayThrough:[`audio`,`video`],onCancel:[`dialog`],onClose:[`dialog`],onDurationChange:[`audio`,`video`],onEmptied:[`audio`,`video`],onEncrypted:[`audio`,`video`],onEnded:[`audio`,`video`],onError:[`audio`,`video`,`img`,`link`,`source`,`script`,`picture`,`iframe`],onLoad:[`script`,`img`,`link`,`picture`,`iframe`,`object`,`source`],onLoadStart:[`audio`,`video`],onLoadedData:[`audio`,`video`],onLoadedMetadata:[`audio`,`video`],onPause:[`audio`,`video`],onPlay:[`audio`,`video`],onPlaying:[`audio`,`video`],onProgress:[`audio`,`video`],onRateChange:[`audio`,`video`],onResize:[`audio`,`video`],onSeeked:[`audio`,`video`],onSeeking:[`audio`,`video`],onStalled:[`audio`,`video`],onSuspend:[`audio`,`video`],onTimeUpdate:[`audio`,`video`],onVolumeChange:[`audio`,`video`],onWaiting:[`audio`,`video`],playsInline:[`video`],poster:[`video`],preload:[`audio`,`video`],property:[`meta`],returnValue:[`dialog`],scrolling:[`iframe`],valign:[`tr`,`td`,`th`,`thead`,`tbody`,`tfoot`,`colgroup`,`col`],viewBox:[`marker`,`pattern`,`svg`,`symbol`,`view`],webkitAllowFullScreen:[`iframe`,`video`],webkitDirectory:[`input`]},lqe=`dir.draggable.hidden.id.lang.nonce.part.slot.style.title.translate.inert.accept.action.allow.alt.as.async.buffered.capture.challenge.cite.code.cols.content.coords.csp.data.decoding.default.defer.disabled.form.headers.height.high.href.icon.importance.integrity.kind.label.language.loading.list.loop.low.manifest.max.media.method.min.multiple.muted.name.open.optimum.pattern.ping.placeholder.poster.preload.profile.rel.required.reversed.role.rows.sandbox.scope.seamless.selected.shape.size.sizes.span.src.start.step.summary.target.type.value.width.wmode.wrap.accumulate.additive.alphabetic.amplitude.ascent.azimuth.bbox.begin.bias.by.clip.color.cursor.cx.cy.d.decelerate.descent.direction.display.divisor.dur.dx.dy.elevation.end.exponent.fill.filter.format.from.fr.fx.fy.g1.g2.hanging.height.hreflang.ideographic.in.in2.intercept.k.k1.k2.k3.k4.kerning.local.mask.mode.offset.opacity.operator.order.orient.orientation.origin.overflow.path.ping.points.r.radius.rel.restart.result.rotate.rx.ry.scale.seed.slope.spacing.speed.stemh.stemv.string.stroke.to.transform.u1.u2.unicode.values.version.visibility.widths.x.x1.x2.xmlns.y.y1.y2.z.property.ref.key.children.results.security.controls`.split(`.`),uqe=`accessKey.autoCapitalize.autoFocus.contentEditable.enterKeyHint.exportParts.inputMode.itemID.itemRef.itemProp.itemScope.itemType.spellCheck.tabIndex.acceptCharset.autoComplete.autoPlay.border.cellPadding.cellSpacing.classID.codeBase.colSpan.contextMenu.dateTime.encType.formAction.formEncType.formMethod.formNoValidate.formTarget.frameBorder.hrefLang.httpEquiv.imageSizes.imageSrcSet.isMap.keyParams.keyType.marginHeight.marginWidth.maxLength.mediaGroup.minLength.noValidate.onAnimationEnd.onAnimationIteration.onAnimationStart.onBlur.onChange.onClick.onContextMenu.onCopy.onCompositionEnd.onCompositionStart.onCompositionUpdate.onCut.onDoubleClick.onDrag.onDragEnd.onDragEnter.onDragExit.onDragLeave.onError.onFocus.onInput.onKeyDown.onKeyPress.onKeyUp.onLoad.onWheel.onDragOver.onDragStart.onDrop.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onPaste.onScroll.onSelect.onSubmit.onToggle.onTransitionEnd.radioGroup.readOnly.referrerPolicy.rowSpan.srcDoc.srcLang.srcSet.useMap.fetchPriority.crossOrigin.accentHeight.alignmentBaseline.arabicForm.attributeName.attributeType.baseFrequency.baselineShift.baseProfile.calcMode.capHeight.clipPathUnits.clipPath.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.diffuseConstant.dominantBaseline.edgeMode.enableBackground.fillOpacity.fillRule.filterRes.filterUnits.floodColor.floodOpacity.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.horizAdvX.horizOriginX.imageRendering.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.markerEnd.markerMid.markerStart.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.mathematical.numOctaves.overlinePosition.overlineThickness.panose1.paintOrder.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.referrerPolicy.refX.refY.rendering-intent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.shapeRendering.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textRendering.textLength.transformOrigin.underlinePosition.underlineThickness.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.vHanging.vIdeographic.vMathematical.vectorEffect.vertAdvY.vertOriginX.vertOriginY.viewBox.viewTarget.wordSpacing.writingMode.xHeight.xChannelSelector.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlnsXlink.xmlSpace.yChannelSelector.zoomAndPan.autoCorrect.autoSave.className.dangerouslySetInnerHTML.defaultValue.defaultChecked.htmlFor.onBeforeInput.onChange.onInvalid.onReset.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.suppressContentEditableWarning.suppressHydrationWarning.onAbort.onCanPlay.onCanPlayThrough.onDurationChange.onEmptied.onEncrypted.onEnded.onLoadedData.onLoadedMetadata.onLoadStart.onPause.onPlay.onPlaying.onProgress.onRateChange.onResize.onSeeked.onSeeking.onStalled.onSuspend.onTimeUpdate.onVolumeChange.onWaiting.onCopyCapture.onCutCapture.onPasteCapture.onCompositionEndCapture.onCompositionStartCapture.onCompositionUpdateCapture.onFocusCapture.onBlurCapture.onChangeCapture.onBeforeInputCapture.onInputCapture.onResetCapture.onSubmitCapture.onInvalidCapture.onLoadCapture.onErrorCapture.onKeyDownCapture.onKeyPressCapture.onKeyUpCapture.onAbortCapture.onCanPlayCapture.onCanPlayThroughCapture.onDurationChangeCapture.onEmptiedCapture.onEncryptedCapture.onEndedCapture.onLoadedDataCapture.onLoadedMetadataCapture.onLoadStartCapture.onPauseCapture.onPlayCapture.onPlayingCapture.onProgressCapture.onRateChangeCapture.onSeekedCapture.onSeekingCapture.onStalledCapture.onSuspendCapture.onTimeUpdateCapture.onVolumeChangeCapture.onWaitingCapture.onSelectCapture.onTouchCancelCapture.onTouchEndCapture.onTouchMoveCapture.onTouchStartCapture.onScrollCapture.onWheelCapture.onAnimationEndCapture.onAnimationIteration.onAnimationStartCapture.onTransitionEndCapture.onAuxClick.onAuxClickCapture.onClickCapture.onContextMenuCapture.onDoubleClickCapture.onDragCapture.onDragEndCapture.onDragEnterCapture.onDragExitCapture.onDragLeaveCapture.onDragOverCapture.onDragStartCapture.onDropCapture.onMouseDown.onMouseDownCapture.onMouseMoveCapture.onMouseOutCapture.onMouseOverCapture.onMouseUpCapture.autoPictureInPicture.controlsList.disablePictureInPicture.disableRemotePlayback`.split(`.`),dqe=[`charset`,`allowFullScreen`,`webkitAllowFullScreen`,`mozAllowFullScreen`,`webkitDirectory`],fqe=`aria-atomic.aria-braillelabel.aria-brailleroledescription.aria-busy.aria-controls.aria-current.aria-describedby.aria-description.aria-details.aria-disabled.aria-dropeffect.aria-errormessage.aria-flowto.aria-grabbed.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-live.aria-owns.aria-relevant.aria-roledescription.aria-autocomplete.aria-checked.aria-expanded.aria-level.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-placeholder.aria-pressed.aria-readonly.aria-required.aria-selected.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.aria-activedescendant.aria-colcount.aria-colindex.aria-colindextext.aria-colspan.aria-posinset.aria-rowcount.aria-rowindex.aria-rowindextext.aria-rowspan.aria-setsize`.split(`.`),pqe=[`onGotPointerCapture`,`onGotPointerCaptureCapture`,`onLostPointerCapture`,`onLostPointerCapture`,`onLostPointerCaptureCapture`,`onPointerCancel`,`onPointerCancelCapture`,`onPointerDown`,`onPointerDownCapture`,`onPointerEnter`,`onPointerEnterCapture`,`onPointerLeave`,`onPointerLeaveCapture`,`onPointerMove`,`onPointerMoveCapture`,`onPointerOut`,`onPointerOutCapture`,`onPointerOver`,`onPointerOverCapture`,`onPointerUp`,`onPointerUpCapture`],mqe=[`popover`,`popoverTarget`,`popoverTargetAction`,`onToggle`,`onBeforeToggle`];function hqe(e){let t=uqe.concat(lqe);return Eqe(e,`<=`,`16.1.0`)?(t.push(`allowTransparency`),t):(Eqe(e,`>=`,`16.4.0`)&&t.push(...pqe),Eqe(e,`>=`,`19.0.0-rc.0`)?t.push(...mqe):t.push(...mqe.map(e=>e.toLowerCase())),t)}function gqe(e){return/^[a-z][^-]*$/.test(e.parent.name.name)?!e.parent.attributes.some(e=>e.type===`JSXAttribute`&&e.name.type===`JSXIdentifier`&&e.name.name===`is`):!1}function _qe(e){return dqe.find(t=>t.toLowerCase()===e.toLowerCase())||e}function vqe(e){return!/^data-xml/i.test(e)&&/^data-[^:]*$/.test(e)}function yqe(e){return e.toLowerCase()!==e}function bqe(e){return fqe.some(t=>t===e)}function xqe(e){return e?.parent?.name?e.parent.name.name:null}function Sqe(e){return!!(e.parent?.name&&e.parent.name.type===`JSXMemberExpression`)}function Cqe(e,t){return wqe(oqe,e)?oqe[e]:wqe(sqe,e)?sqe[e]:hqe(t).find(t=>t.toLowerCase()===e.toLowerCase())}function wqe(e,t){return Object.hasOwn(e,t)}function Tqe(e,t){return e.sourceCode.getText(t)}function Eqe(e,t,n){let{version:r}=Z7(e);return(0,oKe.compare)(r,n,t)}var Dqe=X9({meta:{type:`problem`,docs:{description:"Disallow unknown `DOM` property."},fixable:`code`,messages:{dataLowercaseRequired:`React does not recognize data-* props with uppercase characters on a DOM element. Found '{{name}}', use '{{lowerCaseName}}' instead`,invalidPropOnTag:`Invalid property '{{name}}' found on tag '{{tagName}}', but it is only allowed on: {{allowedTags}}`,unknownProp:`Unknown property '{{name}}' found`,unknownPropWithStandardName:`Unknown property '{{name}}' found, use '{{standardName}}' instead`},schema:[{type:`object`,additionalProperties:!1,properties:{ignore:{type:`array`,items:{type:`string`}},requireDataLowercase:{type:`boolean`,default:!1}}}]},name:`no-unknown-property`,create:Oqe,defaultOptions:[]});function Oqe(e){function t(){return e.options[0]?.ignore||aqe.ignore}function n(){return e.options[0]&&e.options[0].requireDataLowercase!==void 0?!!e.options[0].requireDataLowercase:aqe.requireDataLowercase}return{JSXAttribute(r){let i=t(),a=Tqe(e,r.name);if(i.indexOf(a)>=0)return;let o=_qe(a);if(Sqe(r))return;if(vqe(o)){n()&&yqe(o)&&e.report({node:r,messageId:`dataLowercaseRequired`,data:{name:a,lowerCaseName:a.toLowerCase()}});return}if(bqe(o))return;let s=xqe(r);if(s===`fbt`||s===`fbs`||!gqe(r))return;let c=wqe(cqe,o)?cqe[o]:null;if(s&&c){c.indexOf(s)===-1&&e.report({node:r,messageId:`invalidPropOnTag`,data:{name:a,allowedTags:c.join(`, `),tagName:s}});return}let l=Cqe(o,e),u=!!l&&l!==o;if(!(l&&l===o)){if(u){e.report({node:r,messageId:`unknownPropWithStandardName`,data:{name:a,standardName:l},fix(e){return e.replaceText(r.name,l)}});return}e.report({node:r,messageId:`unknownProp`,data:{name:a}})}}}}const kqe=[],Aqe=[`allow-scripts`,`allow-same-origin`];function jqe(e){return typeof e==`string`?Aqe.every(t=>e.includes(t)):!1}var Mqe=X9({meta:{type:`problem`,docs:{description:"Enforces `sandbox` attribute for `iframe` elements is not set to unsafe combinations.",[Symbol.for(`rule_features`)]:kqe},messages:{noUnsafeIframeSandbox:`Unsafe 'sandbox' attribute value on 'iframe' component.`},schema:[]},name:`no-unsafe-iframe-sandbox`,create:Nqe,defaultOptions:[]});function Nqe(e){let t=dKe(e);return{JSXElement(n){if(t.resolve(n).domElementType!==`iframe`)return;let r=w9(e,n)(`sandbox`);if(r==null)return;let i=T9(e,r);jqe(i.toStatic(`sandbox`))&&e.report({messageId:`noUnsafeIframeSandbox`,node:i.node??r})}}}const Pqe=[`FIX`];function Fqe(e){return typeof e==`string`?e.startsWith(`https://`)||/^(?:\w+:|\/\/)/u.test(e):!1}function Iqe(e){return typeof e==`string`?e===`noreferrer`||/\bnoreferrer\b/u.test(e):!1}var Lqe=X9({meta:{type:`problem`,docs:{description:'Disallow `target="_blank"` without `rel="noreferrer noopener"`.',[Symbol.for(`rule_features`)]:Pqe},fixable:`code`,hasSuggestions:!0,messages:{addRelNoreferrerNoopener:`Add 'rel="noreferrer noopener"' to the link to prevent security risks.`,noUnsafeTargetBlank:`Using 'target="_blank"' on an external link without 'rel="noreferrer noopener"' is a security risk.`},schema:[]},name:`no-unsafe-target-blank`,create:Rqe,defaultOptions:[]});function Rqe(e){let t=dKe(e);return{JSXElement(n){let{domElementType:r}=t.resolve(n);if(r!==`a`)return;let i=w9(e,n),a=i(`target`);if(a==null||T9(e,a).toStatic(`target`)!==`_blank`)return;let o=i(`href`);if(o==null||!Fqe(T9(e,o).toStatic(`href`)))return;let s=i(`rel`);if(s==null){e.report({messageId:`noUnsafeTargetBlank`,node:n.openingElement,suggest:[{messageId:`addRelNoreferrerNoopener`,fix(e){return e.insertTextAfter(n.openingElement.name,` rel="noreferrer noopener"`)}}]});return}Iqe(T9(e,s).toStatic(`rel`))||e.report({messageId:`noUnsafeTargetBlank`,node:s,suggest:[{messageId:`addRelNoreferrerNoopener`,fix(e){return e.replaceText(s,`rel="noreferrer noopener"`)}}]})}}}const zqe=[`MOD`];var Bqe=X9({meta:{type:`problem`,docs:{description:"Replaces usages of `useFormState` with `useActionState`.",[Symbol.for(`rule_features`)]:zqe},fixable:`code`,messages:{noUseFormState:`[Deprecated] Use 'useActionState' from 'react' package instead.`},schema:[]},name:`no-use-form-state`,create:Vqe,defaultOptions:[]});function Vqe(e){if(!e.sourceCode.text.includes(`useFormState`)||(0,oKe.compare)(Z7(e).version,`19.0.0`,`<`))return{};let t=new Set,n=new Set;return{CallExpression(r){switch(!0){case r.callee.type===Y9.AST_NODE_TYPES.Identifier&&n.has(r.callee.name):e.report({messageId:`noUseFormState`,node:r,fix:Hqe(e,r)});return;case r.callee.type===Y9.AST_NODE_TYPES.MemberExpression&&r.callee.object.type===Y9.AST_NODE_TYPES.Identifier&&r.callee.property.type===Y9.AST_NODE_TYPES.Identifier&&r.callee.property.name===`useFormState`&&t.has(r.callee.object.name):e.report({messageId:`noUseFormState`,node:r,fix:Hqe(e,r)});return}},ImportDeclaration(e){let[r]=e.source.value.split(`/`);if(r===`react-dom`)for(let r of e.specifiers)switch(r.type){case Y9.AST_NODE_TYPES.ImportSpecifier:if(r.imported.type!==Y9.AST_NODE_TYPES.Identifier)continue;r.imported.name===`useFormState`&&n.add(r.local.name);continue;case Y9.AST_NODE_TYPES.ImportDefaultSpecifier:case Y9.AST_NODE_TYPES.ImportNamespaceSpecifier:t.add(r.local.name);continue}}}}function Hqe(e,t){let{importSource:n}=Z7(e);return r=>[r.insertTextBefore(e.sourceCode.ast,`import { useActionState } from "${n}";\n`),r.replaceText(t.callee,`useActionState`)]}const Uqe=[],Wqe=new Set([`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`keygen`,`link`,`menuitem`,`meta`,`param`,`source`,`track`,`wbr`]);var Gqe=X9({meta:{type:`problem`,docs:{description:"Disallow `children` in void DOM elements.",[Symbol.for(`rule_features`)]:Uqe},messages:{noVoidElementsWithChildren:`'{{elementType}}' is a void element tag and must not have children.`},schema:[]},name:`no-void-elements-with-children`,create:Kqe,defaultOptions:[]});function Kqe(e){let t=dKe(e);return{JSXElement(n){let{domElementType:r}=t.resolve(n);if(!Wqe.has(r))return;let i=w9(e,n),a=i(`children`)!=null,o=i(`dangerouslySetInnerHTML`)!=null;(n.children.length>0||a||o)&&e.report({messageId:`noVoidElementsWithChildren`,node:n,data:{elementType:r}})}}}const qqe=[`FIX`];var Jqe=X9({meta:{type:`problem`,docs:{description:`Enforces React Dom is imported via a namespace import.`,[Symbol.for(`rule_features`)]:qqe},fixable:`code`,messages:{preferNamespaceImport:`Prefer importing React DOM via a namespace import.`},schema:[]},name:`prefer-namespace-import`,create:Xqe,defaultOptions:[]});const Yqe=[`react-dom`,`react-dom/client`,`react-dom/server`];function Xqe(e){return{"ImportDeclaration ImportDefaultSpecifier"(t){let n=t.parent.source.value;if(!Yqe.includes(n))return;let r=t.parent.specifiers.length>1;e.report({messageId:`preferNamespaceImport`,node:r?t:t.parent,data:{importSource:n},fix(i){let a=e.sourceCode.getText(t.parent),o=a.endsWith(`;`)?`;`:``,s=t.parent.source.raw.at(0)??`'`,c=`import${t.parent.importKind===`type`?` type`:``}`,l=`${s}${n}${s}`;if(!r)return i.replaceText(t.parent,`${c} * as ${t.local.name} from ${l}${o}`);let u=a.slice(a.indexOf(`{`),a.indexOf(`}`)+1);return i.replaceText(t.parent,[`${c} * as ${t.local.name} from ${l}${o}`,`${c} ${u} from ${l}${o}`].join(`
|
|
786
|
-
`))}})}}}const Zqe={meta:{name:lKe,version:uKe},rules:{"no-dangerously-set-innerhtml":hKe,"no-dangerously-set-innerhtml-with-children":vKe,"no-find-dom-node":CKe,"no-flush-sync":DKe,"no-hydrate":jKe,"no-missing-button-type":LKe,"no-missing-iframe-sandbox":BKe,"no-namespace":UKe,"no-render":KKe,"no-render-return-value":ZKe,"no-script-url":eqe,"no-string-style-prop":rqe,"no-unknown-property":Dqe,"no-unsafe-iframe-sandbox":Mqe,"no-unsafe-target-blank":Lqe,"no-use-form-state":Bqe,"no-void-elements-with-children":Gqe,"prefer-namespace-import":Jqe}};var Qqe=cKe({name:()=>$qe,plugins:()=>tJe,rules:()=>eJe,settings:()=>nJe});const $qe=`react-dom/recommended`,eJe={"react-dom/no-dangerously-set-innerhtml":`warn`,"react-dom/no-dangerously-set-innerhtml-with-children":`error`,"react-dom/no-find-dom-node":`error`,"react-dom/no-flush-sync":`error`,"react-dom/no-hydrate":`error`,"react-dom/no-namespace":`error`,"react-dom/no-render":`error`,"react-dom/no-render-return-value":`error`,"react-dom/no-script-url":`warn`,"react-dom/no-unsafe-iframe-sandbox":`warn`,"react-dom/no-use-form-state":`error`,"react-dom/no-void-elements-with-children":`error`},tJe={"react-dom":Zqe},nJe={"react-x":nPe};var rJe=cKe({name:()=>iJe,plugins:()=>oJe,rules:()=>aJe,settings:()=>sJe});const iJe=`react-dom/strict`,aJe={...eJe,"react-dom/no-missing-button-type":`warn`,"react-dom/no-missing-iframe-sandbox":`warn`,"react-dom/no-unsafe-target-blank":`warn`},oJe={...tJe},sJe={...nJe},{toFlatConfig:cJe}=RNe(`react-dom`,Zqe);var lJe={...Zqe,configs:{recommended:cJe(Qqe),strict:cJe(rJe)}},Z9=e(z2(),1),uJe=e(T0(),1),dJe=Object.defineProperty,fJe=(e=>{let t={};for(var n in e)dJe(t,n,{get:e[n],enumerable:!0});return t})({name:()=>pJe,rules:()=>mJe,settings:()=>hJe});const pJe=`react-web-api/recommended`,mJe={"react-web-api/no-leaked-event-listener":`warn`,"react-web-api/no-leaked-interval":`warn`,"react-web-api/no-leaked-resize-observer":`warn`,"react-web-api/no-leaked-timeout":`warn`},hJe={"react-x":nPe};var gJe=`eslint-plugin-react-web-api`,_Je=`2.2.3`;function vJe(e){return`${zNe}/docs/rules/web-api-${e}`}const yJe=Z9.ESLintUtils.RuleCreator(vJe),bJe=[],xJe={capture:!1,signal:void 0};function SJe(e){switch(!0){case e.callee.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`addEventListener`,`removeEventListener`,`abort`))(e.callee.name):return e.callee.name;case e.callee.type===Z9.AST_NODE_TYPES.MemberExpression&&e.callee.property.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`addEventListener`,`removeEventListener`,`abort`))(e.callee.property.name):return e.callee.property.name;default:return`other`}}function CJe(e){return lze(e)??`other`}function wJe(e,t){if(e!=null)switch(e.type){case Z9.AST_NODE_TYPES.Identifier:return wJe(h9(_9(e,t),0),t);case Z9.AST_NODE_TYPES.MemberExpression:return e;default:return}}function TJe(e,t){function n(e,n){return BLe(n,e,t)}function r(e,n=e=>!0){if(e?.type!==Z9.AST_NODE_TYPES.Property)return;let{value:r}=e,i=r;switch(r.type){case Z9.AST_NODE_TYPES.Literal:i=r.value;break;default:i=(0,uJe.getStaticValue)(r,t)?.value;break}return n(i)?i:void 0}function i(e){switch(e.type){case Z9.AST_NODE_TYPES.Identifier:{let n=h9(_9(e,t),0);return n?.type===Z9.AST_NODE_TYPES.ObjectExpression?i(n):xJe}case Z9.AST_NODE_TYPES.Literal:return{...xJe,capture:!!e.value};case Z9.AST_NODE_TYPES.ObjectExpression:{let i=!!r(n(e.properties,`capture`)),a=n(e.properties,`signal`);return{capture:i,signal:a?.type===Z9.AST_NODE_TYPES.Property?wJe(a.value,t):void 0}}default:return xJe}}return i(e)}var EJe=yJe({meta:{type:`problem`,docs:{description:"Prevents leaked `addEventListener` in a component or custom Hook.",[Symbol.for(`rule_features`)]:bJe},messages:{expectedRemoveEventListenerInCleanup:`An 'addEventListener' in '{{effectMethodKind}}' should have a corresponding 'removeEventListener' in its cleanup function.`,expectedRemoveEventListenerInUnmount:`An 'addEventListener' in 'componentDidMount' should have a corresponding 'removeEventListener' in 'componentWillUnmount' method.`,unexpectedInlineFunction:`A/an '{{eventMethodKind}}' should not have an inline listener function.`},schema:[]},name:`no-leaked-event-listener`,create:DJe,defaultOptions:[]});function DJe(e){if(!e.sourceCode.text.includes(`addEventListener`)||!/use\w*Effect|componentDidMount|componentWillUnmount/u.test(e.sourceCode.text))return{};let t=[],n=[],r=[],i=[];function a(e,t){switch(!0){case e.type===Z9.AST_NODE_TYPES.MemberExpression&&t.type===Z9.AST_NODE_TYPES.MemberExpression:return o9(e.object,t.object);default:return!1}}function o(t,n){let{type:r,callee:i,capture:o,listener:s,phase:c}=t,{type:l,callee:u,capture:d,listener:f,phase:p}=n;return cze(c,p)?a(i,u)&&o9(s,f)&&ULe(r,l,[e.sourceCode.getScope(r),e.sourceCode.getScope(l)])&&o===d:!1}function s(t,n,r){let i=t.arguments.at(1);l9(i)&&r.signal==null&&e.report({messageId:`unexpectedInlineFunction`,node:i,data:{eventMethodKind:n}})}return{":function"(e){let n=CJe(e);t.push({kind:n,node:e})},":function:exit"(){t.pop()},CallExpression(a){let o=t.findLast(e=>e.kind!==`other`)?.kind;o!=null&&F9.has(o)&&c5(SJe(a)).with(`addEventListener`,t=>{let[r,i,c]=a.arguments;if(r==null||i==null)return;let l=c==null?xJe:TJe(c,e.sourceCode.getScope(c)),{callee:u}=a;s(a,t,l),n.push({...l,type:r,node:a,callee:u,listener:i,method:`addEventListener`,phase:o})}).with(`removeEventListener`,t=>{let[n,i,c]=a.arguments;if(n==null||i==null)return;let l=c==null?xJe:TJe(c,e.sourceCode.getScope(c)),{callee:u}=a;s(a,t,l),r.push({...l,type:n,node:a,callee:u,listener:i,method:`removeEventListener`,phase:o})}).with(`abort`,()=>{i.push(a.callee)}).otherwise(()=>null)},"Program:exit"(){for(let t of n){let n=t.signal;if(!(n!=null&&i.some(e=>a(e,n)))&&!r.some(e=>o(t,e)))switch(t.phase){case`setup`:case`cleanup`:e.report({messageId:`expectedRemoveEventListenerInCleanup`,node:t.node,data:{effectMethodKind:`useEffect`}});continue;case`mount`:case`unmount`:e.report({messageId:`expectedRemoveEventListenerInUnmount`,node:t.node});continue}}}}}const OJe=[];function kJe(e){switch(!0){case e.callee.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`setInterval`,`clearInterval`))(e.callee.name):return e.callee.name;case e.callee.type===Z9.AST_NODE_TYPES.MemberExpression&&e.callee.property.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`setInterval`,`clearInterval`))(e.callee.property.name):return e.callee.property.name;default:return`other`}}var AJe=yJe({meta:{type:`problem`,docs:{description:"Prevents leaked `setInterval` in a component or custom Hook.",[Symbol.for(`rule_features`)]:OJe},messages:{expectedClearIntervalInCleanup:`A 'setInterval' created in '{{ kind }}' must be cleared with 'clearInterval' in the cleanup function.`,expectedClearIntervalInUnmount:`A 'setInterval' created in '{{ kind }}' must be cleared with 'clearInterval' in the 'componentWillUnmount' method.`,expectedIntervalId:`A 'setInterval' must be assigned to a variable for proper cleanup.`},schema:[]},name:`no-leaked-interval`,create:jJe,defaultOptions:[]});function jJe(e){if(!e.sourceCode.text.includes(`setInterval`))return{};let t=[],n=[],r=[];function i(t,n){return A9(e,t.timerId,n.timerId)}return{":function"(e){let n=lze(e)??`other`;t.push({kind:n,node:e})},":function:exit"(){t.pop()},CallExpression(i){switch(kJe(i)){case`setInterval`:{let r=t.findLast(e=>e.kind!==`other`);if(r==null||!F9.has(r.kind))break;let a=zLe(i);if(a==null){e.report({messageId:`expectedIntervalId`,node:i});break}n.push({kind:`interval`,node:i,callee:i.callee,phase:r.kind,timerId:a});break}case`clearInterval`:{let e=t.findLast(e=>e.kind!==`other`);if(e==null||!F9.has(e.kind))break;let[n]=i.arguments;if(n==null)break;r.push({kind:`interval`,node:i,callee:i.callee,phase:e.kind,timerId:n});break}}},"Program:exit"(){for(let t of n)if(!r.some(e=>i(t,e)))switch(t.phase){case`setup`:case`cleanup`:e.report({messageId:`expectedClearIntervalInCleanup`,node:t.node,data:{kind:`useEffect`}});continue;case`mount`:case`unmount`:e.report({messageId:`expectedClearIntervalInUnmount`,node:t.node,data:{kind:`componentDidMount`}});continue}}}}const MJe=[];function NJe(e){return e?.type===Z9.AST_NODE_TYPES.NewExpression&&e.callee.type===Z9.AST_NODE_TYPES.Identifier&&e.callee.name===`ResizeObserver`}function PJe(e,t){switch(!0){case t.type===Z9.AST_NODE_TYPES.Identifier:return NJe(h9(_9(t,e.sourceCode.getScope(t)),0));case t.type===Z9.AST_NODE_TYPES.MemberExpression:return PJe(e,t.object);default:return!1}}function FJe(e,t){switch(!0){case t.callee.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`observe`,`unobserve`,`disconnect`))(t.callee.name)&&PJe(e,t.callee):return t.callee.name;case t.callee.type===Z9.AST_NODE_TYPES.MemberExpression&&t.callee.property.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`observe`,`unobserve`,`disconnect`))(t.callee.property.name)&&PJe(e,t.callee):return t.callee.property.name;default:return`other`}}function IJe(e){return lze(e)??`other`}var LJe=yJe({meta:{type:`problem`,docs:{description:"Prevents leaked `ResizeObserver` in a component or custom Hook.",[Symbol.for(`rule_features`)]:MJe},messages:{expectedDisconnectInControlFlow:`Dynamically added 'ResizeObserver.observe' should be cleared all at once using 'ResizeObserver.disconnect' in the cleanup function.`,expectedDisconnectOrUnobserveInCleanup:`A 'ResizeObserver' instance created in 'useEffect' must be disconnected in the cleanup function.`,unexpectedFloatingInstance:`A 'ResizeObserver' instance created in component or custom Hook must be assigned to a variable for proper cleanup.`},schema:[]},name:`no-leaked-resize-observer`,create:RJe,defaultOptions:[]});function RJe(e){if(!e.sourceCode.text.includes(`ResizeObserver`))return{};let t=[],n=[],r=[],i=[],a=[];return{":function"(e){let n=IJe(e);t.push({kind:n,node:e})},":function:exit"(){t.pop()},CallExpression(n){if(n.callee.type!==Z9.AST_NODE_TYPES.MemberExpression)return;let o=t.findLast(e=>e.kind!==`other`)?.kind;if(o==null||!F9.has(o))return;let{object:s}=n.callee;c5(FJe(e,n)).with(`disconnect`,()=>{a.push({kind:`ResizeObserver`,node:n,callee:n.callee,method:`disconnect`,observer:s,phase:o})}).with(`observe`,()=>{let[e]=n.arguments;e!=null&&r.push({kind:`ResizeObserver`,node:n,callee:n.callee,element:e,method:`observe`,observer:s,phase:o})}).with(`unobserve`,()=>{let[e]=n.arguments;e!=null&&i.push({kind:`ResizeObserver`,node:n,callee:n.callee,element:e,method:`unobserve`,observer:s,phase:o})}).otherwise(()=>null)},NewExpression(r){let i=t.findLast(e=>e.kind!==`other`);if(i==null||!F9.has(i.kind)||!NJe(r))return;let a=LRe(r);if(a==null){e.report({messageId:`unexpectedFloatingInstance`,node:r});return}n.push({id:a,node:r,phase:i.kind,phaseNode:i.node})},"Program:exit"(){for(let{id:t,node:o,phaseNode:s}of n){if(a.some(n=>A9(e,n.observer,t)))continue;let n=r.filter(n=>A9(e,n.observer,t)),c=i.filter(n=>A9(e,n.observer,t)),l=e=>e?.type===Z9.AST_NODE_TYPES.CallExpression||pLe(e),u=e=>e===s;if(n.some(e=>!u(d9(e.node,Gke(l,u))))){e.report({messageId:`expectedDisconnectInControlFlow`,node:o});continue}for(let t of n)c.some(n=>A9(e,n.element,t.element))||e.report({messageId:`expectedDisconnectOrUnobserveInCleanup`,node:t.node})}}}}const zJe=[];function BJe(e){switch(!0){case e.callee.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`setTimeout`,`clearTimeout`))(e.callee.name):return e.callee.name;case e.callee.type===Z9.AST_NODE_TYPES.MemberExpression&&e.callee.property.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`setTimeout`,`clearTimeout`))(e.callee.property.name):return e.callee.property.name;default:return`other`}}var VJe=yJe({meta:{type:`problem`,docs:{description:"Prevents leaked `setTimeout` in a component or custom Hook.",[Symbol.for(`rule_features`)]:zJe},messages:{expectedClearTimeoutInCleanup:`A 'setTimeout' created in '{{ kind }}' must be cleared with 'clearTimeout' in the cleanup function.`,expectedClearTimeoutInUnmount:`A 'setTimeout' created in '{{ kind }}' must be cleared with 'clearTimeout' in the 'componentWillUnmount' method.`,expectedTimeoutId:`A 'setTimeout' must be assigned to a variable for proper cleanup.`},schema:[]},name:`no-leaked-timeout`,create:HJe,defaultOptions:[]});function HJe(e){if(!e.sourceCode.text.includes(`setTimeout`))return{};let t=[],n=[],r=[];function i(t,n){return A9(e,t.timerId,n.timerId)}return{":function"(e){let n=lze(e)??`other`;t.push({kind:n,node:e})},":function:exit"(){t.pop()},CallExpression(i){let a=t.findLast(e=>e.kind!==`other`);if(F9.has(a?.kind))switch(BJe(i)){case`setTimeout`:{let t=zLe(i);if(t==null){e.report({messageId:`expectedTimeoutId`,node:i});break}n.push({kind:`timeout`,node:i,callee:i.callee,phase:a.kind,timerId:t});break}case`clearTimeout`:{let[e]=i.arguments;if(e==null)break;r.push({kind:`timeout`,node:i,callee:i.callee,phase:a.kind,timerId:e});break}}},"Program:exit"(){for(let t of n)if(!r.some(e=>i(t,e)))switch(t.phase){case`setup`:case`cleanup`:e.report({messageId:`expectedClearTimeoutInCleanup`,node:t.node,data:{kind:`useEffect`}});continue;case`mount`:case`unmount`:e.report({messageId:`expectedClearTimeoutInUnmount`,node:t.node,data:{kind:`componentDidMount`}});continue}}}}const UJe={meta:{name:gJe,version:_Je},rules:{"no-leaked-event-listener":EJe,"no-leaked-interval":AJe,"no-leaked-resize-observer":LJe,"no-leaked-timeout":VJe}},{toFlatConfig:WJe}=RNe(`react-web-api`,UJe);var GJe={...UJe,configs:{recommended:WJe(fJe)}},KJe=e(z2(),1),Q9=e(we(),1),$9=e(JPe(),1),qJe=Object.defineProperty,JJe=(e=>{let t={};for(var n in e)qJe(t,n,{get:e[n],enumerable:!0});return t})({name:()=>YJe,rules:()=>XJe});const YJe=`react-naming-convention/recommended`,XJe={"react-naming-convention/context-name":`warn`,"react-naming-convention/use-state":`warn`};var ZJe=`eslint-plugin-react-naming-convention`,QJe=`2.2.3`;function $Je(e){return`${zNe}/docs/rules/naming-convention-${e}`}const eYe=KJe.ESLintUtils.RuleCreator($Je),tYe=[{allowAllCaps:!1,excepts:[],rule:`PascalCase`}],nYe=[{anyOf:[{type:`string`,enum:[`PascalCase`,`CONSTANT_CASE`]},{type:`object`,additionalProperties:!1,properties:{allowAllCaps:{type:`boolean`},excepts:{type:`array`,items:{type:`string`,format:`regex`}},rule:{type:`string`,enum:[`PascalCase`,`CONSTANT_CASE`]}}}]}];var rYe=eYe({meta:{type:`problem`,defaultOptions:[...tYe],docs:{description:`Enforces naming conventions for components.`},messages:{invalidComponentName:`A component name '{{name}}' does not match {{rule}}.`},schema:nYe},name:`component-name`,create:iYe,defaultOptions:tYe});function iYe(e){let t=aYe(e.options),{rule:n}=t,r=M9(e),i=N9();return{...r.listeners,...i.listeners,"Program:exit"(a){let o=r.ctx.getAllComponents(a),s=i.ctx.getAllComponents(a);for(let{node:r}of o.values()){let i=f9(r);if(i?.name==null)continue;let a=i.name;oYe(a,t)||e.report({messageId:`invalidComponentName`,node:i,data:{name:a,rule:n}})}for(let{node:r}of s.values()){let i=sLe(r);if(i?.name==null)continue;let a=i.name;oYe(a,t)||e.report({messageId:`invalidComponentName`,node:i,data:{name:a,rule:n}})}}}}function aYe(e){let t=e[0],n=tYe[0];return t==null?n:{...n,...typeof t==`string`?{rule:t}:{...t,excepts:t.excepts?.map(e=>ePe(e))??[]}}}function oYe(e,t){if(e==null||t.excepts.some(t=>t.test(e)))return!0;let n=e.split(`.`).at(-1)??e;switch(t.rule){case`CONSTANT_CASE`:return WNe.test(n);case`PascalCase`:return n.length>3&&/^[A-Z]+$/u.test(n)?t.allowAllCaps:BNe.test(n)}}var sYe=eYe({meta:{type:`problem`,docs:{description:"Enforces context name to be a valid component name with the suffix `Context`."},messages:{invalidContextName:`A context name must be a valid component name with the suffix 'Context'.`},schema:[]},name:`context-name`,create:cYe,defaultOptions:[]});function cYe(e){return e.sourceCode.text.includes(`createContext`)?{CallExpression(t){if(!nRe(e,t))return;let n=LRe(t);if(n==null)return;let r=c5(n).with({type:Q9.AST_NODE_TYPES.Identifier,name:s5.select()},N8).with({type:Q9.AST_NODE_TYPES.MemberExpression,property:{name:s5.select(s5.string)}},N8).otherwise(()=>null);r!=null&&WRe(r)&&r.endsWith(`Context`)||e.report({messageId:`invalidContextName`,node:n})}}:{}}const lYe=[{excepts:[`index`,String.raw`/^_/`,String.raw`/^\$/`,String.raw`/^[0-9]+$/`,String.raw`/^\[[^\]]+\]$/`],rule:`PascalCase`}],uYe=[{anyOf:[{type:`string`,enum:[`PascalCase`,`camelCase`,`kebab-case`,`snake_case`]},{type:`object`,additionalProperties:!1,properties:{excepts:{type:`array`,items:{type:`string`,format:`regex`}},extensions:{type:`array`,items:{type:`string`},uniqueItems:!0},rule:{type:`string`,enum:[`PascalCase`,`camelCase`,`kebab-case`,`snake_case`]}}}]}];var dYe=eYe({meta:{type:`problem`,defaultOptions:[...lYe],docs:{description:`Enforces consistent file naming conventions.`},messages:{empty:`A file must have non-empty name.`,invalidCase:`A file with name '{{name}}' does not match {{rule}}. Rename it to '{{suggestion}}'.`},schema:uYe},name:`filename`,create:fYe,defaultOptions:lYe});function fYe(e){let t=e.options[0]??lYe[0],n=typeof t==`string`?t:t.rule??`PascalCase`,r=typeof t==`string`?[]:(t.excepts??[]).map(e=>ePe(e));function i(e,t=n,i=r){if(i.some(t=>t.test(e)))return!0;let a=e.match(/[\w.-]/gu)?.join(``)??``;return a.length===0?!0:c5(t).with(`PascalCase`,()=>BNe.test(a)).with(`camelCase`,()=>VNe.test(a)).with(`kebab-case`,()=>HNe.test(a)).with(`snake_case`,()=>UNe.test(a)).exhaustive()}function a(e,t=n){return c5(t).with(`PascalCase`,()=>(0,$9.pascalCase)(e)).with(`camelCase`,()=>(0,$9.camelCase)(e)).with(`kebab-case`,()=>(0,$9.kebabCase)(e)).with(`snake_case`,()=>(0,$9.snakeCase)(e)).exhaustive()}return{Program(t){let[r=``,...o]=d.basename(e.filename).split(`.`);if(r.length===0){e.report({messageId:`empty`,node:t});return}i(r)||e.report({messageId:`invalidCase`,node:t,data:{name:e.filename,rule:n,suggestion:[a(r),...o].join(`.`)}})}}}const pYe=[{allow:`as-needed`,extensions:[`.jsx`,`.tsx`],ignoreFilesWithoutCode:!1}],mYe=[{anyOf:[{type:`string`,enum:[`always`,`as-needed`]},{type:`object`,additionalProperties:!1,properties:{allow:{type:`string`,enum:[`always`,`as-needed`]},extensions:{type:`array`,items:{type:`string`},uniqueItems:!0},ignoreFilesWithoutCode:{type:`boolean`}}}]}];var hYe=eYe({meta:{type:`problem`,defaultOptions:[...pYe],docs:{description:`Enforces consistent file naming conventions.`},messages:{missingJSXExtension:`Use {{extensions}} file extension for JSX files.`,unnecessaryJSXExtension:`Do not use {{extensions}} file extension for files without JSX.`},schema:mYe},name:`filename-extension`,create:gYe,defaultOptions:pYe});function gYe(e){let t=e.options[0]??pYe[0],n=M8(t)?t.allow:t,r=M8(t)&&`extensions`in t?t.extensions:pYe[0].extensions,i=r.map(e=>`'${e}'`).join(`, `),a=e.filename,o=!1;return{JSXElement(){o=!0},JSXFragment(){o=!0},"Program:exit"(s){let c=a.slice(a.lastIndexOf(`.`)),l=r.includes(c);if(o&&!l){e.report({messageId:`missingJSXExtension`,node:s,data:{extensions:i}});return}let u=s.body.length>0,d=M8(t)&&t.ignoreFilesWithoutCode===!0;!u&&d||!o&&l&&n===`as-needed`&&e.report({messageId:`unnecessaryJSXExtension`,node:s,data:{extensions:i}})}}}const _Ye=[];var vYe=eYe({meta:{type:`problem`,docs:{description:"Enforces destructuring and symmetric naming of `useState` hook value and setter.",[Symbol.for(`rule_features`)]:_Ye},messages:{invalidAssignment:`useState should be destructured into a value and setter pair, e.g., const [state, setState] = useState(...).`,invalidSetterName:`The setter should be named 'set' followed by the capitalized state variable name, e.g., 'setState' for 'state'.`},schema:[]},name:`use-state`,create:yYe,defaultOptions:[]});function yYe(e){return{CallExpression(t){if(!hRe(t))return;if(t.parent.type!==Q9.AST_NODE_TYPES.VariableDeclarator){e.report({messageId:`invalidAssignment`,node:t});return}let n=LRe(t);if(n?.type!==Q9.AST_NODE_TYPES.ArrayPattern){e.report({messageId:`invalidAssignment`,node:n??t});return}let[r,i]=n.elements;if(r==null||i==null){e.report({messageId:`invalidAssignment`,node:n});return}let a=c5(i).with({type:Q9.AST_NODE_TYPES.Identifier},e=>e.name).otherwise(()=>null);if(a==null||!a.startsWith(`set`)){e.report({messageId:`invalidSetterName`,node:i});return}let o=c5(r).with({type:Q9.AST_NODE_TYPES.Identifier},({name:e})=>(0,$9.snakeCase)(e)).with({type:Q9.AST_NODE_TYPES.ObjectPattern},({properties:e})=>e.reduce((e,t)=>t.type===Q9.AST_NODE_TYPES.Property&&t.key.type===Q9.AST_NODE_TYPES.Identifier?[...e,t.key.name]:e,[]).join(`_`)).otherwise(()=>null);if(o==null){e.report({messageId:`invalidSetterName`,node:r});return}if((0,$9.snakeCase)(a)!==`set_${o}`){e.report({messageId:`invalidSetterName`,node:i});return}}}}const bYe={meta:{name:ZJe,version:QJe},rules:{"component-name":rYe,"context-name":sYe,filename:dYe,"filename-extension":hYe,"use-state":vYe}},{toFlatConfig:xYe}=RNe(`react-naming-convention`,bYe);var SYe={...bYe,configs:{recommended:xYe(JJe)}},CYe=i(((e,t)=>{var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},s=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},c=e=>s(n({},`__esModule`,{value:!0}),e),l={};o(l,{configs:()=>_,default:()=>v,rules:()=>h}),t.exports=c(l);var u=/^[A-Z][a-zA-Z0-9]*$/u,d={meta:{messages:{exportAll:"This rule can't verify that `export *` only exports components.",namedExport:`Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.`,anonymousExport:`Fast refresh can't handle anonymous components. Add a name to your export.`,localComponents:`Fast refresh only works when a file only exports components. Move your component(s) to a separate file.`,noExport:`Fast refresh only works when a file has exports. Move your component(s) to a separate file.`,reactContext:`Fast refresh only works when a file only exports components. Move your React context(s) to a separate file.`},type:`problem`,schema:[{type:`object`,properties:{allowExportNames:{type:`array`,items:{type:`string`}},allowConstantExport:{type:`boolean`},customHOCs:{type:`array`,items:{type:`string`}},checkJS:{type:`boolean`}},additionalProperties:!1}]},defaultOptions:[],create:e=>{let{allowExportNames:t,allowConstantExport:n=!1,customHOCs:r=[],checkJS:i=!1}=e.options[0]??{},a=e.filename;if(a.includes(`.test.`)||a.includes(`.spec.`)||a.includes(`.cy.`)||a.includes(`.stories.`)||!(a.endsWith(`.jsx`)||a.endsWith(`.tsx`)||i&&a.endsWith(`.js`)))return{};let o=t?new Set(t):void 0,s=[`memo`,`forwardRef`,...r],c=e=>{if(!e)return!1;let t=f(e);return t.type===`ArrowFunctionExpression`?!0:t.type===`CallExpression`&&t.callee.type===`Identifier`?s.includes(t.callee.name):!1};return{Program(t){let r=!1,a=!1,l=!1,d=[],h=[],g=[],_=(e,t,r)=>{if(e.type!==`Identifier`){h.push(e);return}if(!o?.has(e.name)&&!(n&&r&&p.has(f(r).type)))if(t)u.test(e.name)?a=!0:h.push(e);else{if(r&&r.type===`CallExpression`&&(r.callee.type===`Identifier`&&r.callee.name===`createContext`||r.callee.type===`MemberExpression`&&r.callee.property.type===`Identifier`&&r.callee.property.name===`createContext`)){g.push(e);return}if(r&&m.has(r.type)){h.push(e);return}u.test(e.name)?a=!0:h.push(e)}},v=e=>{if(!(e.callee.type===`CallExpression`&&e.callee.callee.type===`Identifier`&&e.callee.callee.name===`connect`||e.callee.type===`MemberExpression`&&e.callee.property.type===`Identifier`&&s.includes(e.callee.property.name)||e.callee.type===`Identifier`&&s.includes(e.callee.name))||e.arguments.length===0)return!1;let t=f(e.arguments[0]);switch(t.type){case`Identifier`:return!0;case`FunctionExpression`:return t.id?(_(t.id,!0),!0):!1;case`CallExpression`:return v(t);default:return!1}},y=t=>{if(t.type===`VariableDeclaration`)for(let e of t.declarations)_(e.id,c(e.init),e.init);else t.type===`FunctionDeclaration`?t.id===null?e.report({messageId:`anonymousExport`,node:t}):_(t.id,!0):t.type===`CallExpression`?v(t)?a=!0:e.report({messageId:`anonymousExport`,node:t}):t.type===`TSEnumDeclaration`&&h.push(t.id)};for(let n of t.body)if(n.type===`ExportAllDeclaration`){if(n.exportKind===`type`)continue;r=!0,e.report({messageId:`exportAll`,node:n})}else if(n.type===`ExportDefaultDeclaration`){r=!0;let t=f(n.declaration);(t.type===`VariableDeclaration`||t.type===`FunctionDeclaration`||t.type===`CallExpression`)&&y(t),t.type===`Identifier`&&_(t),t.type===`ArrowFunctionExpression`&&e.report({messageId:`anonymousExport`,node:n})}else if(n.type===`ExportNamedDeclaration`){if(n.exportKind===`type`)continue;r=!0,n.declaration&&y(f(n.declaration));for(let e of n.specifiers)_(e.exported.type===`Identifier`&&e.exported.name===`default`?e.local:e.exported)}else if(n.type===`VariableDeclaration`)for(let e of n.declarations)e.id.type===`Identifier`&&u.test(e.id.name)&&c(e.init)&&d.push(e.id);else n.type===`FunctionDeclaration`?u.test(n.id.name)&&d.push(n.id):n.type===`ImportDeclaration`&&n.source.value===`react`&&(l=!0);if(!(i&&!l)){if(r){if(a){for(let t of h)e.report({messageId:`namedExport`,node:t});for(let t of g)e.report({messageId:`reactContext`,node:t})}else if(d.length)for(let t of d)e.report({messageId:`localComponents`,node:t})}else if(d.length)for(let t of d)e.report({messageId:`noExport`,node:t})}}}}},f=e=>e.type===`TSAsExpression`||e.type===`TSSatisfiesExpression`?e.expression:e,p=new Set([`Literal`,`UnaryExpression`,`TemplateLiteral`,`BinaryExpression`]),m=new Set([`ArrayExpression`,`AwaitExpression`,`BinaryExpression`,`ChainExpression`,`ConditionalExpression`,`Literal`,`LogicalExpression`,`ObjectExpression`,`TemplateLiteral`,`ThisExpression`,`UnaryExpression`,`UpdateExpression`]),h={"only-export-components":d},g={rules:h},_={recommended:{name:`react-refresh/recommended`,plugins:{"react-refresh":g},rules:{"react-refresh/only-export-components":`error`}},vite:{name:`react-refresh/vite`,plugins:{"react-refresh":g},rules:{"react-refresh/only-export-components":[`error`,{allowConstantExport:!0}]}},next:{name:`react-refresh/vite`,plugins:{"react-refresh":g},rules:{"react-refresh/only-export-components":[`error`,{allowExportNames:[`experimental_ppr`,`dynamic`,`dynamicParams`,`revalidate`,`fetchCache`,`runtime`,`preferredRegion`,`maxDuration`,`metadata`,`generateMetadata`,`viewport`,`generateViewport`,`generateImageMetadata`,`generateSitemaps`,`generateStaticParams`]}]}}},v={rules:h,configs:_}})),wYe=i(((e,t)=>{let n=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`]),r=new Set([]),{onlyValidChildren:i,onlyValidParents:a,knownInvalidChildren:o,knownInvalidParents:s}={onlyValidChildren:{head:new Set([`base`,`basefront`,`bgsound`,`link`,`meta`,`title`,`noscript`,`noframes`,`style`,`script`,`template`]),optgroup:new Set([`option`]),select:new Set([`optgroup`,`option`]),math:new Set([`mrow`]),script:new Set,table:new Set([`caption`,`colgroup`,`tbody`,`tfoot`,`thead`]),tr:new Set([`td`,`th`]),colgroup:new Set([`col`]),tbody:new Set([`tr`]),thead:new Set([`tr`]),tfoot:new Set([`tr`]),iframe:r,option:r,textarea:r,style:r,title:r},onlyValidParents:{html:r,body:new Set([`html`]),head:new Set([`html`]),td:new Set([`tr`]),colgroup:new Set([`table`]),caption:new Set([`table`]),tbody:new Set([`table`]),tfoot:new Set([`table`]),col:new Set([`colgroup`]),th:new Set([`tr`]),thead:new Set([`table`]),tr:new Set([`tbody`,`thead`,`tfoot`]),dd:new Set([`dl`,`div`]),dt:new Set([`dl`,`div`]),figcaption:new Set([`figure`]),summary:new Set([`details`]),area:new Set([`map`])},knownInvalidChildren:{p:new Set(`address.article.aside.blockquote.center.details.dialog.dir.div.dl.fieldset.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.li.main.nav.menu.ol.p.pre.section.table.ul`.split(`.`)),svg:new Set(`b.blockquote.br.code.dd.div.dl.dt.em.embed.h1.h2.h3.h4.h5.h6.hr.i.img.li.menu.meta.ol.p.pre.ruby.s.small.span.strong.sub.sup.table.u.ul.var`.split(`.`))},knownInvalidParents:{a:new Set([`a`]),button:new Set([`button`]),dd:new Set([`dd`,`dt`]),dt:new Set([`dd`,`dt`]),form:new Set([`form`]),li:new Set([`li`]),h1:n,h2:n,h3:n,h4:n,h5:n,h6:n}};function c(e,t){return e in i?i[e].has(t):t in a?a[t].has(e):!(e in o&&o[e].has(t)||t in s&&s[t].has(e))}var l={isValidHTMLNesting:c};function u(e){return e[0]===e[0].toUpperCase()}function d(e){return typeof e==`object`&&!!e&&e.type===`JSXElement`}let f={meta:{type:`problem`},create(e){return{JSXElement(t){let n=t,r=t.parent,i=n.openingElement.name;if(i.type!==`JSXIdentifier`||u(i.name)||!d(r))return;let a=r.openingElement.name;a.type===`JSXIdentifier`&&(u(a.name)||l.isValidHTMLNesting(a.name,i.name)||e.report({node:t,message:`Invalid HTML nesting: <${i.name}> can not be child of <${a.name}>`}))}}}};t.exports={rules:{"no-invalid-jsx-nesting":f}}})),TYe=i((e=>{let t=[`env`,`extends`,`globals`,`ignorePatterns`,`noInlineConfig`,`overrides`,`parser`,`parserOptions`,`reportUnusedDisableDirectives`,`root`],n=new Set([`basePath`,`ignores`,`name`]);function r(e,t){return e.name?e.name:`UserConfig${t}`}function i(e,t){return typeof e==`string`?e:e.name?e.name:`ExtendedConfig${t}`}function a(e){if(Array.isArray(e.plugins))return!0;for(let n of t)if(n in e)return!0;return!1}function o(e){return Object.keys(e).every(e=>n.has(e))}function s(e){let t=e.indexOf(`/`);if(t===-1)return{namespace:``,name:e};let n=e.slice(0,t);if(n[0]===`@`&&n!==`@`){let r=e.indexOf(`/`,t+1);if(r!==-1)return n=e.slice(0,r),{namespace:n,name:e.slice(r+1)}}let r=e.slice(t+1);return{namespace:n,name:r}}function c(e,t,n){let r=t.meta?.namespace;if(!r||r===e||!n.rules&&!n.processor&&!n.language)return n;let i={...n};if(i.rules){let t=Object.keys(i.rules),n={};for(let a=0;a<t.length;a++){let o=t[a],{namespace:c,name:l}=s(o);c===r?n[`${e}/${l}`]=i.rules[o]:n[o]=i.rules[o]}i.rules=n}if(typeof i.processor==`string`){let{namespace:t,name:n}=s(i.processor);t&&t===r&&(i.processor=`${e}/${n}`)}if(typeof i.language==`string`){let{namespace:t,name:n}=s(i.language);t===r&&(i.language=`${e}/${n}`)}return i}function l(e,t,n,r){if(Array.isArray(n))return n.map(n=>l(e,t,n,r));if(a(n))throw TypeError(`Plugin config "${r}" is an eslintrc config and cannot be used in this context.`);return c(e,t,n)}function u(e,t){let{namespace:n,name:r}=s(t),i=e.plugins?.[n];if(!i)throw TypeError(`Plugin "${n}" not found.`);let o=i.configs?.[r];if(o&&(Array.isArray(o)||!a(o)))return l(n,i,o,t);let c=i.configs?.[`flat/${r}`];if(c&&(Array.isArray(c)||!a(c)))return l(n,i,c,t);let u=o||c?`Plugin config "${r}" in plugin "${n}" is an eslintrc config and cannot be used in this context.`:`Plugin config "${r}" not found in plugin "${n}".`;throw TypeError(u)}function*d(e,t=``){for(let n=0;n<e.length;n++){let r=t?`${t}[${n}]`:`[${n}]`;if(Array.isArray(e[n])){yield*d(e[n],r);continue}yield{indexPath:r,value:e[n]}}}function f(e=[],t=[]){if(!t.length)return e.concat();if(!e.length)return t.concat();let n=[];for(let r of e)for(let e of t){let t=[];Array.isArray(r)?t.push(...r):t.push(r),Array.isArray(e)?t.push(...e):t.push(e),n.push(t)}return n}function p(e,t,n,r){let i={...n};return o(n)||(e.files&&(i.files=f(e.files,n.files)),e.ignores&&(i.ignores=e.ignores.concat(n.ignores??[]))),i.name=`${t} > ${r}`,e.basePath&&(i.basePath=e.basePath),i}function m(e,t){if(!e.extends)return[e];if(!Array.isArray(e.extends))throw TypeError("The `extends` property must be an array.");let{extends:n,...r}=e,a=new WeakMap,s=n.map(t=>{if(typeof t==`string`){let n=u(e,t);return Array.isArray(n)?n.forEach((e,n)=>{a.set(e,`${t}[${n}]`)}):a.set(n,t),n}return t}),c=[];for(let{indexPath:n,value:o}of d(s)){let s=o;if(`basePath`in s)throw TypeError("'basePath' in `extends` is not allowed.");if(`extends`in s)throw TypeError(`Nested 'extends' is not allowed.`);let l=t.get(e),u=a.get(o)??i(o,n);c.push(p(r,l,s,u))}return o(r)||c.push(r),c.flat()}function h(e,t){return e.flatMap(e=>m(e,t))}function g(...e){let t=new WeakMap,n=[];if(e.length===0)throw TypeError(`Expected one or more arguments.`);for(let{indexPath:i,value:a}of d(e)){if(typeof a!=`object`||!a)throw TypeError(`Expected an object but received ${String(a)}.`);let e=a;t.set(e,r(e,i)),n.push(e)}return h(n,t)}let _=0;function v(e,t){if(!Array.isArray(e))throw TypeError(`ignorePatterns must be an array`);if(e.length===0)throw TypeError(`ignorePatterns must contain at least one pattern`);let n=_++;return{name:t||`globalIgnores ${n}`,ignores:e}}e.defineConfig=g,e.globalIgnores=v})),EYe=i(((e,t)=>{let{defineConfig:n,globalIgnores:r}=TYe();t.exports={defineConfig:n,globalIgnores:r}})),DYe=e(AV(),1),OYe=e(CYe(),1),kYe=e(wYe(),1),AYe=e(EYe(),1);const jYe=[`js`,`jsx`,`mjs`,`cjs`],MYe=[`ts`,`tsx`,`mts`,`cts`],NYe=[`jsx`,`tsx`],PYe=[`html`,`vue`,`md`];var FYe=(0,AYe.defineConfig)([{ignores:[`**/!.storybook/`,`**/*.snap`,`**/.air/`,`**/.git/`,`**/.ruff_cache/`,`**/.swc/`,`**/.venv/`,`**/build/`,`**/dist/`,`**/node_modules/`,`**/persistent/`,`**/vendor/`]},{files:[`**/*.{${[...jYe,...MYe].join(`,`)}}`],languageOptions:{ecmaVersion:`latest`,sourceType:`module`,globals:{...DYe.default.browser,...DYe.default.node},parser:b,parserOptions:{sourceType:`module`,ecmaVersion:`latest`,ecmaFeatures:{jsx:!0,impliedStrict:!0},project:!0,extraFileExtensions:PYe.map(e=>`.${e}`)}},linterOptions:{reportUnusedDisableDirectives:2},plugins:{"@eslint-community/eslint-comments":B.default,"@stylistic":Cl,"@typescript-eslint":y.plugin,"array-func":Gl,"import-x":l,"no-use-extend-native":uu,"@eslint-react":iKe,"@eslint-react/dom":lJe,"@eslint-react/web-api":GJe,"@eslint-react/naming-convention":SYe,"react-hooks":v,"react-refresh":OYe.default,regexp:EV.default,sonarjs:TV.default,unicorn:__e},settings:{"import-x/extensions":[...jYe,...MYe].map(e=>`.${e}`),"import-x/parsers":{"@typescript-eslint/parser":[...jYe,...MYe].map(e=>`.${e}`)},"import-x/resolver":{"eslint-import-resolver-typescript":!0},"react-hooks":{additionalEffectHooks:`^(useEffectOnce|useLayoutEffectOnce)$`}},rules:{"@eslint-community/eslint-comments/disable-enable-pair":[2,{allowWholeFile:!0}],"@eslint-community/eslint-comments/no-aggregating-enable":[2],"@eslint-community/eslint-comments/no-duplicate-disable":[2],"@eslint-community/eslint-comments/no-restricted-disable":[0],"@eslint-community/eslint-comments/no-unlimited-disable":[2],"@eslint-community/eslint-comments/no-unused-disable":[2],"@eslint-community/eslint-comments/no-unused-enable":[2],"@eslint-community/eslint-comments/no-use":[0],"@eslint-community/eslint-comments/require-description":[0],"@eslint-react/dom/no-dangerously-set-innerhtml":[0],"@eslint-react/dom/no-dangerously-set-innerhtml-with-children":[2],"@eslint-react/dom/no-find-dom-node":[2],"@eslint-react/dom/no-flush-sync":[0],"@eslint-react/dom/no-hydrate":[0],"@eslint-react/dom/no-missing-button-type":[0],"@eslint-react/dom/no-missing-iframe-sandbox":[0],"@eslint-react/dom/no-namespace":[2],"@eslint-react/dom/no-render":[2],"@eslint-react/dom/no-render-return-value":[2],"@eslint-react/dom/no-script-url":[2],"@eslint-react/dom/no-string-style-prop":[2],"@eslint-react/dom/no-unknown-property":[2,{ignore:[`css`],requireDataLowercase:!0}],"@eslint-react/dom/no-unsafe-iframe-sandbox":[0],"@eslint-react/dom/no-unsafe-target-blank":[0],"@eslint-react/dom/no-use-form-state":[0],"@eslint-react/dom/no-void-elements-with-children":[2],"@eslint-react/dom/prefer-namespace-import":[0],"@eslint-react/naming-convention/component-name":[0],"@eslint-react/naming-convention/context-name":[0],"@eslint-react/naming-convention/filename":[0],"@eslint-react/naming-convention/filename-extension":[0],"@eslint-react/naming-convention/use-state":[2],"@eslint-react/no-access-state-in-setstate":[0],"@eslint-react/no-array-index-key":[0],"@eslint-react/no-children-count":[0],"@eslint-react/no-children-for-each":[0],"@eslint-react/no-children-map":[0],"@eslint-react/no-children-only":[0],"@eslint-react/no-children-prop":[0],"@eslint-react/no-children-to-array":[0],"@eslint-react/no-class-component":[0],"@eslint-react/no-clone-element":[0],"@eslint-react/no-component-will-mount":[2],"@eslint-react/no-component-will-receive-props":[2],"@eslint-react/no-component-will-update":[2],"@eslint-react/no-context-provider":[0],"@eslint-react/no-create-ref":[2],"@eslint-react/no-default-props":[2],"@eslint-react/no-direct-mutation-state":[2],"@eslint-react/no-duplicate-key":[2],"@eslint-react/no-forbidden-props":[0],"@eslint-react/no-forward-ref":[2],"@eslint-react/no-implicit-key":[2],"@eslint-react/no-leaked-conditional-rendering":[0],"@eslint-react/no-missing-component-display-name":[0],"@eslint-react/no-missing-context-display-name":[0],"@eslint-react/no-missing-key":[2],"@eslint-react/no-misused-capture-owner-stack":[0],"@eslint-react/no-nested-component-definitions":[0],"@eslint-react/no-nested-lazy-component-declarations":[0],"@eslint-react/no-prop-types":[2],"@eslint-react/no-redundant-should-component-update":[2],"@eslint-react/no-set-state-in-component-did-mount":[0],"@eslint-react/no-set-state-in-component-did-update":[0],"@eslint-react/no-set-state-in-component-will-update":[0],"@eslint-react/no-string-refs":[2],"@eslint-react/no-unnecessary-key":[2],"@eslint-react/no-unnecessary-use-callback":[2],"@eslint-react/no-unnecessary-use-memo":[2],"@eslint-react/no-unnecessary-use-prefix":[0],"@eslint-react/no-unsafe-component-will-mount":[0],"@eslint-react/no-unsafe-component-will-receive-props":[0],"@eslint-react/no-unsafe-component-will-update":[0],"@eslint-react/no-unstable-context-value":[2],"@eslint-react/no-unstable-default-props":[2],"@eslint-react/no-unused-class-component-members":[2],"@eslint-react/no-unused-props":[2],"@eslint-react/no-unused-state":[2],"@eslint-react/no-use-context":[0],"@eslint-react/no-useless-forward-ref":[0],"@eslint-react/no-useless-fragment":[2,{allowExpressions:!1}],"@eslint-react/prefer-destructuring-assignment":[0],"@eslint-react/prefer-namespace-import":[0],"@eslint-react/prefer-read-only-props":[0],"@eslint-react/prefer-use-state-lazy-initialization":[0],"@eslint-react/web-api/no-leaked-event-listener":[0],"@eslint-react/web-api/no-leaked-interval":[0],"@eslint-react/web-api/no-leaked-resize-observer":[0],"@eslint-react/web-api/no-leaked-timeout":[0],"@stylistic/array-bracket-newline":[0],"@stylistic/array-bracket-spacing":[2,`never`],"@stylistic/array-element-newline":[0],"@stylistic/arrow-parens":[0],"@stylistic/arrow-spacing":[2,{before:!0,after:!0}],"@stylistic/block-spacing":[0],"@stylistic/brace-style":[2,`1tbs`,{allowSingleLine:!0}],"@stylistic/comma-dangle":[2,`only-multiline`],"@stylistic/comma-spacing":[2,{before:!1,after:!0}],"@stylistic/comma-style":[2,`last`],"@stylistic/computed-property-spacing":[2,`never`],"@stylistic/dot-location":[2,`property`],"@stylistic/eol-last":[2],"@stylistic/function-call-argument-newline":[0],"@stylistic/function-call-spacing":[2,`never`],"@stylistic/function-paren-newline":[0],"@stylistic/generator-star-spacing":[0],"@stylistic/implicit-arrow-linebreak":[0],"@stylistic/indent":[2,2,{ignoreComments:!0,SwitchCase:1}],"@stylistic/jsx-child-element-spacing":[0],"@stylistic/jsx-closing-bracket-location":[0],"@stylistic/jsx-closing-tag-location":[2],"@stylistic/jsx-curly-brace-presence":[0],"@stylistic/jsx-curly-newline":[2,`consistent`],"@stylistic/jsx-curly-spacing":[2,{when:`never`}],"@stylistic/jsx-equals-spacing":[2,`never`],"@stylistic/jsx-first-prop-new-line":[0],"@stylistic/jsx-function-call-newline":[0],"@stylistic/jsx-indent-props":[2,2],"@stylistic/jsx-max-props-per-line":[0],"@stylistic/jsx-newline":[0],"@stylistic/jsx-one-expression-per-line":[0],"@stylistic/jsx-pascal-case":[2,{allowAllCaps:!0}],"@stylistic/jsx-self-closing-comp":[2],"@stylistic/jsx-sort-props":[0],"@stylistic/jsx-tag-spacing":[2,{beforeSelfClosing:`never`,beforeClosing:`never`}],"@stylistic/jsx-wrap-multilines":[2],"@stylistic/key-spacing":[2],"@stylistic/keyword-spacing":[2],"@stylistic/line-comment-position":[0],"@stylistic/linebreak-style":[2,`unix`],"@stylistic/lines-around-comment":[0],"@stylistic/lines-between-class-members":[0],"@stylistic/max-len":[0],"@stylistic/max-statements-per-line":[0],"@stylistic/multiline-comment-style":[0],"@stylistic/multiline-ternary":[0],"@stylistic/new-parens":[2],"@stylistic/newline-per-chained-call":[0],"@stylistic/no-confusing-arrow":[0],"@stylistic/no-extra-parens":[0],"@stylistic/no-extra-semi":[2],"@stylistic/no-floating-decimal":[0],"@stylistic/no-mixed-operators":[0],"@stylistic/no-mixed-spaces-and-tabs":[2],"@stylistic/no-multi-spaces":[2,{ignoreEOLComments:!0,exceptions:{Property:!0}}],"@stylistic/no-multiple-empty-lines":[2,{max:2,maxEOF:1,maxBOF:0}],"@stylistic/no-tabs":[0],"@stylistic/no-trailing-spaces":[2],"@stylistic/no-whitespace-before-property":[2],"@stylistic/nonblock-statement-body-position":[2],"@stylistic/object-curly-newline":[0],"@stylistic/object-curly-spacing":[2,`never`],"@stylistic/object-property-newline":[0],"@stylistic/one-var-declaration-per-line":[0],"@stylistic/operator-linebreak":[2,`after`],"@stylistic/padded-blocks":[2,`never`],"@stylistic/padding-line-between-statements":[0],"@stylistic/quote-props":[0],"@stylistic/quotes":[2,`double`,{avoidEscape:!0,allowTemplateLiterals:`always`}],"@stylistic/rest-spread-spacing":[2,`never`],"@stylistic/semi":[2,`always`],"@stylistic/semi-spacing":[2,{before:!1,after:!0}],"@stylistic/semi-style":[2,`last`],"@stylistic/space-before-blocks":[2,`always`],"@stylistic/space-before-function-paren":[0],"@stylistic/space-in-parens":[2,`never`],"@stylistic/space-infix-ops":[2],"@stylistic/space-unary-ops":[2],"@stylistic/spaced-comment":[0],"@stylistic/switch-colon-spacing":[2],"@stylistic/template-curly-spacing":[2,`never`],"@stylistic/template-tag-spacing":[2,`never`],"@stylistic/wrap-iife":[2,`inside`],"@stylistic/wrap-regex":[0],"@stylistic/yield-star-spacing":[2,`after`],"@typescript-eslint/adjacent-overload-signatures":[0],"@typescript-eslint/array-type":[0],"@typescript-eslint/await-thenable":[2],"@typescript-eslint/ban-ts-comment":[2,{"ts-expect-error":!1,"ts-ignore":!0,"ts-nocheck":!1,"ts-check":!1}],"@typescript-eslint/ban-tslint-comment":[0],"@typescript-eslint/class-literal-property-style":[0],"@typescript-eslint/class-methods-use-this":[0],"@typescript-eslint/consistent-generic-constructors":[0],"@typescript-eslint/consistent-indexed-object-style":[0],"@typescript-eslint/consistent-return":[0],"@typescript-eslint/consistent-type-assertions":[2,{assertionStyle:`as`,objectLiteralTypeAssertions:`allow`}],"@typescript-eslint/consistent-type-definitions":[2,`type`],"@typescript-eslint/consistent-type-exports":[2,{fixMixedExportsWithInlineTypeSpecifier:!1}],"@typescript-eslint/consistent-type-imports":[2,{prefer:`type-imports`,fixStyle:`separate-type-imports`,disallowTypeAnnotations:!0}],"@typescript-eslint/default-param-last":[0],"@typescript-eslint/dot-notation":[0],"@typescript-eslint/explicit-function-return-type":[0],"@typescript-eslint/explicit-member-accessibility":[0],"@typescript-eslint/explicit-module-boundary-types":[0],"@typescript-eslint/init-declarations":[0],"@typescript-eslint/max-params":[0],"@typescript-eslint/member-ordering":[0],"@typescript-eslint/method-signature-style":[0],"@typescript-eslint/naming-convention":[0],"@typescript-eslint/no-array-constructor":[2],"@typescript-eslint/no-array-delete":[2],"@typescript-eslint/no-base-to-string":[0],"@typescript-eslint/no-confusing-non-null-assertion":[2],"@typescript-eslint/no-confusing-void-expression":[0],"@typescript-eslint/no-deprecated":[2],"@typescript-eslint/no-dupe-class-members":[0],"@typescript-eslint/no-duplicate-enum-values":[2],"@typescript-eslint/no-duplicate-type-constituents":[2,{ignoreUnions:!0}],"@typescript-eslint/no-dynamic-delete":[0],"@typescript-eslint/no-empty-function":[0],"@typescript-eslint/no-empty-interface":[0],"@typescript-eslint/no-empty-object-type":[2],"@typescript-eslint/no-explicit-any":[0],"@typescript-eslint/no-extra-non-null-assertion":[2],"@typescript-eslint/no-extraneous-class":[0],"@typescript-eslint/no-floating-promises":[0],"@typescript-eslint/no-for-in-array":[2],"@typescript-eslint/no-implied-eval":[2],"@typescript-eslint/no-import-type-side-effects":[0],"@typescript-eslint/no-inferrable-types":[0],"@typescript-eslint/no-invalid-this":[0],"@typescript-eslint/no-invalid-void-type":[0],"@typescript-eslint/no-loop-func":[0],"@typescript-eslint/no-magic-numbers":[0],"@typescript-eslint/no-meaningless-void-operator":[0],"@typescript-eslint/no-misused-new":[2],"@typescript-eslint/no-misused-promises":[2,{checksVoidReturn:{attributes:!1,arguments:!1}}],"@typescript-eslint/no-mixed-enums":[0],"@typescript-eslint/no-namespace":[2],"@typescript-eslint/no-non-null-asserted-nullish-coalescing":[0],"@typescript-eslint/no-non-null-asserted-optional-chain":[2],"@typescript-eslint/no-non-null-assertion":[0],"@typescript-eslint/no-redeclare":[0],"@typescript-eslint/no-redundant-type-constituents":[2],"@typescript-eslint/no-require-imports":[2],"@typescript-eslint/no-restricted-imports":[0],"@typescript-eslint/no-restricted-types":[0],"@typescript-eslint/no-shadow":[0],"@typescript-eslint/no-this-alias":[2],"@typescript-eslint/no-unnecessary-boolean-literal-compare":[0],"@typescript-eslint/no-unnecessary-condition":[0],"@typescript-eslint/no-unnecessary-parameter-property-assignment":[2],"@typescript-eslint/no-unnecessary-qualifier":[0],"@typescript-eslint/no-unnecessary-template-expression":[0],"@typescript-eslint/no-unnecessary-type-arguments":[0],"@typescript-eslint/no-unnecessary-type-assertion":[2],"@typescript-eslint/no-unnecessary-type-constraint":[2],"@typescript-eslint/no-unnecessary-type-conversion":[0],"@typescript-eslint/no-unsafe-argument":[0],"@typescript-eslint/no-unsafe-assignment":[0],"@typescript-eslint/no-unsafe-call":[0],"@typescript-eslint/no-unsafe-declaration-merging":[2],"@typescript-eslint/no-unsafe-enum-comparison":[2],"@typescript-eslint/no-unsafe-function-type":[0],"@typescript-eslint/no-unsafe-member-access":[0],"@typescript-eslint/no-unsafe-return":[0],"@typescript-eslint/no-unsafe-unary-minus":[2],"@typescript-eslint/no-unused-expressions":[0],"@typescript-eslint/no-unused-vars":[2,{vars:`all`,args:`all`,caughtErrors:`all`,ignoreRestSiblings:!1,argsIgnorePattern:`^_`,varsIgnorePattern:`^_[^_]*$`,caughtErrorsIgnorePattern:`^_`,destructuredArrayIgnorePattern:`^_`}],"@typescript-eslint/no-use-before-define":[2,{functions:!1,classes:!0,variables:!0,allowNamedExports:!0,typedefs:!1,enums:!1,ignoreTypeReferences:!0}],"@typescript-eslint/no-useless-constructor":[0],"@typescript-eslint/no-useless-empty-export":[0],"@typescript-eslint/no-wrapper-object-types":[2],"@typescript-eslint/non-nullable-type-assertion-style":[0],"@typescript-eslint/only-throw-error":[2],"@typescript-eslint/parameter-properties":[0],"@typescript-eslint/prefer-as-const":[2],"@typescript-eslint/prefer-destructuring":[0],"@typescript-eslint/prefer-enum-initializers":[0],"@typescript-eslint/prefer-find":[2],"@typescript-eslint/prefer-for-of":[2],"@typescript-eslint/prefer-function-type":[2],"@typescript-eslint/prefer-includes":[2],"@typescript-eslint/prefer-literal-enum-member":[0],"@typescript-eslint/prefer-namespace-keyword":[0],"@typescript-eslint/prefer-nullish-coalescing":[0],"@typescript-eslint/prefer-optional-chain":[2,{requireNullish:!0}],"@typescript-eslint/prefer-promise-reject-errors":[0],"@typescript-eslint/prefer-readonly":[0],"@typescript-eslint/prefer-readonly-parameter-types":[0],"@typescript-eslint/prefer-reduce-type-parameter":[0],"@typescript-eslint/prefer-regexp-exec":[0],"@typescript-eslint/prefer-return-this-type":[0],"@typescript-eslint/prefer-string-starts-ends-with":[2,{allowSingleElementEquality:`always`}],"@typescript-eslint/promise-function-async":[0],"@typescript-eslint/require-array-sort-compare":[0],"@typescript-eslint/require-await":[2],"@typescript-eslint/restrict-plus-operands":[2],"@typescript-eslint/restrict-template-expressions":[0],"@typescript-eslint/return-await":[0],"@typescript-eslint/strict-boolean-expressions":[0],"@typescript-eslint/switch-exhaustiveness-check":[0],"@typescript-eslint/triple-slash-reference":[2],"@typescript-eslint/typedef":[0],"@typescript-eslint/unbound-method":[0],"@typescript-eslint/unified-signatures":[2],"accessor-pairs":[2],"array-callback-return":[2,{checkForEach:!0}],"array-func/avoid-reverse":[2],"array-func/from-map":[2],"array-func/no-unnecessary-this-arg":[2],"array-func/prefer-array-from":[2],"array-func/prefer-flat":[0],"array-func/prefer-flat-map":[0],"arrow-body-style":[0],"block-scoped-var":[2],camelcase:[0],"capitalized-comments":[0],"class-methods-use-this":[0],complexity:[0],"consistent-return":[0],"consistent-this":[0],"constructor-super":[2],curly:[0],"default-case":[0],"default-case-last":[2],"default-param-last":[0],"dot-notation":[0],eqeqeq:[2],"for-direction":[2],"func-name-matching":[2],"func-names":[0],"func-style":[0],"getter-return":[2],"grouped-accessor-pairs":[2],"guard-for-in":[0],"id-blacklist":[0],"id-denylist":[0],"id-length":[0],"id-match":[0],"import-x/consistent-type-specifier-style":[0],"import-x/default":[0],"import-x/dynamic-import-chunkname":[0],"import-x/export":[2],"import-x/exports-last":[0],"import-x/extensions":[2,`ignorePackages`,{checkTypeImports:!0}],"import-x/first":[2],"import-x/group-exports":[0],"import-x/max-dependencies":[0],"import-x/named":[2],"import-x/namespace":[0],"import-x/newline-after-import":[0],"import-x/no-absolute-path":[2],"import-x/no-amd":[2],"import-x/no-anonymous-default-export":[0],"import-x/no-commonjs":[2,{allowConditionalRequire:!1}],"import-x/no-cycle":[2,{ignoreExternal:!0,maxDepth:1}],"import-x/no-default-export":[0],"import-x/no-deprecated":[0],"import-x/no-duplicates":[2],"import-x/no-dynamic-require":[0],"import-x/no-empty-named-blocks":[2],"import-x/no-extraneous-dependencies":[2],"import-x/no-import-module-exports":[0],"import-x/no-internal-modules":[0],"import-x/no-mutable-exports":[0],"import-x/no-named-as-default":[0],"import-x/no-named-as-default-member":[0],"import-x/no-named-default":[0],"import-x/no-named-export":[0],"import-x/no-namespace":[0],"import-x/no-nodejs-modules":[0],"import-x/no-relative-packages":[0],"import-x/no-relative-parent-imports":[0],"import-x/no-restricted-paths":[0],"import-x/no-self-import":[2],"import-x/no-unassigned-import":[0],"import-x/no-unresolved":[2,{commonjs:!0,ignore:[`\\?.+$`]}],"import-x/no-unused-modules":[0,{unusedExports:!0,ignoreUnusedTypeExports:!0}],"import-x/no-useless-path-segments":[2,{commonjs:!0}],"import-x/no-webpack-loader-syntax":[2],"import-x/order":[0],"import-x/prefer-default-export":[0],"import-x/unambiguous":[0],"init-declarations":[0],"line-comment-position":[0],"logical-assignment-operators":[0],"max-classes-per-file":[0],"max-depth":[0],"max-lines":[0],"max-lines-per-function":[0],"max-nested-callbacks":[0],"max-params":[0],"max-statements":[0],"multiline-comment-style":[0],"new-cap":[0],"no-alert":[0],"no-array-constructor":[0],"no-async-promise-executor":[0],"no-await-in-loop":[0],"no-bitwise":[0],"no-buffer-constructor":[0],"no-caller":[2],"no-case-declarations":[2],"no-class-assign":[2],"no-compare-neg-zero":[2],"no-cond-assign":[2,`except-parens`],"no-console":[1,{allow:[`debug`,`info`,`warn`,`error`]}],"no-const-assign":[2],"no-constant-binary-expression":[2],"no-constant-condition":[0],"no-constructor-return":[2],"no-continue":[0],"no-control-regex":[0],"no-debugger":[1],"no-delete-var":[2],"no-div-regex":[0],"no-dupe-args":[2],"no-dupe-class-members":[2],"no-dupe-else-if":[2],"no-dupe-keys":[2],"no-duplicate-case":[2],"no-duplicate-imports":[0],"no-else-return":[0],"no-empty":[2,{allowEmptyCatch:!0}],"no-empty-character-class":[2],"no-empty-function":[0],"no-empty-pattern":[2],"no-empty-static-block":[2],"no-eq-null":[2],"no-eval":[2],"no-ex-assign":[2],"no-extend-native":[2],"no-extra-bind":[2],"no-extra-boolean-cast":[2],"no-extra-label":[0],"no-fallthrough":[2],"no-func-assign":[2],"no-global-assign":[2],"no-implicit-coercion":[2],"no-implicit-globals":[0],"no-implied-eval":[0],"no-import-assign":[2],"no-inline-comments":[0],"no-inner-declarations":[2],"no-invalid-regexp":[2],"no-invalid-this":[0],"no-irregular-whitespace":[2],"no-iterator":[2],"no-label-var":[2],"no-labels":[0],"no-lone-blocks":[2],"no-lonely-if":[0],"no-loop-func":[0],"no-loss-of-precision":[2],"no-magic-numbers":[0],"no-misleading-character-class":[2],"no-multi-assign":[0],"no-multi-str":[2],"no-negated-condition":[0],"no-nested-ternary":[0],"no-new":[0],"no-new-func":[0],"no-new-native-nonconstructor":[2],"no-new-symbol":[2],"no-new-wrappers":[2],"no-nonoctal-decimal-escape":[2],"no-obj-calls":[2],"no-object-constructor":[2],"no-octal":[2],"no-octal-escape":[2],"no-param-reassign":[0],"no-plusplus":[0],"no-promise-executor-return":[0],"no-proto":[2],"no-prototype-builtins":[2],"no-redeclare":[0],"no-regex-spaces":[2],"no-restricted-exports":[0],"no-restricted-globals":[2,`self`],"no-restricted-imports":[2,{paths:[{name:`punycode`},{name:`assert`},{name:`react`,importNames:[`forwardRef`],message:`Use ref-as-prop instead - https://react.dev/blog/2024/12/05/react-19#ref-as-a-prop`}]}],"no-restricted-properties":[0],"no-restricted-syntax":[2,`WithStatement`,`ForInStatement`,`SequenceExpression`],"no-return-assign":[0],"no-script-url":[2],"no-self-assign":[2,{props:!0}],"no-self-compare":[2],"no-sequences":[2],"no-setter-return":[2],"no-shadow":[0],"no-shadow-restricted-names":[2],"no-sparse-arrays":[2],"no-template-curly-in-string":[2],"no-ternary":[0],"no-this-before-super":[2],"no-throw-literal":[2],"no-undef":[2,{typeof:!0}],"no-undef-init":[2],"no-undefined":[0],"no-underscore-dangle":[0],"no-unexpected-multiline":[2],"no-unmodified-loop-condition":[2],"no-unneeded-ternary":[0],"no-unreachable":[2],"no-unreachable-loop":[2],"no-unsafe-finally":[2],"no-unsafe-negation":[2],"no-unsafe-optional-chaining":[2],"no-unused-expressions":[2],"no-unused-labels":[2],"no-unused-private-class-members":[2],"no-unused-vars":[0],"no-use-before-define":[0],"no-use-extend-native/no-use-extend-native":[2],"no-useless-assignment":[0],"no-useless-backreference":[2],"no-useless-call":[2],"no-useless-catch":[2],"no-useless-computed-key":[2],"no-useless-concat":[2],"no-useless-constructor":[2],"no-useless-escape":[2],"no-useless-rename":[2],"no-useless-return":[0],"no-var":[2],"no-void":[2],"no-warning-comments":[0],"no-with":[0],"object-shorthand":[2,`always`],"one-var":[0],"operator-assignment":[2,`always`],"prefer-arrow-callback":[2,{allowNamedFunctions:!0,allowUnboundThis:!0}],"prefer-const":[2,{destructuring:`all`,ignoreReadBeforeAssign:!0}],"prefer-destructuring":[0],"prefer-exponentiation-operator":[2],"prefer-named-capture-group":[0],"prefer-numeric-literals":[2],"prefer-object-has-own":[2],"prefer-object-spread":[2],"prefer-promise-reject-errors":[2,{allowEmptyReject:!1}],"prefer-regex-literals":[2,{disallowRedundantWrapping:!0}],"prefer-rest-params":[2],"prefer-spread":[2],"prefer-template":[2],radix:[2,`as-needed`],"react-hooks/component-hook-factories":[0],"react-hooks/config":[0],"react-hooks/error-boundaries":[2],"react-hooks/exhaustive-deps":[2],"react-hooks/gating":[0],"react-hooks/globals":[2],"react-hooks/immutability":[2],"react-hooks/incompatible-library":[2],"react-hooks/preserve-manual-memoization":[2],"react-hooks/purity":[2],"react-hooks/refs":[2],"react-hooks/rules-of-hooks":[2],"react-hooks/set-state-in-effect":[2],"react-hooks/set-state-in-render":[2],"react-hooks/static-components":[2],"react-hooks/unsupported-syntax":[2],"react-hooks/use-memo":[2],"react-refresh/only-export-components":[2,{allowConstantExport:!0}],"regexp/confusing-quantifier":[2],"regexp/control-character-escape":[2],"regexp/hexadecimal-escape":[0],"regexp/letter-case":[0],"regexp/match-any":[0],"regexp/negation":[2],"regexp/no-contradiction-with-assertion":[0],"regexp/no-control-character":[0],"regexp/no-dupe-characters-character-class":[2],"regexp/no-dupe-disjunctions":[2],"regexp/no-empty-alternative":[2],"regexp/no-empty-capturing-group":[2],"regexp/no-empty-character-class":[0],"regexp/no-empty-group":[2],"regexp/no-empty-lookarounds-assertion":[2],"regexp/no-empty-string-literal":[2],"regexp/no-escape-backspace":[2],"regexp/no-extra-lookaround-assertions":[0],"regexp/no-invalid-regexp":[2],"regexp/no-invisible-character":[2],"regexp/no-lazy-ends":[2],"regexp/no-legacy-features":[2],"regexp/no-misleading-capturing-group":[0],"regexp/no-misleading-unicode-character":[0],"regexp/no-missing-g-flag":[2],"regexp/no-non-standard-flag":[2],"regexp/no-obscure-range":[2],"regexp/no-octal":[2],"regexp/no-optional-assertion":[2],"regexp/no-potentially-useless-backreference":[2],"regexp/no-standalone-backslash":[2],"regexp/no-super-linear-backtracking":[0],"regexp/no-super-linear-move":[0],"regexp/no-trivially-nested-assertion":[2],"regexp/no-trivially-nested-quantifier":[2],"regexp/no-unused-capturing-group":[0],"regexp/no-useless-assertions":[2],"regexp/no-useless-backreference":[2],"regexp/no-useless-character-class":[0],"regexp/no-useless-dollar-replacements":[2],"regexp/no-useless-escape":[2],"regexp/no-useless-flag":[2],"regexp/no-useless-lazy":[2],"regexp/no-useless-non-capturing-group":[2],"regexp/no-useless-quantifier":[2],"regexp/no-useless-range":[2],"regexp/no-useless-set-operand":[2],"regexp/no-useless-string-literal":[2],"regexp/no-useless-two-nums-quantifier":[2],"regexp/no-zero-quantifier":[2],"regexp/optimal-lookaround-quantifier":[2],"regexp/optimal-quantifier-concatenation":[0],"regexp/prefer-character-class":[0],"regexp/prefer-d":[0],"regexp/prefer-escape-replacement-dollar-char":[0],"regexp/prefer-lookaround":[0],"regexp/prefer-named-backreference":[0],"regexp/prefer-named-capture-group":[0],"regexp/prefer-named-replacement":[0],"regexp/prefer-plus-quantifier":[2],"regexp/prefer-predefined-assertion":[2],"regexp/prefer-quantifier":[0],"regexp/prefer-question-quantifier":[2],"regexp/prefer-range":[2],"regexp/prefer-regexp-exec":[2],"regexp/prefer-regexp-test":[2],"regexp/prefer-result-array-groups":[0],"regexp/prefer-set-operation":[2],"regexp/prefer-star-quantifier":[2],"regexp/prefer-unicode-codepoint-escapes":[2],"regexp/prefer-w":[0],"regexp/require-unicode-regexp":[0],"regexp/simplify-set-operations":[2],"regexp/sort-alternatives":[0],"regexp/sort-character-class-elements":[0],"regexp/sort-flags":[0],"regexp/strict":[0],"regexp/unicode-escape":[0],"regexp/unicode-property":[0],"regexp/use-ignore-case":[0],"require-atomic-updates":[0],"require-await":[0],"require-unicode-regexp":[0],"require-yield":[2],"sonarjs/cognitive-complexity":[0],"sonarjs/elseif-without-else":[0],"sonarjs/max-switch-cases":[0],"sonarjs/no-all-duplicated-branches":[2],"sonarjs/no-collapsible-if":[0],"sonarjs/no-collection-size-mischeck":[2],"sonarjs/no-duplicate-string":[0],"sonarjs/no-duplicated-branches":[0],"sonarjs/no-element-overwrite":[2],"sonarjs/no-empty-collection":[2],"sonarjs/no-extra-arguments":[2],"sonarjs/no-gratuitous-expressions":[2],"sonarjs/no-identical-conditions":[2],"sonarjs/no-identical-expressions":[2],"sonarjs/no-identical-functions":[0],"sonarjs/no-ignored-return":[2],"sonarjs/no-inverted-boolean-check":[2],"sonarjs/no-nested-switch":[0],"sonarjs/no-nested-template-literals":[0],"sonarjs/no-redundant-boolean":[2],"sonarjs/no-redundant-jump":[0],"sonarjs/no-same-line-conditional":[2],"sonarjs/no-small-switch":[0],"sonarjs/no-unused-collection":[2],"sonarjs/no-use-of-empty-return-value":[2],"sonarjs/no-useless-catch":[2],"sonarjs/non-existent-operator":[2],"sonarjs/prefer-immediate-return":[0],"sonarjs/prefer-object-literal":[0],"sonarjs/prefer-single-boolean-return":[0],"sonarjs/prefer-while":[2],"sort-imports":[0],"sort-keys":[0],"sort-vars":[0],strict:[0],"symbol-description":[2],"unicode-bom":[2,`never`],"unicorn/better-regex":[0],"unicorn/catch-error-name":[0],"unicorn/consistent-assert":[0],"unicorn/consistent-date-clone":[2],"unicorn/consistent-destructuring":[2],"unicorn/consistent-empty-array-spread":[2],"unicorn/consistent-existence-index-check":[0],"unicorn/consistent-function-scoping":[2],"unicorn/custom-error-definition":[0],"unicorn/empty-brace-spaces":[2],"unicorn/error-message":[0],"unicorn/escape-case":[0],"unicorn/expiring-todo-comments":[0],"unicorn/explicit-length-check":[0],"unicorn/filename-case":[0],"unicorn/import-index":[0],"unicorn/import-style":[0],"unicorn/new-for-builtins":[2],"unicorn/no-abusive-eslint-disable":[0],"unicorn/no-accessor-recursion":[2],"unicorn/no-anonymous-default-export":[0],"unicorn/no-array-callback-reference":[0],"unicorn/no-array-for-each":[2],"unicorn/no-array-method-this-argument":[2],"unicorn/no-array-push-push":[2],"unicorn/no-array-reduce":[0],"unicorn/no-array-reverse":[0],"unicorn/no-array-sort":[0],"unicorn/no-await-expression-member":[0],"unicorn/no-await-in-promise-methods":[2],"unicorn/no-console-spaces":[0],"unicorn/no-document-cookie":[2],"unicorn/no-empty-file":[0],"unicorn/no-for-loop":[0],"unicorn/no-hex-escape":[0],"unicorn/no-instanceof-array":[0],"unicorn/no-instanceof-builtins":[2],"unicorn/no-invalid-fetch-options":[2],"unicorn/no-invalid-remove-event-listener":[2],"unicorn/no-keyword-prefix":[0],"unicorn/no-length-as-slice-end":[2],"unicorn/no-lonely-if":[2],"unicorn/no-magic-array-flat-depth":[0],"unicorn/no-named-default":[2],"unicorn/no-negated-condition":[0],"unicorn/no-negation-in-equality-check":[2],"unicorn/no-nested-ternary":[0],"unicorn/no-new-array":[0],"unicorn/no-new-buffer":[0],"unicorn/no-null":[0],"unicorn/no-object-as-default-parameter":[0],"unicorn/no-process-exit":[0],"unicorn/no-single-promise-in-promise-methods":[2],"unicorn/no-static-only-class":[2],"unicorn/no-thenable":[0],"unicorn/no-this-assignment":[2],"unicorn/no-typeof-undefined":[2],"unicorn/no-unnecessary-array-flat-depth":[2],"unicorn/no-unnecessary-array-splice-count":[2],"unicorn/no-unnecessary-await":[2],"unicorn/no-unnecessary-polyfills":[2],"unicorn/no-unreadable-array-destructuring":[0],"unicorn/no-unreadable-iife":[2],"unicorn/no-unused-properties":[2],"unicorn/no-useless-error-capture-stack-trace":[2],"unicorn/no-useless-fallback-in-spread":[2],"unicorn/no-useless-length-check":[2],"unicorn/no-useless-promise-resolve-reject":[2],"unicorn/no-useless-spread":[2],"unicorn/no-useless-switch-case":[2],"unicorn/no-useless-undefined":[0],"unicorn/no-zero-fractions":[2],"unicorn/number-literal-case":[0],"unicorn/numeric-separators-style":[0],"unicorn/prefer-add-event-listener":[2],"unicorn/prefer-array-find":[2],"unicorn/prefer-array-flat":[2],"unicorn/prefer-array-flat-map":[2],"unicorn/prefer-array-index-of":[2],"unicorn/prefer-array-some":[2],"unicorn/prefer-at":[0],"unicorn/prefer-bigint-literals":[2],"unicorn/prefer-blob-reading-methods":[2],"unicorn/prefer-class-fields":[2],"unicorn/prefer-classlist-toggle":[2],"unicorn/prefer-code-point":[0],"unicorn/prefer-date-now":[2],"unicorn/prefer-default-parameters":[0],"unicorn/prefer-dom-node-append":[2],"unicorn/prefer-dom-node-dataset":[0],"unicorn/prefer-dom-node-remove":[2],"unicorn/prefer-dom-node-text-content":[2],"unicorn/prefer-event-target":[2],"unicorn/prefer-export-from":[0],"unicorn/prefer-global-this":[0],"unicorn/prefer-import-meta-properties":[2],"unicorn/prefer-includes":[2],"unicorn/prefer-json-parse-buffer":[0],"unicorn/prefer-keyboard-event-key":[2],"unicorn/prefer-logical-operator-over-ternary":[2],"unicorn/prefer-math-min-max":[2],"unicorn/prefer-math-trunc":[2],"unicorn/prefer-modern-dom-apis":[0],"unicorn/prefer-modern-math-apis":[2],"unicorn/prefer-module":[0],"unicorn/prefer-native-coercion-functions":[2],"unicorn/prefer-negative-index":[2],"unicorn/prefer-node-protocol":[2],"unicorn/prefer-number-properties":[0],"unicorn/prefer-object-from-entries":[2],"unicorn/prefer-object-has-own":[0],"unicorn/prefer-optional-catch-binding":[2],"unicorn/prefer-prototype-methods":[2],"unicorn/prefer-query-selector":[0],"unicorn/prefer-reflect-apply":[0],"unicorn/prefer-regexp-test":[2],"unicorn/prefer-set-has":[0],"unicorn/prefer-set-size":[2],"unicorn/prefer-spread":[0],"unicorn/prefer-string-raw":[0],"unicorn/prefer-string-replace-all":[0],"unicorn/prefer-string-slice":[0],"unicorn/prefer-string-starts-ends-with":[2],"unicorn/prefer-string-trim-start-end":[2],"unicorn/prefer-structured-clone":[2],"unicorn/prefer-switch":[0],"unicorn/prefer-ternary":[0],"unicorn/prefer-top-level-await":[0],"unicorn/prefer-type-error":[0],"unicorn/prevent-abbreviations":[0],"unicorn/relative-url-style":[2],"unicorn/require-array-join-separator":[2],"unicorn/require-module-attributes":[2],"unicorn/require-module-specifiers":[0],"unicorn/require-number-to-fixed-digits-argument":[2],"unicorn/require-post-message-target-origin":[0],"unicorn/string-content":[0],"unicorn/switch-case-braces":[0],"unicorn/template-indent":[2],"unicorn/text-encoding-identifier-case":[0],"unicorn/throw-new-error":[2],"use-isnan":[2],"valid-typeof":[2,{requireStringLiterals:!0}],"vars-on-top":[0],yoda:[2,`never`]}},{files:[`**/*.d.ts`],rules:{"@typescript-eslint/consistent-type-definitions":[0],"@typescript-eslint/consistent-type-imports":[0],"@typescript-eslint/no-unused-vars":[0],"no-undef":[0],"no-var":[0]}},{files:[`**/*.worker.*`],languageOptions:{globals:DYe.default.worker},rules:{"no-restricted-globals":[2,`window`]}},{plugins:{vitest:YCe},files:[`**/*.test.*`,`vitest.setup.*`,`integration/**`],languageOptions:{globals:DYe.default.vitest},rules:{"unicorn/consistent-function-scoping":[0],"vitest/consistent-test-filename":[0],"vitest/consistent-test-it":[0],"vitest/expect-expect":[0],"vitest/max-expects":[0],"vitest/max-nested-describe":[0],"vitest/no-alias-methods":[0],"vitest/no-commented-out-tests":[0],"vitest/no-conditional-expect":[0],"vitest/no-conditional-in-test":[0],"vitest/no-conditional-tests":[0],"vitest/no-disabled-tests":[0],"vitest/no-done-callback":[0],"vitest/no-duplicate-hooks":[0],"vitest/no-focused-tests":[2],"vitest/no-hooks":[0],"vitest/no-identical-title":[2],"vitest/no-interpolation-in-snapshots":[0],"vitest/no-large-snapshots":[0],"vitest/no-mocks-import":[0],"vitest/no-restricted-matchers":[0],"vitest/no-restricted-vi-methods":[0],"vitest/no-standalone-expect":[0],"vitest/no-test-prefixes":[0],"vitest/no-test-return-statement":[0],"vitest/prefer-called-with":[0],"vitest/prefer-comparison-matcher":[0],"vitest/prefer-each":[0],"vitest/prefer-equality-matcher":[0],"vitest/prefer-expect-resolves":[0],"vitest/prefer-hooks-in-order":[0],"vitest/prefer-hooks-on-top":[2],"vitest/prefer-lowercase-title":[0],"vitest/prefer-mock-promise-shorthand":[0],"vitest/prefer-snapshot-hint":[0],"vitest/prefer-spy-on":[0],"vitest/prefer-strict-equal":[0],"vitest/prefer-to-be":[0],"vitest/prefer-to-be-falsy":[0],"vitest/prefer-to-be-object":[0],"vitest/prefer-to-be-truthy":[0],"vitest/prefer-to-contain":[0],"vitest/prefer-to-have-length":[0],"vitest/prefer-todo":[0],"vitest/require-hook":[0],"vitest/require-to-throw-message":[0],"vitest/require-top-level-describe":[0],"vitest/valid-describe-callback":[2],"vitest/valid-expect":[2],"vitest/valid-title":[2]}},{files:[`**/*.config.*`,`**/*.stories.*`,`**/.storybook/**`,`**/*.d.ts`,`vitest.setup.*`,`vitest.global.*`],rules:{"import-x/no-unused-modules":[0]}},{...QCe.configs[`flat/recommended`],files:[`tests/**`],rules:{"playwright/expect-expect":[0],"playwright/no-networkidle":[0]}},{plugins:{"jsx-a11y":Wke.default,"validate-jsx-nesting":kYe.default},files:[`**/*.{${NYe.join(`,`)}}`],rules:{"@eslint-react/jsx-key-before-spread":[2],"@eslint-react/jsx-no-comment-textnodes":[2],"@eslint-react/jsx-no-duplicate-props":[2],"@eslint-react/jsx-no-iife":[0],"@eslint-react/jsx-no-undef":[2],"@eslint-react/jsx-shorthand-boolean":[2,-1],"@eslint-react/jsx-shorthand-fragment":[2,-1],"@eslint-react/jsx-uses-react":[0],"@eslint-react/jsx-uses-vars":[2],"jsx-a11y/accessible-emoji":[0],"jsx-a11y/alt-text":[0],"jsx-a11y/anchor-ambiguous-text":[2],"jsx-a11y/anchor-has-content":[2],"jsx-a11y/anchor-is-valid":[0],"jsx-a11y/aria-activedescendant-has-tabindex":[2],"jsx-a11y/aria-props":[2],"jsx-a11y/aria-proptypes":[2],"jsx-a11y/aria-role":[2],"jsx-a11y/aria-unsupported-elements":[2],"jsx-a11y/autocomplete-valid":[2],"jsx-a11y/click-events-have-key-events":[0],"jsx-a11y/control-has-associated-label":[0],"jsx-a11y/heading-has-content":[2],"jsx-a11y/html-has-lang":[0],"jsx-a11y/iframe-has-title":[0],"jsx-a11y/img-redundant-alt":[0],"jsx-a11y/interactive-supports-focus":[0],"jsx-a11y/label-has-associated-control":[2],"jsx-a11y/label-has-for":[0],"jsx-a11y/lang":[2],"jsx-a11y/media-has-caption":[0],"jsx-a11y/mouse-events-have-key-events":[0],"jsx-a11y/no-access-key":[2],"jsx-a11y/no-aria-hidden-on-focusable":[0],"jsx-a11y/no-autofocus":[0],"jsx-a11y/no-distracting-elements":[2],"jsx-a11y/no-interactive-element-to-noninteractive-role":[0],"jsx-a11y/no-noninteractive-element-interactions":[0],"jsx-a11y/no-noninteractive-element-to-interactive-role":[0],"jsx-a11y/no-noninteractive-tabindex":[0],"jsx-a11y/no-onchange":[0],"jsx-a11y/no-redundant-roles":[2],"jsx-a11y/no-static-element-interactions":[0],"jsx-a11y/prefer-tag-over-role":[0],"jsx-a11y/role-has-required-aria-props":[2],"jsx-a11y/role-supports-aria-props":[2],"jsx-a11y/scope":[0],"jsx-a11y/tabindex-no-positive":[2],"validate-jsx-nesting/no-invalid-jsx-nesting":[2]}},{files:[`openapi.d.ts`],rules:{"@typescript-eslint/no-redundant-type-constituents":[0]}}]);export{FYe as default};
|
|
786
|
+
`))}})}}}const Zqe={meta:{name:lKe,version:uKe},rules:{"no-dangerously-set-innerhtml":hKe,"no-dangerously-set-innerhtml-with-children":vKe,"no-find-dom-node":CKe,"no-flush-sync":DKe,"no-hydrate":jKe,"no-missing-button-type":LKe,"no-missing-iframe-sandbox":BKe,"no-namespace":UKe,"no-render":KKe,"no-render-return-value":ZKe,"no-script-url":eqe,"no-string-style-prop":rqe,"no-unknown-property":Dqe,"no-unsafe-iframe-sandbox":Mqe,"no-unsafe-target-blank":Lqe,"no-use-form-state":Bqe,"no-void-elements-with-children":Gqe,"prefer-namespace-import":Jqe}};var Qqe=cKe({name:()=>$qe,plugins:()=>tJe,rules:()=>eJe,settings:()=>nJe});const $qe=`react-dom/recommended`,eJe={"react-dom/no-dangerously-set-innerhtml":`warn`,"react-dom/no-dangerously-set-innerhtml-with-children":`error`,"react-dom/no-find-dom-node":`error`,"react-dom/no-flush-sync":`error`,"react-dom/no-hydrate":`error`,"react-dom/no-namespace":`error`,"react-dom/no-render":`error`,"react-dom/no-render-return-value":`error`,"react-dom/no-script-url":`warn`,"react-dom/no-unsafe-iframe-sandbox":`warn`,"react-dom/no-use-form-state":`error`,"react-dom/no-void-elements-with-children":`error`},tJe={"react-dom":Zqe},nJe={"react-x":nPe};var rJe=cKe({name:()=>iJe,plugins:()=>oJe,rules:()=>aJe,settings:()=>sJe});const iJe=`react-dom/strict`,aJe={...eJe,"react-dom/no-missing-button-type":`warn`,"react-dom/no-missing-iframe-sandbox":`warn`,"react-dom/no-unsafe-target-blank":`warn`},oJe={...tJe},sJe={...nJe},{toFlatConfig:cJe}=RNe(`react-dom`,Zqe);var lJe={...Zqe,configs:{recommended:cJe(Qqe),strict:cJe(rJe)}},Z9=e(z2(),1),uJe=e(T0(),1),dJe=Object.defineProperty,fJe=(e=>{let t={};for(var n in e)dJe(t,n,{get:e[n],enumerable:!0});return t})({name:()=>pJe,rules:()=>mJe,settings:()=>hJe});const pJe=`react-web-api/recommended`,mJe={"react-web-api/no-leaked-event-listener":`warn`,"react-web-api/no-leaked-interval":`warn`,"react-web-api/no-leaked-resize-observer":`warn`,"react-web-api/no-leaked-timeout":`warn`},hJe={"react-x":nPe};var gJe=`eslint-plugin-react-web-api`,_Je=`2.2.3`;function vJe(e){return`${zNe}/docs/rules/web-api-${e}`}const yJe=Z9.ESLintUtils.RuleCreator(vJe),bJe=[],xJe={capture:!1,signal:void 0};function SJe(e){switch(!0){case e.callee.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`addEventListener`,`removeEventListener`,`abort`))(e.callee.name):return e.callee.name;case e.callee.type===Z9.AST_NODE_TYPES.MemberExpression&&e.callee.property.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`addEventListener`,`removeEventListener`,`abort`))(e.callee.property.name):return e.callee.property.name;default:return`other`}}function CJe(e){return lze(e)??`other`}function wJe(e,t){if(e!=null)switch(e.type){case Z9.AST_NODE_TYPES.Identifier:return wJe(h9(_9(e,t),0),t);case Z9.AST_NODE_TYPES.MemberExpression:return e;default:return}}function TJe(e,t){function n(e,n){return BLe(n,e,t)}function r(e,n=e=>!0){if(e?.type!==Z9.AST_NODE_TYPES.Property)return;let{value:r}=e,i=r;switch(r.type){case Z9.AST_NODE_TYPES.Literal:i=r.value;break;default:i=(0,uJe.getStaticValue)(r,t)?.value;break}return n(i)?i:void 0}function i(e){switch(e.type){case Z9.AST_NODE_TYPES.Identifier:{let n=h9(_9(e,t),0);return n?.type===Z9.AST_NODE_TYPES.ObjectExpression?i(n):xJe}case Z9.AST_NODE_TYPES.Literal:return{...xJe,capture:!!e.value};case Z9.AST_NODE_TYPES.ObjectExpression:{let i=!!r(n(e.properties,`capture`)),a=n(e.properties,`signal`);return{capture:i,signal:a?.type===Z9.AST_NODE_TYPES.Property?wJe(a.value,t):void 0}}default:return xJe}}return i(e)}var EJe=yJe({meta:{type:`problem`,docs:{description:"Prevents leaked `addEventListener` in a component or custom Hook.",[Symbol.for(`rule_features`)]:bJe},messages:{expectedRemoveEventListenerInCleanup:`An 'addEventListener' in '{{effectMethodKind}}' should have a corresponding 'removeEventListener' in its cleanup function.`,expectedRemoveEventListenerInUnmount:`An 'addEventListener' in 'componentDidMount' should have a corresponding 'removeEventListener' in 'componentWillUnmount' method.`,unexpectedInlineFunction:`A/an '{{eventMethodKind}}' should not have an inline listener function.`},schema:[]},name:`no-leaked-event-listener`,create:DJe,defaultOptions:[]});function DJe(e){if(!e.sourceCode.text.includes(`addEventListener`)||!/use\w*Effect|componentDidMount|componentWillUnmount/u.test(e.sourceCode.text))return{};let t=[],n=[],r=[],i=[];function a(e,t){switch(!0){case e.type===Z9.AST_NODE_TYPES.MemberExpression&&t.type===Z9.AST_NODE_TYPES.MemberExpression:return o9(e.object,t.object);default:return!1}}function o(t,n){let{type:r,callee:i,capture:o,listener:s,phase:c}=t,{type:l,callee:u,capture:d,listener:f,phase:p}=n;return cze(c,p)?a(i,u)&&o9(s,f)&&ULe(r,l,[e.sourceCode.getScope(r),e.sourceCode.getScope(l)])&&o===d:!1}function s(t,n,r){let i=t.arguments.at(1);l9(i)&&r.signal==null&&e.report({messageId:`unexpectedInlineFunction`,node:i,data:{eventMethodKind:n}})}return{":function"(e){let n=CJe(e);t.push({kind:n,node:e})},":function:exit"(){t.pop()},CallExpression(a){let o=t.findLast(e=>e.kind!==`other`)?.kind;o!=null&&F9.has(o)&&c5(SJe(a)).with(`addEventListener`,t=>{let[r,i,c]=a.arguments;if(r==null||i==null)return;let l=c==null?xJe:TJe(c,e.sourceCode.getScope(c)),{callee:u}=a;s(a,t,l),n.push({...l,type:r,node:a,callee:u,listener:i,method:`addEventListener`,phase:o})}).with(`removeEventListener`,t=>{let[n,i,c]=a.arguments;if(n==null||i==null)return;let l=c==null?xJe:TJe(c,e.sourceCode.getScope(c)),{callee:u}=a;s(a,t,l),r.push({...l,type:n,node:a,callee:u,listener:i,method:`removeEventListener`,phase:o})}).with(`abort`,()=>{i.push(a.callee)}).otherwise(()=>null)},"Program:exit"(){for(let t of n){let n=t.signal;if(!(n!=null&&i.some(e=>a(e,n)))&&!r.some(e=>o(t,e)))switch(t.phase){case`setup`:case`cleanup`:e.report({messageId:`expectedRemoveEventListenerInCleanup`,node:t.node,data:{effectMethodKind:`useEffect`}});continue;case`mount`:case`unmount`:e.report({messageId:`expectedRemoveEventListenerInUnmount`,node:t.node});continue}}}}}const OJe=[];function kJe(e){switch(!0){case e.callee.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`setInterval`,`clearInterval`))(e.callee.name):return e.callee.name;case e.callee.type===Z9.AST_NODE_TYPES.MemberExpression&&e.callee.property.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`setInterval`,`clearInterval`))(e.callee.property.name):return e.callee.property.name;default:return`other`}}var AJe=yJe({meta:{type:`problem`,docs:{description:"Prevents leaked `setInterval` in a component or custom Hook.",[Symbol.for(`rule_features`)]:OJe},messages:{expectedClearIntervalInCleanup:`A 'setInterval' created in '{{ kind }}' must be cleared with 'clearInterval' in the cleanup function.`,expectedClearIntervalInUnmount:`A 'setInterval' created in '{{ kind }}' must be cleared with 'clearInterval' in the 'componentWillUnmount' method.`,expectedIntervalId:`A 'setInterval' must be assigned to a variable for proper cleanup.`},schema:[]},name:`no-leaked-interval`,create:jJe,defaultOptions:[]});function jJe(e){if(!e.sourceCode.text.includes(`setInterval`))return{};let t=[],n=[],r=[];function i(t,n){return A9(e,t.timerId,n.timerId)}return{":function"(e){let n=lze(e)??`other`;t.push({kind:n,node:e})},":function:exit"(){t.pop()},CallExpression(i){switch(kJe(i)){case`setInterval`:{let r=t.findLast(e=>e.kind!==`other`);if(r==null||!F9.has(r.kind))break;let a=zLe(i);if(a==null){e.report({messageId:`expectedIntervalId`,node:i});break}n.push({kind:`interval`,node:i,callee:i.callee,phase:r.kind,timerId:a});break}case`clearInterval`:{let e=t.findLast(e=>e.kind!==`other`);if(e==null||!F9.has(e.kind))break;let[n]=i.arguments;if(n==null)break;r.push({kind:`interval`,node:i,callee:i.callee,phase:e.kind,timerId:n});break}}},"Program:exit"(){for(let t of n)if(!r.some(e=>i(t,e)))switch(t.phase){case`setup`:case`cleanup`:e.report({messageId:`expectedClearIntervalInCleanup`,node:t.node,data:{kind:`useEffect`}});continue;case`mount`:case`unmount`:e.report({messageId:`expectedClearIntervalInUnmount`,node:t.node,data:{kind:`componentDidMount`}});continue}}}}const MJe=[];function NJe(e){return e?.type===Z9.AST_NODE_TYPES.NewExpression&&e.callee.type===Z9.AST_NODE_TYPES.Identifier&&e.callee.name===`ResizeObserver`}function PJe(e,t){switch(!0){case t.type===Z9.AST_NODE_TYPES.Identifier:return NJe(h9(_9(t,e.sourceCode.getScope(t)),0));case t.type===Z9.AST_NODE_TYPES.MemberExpression:return PJe(e,t.object);default:return!1}}function FJe(e,t){switch(!0){case t.callee.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`observe`,`unobserve`,`disconnect`))(t.callee.name)&&PJe(e,t.callee):return t.callee.name;case t.callee.type===Z9.AST_NODE_TYPES.MemberExpression&&t.callee.property.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`observe`,`unobserve`,`disconnect`))(t.callee.property.name)&&PJe(e,t.callee):return t.callee.property.name;default:return`other`}}function IJe(e){return lze(e)??`other`}var LJe=yJe({meta:{type:`problem`,docs:{description:"Prevents leaked `ResizeObserver` in a component or custom Hook.",[Symbol.for(`rule_features`)]:MJe},messages:{expectedDisconnectInControlFlow:`Dynamically added 'ResizeObserver.observe' should be cleared all at once using 'ResizeObserver.disconnect' in the cleanup function.`,expectedDisconnectOrUnobserveInCleanup:`A 'ResizeObserver' instance created in 'useEffect' must be disconnected in the cleanup function.`,unexpectedFloatingInstance:`A 'ResizeObserver' instance created in component or custom Hook must be assigned to a variable for proper cleanup.`},schema:[]},name:`no-leaked-resize-observer`,create:RJe,defaultOptions:[]});function RJe(e){if(!e.sourceCode.text.includes(`ResizeObserver`))return{};let t=[],n=[],r=[],i=[],a=[];return{":function"(e){let n=IJe(e);t.push({kind:n,node:e})},":function:exit"(){t.pop()},CallExpression(n){if(n.callee.type!==Z9.AST_NODE_TYPES.MemberExpression)return;let o=t.findLast(e=>e.kind!==`other`)?.kind;if(o==null||!F9.has(o))return;let{object:s}=n.callee;c5(FJe(e,n)).with(`disconnect`,()=>{a.push({kind:`ResizeObserver`,node:n,callee:n.callee,method:`disconnect`,observer:s,phase:o})}).with(`observe`,()=>{let[e]=n.arguments;e!=null&&r.push({kind:`ResizeObserver`,node:n,callee:n.callee,element:e,method:`observe`,observer:s,phase:o})}).with(`unobserve`,()=>{let[e]=n.arguments;e!=null&&i.push({kind:`ResizeObserver`,node:n,callee:n.callee,element:e,method:`unobserve`,observer:s,phase:o})}).otherwise(()=>null)},NewExpression(r){let i=t.findLast(e=>e.kind!==`other`);if(i==null||!F9.has(i.kind)||!NJe(r))return;let a=LRe(r);if(a==null){e.report({messageId:`unexpectedFloatingInstance`,node:r});return}n.push({id:a,node:r,phase:i.kind,phaseNode:i.node})},"Program:exit"(){for(let{id:t,node:o,phaseNode:s}of n){if(a.some(n=>A9(e,n.observer,t)))continue;let n=r.filter(n=>A9(e,n.observer,t)),c=i.filter(n=>A9(e,n.observer,t)),l=e=>e?.type===Z9.AST_NODE_TYPES.CallExpression||pLe(e),u=e=>e===s;if(n.some(e=>!u(d9(e.node,Gke(l,u))))){e.report({messageId:`expectedDisconnectInControlFlow`,node:o});continue}for(let t of n)c.some(n=>A9(e,n.element,t.element))||e.report({messageId:`expectedDisconnectOrUnobserveInCleanup`,node:t.node})}}}}const zJe=[];function BJe(e){switch(!0){case e.callee.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`setTimeout`,`clearTimeout`))(e.callee.name):return e.callee.name;case e.callee.type===Z9.AST_NODE_TYPES.MemberExpression&&e.callee.property.type===Z9.AST_NODE_TYPES.Identifier&&K8(s5.union(`setTimeout`,`clearTimeout`))(e.callee.property.name):return e.callee.property.name;default:return`other`}}var VJe=yJe({meta:{type:`problem`,docs:{description:"Prevents leaked `setTimeout` in a component or custom Hook.",[Symbol.for(`rule_features`)]:zJe},messages:{expectedClearTimeoutInCleanup:`A 'setTimeout' created in '{{ kind }}' must be cleared with 'clearTimeout' in the cleanup function.`,expectedClearTimeoutInUnmount:`A 'setTimeout' created in '{{ kind }}' must be cleared with 'clearTimeout' in the 'componentWillUnmount' method.`,expectedTimeoutId:`A 'setTimeout' must be assigned to a variable for proper cleanup.`},schema:[]},name:`no-leaked-timeout`,create:HJe,defaultOptions:[]});function HJe(e){if(!e.sourceCode.text.includes(`setTimeout`))return{};let t=[],n=[],r=[];function i(t,n){return A9(e,t.timerId,n.timerId)}return{":function"(e){let n=lze(e)??`other`;t.push({kind:n,node:e})},":function:exit"(){t.pop()},CallExpression(i){let a=t.findLast(e=>e.kind!==`other`);if(F9.has(a?.kind))switch(BJe(i)){case`setTimeout`:{let t=zLe(i);if(t==null){e.report({messageId:`expectedTimeoutId`,node:i});break}n.push({kind:`timeout`,node:i,callee:i.callee,phase:a.kind,timerId:t});break}case`clearTimeout`:{let[e]=i.arguments;if(e==null)break;r.push({kind:`timeout`,node:i,callee:i.callee,phase:a.kind,timerId:e});break}}},"Program:exit"(){for(let t of n)if(!r.some(e=>i(t,e)))switch(t.phase){case`setup`:case`cleanup`:e.report({messageId:`expectedClearTimeoutInCleanup`,node:t.node,data:{kind:`useEffect`}});continue;case`mount`:case`unmount`:e.report({messageId:`expectedClearTimeoutInUnmount`,node:t.node,data:{kind:`componentDidMount`}});continue}}}}const UJe={meta:{name:gJe,version:_Je},rules:{"no-leaked-event-listener":EJe,"no-leaked-interval":AJe,"no-leaked-resize-observer":LJe,"no-leaked-timeout":VJe}},{toFlatConfig:WJe}=RNe(`react-web-api`,UJe);var GJe={...UJe,configs:{recommended:WJe(fJe)}},KJe=e(z2(),1),Q9=e(we(),1),$9=e(JPe(),1),qJe=Object.defineProperty,JJe=(e=>{let t={};for(var n in e)qJe(t,n,{get:e[n],enumerable:!0});return t})({name:()=>YJe,rules:()=>XJe});const YJe=`react-naming-convention/recommended`,XJe={"react-naming-convention/context-name":`warn`,"react-naming-convention/use-state":`warn`};var ZJe=`eslint-plugin-react-naming-convention`,QJe=`2.2.3`;function $Je(e){return`${zNe}/docs/rules/naming-convention-${e}`}const eYe=KJe.ESLintUtils.RuleCreator($Je),tYe=[{allowAllCaps:!1,excepts:[],rule:`PascalCase`}],nYe=[{anyOf:[{type:`string`,enum:[`PascalCase`,`CONSTANT_CASE`]},{type:`object`,additionalProperties:!1,properties:{allowAllCaps:{type:`boolean`},excepts:{type:`array`,items:{type:`string`,format:`regex`}},rule:{type:`string`,enum:[`PascalCase`,`CONSTANT_CASE`]}}}]}];var rYe=eYe({meta:{type:`problem`,defaultOptions:[...tYe],docs:{description:`Enforces naming conventions for components.`},messages:{invalidComponentName:`A component name '{{name}}' does not match {{rule}}.`},schema:nYe},name:`component-name`,create:iYe,defaultOptions:tYe});function iYe(e){let t=aYe(e.options),{rule:n}=t,r=M9(e),i=N9();return{...r.listeners,...i.listeners,"Program:exit"(a){let o=r.ctx.getAllComponents(a),s=i.ctx.getAllComponents(a);for(let{node:r}of o.values()){let i=f9(r);if(i?.name==null)continue;let a=i.name;oYe(a,t)||e.report({messageId:`invalidComponentName`,node:i,data:{name:a,rule:n}})}for(let{node:r}of s.values()){let i=sLe(r);if(i?.name==null)continue;let a=i.name;oYe(a,t)||e.report({messageId:`invalidComponentName`,node:i,data:{name:a,rule:n}})}}}}function aYe(e){let t=e[0],n=tYe[0];return t==null?n:{...n,...typeof t==`string`?{rule:t}:{...t,excepts:t.excepts?.map(e=>ePe(e))??[]}}}function oYe(e,t){if(e==null||t.excepts.some(t=>t.test(e)))return!0;let n=e.split(`.`).at(-1)??e;switch(t.rule){case`CONSTANT_CASE`:return WNe.test(n);case`PascalCase`:return n.length>3&&/^[A-Z]+$/u.test(n)?t.allowAllCaps:BNe.test(n)}}var sYe=eYe({meta:{type:`problem`,docs:{description:"Enforces context name to be a valid component name with the suffix `Context`."},messages:{invalidContextName:`A context name must be a valid component name with the suffix 'Context'.`},schema:[]},name:`context-name`,create:cYe,defaultOptions:[]});function cYe(e){return e.sourceCode.text.includes(`createContext`)?{CallExpression(t){if(!nRe(e,t))return;let n=LRe(t);if(n==null)return;let r=c5(n).with({type:Q9.AST_NODE_TYPES.Identifier,name:s5.select()},N8).with({type:Q9.AST_NODE_TYPES.MemberExpression,property:{name:s5.select(s5.string)}},N8).otherwise(()=>null);r!=null&&WRe(r)&&r.endsWith(`Context`)||e.report({messageId:`invalidContextName`,node:n})}}:{}}const lYe=[{excepts:[`index`,String.raw`/^_/`,String.raw`/^\$/`,String.raw`/^[0-9]+$/`,String.raw`/^\[[^\]]+\]$/`],rule:`PascalCase`}],uYe=[{anyOf:[{type:`string`,enum:[`PascalCase`,`camelCase`,`kebab-case`,`snake_case`]},{type:`object`,additionalProperties:!1,properties:{excepts:{type:`array`,items:{type:`string`,format:`regex`}},extensions:{type:`array`,items:{type:`string`},uniqueItems:!0},rule:{type:`string`,enum:[`PascalCase`,`camelCase`,`kebab-case`,`snake_case`]}}}]}];var dYe=eYe({meta:{type:`problem`,defaultOptions:[...lYe],docs:{description:`Enforces consistent file naming conventions.`},messages:{empty:`A file must have non-empty name.`,invalidCase:`A file with name '{{name}}' does not match {{rule}}. Rename it to '{{suggestion}}'.`},schema:uYe},name:`filename`,create:fYe,defaultOptions:lYe});function fYe(e){let t=e.options[0]??lYe[0],n=typeof t==`string`?t:t.rule??`PascalCase`,r=typeof t==`string`?[]:(t.excepts??[]).map(e=>ePe(e));function i(e,t=n,i=r){if(i.some(t=>t.test(e)))return!0;let a=e.match(/[\w.-]/gu)?.join(``)??``;return a.length===0?!0:c5(t).with(`PascalCase`,()=>BNe.test(a)).with(`camelCase`,()=>VNe.test(a)).with(`kebab-case`,()=>HNe.test(a)).with(`snake_case`,()=>UNe.test(a)).exhaustive()}function a(e,t=n){return c5(t).with(`PascalCase`,()=>(0,$9.pascalCase)(e)).with(`camelCase`,()=>(0,$9.camelCase)(e)).with(`kebab-case`,()=>(0,$9.kebabCase)(e)).with(`snake_case`,()=>(0,$9.snakeCase)(e)).exhaustive()}return{Program(t){let[r=``,...o]=d.basename(e.filename).split(`.`);if(r.length===0){e.report({messageId:`empty`,node:t});return}i(r)||e.report({messageId:`invalidCase`,node:t,data:{name:e.filename,rule:n,suggestion:[a(r),...o].join(`.`)}})}}}const pYe=[{allow:`as-needed`,extensions:[`.jsx`,`.tsx`],ignoreFilesWithoutCode:!1}],mYe=[{anyOf:[{type:`string`,enum:[`always`,`as-needed`]},{type:`object`,additionalProperties:!1,properties:{allow:{type:`string`,enum:[`always`,`as-needed`]},extensions:{type:`array`,items:{type:`string`},uniqueItems:!0},ignoreFilesWithoutCode:{type:`boolean`}}}]}];var hYe=eYe({meta:{type:`problem`,defaultOptions:[...pYe],docs:{description:`Enforces consistent file naming conventions.`},messages:{missingJSXExtension:`Use {{extensions}} file extension for JSX files.`,unnecessaryJSXExtension:`Do not use {{extensions}} file extension for files without JSX.`},schema:mYe},name:`filename-extension`,create:gYe,defaultOptions:pYe});function gYe(e){let t=e.options[0]??pYe[0],n=M8(t)?t.allow:t,r=M8(t)&&`extensions`in t?t.extensions:pYe[0].extensions,i=r.map(e=>`'${e}'`).join(`, `),a=e.filename,o=!1;return{JSXElement(){o=!0},JSXFragment(){o=!0},"Program:exit"(s){let c=a.slice(a.lastIndexOf(`.`)),l=r.includes(c);if(o&&!l){e.report({messageId:`missingJSXExtension`,node:s,data:{extensions:i}});return}let u=s.body.length>0,d=M8(t)&&t.ignoreFilesWithoutCode===!0;!u&&d||!o&&l&&n===`as-needed`&&e.report({messageId:`unnecessaryJSXExtension`,node:s,data:{extensions:i}})}}}const _Ye=[];var vYe=eYe({meta:{type:`problem`,docs:{description:"Enforces destructuring and symmetric naming of `useState` hook value and setter.",[Symbol.for(`rule_features`)]:_Ye},messages:{invalidAssignment:`useState should be destructured into a value and setter pair, e.g., const [state, setState] = useState(...).`,invalidSetterName:`The setter should be named 'set' followed by the capitalized state variable name, e.g., 'setState' for 'state'.`},schema:[]},name:`use-state`,create:yYe,defaultOptions:[]});function yYe(e){return{CallExpression(t){if(!hRe(t))return;if(t.parent.type!==Q9.AST_NODE_TYPES.VariableDeclarator){e.report({messageId:`invalidAssignment`,node:t});return}let n=LRe(t);if(n?.type!==Q9.AST_NODE_TYPES.ArrayPattern){e.report({messageId:`invalidAssignment`,node:n??t});return}let[r,i]=n.elements;if(r==null||i==null){e.report({messageId:`invalidAssignment`,node:n});return}let a=c5(i).with({type:Q9.AST_NODE_TYPES.Identifier},e=>e.name).otherwise(()=>null);if(a==null||!a.startsWith(`set`)){e.report({messageId:`invalidSetterName`,node:i});return}let o=c5(r).with({type:Q9.AST_NODE_TYPES.Identifier},({name:e})=>(0,$9.snakeCase)(e)).with({type:Q9.AST_NODE_TYPES.ObjectPattern},({properties:e})=>e.reduce((e,t)=>t.type===Q9.AST_NODE_TYPES.Property&&t.key.type===Q9.AST_NODE_TYPES.Identifier?[...e,t.key.name]:e,[]).join(`_`)).otherwise(()=>null);if(o==null){e.report({messageId:`invalidSetterName`,node:r});return}if((0,$9.snakeCase)(a)!==`set_${o}`){e.report({messageId:`invalidSetterName`,node:i});return}}}}const bYe={meta:{name:ZJe,version:QJe},rules:{"component-name":rYe,"context-name":sYe,filename:dYe,"filename-extension":hYe,"use-state":vYe}},{toFlatConfig:xYe}=RNe(`react-naming-convention`,bYe);var SYe={...bYe,configs:{recommended:xYe(JJe)}},CYe=i(((e,t)=>{var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},s=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},c=e=>s(n({},`__esModule`,{value:!0}),e),l={};o(l,{configs:()=>_,default:()=>v,rules:()=>h}),t.exports=c(l);var u=/^[A-Z][a-zA-Z0-9]*$/u,d={meta:{messages:{exportAll:"This rule can't verify that `export *` only exports components.",namedExport:`Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components.`,anonymousExport:`Fast refresh can't handle anonymous components. Add a name to your export.`,localComponents:`Fast refresh only works when a file only exports components. Move your component(s) to a separate file.`,noExport:`Fast refresh only works when a file has exports. Move your component(s) to a separate file.`,reactContext:`Fast refresh only works when a file only exports components. Move your React context(s) to a separate file.`},type:`problem`,schema:[{type:`object`,properties:{allowExportNames:{type:`array`,items:{type:`string`}},allowConstantExport:{type:`boolean`},customHOCs:{type:`array`,items:{type:`string`}},checkJS:{type:`boolean`}},additionalProperties:!1}]},defaultOptions:[],create:e=>{let{allowExportNames:t,allowConstantExport:n=!1,customHOCs:r=[],checkJS:i=!1}=e.options[0]??{},a=e.filename;if(a.includes(`.test.`)||a.includes(`.spec.`)||a.includes(`.cy.`)||a.includes(`.stories.`)||!(a.endsWith(`.jsx`)||a.endsWith(`.tsx`)||i&&a.endsWith(`.js`)))return{};let o=t?new Set(t):void 0,s=[`memo`,`forwardRef`,...r],c=e=>{if(!e)return!1;let t=f(e);return t.type===`ArrowFunctionExpression`?!0:t.type===`CallExpression`&&t.callee.type===`Identifier`?s.includes(t.callee.name):!1};return{Program(t){let r=!1,a=!1,l=!1,d=[],h=[],g=[],_=(e,t,r)=>{if(e.type!==`Identifier`){h.push(e);return}if(!o?.has(e.name)&&!(n&&r&&p.has(f(r).type)))if(t)u.test(e.name)?a=!0:h.push(e);else{if(r&&r.type===`CallExpression`&&(r.callee.type===`Identifier`&&r.callee.name===`createContext`||r.callee.type===`MemberExpression`&&r.callee.property.type===`Identifier`&&r.callee.property.name===`createContext`)){g.push(e);return}if(r&&m.has(r.type)){h.push(e);return}u.test(e.name)?a=!0:h.push(e)}},v=e=>{if(!(e.callee.type===`CallExpression`&&e.callee.callee.type===`Identifier`&&e.callee.callee.name===`connect`||e.callee.type===`MemberExpression`&&e.callee.property.type===`Identifier`&&s.includes(e.callee.property.name)||e.callee.type===`Identifier`&&s.includes(e.callee.name))||e.arguments.length===0)return!1;let t=f(e.arguments[0]);switch(t.type){case`Identifier`:return!0;case`FunctionExpression`:return t.id?(_(t.id,!0),!0):!1;case`CallExpression`:return v(t);default:return!1}},y=t=>{if(t.type===`VariableDeclaration`)for(let e of t.declarations)_(e.id,c(e.init),e.init);else t.type===`FunctionDeclaration`?t.id===null?e.report({messageId:`anonymousExport`,node:t}):_(t.id,!0):t.type===`CallExpression`?v(t)?a=!0:e.report({messageId:`anonymousExport`,node:t}):t.type===`TSEnumDeclaration`&&h.push(t.id)};for(let n of t.body)if(n.type===`ExportAllDeclaration`){if(n.exportKind===`type`)continue;r=!0,e.report({messageId:`exportAll`,node:n})}else if(n.type===`ExportDefaultDeclaration`){r=!0;let t=f(n.declaration);(t.type===`VariableDeclaration`||t.type===`FunctionDeclaration`||t.type===`CallExpression`)&&y(t),t.type===`Identifier`&&_(t),t.type===`ArrowFunctionExpression`&&e.report({messageId:`anonymousExport`,node:n})}else if(n.type===`ExportNamedDeclaration`){if(n.exportKind===`type`)continue;r=!0,n.declaration&&y(f(n.declaration));for(let e of n.specifiers)_(e.exported.type===`Identifier`&&e.exported.name===`default`?e.local:e.exported)}else if(n.type===`VariableDeclaration`)for(let e of n.declarations)e.id.type===`Identifier`&&u.test(e.id.name)&&c(e.init)&&d.push(e.id);else n.type===`FunctionDeclaration`?u.test(n.id.name)&&d.push(n.id):n.type===`ImportDeclaration`&&n.source.value===`react`&&(l=!0);if(!(i&&!l)){if(r){if(a){for(let t of h)e.report({messageId:`namedExport`,node:t});for(let t of g)e.report({messageId:`reactContext`,node:t})}else if(d.length)for(let t of d)e.report({messageId:`localComponents`,node:t})}else if(d.length)for(let t of d)e.report({messageId:`noExport`,node:t})}}}}},f=e=>e.type===`TSAsExpression`||e.type===`TSSatisfiesExpression`?e.expression:e,p=new Set([`Literal`,`UnaryExpression`,`TemplateLiteral`,`BinaryExpression`]),m=new Set([`ArrayExpression`,`AwaitExpression`,`BinaryExpression`,`ChainExpression`,`ConditionalExpression`,`Literal`,`LogicalExpression`,`ObjectExpression`,`TemplateLiteral`,`ThisExpression`,`UnaryExpression`,`UpdateExpression`]),h={"only-export-components":d},g={rules:h},_={recommended:{name:`react-refresh/recommended`,plugins:{"react-refresh":g},rules:{"react-refresh/only-export-components":`error`}},vite:{name:`react-refresh/vite`,plugins:{"react-refresh":g},rules:{"react-refresh/only-export-components":[`error`,{allowConstantExport:!0}]}},next:{name:`react-refresh/vite`,plugins:{"react-refresh":g},rules:{"react-refresh/only-export-components":[`error`,{allowExportNames:[`experimental_ppr`,`dynamic`,`dynamicParams`,`revalidate`,`fetchCache`,`runtime`,`preferredRegion`,`maxDuration`,`metadata`,`generateMetadata`,`viewport`,`generateViewport`,`generateImageMetadata`,`generateSitemaps`,`generateStaticParams`]}]}}},v={rules:h,configs:_}})),wYe=i(((e,t)=>{let n=new Set([`h1`,`h2`,`h3`,`h4`,`h5`,`h6`]),r=new Set([]),{onlyValidChildren:i,onlyValidParents:a,knownInvalidChildren:o,knownInvalidParents:s}={onlyValidChildren:{head:new Set([`base`,`basefront`,`bgsound`,`link`,`meta`,`title`,`noscript`,`noframes`,`style`,`script`,`template`]),optgroup:new Set([`option`]),select:new Set([`optgroup`,`option`]),math:new Set([`mrow`]),script:new Set,table:new Set([`caption`,`colgroup`,`tbody`,`tfoot`,`thead`]),tr:new Set([`td`,`th`]),colgroup:new Set([`col`]),tbody:new Set([`tr`]),thead:new Set([`tr`]),tfoot:new Set([`tr`]),iframe:r,option:r,textarea:r,style:r,title:r},onlyValidParents:{html:r,body:new Set([`html`]),head:new Set([`html`]),td:new Set([`tr`]),colgroup:new Set([`table`]),caption:new Set([`table`]),tbody:new Set([`table`]),tfoot:new Set([`table`]),col:new Set([`colgroup`]),th:new Set([`tr`]),thead:new Set([`table`]),tr:new Set([`tbody`,`thead`,`tfoot`]),dd:new Set([`dl`,`div`]),dt:new Set([`dl`,`div`]),figcaption:new Set([`figure`]),summary:new Set([`details`]),area:new Set([`map`])},knownInvalidChildren:{p:new Set(`address.article.aside.blockquote.center.details.dialog.dir.div.dl.fieldset.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.li.main.nav.menu.ol.p.pre.section.table.ul`.split(`.`)),svg:new Set(`b.blockquote.br.code.dd.div.dl.dt.em.embed.h1.h2.h3.h4.h5.h6.hr.i.img.li.menu.meta.ol.p.pre.ruby.s.small.span.strong.sub.sup.table.u.ul.var`.split(`.`))},knownInvalidParents:{a:new Set([`a`]),button:new Set([`button`]),dd:new Set([`dd`,`dt`]),dt:new Set([`dd`,`dt`]),form:new Set([`form`]),li:new Set([`li`]),h1:n,h2:n,h3:n,h4:n,h5:n,h6:n}};function c(e,t){return e in i?i[e].has(t):t in a?a[t].has(e):!(e in o&&o[e].has(t)||t in s&&s[t].has(e))}var l={isValidHTMLNesting:c};function u(e){return e[0]===e[0].toUpperCase()}function d(e){return typeof e==`object`&&!!e&&e.type===`JSXElement`}let f={meta:{type:`problem`},create(e){return{JSXElement(t){let n=t,r=t.parent,i=n.openingElement.name;if(i.type!==`JSXIdentifier`||u(i.name)||!d(r))return;let a=r.openingElement.name;a.type===`JSXIdentifier`&&(u(a.name)||l.isValidHTMLNesting(a.name,i.name)||e.report({node:t,message:`Invalid HTML nesting: <${i.name}> can not be child of <${a.name}>`}))}}}};t.exports={rules:{"no-invalid-jsx-nesting":f}}})),TYe=i((e=>{let t=[`env`,`extends`,`globals`,`ignorePatterns`,`noInlineConfig`,`overrides`,`parser`,`parserOptions`,`reportUnusedDisableDirectives`,`root`],n=new Set([`basePath`,`ignores`,`name`]);function r(e,t){return e.name?e.name:`UserConfig${t}`}function i(e,t){return typeof e==`string`?e:e.name?e.name:`ExtendedConfig${t}`}function a(e){if(Array.isArray(e.plugins))return!0;for(let n of t)if(n in e)return!0;return!1}function o(e){return Object.keys(e).every(e=>n.has(e))}function s(e){let t=e.indexOf(`/`);if(t===-1)return{namespace:``,name:e};let n=e.slice(0,t);if(n[0]===`@`&&n!==`@`){let r=e.indexOf(`/`,t+1);if(r!==-1)return n=e.slice(0,r),{namespace:n,name:e.slice(r+1)}}let r=e.slice(t+1);return{namespace:n,name:r}}function c(e,t,n){let r=t.meta?.namespace;if(!r||r===e||!n.rules&&!n.processor&&!n.language)return n;let i={...n};if(i.rules){let t=Object.keys(i.rules),n={};for(let a=0;a<t.length;a++){let o=t[a],{namespace:c,name:l}=s(o);c===r?n[`${e}/${l}`]=i.rules[o]:n[o]=i.rules[o]}i.rules=n}if(typeof i.processor==`string`){let{namespace:t,name:n}=s(i.processor);t&&t===r&&(i.processor=`${e}/${n}`)}if(typeof i.language==`string`){let{namespace:t,name:n}=s(i.language);t===r&&(i.language=`${e}/${n}`)}return i}function l(e,t,n,r){if(Array.isArray(n))return n.map(n=>l(e,t,n,r));if(a(n))throw TypeError(`Plugin config "${r}" is an eslintrc config and cannot be used in this context.`);return c(e,t,n)}function u(e,t){let{namespace:n,name:r}=s(t),i=e.plugins?.[n];if(!i)throw TypeError(`Plugin "${n}" not found.`);let o=i.configs?.[r];if(o&&(Array.isArray(o)||!a(o)))return l(n,i,o,t);let c=i.configs?.[`flat/${r}`];if(c&&(Array.isArray(c)||!a(c)))return l(n,i,c,t);let u=o||c?`Plugin config "${r}" in plugin "${n}" is an eslintrc config and cannot be used in this context.`:`Plugin config "${r}" not found in plugin "${n}".`;throw TypeError(u)}function*d(e,t=``){for(let n=0;n<e.length;n++){let r=t?`${t}[${n}]`:`[${n}]`;if(Array.isArray(e[n])){yield*d(e[n],r);continue}yield{indexPath:r,value:e[n]}}}function f(e=[],t=[]){if(!t.length)return e.concat();if(!e.length)return t.concat();let n=[];for(let r of e)for(let e of t){let t=[];Array.isArray(r)?t.push(...r):t.push(r),Array.isArray(e)?t.push(...e):t.push(e),n.push(t)}return n}function p(e,t,n,r){let i={...n};return o(n)||(e.files&&(i.files=f(e.files,n.files)),e.ignores&&(i.ignores=e.ignores.concat(n.ignores??[]))),i.name=`${t} > ${r}`,e.basePath&&(i.basePath=e.basePath),i}function m(e,t){if(!e.extends)return[e];if(!Array.isArray(e.extends))throw TypeError("The `extends` property must be an array.");let{extends:n,...r}=e,a=new WeakMap,s=n.map(t=>{if(typeof t==`string`){let n=u(e,t);return Array.isArray(n)?n.forEach((e,n)=>{a.set(e,`${t}[${n}]`)}):a.set(n,t),n}return t}),c=[];for(let{indexPath:n,value:o}of d(s)){let s=o;if(`basePath`in s)throw TypeError("'basePath' in `extends` is not allowed.");if(`extends`in s)throw TypeError(`Nested 'extends' is not allowed.`);let l=t.get(e),u=a.get(o)??i(o,n);c.push(p(r,l,s,u))}return o(r)||c.push(r),c.flat()}function h(e,t){return e.flatMap(e=>m(e,t))}function g(...e){let t=new WeakMap,n=[];if(e.length===0)throw TypeError(`Expected one or more arguments.`);for(let{indexPath:i,value:a}of d(e)){if(typeof a!=`object`||!a)throw TypeError(`Expected an object but received ${String(a)}.`);let e=a;t.set(e,r(e,i)),n.push(e)}return h(n,t)}let _=0;function v(e,t){if(!Array.isArray(e))throw TypeError(`ignorePatterns must be an array`);if(e.length===0)throw TypeError(`ignorePatterns must contain at least one pattern`);let n=_++;return{name:t||`globalIgnores ${n}`,ignores:e}}e.defineConfig=g,e.globalIgnores=v})),EYe=i(((e,t)=>{let{defineConfig:n,globalIgnores:r}=TYe();t.exports={defineConfig:n,globalIgnores:r}})),DYe=e(AV(),1),OYe=e(CYe(),1),kYe=e(wYe(),1),AYe=e(EYe(),1);const jYe=[`js`,`jsx`,`mjs`,`cjs`],MYe=[`ts`,`tsx`,`mts`,`cts`],NYe=[`jsx`,`tsx`],PYe=[`html`,`vue`,`md`];var FYe=(0,AYe.defineConfig)([{ignores:[`**/!.storybook/`,`**/*.snap`,`**/.air/`,`**/.git/`,`**/.ruff_cache/`,`**/.swc/`,`**/.venv/`,`**/build/`,`**/dist/`,`**/node_modules/`,`**/persistent/`,`**/vendor/`]},{files:[`**/*.{${[...jYe,...MYe].join(`,`)}}`],languageOptions:{ecmaVersion:`latest`,sourceType:`module`,globals:{...DYe.default.browser,...DYe.default.node},parser:b,parserOptions:{sourceType:`module`,ecmaVersion:`latest`,ecmaFeatures:{jsx:!0,impliedStrict:!0},project:!0,extraFileExtensions:PYe.map(e=>`.${e}`)}},linterOptions:{reportUnusedDisableDirectives:2},plugins:{"@eslint-community/eslint-comments":B.default,"@stylistic":Cl,"@typescript-eslint":y.plugin,"array-func":Gl,"import-x":l,"no-use-extend-native":uu,"@eslint-react":iKe,"@eslint-react/dom":lJe,"@eslint-react/web-api":GJe,"@eslint-react/naming-convention":SYe,"react-hooks":v,"react-refresh":OYe.default,regexp:EV.default,sonarjs:TV.default,unicorn:__e},settings:{"import-x/extensions":[...jYe,...MYe].map(e=>`.${e}`),"import-x/parsers":{"@typescript-eslint/parser":[...jYe,...MYe].map(e=>`.${e}`)},"import-x/resolver":{"eslint-import-resolver-typescript":!0},"react-hooks":{additionalEffectHooks:`^(useEffectOnce|useLayoutEffectOnce)$`}},rules:{"@eslint-community/eslint-comments/disable-enable-pair":[2,{allowWholeFile:!0}],"@eslint-community/eslint-comments/no-aggregating-enable":[2],"@eslint-community/eslint-comments/no-duplicate-disable":[2],"@eslint-community/eslint-comments/no-restricted-disable":[0],"@eslint-community/eslint-comments/no-unlimited-disable":[2],"@eslint-community/eslint-comments/no-unused-disable":[2],"@eslint-community/eslint-comments/no-unused-enable":[2],"@eslint-community/eslint-comments/no-use":[0],"@eslint-community/eslint-comments/require-description":[0],"@eslint-react/dom/no-dangerously-set-innerhtml":[0],"@eslint-react/dom/no-dangerously-set-innerhtml-with-children":[2],"@eslint-react/dom/no-find-dom-node":[2],"@eslint-react/dom/no-flush-sync":[0],"@eslint-react/dom/no-hydrate":[0],"@eslint-react/dom/no-missing-button-type":[0],"@eslint-react/dom/no-missing-iframe-sandbox":[0],"@eslint-react/dom/no-namespace":[2],"@eslint-react/dom/no-render":[2],"@eslint-react/dom/no-render-return-value":[2],"@eslint-react/dom/no-script-url":[2],"@eslint-react/dom/no-string-style-prop":[2],"@eslint-react/dom/no-unknown-property":[2,{ignore:[`css`],requireDataLowercase:!0}],"@eslint-react/dom/no-unsafe-iframe-sandbox":[0],"@eslint-react/dom/no-unsafe-target-blank":[0],"@eslint-react/dom/no-use-form-state":[0],"@eslint-react/dom/no-void-elements-with-children":[2],"@eslint-react/dom/prefer-namespace-import":[0],"@eslint-react/naming-convention/component-name":[0],"@eslint-react/naming-convention/context-name":[0],"@eslint-react/naming-convention/filename":[0],"@eslint-react/naming-convention/filename-extension":[0],"@eslint-react/naming-convention/use-state":[2],"@eslint-react/no-access-state-in-setstate":[0],"@eslint-react/no-array-index-key":[0],"@eslint-react/no-children-count":[0],"@eslint-react/no-children-for-each":[0],"@eslint-react/no-children-map":[0],"@eslint-react/no-children-only":[0],"@eslint-react/no-children-prop":[0],"@eslint-react/no-children-to-array":[0],"@eslint-react/no-class-component":[0],"@eslint-react/no-clone-element":[0],"@eslint-react/no-component-will-mount":[2],"@eslint-react/no-component-will-receive-props":[2],"@eslint-react/no-component-will-update":[2],"@eslint-react/no-context-provider":[0],"@eslint-react/no-create-ref":[2],"@eslint-react/no-default-props":[2],"@eslint-react/no-direct-mutation-state":[2],"@eslint-react/no-duplicate-key":[2],"@eslint-react/no-forbidden-props":[0],"@eslint-react/no-forward-ref":[2],"@eslint-react/no-implicit-key":[2],"@eslint-react/no-leaked-conditional-rendering":[0],"@eslint-react/no-missing-component-display-name":[0],"@eslint-react/no-missing-context-display-name":[0],"@eslint-react/no-missing-key":[2],"@eslint-react/no-misused-capture-owner-stack":[0],"@eslint-react/no-nested-component-definitions":[0],"@eslint-react/no-nested-lazy-component-declarations":[0],"@eslint-react/no-prop-types":[2],"@eslint-react/no-redundant-should-component-update":[2],"@eslint-react/no-set-state-in-component-did-mount":[0],"@eslint-react/no-set-state-in-component-did-update":[0],"@eslint-react/no-set-state-in-component-will-update":[0],"@eslint-react/no-string-refs":[2],"@eslint-react/no-unnecessary-key":[2],"@eslint-react/no-unnecessary-use-callback":[2],"@eslint-react/no-unnecessary-use-memo":[2],"@eslint-react/no-unnecessary-use-prefix":[0],"@eslint-react/no-unsafe-component-will-mount":[0],"@eslint-react/no-unsafe-component-will-receive-props":[0],"@eslint-react/no-unsafe-component-will-update":[0],"@eslint-react/no-unstable-context-value":[2],"@eslint-react/no-unstable-default-props":[2],"@eslint-react/no-unused-class-component-members":[0],"@eslint-react/no-unused-props":[2],"@eslint-react/no-unused-state":[2],"@eslint-react/no-use-context":[0],"@eslint-react/no-useless-forward-ref":[0],"@eslint-react/no-useless-fragment":[2,{allowExpressions:!1}],"@eslint-react/prefer-destructuring-assignment":[0],"@eslint-react/prefer-namespace-import":[0],"@eslint-react/prefer-read-only-props":[0],"@eslint-react/prefer-use-state-lazy-initialization":[0],"@eslint-react/web-api/no-leaked-event-listener":[0],"@eslint-react/web-api/no-leaked-interval":[0],"@eslint-react/web-api/no-leaked-resize-observer":[0],"@eslint-react/web-api/no-leaked-timeout":[0],"@stylistic/array-bracket-newline":[0],"@stylistic/array-bracket-spacing":[2,`never`],"@stylistic/array-element-newline":[0],"@stylistic/arrow-parens":[0],"@stylistic/arrow-spacing":[2,{before:!0,after:!0}],"@stylistic/block-spacing":[0],"@stylistic/brace-style":[2,`1tbs`,{allowSingleLine:!0}],"@stylistic/comma-dangle":[2,`only-multiline`],"@stylistic/comma-spacing":[2,{before:!1,after:!0}],"@stylistic/comma-style":[2,`last`],"@stylistic/computed-property-spacing":[2,`never`],"@stylistic/dot-location":[2,`property`],"@stylistic/eol-last":[2],"@stylistic/function-call-argument-newline":[0],"@stylistic/function-call-spacing":[2,`never`],"@stylistic/function-paren-newline":[0],"@stylistic/generator-star-spacing":[0],"@stylistic/implicit-arrow-linebreak":[0],"@stylistic/indent":[2,2,{ignoreComments:!0,SwitchCase:1}],"@stylistic/jsx-child-element-spacing":[0],"@stylistic/jsx-closing-bracket-location":[0],"@stylistic/jsx-closing-tag-location":[2],"@stylistic/jsx-curly-brace-presence":[0],"@stylistic/jsx-curly-newline":[2,`consistent`],"@stylistic/jsx-curly-spacing":[2,{when:`never`}],"@stylistic/jsx-equals-spacing":[2,`never`],"@stylistic/jsx-first-prop-new-line":[0],"@stylistic/jsx-function-call-newline":[0],"@stylistic/jsx-indent-props":[2,2],"@stylistic/jsx-max-props-per-line":[0],"@stylistic/jsx-newline":[0],"@stylistic/jsx-one-expression-per-line":[0],"@stylistic/jsx-pascal-case":[2,{allowAllCaps:!0}],"@stylistic/jsx-self-closing-comp":[2],"@stylistic/jsx-sort-props":[0],"@stylistic/jsx-tag-spacing":[2,{beforeSelfClosing:`never`,beforeClosing:`never`}],"@stylistic/jsx-wrap-multilines":[2],"@stylistic/key-spacing":[2],"@stylistic/keyword-spacing":[2],"@stylistic/line-comment-position":[0],"@stylistic/linebreak-style":[2,`unix`],"@stylistic/lines-around-comment":[0],"@stylistic/lines-between-class-members":[0],"@stylistic/max-len":[0],"@stylistic/max-statements-per-line":[0],"@stylistic/multiline-comment-style":[0],"@stylistic/multiline-ternary":[0],"@stylistic/new-parens":[2],"@stylistic/newline-per-chained-call":[0],"@stylistic/no-confusing-arrow":[0],"@stylistic/no-extra-parens":[0],"@stylistic/no-extra-semi":[2],"@stylistic/no-floating-decimal":[0],"@stylistic/no-mixed-operators":[0],"@stylistic/no-mixed-spaces-and-tabs":[2],"@stylistic/no-multi-spaces":[2,{ignoreEOLComments:!0,exceptions:{Property:!0}}],"@stylistic/no-multiple-empty-lines":[2,{max:2,maxEOF:1,maxBOF:0}],"@stylistic/no-tabs":[0],"@stylistic/no-trailing-spaces":[2],"@stylistic/no-whitespace-before-property":[2],"@stylistic/nonblock-statement-body-position":[2],"@stylistic/object-curly-newline":[0],"@stylistic/object-curly-spacing":[2,`never`],"@stylistic/object-property-newline":[0],"@stylistic/one-var-declaration-per-line":[0],"@stylistic/operator-linebreak":[2,`after`],"@stylistic/padded-blocks":[2,`never`],"@stylistic/padding-line-between-statements":[0],"@stylistic/quote-props":[0],"@stylistic/quotes":[2,`double`,{avoidEscape:!0,allowTemplateLiterals:`always`}],"@stylistic/rest-spread-spacing":[2,`never`],"@stylistic/semi":[2,`always`],"@stylistic/semi-spacing":[2,{before:!1,after:!0}],"@stylistic/semi-style":[2,`last`],"@stylistic/space-before-blocks":[2,`always`],"@stylistic/space-before-function-paren":[0],"@stylistic/space-in-parens":[2,`never`],"@stylistic/space-infix-ops":[2],"@stylistic/space-unary-ops":[2],"@stylistic/spaced-comment":[0],"@stylistic/switch-colon-spacing":[2],"@stylistic/template-curly-spacing":[2,`never`],"@stylistic/template-tag-spacing":[2,`never`],"@stylistic/wrap-iife":[2,`inside`],"@stylistic/wrap-regex":[0],"@stylistic/yield-star-spacing":[2,`after`],"@typescript-eslint/adjacent-overload-signatures":[0],"@typescript-eslint/array-type":[0],"@typescript-eslint/await-thenable":[2],"@typescript-eslint/ban-ts-comment":[2,{"ts-expect-error":!1,"ts-ignore":!0,"ts-nocheck":!1,"ts-check":!1}],"@typescript-eslint/ban-tslint-comment":[0],"@typescript-eslint/class-literal-property-style":[0],"@typescript-eslint/class-methods-use-this":[0],"@typescript-eslint/consistent-generic-constructors":[0],"@typescript-eslint/consistent-indexed-object-style":[0],"@typescript-eslint/consistent-return":[0],"@typescript-eslint/consistent-type-assertions":[2,{assertionStyle:`as`,objectLiteralTypeAssertions:`allow`}],"@typescript-eslint/consistent-type-definitions":[2,`type`],"@typescript-eslint/consistent-type-exports":[2,{fixMixedExportsWithInlineTypeSpecifier:!1}],"@typescript-eslint/consistent-type-imports":[2,{prefer:`type-imports`,fixStyle:`separate-type-imports`,disallowTypeAnnotations:!0}],"@typescript-eslint/default-param-last":[0],"@typescript-eslint/dot-notation":[0],"@typescript-eslint/explicit-function-return-type":[0],"@typescript-eslint/explicit-member-accessibility":[0],"@typescript-eslint/explicit-module-boundary-types":[0],"@typescript-eslint/init-declarations":[0],"@typescript-eslint/max-params":[0],"@typescript-eslint/member-ordering":[0],"@typescript-eslint/method-signature-style":[0],"@typescript-eslint/naming-convention":[0],"@typescript-eslint/no-array-constructor":[2],"@typescript-eslint/no-array-delete":[2],"@typescript-eslint/no-base-to-string":[0],"@typescript-eslint/no-confusing-non-null-assertion":[2],"@typescript-eslint/no-confusing-void-expression":[0],"@typescript-eslint/no-deprecated":[2],"@typescript-eslint/no-dupe-class-members":[0],"@typescript-eslint/no-duplicate-enum-values":[2],"@typescript-eslint/no-duplicate-type-constituents":[2,{ignoreUnions:!0}],"@typescript-eslint/no-dynamic-delete":[0],"@typescript-eslint/no-empty-function":[0],"@typescript-eslint/no-empty-interface":[0],"@typescript-eslint/no-empty-object-type":[2],"@typescript-eslint/no-explicit-any":[0],"@typescript-eslint/no-extra-non-null-assertion":[2],"@typescript-eslint/no-extraneous-class":[0],"@typescript-eslint/no-floating-promises":[0],"@typescript-eslint/no-for-in-array":[2],"@typescript-eslint/no-implied-eval":[2],"@typescript-eslint/no-import-type-side-effects":[0],"@typescript-eslint/no-inferrable-types":[0],"@typescript-eslint/no-invalid-this":[0],"@typescript-eslint/no-invalid-void-type":[0],"@typescript-eslint/no-loop-func":[0],"@typescript-eslint/no-magic-numbers":[0],"@typescript-eslint/no-meaningless-void-operator":[0],"@typescript-eslint/no-misused-new":[2],"@typescript-eslint/no-misused-promises":[2,{checksVoidReturn:{attributes:!1,arguments:!1}}],"@typescript-eslint/no-mixed-enums":[0],"@typescript-eslint/no-namespace":[2],"@typescript-eslint/no-non-null-asserted-nullish-coalescing":[0],"@typescript-eslint/no-non-null-asserted-optional-chain":[2],"@typescript-eslint/no-non-null-assertion":[0],"@typescript-eslint/no-redeclare":[0],"@typescript-eslint/no-redundant-type-constituents":[2],"@typescript-eslint/no-require-imports":[2],"@typescript-eslint/no-restricted-imports":[0],"@typescript-eslint/no-restricted-types":[0],"@typescript-eslint/no-shadow":[0],"@typescript-eslint/no-this-alias":[2],"@typescript-eslint/no-unnecessary-boolean-literal-compare":[0],"@typescript-eslint/no-unnecessary-condition":[0],"@typescript-eslint/no-unnecessary-parameter-property-assignment":[2],"@typescript-eslint/no-unnecessary-qualifier":[0],"@typescript-eslint/no-unnecessary-template-expression":[0],"@typescript-eslint/no-unnecessary-type-arguments":[0],"@typescript-eslint/no-unnecessary-type-assertion":[2],"@typescript-eslint/no-unnecessary-type-constraint":[2],"@typescript-eslint/no-unnecessary-type-conversion":[0],"@typescript-eslint/no-unsafe-argument":[0],"@typescript-eslint/no-unsafe-assignment":[0],"@typescript-eslint/no-unsafe-call":[0],"@typescript-eslint/no-unsafe-declaration-merging":[2],"@typescript-eslint/no-unsafe-enum-comparison":[2],"@typescript-eslint/no-unsafe-function-type":[0],"@typescript-eslint/no-unsafe-member-access":[0],"@typescript-eslint/no-unsafe-return":[0],"@typescript-eslint/no-unsafe-unary-minus":[2],"@typescript-eslint/no-unused-expressions":[0],"@typescript-eslint/no-unused-vars":[2,{vars:`all`,args:`all`,caughtErrors:`all`,ignoreRestSiblings:!1,argsIgnorePattern:`^_`,varsIgnorePattern:`^_[^_]*$`,caughtErrorsIgnorePattern:`^_`,destructuredArrayIgnorePattern:`^_`}],"@typescript-eslint/no-use-before-define":[2,{functions:!1,classes:!0,variables:!0,allowNamedExports:!0,typedefs:!1,enums:!1,ignoreTypeReferences:!0}],"@typescript-eslint/no-useless-constructor":[0],"@typescript-eslint/no-useless-empty-export":[0],"@typescript-eslint/no-wrapper-object-types":[2],"@typescript-eslint/non-nullable-type-assertion-style":[0],"@typescript-eslint/only-throw-error":[2],"@typescript-eslint/parameter-properties":[0],"@typescript-eslint/prefer-as-const":[2],"@typescript-eslint/prefer-destructuring":[0],"@typescript-eslint/prefer-enum-initializers":[0],"@typescript-eslint/prefer-find":[2],"@typescript-eslint/prefer-for-of":[2],"@typescript-eslint/prefer-function-type":[2],"@typescript-eslint/prefer-includes":[2],"@typescript-eslint/prefer-literal-enum-member":[0],"@typescript-eslint/prefer-namespace-keyword":[0],"@typescript-eslint/prefer-nullish-coalescing":[0],"@typescript-eslint/prefer-optional-chain":[2,{requireNullish:!0}],"@typescript-eslint/prefer-promise-reject-errors":[0],"@typescript-eslint/prefer-readonly":[0],"@typescript-eslint/prefer-readonly-parameter-types":[0],"@typescript-eslint/prefer-reduce-type-parameter":[0],"@typescript-eslint/prefer-regexp-exec":[0],"@typescript-eslint/prefer-return-this-type":[0],"@typescript-eslint/prefer-string-starts-ends-with":[2,{allowSingleElementEquality:`always`}],"@typescript-eslint/promise-function-async":[0],"@typescript-eslint/require-array-sort-compare":[0],"@typescript-eslint/require-await":[2],"@typescript-eslint/restrict-plus-operands":[2],"@typescript-eslint/restrict-template-expressions":[0],"@typescript-eslint/return-await":[0],"@typescript-eslint/strict-boolean-expressions":[0],"@typescript-eslint/switch-exhaustiveness-check":[0],"@typescript-eslint/triple-slash-reference":[2],"@typescript-eslint/typedef":[0],"@typescript-eslint/unbound-method":[0],"@typescript-eslint/unified-signatures":[2],"accessor-pairs":[2],"array-callback-return":[2,{checkForEach:!0}],"array-func/avoid-reverse":[2],"array-func/from-map":[2],"array-func/no-unnecessary-this-arg":[2],"array-func/prefer-array-from":[2],"array-func/prefer-flat":[0],"array-func/prefer-flat-map":[0],"arrow-body-style":[0],"block-scoped-var":[2],camelcase:[0],"capitalized-comments":[0],"class-methods-use-this":[0],complexity:[0],"consistent-return":[0],"consistent-this":[0],"constructor-super":[2],curly:[0],"default-case":[0],"default-case-last":[2],"default-param-last":[0],"dot-notation":[0],eqeqeq:[2],"for-direction":[2],"func-name-matching":[2],"func-names":[0],"func-style":[0],"getter-return":[2],"grouped-accessor-pairs":[2],"guard-for-in":[0],"id-blacklist":[0],"id-denylist":[0],"id-length":[0],"id-match":[0],"import-x/consistent-type-specifier-style":[0],"import-x/default":[0],"import-x/dynamic-import-chunkname":[0],"import-x/export":[2],"import-x/exports-last":[0],"import-x/extensions":[2,`ignorePackages`,{checkTypeImports:!0}],"import-x/first":[2],"import-x/group-exports":[0],"import-x/max-dependencies":[0],"import-x/named":[2],"import-x/namespace":[0],"import-x/newline-after-import":[0],"import-x/no-absolute-path":[2],"import-x/no-amd":[2],"import-x/no-anonymous-default-export":[0],"import-x/no-commonjs":[2,{allowConditionalRequire:!1}],"import-x/no-cycle":[2,{ignoreExternal:!0,maxDepth:1}],"import-x/no-default-export":[0],"import-x/no-deprecated":[0],"import-x/no-duplicates":[2],"import-x/no-dynamic-require":[0],"import-x/no-empty-named-blocks":[2],"import-x/no-extraneous-dependencies":[2],"import-x/no-import-module-exports":[0],"import-x/no-internal-modules":[0],"import-x/no-mutable-exports":[0],"import-x/no-named-as-default":[0],"import-x/no-named-as-default-member":[0],"import-x/no-named-default":[0],"import-x/no-named-export":[0],"import-x/no-namespace":[0],"import-x/no-nodejs-modules":[0],"import-x/no-relative-packages":[0],"import-x/no-relative-parent-imports":[0],"import-x/no-restricted-paths":[0],"import-x/no-self-import":[2],"import-x/no-unassigned-import":[0],"import-x/no-unresolved":[2,{commonjs:!0,ignore:[`\\?.+$`]}],"import-x/no-unused-modules":[0,{unusedExports:!0,ignoreUnusedTypeExports:!0}],"import-x/no-useless-path-segments":[2,{commonjs:!0}],"import-x/no-webpack-loader-syntax":[2],"import-x/order":[0],"import-x/prefer-default-export":[0],"import-x/unambiguous":[0],"init-declarations":[0],"line-comment-position":[0],"logical-assignment-operators":[0],"max-classes-per-file":[0],"max-depth":[0],"max-lines":[0],"max-lines-per-function":[0],"max-nested-callbacks":[0],"max-params":[0],"max-statements":[0],"multiline-comment-style":[0],"new-cap":[0],"no-alert":[0],"no-array-constructor":[0],"no-async-promise-executor":[0],"no-await-in-loop":[0],"no-bitwise":[0],"no-buffer-constructor":[0],"no-caller":[2],"no-case-declarations":[2],"no-class-assign":[2],"no-compare-neg-zero":[2],"no-cond-assign":[2,`except-parens`],"no-console":[1,{allow:[`debug`,`info`,`warn`,`error`]}],"no-const-assign":[2],"no-constant-binary-expression":[2],"no-constant-condition":[0],"no-constructor-return":[2],"no-continue":[0],"no-control-regex":[0],"no-debugger":[1],"no-delete-var":[2],"no-div-regex":[0],"no-dupe-args":[2],"no-dupe-class-members":[2],"no-dupe-else-if":[2],"no-dupe-keys":[2],"no-duplicate-case":[2],"no-duplicate-imports":[0],"no-else-return":[0],"no-empty":[2,{allowEmptyCatch:!0}],"no-empty-character-class":[2],"no-empty-function":[0],"no-empty-pattern":[2],"no-empty-static-block":[2],"no-eq-null":[2],"no-eval":[2],"no-ex-assign":[2],"no-extend-native":[2],"no-extra-bind":[2],"no-extra-boolean-cast":[2],"no-extra-label":[0],"no-fallthrough":[2],"no-func-assign":[2],"no-global-assign":[2],"no-implicit-coercion":[2],"no-implicit-globals":[0],"no-implied-eval":[0],"no-import-assign":[2],"no-inline-comments":[0],"no-inner-declarations":[2],"no-invalid-regexp":[2],"no-invalid-this":[0],"no-irregular-whitespace":[2],"no-iterator":[2],"no-label-var":[2],"no-labels":[0],"no-lone-blocks":[2],"no-lonely-if":[0],"no-loop-func":[0],"no-loss-of-precision":[2],"no-magic-numbers":[0],"no-misleading-character-class":[2],"no-multi-assign":[0],"no-multi-str":[2],"no-negated-condition":[0],"no-nested-ternary":[0],"no-new":[0],"no-new-func":[0],"no-new-native-nonconstructor":[2],"no-new-symbol":[2],"no-new-wrappers":[2],"no-nonoctal-decimal-escape":[2],"no-obj-calls":[2],"no-object-constructor":[2],"no-octal":[2],"no-octal-escape":[2],"no-param-reassign":[0],"no-plusplus":[0],"no-promise-executor-return":[0],"no-proto":[2],"no-prototype-builtins":[2],"no-redeclare":[0],"no-regex-spaces":[2],"no-restricted-exports":[0],"no-restricted-globals":[2,`self`],"no-restricted-imports":[2,{paths:[{name:`punycode`},{name:`assert`},{name:`react`,importNames:[`forwardRef`],message:`Use ref-as-prop instead - https://react.dev/blog/2024/12/05/react-19#ref-as-a-prop`}]}],"no-restricted-properties":[0],"no-restricted-syntax":[2,`WithStatement`,`ForInStatement`,`SequenceExpression`],"no-return-assign":[0],"no-script-url":[2],"no-self-assign":[2,{props:!0}],"no-self-compare":[2],"no-sequences":[2],"no-setter-return":[2],"no-shadow":[0],"no-shadow-restricted-names":[2],"no-sparse-arrays":[2],"no-template-curly-in-string":[2],"no-ternary":[0],"no-this-before-super":[2],"no-throw-literal":[2],"no-undef":[2,{typeof:!0}],"no-undef-init":[2],"no-undefined":[0],"no-underscore-dangle":[0],"no-unexpected-multiline":[2],"no-unmodified-loop-condition":[2],"no-unneeded-ternary":[0],"no-unreachable":[2],"no-unreachable-loop":[2],"no-unsafe-finally":[2],"no-unsafe-negation":[2],"no-unsafe-optional-chaining":[2],"no-unused-expressions":[2],"no-unused-labels":[2],"no-unused-private-class-members":[2],"no-unused-vars":[0],"no-use-before-define":[0],"no-use-extend-native/no-use-extend-native":[2],"no-useless-assignment":[0],"no-useless-backreference":[2],"no-useless-call":[2],"no-useless-catch":[2],"no-useless-computed-key":[2],"no-useless-concat":[2],"no-useless-constructor":[2],"no-useless-escape":[2],"no-useless-rename":[2],"no-useless-return":[0],"no-var":[2],"no-void":[2],"no-warning-comments":[0],"no-with":[0],"object-shorthand":[2,`always`],"one-var":[0],"operator-assignment":[2,`always`],"prefer-arrow-callback":[2,{allowNamedFunctions:!0,allowUnboundThis:!0}],"prefer-const":[2,{destructuring:`all`,ignoreReadBeforeAssign:!0}],"prefer-destructuring":[0],"prefer-exponentiation-operator":[2],"prefer-named-capture-group":[0],"prefer-numeric-literals":[2],"prefer-object-has-own":[2],"prefer-object-spread":[2],"prefer-promise-reject-errors":[2,{allowEmptyReject:!1}],"prefer-regex-literals":[2,{disallowRedundantWrapping:!0}],"prefer-rest-params":[2],"prefer-spread":[2],"prefer-template":[2],radix:[2,`as-needed`],"react-hooks/component-hook-factories":[0],"react-hooks/config":[0],"react-hooks/error-boundaries":[2],"react-hooks/exhaustive-deps":[2],"react-hooks/gating":[0],"react-hooks/globals":[2],"react-hooks/immutability":[2],"react-hooks/incompatible-library":[2],"react-hooks/preserve-manual-memoization":[2],"react-hooks/purity":[2],"react-hooks/refs":[2],"react-hooks/rules-of-hooks":[2],"react-hooks/set-state-in-effect":[2],"react-hooks/set-state-in-render":[2],"react-hooks/static-components":[2],"react-hooks/unsupported-syntax":[2],"react-hooks/use-memo":[2],"react-refresh/only-export-components":[2,{allowConstantExport:!0}],"regexp/confusing-quantifier":[2],"regexp/control-character-escape":[2],"regexp/hexadecimal-escape":[0],"regexp/letter-case":[0],"regexp/match-any":[0],"regexp/negation":[2],"regexp/no-contradiction-with-assertion":[0],"regexp/no-control-character":[0],"regexp/no-dupe-characters-character-class":[2],"regexp/no-dupe-disjunctions":[2],"regexp/no-empty-alternative":[2],"regexp/no-empty-capturing-group":[2],"regexp/no-empty-character-class":[0],"regexp/no-empty-group":[2],"regexp/no-empty-lookarounds-assertion":[2],"regexp/no-empty-string-literal":[2],"regexp/no-escape-backspace":[2],"regexp/no-extra-lookaround-assertions":[0],"regexp/no-invalid-regexp":[2],"regexp/no-invisible-character":[2],"regexp/no-lazy-ends":[2],"regexp/no-legacy-features":[2],"regexp/no-misleading-capturing-group":[0],"regexp/no-misleading-unicode-character":[0],"regexp/no-missing-g-flag":[2],"regexp/no-non-standard-flag":[2],"regexp/no-obscure-range":[2],"regexp/no-octal":[2],"regexp/no-optional-assertion":[2],"regexp/no-potentially-useless-backreference":[2],"regexp/no-standalone-backslash":[2],"regexp/no-super-linear-backtracking":[0],"regexp/no-super-linear-move":[0],"regexp/no-trivially-nested-assertion":[2],"regexp/no-trivially-nested-quantifier":[2],"regexp/no-unused-capturing-group":[0],"regexp/no-useless-assertions":[2],"regexp/no-useless-backreference":[2],"regexp/no-useless-character-class":[0],"regexp/no-useless-dollar-replacements":[2],"regexp/no-useless-escape":[2],"regexp/no-useless-flag":[2],"regexp/no-useless-lazy":[2],"regexp/no-useless-non-capturing-group":[2],"regexp/no-useless-quantifier":[2],"regexp/no-useless-range":[2],"regexp/no-useless-set-operand":[2],"regexp/no-useless-string-literal":[2],"regexp/no-useless-two-nums-quantifier":[2],"regexp/no-zero-quantifier":[2],"regexp/optimal-lookaround-quantifier":[2],"regexp/optimal-quantifier-concatenation":[0],"regexp/prefer-character-class":[0],"regexp/prefer-d":[0],"regexp/prefer-escape-replacement-dollar-char":[0],"regexp/prefer-lookaround":[0],"regexp/prefer-named-backreference":[0],"regexp/prefer-named-capture-group":[0],"regexp/prefer-named-replacement":[0],"regexp/prefer-plus-quantifier":[2],"regexp/prefer-predefined-assertion":[2],"regexp/prefer-quantifier":[0],"regexp/prefer-question-quantifier":[2],"regexp/prefer-range":[2],"regexp/prefer-regexp-exec":[2],"regexp/prefer-regexp-test":[2],"regexp/prefer-result-array-groups":[0],"regexp/prefer-set-operation":[2],"regexp/prefer-star-quantifier":[2],"regexp/prefer-unicode-codepoint-escapes":[2],"regexp/prefer-w":[0],"regexp/require-unicode-regexp":[0],"regexp/simplify-set-operations":[2],"regexp/sort-alternatives":[0],"regexp/sort-character-class-elements":[0],"regexp/sort-flags":[0],"regexp/strict":[0],"regexp/unicode-escape":[0],"regexp/unicode-property":[0],"regexp/use-ignore-case":[0],"require-atomic-updates":[0],"require-await":[0],"require-unicode-regexp":[0],"require-yield":[2],"sonarjs/cognitive-complexity":[0],"sonarjs/elseif-without-else":[0],"sonarjs/max-switch-cases":[0],"sonarjs/no-all-duplicated-branches":[2],"sonarjs/no-collapsible-if":[0],"sonarjs/no-collection-size-mischeck":[2],"sonarjs/no-duplicate-string":[0],"sonarjs/no-duplicated-branches":[0],"sonarjs/no-element-overwrite":[2],"sonarjs/no-empty-collection":[2],"sonarjs/no-extra-arguments":[2],"sonarjs/no-gratuitous-expressions":[2],"sonarjs/no-identical-conditions":[2],"sonarjs/no-identical-expressions":[2],"sonarjs/no-identical-functions":[0],"sonarjs/no-ignored-return":[2],"sonarjs/no-inverted-boolean-check":[2],"sonarjs/no-nested-switch":[0],"sonarjs/no-nested-template-literals":[0],"sonarjs/no-redundant-boolean":[2],"sonarjs/no-redundant-jump":[0],"sonarjs/no-same-line-conditional":[2],"sonarjs/no-small-switch":[0],"sonarjs/no-unused-collection":[2],"sonarjs/no-use-of-empty-return-value":[2],"sonarjs/no-useless-catch":[2],"sonarjs/non-existent-operator":[2],"sonarjs/prefer-immediate-return":[0],"sonarjs/prefer-object-literal":[0],"sonarjs/prefer-single-boolean-return":[0],"sonarjs/prefer-while":[2],"sort-imports":[0],"sort-keys":[0],"sort-vars":[0],strict:[0],"symbol-description":[2],"unicode-bom":[2,`never`],"unicorn/better-regex":[0],"unicorn/catch-error-name":[0],"unicorn/consistent-assert":[0],"unicorn/consistent-date-clone":[2],"unicorn/consistent-destructuring":[2],"unicorn/consistent-empty-array-spread":[2],"unicorn/consistent-existence-index-check":[0],"unicorn/consistent-function-scoping":[2],"unicorn/custom-error-definition":[0],"unicorn/empty-brace-spaces":[2],"unicorn/error-message":[0],"unicorn/escape-case":[0],"unicorn/expiring-todo-comments":[0],"unicorn/explicit-length-check":[0],"unicorn/filename-case":[0],"unicorn/import-index":[0],"unicorn/import-style":[0],"unicorn/new-for-builtins":[2],"unicorn/no-abusive-eslint-disable":[0],"unicorn/no-accessor-recursion":[2],"unicorn/no-anonymous-default-export":[0],"unicorn/no-array-callback-reference":[0],"unicorn/no-array-for-each":[2],"unicorn/no-array-method-this-argument":[2],"unicorn/no-array-push-push":[2],"unicorn/no-array-reduce":[0],"unicorn/no-array-reverse":[0],"unicorn/no-array-sort":[0],"unicorn/no-await-expression-member":[0],"unicorn/no-await-in-promise-methods":[2],"unicorn/no-console-spaces":[0],"unicorn/no-document-cookie":[2],"unicorn/no-empty-file":[0],"unicorn/no-for-loop":[0],"unicorn/no-hex-escape":[0],"unicorn/no-instanceof-array":[0],"unicorn/no-instanceof-builtins":[2],"unicorn/no-invalid-fetch-options":[2],"unicorn/no-invalid-remove-event-listener":[2],"unicorn/no-keyword-prefix":[0],"unicorn/no-length-as-slice-end":[2],"unicorn/no-lonely-if":[2],"unicorn/no-magic-array-flat-depth":[0],"unicorn/no-named-default":[2],"unicorn/no-negated-condition":[0],"unicorn/no-negation-in-equality-check":[2],"unicorn/no-nested-ternary":[0],"unicorn/no-new-array":[0],"unicorn/no-new-buffer":[0],"unicorn/no-null":[0],"unicorn/no-object-as-default-parameter":[0],"unicorn/no-process-exit":[0],"unicorn/no-single-promise-in-promise-methods":[2],"unicorn/no-static-only-class":[2],"unicorn/no-thenable":[0],"unicorn/no-this-assignment":[2],"unicorn/no-typeof-undefined":[2],"unicorn/no-unnecessary-array-flat-depth":[2],"unicorn/no-unnecessary-array-splice-count":[2],"unicorn/no-unnecessary-await":[2],"unicorn/no-unnecessary-polyfills":[2],"unicorn/no-unreadable-array-destructuring":[0],"unicorn/no-unreadable-iife":[2],"unicorn/no-unused-properties":[2],"unicorn/no-useless-error-capture-stack-trace":[2],"unicorn/no-useless-fallback-in-spread":[2],"unicorn/no-useless-length-check":[2],"unicorn/no-useless-promise-resolve-reject":[2],"unicorn/no-useless-spread":[2],"unicorn/no-useless-switch-case":[2],"unicorn/no-useless-undefined":[0],"unicorn/no-zero-fractions":[2],"unicorn/number-literal-case":[0],"unicorn/numeric-separators-style":[0],"unicorn/prefer-add-event-listener":[2],"unicorn/prefer-array-find":[2],"unicorn/prefer-array-flat":[2],"unicorn/prefer-array-flat-map":[2],"unicorn/prefer-array-index-of":[2],"unicorn/prefer-array-some":[2],"unicorn/prefer-at":[0],"unicorn/prefer-bigint-literals":[2],"unicorn/prefer-blob-reading-methods":[2],"unicorn/prefer-class-fields":[2],"unicorn/prefer-classlist-toggle":[2],"unicorn/prefer-code-point":[0],"unicorn/prefer-date-now":[2],"unicorn/prefer-default-parameters":[0],"unicorn/prefer-dom-node-append":[2],"unicorn/prefer-dom-node-dataset":[0],"unicorn/prefer-dom-node-remove":[2],"unicorn/prefer-dom-node-text-content":[2],"unicorn/prefer-event-target":[2],"unicorn/prefer-export-from":[0],"unicorn/prefer-global-this":[0],"unicorn/prefer-import-meta-properties":[2],"unicorn/prefer-includes":[2],"unicorn/prefer-json-parse-buffer":[0],"unicorn/prefer-keyboard-event-key":[2],"unicorn/prefer-logical-operator-over-ternary":[2],"unicorn/prefer-math-min-max":[2],"unicorn/prefer-math-trunc":[2],"unicorn/prefer-modern-dom-apis":[0],"unicorn/prefer-modern-math-apis":[2],"unicorn/prefer-module":[0],"unicorn/prefer-native-coercion-functions":[2],"unicorn/prefer-negative-index":[2],"unicorn/prefer-node-protocol":[2],"unicorn/prefer-number-properties":[0],"unicorn/prefer-object-from-entries":[2],"unicorn/prefer-object-has-own":[0],"unicorn/prefer-optional-catch-binding":[2],"unicorn/prefer-prototype-methods":[2],"unicorn/prefer-query-selector":[0],"unicorn/prefer-reflect-apply":[0],"unicorn/prefer-regexp-test":[2],"unicorn/prefer-set-has":[0],"unicorn/prefer-set-size":[2],"unicorn/prefer-spread":[0],"unicorn/prefer-string-raw":[0],"unicorn/prefer-string-replace-all":[0],"unicorn/prefer-string-slice":[0],"unicorn/prefer-string-starts-ends-with":[2],"unicorn/prefer-string-trim-start-end":[2],"unicorn/prefer-structured-clone":[2],"unicorn/prefer-switch":[0],"unicorn/prefer-ternary":[0],"unicorn/prefer-top-level-await":[0],"unicorn/prefer-type-error":[0],"unicorn/prevent-abbreviations":[0],"unicorn/relative-url-style":[2],"unicorn/require-array-join-separator":[2],"unicorn/require-module-attributes":[2],"unicorn/require-module-specifiers":[0],"unicorn/require-number-to-fixed-digits-argument":[2],"unicorn/require-post-message-target-origin":[0],"unicorn/string-content":[0],"unicorn/switch-case-braces":[0],"unicorn/template-indent":[2],"unicorn/text-encoding-identifier-case":[0],"unicorn/throw-new-error":[2],"use-isnan":[2],"valid-typeof":[2,{requireStringLiterals:!0}],"vars-on-top":[0],yoda:[2,`never`]}},{files:[`**/*.d.ts`],rules:{"@typescript-eslint/consistent-type-definitions":[0],"@typescript-eslint/consistent-type-imports":[0],"@typescript-eslint/no-unused-vars":[0],"no-undef":[0],"no-var":[0]}},{files:[`**/*.worker.*`],languageOptions:{globals:DYe.default.worker},rules:{"no-restricted-globals":[2,`window`]}},{plugins:{vitest:YCe},files:[`**/*.test.*`,`vitest.setup.*`,`integration/**`],languageOptions:{globals:DYe.default.vitest},rules:{"unicorn/consistent-function-scoping":[0],"vitest/consistent-test-filename":[0],"vitest/consistent-test-it":[0],"vitest/expect-expect":[0],"vitest/max-expects":[0],"vitest/max-nested-describe":[0],"vitest/no-alias-methods":[0],"vitest/no-commented-out-tests":[0],"vitest/no-conditional-expect":[0],"vitest/no-conditional-in-test":[0],"vitest/no-conditional-tests":[0],"vitest/no-disabled-tests":[0],"vitest/no-done-callback":[0],"vitest/no-duplicate-hooks":[0],"vitest/no-focused-tests":[2],"vitest/no-hooks":[0],"vitest/no-identical-title":[2],"vitest/no-interpolation-in-snapshots":[0],"vitest/no-large-snapshots":[0],"vitest/no-mocks-import":[0],"vitest/no-restricted-matchers":[0],"vitest/no-restricted-vi-methods":[0],"vitest/no-standalone-expect":[0],"vitest/no-test-prefixes":[0],"vitest/no-test-return-statement":[0],"vitest/prefer-called-with":[0],"vitest/prefer-comparison-matcher":[0],"vitest/prefer-each":[0],"vitest/prefer-equality-matcher":[0],"vitest/prefer-expect-resolves":[0],"vitest/prefer-hooks-in-order":[0],"vitest/prefer-hooks-on-top":[2],"vitest/prefer-lowercase-title":[0],"vitest/prefer-mock-promise-shorthand":[0],"vitest/prefer-snapshot-hint":[0],"vitest/prefer-spy-on":[0],"vitest/prefer-strict-equal":[0],"vitest/prefer-to-be":[0],"vitest/prefer-to-be-falsy":[0],"vitest/prefer-to-be-object":[0],"vitest/prefer-to-be-truthy":[0],"vitest/prefer-to-contain":[0],"vitest/prefer-to-have-length":[0],"vitest/prefer-todo":[0],"vitest/require-hook":[0],"vitest/require-to-throw-message":[0],"vitest/require-top-level-describe":[0],"vitest/valid-describe-callback":[2],"vitest/valid-expect":[2],"vitest/valid-title":[2]}},{files:[`**/*.config.*`,`**/*.stories.*`,`**/.storybook/**`,`**/*.d.ts`,`vitest.setup.*`,`vitest.global.*`],rules:{"import-x/no-unused-modules":[0]}},{...QCe.configs[`flat/recommended`],files:[`tests/**`],rules:{"playwright/expect-expect":[0],"playwright/no-networkidle":[0]}},{plugins:{"jsx-a11y":Wke.default,"validate-jsx-nesting":kYe.default},files:[`**/*.{${NYe.join(`,`)}}`],rules:{"@eslint-react/jsx-key-before-spread":[2],"@eslint-react/jsx-no-comment-textnodes":[2],"@eslint-react/jsx-no-duplicate-props":[2],"@eslint-react/jsx-no-iife":[0],"@eslint-react/jsx-no-undef":[2],"@eslint-react/jsx-shorthand-boolean":[2,-1],"@eslint-react/jsx-shorthand-fragment":[2,-1],"@eslint-react/jsx-uses-react":[0],"@eslint-react/jsx-uses-vars":[2],"jsx-a11y/accessible-emoji":[0],"jsx-a11y/alt-text":[0],"jsx-a11y/anchor-ambiguous-text":[2],"jsx-a11y/anchor-has-content":[2],"jsx-a11y/anchor-is-valid":[0],"jsx-a11y/aria-activedescendant-has-tabindex":[2],"jsx-a11y/aria-props":[2],"jsx-a11y/aria-proptypes":[2],"jsx-a11y/aria-role":[2],"jsx-a11y/aria-unsupported-elements":[2],"jsx-a11y/autocomplete-valid":[2],"jsx-a11y/click-events-have-key-events":[0],"jsx-a11y/control-has-associated-label":[0],"jsx-a11y/heading-has-content":[2],"jsx-a11y/html-has-lang":[0],"jsx-a11y/iframe-has-title":[0],"jsx-a11y/img-redundant-alt":[0],"jsx-a11y/interactive-supports-focus":[0],"jsx-a11y/label-has-associated-control":[2],"jsx-a11y/label-has-for":[0],"jsx-a11y/lang":[2],"jsx-a11y/media-has-caption":[0],"jsx-a11y/mouse-events-have-key-events":[0],"jsx-a11y/no-access-key":[2],"jsx-a11y/no-aria-hidden-on-focusable":[0],"jsx-a11y/no-autofocus":[0],"jsx-a11y/no-distracting-elements":[2],"jsx-a11y/no-interactive-element-to-noninteractive-role":[0],"jsx-a11y/no-noninteractive-element-interactions":[0],"jsx-a11y/no-noninteractive-element-to-interactive-role":[0],"jsx-a11y/no-noninteractive-tabindex":[0],"jsx-a11y/no-onchange":[0],"jsx-a11y/no-redundant-roles":[2],"jsx-a11y/no-static-element-interactions":[0],"jsx-a11y/prefer-tag-over-role":[0],"jsx-a11y/role-has-required-aria-props":[2],"jsx-a11y/role-supports-aria-props":[2],"jsx-a11y/scope":[0],"jsx-a11y/tabindex-no-positive":[2],"validate-jsx-nesting/no-invalid-jsx-nesting":[2]}},{files:[`openapi.d.ts`],rules:{"@typescript-eslint/no-redundant-type-constituents":[0]}}]);export{FYe as default};
|
package/package.json
CHANGED