1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6728],{86728:(e,t,a)=>{a.r(t),a.d(t,{forceCustomStateSetPolyfill:()=>X,forceElementInternalsPolyfill:()=>Y});let r=new WeakMap,i=new WeakMap,o=new WeakMap,l=new WeakMap,n=new WeakMap,s=new WeakMap,d=new WeakMap,c=new WeakMap,m=new WeakMap,u=new WeakMap,h=new WeakMap,f=new WeakMap,p=new WeakMap,g=new WeakMap,y=new WeakMap,b=(e,t,a)=>{e.getAttribute(t)!==a&&e.setAttribute(t,a)},w=(e,t)=>{e.toggleAttribute("internals-disabled",t),t?b(e,"aria-disabled","true"):e.removeAttribute("aria-disabled"),e.formDisabledCallback&&e.formDisabledCallback.apply(e,[t])},E=e=>{o.get(e).forEach(e=>{e.remove()}),o.set(e,[])},v=(e,t)=>{let a=document.createElement("input");return a.type="hidden",a.name=e.getAttribute("name"),e.after(a),o.get(t).push(a),a},M=(e,t)=>{if(t.length){let a=Array.from(t);a.forEach(t=>t.addEventListener("click",e.click.bind(e)));let[r]=a,i=r.id;r.id||(i=`${r.htmlFor}_Label`,r.id=i),b(e,"aria-labelledby",i)}},k=e=>{let t=[...Array.from(e.elements).filter(e=>!e.tagName.includes("-")&&e.validity).map(e=>e.validity.valid),...Array.from(c.get(e)||[]).filter(e=>e.isConnected).map(e=>l.get(e).validity.valid)].includes(!1);e.toggleAttribute("internals-invalid",t),e.toggleAttribute("internals-valid",!t)},T=e=>{k(I(e.target))},A=e=>{k(I(e.target))},x=e=>{let t=c.get(e.target);t&&t.size&&t.forEach(e=>{e.constructor.formAssociated&&e.formResetCallback&&e.formResetCallback.apply(e)})},F=(e,t,a)=>{if(t){let r=c.get(t);if(r)r.add(e);else{let a,r=new Set;r.add(e),c.set(t,r),a=["button[type=submit]","input[type=submit]","button:not([type])"].map(e=>`${e}:not([disabled])`).map(e=>`${e}:not([form])${t.id?`,${e}[form='${t.id}']`:""}`).join(","),t.addEventListener("click",e=>{if(e.target.closest(a)){let a=c.get(t);!t.noValidate&&a.size&&Array.from(a).reverse().map(e=>l.get(e).reportValidity()).includes(!1)&&e.preventDefault()}}),t.addEventListener("reset",x),t.addEventListener("input",T),t.addEventListener("change",A)}s.set(t,{ref:e,internals:a}),e.constructor.formAssociated&&e.formAssociatedCallback&&setTimeout(()=>{e.formAssociatedCallback.apply(e,[t])},0),k(t)}},I=e=>{let t=e.parentNode;return t&&"FORM"!==t.tagName&&(t=I(t)),t},C=(e,t,a=DOMException)=>{if(!e.constructor.formAssociated)throw new a(t)},S=(e,t,a)=>{let r=c.get(e);return r&&r.size&&r.forEach(e=>{l.get(e)[a]()||(t=!1)}),t},L=e=>{let t=!1;if(e.constructor.formAssociated){let a=l.get(e);void 0===a&&(e.attachInternals(),a=l.get(e),t=!0);let{labels:r,form:i}=a;M(e,r),F(e,i,a)}return t};function N(){return"u">typeof MutationObserver}let O={ariaAtomic:"aria-atomic",ariaAutoComplete:"aria-autocomplete",ariaBrailleLabel:"aria-braillelabel",ariaBrailleRoleDescription:"aria-brailleroledescription",ariaBusy:"aria-busy",ariaChecked:"aria-checked",ariaColCount:"aria-colcount",ariaColIndex:"aria-colindex",ariaColIndexText:"aria-colindextext",ariaColSpan:"aria-colspan",ariaCurrent:"aria-current",ariaDescription:"aria-description",ariaDisabled:"aria-disabled",ariaExpanded:"aria-expanded",ariaHasPopup:"aria-haspopup",ariaHidden:"aria-hidden",ariaInvalid:"aria-invalid",ariaKeyShortcuts:"aria-keyshortcuts",ariaLabel:"aria-label",ariaLevel:"aria-level",ariaLive:"aria-live",ariaModal:"aria-modal",ariaMultiLine:"aria-multiline",ariaMultiSelectable:"aria-multiselectable",ariaOrientation:"aria-orientation",ariaPlaceholder:"aria-placeholder",ariaPosInSet:"aria-posinset",ariaPressed:"aria-pressed",ariaReadOnly:"aria-readonly",ariaRelevant:"aria-relevant",ariaRequired:"aria-required",ariaRoleDescription:"aria-roledescription",ariaRowCount:"aria-rowcount",ariaRowIndex:"aria-rowindex",ariaRowIndexText:"aria-rowindextext",ariaRowSpan:"aria-rowspan",ariaSelected:"aria-selected",ariaSetSize:"aria-setsize",ariaSort:"aria-sort",ariaValueMax:"aria-valuemax",ariaValueMin:"aria-valuemin",ariaValueNow:"aria-valuenow",ariaValueText:"aria-valuetext",role:"role"};function V(e){let t=l.get(e),{form:a}=t;F(e,a,t),M(e,t.labels)}let R=(e,t=!1)=>{let a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>l.has(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),r=a.nextNode(),i=!t||e.disabled;for(;r;)r.formDisabledCallback&&i&&w(r,e.disabled),r=a.nextNode()},D={attributes:!0,attributeFilter:["disabled","name"]},W=N()?new MutationObserver(e=>{for(let t of e){let e=t.target;
1if("disabled"===t.attributeName&&(e.constructor.formAssociated?w(e,e.hasAttribute("disabled")):"fieldset"===e.localName&&R(e)),"name"===t.attributeName&&e.constructor.formAssociated){let t=l.get(e),a=m.get(e);t.setFormValue(a)}}}):{};function H(e){e.forEach(e=>{let{addedNodes:t,removedNodes:a}=e,r=Array.from(t),i=Array.from(a);r.forEach(e=>{if(l.has(e)&&e.constructor.formAssociated&&V(e),u.has(e)){let t=u.get(e);Object.keys(O).filter(e=>null!==t[e]).forEach(a=>{b(e,O[a],t[a])}),u.delete(e)}if(y.has(e)){let t=y.get(e);b(e,"internals-valid",t.validity.valid.toString()),b(e,"internals-invalid",(!t.validity.valid).toString()),b(e,"aria-invalid",(!t.validity.valid).toString()),y.delete(e)}if("form"===e.localName){let t=c.get(e),a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>!l.has(e)||!e.constructor.formAssociated||t&&t.has(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}),r=a.nextNode();for(;r;)V(r),r=a.nextNode()}"fieldset"===e.localName&&(W.observe?.(e,D),R(e,!0))}),i.forEach(e=>{let t=l.get(e);t&&o.get(t)&&E(t),d.has(e)&&d.get(e).disconnect()})})}function P(e){e.forEach(e=>{let{removedNodes:t}=e;t.forEach(t=>{let a=p.get(e.target);l.has(t)&&L(t),a.disconnect()})})}N()&&new MutationObserver(H);let $={childList:!0,subtree:!0};class j{constructor(){this.badInput=!1,this.customError=!1,this.patternMismatch=!1,this.rangeOverflow=!1,this.rangeUnderflow=!1,this.stepMismatch=!1,this.tooLong=!1,this.tooShort=!1,this.typeMismatch=!1,this.valid=!0,this.valueMissing=!1,Object.seal(this)}}let _=new WeakMap;function z(e,t){e.toggleAttribute(t,!0),e.part&&e.part.add(t)}class q extends Set{static get isPolyfilled(){return!0}constructor(e){if(super(),!e||!e.tagName||-1===e.tagName.indexOf("-"))throw TypeError("Illegal constructor");_.set(this,e)}add(e){if(!/^--/.test(e)||"string"!=typeof e)throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${e} must start with '--'.`);let t=super.add(e),a=_.get(this),r=`state${e}`;return a.isConnected?z(a,r):setTimeout(()=>{z(a,r)}),t}clear(){for(let[e]of this.entries())this.delete(e);super.clear()}delete(e){let t=super.delete(e),a=_.get(this);return a.isConnected?(a.toggleAttribute(`state${e}`,!1),a.part&&a.part.remove(`state${e}`)):setTimeout(()=>{a.toggleAttribute(`state${e}`,!1),a.part&&a.part.remove(`state${e}`)}),t}}var U,B=function(e,t,a,r){if("a"===a&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===a?r:"a"===a?r.call(e):r?r.value:t.get(e)};class K{constructor(e){U.set(this,void 0),function(e,t,a,r,i){if("function"==typeof t||!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");t.set(e,a)}(this,U,e,0);for(let t=0;t<e.length;t++){let a=e[t];this[t]=a,a.hasAttribute("name")&&(this[a.getAttribute("name")]=a)}Object.freeze(this)}get length(){return B(this,U,"f").length}[(U=new WeakMap,Symbol.iterator)](){return B(this,U,"f")[Symbol.iterator]()}item(e){return null==this[e]?null:this[e]}namedItem(e){return null==this[e]?null:this[e]}}class G{static get isPolyfilled(){return!0}constructor(e){if(!e||!e.tagName||-1===e.tagName.indexOf("-"))throw TypeError("Illegal constructor");const t=e.getRootNode(),a=new j;this.states=new q(e),r.set(this,e),i.set(this,a),l.set(e,this),((e,t)=>{for(let a in O){t[a]=null;let r=null,i=O[a];Object.defineProperty(t,a,{get:()=>r,set(a){r=a,e.isConnected?b(e,i,a):u.set(e,t)}})}})(e,this),(e=>{o.set(this,[]),W.observe?.(e,D)})(e),Object.seal(this),t instanceof DocumentFragment&&(e=>{let t=new MutationObserver(P);window?.ShadyDOM?.inUse&&e.mode&&e.host&&(e=e.host),t.observe?.(e,{childList:!0}),p.set(e,t)})(t)}checkValidity(){let e=r.get(this);if(C(e,"Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;let t=i.get(this);if(!t.valid){let t=new Event("invalid",{bubbles:!1,cancelable:!0,composed:!1});e.dispatchEvent(t)}return t.valid}get form(){let e,t=r.get(this);return C(t,"Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."),!0===t.constructor.formAssociated&&(e=I(t)),e}get labels(){let e=r.get(this);C(e,"Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element.");let t=e.getAttribute("id"),a=e.getRootNode();return a&&t?a.querySelectorAll(`[for="${t}"]`):[]}reportValidity(){let e=r.get(this);if(C(e,"Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!this.willValidate)return!0;let t=this.checkValidity(),a=f.get(this);if(a&&!e.constructor.formAssociated)throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element.");return!t&&a&&(e.focus(),a.focus()),t}setFormValue(e){let t=r.get(this);C(t,"Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."),E(this),null==e||e instanceof FormData?null!=e&&e instanceof FormData&&Array.from(e).reverse().forEac
1h(([e,a])=>{if("string"==typeof a){let r=v(t,this);r.name=e,r.value=a}}):t.getAttribute("name")&&(v(t,this).value=e),m.set(t,e)}setValidity(e,t,a){let o,l=r.get(this);if(C(l,"Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."),!e)throw TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");f.set(this,a);let s=i.get(this),d={};for(let t in e)d[t]=e[t];0===Object.keys(d).length&&(s.badInput=!1,s.customError=!1,s.patternMismatch=!1,s.rangeOverflow=!1,s.rangeUnderflow=!1,s.stepMismatch=!1,s.tooLong=!1,s.tooShort=!1,s.typeMismatch=!1,s.valid=!0,s.valueMissing=!1);let c={...s,...d};delete c.valid;let{valid:m}=(o=this.form,s.valid=(e=>{let t=!0;for(let a in e)"valid"!==a&&!1!==e[a]&&(t=!1);return t})(c),Object.keys(c).forEach(e=>s[e]=c[e]),o&&k(o),s);if(!m&&!t)throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");n.set(this,m?"":t),l.isConnected?(l.toggleAttribute("internals-invalid",!m),l.toggleAttribute("internals-valid",m),b(l,"aria-invalid",`${!m}`)):y.set(l,this)}get shadowRoot(){let e=r.get(this);return h.get(e)||null}get validationMessage(){return C(r.get(this),"Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."),n.get(this)}get validity(){return C(r.get(this),"Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."),i.get(this)}get willValidate(){let e=r.get(this);return C(e,"Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."),!(e.matches(":disabled")||e.disabled||e.hasAttribute("disabled")||e.hasAttribute("readonly"))}}let J=!1,Q=!1;function X(e){Q||(Q=!0,window.CustomStateSet=q,e&&(HTMLElement.prototype.attachInternals=function(...t){let a=e.call(this,t);return a.states=new q(this),a}))}function Y(e=!0){let t=!1;if(!J){if(J=!0,window.ElementInternals=G,"u">typeof CustomElementRegistry){let e=CustomElementRegistry.prototype.define;CustomElementRegistry.prototype.define=function(a,r,i){if(r.formAssociated){let e=r.prototype.connectedCallback;r.prototype.connectedCallback=function(){g.has(this)||(g.set(this,!0),this.hasAttribute("disabled")&&w(this,!0)),null!=e&&e.apply(this),t=L(this)}}e.call(this,a,r,i)}}if("u">typeof HTMLElement&&(HTMLElement.prototype.attachInternals=function(){if(!this.tagName)return{};if(-1===this.tagName.indexOf("-"))throw Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements.");if(l.has(this)&&!t)throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");return new G(this)}),"u">typeof Element){let e=Element.prototype.attachShadow;Element.prototype.attachShadow=function(...t){let a=e.apply(this,t);if(h.set(this,a),N()){let e=new MutationObserver(H);window.ShadyDOM?e.observe(this,$):e.observe(a,$),d.set(this,e)}return a}}N()&&"u">typeof document&&new MutationObserver(H).observe(document.documentElement,$),"u">typeof HTMLFormElement&&function(){let e=HTMLFormElement.prototype.checkValidity;HTMLFormElement.prototype.checkValidity=function(...t){return S(this,e.apply(this,t),"checkValidity")};let t=HTMLFormElement.prototype.reportValidity;HTMLFormElement.prototype.reportValidity=function(...e){return S(this,t.apply(this,e),"reportValidity")};let{get:a}=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get(...e){let t=a.call(this,...e),r=Array.from(c.get(this)||[]);return 0===r.length?t:new K(Array.from(t).concat(r).sort((e,t)=>e.compareDocumentPosition?2&e.compareDocumentPosition(t)?1:-1:0))}})}(),(e||!window.CustomStateSet)&&X()}}customElements.polyfillWrapFlushCallback||(function(){if(!window.ElementInternals||!HTMLElement.prototype.attachInternals)return!1;class e extends HTMLElement{constructor(){super(),this.internals=this.attachInternals()}}let t=`element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g,"")}`;customElements.define(t,e);let a=new e;return["shadowRoot","form","willValidate","validity","validationMessage","labels","setFormValue","setValidity","checkValidity","reportValidity"].every(e=>e in a.internals)}()?window.CustomStateSet||X(HTMLElement.prototype.attachInternals):Y(!1))}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.