1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,264829,e=>{"use strict";var t=e.i(216211);let r="";e.s(["getPageContext",0,function(){return{page_name_display:r,page_language:(0,t.isEnglishRoute)(window.location.pathname)?"en":"nl",page_country:"nl",page_url:window.location.href}},"pushDataLayerEvent",0,function(e){window.dataLayer??=[],window.dataLayer.push(e)},"setActivePageNameDisplay",0,function(e){r=e}])},74241,e=>{"use strict";e.s(["getCmsLinkProps",0,e=>{if(!e?.href)return{href:"#"};let t=e.target??void 0,r=e.proxy||e.href.startsWith("/marktinformatie/downloads-overzicht/");return{href:e.href,...t?{target:t,rel:"noopener noreferrer"}:{},...r?{prefetch:!1}:{}}}])},709780,656795,114329,522176,169845,e=>{"use strict";e.s(["agentSearch",0,{title:"Vind een makelaar of taxateur",resultsAmountSingle:"{count} resultaat gevonden",resultsAmountMultiple:"{count} NVM-kantoren gevonden",resultsAmountDefault:"{count} NVM-kantoren in Nederland",resultsLoading:"NVM-kantoren worden geladenâ¦",resetButton:"Begin opnieuw",noResultsTitle:"Geen NVM kantoren gevonden",noResultsDescription:"We konden geen kantoren vinden die passen bij je zoekopdracht. Pas je zoekterm aan om alle kantoren te bekijken.",noResultsResetButton:"Filters en zoekopdracht resetten",expandedSearchAreaNotice:"We tonen makelaars in een ruimer gebied rondom {query}",realtor:"Makelaars",assistantRealtor:"Assistent Makelaars",searchMethodLabel:"Zoeken op:",methodLocationButtonText:"Locatie",methodNameButtonText:"Kantoornaam",currentLocationButton:"Gebruik huidige locatie",locationPlaceholder:"Bijv. Breda of 4801 AB",namePlaceholder:"Bijv. Janssen Makelaardij",filterLabel:"Verfijn je zoekopdracht",filterActiveCount:"({count} actief)",filterActiveCountShort:"({count})",propertyTypesFilterLabel:"Type vastgoed",additionalServicesLabel:"Waarmee kunnen we je verder helpen?",scrollToTop:"Scroll omhoog",viewMap:"Kaart",viewList:"Lijst",contactLink:"Neem contact op",contactDetailsTitle:"Contactgegevens",servicesTitle:"Diensten",teamTitle:"Team",agentTitle:"Makelaar/taxateur",assistentTitle:"Assistent-makelaar",returnToListButton:"Alle resultaten",shareButton:"Deel",shareCopied:"Link gekopieerd",callButton:"Bel kantoor",visitWebsiteButton:"Website bezoeken",routeLink:"Route plannen",contactPhoneAction:"Bel direct",contactEmailAction:"E-mail",contactWebsiteAction:"Bezoek website",mapClusterTooltip:"Bekijk {count} NVM-kantoren",mapUserLocationTooltip:"Jouw locatie",errorLocationRequired:"Vul een postcode, plaats of provincie in",errorNameRequired:"Vul een kantoornaam in",errorGeolocationFailed:"We konden je locatie niet bepalen. Vul een plaats of postcode in.",error500:"Er is een fout opgetreden bij het zoeken. Probeert u het (later) nog eens.",error404:"Geen resultaten gevonden.",errorEmpty:"Voer een geldige waarde in.",contactTitle:"Neem contact op met deze makelaar",contactIntroText:"Laat je gegevens achter en {agent} neemt zo snel mogelijk contact met je op.",contactSendButton:"Verzenden",contactCancelButton:"Annuleren"},"agentSearchLocationPlaceholders",0,["Bijv. Amsterdam","Bijv. Kerkstraat 15","Bijv. 3011 ED","Bijv. Noord-Brabant","Bijv. Utrecht","Bijv. Dorpsstraat 2","Bijv. 1012 AB","Bijv. Gelderland"],"agentSearchNamePlaceholders",0,["Bijv. Hoekstra","Bijv. Jansen","Bijv. De Jong","Bijv. Vos","Bijv. Smit","Bijv. Meijer"]],709780),e.s(["breadcrumbs",0,{home:"Home",navigation:"Kruimelpad",showMore:"Toon tussenliggende pagina's"}],656795),e.s(["common",0,{titleTemplate:"%s | NVM",titleDefault:"NVM",search:"Zoeken",loading:"Aan het laden...",close:"Sluiten",back:"Terug",readMore:"Verder lezen",download:"Downloaden",sendEmail:"Stuur een e-mail",showImageCaption:"Toon bijschrift van afbeelding"}],114329),e.s(["digitalSigning",0,{selectFileButtonText:"Selecteer bestand",removeButtonText:"Verwijderen",namePlaceholder:"Volledige naam",nameMainSignerPlaceholder:"Uw volledige naam",emailPlaceholder:"E-mailadres",emailMainSignerPlaceholder:"Uw e-mailadres",noFileSelected:"Geen bestand geselecteerd",coSignerTitle:"Persoon {index}
1",identificationMethodIdin:"iDIN",identificationMethodVidua:"Vidua",submitting:"Bezig met verzenden...",submitError:"Er is een fout opgetreden bij het verzenden",missingReturnUrl:"De Redirect URL na succesvol ondertekenen is niet geconfigureerd.",missingRedirectUrl:"Het formulier is verzonden, maar de ondertekenservice gaf geen Redirect URL terug.",genericApiError:"We konden het verzoek niet verwerken."}],522176),e.s(["footer",0,{logo:"Logo",navigation:"Footer Navigation"}],169845)},20623,e=>{"use strict";e.s(["form",0,{requiredField:"Dit veld is verplicht",fileSizeExceeded:"Het bestand is te groot (max. {maxSizeMB} MB). Stuur het bestand als bijlage naar [email protected] en wij helpen je verder.",fileUploadUploading:"Aan het uploaden..",fileUploadStillUploading:"Wacht tot de upload klaar is voordat je het formulier verstuurt.",fileUploadMissingContentLength:"Uploaden is niet gelukt omdat de server de bestandsgrootte niet kon verwerken.",fileUploadSizeExceeded:"Dit bestand is groter dan de maximale uploadlimiet van {maxUploadSizeMb} MB.",fileUploadUnauthorized:"Uploaden is momenteel niet mogelijk door een technisch probleem. Probeer het later opnieuw.",fileUploadFailed:"Uploaden is niet gelukt. Kies het bestand opnieuw of probeer het later nog eens.",validationErrorFallback:"Controleer de ingevulde velden.",submitSuccessFallback:"Bedankt voor je inzending.",submitErrorFallback:"Het versturen van het formulier is niet gelukt. Probeer het later opnieuw.",selectPlaceholder:"Selecteer een optie",unsupportedFieldType:"Dit type formulierveld wordt nog niet ondersteund: {fieldType}.",unknownFieldType:"Onbekend veldtype",recaptchaError:"De beveiligingscontrole is mislukt. Probeer het opnieuw.",recaptchaAttribution:'Dit formulier wordt beschermd door reCAPTCHA en het Google <a href="https://policies.google.com/privacy" target="_blank" rel="noopener noreferrer">privacybeleid</a> en de <a href="https://policies.google.com/terms" target="_blank" rel="noopener noreferrer">servicevoorwaarden</a> zijn van toepassing.'}])},132109,e=>{"use strict";let t=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function r(e){let t=atob(e),r=-2&t.length,n=new Uint16Array(r/2);for(let e=0,i=0;e<r;e+=2){let r=t.charCodeAt(e),s=t.charCodeAt(e+1);n[i++]=r|s<<8}return n}let n=r
vendor: 24,987 bytes, line 1
1("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWls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
vendor: 7,218 bytes, line 1
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8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg"),
1i=r("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg");function s(e){return e>=e8.ZERO&&e<=e8.NINE}(eq=e5||(e5={}))[eq.VALUE_LENGTH=49152]="VALUE_LENGTH",eq[eq.FLAG13=8192]="FLAG13",eq[eq.BRANCH_LENGTH=8064]="BRANCH_LENGTH",eq[eq.JUMP_TABLE=127]="JUMP_TABLE",(eX=e8||(e8={}))[eX.NUM=35]="NUM",eX[eX.SEMI=59]="SEMI",eX[eX.EQUALS=61]="EQUALS",eX[eX.ZERO=48]="ZERO",eX[eX.NINE=57]="NINE",eX[eX.LOWER_A=97]="LOWER_A",eX[eX.LOWER_F=102]="LOWER_F",eX[eX.LOWER_X=120]="LOWER_X",eX[eX.LOWER_Z=122]="LOWER_Z",eX[eX.UPPER_A=65]="UPPER_A",eX[eX.UPPER_F=70]="UPPER_F",eX[eX.UPPER_Z=90]="UPPER_Z",(ez=e6||(e6={}))[ez.EntityStart=0]="EntityStart",ez[ez.NumericStart=1]="NumericStart",ez[ez.NumericDecimal=2]="NumericDecimal",ez[ez.NumericHex=3]="NumericHex",ez[ez.NamedEntity=4]="NamedEntity",(e$=e9||(e9={}))[e$.Legacy=0]="Legacy",e$[e$.Strict=1]="Strict",e$[e$.Attribute=2]="Attribute";class o{decodeTree;emitCodePoint;errors;constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r}state=e6.EntityStart;consumed=1;result=0;treeIndex=0;excess=1;decodeMode=e9.Strict;runConsumed=0;startEntity(e){this.decodeMode=e,this.state=e6.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case e6.EntityStart:if(e.charCodeAt(t)===e8.NUM)return this.state=e6.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=e6.NamedEntity,this.stateNamedEntity(e,t);case e6.NumericStart:return this.stateNumericStart(e,t);case e6.NumericDecimal:return this.stateNumericDecimal(e,t);case e6.NumericHex:return this.stateNumericHex(e,t);case e6.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===e8.LOWER_X?(this.state=e6.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=e6.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){var r;let n=e.charCodeAt(t);if(!s(n)&&(!((r=n)>=e8.UPPER_A)||!(r<=e8.UPPER_F))&&(!(r>=e8.LOWER_A)||!(r<=e8.LOWER_F)))return this.emitNumericEntity(n,3);{let e=n<=e8.NINE?n-e8.ZERO:(32|n)-e8.LOWER_A+10;this.result=16*this.result+e,this.consumed++,t++}}return -1}stateNumericDecimal(e,t){for(;t<e.length;){let r=e.charCodeAt(t);if(!s(r))return this.emitNumericEntity(r,2);this.result=10*this.result+(r-e8.ZERO),this.consumed++,t++}return -1}emitNumericEntity(e,r){var n;if(this.consumed<=r)return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===e8.SEMI)this.consumed+=1;else if(this.decodeMode===e9.Strict)return 0;return this.emitCodePoint((n=this.result)>=55296&&n<=57343||n>1114111?65533:t.get(n)??n,this.consumed),this.errors&&(e!==e8.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:r}=this,n=r[this.treeIndex],i=(n&e5.VALUE_LENGTH)>>14;for(;t<e.length;){if(0===i&&(n&e5.FLAG13)!=0){let s=(n&e5.BRANCH_LENGTH)>>7;if(0===this.runConsumed){let r=n&e5.JUMP_TABLE;if(e.charCodeAt(t)!==r)return 0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<s;){if(t>=e.length)return -1;let n=this.runConsumed-1,i=r[this.treeIndex+1+(n>>1)],s=n%2==0?255&i:i>>8&255;if(e.charCodeAt(t)!==s)return this.runConsumed=0,0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(s>>1),i=((n=r[this.treeIndex])&e5.VALUE_LENGTH)>>14}if(t>=e.length)break;let o=e.charCodeAt(t);if(o===e8.SEMI&&0!==i&&(n&e5.FLAG13)!=0)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);if(this.treeIndex=function(e,t,r,n){let i=(t&e5.BRANCH_LENGTH)>>7,s=t&e5.JUMP_TABLE;if(0===i)return 0!==s&&n===s?r:-1;if(s){let t=n-s;return t<0||t>=i?-1:e[r+t]-1}let o=i+1>>1,a=0,l=i-1;for(;a<=l;){let t=a+l>>>1,i=e[r+(t>>1)]>>(1&t)*8&255;if(i<n)a=t+1;else{if(!(i>n))return e[r+o+t];l=t-1}}return -1}(r,n,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return 0===this.result||this.decodeMode===e9.Attribute&&(0===i||function(e){var t;return e===e8.EQUALS||(t=e)>=e8.UPPER_A&&t<=e8.UPPER_Z||t>=e8.LOWER_A&&t<=e8.LOWER_Z||s(t)}(o))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((n=r[this.treeIndex])&e5.VALUE_LENGTH)>>
114)){if(o===e8.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==e9.Strict&&(n&e5.FLAG13)==0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return -1}emitNotTerminatedNamedEntity(){let{result:e,decodeTree:t}=this,r=(t[e]&e5.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),this.errors?.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){let{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~(e5.VALUE_LENGTH|e5.FLAG13):n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){switch(this.state){case e6.NamedEntity:return 0!==this.result&&(this.decodeMode!==e9.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case e6.NumericDecimal:return this.emitNumericEntity(0,2);case e6.NumericHex:return this.emitNumericEntity(0,3);case e6.NumericStart:return this.errors?.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case e6.EntityStart:return 0}}}function a(e){return e===e7.Space||e===e7.NewLine||e===e7.Tab||e===e7.FormFeed||e===e7.CarriageReturn}function l(e){return e===e7.Slash||e===e7.Gt||a(e)}(e0=e7||(e7={}))[e0.Tab=9]="Tab",e0[e0.NewLine=10]="NewLine",e0[e0.FormFeed=12]="FormFeed",e0[e0.CarriageReturn=13]="CarriageReturn",e0[e0.Space=32]="Space",e0[e0.ExclamationMark=33]="ExclamationMark",e0[e0.Number=35]="Number",e0[e0.Amp=38]="Amp",e0[e0.SingleQuote=39]="SingleQuote",e0[e0.DoubleQuote=34]="DoubleQuote",e0[e0.Dash=45]="Dash",e0[e0.Slash=47]="Slash",e0[e0.Zero=48]="Zero",e0[e0.Nine=57]="Nine",e0[e0.Semi=59]="Semi",e0[e0.Lt=60]="Lt",e0[e0.Eq=61]="Eq",e0[e0.Gt=62]="Gt",e0[e0.Questionmark=63]="Questionmark",e0[e0.UpperA=65]="UpperA",e0[e0.LowerA=97]="LowerA",e0[e0.UpperF=70]="UpperF",e0[e0.LowerF=102]="LowerF",e0[e0.UpperZ=90]="UpperZ",e0[e0.LowerZ=122]="LowerZ",e0[e0.LowerX=120]="LowerX",e0[e0.OpeningSquareBracket=91]="OpeningSquareBracket",(e1=te||(te={}))[e1.Text=1]="Text",e1[e1.BeforeTagName=2]="BeforeTagName",e1[e1.InTagName=3]="InTagName",e1[e1.InSelfClosingTag=4]="InSelfClosingTag",e1[e1.BeforeClosingTagName=5]="BeforeClosingTagName",e1[e1.InClosingTagName=6]="InClosingTagName",e1[e1.AfterClosingTagName=7]="AfterClosingTagName",e1[e1.BeforeAttributeName=8]="BeforeAttributeName",e1[e1.InAttributeName=9]="InAttributeName",e1[e1.AfterAttributeName=10]="AfterAttributeName",e1[e1.BeforeAttributeValue=11]="BeforeAttributeValue",e1[e1.InAttributeValueDq=12]="InAttributeValueDq",e1[e1.InAttributeValueSq=13]="InAttributeValueSq",e1[e1.InAttributeValueNq=14]="InAttributeValueNq",e1[e1.BeforeDeclaration=15]="BeforeDeclaration",e1[e1.InDeclaration=16]="InDeclaration",e1[e1.InProcessingInstruction=17]="InProcessingInstruction",e1[e1.BeforeComment=18]="BeforeComment",e1[e1.CDATASequence=19]="CDATASequence",e1[e1.DeclarationSequence=20]="DeclarationSequence",e1[e1.InSpecialComment=21]="InSpecialComment",e1[e1.InCommentLike=22]="InCommentLike",e1[e1.SpecialStartSequence=23]="SpecialStartSequence",e1[e1.InSpecialTag=24]="InSpecialTag",e1[e1.InPlainText=25]="InPlainText",e1[e1.InEntity=26]="InEntity",(e2=tt||(tt={}))[e2.NoValue=0]="NoValue",e2[e2.Unquoted=1]="Unquoted",e2[e2.Single=2]="Single",e2[e2.Double=3]="Double";let c={Empty:new Uint8Array(0),Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,33,62]),Doctype:new Uint8Array([100,
vendor: 16,310 bytes, line 1
1111,99,116,121,112,101]),IframeEnd:new Uint8Array([60,47,105,102,114,97,109,101]),NoembedEnd:new Uint8Array([60,47,110,111,101,109,98,101,100]),NoframesEnd:new Uint8Array([60,47,110,111,102,114,97,109,101,115]),Plaintext:new Uint8Array([60,47,112,108,97,105,110,116,101,120,116]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97]),XmpEnd:new Uint8Array([60,47,120,109,112])},u=new Map([[c.IframeEnd[2],c.IframeEnd],[c.NoembedEnd[2],c.NoembedEnd],[c.Plaintext[2],c.Plaintext],[c.ScriptEnd[2],c.ScriptEnd],[c.TitleEnd[2],c.TitleEnd],[c.XmpEnd[2],c.XmpEnd]]);class h{cbs;state=te.Text;buffer="";sectionStart=0;index=0;entityStart=0;baseState=te.Text;isSpecial=!1;running=!0;offset=0;xmlMode;decodeEntities;recognizeSelfClosing;entityDecoder;constructor({xmlMode:e=!1,decodeEntities:t=!0,recognizeSelfClosing:r=e},s){this.cbs=s,this.xmlMode=e,this.decodeEntities=t,this.recognizeSelfClosing=r,this.entityDecoder=new o(e?i:n,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=te.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=te.Text,this.isSpecial=!1,this.currentSequence=c.Empty,this.sequenceIndex=0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===e7.Lt||!this.decodeEntities&&this.fastForwardTo(e7.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=te.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===e7.Amp&&this.startEntity()}currentSequence=c.Empty;sequenceIndex=0;enterTagBody(){this.currentSequence===c.Plaintext?(this.currentSequence=c.Empty,this.state=te.InPlainText):this.isSpecial?(this.state=te.InSpecialTag,this.sequenceIndex=0):this.state=te.Text}stateSpecialStartSequence(e){let t=32|e;if(this.sequenceIndex<this.currentSequence.length){if(t===this.currentSequence[this.sequenceIndex])return void this.sequenceIndex++;if(3===this.sequenceIndex){if(this.currentSequence===c.ScriptEnd&&t===c.StyleEnd[3]){this.currentSequence=c.StyleEnd,this.sequenceIndex=4;return}if(this.currentSequence===c.TitleEnd&&t===c.TextareaEnd[3]){this.currentSequence=c.TextareaEnd,this.sequenceIndex=4;return}}else if(4===this.sequenceIndex&&this.currentSequence===c.NoembedEnd&&t===c.NoframesEnd[4]){this.currentSequence=c.NoframesEnd,this.sequenceIndex=5;return}}else if(l(e)){this.sequenceIndex=0,this.state=te.InTagName,this.stateInTagName(e);return}this.isSpecial=!1,this.currentSequence=c.Empty,this.sequenceIndex=0,this.state=te.InTagName,this.stateInTagName(e)}stateCDATASequence(e){e===c.Cdata[this.sequenceIndex]?++this.sequenceIndex===c.Cdata.length&&(this.state=te.InCommentLike,this.currentSequence=c.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.xmlMode?(this.state=te.InDeclaration,this.stateInDeclaration(e)):(this.state=te.InSpecialComment,this.stateInSpecialComment(e)))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}emitComment(e){this.cbs.oncomment(this.sectionStart,this.index,e),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=te.Text}stateInCommentLike(e){!this.xmlMode&&this.currentSequence===c.CommentEnd&&this.sequenceIndex<=1&&this.index===this.sectionStart+this.sequenceIndex&&e===e7.Gt?this.emitComment(this.sequenceIndex):this.currentSequence===c.CommentEnd&&2===this.sequenceIndex&&e===e7.Gt?this.emitComment(2):this.currentSequence===c.CommentEnd&&this.sequenceIndex===this.currentSequence.length-1&&e!==e7.Gt?this.sequenceIndex=Number(e===e7.Dash):e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===c.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,3),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=te.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!l(e):e>=e7.LowerA&&e<=e7.LowerZ||e>=e7.UpperA&&e<=e7.UpperZ}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(l(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===c.TitleEnd||this.currentSequence===c.TextareaEnd?this.decodeEntities&&e===e7.Amp&&this.startEntity():this.fastForwardTo(e7.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===e7.Lt)}stateBeforeTagName(e){if(e===e7.ExclamationMark)this.state=te.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===e7.Questionmark)this.xmlMode?(this.state=te.InProcessingInstruction,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.state=te.InSpecialComment,this.sectionStart=this.index);else if(this.isTagStartChar(e)){this.sectionStart=this.index;let t=this.xmlMode||this.cbs.isInForeignContext?.()?void 0:u.get(32|e);void 0===t?this.state=te.InTagName:(this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=3,this.state=te.SpecialStartSequence)}else e===e7.Slash?this.state=te.BeforeClosingTagName:(this.state=te.Text,this.stateText(e))}stateInTagName(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=te.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){a(e)?this.xmlMode||(this.state=te.InSpecialComment,this.sectionStart=this.index):e===e7.Gt?(this.state=te.Text,this.xmlMode||(this.sectionStart=this.index+1)):(this.state=this.isTagStartChar(e)?te.InClosingTagName:te.InSpecialComment,this.sectionStart=this.index)}stateInClosingTagName(e){l(e)&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=te.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===e7.Gt||this.fastForwardTo(e7.Gt))&&(this.state=te.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===e7.Gt?(this.cbs.onopentagend(this.index),this.enterTagBody(),this.sectionStart=this.index+1):e===e7.Slash?this.state=te.InSelfClosingTag:a(e)||(this.state=te.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){if(e===e7.Gt){if(this.cbs.onselfclosingtag(this.index),this.sectionStart=this.index+1,!this.recognizeSelfClosing)return void this.enterTagBody();this.state=te.Text,this.isSpecial=!1,this.currentSequence=c.Empty}else a(e)||(this.state=te.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===e7.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=te.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===e7.Eq?this.state=te.BeforeAttributeValue:e===e7.Slash||e===e7.Gt?(this.cbs.onattribend(tt.NoValue,this.sectionStart),this.sectionStart=-1,this.state=te.BeforeAttributeName,this.stateBeforeAttributeName(e)):a(e)||(this.cbs.onattribend(tt.NoValue,this.sectionStart),this.state=te.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===e7.DoubleQuote?(this.state=te.InAttributeValueDq,this.sectionStart=this.index+1):e===e7.SingleQuote?(this.state=te.InAttributeValueSq,this.sectionStart=this.index+1):a(e)||(this.sectionStart=this.index,this.state=te.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===e7.DoubleQuote?tt.Double:tt.Single,this.index+1),this.state=te.BeforeAttributeName):this.decodeEntities&&e===e7.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,e7.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,e7.SingleQuote)}stateInAttributeValueNoQuotes(e){a(e)||e===e7.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(tt.Unquoted,this.index),this.state=te.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===e7.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===e7.OpeningSquareBracket?(this.state=te.CDATASequence,this.sequenceIndex=0):this.xmlMode?this.state=e===e7.Dash?te.BeforeComment:te.InDeclaration:(32|e)===c.Doctype[0]?(this.state=te.DeclarationSequence,this.currentSequence=c.Doctype,this.sequenceIndex=1):e===e7.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=te.Text,this.sectionStart=this.index+1):e===e7.Dash?this.state=te.BeforeComment:this.state=te.InSpecialComment}stateDeclarationSequence(e){this.sequenceIndex===this.currentSequence.length?(this.state=te.InDeclaration,this.stateInDeclaration(e)):(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:e===e7.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=te.Text,this.sectionStart=this.index+1):this.state=te.InSpecialComment}stateInDeclaration(e){(e===e7.Gt||this.fastForwardTo(e7.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=te.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){e===e7.Questionmark?this.sequenceIndex=1:e===e7.Gt&&1===this.sequenceIndex?(this.cbs.onprocessinginstruction(this.sectionStart,this.index-1),this.sequenceIndex=0,this.state=te.Text,this.sectionStart=this.index+1):this.sequenceIndex=Number(this.fastForwardTo(e7.Questionmark))}stateBeforeComment(e){e===e7.Dash?(this.state=te.InCommentLike,this.currentSequence=c.CommentEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):this.xmlMode?this.state=te.InDeclaration:e===e7.Gt?(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=te.Text,this.sectionStart=this.index+1):this.state=te.InSpecialComment}stateInSpecialComment(e){(e===e7.Gt||this.fastForwardTo(e7.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=te.Text,this.sectionStart=this.index+1)}startEntity(){this.baseState=this.state,this.state=te.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?e9.Strict:this.baseState===te.Text||this.baseState===te.InSpecialTag?e9.Legacy:e9.Attribute)}stateInEntity(){let e=this.index-this.offset,t=this.entityDecoder.write(this.buffer,e);if(t>=0)this.state=this.baseState,0===t&&(this.index-=1);else{if(e<this.buffer.length&&this.buffer.charCodeAt(e)===e7.Amp){this.state=this.baseState,this.index-=1;return}this.index=this.offset+this.buffer.length-1}}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===te.Text||this.state===te.InPlainText||this.state===te.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===te.InAttributeValueDq||this.state===te.InAttributeValueSq||this.state===te.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case te.Text:this.stateText(e);break;case te.InPlainText:this.index=this.buffer.length+this.offset-1;break;case te.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case te.InSpecialTag:this.stateInSpecialTag(e);break;case te.CDATASequence:this.stateCDATASequence(e);break;case te.DeclarationSequence:this.stateDeclarationSequence(e);break;case te.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case te.InAttributeName:this.stateInAttributeName(e);break;case te.InCommentLike:this.stateInCommentLike(e);break;case te.InSpecialComment:this.stateInSpecialComment(e);break;case te.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case te.InTagName:this.stateInTagName(e);break;case te.InClosingTagName:this.stateInClosingTagName(e);break;case te.BeforeTagName:this.stateBeforeTagName(e);break;case te.AfterAttributeName:this.stateAfterAttributeName(e);break;case te.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case te.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case te.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case te.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case te.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case te.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case te.InDeclaration:this.stateInDeclaration(e);break;case te.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case te.BeforeComment:this.stateBeforeComment(e);break;case te.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case te.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===te.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingCommentLikeData(e){if(this.state!==te.InCommentLike)return!1;if(this.currentSequence===c.CdataEnd)if(this.xmlMode)this.sectionStart<e&&this.cbs.oncdata(this.sectionStart,e,0);else{let t=this.sectionStart-c.Cdata.length-1;this.cbs.oncomment(t,e,0)}else{let t=this.xmlMode?0:Math.min(this.sequenceIndex,c.CommentEnd.length-1);this.cbs.oncomment(this.sectionStart,e,t)}return!0}handleTrailingMarkupDeclaration(e){if(this.xmlMode)switch(this.state){case te.InSpecialComment:case te.BeforeComment:case te.CDATASequence:case te.DeclarationSequence:case te.InDeclaration:return this.cbs.ontext(this.sectionStart,e),!0;default:return!1}switch(this.state){case te.BeforeDeclaration:case te.InSpecialComment:case te.BeforeComment:case te.CDATASequence:return this.cbs.oncomment(this.sectionStart,e,0),!0;case te.DeclarationSequence:return this.sequenceIndex!==c.Doctype.length&&this.cbs.oncomment(this.sectionStart,e,0),!0;case te.InDeclaration:return!0;default:return!1}}handleTrailingData(){let e=this.buffer.length+this.offset;if(!(this.handleTrailingCommentLikeData(e)||this.handleTrailingMarkupDeclaration(e))&&!(this.sectionStart>=e))switch(this.state){case te.InTagName:case te.BeforeAttributeName:case te.BeforeAttributeValue:case te.AfterAttributeName:case te.InAttributeName:case te.InAttributeValueSq:case te.InAttributeValueDq:case te.InAttributeValueNq:case te.InClosingTagName:break;default:this.cbs.ontext(this.sectionStart,e)}}emitCodePoint(e,t){this.baseState!==te.Text&&this.baseState!==te.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}}let{fromCodePoint:d}=String,f=new Set(["input","option","optgroup","select","button","datalist","textarea"]),p=new Set(["p"]),A=new Set(["h1","h2","h3","h4","h5","h6","p"]),m=new Set(["thead","tbody"]),g=new Set(["dd","dt"]),y=new Set(["rt","rp"]),v=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["a",new Set(["a"])],["li",new Set(["li"])],["p",p],["h1",A],["h2",A],["h3",A],["h4",A],["h5",A],["h6",A],["select",f],["input",f],["output",f],["button",f],["datalist",f],["textarea",f],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",g],["dt",g],["address",p],["article",p],["aside",p],["blockquote",p],["details",p],["div",p],["dl",p],["fieldset",p],["figcaption",p],["figure",p],["footer",p],["form",p],["header",p],["hr",p],["main",p],["nav",p],["ol",p],["pre",p],["section",p],["table",p],["ul",p],["rt",y],["rp",y],["tbody",m],["tfoot",m]
1]),b="doctype",w=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),x=new Set(["math","svg"]),S=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),C=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]);(e3=tr||(tr={}))[e3.None=0]="None",e3[e3.Svg=1]="Svg",e3[e3.MathML=2]="MathML";let I=/\s|\//;class E{options;startIndex=0;endIndex=0;openTagStart=0;tagname="";attribname="";attribvalue="";attribs=null;stack=[];foreignContext;cbs;lowerCaseTagNames;lowerCaseAttributeNames;recognizeSelfClosing;htmlMode;tokenizer;buffers=[];bufferOffset=0;writeIndex=0;ended=!1;constructor(e,t={}){this.options=t,this.cbs=e??{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=t.lowerCaseTags??this.htmlMode,this.lowerCaseAttributeNames=t.lowerCaseAttributeNames??this.htmlMode,this.recognizeSelfClosing=t.recognizeSelfClosing??!this.htmlMode,this.tokenizer=new(t.Tokenizer??h)(this.options,this),this.foreignContext=[tr.None],this.cbs.onparserinit?.(this)}ontext(e,t){let r=this.getSlice(e,t);this.endIndex=t-1,this.cbs.ontext?.(r),this.startIndex=t}ontextentity(e,t){this.endIndex=t-1,this.cbs.ontext?.(d(e)),this.startIndex=t}isInForeignContext(){return this.foreignContext[0]!==tr.None}isVoidElement(e){return this.htmlMode&&w.has(e)}readTagName(e,t){let r=this.lowerCaseTagNames?this.getSlice(e,t).toLowerCase():this.getSlice(e,t);if(!(this.lowerCaseTagNames&&this.htmlMode))return r;if(this.foreignContext[0]===tr.Svg)return C.get(r)??r;if(this.foreignContext.length>1){let e=C.get(r);if(void 0!==e&&this.stack.includes(e))return e}return this.isInForeignContext()?r:"image"===r?"img":r}onopentagname(e,t){this.endIndex=t,this.emitOpenTag(this.readTagName(e,t))}emitOpenTag(e){if(this.openTagStart=this.startIndex,this.tagname=e,this.htmlMode&&"form"===e&&this.stack.includes("form")){this.tagname="";return}let t=this.htmlMode&&v.get(e);if(t)for(;this.stack.length>0&&t.has(this.stack[0]);)this.popElement(!0);!this.isVoidElement(e)&&(this.stack.unshift(e),this.htmlMode&&("svg"===e?this.foreignContext.unshift(tr.Svg):"math"===e?this.foreignContext.unshift(tr.MathML):S.has(e)&&this.foreignContext.unshift(tr.None))),this.cbs.onopentagname?.(e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){this.startIndex=this.openTagStart,this.attribs&&(this.cbs.onopentag?.(this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){this.endIndex=t;let r=this.readTagName(e,t);if(this.isVoidElement(r))this.htmlMode&&"br"===r&&(this.cbs.onopentagname?.("br"),this.cbs.onopentag?.("br",{},!0),this.cbs.onclosetag?.("br",!1));else{let e=this.stack.indexOf(r);if(-1!==e){for(let t=0;t<e;t++)this.popElement(!0);this.popElement(!1)}else this.htmlMode&&"p"===r&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.isInForeignContext()?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}popElement(e){let t=this.stack.shift();this.htmlMode&&(x.has(t)||S.has(t))&&this.foreignContext.shift(),this.cbs.onclosetag?.(t,e)}closeCurrentTag(e){let t=this.tagname;this.endOpenTag(e),this.stack[0]===t&&this.popElement(!e)}onattribname(e,t){this.startIndex=e;let r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=d(e)}onattribend(e,t){this.endIndex=t,this.cbs.onattribute?.(this.attribname,this.attribvalue,e===tt.Double?'"':e===tt.Single?"'":e===tt.NoValue?void 0:null),this.attribs&&!Object.hasOwn(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){let t=e.search(I),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(e,t){this.endIndex=t;let r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.htmlMode?this.lowerCaseTagNames?b:r.slice(0,b.length):this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${e}`,`!${r}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${e}`,`?${r}`)}this.startIndex=t+1}oncomment(e,t,r){this.endIndex=t,this.cbs.oncomment?.(this.getSlice(e,t-r)),this.cbs.oncommentend?.(),this.startIndex=t+1}oncdata(e,t,r){this.endIndex=t;let n=this.getSlice(e,t-r);!this.htmlMode||this.options.recognizeCDATA?(this.cbs.oncdatastart?.(),this.cbs.ontext?.(n),this.cbs.oncdataen
1d?.()):this.isInForeignContext()?this.cbs.ontext?.(n):(this.cbs.oncomment?.(`[CDATA[${n}]]`),this.cbs.oncommentend?.()),this.startIndex=t+1}onend(){if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}this.cbs.onend?.()}reset(){this.cbs.onreset?.(),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,this.cbs.onparserinit?.(this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(tr.None),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){if(e===t)return"";for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){this.ended?this.cbs.onerror?.(Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))}end(e){this.ended?this.cbs.onerror?.(Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}}function R(e){return e.type===tn.Tag||e.type===tn.Script||e.type===tn.Style}(e4=tn||(tn={})).Root="root",e4.Text="text",e4.Directive="directive",e4.Comment="comment",e4.Script="script",e4.Style="style",e4.Tag="tag",e4.CDATA="cdata",e4.Doctype="doctype";let F=tn.Root,B=tn.Text,D=tn.Directive,P=tn.Comment,k=tn.Script,T=tn.Style,O=tn.Tag,j=tn.CDATA,N=tn.Doctype;e.s(["CDATA",0,j,"Comment",0,P,"Directive",0,D,"Doctype",0,N,"ElementType",0,tn,"Root",0,F,"Script",0,k,"Style",0,T,"Tag",0,O,"Text",0,B,"isTag",0,R],546806);class _{parent=null;prev=null;next=null;startIndex=null;endIndex=null;get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return X(this,e)}}class M extends _{data;constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class Q extends M{type=tn.Text;get nodeType(){return 3}}class W extends M{type=tn.Comment;get nodeType(){return 8}}class L extends M{type=tn.Directive;name;constructor(e,t){super(t),this.name=e}get nodeType(){return 1}"x-name";"x-publicId";"x-systemId"}class H extends _{children;constructor(e){super(),this.children=e}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class U extends H{type=tn.CDATA;get nodeType(){return 4}}class G extends H{type=tn.Root;get nodeType(){return 9}}class K extends H{name;attribs;type;constructor(e,t,r=[],n="script"===e?tn.Script:"style"===e?tn.Style:tn.Tag){super(r),this.name=e,this.attribs=t,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>({name:e,value:this.attribs[e],namespace:this["x-attribsNamespace"]?.[e],prefix:this["x-attribsPrefix"]?.[e]}))}namespace;"x-attribsNamespace";"x-attribsPrefix"}function V(e){return R(e)}function Y(e){return e.type===tn.CDATA}function J(e){return e.type===tn.Text}function Z(e){return e.type===tn.Comment}function q(e){return Object.hasOwn(e,"children")}function X(e,t=!1){let r;if(J(e))r=new Q(e.data);else if(Z(e))r=new W(e.data);else if(R(e)){let n=t?z(e.children):[],i=new K(e.name,{...e.attribs},n);for(let e of n)e.parent=i;null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]={...e["x-attribsPrefix"]}),r=i}else if(Y(e)){let n=t?z(e.children):[],i=new U(n);for(let e of n)e.parent=i;r=i}else if(e.type===tn.Root){let n=t?z(e.children):[],i=new G(n);for(let e of n)e.parent=i;e["x-mode"]&&(i["x-mode"]=e["x-mode"]),r=i}else if(e.type===tn.Directive){let t=new L(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),r=t}else throw Error(`Not implemented yet: ${e.type}`);return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function z(e){let t=e.map(e=>X(e,!0));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}let $={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class ee{dom=[];root=new G(this.dom);callback;options;elementCB;done=!1;tagStack=[this.root];lastNode=null;parser=null;constructor(e,t,r){"function"==typeof t&&(r=t,t=$),"object"==typeof e&&(t=e,e=void 0),this.callback=e??null,this.options=t??$,this.elementCB=r??null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new G(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;let e=this.tagStack.pop();this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){let r=new K(e,t,void 0,this.options.xmlMode?tn.Tag:void 0);this.addNode(r),this.tagStack.push(r)}ontext(e){let{lastNode:t}=this;if(t&&t.type===tn.Text)t.data+=e,this.options.withEndIndices&&this.parser&&(t.endIndex=this.parser.endIndex);else{let t=new Q(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===tn.Comment){this.lastNode.data+=e;return}let t=new W(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){let e=new Q(""),t=new U([e]);this.addNode(t),e.parent=t,this.lastNode=e}
1oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){let r=new L(e,t);this.addNode(r)}handleCallback(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e}addNode(e){let t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&this.parser&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&this.parser&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null}}function et(e,t,r=!0,n=1/0){return er(e,Array.isArray(t)?t:[t],r,n)}function er(e,t,r,n){let i=[],s=[Array.isArray(t)?t:[t]],o=[0];for(;;){if(o[0]>=s[0].length){if(1===o.length)return i;s.shift(),o.shift();continue}let t=s[0][o[0]++];if(e(t)&&(i.push(t),--n<=0))return i;r&&q(t)&&t.children.length>0&&(o.unshift(0),s.unshift(t.children))}}function en(e,t,r=!0){for(let n of Array.isArray(t)?t:[t]){if(R(n)&&e(n))return n;if(r&&q(n)&&n.children.length>0){let t=en(e,n.children,!0);if(t)return t}}return null}function ei(e,t){return(Array.isArray(t)?t:[t]).some(t=>R(t)&&e(t)||q(t)&&ei(e,t.children))}function es(e,t){let r=[],n=[Array.isArray(t)?t:[t]],i=[0];for(;;){if(i[0]>=n[0].length){if(1===n.length)return r;n.shift(),i.shift();continue}let t=n[0][i[0]++];R(t)&&e(t)&&r.push(t),q(t)&&t.children.length>0&&(i.unshift(0),n.unshift(t.children))}}e.s(["existsOne",0,ei,"filter",0,et,"find",0,er,"findAll",0,es,"findOne",0,en],890961);let eo={tag_name:e=>"function"==typeof e?t=>R(t)&&e(t.name):"*"===e?V:t=>R(t)&&t.name===e,tag_type:e=>"function"==typeof e?t=>e(t.type):t=>t.type===e,tag_contains:e=>"function"==typeof e?t=>J(t)&&e(t.data):t=>J(t)&&t.data===e};function ea(e,t){return"function"==typeof t?r=>R(r)&&t(r.attribs[e]):r=>R(r)&&r.attribs[e]===t}function el(e,t){return r=>e(r)||t(r)}function ec(e){let t=Object.keys(e).map(t=>{let r=e[t];return Object.hasOwn(eo,t)?eo[t](r):ea(t,r)});return 0===t.length?null:t.reduce(el)}function eu(e,t){let r=ec(e);return!r||r(t)}function eh(e,t,r,n=1/0){let i=ec(e);return i?et(i,t,r,n):[]}function ed(e,t,r=!0){return Array.isArray(t)||(t=[t]),en(ea("id",e),t,r)}function ef(e,t,r=!0,n=1/0){return et(eo.tag_name(e),t,r,n)}function ep(e,t,r=!0,n=1/0){return et(ea("class",e),t,r,n)}function eA(e,t,r=!0,n=1/0){return et(eo.tag_type(e),t,r,n)}e.s(["getElementById",0,ed,"getElements",0,eh,"getElementsByClassName",0,ep,"getElementsByTagName",0,ef,"getElementsByTagType",0,eA,"testElement",0,eu],764451);let em=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),eg="function"==typeof String.prototype.codePointAt?(e,t)=>e.codePointAt(t):(e,t)=>(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function ey(e){let t,r=0,{length:n}=e;for(let i=0;i<n;i++){let n=e.charCodeAt(i);if(n<128&&((0x500000c4>>>n&1)==0||n>=64||n<32))continue;if(void 0===t?t=e.substring(0,i):r!==i&&(t+=e.substring(r,i)),n<64){t+=em.get(n),r=i+1;continue}let s=eg(e,i);t+=`&#x${s.toString(16)};`,s!==n&&i++,r=i+1}return void 0===t?e:(r<n&&(t+=e.substr(r)),t)}function ev(e,t){return function(r){let n,i=0,s="";for(;n=e.exec(r);)i!==n.index&&(s+=r.substring(i,n.index)),s+=t.get(n[0].charCodeAt(0)),i=n.index+1;return s+r.substring(i)}}let eb=ev(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),ew=ev(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),ex=new Map("altGlyph altGlyphDef altGlyphItem animateColor animateMotion animateTransform clipPath feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence foreignObject glyphRef linearGradient radialGradient textPath".split(" ").map(e=>[e.toLowerCase(),e])),eS=new Map("definitionURL attributeName attributeType baseFrequency baseProfile calcMode clipPathUnits diffuseConstant edgeMode filterUnits glyphRef gradientTransform gradientUnits kernelMatrix kernelUnitLength keyPoints keySplines keyTimes lengthAdjust limitingConeAngle markerHeight markerUnits markerWidth maskContentUnits maskUnits numOctaves pathLength patternContentUnits patternTransform patternUnits pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits refX refY repeatCount repeatDur requiredExtensions requiredFeatures specularConstant specularExponent spreadMethod startOffset stdDeviation stitchTiles surfaceScale systemLanguage tableValues targetX targetY textLength viewBox viewTarget xChannelSelector yChannelSelector zoomAndPan".split(" ").map(e=>[e.toLowerCase(),e])),eC=new Set("style script xmp iframe noembed noframes plaintext noscript".split(" ")),eI=new Set("area base basefont br col command embed frame hr img input isindex keygen link meta param source track wbr".split(" ")),eE=new Set(["svg","math"]),eR=new Set("mi mo mn ms mtext annotation-xml foreignObject desc title".split(" ")),eF=function(e,t={}){let r="length"in e?e:[e],n=t.xmlMode??!1,i="";for(let e=0;e<r.length;e++)i+=eD(r[e],t,n);return i};function eB(e,t,r){let n="";for(let i=0;i<e.length;i++)n+=eD(e[i],t,r);return n}function eD(e,t,r){switch(e.type){case F:return eB(e.children,t,r);case D:return`<${e.data}>`;case P:return`<!--${e.data}-->`;case j:return`<![CDATA[${e.children[0].data}]]>`;case k:case T:case O:return function(e,t,r){"foreign"===r&&(e.name=ex.get(e.name)??e.name,e.parent&&eR.has(e.parent.name)&&(r=!1)),!r&&eE.has(e.name)&&(r="foreign");let{name:n,children:i}=e,s=!r&&eI.has(n),o=`<${n}${function(e,t,r){if(!e)return"";let n=(t.encodeEntities??t.decodeEntities)===!1?eP:r||"utf8"!==t.encodeEntities?ey:eb,i="foreign"===r,s=!!(t.emptyAttrs??r),o="";for(let t in e){if(!Object.hasOwn(e,t))continue;let r=e[t],a=i?eS.get(t)??t:t;o+=s||null!=r&&""!==r?` ${a}="${n(null==r?"":String(r))}"`:` ${a}`}return o}(e.attribs,t,r)}`;return 0===i.length&&(r?!1!==t.selfClosingTags:t.selfClosingTags&&s)?o+=r?"/>":" />":(o+=">",i.length>0&&(o+=eB(i,t,r)),s||(o+=`</${n}>`)),o}(e,t,r);case B:{let n=e.data||"";if((t.encodeEntities??t.decodeEntities)!==!1&&!(!r&&e.parent&&eC.has(e.parent.name)))return r||"utf8"!==t.encodeEntities?ey(n):ew(n);return n}}}function eP(e){return e.replaceAll('"',""")}function ek(e,t){return eF(e,t)}function eT(e,t){return q(e)?e.children.map(e=>ek(e,t)).join(""):""}function eO(e){return Array.isArray(e)?e.map(eO).join(""):R(e)?"br"===e.name?"\n":eO(e.children):Y(e)?eO(e.children):J(e)?e.data:""}function ej(e){return Array.isArray(e)?e.map(ej).join(""):q(e)&&!Z(e)?ej(e.children):J(e)?e.data:""}function eN(e){return Array.isArray(e)?e.map(eN).join(""):q(e)&&(e.type===tn.Tag||Y(e))?eN(e.children):J(e)?e.data:""}function e_(e){var t;let r,n,i,s,o,a,l,c=eL(eG,e);return c?"feed"===c.name?(n={type:"atom",items:ef("entry",r=c.children).map(e=>{let{children:t}=e,r={media:eW(t)};eU(r,"id","id",t),eU(r,"title","title",t);let n=eL("link",t)?.attribs.href;n&&(r.link=n);let i=eH("summary",t)||eH("content",t);i&&(r.description=i);let s=eH("updated",t);return s&&(r.pubDate=new Date(s)),r})},eU(n,"id","id",r),eU(n,"title","title",r),(i=eL("link",r)?.attribs.href)&&(n.link=i),eU(n,"description","subtitle",r),(s=eH("updated",r))&&(n.updated=new Date(s)),eU(n,"author","email",r,!0),n):(t=c,o=eL("channel",t.children)?.children??[],a={type:t.name.substr(0,3),id:"",items:ef("item",t.children).map(e=>{let{children:t}=e,r={media:eW(t)};eU(r,"id","guid",t),eU(r,"title","title",t),eU(r,"link","link",t),eU(r,"description","description",t);let n=eH("pubDate",t)||eH("dc:date",t);return n&&(r.pubDate=new Date(n)),r})},eU(a,"title","title",o),eU(a,"link","link",o),eU(a,"description","description",o),(l=eH("lastBuildDate",o))&&(a.updated=new Date(l)),eU(a,"author","managingEditor",o,!0),a):null}e.s(["getInnerHTML",0,eT,"getOuterHTML",0,ek,"getText",0,eO,"innerText",0,eN,"textContent",0,ej],107100);let eM=["url","type","lang"],eQ=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function eW(e){return ef("media:content",e).map(e=>{let{attribs:t}=e,r={medium:t.medium,isDefault:!!t.isDefault};for(let e of eM)t[e]&&(r[e]=t[e]);for(let e of eQ)t[e]&&(r[e]=Number.parseInt(t[e],10));return t.expression&&(r.expression=t.expression),r})}
1function eL(e,t){return ef(e,t,!0,1)[0]}function eH(e,t,r=!1){return ej(ef(e,t,r,1)).trim()}function eU(e,t,r,n,i=!1){let s=eH(r,n,i);s&&(e[t]=s)}function eG(e){return"rss"===e||"feed"===e||"rdf:RDF"===e}function eK(e,t){let r=new ee(void 0,t);return new E(r,t).end(e),r.root}function eV(e,t,r){let n=new ee(t=>e(t,n.root),t,r);return new E(n,t)}e.s(["getFeed",0,e_],325137);let eY={xmlMode:!0};function eJ(e,t=eY){return e_(eK(e,t).children)}e.s(["createDocumentStream",0,eV,"parseDocument",0,eK,"parseFeed",0,eJ],177627),e.i(177627);var eZ,eq,eX,ez,e$,e0,e1,e2,e3,e4,e5,e8,e6,e9,e7,te,tt,tr,tn,ti,ts=e.i(546806);function to(e){let t=e.length;for(;--t>=0;){let r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0){e.splice(t,1);continue}for(let n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}function ta(e,t){let r=[],n=[];if(e===t)return 0;let i=q(e)?e:e.parent;for(;i;)r.unshift(i),i=i.parent;for(i=q(t)?t:t.parent;i;)n.unshift(i),i=i.parent;let s=Math.min(r.length,n.length),o=0;for(;o<s&&r[o]===n[o];)o++;if(0===o)return ti.DISCONNECTED;let a=r[o-1],l=a.children,c=r[o],u=n[o];return l.indexOf(c)>l.indexOf(u)?a===t?ti.FOLLOWING|ti.CONTAINED_BY:ti.FOLLOWING:a===e?ti.PRECEDING|ti.CONTAINS:ti.PRECEDING}function tl(e){return(e=e.filter((e,t,r)=>!r.includes(e,t+1))).sort((e,t)=>{let r=ta(e,t);return r&ti.PRECEDING?-1:r&ti.FOLLOWING?1:0}),e}function tc(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){let t=e.parent.children,r=t.lastIndexOf(e);-1!==r&&t.splice(r,1)}e.next=null,e.prev=null,e.parent=null}function tu(e,t){if(t.prev=e.prev,t.prev&&(t.prev.next=t),t.next=e.next,t.next&&(t.next.prev=t),t.parent=e.parent,t.parent){let{children:r}=t.parent,n=r.lastIndexOf(e);-1!==n&&(r[n]=t,e.parent=null)}}function th(e,t){if(tc(t),t.next=null,t.parent=e,e.children.push(t)>1){let r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null}function td(e,t){tc(t);let{parent:r}=e,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){let e=r.children;e.splice(e.lastIndexOf(n),0,t)}}else r&&r.children.push(t)}function tf(e,t){if(tc(t),t.parent=e,t.prev=null,1===e.children.unshift(t))t.next=null;else{let r=e.children[1];r.prev=t,t.next=r}}function tp(e,t){tc(t);let{parent:r}=e;if(r){let n=r.children;n.splice(n.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}function tA(e){return q(e)?e.children:[]}function tm(e){return e.parent||null}function tg(e){let t=tm(e);if(null!=t)return tA(t);let r=[e],{prev:n,next:i}=e;for(;null!=n;)r.unshift(n),{prev:n}=n;for(;null!=i;)r.push(i),{next:i}=i;return r}function ty(e,t){let{attribs:r}=e;return r?.[t]}function tv(e,t){let{attribs:r}=e;return null!=r&&Object.hasOwn(r,t)&&null!=r[t]}function tb(e){return e.name}function tw(e){let{next:t}=e;for(;null!==t&&!R(t);)({next:t}=t);return t}function tx(e){let{prev:t}=e;for(;null!==t&&!R(t);)({prev:t}=t);return t}e.s([],662614),e.i(662614),e.i(325137),(eZ=ti||(ti={}))[eZ.DISCONNECTED=1]="DISCONNECTED",eZ[eZ.PRECEDING=2]="PRECEDING",eZ[eZ.FOLLOWING=4]="FOLLOWING",eZ[eZ.CONTAINS=8]="CONTAINS",eZ[eZ.CONTAINED_BY=16]="CONTAINED_BY",e.s(["DocumentPosition",0,ti,"compareDocumentPosition",0,ta,"removeSubsets",0,to,"uniqueSort",0,tl],986053),e.i(986053),e.i(764451),e.s(["append",0,td,"appendChild",0,th,"prepend",0,tp,"prependChild",0,tf,"removeElement",0,tc,"replaceElement",0,tu],849404),e.i(849404),e.i(890961),e.i(107100),e.s(["getAttributeValue",0,ty,"getChildren",0,tA,"getName",0,tb,"getParent",0,tm,"getSiblings",0,tg,"hasAttrib",0,tv,"nextElementSibling",0,tw,"prevElementSibling",0,tx],143747),e.i(143747),e.s(["DocumentPosition",0,ti,"append",0,td,"appendChild",0,th,"compareDocumentPosition",0,ta,"existsOne",0,ei,"filter",0,et,"find",0,er,"findAll",0,es,"findOne",0,en,"getAttributeValue",0,ty,"getChildren",0,tA,"getElementById",0,ed,"getElements",0,eh,"getElementsByClassName",0,ep,"getElementsByTagName",0,ef,"getElementsByTagType",0,eA,"getFeed",0,e_,"getInnerHTML",0,eT,"getName",0,tb,"getOuterHTML",0,ek,"getParent",0,tm,"getSiblings",0,tg,"getText",0,eO,"hasAttrib",0,tv,"innerText",0,eN,"nextElementSibling",0,tw,"prepend",0,tp,"prependChild",0,tf,"prevElementSibling",0,tx,"removeElement",0,tc,"removeSubsets",0,to,"replaceElement",0,tu,"testElement",0,eu,"textContent",0,ej,"uniqueSort",0,tl],834585);var tS=e.i(834585);e.s(["DefaultHandler",0,ee,"DomHandler",0,ee,"DomUtils",0,tS,"ElementType",0,ts,"Parser",0,E,"QuoteType",0,tt,"Tokenizer",()=>h,"createDocumentStream",0,eV,"getFeed",0,e_,"parseDocument",0,eK,"parseFeed",0,eJ],132109)},64873,(e,t,r)=>{"use strict";
1t.exports=e=>{if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},875654,(e,t,r)=>{"use strict";function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(r,"__esModule",{value:!0}),r.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},130860,(e,t,r)=>{"use strict";var n=function(e){var t,r,n;return!!(t=e)&&"object"==typeof t&&(r=e,"[object RegExp]"!==(n=Object.prototype.toString.call(r))&&"[object Date]"!==n&&r.$$typeof!==i)},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c(Array.isArray(e)?[]:{},e,t):e}function o(e,t,r){return e.concat(t).map(function(e){return s(e,r)})}function a(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function l(e,t){try{return t in e}catch(e){return!1}}function c(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||o,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=s;var i,u,h=Array.isArray(t);return h!==Array.isArray(e)?s(t,r):h?r.arrayMerge(e,t,r):(u={},(i=r).isMergeableObject(e)&&a(e).forEach(function(t){u[t]=s(e[t],i)}),a(t).forEach(function(r){l(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))||(l(e,r)&&i.isMergeableObject(t[r])?u[r]=(function(e,t){if(!t.customMerge)return c;var r=t.customMerge(e);return"function"==typeof r?r:c})(r,i)(e[r],t[r],i):u[r]=s(t[r],i))}),u)}c.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return c(e,r,t)},{})},t.exports=c},661840,(e,t,r)=>{!function(r,n){if("function"==typeof define&&define.amd){let t;void 0!==(t=n())&&e.v(t)}else t.exports?t.exports=n():r.parseSrcset=n()}(e.e,function(){return function(e){function t(e){return" "===e||" "===e||"\n"===e||"\f"===e||"\r"===e}function r(t){var r,n=t.exec(e.substring(A));if(n)return r=n[0],A+=r.length,r}for(var n,i,s,o,a,l=e.length,c=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,h=/^[^ \t\n\r\u000c]+/,d=/[,]+$/,f=/^\d+$/,p=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,A=0,m=[];;){if(r(u),A>=l)return m;n=r(h),i=[],","===n.slice(-1)?(n=n.replace(d,""),g()):function(){for(r(c),s="",o="in descriptor";;){if(a=e.charAt(A),"in descriptor"===o)if(t(a))s&&(i.push(s),s="",o="after descriptor");else if(","===a){A+=1,s&&i.push(s),g();return}else if("("===a)s+=a,o="in parens";else if(""===a){s&&i.push(s),g();return}else s+=a;else if("in parens"===o)if(")"===a)s+=a,o="in descriptor";else if(""===a){i.push(s),g();return}else s+=a;else if("after descriptor"===o)if(t(a));else{if(""===a)return void g();o="in descriptor",A-=1}A+=1}}()}function g(){var t,r,s,o,a,l,c,u,h,d=!1,A={};for(o=0;o<i.length;o++)l=(a=i[o])[a.length-1],u=parseInt(c=a.substring(0,a.length-1),10),h=parseFloat(c),f.test(c)&&"w"===l?((t||r)&&(d=!0),0===u?d=!0:t=u):p.test(c)&&"x"===l?((t||r||s)&&(d=!0),h<0?d=!0:r=h):f.test(c)&&"h"===l?((s||r)&&(d=!0),0===u?d=!0:s=u):d=!0;d?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+a+"'."):(A.url=n,t&&(A.w=t),r&&(A.d=r),s&&(A.h=s),m.push(A))}}})},305526,(e,t,r)=>{var n=String,i=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n,blackBright:n,redBright:n,greenBright:n,yellowBright:n,blueBright:n,magentaBright:n,cyanBright:n,whiteBright:n,bgBlackBright:n,bgRedBright:n,bgGreenBright:n,bgYellowBright:n,bgBlueBright:n,bgMagentaBright:n,bgCyanBright:n,bgWhiteBright:n}};t.exports=i(),t.exports.createColors=i},71528,(e,t,r)=>{"use strict";let n=e.r(305526),i={};class s extends Error{constructor(e,t,r,n,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),o&&(this.plugin=o),void 0!==t&&void 0!==r&&("number"==typeof t?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=n.isColorSupported);let r=e=>e,s=e=>e,o=e=>e;if(e){let{bold:e,gray:t,red:a}=n.createColors(!0);s=t=>e(a(t)),r=e=>t(e),i&&(o=e=>i(e))}let a=t.split(/\r?\n/),l=Math.max(this.line-3,0),c=Math.min(this.line+2,a.length),u=String(c).length;return a.slice(l,c).map((e,t)=>{let n=l+1+t,i=" "+(" "+n).slice(-u)+" | ";if(n===this.line){if(e.length>160){let t=Math.max(0,this.column-20),n=Math.max(this.column+20,this.endColumn+20),a=e.slice(t,n),l=r(i.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,19)).replace(/[^\t]/g," ");return s(">")+r(i)+o(a)+"\n "+l+s("^")}let t=r(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+r(i)+o(e)+"\n "+t+s("^")}return" "+r(i)+o(e)}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}t.exports=s,s.default=s},981864,(e,t,r)=>{"use strict";let n=/(<)(\/?style\b)/gi,i=/(<)(!--)/g,s=/[\t\n\f\r "#'()/;[\\\]{}]/;function o(e){return"string"==typeof e&&e.includes("<")?e.replace(n,"\\3c $2").replace(i,"\\3c $2"):e}let a={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function l(e,t){let r="@"+t.name,n=t.params?e.rawValue(t,"params"):"",i=t.raws.afterName;return void 0===i?i=n?" ":"":""===i&&n&&!s.test(n[0])&&(i=" "),r+i+n}
1function c(e,t,r){let n=r.nodes,i=n.length-1;for(;i>0&&"comment"===n[i].type;)i-=1;let s=e.raw(r,"semicolon"),o="document"===r.type;for(let e=n.length-1;e>=0;e--){let r=n[e],a=i!==e||s;!a&&e<n.length-1&&("atrule"===r.type&&!r.nodes||"decl"===r.type&&r.prop.startsWith("--"))&&(a=!0),t.push({document:o,node:r,semicolon:a})}}function u(e,t,r,n){let i=e.raw(r,"between","beforeOpen");e.builder(o(n+i)+"{",r,"start");let s=r.nodes&&r.nodes.length,a=()=>{let t=s?e.raw(r,"after"):e.raw(r,"after","emptyBody");t&&e.builder(o(t)),e.builder("}",r,"end"),"rule"===r.type&&r.raws.ownSemicolon&&e.builder(o(r.raws.ownSemicolon),r,"end")};s?(t.push(a),c(e,t,r)):a()}class h{constructor(e){this.builder=e}atrule(e,t){let r=l(this,e);if(e.nodes)this.block(e,r);else{let n=(e.raws.between||"")+(t?";":"");this.builder(o(r+n),e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&"root"!==n.type;)i+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<i;e++)r+=t}return r}block(e,t){let r,n=this.raw(e,"between","beforeOpen");this.builder(o(t+n)+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(o(r)),this.builder("}",e,"end")}body(e){let t=h.prototype,r=["atrule","block","body","rule","stringify"].every(e=>this[e]===t[e]),n=[];for(c(this,n,e);n.length>0;){let e=n.pop();if("function"==typeof e){e();continue}let t=e.node,i=this.raw(t,"before");i&&this.builder(e.document?i:o(i)),r&&"rule"===t.type?u(this,n,t,this.rawValue(t,"selector")):r&&"atrule"===t.type&&t.nodes?u(this,n,t,l(this,t)):this.stringify(t,e.semicolon)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(o("/*"+t+e.text+r+"*/"),e)}decl(e,t){let r=e.raws,n=this.raw(e,"between","colon"),i=e.prop+n+this.rawValue(e,"value");e.important&&(i+=r.important||" !important"),t&&(i+=";"),this.builder(o(i),e)}document(e){this.body(e)}raw(e,t,r){let n;if(r||(r=t),t&&void 0!==(n=e.raws[t]))return n;let i=e.parent;if("before"===r&&(!i||"root"===i.type&&i.first===e||i&&"document"===i.type))return"";if(!i)return a[r];let s=e.root(),o=s.rawCache||(s.rawCache={});if(void 0!==o[r])return o[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{var l;let i="raw"+((l=r)[0].toUpperCase()+l.slice(1));this[i]?n=this[i](s,e):s.walk(e=>{if(void 0!==(n=e.raws[t]))return!1})}return void 0===n&&(n=a[r]),o[r]=n,n}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments(e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(e=>{if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t}rawIndent(e){let t;return e.raws.indent?e.raws.indent:(e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=(t=e[e.length-1]).replace(/\S/g,""),!1}}),t)}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){if(e.source&&e.source.input.hasBOM&&this.builder("\uFEFF",e,"start"),this.body(e),e.raws.after){let t=e.raws.after,r=e.parent&&"document"===e.parent.type;this.builder(r?t:o(t))}}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(o(e.raws.ownSemicolon),e,"end")}stringify(e,t){if(!this[e.type])throw Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}t.exports=h,h.default=h},140293,(e,t,r)=>{"use strict";let n=e.r(981864);function i(e,t){new n(t).stringify(e)}t.exports=i,i.default=i},322302,(e,t,r)=>{"use strict";
1t.exports.isClean=Symbol("isClean"),t.exports.my=Symbol("my")},657612,(e,t,r)=>{"use strict";let n=e.r(71528),i=e.r(981864),s=e.r(140293),{isClean:o,my:a}=e.r(322302);function l(e,t){if(t&&void 0!==t.offset)return t.offset;let r=1,n=1,i=0;for(let s=0;s<e.length;s++){if(n===t.line&&r===t.column){i=s;break}"\n"===e[s]?(r=1,n+=1):r+=1}return i}class c{get proxyOf(){return this}constructor(e={}){for(let t of(this.raws={},this[o]=!1,this[a]=!0,Object.keys(e)))if("__proto__"!==t)if("nodes"===t)for(let r of(this.nodes=[],e[t]))"function"==typeof r.clone&&r.parent?this.append(r.clone()):this.append(r);else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=function(e){let t=new e.constructor,r=[[e,t,void 0]];for(;r.length>0;){let[e,t,n]=r.pop();for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i)||"proxyCache"===i)continue;let s=e[i],o=typeof s;if("parent"===i&&"object"===o)n&&(t[i]=n);else if("source"===i)t[i]=s;else if(Array.isArray(s)){let e=[];for(let n of(t[i]=e,s)){let i=new n.constructor;e.push(i),r.push([n,i,t])}}else{if("object"===o&&null!==s){let e=new s.constructor;r.push([s,e,void 0]),s=e}t[i]=s}}}return t}(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:n}=this.rangeBy(t);return this.source.input.error(e,{column:n.column,line:n.line},{column:r.column,line:r.line},t)}return new n(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>e[t]===r||(e[t]=r,("prop"===t||"value"===t||"name"===t||"params"===t||"important"===t||"text"===t)&&e.markDirty(),!0)}}markClean(){this[o]=!0}
1markDirty(){if(this[o]){this[o]=!1;let e=this;for(;e=e.parent;)e[o]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:l(t,this.source.start)};if(e.index)r=this.positionInside(e.index);else if(e.word){let n=t.slice(l(t,this.source.start),l(t,this.source.end)).indexOf(e.word);-1!==n&&(r=this.positionInside(n))}return r}positionInside(e){let t=this.source.start.column,r=this.source.start.line,n="document"in this.source.input?this.source.input.document:this.source.input.css,i=l(n,this.source.start),s=i+e;for(let e=i;e<s;e++)"\n"===n[e]?(t=1,r+=1):t+=1;return{column:t,line:r,offset:s}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:l(t,this.source.start)},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:"number"==typeof this.source.end.offset?this.source.end.offset:l(t,this.source.end)+1}:{column:r.column+1,line:r.line,offset:r.offset+1};if(e.word){let i=t.slice(l(t,this.source.start),l(t,this.source.end)).indexOf(e.word);-1!==i&&(r=this.positionInside(i),n=this.positionInside(i+e.word.length))}else e.start?r={column:e.start.column,line:e.start.line,offset:l(t,e.start)}:"number"==typeof e.index&&(r=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line,offset:l(t,e.end)}:"number"==typeof e.endIndex?n=this.positionInside(e.endIndex):"number"==typeof e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={column:r.column+1,line:r.line,offset:r.offset+1}),{end:n,start:r}}raw(e,t){return new i().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let r=null==t;t=t||new Map;let n=[],i=[[this,n,0]];for(let e=0;e<i.length;e++){let[r,n,s]=i[e],o={};for(let e in n[s]=o,r){if(!Object.prototype.hasOwnProperty.call(r,e)||"parent"===e||"proxyCache"===e)continue;let n=r[e];if(Array.isArray(n)){let r=[];o[e]=r;for(let e=0;e<n.length;e++){let s=n[e];"object"==typeof s&&s.toJSON?s.toJSON===c.prototype.toJSON?i.push([s,r,e]):r[e]=s.toJSON(null,t):r[e]=s}}else if("object"==typeof n&&n.toJSON)n.toJSON===c.prototype.toJSON?i.push([n,o,e]):o[e]=n.toJSON(null,t);else if("source"===e){if(null==n)continue;let r=t.get(n.input);null==r&&(r=t.size,t.set(n.input,r)),o[e]={end:n.end,inputId:r,start:n.start}}else o[e]=n}}let s=n[0];return r&&(s.inputs=[...t.keys()].map(e=>e.toJSON())),s}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}warn(e,t,r={}){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}}t.exports=c,c.default=c},877906,(e,t,r)=>{"use strict";let n=e.r(657612);class i extends n{constructor(e){super(e),this.type="comment"}}t.exports=i,i.default=i},721772,(e,t,r)=>{"use strict";let n=e.r(657612);class i extends n{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}}t.exports=i,i.default=i},296045,(e,t,r)=>{"use strict";let n,i,s,o,a=e.r(877906),l=e.r(721772),c=e.r(657612),{isClean:u,my:h}=e.r(322302);class d extends c{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e)for(let e of this.normalize(t,this.last))this.proxyOf.nodes.push(e);return this.markDirty(),this}cleanRaws(e){let t=[this];for(;t.length>0;){let r=t.pop();if(r!==this&&r.cleanRaws!==d.prototype.cleanRaws){r.cleanRaws(e);continue}if(c.prototype.cleanRaws.call(r,e),r.nodes)for(let e of r.nodes)t.push(e)}}each(e){let t,r;if(!this.proxyOf.nodes)return;let n=this.getIterator();for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){if("proxyOf"===t)return e;if(!e[t])return e[t];if("each"===t||"string"==typeof t&&t.startsWith("walk"))return(...r)=>e[t](...r.map(e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e));if("every"===t||"some"===t)return r=>e[t]((e,...t)=>r(e.toProxy(),...t));if("root"===t)return()=>
1e.root().toProxy();else if("nodes"===t)return e.nodes.map(e=>e.toProxy());else if("first"===t||"last"===t)return e[t].toProxy();else return e[t]},set:(e,t,r)=>e[t]===r||(e[t]=r,("name"===t||"params"===t||"selector"===t)&&e.markDirty(),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,n=this.index(e),i=this.normalize(t,this.proxyOf.nodes[n]).reverse();for(let t of(n=this.index(e),i))this.proxyOf.nodes.splice(n+1,0,t);for(let e in this.indexes)n<(r=this.indexes[e])&&(this.indexes[e]=r+i.length);return this.markDirty(),this}insertBefore(e,t){let r,n=this.index(e),i=0===n&&"prepend",s=this.normalize(t,this.proxyOf.nodes[n],i).reverse();for(let t of(n=this.index(e),s))this.proxyOf.nodes.splice(n,0,t);for(let e in this.indexes)n<=(r=this.indexes[e])&&(this.indexes[e]=r+s.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=function(e){let t=e.slice();for(;t.length>0;){let e=t.pop();if(delete e.source,e.nodes)for(let r of(e.nodes=e.nodes.slice(),e.nodes))t.push(r)}return e.slice()}(i(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(let t of e=e.slice(0))t.parent&&t.parent.removeChild(t,"ignore");else if("root"===e.type&&"document"!==this.type)for(let t of e=e.nodes.slice(0))t.parent&&t.parent.removeChild(t,"ignore");else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector||e.selectors)e=[new o(e)];else if(e.name)e=[new n(e)];else if(e.text)e=[new a(e)];else throw Error("Unknown node type in node creation");return e.map(e=>(e[h]||d.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[u]&&function(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[u]=!1,e.proxyOf.nodes)for(let r of e.proxyOf.nodes)t.push(r)}}(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}prepend(...e){for(let t of e=e.reverse()){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;for(let r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(n=>{t.props&&!t.props.includes(n.prop)||(!t.fast||n.value.includes(t.fast))&&(n.value=n.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){if(!this.proxyOf.nodes)return;let t=[{iterator:this.getIterator(),node:this.proxyOf}];for(;t.length>0;){let r,{iterator:n,node:i}=t[t.length-1],s=i.indexes[n];if(s>=i.proxyOf.nodes.length){delete i.indexes[n],t.pop();let e=t[t.length-1];e&&(e.node.indexes[e.iterator]+=1);continue}let o=i.proxyOf.nodes[s];try{r=e(o,s)}catch(e){throw o.addToError(e)}if(!1===r){for(let e of t)delete e.node.indexes[e.iterator];return!1}o.walk&&o.proxyOf.nodes?t.push({iterator:o.getIterator(),node:o}):i.indexes[n]+=1}}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("atrule"===e.type)return t(e,r)}))}walkComments(e){return this.walk((t,r)=>{if("comment"===t.type)return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("decl"===e.type)return t(e,r)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("rule"===e.type)return t(e,r)}))}}d.registerParse=e=>{i=e},d.registerRule=e=>{o=e},d.registerAtRule=e=>{n=e},d.registerRoot=e=>{s=e}
1,t.exports=d,d.default=d,d.rebuild=e=>{let t=[e];for(;t.length>0;){let e=t.pop();if("atrule"===e.type?Object.setPrototypeOf(e,n.prototype):"rule"===e.type?Object.setPrototypeOf(e,o.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type?Object.setPrototypeOf(e,a.prototype):"root"===e.type&&Object.setPrototypeOf(e,s.prototype),e[h]=!0,e.nodes)for(let r of e.nodes)t.push(r)}}},670255,(e,t,r)=>{"use strict";let n=e.r(296045);class i extends n{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}t.exports=i,i.default=i,n.registerAtRule(i)},698475,(e,t,r)=>{"use strict";let n,i,s=e.r(296045);class o extends s{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new n(new i,this,e).stringify()}}o.registerLazyResult=e=>{n=e},o.registerProcessor=e=>{i=e},t.exports=o,o.default=o},802658,(e,t,r)=>{t.exports={nanoid:(e=21)=>{let t="",r=0|e;for(;r-- >0;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",i=0|r;for(;i-- >0;)n+=e[Math.random()*e.length|0];return n}}},343954,(e,t,r)=>{!function(){"use strict";var e={815:function(e){e.exports=function(e,r,n,i){r=r||"&",n=n||"=";var s={};if("string"!=typeof e||0===e.length)return s;var o=/\+/g;e=e.split(r);var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var l=e.length;a>0&&l>a&&(l=a);for(var c=0;c<l;++c){var u,h,d,f,p=e[c].replace(o,"%20"),A=p.indexOf(n);(A>=0?(u=p.substr(0,A),h=p.substr(A+1)):(u=p,h=""),d=decodeURIComponent(u),f=decodeURIComponent(h),Object.prototype.hasOwnProperty.call(s,d))?t(s[d])?s[d].push(f):s[d]=[s[d],f]:s[d]=f}return s};var t=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},577:function(e){var t=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,s,o,a){return(s=s||"&",o=o||"=",null===e&&(e=void 0),"object"==typeof e)?n(i(e),function(i){var a=encodeURIComponent(t(i))+o;return r(e[i])?n(e[i],function(e){return a+encodeURIComponent(t(e))}).join(s):a+encodeURIComponent(t(e[i]))}).join(s):a?encodeURIComponent(t(a))+o+encodeURIComponent(t(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n<e.length;n++)r.push(t(e[n],n));return r}var i=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var s=r[t]={exports:{}},o=!0;try{e[t](s,s.exports,n),o=!1}finally{o&&delete r[t]}return s.exports}n.ab="/ROOT/node_modules/next/dist/compiled/querystring-es3/";var i={};i.decode=i.parse=n(815),i.encode=i.stringify=n(577),t.exports=i}()},421342,(e,t,r)=>{var n={452:function(t){"use strict";t.exports=e.r(343954)}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}},o=!0;try{n[e](r,r.exports,s),o=!1}finally{o&&delete i[e]}return r.exports}s.ab="/ROOT/node_modules/next/dist/compiled/native-url/";var o={};!function(){var e,t=(e=s(452))&&"object"==typeof e&&"default"in e?e.default:e,r=/https?|ftp|gopher|file/;function n(e){"string"==typeof e&&(e=g(e));var n,i,s,o,a,l,c,u,h,d=(i=(n=e).auth,s=n.hostname,o=n.protocol||"",a=n.pathname||"",l=n.hash||"",c=n.query||"",u=!1,i=i?encodeURIComponent(i).replace(/%3A/i,":")+"@":"",n.host?u=i+n.host:s&&(u=i+(~s.indexOf(":")?"["+s+"]":s),n.port&&(u+=":"+n.port)),c&&"object"==typeof c&&(c=t.encode(c)),h=n.search||c&&"?"+c||"",o&&":"!==o.substr(-1)&&(o+=":"),n.slashes||(!o||r.test(o))&&!1!==u?(u="//"+(u||""),a&&"/"!==a[0]&&(a="/"+a)):u||(u=""),l&&"#"!==l[0]&&(l="#"+l),h&&"?"!==h[0]&&(h="?"+h),{protocol:o,host:u,pathname:a=a.replace(/[?#]/g,encodeURIComponent),search:h=h.replace("#","%23"),hash:l});return""+d.protocol+d.host+d.pathname+d.search+d.hash}var i="http://",a=i+"w.w",l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,c=/https?|ftp|gopher|file/;function u(e,t){var r="string"==typeof e?g(e):e;e="object"==typeof e?n(e):e;var s=g(t),o="";r.protocol&&!r.slashes&&(o=r.protocol,e=e.replace(r.protocol,""),o+="/"===t[0]||"/"===e[0]?"/":""),o&&s.protocol&&(o="",s.slashes||(o=s.protocol,t=t.replace(s.protocol,"")));var u=e.match(l);u&&!s.protocol&&(e=e.substr((o=u[1]+(u[2]||"")).length),/^\/\/[^/]/.test(t)&&(o=o.slice(0,-1)));var h=new URL(e,a+"/"),d=new URL(t,h).toString().replace(a,""),f=s.protocol||r.protocol;return f+=r.slashes||s.slashes?"//":"",!o&&f?d=d.replace(i,f):o&&(d=d.replace(i,"")),c.test(d)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==d.slice(-1)||(d=d.slice(0,-1)),o&&(d=o+("/"===d[0]?d.substr(1):d)),d}function h(){}h.prototype.parse=g,h.prototype.format=n,h.prototype.resolve=u,h.prototype.resolveObject=u;var d=/^https?|ftp|gopher|file/,f=/^(.*?)([#?].*)/,p=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,A=/^([a-z0-9.+-]*:)?\/\/\/*/i,m=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function g(e,r,i){if(void 0===r&&(r=!1),void 0===i&&(i=!1),e&&"object"==typeof e&&e instanceof h)return e;var s=(e=e.trim()).match(f);e=s?s[1].replace(/\\/g,"/")+s[2]:e.replace(/\\/g,"/"),m.test(e)&&"/"!==e.slice(-1)&&(e+="/");var o=!/(^javascript)/.test(e)&&e.match(p),l=A.test(e),c="";o&&(d.test(o[1])||(c=o[1].toLowerCase(),e=""+o[2]+o[3]),o[2]||(l=!1,d.test(o[1])?(c=o[1],e=""+o[3]):e="//"+o[3]),3!==o[2].length&&1!==o[2].length||(c=o[1],e="/"+o[3]));
1var u,g=(s?s[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),y=g&&g[1],v=new h,b="",w="";try{u=new URL(e)}catch(t){b=t,c||i||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(w="/",e=e.substr(1));try{u=new URL(e,a)}catch(e){return v.protocol=c,v.href=c,v}}v.slashes=l&&!w,v.host="w.w"===u.host?"":u.host,v.hostname="w.w"===u.hostname?"":u.hostname.replace(/(\[|\])/g,""),v.protocol=b?c||null:u.protocol,v.search=u.search.replace(/\\/g,"%5C"),v.hash=u.hash.replace(/\\/g,"%5C");var x=e.split("#");!v.search&&~x[0].indexOf("?")&&(v.search="?"),v.hash||""!==x[1]||(v.hash="#"),v.query=r?t.decode(u.search.substr(1)):v.search.substr(1),v.pathname=w+(o?u.pathname.replace(/['^|`]/g,function(e){return"%"+e.charCodeAt().toString(16).toUpperCase()}).replace(/((?:%[0-9A-F]{2})+)/g,function(e,t){try{return decodeURIComponent(t).split("").map(function(e){var t=e.charCodeAt();return t>256||/^[a-z0-9]$/i.test(e)?e:"%"+t.toString(16).toUpperCase()}).join("")}catch(e){return t}}):u.pathname),"about:"===v.protocol&&"blank"===v.pathname&&(v.protocol="",v.pathname=""),b&&"/"!==e[0]&&(v.pathname=v.pathname.substr(1)),c&&!d.test(c)&&"/"!==e.slice(-1)&&"/"===v.pathname&&(v.pathname=""),v.path=v.pathname+v.search,v.auth=[u.username,u.password].map(decodeURIComponent).filter(Boolean).join(":"),v.port=u.port,y&&!v.host.endsWith(y)&&(v.host+=y,v.port=y.slice(1)),v.href=w?""+v.pathname+v.search+v.hash:n(v);var S=/^(file)/.test(v.href)?["host","hostname"]:[];return Object.keys(v).forEach(function(e){~S.indexOf(e)||(v[e]=v[e]||null)}),v}o.parse=g,o.format=n,o.resolve=u,o.resolveObject=function(e,t){return g(u(e,t))},o.Url=h}(),t.exports=o},804468,(e,t,r)=>{"use strict";var n=e.i(467034);let{existsSync:i,readFileSync:s}={},{dirname:o,isAbsolute:a,join:l,relative:c,sep:u}={},{SourceMapConsumer:h,SourceMapGenerator:d}={};class f{constructor(e,t){if(!1===t.map)return;t.unsafeMap&&(this.unsafeMap=!0),this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=o(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new h(this.json||this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let r=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(r){var i;return i=e.substr(r[0].length),n.Buffer.from(i,"base64").toString()}let s=e.slice(22);throw Error("Unsupported source map encoding "+(s=s.slice(0,s.indexOf(","))))}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}loadFile(e,t,r){if(!r&&!this.unsafeMap){if(!/\.map$/i.test(e)||!t)return;let r=c(o(t),e);if(".."===r||r.startsWith(".."+u)||a(r))return}if(this.root=o(e),i(e))return this.mapFile=e,s(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t)if("string"==typeof t)return t;else if("function"==typeof t){let r=t(e);if(r){let t=this.loadFile(r,e,!0);if(!t)throw Error("Unable to load previous source map: "+r.toString());return t}}else if(t instanceof h)return d.fromSourceMap(t).toString();else if(t instanceof d)return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error("Unsupported previous source map format: "+t.toString());else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){let t=this.annotation;e&&(t=l(o(e),t));let r=this.loadFile(t,e,!1);if(r)try{this.json=JSON.parse(r.replace(/^\)]}'[^\n]*\n/,""))}catch{return}return r}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}t.exports=f,f.default=f},2278,(e,t,r)=>{"use strict";let{nanoid:n}=e.r(802658),{isAbsolute:i,resolve:s}={},{SourceMapConsumer:o,SourceMapGenerator:a}={},{fileURLToPath:l,pathToFileURL:c}=e.r(421342),u=e.r(71528),h=e.r(804468),d={},f=Symbol("lineToIndexCache"),p=!!(o&&a),A=!!(s&&i);function m(e){if(e[f])return e[f];let t=e.css.split("\n"),r=Array(t.length),n=0;for(let e=0,i=t.length;e<i;e++)r[e]=n,n+=t[e].length+1;return e[f]=r,r}class g{get from(){return this.file||this.id}constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\uFEFF"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,t.document&&(this.document=t.document.toString()),t.from&&(!A||/^\w+:\/\//.test(t.from)||i(t.from)?this.file=t.from:this.file=s(t.from)),A&&p){let e=new h(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+n(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,n={}){let i,s,o,a,l;if(t&&"object"==typeof t){let e=t,n=r;if("number"==typeof e.offset){a=e.offset;let n=this.fromOffset(a);t=n.line,r=n.col}else t=e.line,r=e.column,a=this.fromLineAndColumn(t,r);if("number"==typeof n.offset){o=n.offset;let e=this.fromOffset(o);s=e.line,i=e.col}else s=n.line,i=n.column,o=this.fromLineAndColumn(n.line,n.column)}else if(r)a=this.fromLineAndColumn(t,r);else{a=t;let e=this.fromOffset(a);t=e.line,r=e.col}let h=this.origin(t,r,s,i);return(l=h?new u(e,void 0===h.endLine?h.line:{column:h.column,line:h.line},void 0===h.endLine?h.column:{column:h.endColumn,line:h.endLine},h.source,h.file,n.plugin):new u(e,void 0===s?t:{column:r,line:t},void 0===s?r:{column:i,line:s},this.css,this.file,n.plugin)).input={column:r,endColumn:i,endLine:s,endOffset:o,line:t,offset:a,source:this.css},this.file&&(c&&(l.input.url=c(this.file).toString()),l.input.file=this.file),l}fromLineAndColumn(e,t){return m(this)[e-1]+t-1}fromOffset(e){let t=m(this),r=t[t.length-1],n=0;if(e>=r)n=t.length-1;else{let r,i=t.length-2;for(;n<i;)if(e<t[r=n+(i-n>>1)])i=r-1;else if(e>=t[r+1])n=r+1;else{n=r;break}}return{col:e-t[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:s(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,n){let s,o;
1if(!this.map)return!1;let a=this.map.consumer(),u=a.originalPositionFor({column:t-1,line:e});if(!u.source)return!1;if("number"==typeof r){let e=a.originalPositionFor({column:n-1,line:r});e.source&&(s=e)}o=i(u.source)?c(u.source):new URL(u.source,this.map.consumer().sourceRoot||c(this.map.mapFile));let h={column:u.column+1,endColumn:s&&s.column+1,endLine:s&&s.line,line:u.line,url:o.toString()};if("file:"===o.protocol)if(l)h.file=l(o);else throw Error("file: protocol is not available in this PostCSS build");let d=a.sourceContentFor(u.source);return d&&(h.source=d),h}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}t.exports=g,g.default=g,d&&d.registerInput&&d.registerInput(g)},551517,(e,t,r)=>{"use strict";let n,i,s=e.r(296045);class o extends s{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let n=new Set;for(let t of Array.isArray(e)?e:[e])t&&"object"==typeof t&&!t.parent&&t.raws&&void 0!==t.raws.before&&n.add(t.raws);let i=super.normalize(e);if(t){if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of i)n.has(e.raws)||(e.raws.before=t.raws.before)}return i}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new n(new i,this,e).stringify()}}o.registerLazyResult=e=>{n=e},o.registerProcessor=e=>{i=e},t.exports=o,o.default=o,s.registerRoot(o)},350215,(e,t,r)=>{"use strict";let n={comma:e=>n.split(e,[","],!0),space:e=>n.split(e,[" ","\n"," "]),split(e,t,r){if(!e)return[];let n=[],i="",s=!1,o=0,a=!1,l="",c=!1;for(let r of e)c?c=!1:"\\"===r?c=!0:a?r===l&&(a=!1):'"'===r||"'"===r?(a=!0,l=r):"("===r?o+=1:")"===r?o>0&&(o-=1):0===o&&t.includes(r)&&(s=!0),s?(""!==i&&n.push(i.trim()),i="",s=!1):i+=r;return(r||""!==i)&&n.push(i.trim()),n}};t.exports=n,n.default=n},893894,(e,t,r)=>{"use strict";let n=e.r(296045),i=e.r(350215);class s extends n{get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}t.exports=s,s.default=s,n.registerRule(s)},498729,(e,t,r)=>{"use strict";let n=e.r(670255),i=e.r(877906),s=e.r(721772),o=e.r(2278),a=e.r(804468),l=e.r(551517),c=e.r(893894);function u(e,t){return e.inputs?e.inputs.map(e=>{let t={...e,__proto__:o.prototype};return t.map&&(t.map={...t.map,__proto__:a.prototype}),t}):t}function h(e,t){let r;if(Array.isArray(e))return e.map(e=>h(e));let o=[{childIndex:0,children:[],inputs:u(e,t),json:e}];for(;o.length>0;){let e=o[o.length-1],t=e.json.nodes;if(t&&e.childIndex<t.length){let r=t[e.childIndex];e.childIndex+=1,o.push({childIndex:0,children:[],inputs:u(r,e.inputs),json:r});continue}o.pop();let a=function(e,t,r){let o,a={...e};if(delete a.inputs,delete a.nodes,a.source){let{inputId:e,...r}=a.source;a.source=r,null!=e&&(a.source.input=t[e])}if("root"===a.type)o=new l(a);else if("decl"===a.type)o=new s(a);else if("rule"===a.type)o=new c(a);else if("comment"===a.type)o=new i(a);else if("atrule"===a.type)o=new n(a);else throw Error("Unknown node type: "+e.type);if(r)for(let e of(o.nodes=r,r))e.parent=o;return o}(e.json,e.inputs,t?e.children:void 0);o.length>0?o[o.length-1].children.push(a):r=a}return r}t.exports=h,h.default=h},320194,(e,t,r)=>{"use strict";var n=e.i(467034);let{dirname:i,relative:s,resolve:o,sep:a}={},{SourceMapConsumer:l,SourceMapGenerator:c}={},{pathToFileURL:u}=e.r(421342),h=e.r(2278),d=!!(l&&c),f=!!(i&&o&&s&&a);t.exports=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),n=e.root||i(e.file);!1===this.mapOpts.sourcesContent?(t=new l(e.text)).sourcesContent&&(t.sourcesContent=null):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(n))
1)}}clearAnnotation(){if(!1!==this.mapOpts.annotation){if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else if(this.css){let e;for(;-1!==(e=this.css.lastIndexOf("/*#"));){let t=this.css.indexOf("*/",e+3);if(-1===t)break;for(;e>0&&"\n"===this.css[e-1];)e--;this.css=this.css.slice(0,e)+this.css.slice(t+2)}}}}generate(){if(this.clearAnnotation(),f&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=c.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new c({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return(this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline())?[this.css]:[this.css,this.map]}generateString(){let e,t;this.css="",this.map=new c({file:this.outputFile(),ignoreInvalidMapping:!0});let r=1,n=1,i="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(o,a,l)=>{if(this.css+=o,a&&"end"!==l&&(s.generated.line=r,s.generated.column=n-1,a.source&&a.source.start?(s.source=this.sourcePath(a),s.original.line=a.source.start.line,s.original.column=a.source.start.column-1):(s.source=i,s.original.line=1,s.original.column=0),this.map.addMapping(s)),(t=o.match(/\n/g))?(r+=t.length,e=o.lastIndexOf("\n"),n=o.length-e):n+=o.length,a&&"start"!==l){let e=a.parent||{raws:{}};(!("decl"===a.type||"atrule"===a.type&&!a.nodes)||a!==e.last||e.raws.semicolon)&&(a.source&&a.source.end?(s.source=this.sourcePath(a),s.original.line=a.source.end.line,s.original.column=a.source.end.column-1,s.generated.line=r,s.generated.column=n-2):(s.source=i,s.original.line=1,s.original.column=0,s.generated.line=r,s.generated.column=n-1),this.map.addMapping(s))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||60===e.charCodeAt(0)||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?i(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=i(o(r,this.mapOpts.annotation)));let n=s(r,e);return this.memoizedPaths.set(e,n),n}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new h(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return n.Buffer.from(e).toString("base64")}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(u){let t=u(e).toString();return this.memoizedFileURLs.set(e,t),t}throw Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===a&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}}},46980,(e,t,r)=>{"use strict";let n=/[\t\n\f\r "#'()/;[\\\]{}
1]/g,i=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,s=/.[\r\n"'(/\\]/,o=/[\da-f]/i;t.exports=function(e,t={}){let r,a,l,c,u,h,d,f,p,A,m=e.css.valueOf(),g=t.ignoreErrors,y=m.length,v=0,b=[],w=[],x=-1;function S(t){throw e.error("Unclosed "+t,v)}return{back:function(e){w.push(e)},endOfFile:function(){return 0===w.length&&v>=y},nextToken:function(e){if(w.length)return w.pop();if(v>=y)return;let t=!!e&&e.ignoreUnclosed;switch(r=m.charCodeAt(v)){case 10:case 32:case 9:case 13:case 12:c=v;do c+=1,r=m.charCodeAt(c);while(32===r||10===r||9===r||13===r||12===r)h=["space",m.slice(v,c)],v=c-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let e=String.fromCharCode(r);h=[e,e,v];break}case 40:if(A=b.length?b.pop()[1]:"",p=m.charCodeAt(v+1),"url"===A&&39!==p&&34!==p&&32!==p&&10!==p&&9!==p&&12!==p&&13!==p){c=v;do{if(d=!1,-1===(c=m.indexOf(")",c+1)))if(g||t){c=v;break}else S("bracket");for(f=c;92===m.charCodeAt(f-1);)f-=1,d=!d}while(d)h=["brackets",m.slice(v,c+1),v,c],v=c}else v<=x?h=["(","(",v]:(c=m.indexOf(")",v+1),a=m.slice(v,c+1),-1===c||s.test(a)?(x=-1===c?y:c,h=["(","(",v]):(h=["brackets",a,v,c],v=c));break;case 39:case 34:u=39===r?"'":'"',c=v;do{if(d=!1,-1===(c=m.indexOf(u,c+1)))if(g||t){c=v+1;break}else S("string");for(f=c;92===m.charCodeAt(f-1);)f-=1,d=!d}while(d)h=["string",m.slice(v,c+1),v,c],v=c;break;case 64:n.lastIndex=v+1,n.test(m),c=0===n.lastIndex?m.length-1:n.lastIndex-2,h=["at-word",m.slice(v,c+1),v,c],v=c;break;case 92:for(c=v,l=!0;92===m.charCodeAt(c+1);)c+=1,l=!l;if(r=m.charCodeAt(c+1),l&&47!==r&&32!==r&&10!==r&&9!==r&&13!==r&&12!==r&&(c+=1,o.test(m.charAt(c)))){for(;o.test(m.charAt(c+1));)c+=1;32===m.charCodeAt(c+1)&&(c+=1)}h=["word",m.slice(v,c+1),v,c],v=c;break;default:47===r&&42===m.charCodeAt(v+1)?(0===(c=m.indexOf("*/",v+2)+1)&&(g||t?c=m.length:S("comment")),h=["comment",m.slice(v,c+1),v,c]):(i.lastIndex=v+1,i.test(m),c=0===i.lastIndex?m.length-1:i.lastIndex-2,h=["word",m.slice(v,c+1),v,c],b.push(h)),v=c}return v++,h},position:function(){return v}}}},552371,(e,t,r)=>{"use strict";let n=e.r(670255),i=e.r(877906),s=e.r(721772),o=e.r(551517),a=e.r(893894),l=e.r(46980),c={empty:!0,space:!0};function u(e,t,r){let n="";for(let i=t;i<r;i++)n+=e[i][1];return n}t.exports=class{constructor(e){this.input=e,this.root=new o,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,r,i,s=new n;s.name=e[1].slice(1),""===s.name&&this.unnamedAtrule(s,e),this.init(s,e[2]);let o=!1,a=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length)if(";"===t){s.source.end=this.getPosition(e[2]),s.source.end.offset++,this.semicolon=!0;break}else if("{"===t){a=!0;break}else if("}"===t){if(l.length>0){for(i=l.length-1,r=l[i];r&&"space"===r[0];)r=l[--i];r&&(s.source.end=this.getPosition(r[3]||r[2]),s.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(s.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(s,"params",l),o&&(e=l[l.length-1],s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),a&&(s.nodes=[],this.current=s)}checkMissedSemicolon(e){let t,r=this.colon(e);if(!1===r)return;let n=0;for(let i=r-1;i>=0&&("space"===(t=e[i])[0]||2!==(n+=1));i--);throw this.input.error("Missed semicolon","word"===t[0]?t[3]+1:t[2])}colon(e){let t,r,n=0;for(let[i,s]of e.entries()){if("("===(r=s[0])&&(n+=1),")"===r&&(n-=1),0===n&&":"===r)if(t)if("word"===t[0]&&"progid"===t[1])continue;else return i;else this.doubleColon(s);t=s}return!1}comment(e){let t=new i;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(r.trim()){let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}else t.text="",t.raws.left=r,t.raws.right=""}createTokenizer(){this.tokenizer=l(this.input)}decl(e,t){let r,n=new s;this.init(n,e[0][2]);let i=e[e.length-1];";"===i[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}(e)),n.source.end.offset++;let o=0;for(;"word"!==e[o][0];)o===e.length-1&&this.unknownWord([e[o]]),o++;n.raws.before+=u(e,0,o),n.source.start=this.getPosition(e[o][2]);let a=o;for(;o<e.length;){let t=e[o][0];if(":"===t||"space"===t||"comment"===t)break;o++}n.prop=u(e,a,o);let l=o;for(;
1o<e.length&&(r=e[o],o++,":"!==r[0]);)"word"===r[0]&&/\w/.test(r[1])&&this.unknownWord([r]);n.raws.between=u(e,l,o),("_"===n.prop[0]||"*"===n.prop[0])&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let c=o;for(;o<e.length;){let t=e[o][0];if("space"!==t&&"comment"!==t)break;o++}let h=e.slice(c,o);e=e.slice(o),this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if("!important"===(r=e[t])[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);" !important"!==(r=this.spacesFromEnd(e)+r)&&(n.raws.important=r);break}if("important"===r[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(i.trim().startsWith("!")&&"space"!==t)break;i=r.pop()[1]+i}i.trim().startsWith("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==r[0]&&"comment"!==r[0])break}e.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(n.raws.between+=h.map(e=>e[1]).join(""),h=[]),this.raw(n,"value",h.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new a;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,n=!1,i=null,s=[],o=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),"("===r||"["===r)i||(i=l),s.push("("===r?")":"]");else if(o&&n&&"{"===r)i||(i=l),s.push("}");else if(0===s.length)if(";"===r)if(n)return void this.decl(a,o);else break;else if("{"===r)return void this.rule(a);else if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}else":"===r&&(n=!0);else r===s[s.length-1]&&(s.pop(),0===s.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(i),t&&n){if(!o)for(;a.length&&("space"===(l=a[a.length-1][0])||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){let i,s,o,a,l=r.length,u="",h=!0;for(let e=0;e<l;e+=1)"space"!==(s=(i=r[e])[0])||e!==l-1||n?"comment"===s?(a=r[e-1]?r[e-1][0]:"empty",o=r[e+1]?r[e+1][
10]:"empty",c[a]||c[o]||","===u.slice(-1)?h=!1:u+=i[1]):u+=i[1]:h=!1;if(!h){let n=r.reduce((e,t)=>e+t[1],"");e.raws[t]={raw:n,value:u}}e[t]=u}rule(e){e.pop();let t=new a;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t="";for(;e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t}stringFrom(e,t){let r="";for(let n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},357373,(e,t,r)=>{"use strict";let n=e.r(296045),i=e.r(2278),s=e.r(552371);function o(e,t){let r=new s(new i(e,t));try{r.parse()}catch(e){throw e}return r.root}t.exports=o,o.default=o,n.registerParse(o)},683078,(e,t,r)=>{"use strict";let n=e.r(296045),{my:i}=e.r(322302);class s{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){t.node[i]||n.rebuild(t.node);let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}t.exports=s,s.default=s},148665,(e,t,r)=>{"use strict";let n=e.r(683078);class i{get content(){return this.css}constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css="",this.map=void 0}toString(){return this.css}warn(e,t={}){!t.plugin&&this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new n(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>"warning"===e.type)}}t.exports=i,i.default=i},680698,(e,t,r)=>{"use strict";let n={};t.exports=function(e){!n[e]&&(n[e]=!0,"u">typeof console&&console.warn&&console.warn(e))}},409249,(e,t,r)=>{"use strict";let n=e.r(296045),i=e.r(698475),s=e.r(320194),o=e.r(357373),a=e.r(148665),l=e.r(551517),c=e.r(140293),{isClean:u,my:h}=e.r(322302);e.r(680698);let d={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},f={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},p={Once:!0,postcssPlugin:!0,prepare:!0};function A(e){return"object"==typeof e&&"function"==typeof e.then}function m(e){let t=!1,r=d[e.type];return("decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append)?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function g(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:m(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function y(e){let t=[e];for(;t.length>0;){let e=t.pop();if(e[u]=!1,e.nodes)for(let r of e.nodes)t.push(r)}return e}let v={};class b{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,t,r){let i;if(this.stringified=!1,this.processed=!1,"object"==typeof t&&null!==t&&("root"===t.type||"document"===t.type))i=y(t);else if(t instanceof b||t instanceof a)i=y(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=o;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{i=e(t,r)}catch(e){this.processed=!0,this.error=e}i&&!i[h]&&n.rebuild(i)}this.result=new a(e,i,r),this.helpers={...v,postcss:v,result:this.result},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!f[r]&&/^[A-Z]/.test(r))throw Error(`Unknown event ${r} in ${t.postcssPlugin}
1. Try to update PostCSS (${this.processor.version} now).`);if(!p[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(A(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[u];){e[u]=!0;let t=[g(e)];for(;t.length>0;){let e=this.visitTick(t);if(A(e))try{await e}catch(r){let e=t[t.length-1].node;throw this.handleError(r,e)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>r(e,this.helpers));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));if(A(t[0]))return Promise.all(t);return t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=c;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=this.result.root.source;if(void 0===e.map&&!(r&&r.input&&r.input.map)){let e="";return t(this.result.root,t=>{e+=t}),this.result.css=e,this.result}let n=new s(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(A(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[u];)e[u]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(A(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:n}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(n.length>0&&t.visitorIndex<n.length){let[e,i]=n[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return i(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let n,i=t.iterator;for(t.descending&&(t.descending=!1,r.indexes[i]+=1);n=r.nodes[r.indexes[i]];){if(!n[u]){n[u]=!0,t.descending=!0,e.push(g(n));return}r.indexes[i]+=1}t.iterator=0,delete r.indexes[i]}let i=t.events;for(;t.eventIndex<i.length;){let e=i[t.eventIndex];if(t.eventIndex+=1,0===e){r.nodes&&r.nodes.length&&(r[u]=!0,t.iterator=r.getIterator());return}if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}walkSync(e){e[u]=!0;let t=[{eventIndex:0,events:m(e),iterator:0,node:e}];for(;t.length>0;){let e=t[t.length-1],r=e.node;if(0!==e.iterator){let n,i=e.iterator;e.descending&&(e.descending=!1,r.indexes[i]+=1);let s=!1;for(;n=r.nodes[r.indexes[i]];){if(!n[u]){n[u]=!0,e.descending=!0,t.push({eventIndex:0,events:m(n),iterator:0,node:n}),s=!0;break}r.indexes[i]+=1}if(s)continue;e.iterator=0,delete r.indexes[i]}if(e.eventIndex<e.events.length){let n=e.events[e.eventIndex];if(e.eventIndex+=1,0===n)r.nodes&&r.nodes.length&&(e.iterator=r.getIterator());else{let e=this.listeners[n];e&&this.visitSync(e,r.toProxy())&&t.pop()}continue}t.pop()}}warnings(){return this.sync().warnings()}}b.registerPostcss=e=>{v=e}
1,t.exports=b,b.default=b,l.registerLazyResult(b),i.registerLazyResult(b)},611589,(e,t,r)=>{"use strict";let n=e.r(320194),i=e.r(357373),s=e.r(148665),o=e.r(140293);e.r(680698);class a{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){let e;if(this._root)return this._root;try{e=i(this._css,this._opts)}catch(e){this.error=e}if(!this.error)return this._root=e,e;throw this.error}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0,this.result=new s(this._processor,void 0,this._opts),this.result.css=t;let i=this;Object.defineProperty(this.result,"root",{get:()=>i.root});let a=new n(o,void 0,this._opts,t);if(a.isMap()){let[e,t]=a.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}}t.exports=a,a.default=a},111902,(e,t,r)=>{"use strict";let n=e.r(698475),i=e.r(409249),s=e.r(611589),o=e.r(551517);class a{constructor(e=[]){this.version="8.5.25",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else if("object"==typeof r&&(r.parse||r.stringify));else throw Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new i(this,e,t):new s(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}t.exports=a,a.default=a,o.registerProcessor(a),n.registerProcessor(a)},485243,(e,t,r)=>{"use strict";var n=e.i(247167);let i=e.r(670255),s=e.r(877906),o=e.r(296045),a=e.r(71528),l=e.r(721772),c=e.r(698475),u=e.r(498729),h=e.r(2278),d=e.r(409249),f=e.r(350215),p=e.r(657612),A=e.r(357373),m=e.r(111902),g=e.r(148665),y=e.r(551517),v=e.r(893894),b=e.r(140293),w=e.r(683078);function x(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new m(e)}x.plugin=function(e,t){let r,i=!1;function s(...r){console&&console.warn&&!i&&(i=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),n.default.env.LANG&&n.default.env.LANG.startsWith("cn")&&console.warn(e+": éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå:\nhttps://www.w3ctech.com/topic/2226"));let o=t(...r);return o.postcssPlugin=e,o.postcssVersion=new m().version,o}return Object.defineProperty(s,"postcss",{get:()=>(r||(r=s()),r)}),s.process=function(e,t,r){return x([s(r)]).process(e,t)},s},x.stringify=b,x.parse=A,x.fromJSON=u,x.list=f,x.comment=e=>new s(e),x.atRule=e=>new i(e),x.decl=e=>new l(e),x.rule=e=>new v(e),x.root=e=>new y(e),x.document=e=>new c(e),x.CssSyntaxError=a,x.Declaration=l,x.Container=o,x.Processor=m,x.Document=c,x.Comment=s,x.Warning=w,x.AtRule=i,x.Result=g,x.Input=h,x.Rule=v,x.Root=y,x.Node=p,d.registerPostcss(x),t.exports=x,x.default=x},822315,(e,t,r)=>{e.e,t.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",i="week",s="month",o="quarter",a="year",l="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,d=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},f="en",p={};p[f]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","
1st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}};var A="$isDayjsObject",m=function(e){return e instanceof b||!(!e||!e[A])},g=function e(t,r,n){var i;if(!t)return f;if("string"==typeof t){var s=t.toLowerCase();p[s]&&(i=s),r&&(p[s]=r,i=s);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var a=t.name;p[a]=t,i=a}return!n&&i&&(f=i),i||!n&&f},y=function(e,t){if(m(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new b(r)},v={s:d,z:function(e){var t=-e.utcOffset(),r=Math.abs(t);return(t<=0?"+":"-")+d(Math.floor(r/60),2,"0")+":"+d(r%60,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,s),o=r-i<0,a=t.clone().add(n+(o?-1:1),s);return+(-(n+(r-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:s,y:a,w:i,d:"day",D:l,h:n,m:r,s:t,ms:e,Q:o})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};v.l=g,v.i=m,v.w=function(e,t){return y(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var b=function(){function d(e){this.$L=g(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[A]=!0}var f=d.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(v.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(u);if(n){var i=n[2]-1||0,s=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(t)}(e),this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return v},f.isValid=function(){return this.$d.toString()!==c},f.isSame=function(e,t){var r=y(e);return this.startOf(t)<=r&&r<=this.endOf(t)},f.isAfter=function(e,t){return y(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<y(e)},f.$g=function(e,t,r){return v.u(e)?this[t]:this.set(r,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,o){var c=this,u=!!v.u(o)||o,h=v.p(e),d=function(e,t){var r=v.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return u?r:r.endOf("day")},f=function(e,t){return v.w(c.toDate()[e].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},p=this.$W,A=this.$M,m=this.$D,g="set"+(this.$u?"UTC":"");switch(h){case a:return u?d(1,0):d(31,11);case s:return u?d(1,A):d(0,A+1);case i:var y=this.$locale().weekStart||0,b=(p<y?p+7:p)-y;return d(u?m-b:m+(6-b),A);case"day":case l:return f(g+"Hours",0);case n:return f(g+"Minutes",1);case r:return f(g+"Seconds",2);case t:return f(g+"Milliseconds",3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(i,o){var c,u=v.p(i),h="set"+(this.$u?"UTC":""),d=((c={}).day=h+"Date",c[l]=h+"Date",c[s]=h+"Month",c[a]=h+"FullYear",c[n]=h+"Hours",c[r]=h+"Minutes",c[t]=h+"Seconds",c[e]=h+"Milliseconds",c)[u],f="day"===u?this.$D+(o-this.$W):o;if(u===s||u===a){var p=this.clone().set(l,1);p.$d[d](f),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else d&&this.$d[d](f);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[v.p(e)]()},f.add=function(e,o){var l,c=this;e=Number(e);var u=v.p(o),h=function(t){var r=y(c);return v.w(r.date(r.date()+Math.round(t*e)),c)};if(u===s)return this.set(s,this.$M+e);if(u===a)return this.set(a,this.$y+e);if("day"===u)return h(1);if(u===i)return h(7);var d=((l={})[r]=6e4,l[n]=36e5,l[t]=1e3,l)[u]||1,f=this.$d.getTime()+e*d;return v.w(f,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||c;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=v.z(this),s=this.$H,o=this.$m,a=this.$M,l=r.weekdays,u=r.months,d=r.meridiem,f=function(e,r,i,s){return e&&(e[r]||e(t,n))||i[r].slice(0,s)},p=function(e){return v.s(s%12||12,e,"0")},A=d||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(h,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return v.s(t.$y,4,"0");case"M":return a+1;case"MM":return v.s(a+1,2,"0");case"MMM":return f(r.monthsShort,a,u,3);case"MMMM":return f(u,a);case"D":return t.$D;case"DD":return v.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return f(r.weekdaysMin,t.$W,l,2);case"ddd":return f(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(s);case"HH":return v.s(s,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return A(s,o,!0);case"A":return A(s,o,!1);case"m":return String(o);case"mm":return v.s(o,2,"0");case"s":return String(t.$s);case"ss":return v.s(t.$s,2,"0");case"SSS":return v.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(e,l,c){var u,h=this,d=v.p(l),f=y(e),p=(f.utcOffset()-this.utcOffset())*6e4,A=this-f,m=function(){return v.m(h,f)};switch(d){case a:u=m()/12;break;case s:u=m();break;case o:u=m()/3;break;
1case i:u=(A-p)/6048e5;break;case"day":u=(A-p)/864e5;break;case n:u=A/36e5;break;case r:u=A/6e4;break;case t:u=A/1e3;break;default:u=A}return c?u:v.a(u)},f.daysInMonth=function(){return this.endOf(s).$D},f.$locale=function(){return p[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=g(e,t,!0);return n&&(r.$L=n),r},f.clone=function(){return v.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},d}(),w=b.prototype;return y.prototype=w,[["$ms",e],["$s",t],["$m",r],["$H",n],["$W","day"],["$M",s],["$y",a],["$D",l]].forEach(function(e){w[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),y.extend=function(e,t){return e.$i||(e(t,b,y),e.$i=!0),y},y.locale=g,y.isDayjs=m,y.unix=function(e){return y(1e3*e)},y.en=p[f],y.Ls=p,y.p={},y}()},82004,(e,t,r)=>{let n=e.r(822315);function i(e){for(e=e.replace(/[\x00-\x20]+/g,"");;){let t=e.indexOf("<!--");if(-1===t)break;let r=e.indexOf("-->",t+4);if(-1===r)break;e=e.substring(0,t)+e.substring(r+3)}return e}function s(e,t){let r=(t=t||{}).allowedSchemes||["http","https","ftp","mailto","tel","sms"],n=!1!==t.allowProtocolRelative;if("string"!=typeof e)return!1;let s=(e=i(e)).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!s)return!!e.match(/^[/\\]{2}/)&&!n;let o=s[1].toLowerCase();return -1===r.indexOf(o)}t.exports=function(e){let t={};return t.options=e||{},t.filterTag=t.options.filterTag||function(e){return(e=e.trim()).toLowerCase()},t.string=function(e,t){return"string"!=typeof e&&("number"==typeof e||"boolean"==typeof e?e+="":e=""),e=e.trim(),void 0!==t&&""===e&&(e=t),e},t.strings=function(e){return Array.isArray(e)?e.map(function(e){return t.string(e)}):[]},t.integer=function(e,t,r,n){if(void 0===t&&(t=0),"number"==typeof e)e=Math.floor(e);else try{e=parseInt(e,10),isNaN(e)&&(e=t)}catch(r){e=t}return"number"==typeof r&&e<r&&(e=r),"number"==typeof n&&e>n&&(e=n),e},t.padInteger=function(e,t){let r=e+"";for(;r.length<t;)r="0"+r;return r},t.float=function(e,t,r,n){if(void 0===t&&(t=0),"number"!=typeof e)try{e=parseFloat(e,10),isNaN(e)&&(e=t)}catch(r){e=t}return"number"==typeof r&&e<r&&(e=r),"number"==typeof n&&e>n&&(e=n),e},t.naughtyHref=s,t.url=function(e,r,n){var o;return(e=t.string(e,r))===r?e:s(e=i(e))||null===(e=(o=e).match(/^(((https?|ftp):\/\/)|((mailto|tel|sms):)|#|([^/.]+)?\/|[^/.]+$)/)?o:o.match(/^[^/.]+\.[^/.]+/)?(n?"https://":"http://")+o:null)?r:e},t.select=function(e,r,n){let i;return(e=t.string(e),r&&r.length)?"object"==typeof r[0]?null!=(i=r.find(function(t){return null!==t.value&&void 0!==t.value&&t.value.toString()===e}))?i.value:n:void 0!==(i=r.find(function(t){return null!=t&&t.toString()===e}))?i:n:n},t.boolean=function(e,r){return!0===e||!1!==e&&((e=t.string(e,r))===r?void 0!==e&&e:""!==(e=e.toLowerCase().charAt(0))&&"n"!==e&&"0"!==e&&"f"!==e&&("t"===e||"y"===e||"1"===e))},t.addBooleanFilterToCriteria=function(e,r,n,i){void 0===i&&(i=null);let s="object"==typeof e&&null!==e?e[r]:e;s=void 0===s?i:s,null===(s=t.booleanOrNull(s))||(s?n[r]=!0:n[r]={$ne:!0})},t.booleanOrNull=function(e,r){return!0===e||!1===e||null===e?e:(e=t.string(e,r))===r?void 0===r?null:e:"null"===e?null:""!==(e=e.toLowerCase().charAt(0))&&"n"!==e&&"0"!==e&&"f"!==e&&("t"===e||"y"===e||"1"===e||("a"===e?null:r))},t.date=function(e,r,i){let s;function o(){return void 0===r&&(r=n().format("YYYY-MM-DD")),r}if("string"==typeof e){if(e.match(/\//)){if(2===(s=e.split("/")).length)return(i||new Date).getFullYear()+"-"+t.padInteger(s[0],2)+"-"+t.padInteger(s[1],2);if(3!==s.length)return o();if(s[2]<100){let e=i||new Date,t=e.getFullYear()%100,r=e.getFullYear()-t,n=parseInt(s[2])+r;n-e.getFullYear()>50&&(n-=100),s[2]=n}return t.padInteger(s[2],4)+"-"+t.padInteger(s[0],2)+"-"+t.padInteger(s[1],2)}else if(e.match(/-/))return 2===(s=e.split("-")).length?(i||new Date).getFullYear()+"-"+t.padInteger(s[0],2)+"-"+t.padInteger(s[1],2):3===s.length?t.padInteger(s[0],4)+"-"+t.padInteger(s[1],2)+"-"+t.padInteger(s[2],2):o()}try{if(null===e||(e=i||new Date(e),isNaN(e.getTime())))return o();return e.getFullYear()+"-"+t.padInteger(e.getMonth()+1,2)+"-"+t.padInteger(e.getDate(),2)}catch(e){return o()}},t.formatDate=function(e){return n(e).format("YYYY-MM-DD")},t.time=function(e,r){let i=(e=(e=t.string(e).toLowerCase()).trim()).match(/^(\d+)([:|.](\d+))?([:|.](\d+))?\s*(am|pm|AM|PM|a|p|A|M)?$/);if(i){let e=parseInt(i[1],10),r=void 0!==i[3]?parseInt(i[3],10):0,n=void 0!==i[5]?parseInt(i[5],10):0,s=i[6]?i[6].toLowerCase():i[6];return s=s&&s.charAt(0),12===e&&"a"===s?e-=12:12===e&&"p"===s||"p"===s&&(e+=12),(24===e||"24"===e)&&(e=0),t.padInteger(e,2)+":"+t.padInteger(r,2)+":"+t.padInteger(n,2)}return void 0!==r?r:n().format("HH:mm")},t.formatTime=function(e){return n(e).format("HH:mm:ss")},t.tags=function(e,r){return("string"==typeof e&&(e=e.split(/,\s*/)),Array.isArray(e))?e.map(e=>t.string(e)).map(r||t.filterTag).filter(e=>e.length>0):[]},t.idRegExp=t.options.idRegExp||/^[A-Za-z0-9_]+$/,t.id=function(e,r){let n=t.string(e,r);return n===r||n.match(t.idRegExp)?n:r},t.ids=function(e){return Array.isArray(e)?e.filter(function(e){return void 0!==t.id(e)}):[]},t}
1,t.exports.naughtyHref=s},544821,(e,t,r)=>{let n=e.r(132109),i=e.r(64873),{isPlainObject:s}=e.r(875654),o=e.r(130860),a=e.r(661840),{parse:l}=e.r(485243),{naughtyHref:c}=e.r(82004),u=["img","audio","video","picture","svg","object","map","iframe","embed"],h=["script","style"];function d(e,t){e&&Object.keys(e).forEach(function(r){t(e[r],r)})}function f(e,t){return({}).hasOwnProperty.call(e,t)}function p(e,t){let r=[];return d(e,function(e){t(e)&&r.push(e)}),r}t.exports=m;let A=/^[^\0\t\n\f\r /<=>]+$/;function m(e,t,r){let y,v,b,w,x,S,C,I,E;if(null==e)return"";"number"==typeof e&&(e=e.toString());let R="",F="";function B(e,t){let r=this;this.tag=e,this.attribs=t||{},this.tagPosition=R.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(x.length){let e=x[x.length-1];e.text+=r.text}},this.updateParentNodeMediaChildren=function(){x.length&&u.includes(this.tag)&&x[x.length-1].mediaChildren.push(this.tag)}}(t=Object.assign({},m.defaults,t)).parser=Object.assign({},g,t.parser);let D=function(e){return!1===t.allowedTags||(t.allowedTags||[]).indexOf(e)>-1};h.forEach(function(e){D(e)&&!t.allowVulnerableTags&&console.warn(` 2 3â ï¸ Your \`allowedTags\` option includes, \`${e}\`, which is inherently 4vulnerable to XSS attacks. Please remove it from \`allowedTags\`. 5Or, to disable this warning, add the \`allowVulnerableTags\` option 6and ensure you are accounting for this risk. 7 8`)});let P=t.nonTextTags||["script","style","textarea","option","xmp"];t.allowedAttributes&&(y={},v={},d(t.allowedAttributes,function(e,t){y[t]=[];let r=[];e.forEach(function(e){"string"==typeof e&&e.indexOf("*")>=0?r.push(i(e).replace(/\\\*/g,".*")):y[t].push(e)}),r.length&&(v[t]=RegExp("^("+r.join("|")+")$"))}));let k={},T={},O={};d(t.allowedClasses,function(e,t){if(y&&(f(y,t)||(y[t]=[]),y[t].push("class")),k[t]=e,Array.isArray(e)){let r=[];k[t]=[],O[t]=[],e.forEach(function(e){"string"==typeof e&&e.indexOf("*")>=0?r.push(i(e).replace(/\\\*/g,".*")):e instanceof RegExp?O[t].push(e):k[t].push(e)}),r.length&&(T[t]=RegExp("^("+r.join("|")+")$"))}});let j={};d(t.transformTags,function(e,t){let r;"function"==typeof e?r=e:"string"==typeof e&&(r=m.simpleTransform(e)),"*"===t?b=r:j[t]=r});let N=!1;M();let _=new n.Parser({onopentag:function(e,r){let n;if(t.onOpenTag&&t.onOpenTag(e,r),t.enforceHtmlBoundary&&"html"===e&&M(),I)return void E++;let i=new B(e,r);x.push(i);let c=!1,u=!!i.text;if(f(j,e)&&(i.attribs=r=(n=j[e](e,r)).attribs,void 0!==n.text&&(i.innerText=n.text),e!==n.tagName&&(i.name=e=n.tagName,C[w]=n.tagName)),b&&(i.attribs=r=(n=b(e,r)).attribs,e!==n.tagName&&(i.name=e=n.tagName,C[w]=n.tagName)),(!D(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(e){for(let t in e)if(f(e,t))return!1;return!0}(S)||null!=t.nestingLimit&&w>=t.nestingLimit)&&(c=!0,S[w]=!0,("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)&&-1!==P.indexOf(e)&&(I=!0,E=1)),w++,c){if("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode){if(i.innerText&&!u){let r=Q(i.innerText);t.textFilter?R+=t.textFilter(r,e):R+=r,N=!0}return}F=R,R=""}if(R+="<"+e,"script"===e&&(t.allowedScriptHostnames||t.allowedScriptDomains)&&(i.innerText=""),c&&("escape"===t.disallowedTagsMode||"recursiveEscape"===t.disallowedTagsMode)&&t.preserveEscapedAttributes?d(r,function(e,t){R+=" "+t+'="'+Q(e||"",!0)+'"'}):(!y||f(y,e)||y["*"])&&d(r,function(r,n){if(!A.test(n)||""===r&&!t.allowedEmptyAttributes.includes(n)&&(t.nonBooleanAttributes.includes(n)||t.nonBooleanAttributes.includes("*")))return void delete i.attribs[n];let c=!1;if(!y||f(y,e)&&-1!==y[e].indexOf(n)||y["*"]&&-1!==y["*"].indexOf(n)||f(v,e)&&v[e].test(n)||v["*"]&&v["*"].test(n))c=!0;else if(y&&y[e]){for(let t of y[e])if(s(t)&&t.name&&t.name===n){c=!0;let e="";if(!0===t.multiple)for(let n of r.split(" "))-1!==t.values.indexOf(n)&&(""===e?e=n:e+=" "+n);else t.values.indexOf(r)>=0&&(e=r);r=e}}if(c){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(n)&&W(e,r))return void delete i.attribs[n];if("script"===e&&"src"===n){let e=!0;try{let n=L(r);if(t.allowedScriptHostnames||t.allowedScriptDomains){let r=(t.allowedScriptHostnames||[]).find(function(e){return e===n.url.hostname}),i=(t.allowedScriptDomains||[]).find(function(e){return n.url.hostname===e||n.url.hostname.endsWith(`.${e}`)});e=r||i}}catch(t){e=!1}if(!e)return void delete i.attribs[n]}if("iframe"===e&&"src"===n){let e=!0;try{let n=L(r);
8if(n.isRelativeUrl)e=f(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){let r=(t.allowedIframeHostnames||[]).find(function(e){return e===n.url.hostname}),i=(t.allowedIframeDomains||[]).find(function(e){return n.url.hostname===e||n.url.hostname.endsWith(`.${e}`)});e=r||i}}catch(t){e=!1}if(!e)return void delete i.attribs[n]}if("srcset"===n||"imagesrcset"===n)try{let e=a(r);if(e.forEach(function(e){W(n,e.url)&&(e.evil=!0)}),!(e=p(e,function(e){return!e.evil})).length)return void delete i.attribs[n];r=p(e,function(e){return!e.evil}).map(function(e){if(!e.url)throw Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")}).join(", "),i.attribs[n]=r}catch(e){delete i.attribs[n];return}if("class"===n){let t=k[e],s=k["*"],a=T[e],l=O[e],c=O["*"],u=[a,T["*"]].concat(l,c).filter(function(e){return e});if(!(r=t&&s?H(r,o(t,s),u):H(r,t||s,u)).length)return void delete i.attribs[n]}if("style"===n){if(t.parseStyleAttributes)try{let s=l(e+" {"+r+"}",{map:!1});if(r=(function(e,t){var r;let n;if(!t)return e;let i=e.nodes[0];return(n=t[i.selector]&&t["*"]?o(t[i.selector],t["*"]):t[i.selector]||t["*"])&&(e.nodes[0].nodes=i.nodes.reduce((r=n,function(e,t){return f(r,t.prop)&&r[t.prop].some(function(e){return e.test(t.value)})&&e.push(t),e}),[])),e})(s,t.allowedStyles).nodes[0].nodes.reduce(function(e,t){return e.push(`${t.prop}:${t.value}${t.important?" !important":""}`),e},[]).join(";"),0===r.length)return void delete i.attribs[n]}catch(t){"u">typeof window&&console.warn('Failed to parse "'+e+" {"+r+"}\", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547"),delete i.attribs[n];return}else if(t.allowedStyles)throw Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}R+=" "+n,r&&r.length?R+='="'+Q(r,!0)+'"':t.allowedEmptyAttributes.includes(n)&&(R+='=""')}else delete i.attribs[n]}),-1!==t.selfClosing.indexOf(e))R+=" />";else if(R+=">",i.innerText&&!u){let r=Q(i.innerText);t.textFilter?R+=t.textFilter(r,e):R+=r,N=!0}c&&(R=F+Q(R),F=""),i.openingTagLength=R.length-i.tagPosition},ontext:function(e){let r;if(I)return;let n=x[x.length-1];if(n&&(r=n.tag,e=void 0!==n.innerText?n.innerText:e),"completelyDiscard"!==t.disallowedTagsMode||D(r)){if(r&&D(r)&&("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)&&("script"===r||"style"===r))R+=e;else if(r&&D(r)&&("discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)&&("textarea"===r||"xmp"===r))"xmp"===r?R+=e.replace(/</g,"<").replace(/>/g,">"):R+=Q(e,!1);else if(!N){let n=Q(e,!1);t.textFilter?R+=t.textFilter(n,r):R+=n}}else e="";if(x.length){let t=x[x.length-1];t.text+=e}},onclosetag:function(e,r){if(t.onCloseTag&&t.onCloseTag(e,r),I){if(--E)return;I=!1}let n=x.pop();if(!n)return;if(n.tag!==e)return void x.push(n);I=!!t.enforceHtmlBoundary&&"html"===e;let i=S[--w];if(i){if(delete S[w],"discard"===t.disallowedTagsMode||"completelyDiscard"===t.disallowedTagsMode)return void n.updateParentNodeText();F=R,R=""}if(C[w]&&(e=C[w],delete C[w]),t.exclusiveFilter){let e=t.exclusiveFilter(n);if("excludeTag"===e){i&&(R=F,F=""),R=R.substring(0,n.tagPosition)+R.substring(n.tagPosition+n.openingTagLength);return}if(e){R=R.substring(0,n.tagPosition);return}}if(n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)||r&&!D(e)&&["escape","recursiveEscape"].indexOf(t.disallowedTagsMode)>=0){i&&(R=F,F="");return}R+="</"+e+">",i&&(R=F+Q(R),F=""),N=!1}},t.parser);if(_.write(e),_.end(),"escape"===t.disallowedTagsMode||"recursiveEscape"===t.disallowedTagsMode){let t=_.endIndex;if(null!=t&&t>=0&&t<e.length){let r=e.substring(t);R+=Q(r)}else(null==t||t<0)&&e.length>0&&""===R&&(R=Q(e))}return R;function M(){R="",w=0,x=[],S={},C={},I=!1,E=0}function Q(e,r){return"string"!=typeof e&&(e+=""),t.parser.decodeEntities&&(e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),r&&(e=e.replace(/"/g,"""))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),r&&(e=e.replace(/"/g,""")),e}function W(e,r){return c(r,{allowedSchemes:f(t.allowedSchemesByTag,e)?t.allowedSchemesByTag[e]:t.allowedSchemes||[],allowProtocolRelative:t.allowProtocolRelative})}function L(e){if((e=e.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw Error("relative: exploit attempt");let t="relative://relative-site";for(let e=0;e<100;e++)t+=`/${e}`;let r=new URL(e,t);return{isRelativeUrl:r&&"relative-site"===r.hostname&&"relative:"===r.protocol,url:r}}function H(e,t,r){return t?(e=e.split(/\s+/)).filter(function(e){return -1!==t.indexOf(e)||r.some(function(t){return t.test(e)})}).join(" "):e}}let g={decodeEntities:!0};m.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","
8sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta","col"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite","action","formaction","data","xlink:href","poster","background","ping","longdesc","usemap","codebase","classid","archive","profile","manifest","itemid","dynsrc","lowsrc"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1},m.simpleTransform=function(e,t,r){return r=void 0===r||r,t=t||{},function(n,i){let s;if(r)for(s in t)i[s]=t[s];else i=t;return{tagName:e,attribs:i}}}},427343,e=>{"use strict";var t=e.i(709780),r=e.i(656795),n=e.i(114329),i=e.i(522176),s=e.i(169845),o=e.i(20623);let a={common:n.common,breadcrumbs:r.breadcrumbs,form:o.form,header:{closeMenu:"Sluit navigatiemenu",goBack:"Terug",goToHome:"Ga naar homepagina",ctaContent:"Call-to-action inhoud",mainNavigation:"Hoofdnavigatie",sectionNavigation:"Sectie navigatie",serviceNavigation:"Servicenavigatie",languageSelection:"Taal selectie",switchToEnglish:"Schakel naar Engels (EN)",menu:"Menu",openMobileMenu:"Open mobiel menu",closeMobileMenu:"Sluit mobiel menu",memberLoginLinkEnglish:"Login"},footer:s.footer,search:{title:"Zoekresultaat",search:"Zoeken",initiateSearch:"Nieuwe zoekopdracht",resultsTitle:"Alle resultaten",resultsNone:"Geen resultaten gevonden voor deze zoekopdracht.",resultsFoundForQuerySingle:"Er is {count} resultaat gevonden voor {query}",resultsFoundForQueryMultiple:"Er zijn {count} resultaten gevonden voor {query}",pagination:"Paginering",paginationPreviousPage:"Vorige pagina",paginationNextPage:"Volgende pagina",paginationPrevious:"Vorige",paginationNext:"Volgende",paginationStatus:"{current} van {count}",modalTitle:"Waar ben je naar op zoek?",modalInputPlaceholder:"Zoek op trefwoord",modalSubmitButtonTitle:"Zoekopdracht uitvoeren",modalResetButtonTitle:"Zoekopdracht wissen",modalFrequentlySearched:"Veelgezochte onderwerpen",controls:"Zoekinstellingen",controlsFilterLabel:"Filter:",controlsSortLabel:"Sorteer:",controlsSortMostRelevant:"Meest relevant",controlsSortNewestFirst:"Nieuwste eerst",controlsSortOldestFirst:"Oudste eerst"},agentSearch:t.agentSearch,marketInformation:{provincePlaceholder:"Kies een provincie",regionPlaceholder:"Kies een regio",overviewTypePlaceholder:"Kies een type overzicht",downloadOverview:"Download",fallbackMessage:"Marktinformatie is momenteel niet beschikbaar. Probeer het later opnieuw."},news:{readingTime:"{minutes} min leestijd"},notFound:{title:"Pagina niet gevonden",description:"Deze pagina bestaat niet (meer) of is verhuisd. Zoek op trefwoord via /zoeken/ of gebruik /sitemap.xml en /llms.txt voor het volledige paginaoverzicht.",suggestionHomes:"Woningen zoeken",suggestionNews:"Nieuws en analyses",suggestionDownloads:"Downloads en factsheets",suggestionAllResults:"Alle zoekresultaten"},video:{consentDescription:"Om deze video te bekijken, moet u eerst onze cookies accepteren. U kunt de video ook op {provider}
8 bekijken.",acceptCookies:"Cookies accepteren",watchOnProvider:"Bekijk op {provider}"},digitalSigning:i.digitalSigning};var l=e.i(544821);e.s(["t",0,function(e,t,r){let n=a[e][t];return n=n?.replace(/\{(\w+),\s*plural,\s*one\s*\{([^}]*)\}\s*other\s*\{([^}]*)\}\}/g,(e,t,n,i)=>{let s=Number(r?.[t]??0);return(1===s?n:i).replace("#",String(s))}),n=n?.replace(/\{(\w+)\}/g,(e,t)=>String(r?.[t]??`{${t}}`)),(0,l.default)(n,{allowedTags:["b","i","strong","em","u","br","span"],allowedAttributes:{}})}],427343)},98410,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(991918),i=e.i(225913),s=e.i(632137);let o=(0,i.cva)("fl-gap-4/6 focus-visible:ring-brand-500 flex flex-col items-start rounded-2xl inset-ring-1 transition-all duration-200 focus-visible:ring-3 focus-visible:outline-none lg:rounded-3xl dark:focus-visible:ring-white",{variants:{variant:{primary:["bg-brand-600 inset-ring-brand-600"],secondary:["bg-brand-50 inset-ring-brand-100"],info:["bg-brand-100 inset-ring-brand-200"]},spacing:{none:[""],sm:["p-6"],md:["fl-p-6/8"],lg:["fl-p-6/12"]}},defaultVariants:{variant:"primary",spacing:"md"}});e.s(["Card",0,function(e){let i,a,l,c,u,h,d,f,p=(0,r.c)(16);p[0]!==e?({className:a,variant:h,spacing:c,asChild:u,children:i,...l}=e,p[0]=e,p[1]=i,p[2]=a,p[3]=l,p[4]=c,p[5]=u,p[6]=h):(i=p[1],a=p[2],l=p[3],c=p[4],u=p[5],h=p[6]);let A=void 0!==u&&u?n.Slot:"div";return p[7]!==a||p[8]!==c||p[9]!==h?(d=(0,s.cn)(o({variant:h,spacing:c,className:a})),p[7]=a,p[8]=c,p[9]=h,p[10]=d):d=p[10],p[11]!==A||p[12]!==i||p[13]!==l||p[14]!==d?(f=(0,t.jsx)(A,{className:d,...l,children:i}),p[11]=A,p[12]=i,p[13]=l,p[14]=d,p[15]=f):f=p[15],f}])},138578,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(225913),i=e.i(632137);let s=(0,n.cva)("",{variants:{variant:{h1:"fl-text-[2rem]/[2.5rem] leading-[1.1] font-bold text-balance",h2:"fl-text-[1.5rem]/[1.75rem] font-bold text-balance",h3:"fl-text-xl/2xl font-bold text-balance",h4:"fl-text-lg/[1.375rem] font-bold text-balance",h5:"fl-text-base/lg font-bold text-balance",h6:"fl-text-base/lg font-bold text-balance",body1:"fl-text-xl/2xl font-normal text-pretty",body2:"fl-text-base/lg font-normal text-pretty",body3:"text-sm font-normal text-pretty"},colorScheme:{normal:"",light:"",dark:""},tone:{normal:"",emphasized:"",muted:""}},compoundVariants:[{colorScheme:"normal",variant:["h1","h2","h3","h4","h5","h6"],tone:"normal",class:"text-brand-500 dark:text-white"},{colorScheme:"normal",variant:["h1","h2","h3","h4","h5","h6"],tone:"emphasized",class:"text-brand-700 dark:text-white"},{colorScheme:"normal",variant:["h1","h2","h3","h4","h5","h6"],tone:"muted",class:"text-brand-500 dark:text-brand-200"},{colorScheme:"normal",variant:["body1","body2","body3"],tone:"normal",class:"text-brand-900 dark:text-white"},{colorScheme:"normal",variant:["body1","body2","body3"],tone:"emphasized",class:"text-brand-700 dark:text-white"},{colorScheme:"normal",variant:["body1","body2","body3"],tone:"muted",class:"dark:text-brand-200 text-brand-900"},{colorScheme:"light",variant:["h1","h2","h3","h4","h5","h6"],tone:"normal",class:"text-brand-500"},{colorScheme:"light",variant:["h1","h2","h3","h4","h5","h6"],tone:"emphasized",class:"text-brand-700"},{colorScheme:"light",variant:["h1","h2","h3","h4","h5","h6"],tone:"muted",class:"text-brand-500"},{colorScheme:"light",variant:["body1","body2","body3"],tone:"normal",class:"text-brand-900"},{colorScheme:"light",variant:["body1","body2","body3"],tone:"emphasized",class:"text-brand-700"},{colorScheme:"light",variant:["body1","body2","body3"],tone:"muted",class:"text-brand-900"},{colorScheme:"dark",variant:["h1","h2","h3","h4","h5","h6","body1","body2","body3"],tone:"normal",class:"text-white"},{colorScheme:"dark",variant:["h1","h2","h3","h4","h5","h6","body1","body2","body3"],tone:"emphasized",class:"text-white"},{colorScheme:"dark",variant:["h1","h2","h3","h4","h5","h6","body1","body2","body3"],tone:"muted",class:"text-brand-200"}],defaultVariants:{variant:"body2",colorScheme:"normal",tone:"normal"}}),o={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",body1:"p",body2:"p",body3:"p"};e.s(["Typography",0,function(e){let n,a,l,c,u,h,d,f,p,A,m=(0,r.c)(20);m[0]!==e?({variant:h,as:n,className:l,children:a,colorScheme:d,tone:f,lineClamp:c,...u}=e,m[0]=e,m[1]=n,m[2]=a,m[3]=l,m[4]=c,m[5]=u,m[6]=h,m[7]=d,m[8]=f):(n=m[1],a=m[2],l=m[3],c=m[4],u=m[5],h=m[6],d=m[7],f=m[8]);let g=void 0===h?"body2":h,y=void 0===d?"normal":d,v=void 0===f?"n
8ormal":f,b=n||o[g];return m[9]!==l||m[10]!==y||m[11]!==c||m[12]!==v||m[13]!==g?(p=(0,i.cn)(s({variant:g,colorScheme:y,tone:v,className:l}),c&&`line-clamp-${c}`),m[9]=l,m[10]=y,m[11]=c,m[12]=v,m[13]=g,m[14]=p):p=m[14],m[15]!==b||m[16]!==a||m[17]!==u||m[18]!==p?(A=(0,t.jsx)(b,{className:p,...u,children:a}),m[15]=b,m[16]=a,m[17]=u,m[18]=p,m[19]=A):A=m[19],A}])},475254,e=>{"use strict";var t=e.i(271645);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:a="",children:l,iconNode:c,...u},h)=>(0,t.createElement)("svg",{ref:h,...i,width:n,height:n,stroke:e,strokeWidth:o?24*Number(s)/Number(n):s,className:r("lucide",a),...!l&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(u)&&{"aria-hidden":"true"},...u},[...c.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(l)?l:[l]]));e.s(["default",0,(e,i)=>{let o=(0,t.forwardRef)(({className:o,...a},l)=>(0,t.createElement)(s,{ref:l,iconNode:i,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...a}));return o.displayName=n(e),o}],475254)},231178,947414,674008,821476,772846,737806,464978,798125,753034,846932,e=>{"use strict";let t,r,n,i;var s=e.i(271645);let o=(0,s.createContext)({});function a(e){let t=(0,s.useRef)(null);return null===t.current&&(t.current=e()),t.current}e.s(["LayoutGroupContext",0,o],231178),e.s(["useConstant",0,a],947414);let l="u">typeof window?s.useLayoutEffect:s.useEffect;e.s(["useIsomorphicLayoutEffect",0,l],674008);let c=(0,s.createContext)(null);function u(e){return"object"==typeof e&&null!==e}function h(e){return u(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}e.s(["PresenceContext",0,c],821476),e.s(["isHTMLElement",0,h],772846);let d=(0,s.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function f(e=!0){let t=(0,s.useContext)(c);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:n,register:i}=t,o=(0,s.useId)();(0,s.useEffect)(()=>{if(e)return i(o)},[e]);let a=(0,s.useCallback)(()=>e&&n&&n(o),[o,n,e]);return!r&&n?[!1,a]:[!0]}e.s(["MotionConfigContext",0,d],737806),e.s(["usePresence",0,f],464978);let p=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],A=new Set(p),m=(e,t,r)=>r>t?t:r<e?e:r,g={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},y={...g,transform:e=>m(0,1,e)},v={...g,default:1},b=e=>Math.round(1e5*e)/1e5,w=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,x=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,S=(e,t)=>r=>!!("string"==typeof r&&x.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),C=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[i,s,o,a]=n.match(w);return{[e]:parseFloat(i),[t]:parseFloat(s),[r]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},I={...g,transform:e=>Math.round(m(0,255,e))},E={test:S("rgb","red"),parse:C("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+I.transform(e)+", "+I.transform(t)+", "+I.transform(r)+", "+b(y.transform(n))+")"},R={test:S("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:E.transform},F=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),B=F("deg"),D=F("%"),P=F("px"),k=F("vh"),T=F("vw"),O={...D,parse:e=>D.parse(e)/100,transform:e=>D.transform(100*e)},j={test:S("hsl","hue"),parse:C("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+D.transform(b(t))+", "+D.transform(b(r))+", "+b(y.transform(n))+")"},N={test:e=>E.test(e)||R.test(e)||j.test(e),parse:e=>E.test(e)?E.parse(e):j.test(e)?j.parse(e):R.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?E.transform(e):j.transform(e),getAnimatableNone:e=>{let t=N.parse(e);return t.alpha=0,N.transform(t)}},_=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,M="number",Q="color",W=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function L(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],s=0,o=t.replace(W,e=>
8(N.test(e)?(n.color.push(s),i.push(Q),r.push(N.parse(e))):e.startsWith("var(")?(n.var.push(s),i.push("var"),r.push(e)):(n.number.push(s),i.push(M),r.push(parseFloat(e))),++s,"${}")).split("${}");return{values:r,split:o,indexes:n,types:i}}function H({split:e,types:t}){let r=e.length;return n=>{let i="";for(let s=0;s<r;s++)if(i+=e[s],void 0!==n[s]){let e=t[s];e===M?i+=b(n[s]):e===Q?i+=N.transform(n[s]):i+=n[s]}return i}}let U={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(w)?.length||0)+(e.match(_)?.length||0)>0},parse:function(e){return L(e).values},createTransformer:function(e){return H(L(e))},getAnimatableNone:function(e){let t=L(e);return H(t)(t.values.map((e,r)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:N.test(e)?N.getAnimatableNone(e):e)(e,t.split[r])))}},G=new Set(["brightness","contrast","saturate","opacity"]);function K(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(w)||[];if(!n)return e;let i=r.replace(n,""),s=+!!G.has(t);return n!==r&&(s*=100),t+"("+s+i+")"}let V=/\b([a-z-]*)\(.*?\)/gu,Y={...U,getAnimatableNone:e=>{let t=e.match(V);return t?t.map(K).join(" "):e}},J={...U,getAnimatableNone:e=>{let t=U.parse(e);return U.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},Z={...g,transform:Math.round},q={borderWidth:P,borderTopWidth:P,borderRightWidth:P,borderBottomWidth:P,borderLeftWidth:P,borderRadius:P,borderTopLeftRadius:P,borderTopRightRadius:P,borderBottomRightRadius:P,borderBottomLeftRadius:P,width:P,maxWidth:P,height:P,maxHeight:P,top:P,right:P,bottom:P,left:P,inset:P,insetBlock:P,insetBlockStart:P,insetBlockEnd:P,insetInline:P,insetInlineStart:P,insetInlineEnd:P,padding:P,paddingTop:P,paddingRight:P,paddingBottom:P,paddingLeft:P,paddingBlock:P,paddingBlockStart:P,paddingBlockEnd:P,paddingInline:P,paddingInlineStart:P,paddingInlineEnd:P,margin:P,marginTop:P,marginRight:P,marginBottom:P,marginLeft:P,marginBlock:P,marginBlockStart:P,marginBlockEnd:P,marginInline:P,marginInlineStart:P,marginInlineEnd:P,fontSize:P,backgroundPositionX:P,backgroundPositionY:P,rotate:B,rotateX:B,rotateY:B,rotateZ:B,scale:v,scaleX:v,scaleY:v,scaleZ:v,skew:B,skewX:B,skewY:B,distance:P,translateX:P,translateY:P,translateZ:P,x:P,y:P,z:P,perspective:P,transformPerspective:P,opacity:y,originX:O,originY:O,originZ:P,zIndex:Z,fillOpacity:y,strokeOpacity:y,numOctaves:Z},X={...q,color:N,backgroundColor:N,outlineColor:N,fill:N,stroke:N,borderColor:N,borderTopColor:N,borderRightColor:N,borderBottomColor:N,borderLeftColor:N,filter:Y,WebkitFilter:Y,mask:J,WebkitMask:J},z=e=>X[e],$=()=>({translate:0,scale:1,origin:0,originPoint:0}),ee=()=>({x:$(),y:$()}),et=()=>({min:0,max:0}),er=()=>({x:et(),y:et()}),en=e=>!!(e&&e.getVelocity),ei=new Set(["width","height","top","left","right","bottom",...p]),es=e=>t=>t.test(e),eo=[g,P,D,B,T,k,{test:e=>"auto"===e,parse:e=>e}],ea=e=>eo.find(es(e));var el=e.i(247167);let ec=()=>{},eu=()=>{};el.default;let eh=e=>t=>"string"==typeof t&&t.startsWith(e),ed=eh("--"),ef=eh("var(--"),ep=e=>!!ef(e)&&eA.test(e.split("/*")[0].trim()),eA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function em(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let eg=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ey=e=>180*e/Math.PI,ev=e=>ew(ey(Math.atan2(e[1],e[0]))),eb={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ev,rotateZ:ev,skewX:e=>ey(Math.atan(e[1])),skewY:e=>ey(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ew=e=>((e%=360)<0&&(e+=360),e),ex=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),eS=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),eC={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ex,scaleY:eS,scale:e=>(ex(e)+eS(e))/2,rotateX:e=>ew(ey(Math.atan2(e[6],e[5]))),rotateY:e=>ew(ey(Math.atan2(-e[2],e[0]))),rotateZ:ev,rotate:ev,skewX:e=>ey(Math.atan(e[4])),skewY:e=>ey(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eI(e){return+!!e.includes("scale")}function eE(e,t){let r,n;if(!e||"none"===e)return eI(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=eC,n=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=eb,n=t}if(!n)return eI(t);let s=r[t],o=n[1].split(",").map(eR);return"function"==typeof s?s(o):o[s]}function eR(e){return parseFloat(e.trim())}let eF=e=>e===g||e===P,eB=new Set(["x","y","z"]),eD=p.filter(e=>!eB.has(e)),eP={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>eE(t,"x"),y:(e,{transform:t})=>eE(t,"y")};eP.translateX=eP.x,eP.translateY=eP.y;let ek=e=>e,eT={},eO=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function ej(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},s=()=>r=!0,o=eO.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,n=new Set,i=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function c(t){o.has(t)&&(u.schedule(t),e()),l++,t(a)}let u={schedule:(e,t=!1,s=!1)=>{let a=s&&i?r:n;return t&&o.add(e),a.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(a=e,i){s=!0;return}i=!0;let o=r;r=n,n=o,r.forEach(c),t,l=0,r.clear(),i=!1,s&&(s=!1,u.process(e))}};return u}(s,t?r:void 0),e),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:u,update:h,preRender:d,render:f,postRender:p}=o,A=()=>{let s=eT.useManualTiming,o=s?i.timestamp:performance.now();r=!1,s||(i.delta=n?1e3/60:Math.max(Math.min(o-i.timestamp,40),1)),i.timestamp=o,i.isProcessing=!0,a.process(i),l.process(i),c.process(i),u.process(i),h.process(i),d.process(i),f.process(i),p.process(i),i.isProcessing=!1,r&&t&&(n=!1,e(A))};return{schedule:eO.reduce((t,s)=>{let a=o[s];return t[s]=(t,s=!1,o=!1)=>(!r&&(r=!0,n=!0,i.isProcessing||e(A)),a.schedule(t,s,o)),t},{}),cancel:e=>{for(let t=0;t<eO.length;t++)o[eO[t]].cancel(e)},state:i,steps:o}}let{schedule:eN,cancel:e_,state:eM,steps:eQ}=ej("u">typeof requestAnimationFrame?requestAnimationFrame:ek,!0),eW=new Set,eL=!1,eH=!1,eU=!1;
8function eG(){if(eH){let e=Array.from(eW).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t,n=(t=[],eD.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t);n.length&&(r.set(e,n),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eH=!1,eL=!1,eW.forEach(e=>e.complete(eU)),eW.clear()}function eK(){eW.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eH=!0)})}class eV{constructor(e,t,r,n,i,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(eW.add(this),eL||(eL=!0,eN.read(eK),eN.resolveKeyframes(eG))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;if(null===e[0]){let i=n?.get(),s=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,s);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=s),n&&void 0===i&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eW.delete(this)}cancel(){"scheduled"===this.state&&(eW.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let eY=new Set([Y,J]);function eJ(e,t){let r=z(e);return eY.has(r)||(r=U),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let eZ=new Set(["auto","none","0"]);class eq extends eV{constructor(e,t,r,n,i){super(e,t,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&ep(n=n.trim())){let i=function e(t,r,n=1){eu(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[i,s]=function(e){let t=eg.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${r??n}`,i]}(t);if(!i)return;let o=window.getComputedStyle(r).getPropertyValue(i);if(o){let e=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return ep(s)?e(s,r,n+1):s}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!ei.has(r)||2!==e.length)return;let[n,i]=e,s=ea(n),o=ea(i);if(em(n)!==em(i)&&eP[r]){this.needsMeasurement=!0;return}if(s!==o)if(eF(s)&&eF(o))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else eP[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&r.push(t);r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!eZ.has(t)&&L(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=eJ(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eP[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let i=r.length-1,s=r[i];r[i]=eP[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
8h(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let eX=e=>1e3*e;function ez(e,t){-1===e.indexOf(t)&&e.push(t)}function e$(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class e0{constructor(){this.subscriptions=[]}add(e){return ez(this.subscriptions,e),()=>e$(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function e1(e,t,r){t.startsWith("--")?e.style.setProperty(t,r):e.style[t]=r}function e2(e){let t;return()=>(void 0===t&&(t=e()),t)}let e3={};function e4(e,t){let r=e2(e);return()=>e3[t]??r()}let e5=e4(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),e8=e=>null!==e;function e6(e,{repeat:t,repeatType:r="loop"},n,i=1){let s=e.filter(e8),o=i<0||t&&"loop"!==r&&t%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}class e9{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let e7={layout:0,mainThread:0,waapi:0},te=e=>Array.isArray(e)&&"number"==typeof e[0],tt=e4(()=>{try{document.createElement("div").animate({opacity:0}
8,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),tr=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},tn=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,ti={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tn([0,.65,.55,1]),circOut:tn([.55,0,1,.45]),backIn:tn([.31,.01,.66,-.59]),backOut:tn([.33,1.53,.69,.99])};function ts(e){return"function"==typeof e&&"applyToOptions"in e}class to extends e9{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:r,keyframes:n,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=e;this.isPseudoElement=!!i,this.allowFlatten=s,this.options=e,eu("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return ts(e)&&tt()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:n=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},c){let u={[t]:r};l&&(u.offset=l);let h=function e(t,r){if(t)return"function"==typeof t?tt()?tr(t,r):"ease-out":te(t)?tn(t):Array.isArray(t)?t.map(t=>e(t,r)||ti.easeOut):ti[t]}(a,i);Array.isArray(h)&&(u.easing=h);let d={delay:n,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};c&&(d.pseudoElement=c);let f=e.animate(u,d);return f}(t,r,n,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=e6(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),e1(t,r,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=eX(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&e5())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),ek):n(this)}}let ta=new Set(["opacity","clipPath","filter","transform"]),{schedule:tl}=ej(queueMicrotask,!1);function tc(){t=void 0}let tu={now:()=>(void 0===t&&tu.set(eM.isProcessing||eT.useManualTiming?eM.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(tc)}};class th{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tu.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tu.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new e0);let r=this.events[e].add(t);return"change"===e?()=>{r(),eN.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return i&&i.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=tu.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function td(e,t){return new th(e,t)}let tf=[...eo,N,U],tp=new WeakMap;function tA(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tm(e){return"string"==typeof e||Array.isArray(e)}let tg=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ty=["initial",...tg];function tv(e){return tA(e.animate)||ty.some(t=>tm(e[t]))}function tb(e){return!!(tv(e)||e.variants)}let tw={current:null},tx={current:!1},tS="u">typeof window;function tC(e){let t=[{},{}];
8return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function tI(e,t,r,n){if("function"==typeof t){let[i,s]=tC(n);t=t(void 0!==r?r:e.custom,i,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,s]=tC(n);t=t(void 0!==r?r:e.custom,i,s)}return t}let tE=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tR={};class tF{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,skipAnimations:i,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=eV,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=tu.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eN.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=i,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=tv(t),this.isVariantNode=tb(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:u,...h}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in h){const t=h[e];void 0!==l[e]&&en(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,tp.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tx.current||function(){if(tx.current=!0,tS)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tw.current=e.matches;e.addEventListener("change",t),t()}else tw.current=!1}(),this.shouldReduceMotion=tw.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),e_(this.notifyUpdate),e_(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&ta.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:n,times:i,ease:s,duration:o}=t.accelerate,a=new to({element:this.current,name:e,keyframes:n,times:i,ease:s,duration:eX(o)}),l=r(a);this.valueSubscriptions.set(e,()=>{l(),a.cancel()});return}let n=A.has(e);n&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eN.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tR){let t=tR[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];
8t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):er()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<tE.length;t++){let r=tE[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){for(let n in t){let i=t[n],s=r[n];if(en(i))e.addValue(n,i);else if(en(s))e.addValue(n,td(i,{owner:e}));else if(s!==i)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,td(void 0!==t?t:i,{owner:e}))}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=td(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){let n,i;if("string"==typeof r&&(n=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(i=r,/^0[^.\s]+$/u.test(i))))r=parseFloat(r);else{let n;n=r,!tf.find(es(n))&&U.test(t)&&(r=eJ(e,t))}this.setBaseTarget(e,en(r)?r.get():r)}return en(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=tI(this.props,r,this.presenceContext?.custom);n&&(t=n[e])}if(r&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||en(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new e0),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){tl.render(this.render)}}class tB extends tF{constructor(){super(...arguments),this.KeyframeResolver=eq}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;en(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tD(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tP=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tk={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tT=p.length;function tO(e,t,r){let{style:n,vars:i,transformOrigin:s}=e,o=!1,a=!1;for(let e in t){let r=t[e];if(A.has(e)){o=!0;continue}if(ed(e)){i[e]=r;continue}{let t=tP(r,q[e]);e.startsWith("origin")?(a=!0,s[e]=t):n[e]=t}}if(!t.transform&&(o||r?n.transform=function(e,t,r){let n="",i=!0;for(let s=0;s<tT;s++){let o=p[s],a=e[o];if(void 0===a)continue;let l=!0;if("number"==typeof a)l=a===+!!o.startsWith("scale");else{let e=parseFloat(a);l=o.startsWith("scale")?1===e:0===e}if(!l||r){let e=tP(a,q[o]);if(!l){i=!1;let t=tk[o]||o;n+=`${t}(${e}) `}r&&(t[o]=e)}}return n=n.trim(),r?n=r(t,i?"":n):i&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),a){let{originX:e="50%",originY:t="50%",originZ:r=0}=s;n.transformOrigin=`${e} ${t} ${r}`}}let tj={offset:"stroke-dashoffset",array:"stroke-dasharray"},tN={offset:"strokeDashoffset",array:"strokeDasharray"},t_=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tM(e,{attrX:t,attrY:r,attrScale:n,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a}
8,l,c,u){if(tO(e,a,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:d}=e;for(let e of(h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=u?.transformBox??"fill-box",delete h.transformBox),t_))void 0!==h[e]&&(d[e]=h[e],delete h[e]);void 0!==t&&(h.x=t),void 0!==r&&(h.y=r),void 0!==n&&(h.scale=n),void 0!==i&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let s=i?tj:tN;e[s.offset]=`${-n}`,e[s.array]=`${t} ${r}`}(h,i,s,o,!1)}let tQ=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),tW=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tL(e,{style:t,vars:r},n,i){let s,o=e.style;for(s in t)o[s]=t[s];for(s in i?.applyProjectionStyles(o,n),r)o.setProperty(s,r[s])}function tH(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tU={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!P.test(e))return e;else e=parseFloat(e);let r=tH(e,t.target.x),n=tH(e,t.target.y);return`${r}% ${n}%`}},tG=(e,t,r)=>e+(t-e)*r,tK={borderRadius:{...tU,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tU,borderTopRightRadius:tU,borderBottomLeftRadius:tU,borderBottomRightRadius:tU,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=U.parse(e);if(n.length>5)return e;let i=U.createTransformer(e),s=+("number"!=typeof n[0]),o=r.x.scale*t.x,a=r.y.scale*t.y;n[0+s]/=o,n[1+s]/=a;let l=tG(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),i(n)}}};function tV(e,{layout:t,layoutId:r}){return A.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!tK[e]||"opacity"===e)}function tY(e,t,r){let n=e.style,i=t?.style,s={};if(!n)return s;for(let t in n)(en(n[t])||i&&en(i[t])||tV(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(s[t]=n[t]);return s}function tJ(e,t,r){let n=tY(e,t,r);for(let r in e)(en(e[r])||en(t[r]))&&(n[-1!==p.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}class tZ extends tB{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=er}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(A.has(t)){let e=z(t);return e&&e.default||0}return t=tQ.has(t)?t:tD(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return tJ(e,t,r)}build(e,t,r){tM(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,n){for(let r in tL(e,t,void 0,n),t.attrs)e.setAttribute(tQ.has(r)?r:tD(r),t.attrs[r])}mount(e){this.isSVGTag=tW(e.tagName),super.mount(e)}}function tq({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function tX(e){return void 0===e||1===e}function tz({scale:e,scaleX:t,scaleY:r}){return!tX(e)||!tX(t)||!tX(r)}function t$(e){return tz(e)||t0(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function t0(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function t1(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function t2(e,t=0,r=1,n,i){e.min=t1(e.min,t,r,n,i),e.max=t1(e.max,t,r,n,i)}function t3(e,{x:t,y:r}){t2(e.x,t.translate,t.scale,t.originPoint),t2(e.y,r.translate,r.scale,r.originPoint)}function t4(e,t){e.min+=t,e.max+=t}function t5(e,t,r,n,i=.5){let s=tG(e.min,e.max,i);t2(e,t,r,s,n)}function t8(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function t6(e,t,r){let n=r??e;t5(e.x,t8(t.x,n.x),t.scaleX,t.scale,t.originX),t5(e.y,t8(t.y,n.y),t.scaleY,t.scale,t.originY)}function t9(e,t){return tq(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}class t7 extends tB{constructor(){super(...arguments),this.type="html",this.renderInstance=tL}readValueFromInstance(e,t){if(A.has(t))return this.projection?.isProjecting?eI(t):((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return eE(r,t)})(e,t);{let r=window.getComputedStyle(e),n=(ed(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t9(e,t)}build(e,t,r){tO(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return tY(e,t,r)}}let re=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function rt(e){if("string"!=typeof e||e.includes("-"));else if(re.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var rr=e.i(843476);let rn=(0,s.createContext)({strict:!1}),ri=(0,s.createContext)({});function rs(e){return Array.isArray(e)?e.join(" "):e}let ro=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ra(e,t,r){for(let n in t)en(t[n])||tV(n,r)||(e[n]=t[n])}let rl=()=>({...ro(),attrs:{}}),rc=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ru(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||rc.has(e)}let rh=e=>!ru(e);function rd(e){"function"==typeof e&&(rh=t=>t.startsWith("on")?!ru(t):e(t))}try{rd((()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default)}catch{}function rf(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&!en(e[i])&&(rh(i)||!0===r&&ru(i)||!t&&!ru(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function rp(e){return en(e)?e.get():e}e.s(["filterProps",0,rf,"loadExternalIsValidProp",0,rd],798125);let rA=e=>(t,r)=>{let n=(0,s.useContext)(ri),i=(0,s.useContext)(c),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,i){return{latestValues:function(e,t,r,n){let i={},s=n(e,{});for(let e in s)i[e]=rp(s[e]);let{initial:o,animate:a}=e,l=tv(e),c=tb(e);t&&c&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===a&&(a=t.animate));
8let u=!!r&&!1===r.initial,h=(u=u||!1===o)?a:o;if(h&&"boolean"!=typeof h&&!tA(h)){let t=Array.isArray(h)?h:[h];for(let r=0;r<t.length;r++){let n=tI(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,n,i,e),renderState:t()}})(e,t,n,i);return r?o():a(o)},rm=rA({scrapeMotionValuesFromProps:tY,createRenderState:ro}),rg=rA({scrapeMotionValuesFromProps:tJ,createRenderState:rl}),ry={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},rv=!1;function rb(){return!function(){if(rv)return;let e={};for(let t in ry)e[t]={isEnabled:e=>ry[t].some(t=>!!e[t])};tR=e,rv=!0}(),tR}let rw=Symbol.for("motionComponentSymbol"),rx="data-"+tD("framerAppearId"),rS=(0,s.createContext)({});function rC(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function rI(e,{forwardMotionProps:t=!1,type:r}={},n,i){n&&function(e){let t=rb();for(let r in e)t[r]={...t[r],...e[r]};tR=t}(n);let a=r?"svg"===r:rt(e),u=a?rg:rm;function h(r,n){var h;let f,p,A,m={...(0,s.useContext)(d),...r,layoutId:function({layoutId:e}){let t=(0,s.useContext)(o).id;return t&&void 0!==e?t+"-"+e:e}(r)},{isStatic:g}=m,y=function(e){let{initial:t,animate:r}=function(e,t){if(tv(e)){let{initial:t,animate:r}=e;return{initial:!1===t||tm(t)?t:void 0,animate:tm(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,s.useContext)(ri));return(0,s.useMemo)(()=>({initial:t,animate:r}),[rs(t),rs(r)])}(r),v=u(r,g);if(!g&&"u">typeof window){(0,s.useContext)(rn).strict;let t=function(e){let{drag:t,layout:r}=rb();if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(m);f=t.MeasureLayout,y.visualElement=function(e,t,r,n,i,o){let{visualElement:a}=(0,s.useContext)(ri),u=(0,s.useContext)(rn),h=(0,s.useContext)(c),f=(0,s.useContext)(d),p=f.reducedMotion,A=f.skipAnimations,m=(0,s.useRef)(null),g=(0,s.useRef)(!1);n=n||u.renderer,!m.current&&n&&(m.current=n(e,{visualState:t,parent:a,props:r,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:p,skipAnimations:A,isSVG:o}),g.current&&m.current&&(m.current.manuallyAnimateOnMount=!0));let y=m.current,v=(0,s.useContext)(rS);y&&!y.projection&&i&&("html"===y.type||"svg"===y.type)&&function(e,t,r,n){let{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:h}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&rC(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}(m.current,r,i,v);let b=(0,s.useRef)(!1);(0,s.useInsertionEffect)(()=>{y&&b.current&&y.update(r,h)});let w=r[rx],x=(0,s.useRef)(!!w&&"u">typeof window&&!window.MotionHandoffIsComplete?.(w)&&window.MotionHasOptimisedAnimation?.(w));return l(()=>{g.current=!0,y&&(b.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),x.current&&y.animationState&&y.animationState.animateChanges())}),(0,s.useEffect)(()=>{y&&(!x.current&&y.animationState&&y.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(w)}),x.current=!1),y.enteringChildren=void 0)}),y}(e,v,m,i,t.ProjectionNode,a)}return(0,rr.jsxs)(ri.Provider,{value:y,children:[f&&y.visualElement?(0,rr.jsx)(f,{visualElement:y.visualElement,...m}):null,function(e,t,r,{latestValues:n},i,o=!1,a){let l=(a??rt(e)?function(e,t,r,n){let i=(0,s.useMemo)(()=>{let r=rl();return tM(r,t,tW(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};ra(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r,n,i={},o=(r=e.style||{},ra(n={},r,e),Object.assign(n,function({transformTemplate:e},t){return(0,s.useMemo)(()=>{let r=ro();return tO(r,t,e),Object.assign({},r.vars,r.style)}
8,[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i})(t,n,i,e),c=rf(t,"string"==typeof e,o),u=e!==s.Fragment?{...c,...l,ref:r}:{},{children:h}=t,d=(0,s.useMemo)(()=>en(h)?h.get():h,[h]);return(0,s.createElement)(e,{...u,children:d})}(e,r,(h=y.visualElement,p=(0,s.useRef)(n),(0,s.useInsertionEffect)(()=>{p.current=n}),A=(0,s.useRef)(null),(0,s.useCallback)(e=>{e&&v.onMount?.(e);let t=p.current;if("function"==typeof t)if(e){let r=t(e);"function"==typeof r&&(A.current=r)}else A.current?(A.current(),A.current=null):t(e);else t&&(t.current=e);h&&(e?h.mount(e):h.unmount())},[h])),v,g,t,a)]})}h.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let f=(0,s.forwardRef)(h);return f[rw]=e,f}class rE{constructor(e){this.isMounted=!1,this.node=e}update(){}}function rR(e,t,r){let n=e.getProps();return tI(n,t,void 0!==r?r:n.custom,e)}function rF(e,t){if(e?.inherit&&t){let{inherit:r,...n}=e;return{...t,...n}}return e}function rB(e,t){let r=e?.[t]??e?.default??e;return r!==e?rF(r,e):r}e.s(["resolveTransition",0,rF],753034);let rD=e=>Array.isArray(e);function rP(e,t){let r=e.getValue("willChange");if(en(r)&&r.add)return r.add(t);if(!r&&eT.WillChange){let r=new eT.WillChange("auto");e.addValue("willChange",r),r.add(t)}}let rk=(e,t)=>r=>t(e(r)),rT=(...e)=>e.reduce(rk);function rO(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function rj(e,t){return r=>r>0?t:e}let rN=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},r_=[R,E,j];function rM(e){let t=r_.find(t=>t.test(e));if(ec(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===j&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,s=0,o=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,a=2*r-n;i=rO(a,n,e+1/3),s=rO(a,n,e),o=rO(a,n,e-1/3)}else i=s=o=r;return{red:Math.round(255*i),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(r)),r}let rQ=(e,t)=>{let r=rM(e),n=rM(t);if(!r||!n)return rj(e,t);let i={...r};return e=>(i.red=rN(r.red,n.red,e),i.green=rN(r.green,n.green,e),i.blue=rN(r.blue,n.blue,e),i.alpha=tG(r.alpha,n.alpha,e),E.transform(i))},rW=new Set(["none","hidden"]);function rL(e,t){return r=>tG(e,t,r)}function rH(e){return"number"==typeof e?rL:"string"==typeof e?ep(e)?rj:N.test(e)?rQ:rK:Array.isArray(e)?rU:"object"==typeof e?N.test(e)?rQ:rG:rj}function rU(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>rH(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function rG(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=rH(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let rK=(e,t)=>{let r=U.createTransformer(t),n=L(e),i=L(t);if(!(n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length))return ec(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),rj(e,t);if(rW.has(e)&&!i.values.length||rW.has(t)&&!n.values.length)return rW.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return rT(rU(function(e,t){let r=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let s=t.types[i],o=e.indexes[s][n[s]],a=e.values[o]??0;r[i]=a,n[s]++}return r}(n,i),i.values),r)};function rV(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?tG(e,t,r):rH(e)(e,t)}let rY=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eN.update(t,e),stop:()=>e_(t),now:()=>eM.isProcessing?eM.timestamp:tu.now()}};function rJ(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}let rZ=.01,rq=2,rX=.005,rz=.5;function r$(e,t){return e*Math.sqrt(1-t*t)}let r0=["duration","bounce"],r1=["stiffness","damping","mass"];function r2(e,t){return t.some(t=>void 0!==e[t])}function r3(e=.3,t=.3){let r,n,i,s,o,a,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:c,restDelta:u}=l,h=l.keyframes[0],d=l.keyframes[l.keyframes.length-1],f={done:!1,value:h},{stiffness:p,damping:A,mass:g,duration:y,velocity:v,isResolvedFromDuration:b}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!r2(e,r1)&&r2(e,r0))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*m(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:i}}else{let r=function({duration:e=800,bounce:t=.3,velocity:r=0,mass:n=1}){let i,s;ec(e<=eX(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=m(.05,1,o),e=m(.01,10,e/1e3),o<1?(i=t=>{let n=t*o,i=n*e;return .001-(n-r)/r$(t,o)*Math.exp(-i)},s=t=>{let n=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=Math.exp(-n),l=r$(Math.pow(t,2),o);return(n*r+r-s)*a*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),s=t=>e*e*(r-t)*Math.exp(-t*e));let a=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(i,s,5/e);if(e=eX(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*n;return{stiffness:t,damping:2*o*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-((l.velocity||0)/1e3)}),w=v||0,x=A/(2*Math.sqrt(p*g)),S=d-h,C=Math.sqrt(p/g)/1e3,I=5>Math.abs(S);if(c||(c=I?rZ:rq),u||(u=I?rX:rz),x<1)i=r$(C,x),s=(w+x*C*S)/i,r=e=>
8d-Math.exp(-x*C*e)*(s*Math.sin(i*e)+S*Math.cos(i*e)),o=x*C*s+S*i,a=x*C*S-s*i,n=e=>Math.exp(-x*C*e)*(o*Math.sin(i*e)+a*Math.cos(i*e));else if(1===x){r=e=>d-Math.exp(-C*e)*(S+(w+C*S)*e);let e=w+C*S;n=t=>Math.exp(-C*t)*(C*e*t-w)}else{let e=C*Math.sqrt(x*x-1);r=t=>{let r=Math.exp(-x*C*t),n=Math.min(e*t,300);return d-r*((w+x*C*S)*Math.sinh(n)+e*S*Math.cosh(n))/e};let t=(w+x*C*S)/e,i=x*C*t-S*e,s=x*C*S-t*e;n=t=>{let r=Math.exp(-x*C*t),n=Math.min(e*t,300);return r*(i*Math.sinh(n)+s*Math.cosh(n))}}let E={calculatedDuration:b&&y||null,velocity:e=>eX(n(e)),next:e=>{if(!b&&x<1){let t=Math.exp(-x*C*e),r=Math.sin(i*e),n=Math.cos(i*e),l=d-t*(s*r+S*n);return f.done=Math.abs(eX(t*(o*r+a*n)))<=c&&Math.abs(d-l)<=u,f.value=f.done?d:l,f}let t=r(e);return b?f.done=e>=y:f.done=Math.abs(eX(n(e)))<=c&&Math.abs(d-t)<=u,f.value=f.done?d:t,f},toString:()=>{let e=Math.min(rJ(E),2e4),t=tr(t=>E.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return E}function r4(e,t,r){var n,i;let s=Math.max(t-5,0);return n=r-e(s),(i=t-s)?1e3/i*n:0}function r5({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:c=.5,restSpeed:u}){let h,d,f=e[0],p={done:!1,value:f},A=r*t,m=f+A,g=void 0===o?m:o(m);g!==m&&(A=g-f);let y=e=>-A*Math.exp(-e/n),v=e=>g+y(e),b=e=>{let t=y(e),r=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:r},w=e=>{let t;if(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l){var r;h=e,d=r3({keyframes:[p.value,(r=p.value,void 0===a?l:void 0===l||Math.abs(a-r)<Math.abs(l-r)?a:l)],velocity:r4(v,e,p.value),damping:i,stiffness:s,restDelta:c,restSpeed:u})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,b(e),w(e)),void 0!==h&&e>=h)?d.next(e-h):(t||b(e),p)}}}r3.applyToOptions=e=>{let t=function(e,t=100,r){let n=r({...e,keyframes:[0,t]}),i=Math.min(rJ(n),2e4);return{type:"keyframes",ease:e=>n.next(i*e).value/t,duration:i/1e3}}(e,100,r3);return e.ease=t.ease,e.duration=eX(t.duration),e.type="keyframes",e};let r8=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function r6(e,t,r,n){return e===t&&r===n?ek:i=>0===i||1===i?i:r8(function(e,t,r,n,i){let s,o,a=0;do(s=r8(o=t+(r-t)/2,n,i)-e)>0?r=o:t=o;while(Math.abs(s)>1e-7&&++a<12)return o}(i,0,1,e,r),t,n)}let r9=r6(.42,0,1,1),r7=r6(0,0,.58,1),ne=r6(.42,0,.58,1),nt=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,nr=e=>t=>1-e(1-t),nn=r6(.33,1.53,.69,.99),ni=nr(nn),ns=nt(ni),no=e=>e>=1?1:(e*=2)<1?.5*ni(e):.5*(2-Math.pow(2,-10*(e-1))),na=e=>1-Math.sin(Math.acos(e)),nl=nr(na),nc=nt(na),nu={linear:ek,easeIn:r9,easeInOut:ne,easeOut:r7,circIn:na,circInOut:nc,circOut:nl,backIn:ni,backInOut:ns,backOut:nn,anticipate:no},nh=e=>{if(te(e)){eu(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,i]=e;return r6(t,r,n,i)}return"string"==typeof e?(eu(void 0!==nu[e],`Invalid easing type '${e}'`,"invalid-easing-type"),nu[e]):e},nd=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n};function nf({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){var i;let s,o=Array.isArray(n)&&"number"!=typeof n[0]?n.map(nh):nh(n),a={done:!1,value:t[0]},l=function(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let s=e.length;if(eu(s===t.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,r){let n=[],i=r||eT.mix||rV,s=e.length-1;for(let r=0;r<s;r++){let s=i(e[r],e[r+1]);t&&(s=rT(Array.isArray(t)?t[r]||ek:t,s)),n.push(s)}return n}(t,n,i),l=a.length,c=r=>{if(o&&r<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let i=nd(e[n],e[n+1],r);return a[n](i)};return r?t=>c(m(e[0],e[s-1],t)):c}((i=r&&r.length===t.length?r:(!function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=nd(0,t,n);e.push(tG(r,1,i))}}(s=[0],t.length-1),s),i.map(t=>t*e)),t,{ease:Array.isArray(o)?o:t.map(()=>o||ne).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=l(t),a.done=t>=e,a)}}let np={decay:r5,inertia:r5,tween:nf,keyframes:nf,spring:r3};function nA(e){"string"==typeof e.type&&(e.type=np[e.type])}let nm=e=>e/100;class ng extends e9{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==tu.now()&&this.tick(tu.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},e7.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;nA(e);let{type:t=nf,repeat:r=0,repeatDelay:n=0,repeatType:i,velocity:s=0}=e,{keyframes:o}=e,a=t||nf;a!==nf&&"number"!=typeof o[0]&&(this.mixKeyframes=rT(nm,rV(o[0],o[1])),o=[0,100]);let l=a({...e,keyframes:o});"mirror"===i&&(this.mirroredGenerator=a({...e,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=rJ(l));let{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let r,{generator:n,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:c=0,keyframes:u,repeat:h,repeatType:d,repeatDelay:f,type:p,onUpdate:A,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let y=this.currentTime-c*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>i;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let b=this.currentTime,w=n;if(h){let e=Math.min(this.currentTime,i)/a,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,h+1))%2&&("reverse"===d?(r=1-r,f&&(r-=f/a)):"mirror"===d&&(w=o)
8),b=m(0,1,r)*a}v?(this.delayState.value=u[0],r=this.delayState):r=w.next(b),s&&!v&&(r.value=s(r.value));let{done:x}=r;v||null===l||(x=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return S&&p!==r5&&(r.value=e6(u,this.options,g,this.speed)),A&&A(r.value),S&&this.finish(),r}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=eX(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return r4(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(tu.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=rY,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tu.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,e7.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let ny={anticipate:no,backInOut:ns,circInOut:nc};class nv extends to{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in ny&&(e.ease=ny[e.ease])}(e),nA(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:n,element:i,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let o=new ng({...s,autoplay:!1}),a=Math.max(10,tu.now()-this.startTime),l=m(0,10,a-10),c=o.sample(a).value,{name:u}=this.options;i&&u&&e1(i,u,c),t.setWithVelocity(o.sample(Math.max(0,a-l)).value,c,l),o.stop()}}let nb=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(U.test(e)||"0"===e)&&!e.startsWith("url("));function nw(e){e.duration=0,e.type="keyframes"}let nx=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,nS=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),nC=e2(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class nI extends e9{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:c,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tu.now();const h={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:s,name:a,motionValue:l,element:c,...u},d=c?.KeyframeResolver||eV;this.keyframeResolver=new d(o,(e,t,r)=>this.onKeyframesResolved(e,t,h,!r),a,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,n){let i;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:c,onUpdate:u}=r;this.resolvedAt=tu.now();let h=!0;!function(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],o=nb(i,t),a=nb(s,t);return ec(o===a,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||ts(r))&&n)}(e,s,o,a)&&(h=!1,(eT.instantAnimations||!l)&&u?.(e6(e,r,t)),e[0]=e[e.length-1],nw(r),r.repeat=0);let d={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},f=h&&!c&&function(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:s,type:o,keyframes:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;
8let{onUpdate:l,transformTemplate:c}=t.owner.getProps();return nC()&&r&&(ta.has(r)||nS.has(r)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&nx.test(e[t]))return!0;return!1}(a))&&("transform"!==r||!c)&&!l&&!n&&"mirror"!==i&&0!==s&&"inertia"!==o}(d),p=d.motionValue?.owner?.current;if(f)try{i=new nv({...d,element:p})}catch{i=new ng(d)}else i=new ng(d);i.finished.then(()=>{this.notifyFinished()}).catch(ek),this.pendingTimeline&&(this.stopTimeline=i.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=i}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),eU=!0,eK(),eG(),eU=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nE={type:"spring",stiffness:500,damping:25,restSpeed:10},nR={type:"keyframes",duration:.8},nF={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nB=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),nD=(e,t,r,n={},i,s)=>o=>{let a=rB(n,e)||{},l=a.delay||n.delay||0,{elapsed:c=0}=n;c-=eX(l);let u={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-c,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};!function(e){for(let t in e)if(!nB.has(t))return!0;return!1}(a)&&Object.assign(u,((e,{keyframes:t})=>t.length>2?nR:A.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:nE:nF)(e,u)),u.duration&&(u.duration=eX(u.duration)),u.repeatDelay&&(u.repeatDelay=eX(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let h=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(nw(u),0===u.delay&&(h=!0)),(eT.instantAnimations||eT.skipAnimations||i?.shouldSkipAnimations)&&(h=!0,nw(u),u.delay=0),u.allowFlatten=!a.type&&!a.ease,h&&!s&&void 0!==t.get()){let e=e6(u.keyframes,a);if(void 0!==e)return void eN.update(()=>{u.onUpdate(e),u.onComplete()})}return a.isSync?new ng(u):new nI(u)};function nP(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:s,transitionEnd:o,...a}=t,l=e.getDefaultTransition();s=s?rF(s,l):l;let c=s?.reduceMotion;n&&(s=n);let u=[],h=i&&e.animationState&&e.animationState.getState()[i];for(let t in a){let n=e.getValue(t,e.latestValues[t]??null),i=a[t];if(void 0===i||h&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(h,t))continue;let o={delay:r,...rB(s||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(i)&&i===l&&!o.velocity){eN.update(()=>n.set(i));continue}let d=!1;if(window.MotionHandoffAnimation){let r=e.props[rx];if(r){let e=window.MotionHandoffAnimation(r,t,eN);null!==e&&(o.startTime=e,d=!0)}}rP(e,t);let f=c??e.shouldReduceMotion;n.start(nD(t,n,i,f&&ei.has(t)?{type:!1}:o,e,d));let p=n.animation;p&&u.push(p)}if(o){let t=()=>eN.update(()=>{o&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=rR(e,t)||{};for(let t in i={...i,...r}){var s;let r=rD(s=i[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,td(r))}}(e,o)});u.length?Promise.all(u).then(t):t()}return u}function nk(e,t,r,n=0,i=1){let s=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,a=(o-1)*n;return"function"==typeof r?r(s,o):1===i?s*n:a-s*n}function nT(e,t,r={}){let n=rR(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let s=n?()=>Promise.all(nP(e,n,r)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=i;return function(e,t,r=0,n=0,i=0,s=1,o){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(nT(l,t,{...o,delay:r+("function"==typeof n?0:n)+nk(e.variantChildren,l,n,i,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,n,s,o,a,r)}:()=>Promise.resolve(),{when:a}=i;if(!a)return Promise.all([s(),o(r.delay)]);{let[e,t]="beforeChildren"===a?[s,o]:[o,s];return e().then(()=>t())}}let nO=ty.length;function nj(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}let nN=[...tg].reverse(),n_=tg.length;function nM(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nQ(){return{animate:nM(!0),whileInView:nM(),whileHover:nM(),whileTap:nM(),whileDrag:nM(),whileFocus:nM(),exit:nM()}}let nW=0;function nL(e){return[e("x"),e("y")]}function nH(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}let nU={x:!1,y:!1};function nG(e){return e.max-e.min}function nK(e,t,r,n=.5){e.origin=n,e.originPoint=tG(t.min,t.max,e.origin),e.scale=nG(r)/nG(t),e.translate=tG(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function nV(e,t,r,n){nK(e.x,t.x,r.x,n?n.originX:void 0),nK(e.y,t.y,r.y,n?n.originY:void 0)}function nY(e,t,r,n=0){e.min=(n?tG(r.min,r.max,n):r.min)+t.min,e.max=e.min+nG(t)}function nJ(e,t,r,n=0){let i=n?tG(r.min,r.max,n):r.min;e.min=t.min-i,e.max=e.min+nG(t)}function nZ(e,t,r,n){nJ(e.x,t.x,r.x,n?.x),nJ(e.y,t.y,r.y,n?.y)}function nq(e){return u(e)&&"ownerSVGElement"in e}function nX(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let i=r?.[e]??n.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}let nz=new WeakMap,n$=(e,t,r)=>(n,i)=>i&&i[0]?i[0][e+"Size"]:nq(n)&&"getBBox"in n?n.getBBox()[t]:n[r],n0=n$("inline","width","offsetWidth"),n1=n$("block","height","offsetHeight");function n2({target:e,borderBoxSize:t}){nz.get(e)?.forEach(r=>{r(e,{get width(){return n0(e,t)},get height(){return n1(e,t)}})})}function n3(e){e.forEach(n2)}let n4=new Set;function n5(e,t){let i;return"function"==typeof e?(n4.add(e),n||(n=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};n4.forEach(t=>t(e))},window.addEventListener("resize",n)),()=>{n4.delete(e),n4.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!r&&"u">typeof ResizeObserver&&(r=new ResizeObserver(n3)),(i=nX(e)).forEac
8h(e=>{let n=nz.get(e);n||(n=new Set,nz.set(e,n)),n.add(t),r?.observe(e)}),()=>{i.forEach(e=>{let n=nz.get(e);n?.delete(t),n?.size||r?.unobserve(e)})})}let n8=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),n6=new Set(["INPUT","SELECT","TEXTAREA"]),n9=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function n7(e){return{point:{x:e.pageX,y:e.pageY}}}function ie(e,t,r,n){return nH(e,t,e=>n9(e)&&r(e,n7(e)),n)}let it=({current:e})=>e?e.ownerDocument.defaultView:null,ir=(e,t)=>Math.abs(e-t),ii=new Set(["auto","scroll"]);class is{constructor(e,t,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:i=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=io(this.lastRawMoveEventInfo,this.transformPagePoint));let r=il(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},Math.sqrt(ir(e.x,t.x)**2+ir(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!i)return;let{point:s}=r,{timestamp:o}=eM;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=io(t,this.transformPagePoint),eN.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=il("pointercancel"===e.type?this.lastMoveEventInfo:io(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,s),n&&n(e,s)},!n9(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=n||window;const a=io(n7(e),this.transformPagePoint),{point:l}=a,{timestamp:c}=eM;this.history=[{...l,timestamp:c}];const{onSessionStart:u}=t;u&&u(e,il(a,this.history)),this.removeListeners=rT(ie(this.contextWindow,"pointermove",this.handlePointerMove),ie(this.contextWindow,"pointerup",this.handlePointerUp),ie(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ii.has(e.overflowX)||ii.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,n=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:n.x-t.x,y:n.y-t.y};(0!==i.x||0!==i.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,n),eN.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),e_(this.updatePoint)}}function io(e,t){return t?{point:t(e.point)}:e}function ia(e,t){return{x:e.x-t.x,y:e.y-t.y}}function il({point:e},t){return{point:e,delta:ia(e,ic(t)),offset:ia(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,r=null,n=ic(e);for(;t>=0&&(r=e[t],!(n.timestamp-r.timestamp>eX(.1)));)t--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&n.timestamp-r.timestamp>
82*eX(.1)&&(r=e[1]);let i=(n.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};let s={x:(n.x-r.x)/i,y:(n.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t)}}function ic(e){return e[e.length-1]}function iu(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function ih(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function id(e,t,r){return{min:ip(e,t),max:ip(e,r)}}function ip(e,t){return"number"==typeof e?e:e[t]||0}let iA=new WeakMap;class im{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=er(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let i=e=>{t&&this.snapToCursor(n7(e).point),this.stopAnimation()},s=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(nU[e])return null;else return nU[e]=!0,()=>{nU[e]=!1};return nU.x||nU.y?null:(nU.x=nU.y=!0,()=>{nU.x=nU.y=!1})}(r),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nL(e=>{let t=this.getAxisMotionValue(e).get()||0;if(D.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=nG(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&eN.update(()=>i(e,t),!1,!0),rP(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:s}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:o}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(o),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&eN.update(()=>s(e,t),!1,!0)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new is(e,{onSessionStart:i,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:it(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,n=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!n||!r)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&eN.postRender(()=>o(r,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!iy(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),s=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?tG(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?tG(r,e,n.max):Math.min(e,r)),e}(s,this.constraints[e],this.elastic[e])),i.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&rC(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:iu(e.x,r,i),y:iu(e.y,t,n)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:id(e,"left","right"),y:id(e,"top","bottom")}}(t),n!==this.constraints&&!rC(e)&&r&&this.constraints&&!this.hasMutatedConstraints&&nL(e=>{var t,n;let i;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],n=this.constraints[e],i={},void 0!==n.min&&(i.min=n.min-t.min),void 0!==n.max&&(i.max=n.max-t.min),i))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!rC(t))return!1;let n=t.current;eu(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let s=function(e,t,r){let n=t9(e,r),{scroll:i}=t;return i&&(t4(n.x,i.offset.x),t4(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),o=(e=i.layout.layoutBox,{x:ih(e.x,s.x),y:ih(e.y,s.y)});if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=tq(e))}return o}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(nL(o=>
8{if(!iy(o,t,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(l={min:0,max:0});let c={type:"inertia",velocity:r?e[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,c)})).then(o)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return rP(this.visualElement,e),r.start(nD(e,r,0,t,this.visualElement,!1))}stopAnimation(){nL(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){nL(t=>{let{drag:r}=this.getProps();if(!iy(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:s}=n.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-tG(r,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!rC(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nL(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var r,i;let s,o,a,l=t.get();n[e]=(r={min:l,max:l},i=this.constraints[e],s=.5,o=nG(r),(a=nG(i))>o?s=nd(i.min,i.max-o,r.min):o>a&&(s=nd(r.min,r.max-a,i.min)),m(0,1,s))}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),nL(t=>{if(!iy(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:s}=this.constraints[t];r.set(tG(i,s,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;iA.set(this.visualElement,this);let t=this.visualElement.current,r=ie(t,"pointerdown",e=>{let{drag:r,dragListener:n=!0}=this.getProps(),i=e.target,s=i!==t&&(n6.has(i.tagName)||!0===i.isContentEditable);r&&n&&!s&&this.start(e)}),n=()=>{var r,n,i;let s,o,{dragConstraints:a}=this.getProps();rC(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(r=t,n=a.current,s=n5(r,ig(i=()=>this.scalePositionWithinConstraints())),o=n5(n,ig(i)),e=()=>{s(),o()}))},{projection:i}=this.visualElement,s=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),eN.read(n);let o=nH(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nL(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),r(),s(),a&&a(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:s,dragMomentum:o}}}function ig(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function iy(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}let iv=e=>(t,r)=>{e&&eN.update(()=>e(t,r),!1,!0)},ib={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var iw=s;let ix=!1;class iS extends iw.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),ix&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ib.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,{projection:s}=r;return s&&(s.isPresent=i,e.layoutDependency!==t&&s.setOptions({...s.options,layoutDependency:t}),ix=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==i?s.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?s.promote():s.relegate()||eN.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:r}=e;r&&(r.options.layoutAnchor=t,r.root.didUpdate(),tl.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;ix=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function iC(e){let[t,r]=f(),n=(0,iw.useContext)(o);return(0,rr.jsx)(iS,{...e,layoutGroup:n,switchLayoutGroup:(0,iw.useContext)(rS),isPresent:t,safeToRemove:r})}let iI=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],iE=iI.length,iR=e=>"string"==typeof e?parseFloat(e):e,iF=e=>"number"==typeof e||P.test(e);function iB(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let iD=ik(0,.5,nl),iP=ik(.5,.95,ek);function ik(e,t,r){return n=>n<e?0:n>
8t?1:r(nd(e,t,n))}function iT(e,t){e.min=t.min,e.max=t.max}function iO(e,t){iT(e.x,t.x),iT(e.y,t.y)}function ij(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function iN(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function i_(e,t,[r,n,i],s,o){!function(e,t=0,r=1,n=.5,i,s=e,o=e){if(D.test(t)&&(t=parseFloat(t),t=tG(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=tG(s.min,s.max,n);e===s&&(a-=t),e.min=iN(e.min,t,r,a,i),e.max=iN(e.max,t,r,a,i)}(e,t[r],t[n],t[i],t.scale,s,o)}let iM=["x","scaleX","originX"],iQ=["y","scaleY","originY"];function iW(e,t,r,n){i_(e.x,t,iM,r?r.x:void 0,n?n.x:void 0),i_(e.y,t,iQ,r?r.y:void 0,n?n.y:void 0)}function iL(e){return 0===e.translate&&1===e.scale}function iH(e){return iL(e.x)&&iL(e.y)}function iU(e,t){return e.min===t.min&&e.max===t.max}function iG(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function iK(e,t){return iG(e.x,t.x)&&iG(e.y,t.y)}function iV(e){return nG(e.x)/nG(e.y)}function iY(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class iJ{constructor(){this.members=[]}add(e){ez(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let n=r.instance;n&&!1!==n.isConnected||r.snapshot||(e$(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if(e$(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=r.options,{layoutDependency:i}=e.options;(void 0===n||n!==i)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let iZ=(e,t)=>e.depth-t.depth;class iq{constructor(){this.children=[],this.isDirty=!1}add(e){ez(this.children,e),this.isDirty=!0}remove(e){e$(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(iZ),this.isDirty=!1,this.children.forEach(e)}}let iX=["","X","Y","Z"],iz=0;function i$(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function i0({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=t?.()){this.id=iz++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(i3),this.nodes.forEach(sr),this.nodes.forEach(sn),this.nodes.forEach(i4)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new iq)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new e0),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=nq(t)&&!(nq(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:r,layout:n,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||r)&&(this.isLayoutDirty=!0),e){let r,n=0,i=()=>this.root.updateBlockedByResize=!1;eN.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,s;n=e,this.root.updateBlockedByResize=!0,r&&r(),t=tu.now(),s=({timestamp:e})=>{let r=e-t;r>=250&&(e_(s),i(r-250))},eN.setup(s,!0),r=()=>e_(s),ib.hasAnimatedSinceResize&&(ib.hasAnimatedSinceResize=!1,this.nodes.forEac
8h(st))}})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||i.getDefaultTransition()||sc,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!iK(this.targetLayout,n),c=!t&&r;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...rB(s,"layout"),onPlay:o,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c)}else t||st(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),e_(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(si),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let n=r.props[rx];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",eN,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(i6),this.nodes.forEach(i8);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(i9);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(i7),this.nodes.forEach(se),this.nodes.forEach(i1),this.nodes.forEach(i2)):this.nodes.forEach(i9),this.clearAllSnapshots();let e=tu.now();eM.delta=m(0,1e3/60,e-eM.timestamp),eM.timestamp=e,eM.isProcessing=!0,eQ.update.process(eM),eQ.preRender.process(eM),eQ.render.process(eM),eM.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tl.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(i5),this.sharedNodes.forEach(ss)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eN.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eN.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nG(this.snapshot.measuredBox.x)||nG(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=er()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!iH(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||t$(this.latestValues)||s)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),sd((t=n).x),sd(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return er();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(sp))){let{scroll:e}=this.root;e&&(t4(t.x,e.offset.x),t4(t.y,e.offset.y))}return t}removeElementScroll(e){let t=er();if(iO(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:s}=n;n!==this.root&&i&&s.layoutScroll&&(i.wasRoot&&iO(t,e),t4(t.x,i.offset.x),t4(t.y,i.offset.y))}return t}applyTransform(e,t=!1,r){let n=r||er();iO(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(t4(n.x,-r.scroll.offset.x),t4(n.y,-r.scroll.offset.y)),t$(r.latestValues)&&t6(n,r.latestValues,r.layout?.layoutBox)}return t$(this.latestValues)&&t6(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(e){let t=er();iO(t,e);for(let e=0;e<this.path.length;e++){let r,n=this.path[e];t$(n.latestValues)&&(n.instance&&(tz(n.latestValues)&&n.updateSnapshot(),iO(r=er(),n.measurePageBox())),iW(t,n.latestValues,n.snapshot?.layoutBox,r))}return t$(this.latestValues)&&iW(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eM.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
8isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:i}=this.options;if(!this.layout||!(n||i))return;this.resolvedRelativeTargetAt=eM.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=er(),this.targetWithTransforms=er()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,c;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,c=this.options.layoutAnchor||void 0,nY(o.x,a.x,l.x,c?.x),nY(o.y,a.y,l.y,c?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):iO(this.target,this.layout.layoutBox),t3(this.target,this.targetDelta)):iO(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||tz(this.parent.latestValues)||t0(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=er(),this.relativeTargetOrigin=er(),nZ(this.relativeTargetOrigin,t,r,this.options.layoutAnchor||void 0),iO(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===eM.timestamp&&(r=!1),r)return;let{layout:n,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||i))return;iO(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(e,t,r,n=!1){let i,s,o=r.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(i=r[a]).projectionDelta;let{visualElement:o}=i.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(t4(e.x,-i.scroll.offset.x),t4(e.y,-i.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,t3(e,s)),n&&t$(i.latestValues)&&t6(e,i.latestValues,i.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=er());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ij(this.prevProjectionDelta.x,this.projectionDelta.x),ij(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nV(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&iY(this.projectionDelta.x,this.prevProjectionDelta.x)&&iY(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}
8createProjectionDeltas(){this.prevProjectionDelta=ee(),this.projectionDelta=ee(),this.projectionDeltaWithTransform=ee()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,i=n?n.latestValues:{},s={...this.latestValues},o=ee();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=er(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),u=!c||c.members.length<=1,h=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(sl));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(so(o.x,e.x,n),so(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,d,f,p,A,m;nZ(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,p=this.relativeTargetOrigin,A=a,m=n,sa(f.x,p.x,A.x,m),sa(f.y,p.y,A.y,m),r&&(c=this.relativeTarget,d=r,iU(c.x,d.x)&&iU(c.y,d.y))&&(this.isProjectionDirty=!1),r||(r=er()),iO(r,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,r,n,i,s){i?(e.opacity=tG(0,r.opacity??1,iD(n)),e.opacityExit=tG(t.opacity??1,0,iP(n))):s&&(e.opacity=tG(t.opacity??1,r.opacity??1,n));for(let i=0;i<iE;i++){let s=iI[i],o=iB(t,s),a=iB(r,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||iF(o)===iF(a)?(e[s]=Math.max(tG(iR(o),iR(a),n),0),(D.test(a)||D.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||r.rotate)&&(e.rotate=tG(t.rotate||0,r.rotate||0,n))}(s,i,this.latestValues,n,h,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(e_(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eN.update(()=>{var t,r,n;let i;ib.hasAnimatedSinceResize=!0,e7.layout++,this.motionValue||(this.motionValue=td(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,r=[0,1e3],n={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{e7.layout--},onComplete:()=>{e7.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(i=en(t)?t:td(t)).start(nD("",i,r,n)),i.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&sf(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||er();let t=nG(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=nG(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}iO(t,r),t6(t,i),nV(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new iJ),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}
8resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&i$("z",e,n,this.animationValues);for(let t=0;t<iX.length;t++)i$(`rotate${iX[t]}`,e,n,this.animationValues),i$(`skew${iX[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=rp(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=rp(t?.pointerEvents)||""),this.hasProjected&&!t$(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(e,t,r){let n="",i=e.x.translate/t.x,s=e.y.translate/t.y,o=r?.z||0;if((i||s||o)&&(n=`translate3d(${i}px, ${s}px, ${o}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:s,skewX:o,skewY:a}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotateX(${i}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,i);r&&(s=r(i,s)),e.transform=s;let{x:o,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?e.opacity=n===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=n===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,tK){if(void 0===i[t])continue;let{correct:r,applyTo:o,isCSSVariable:a}=tK[t],l="none"===s?i[t]:r(i[t],n);if(o){let t=o.length;for(let r=0;r<t;r++)e[o[r]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?rp(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(i8),this.root.sharedNodes.clear()}}}function i1(e){e.updateLayout()}function i2(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:i}=e.options,s=t.source!==e.layout.source;if("size"===i)nL(e=>{let n=s?t.measuredBox[e]:t.layoutBox[e],i=nG(n);n.min=r[e].min,n.max=n.min+i});else if("x"===i||"y"===i){let e="x"===i?"y":"x";iT(s?t.measuredBox[e]:t.layoutBox[e],r[e])}else sf(i,t.layoutBox,r)&&nL(n=>{let i=s?t.measuredBox[n]:t.layoutBox[n],o=nG(r[n]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+o)});let o=ee();nV(o,r,t.layoutBox);let a=ee();s?nV(a,e.applyTransform(n,!0),t.measuredBox):nV(a,r,t.layoutBox);let l=!iH(o),c=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:s}=n;if(i&&s){let o=e.options.layoutAnchor||void 0,a=er();nZ(a,t.layoutBox,i.layoutBox,o);let l=er();nZ(l,r,s.layoutBox,o),iK(a,l)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function i3(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function i4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function i5(e){e.clearSnapshot()}function i8(e){e.clearMeasurements()}function i6(e){e.isLayoutDirty=!0,e.updateLayout()}function i9(e){e.isLayoutDirty=!1}function i7(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function se(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function st(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function sr(e){e.resolveTargetDelta()}function sn(e){e.calcProjection()}
8function si(e){e.resetSkewAndRotation()}function ss(e){e.removeLeadSnapshot()}function so(e,t,r){e.translate=tG(t.translate,0,r),e.scale=tG(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function sa(e,t,r,n){e.min=tG(t.min,r.min,n),e.max=tG(t.max,r.max,n)}function sl(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let sc={duration:.45,ease:[.4,0,.1,1]},su=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),sh=su("applewebkit/")&&!su("chrome/")?Math.round:ek;function sd(e){e.min=sh(e.min),e.max=sh(e.max)}function sf(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(iV(t)-iV(r)))}function sp(e){return e!==e.root&&e.scroll?.wasRoot}let sA=i0({attachResizeListener:(e,t)=>nH(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),sm={current:void 0},sg=i0({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sm.current){let e=new sA({});e.mount(window),e.setOptions({layoutScroll:!0}),sm.current=e}return sm.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function sy(e,t){let r=nX(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function sv(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&eN.postRender(()=>i(t,n7(t)))}let sb=(e,t)=>!!t&&(e===t||sb(e,t.parentElement)),sw=new WeakSet;function sx(e){return t=>{"Enter"===t.key&&e(t)}}function sS(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function sC(e){return n9(e)&&!(nU.x||nU.y)}let sI=new WeakSet;function sE(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let i=n["onTap"+("End"===r?"":r)];i&&eN.postRender(()=>i(t,n7(t)))}let sR=new WeakMap,sF=new WeakMap,sB=e=>{let t=sR.get(e.target);t&&t(e)},sD=e=>{e.forEach(sB)},sP={some:0,all:1},sk=function(e,t){if("u"<typeof Proxy)return rI;let r=new Map,n=(r,n)=>rI(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(i,s)=>"create"===s?n:(r.has(s)||r.set(s,rI(s,void 0,e,t)),r.get(s))})}({animation:{Feature:class extends rE{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>nT(e,t,r)));else if("string"==typeof t)n=nT(e,t,r);else{let i="function"==typeof t?rR(e,t,r.custom):t;n=Promise.all(nP(e,i,r))}return n.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=nQ(),n=!0,i=!1,s=t=>(r,n)=>{let i=rR(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function o(o){let{props:a}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<nO;e++){let n=ty[e],i=t.props[n];(tm(i)||!1===i)&&(r[n]=i)}return r}(e.parent)||{},c=[],u=new Set,h={},d=1/0;for(let t=0;t<n_;t++){var f,p;let A=nN[t],m=r[A],g=void 0!==a[A]?a[A]:l[A],y=tm(g),v=A===o?m.isActive:null;!1===v&&(d=t);let b=g===l[A]&&g!==a[A]&&y;if(b&&(n||i)&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...h},!m.isActive&&null===v||!g&&!m.prevProp||tA(g)||"boolean"==typeof g)continue;if("exit"===A&&m.isActive&&!0!==v){m.prevResolvedValues&&(h={...h,...m.prevResolvedValues});continue}let w=(f=m.prevProp,"string"==typeof(p=g)?p!==f:!!Array.isArray(p)&&!nj(p,f)),x=w||A===o&&m.isActive&&!b&&y||t>d&&y,S=!1,C=Array.isArray(g)?g:[g],I=C.reduce(s(A),{});!1===v&&(I={});let{prevResolvedValues:E={}}=m,R={...E,...I},F=t=>{x=!0,u.has(t)&&(S=!0,u.delete(t)),m.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in R){let t=I[e],r=E[e];if(!h.hasOwnProperty(e))(rD(t)&&rD(r)?nj(t,r):t===r)?void 0!==t&&u.has(e)?F(e):m.protectedKeys[e]=!0:null!=t?F(e):u.add(e)}m.prevProp=g,m.prevResolvedValues=I,m.isActive&&(h={...h,...I}),(n||i)&&e.blockInitialAnimation&&(x=!1);let B=b&&w,D=!B||S;x&&D&&c.push(...C.map(t=>{let r={type:A};if("string"==typeof t&&(n||i)&&!B&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,i=rR(n,t);if(n.enteringChildren&&i){let{delayChildren:t}=i.transition||{};r.delay=nk(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(u.size){let t={};if("boolean"!=typeof a.initial){let r=rR(e,Array.isArray(a.initial)?a.initial[0]:a.initial);r&&r.transition&&(t.transition=r.transition)}u.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=n??null}),c.push({animation:t})}let A=!!c.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(A=!1),n=!1,i=!1,A?t(c):Promise.resolve()}
8return{animateChanges:o,setActive:function(t,n){if(r[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),r[t].isActive=n;let i=o(t);for(let e in r)r[e].protectedKeys={};return i},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=nQ(),i=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();tA(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends rE{constructor(){super(...arguments),this.id=nW++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;if(e&&!1===r){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e){let r=rR(this.node,e,t);if(r){let{transition:e,transitionEnd:t,...n}=r;for(let e in n)this.node.getValue(e)?.jump(n[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends rE{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:r={}}=this.node.getProps(),{root:n,margin:i,amount:s="some",once:o}=r,a={root:n?n.current:void 0,rootMargin:i,threshold:"number"==typeof s?s:sP[s]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),i=t?r:n;i&&i(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let r=e||document;sF.has(r)||sF.set(r,{});let n=sF.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(sD,{root:e,...t})),n[i]}(a),sR.set(e,l),t.observe(e),()=>{sR.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends rE{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=function(e,t,r={}){let[n,i,s]=sy(e,r),o=e=>{let n=e.currentTarget;if(!sC(e)||sI.has(e))return;sw.add(n),r.stopPropagation&&sI.add(e);let s=t(n,e),o=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),sw.has(n)&&sw.delete(n),sC(e)&&"function"==typeof s&&s(e,{success:t})},a=e=>{o(e,n===window||n===document||r.useGlobalTarget||sb(n,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",l,i)};return n.forEach(e=>{((r.useGlobalTarget?window:e).addEventListener("pointerdown",o,i),h(e))&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let n=sx(()=>{if(sw.has(r))return;sS(r,"down");let e=sx(()=>{sS(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>sS(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)})(e,i)),n8.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(sE(this.node,t,"Start"),(e,{success:t})=>sE(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:r?.tap===!1})}unmount(){}}},focus:{Feature:class extends rE{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=rT(nH(this.node.current,"focus",()=>this.onFocus()),nH(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends rE{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[n,i,s]=sy(e,r);
8return n.forEach(e=>{let r,n=!1,s=!1,o=t=>{r&&(r(t),r=void 0),e.removeEventListener("pointerleave",l)},a=e=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(e))},l=e=>{if("touch"!==e.pointerType){if(n){s=!0;return}o(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||nU.x||nU.y)return;s=!1;let o=t(e,n);"function"==typeof o&&(r=o,e.addEventListener("pointerleave",l,i))},i),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",a,i)},i)}),s}(e,(e,t)=>(sv(this.node,t,"Start"),e=>sv(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends rE{constructor(){super(...arguments),this.removePointerDownListener=ek}onPointerDown(e){this.session=new is(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:it(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:iv(e),onStart:iv(t),onMove:iv(r),onEnd:(e,t)=>{delete this.session,n&&eN.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=ie(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends rE{constructor(e){super(e),this.removeGroupControls=ek,this.removeListeners=ek,this.controls=new im(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ek}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:sg,MeasureLayout:iC},layout:{ProjectionNode:sg,MeasureLayout:iC}},(e,t)=>t.isSVG??rt(e)?new tZ(t):new t7(t,{allowProjection:e!==s.Fragment}));e.s(["motion",0,sk],846932)},88653,e=>{"use strict";e.i(247167);var t=e.i(843476),r=e.i(271645),n=e.i(231178),i=e.i(947414),s=e.i(674008),o=e.i(821476),a=e.i(772846),l=r,c=e.i(737806);function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class h extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,a.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,a.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,a.isHTMLElement)(e)&&e.offsetHeight||0,i=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(i.height),s.width=parseFloat(i.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=r-s.width-s.left,s.bottom=n-s.height-s.top}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:n,anchorX:i,anchorY:s,root:o,pop:a}){let f=(0,l.useId)(),p=(0,l.useRef)(null),A=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:m}=(0,l.useContext)(c.MotionConfigContext),g=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=u(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():u(e[t],null)}}}}(...e),e)}(p,e.props?.ref??e?.ref);return(0,l.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:l,right:c,bottom:u}=A.current;if(n||!1===a||!p.current||!e||!t)return;let h="left"===i?`left: ${l}`:`right: ${c}`,d="bottom"===s?`bottom: ${u}`:`top: ${r}`;p.current.dataset.motionPopId=f;let g=document.createElement("style");m&&(g.nonce=m);let y=o??document.head;return y.appendChild(g),g.sheet&&g.sheet.insertRule(` 9 [data-motion-pop-id="${f}"] { 10 position: absolute !important; 11 width: ${e}px !important; 12 height: ${t}px !important; 13 ${h}px !important; 14 ${d}px !important; 15 } 16 `),()=>{p.current?.removeAttribute("data-motion-pop-id"),y.contains(g)&&y.removeChild(g)}},[n]),(0,t.jsx)(h,{isPresent:n,childRef:p,sizeRef:A,pop:a,children:!1===a?e:l.cloneElement(e,{ref:g})})}let f=({children:e,initial:n,isPresent:s,onExitComplete:a,custom:l,presenceAffectsLayout:c,mode:u,anchorX:h,anchorY:f,root:A})=>
16{let m=(0,i.useConstant)(p),g=(0,r.useId)(),y=!0,v=(0,r.useMemo)(()=>(y=!1,{id:g,initial:n,isPresent:s,custom:l,onExitComplete:e=>{for(let t of(m.set(e,!0),m.values()))if(!t)return;a&&a()},register:e=>(m.set(e,!1),()=>m.delete(e))}),[s,m,a]);return c&&y&&(v={...v}),(0,r.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[s]),r.useEffect(()=>{s||m.size||!a||a()},[s]),e=(0,t.jsx)(d,{pop:"popLayout"===u,isPresent:s,anchorX:h,anchorY:f,root:A,children:e}),(0,t.jsx)(o.PresenceContext.Provider,{value:v,children:e})};function p(){return new Map}var A=e.i(464978);let m=e=>e.key||"";function g(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:o,initial:a=!0,onExitComplete:l,presenceAffectsLayout:c=!0,mode:u="sync",propagate:h=!1,anchorX:d="left",anchorY:p="top",root:y})=>{let[v,b]=(0,A.usePresence)(h),w=(0,r.useMemo)(()=>g(e),[e]),x=h&&!v?[]:w.map(m),S=(0,r.useRef)(!0),C=(0,r.useRef)(w),I=(0,i.useConstant)(()=>new Map),E=(0,r.useRef)(new Set),[R,F]=(0,r.useState)(w),[B,D]=(0,r.useState)(w);(0,s.useIsomorphicLayoutEffect)(()=>{S.current=!1,C.current=w;for(let e=0;e<B.length;e++){let t=m(B[e]);x.includes(t)?(I.delete(t),E.current.delete(t)):!0!==I.get(t)&&I.set(t,!1)}},[B,x.length,x.join("-")]);let P=[];if(w!==R){let e=[...w];for(let t=0;t<B.length;t++){let r=B[t],n=m(r);x.includes(n)||(e.splice(t,0,r),P.push(r))}return"wait"===u&&P.length&&(e=P),D(g(e)),F(w),null}let{forceRender:k}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:B.map(e=>{let r=m(e),n=(!h||!!v)&&(w===B||x.includes(r));return(0,t.jsx)(f,{isPresent:n,initial:(!S.current||!!a)&&void 0,custom:o,presenceAffectsLayout:c,mode:u,root:y,onExitComplete:n?void 0:()=>{if(E.current.has(r)||!I.has(r))return;E.current.add(r),I.set(r,!0);let e=!0;I.forEach(t=>{t||(e=!1)}),e&&(k?.(),D(C.current),h&&b?.(),l&&l())},anchorX:d,anchorY:p,children:e},r)})})}],88653)},501361,e=>{"use strict";var t=e.i(264829);e.s(["getAgentSearchAgent",0,function(e){return{agent_id:String(e.data?.relationnumber??e.objectID),agent_name_display:e.name??""}},"getAgentSearchQueryType",0,function(e,t){return"name"===e?"office_name":/^\s*\d{4}/.test(t)?"postcode":"location"},"trackAgentSearchEvent",0,function(e,r){(0,t.pushDataLayerEvent)({event:e,agent_search:r,page:(0,t.getPageContext)()})},"trackClickFindAgent",0,function(e){(0,t.pushDataLayerEvent)({event:"click_find_agent",click_location:e,page:(0,t.getPageContext)()})}])},600795,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(846932),i=e.i(632137);let s="M 6 9 L 12 15 L 18 9";e.s(["MorphingChevron",0,function(e){let o,a,l,c,u,h=(0,r.c)(10),{open:d,className:f}=e;h[0]!==f?(o=(0,i.cn)("size-6 shrink-0",f),h[0]=f,h[1]=o):o=h[1];let p=d?"M 6 15 L 12 9 L 18 15":s;return h[2]!==p?(a={d:p},h[2]=p,h[3]=a):a=h[3],h[4]===Symbol.for("react.memo_cache_sentinel")?(l={duration:.25,ease:"easeInOut"},h[4]=l):l=h[4],h[5]!==a?(c=(0,t.jsx)(n.motion.path,{initial:!1,d:s,animate:a,transition:l}),h[5]=a,h[6]=c):c=h[6],h[7]!==o||h[8]!==c?(u=(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:o,"aria-hidden":"true",children:c}),h[7]=o,h[8]=c,h[9]=u):u=h[9],u}])},30030,981140,e=>{"use strict";var t=e.i(271645),r=e.i(843476);e.s(["createContextScope",0,function(e,n=[]){let i=[],s=()=>{let r=i.map(e=>t.createContext(e));return function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return s.scopeName=e,[function(n,s){let o=t.createContext(s),a=i.length;i=[...i,s];let l=n=>{let{scope:i,children:s,...l}=n,c=i?.[e]?.[a]||o,u=t.useMemo(()=>l,Object.values(l));return(0,r.jsx)(c.Provider,{value:u,children:s})};return l.displayName=n+"Provider",[l,function(r,i){let l=i?.[e]?.[a]||o,c=t.useContext(l);if(c)return c;if(void 0!==s)return s;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return n.scopeName=r.scopeName,n}
16(s,...n)]}],30030),"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}],981140)},248425,e=>{"use strict";var t=e.i(271645),r=e.i(174080),n=e.i(820783),i=e.i(843476),s=Symbol("radix.slottable");function o(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}var a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var s,a;let l,c,u,h=(a=s=`Primitive.${r}`,(l=t.forwardRef((e,r)=>{let{children:i,...s}=e;if(t.isValidElement(i)){var o;let e,a,l=(o=i,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),c=function(e,t){let r={...t};for(let n in t){let i=e[n],s=t[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...e)=>{let t=s(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...s}:"className"===n&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...e,...r}}(s,i.props);return i.type!==t.Fragment&&(c.ref=r?(0,n.composeRefs)(r,l):l),t.cloneElement(i,c)}return t.Children.count(i)>1?t.Children.only(null):null})).displayName=`${a}.SlotClone`,c=l,(u=t.forwardRef((e,r)=>{let{children:n,...s}=e,a=t.Children.toArray(n),l=a.find(o);if(l){let e=l.props.children,n=a.map(r=>r!==l?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,i.jsx)(c,{...s,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,i.jsx)(c,{...s,ref:r,children:n})})).displayName=`${s}.Slot`,u),d=t.forwardRef((e,t)=>{let{asChild:n,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(n?h:r,{...s,ref:t})});return d.displayName=`Primitive.${r}`,{...e,[r]:d}},{});e.s(["Primitive",0,a,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}],248425)},369340,934620,e=>{"use strict";var t=e.i(271645),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r],934620),t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:i=()=>{},caller:s}){let[o,a,l]=function({defaultProp:e,onChange:r}){let[i,s]=t.useState(e),o=t.useRef(i),a=t.useRef(r);return n(()=>{a.current=r},[r]),t.useEffect(()=>{o.current!==i&&(a.current?.(i),o.current=i)},[i,o]),[i,s,a]}({defaultProp:r,onChange:i}),c=void 0!==e,u=c?e:o;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${s} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=c},[c,s])}return[u,t.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else a(t)},[c,e,a,l])]}],369340)},586318,e=>{"use strict";var t=e.i(271645);e.i(843476);var r=t.createContext(void 0);e.s(["useDirection",0,function(e){let n=t.useContext(r);return e||n||"ltr"}])},296626,e=>{"use strict";var t=e.i(271645),r=e.i(820783),n=e.i(934620),i=e=>{var i;let o,a,{present:l,children:c}=e,u=function(e){var r,i;let[o,a]=t.useState(),l=t.useRef(null),c=t.useRef(e),u=t.useRef("none"),[h,d]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,r));return t.useEffect(()=>{let e=s(l.current);u.current="mounted"===h?e:"none"},[h]),(0,n.useLayoutEffect)(()=>{let t=l.current,r=c.current;if(r!==e){let n=u.current,i=s(t);e?d("MOUNT"):"none"===i||t?.display==="none"?d("UNMOUNT"):r&&n!==i?d("ANIMATION_OUT"):d("UNMOUNT"),c.current=e}},[e,d]),(0,n.useLayoutEffect)(()=>
16{if(o){let e,t=o.ownerDocument.defaultView??window,r=r=>{let n=s(l.current).includes(CSS.escape(r.animationName));if(r.target===o&&n&&(d("ANIMATION_END"),!c.current)){let r=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=r)})}},n=e=>{e.target===o&&(u.current=s(l.current))};return o.addEventListener("animationstart",n),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",n),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(l),h="function"==typeof c?c({present:u.isPresent}):t.Children.only(c),d=(0,r.useComposedRefs)(u.ref,(i=h,(a=(o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?i.ref:(a=(o=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof c||u.isPresent?t.cloneElement(h,{ref:d}):null};function s(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",0,i])},610772,e=>{"use strict";var t=e.i(271645),r=e.i(934620),n=t[" useId ".trim().toString()]||(()=>void 0),i=0;e.s(["useId",0,function(e){let[s,o]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||o(e=>e??String(i++))},[e]),e||(s?`radix-${s}`:"")}])},75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),n=e.i(820783),i=e.i(843476);function s(e){var r;let s,o=(r=e,(s=t.forwardRef((e,r)=>{let{children:i,...s}=e;if(t.isValidElement(i)){var o;let e,a,l=(o=i,(a=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(a=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),c=function(e,t){let r={...t};for(let n in t){let i=e[n],s=t[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...e)=>{let t=s(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...s}:"className"===n&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...e,...r}}(s,i.props);return i.type!==t.Fragment&&(c.ref=r?(0,n.composeRefs)(r,l):l),t.cloneElement(i,c)}return t.Children.count(i)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,s),l=t.forwardRef((e,r)=>{let{children:n,...s}=e,l=t.Children.toArray(n),c=l.find(a);if(c){let e=c.props.children,n=l.map(r=>r!==c?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,i.jsx)(o,{...s,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,i.jsx)(o,{...s,ref:r,children:n})});return l.displayName=`${e}.Slot`,l}var o=Symbol("radix.slottable");function a(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}var l=new WeakMap;function c(e,t){var r,n;let i,s,o;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let a=(r=e,n=t,i=r.length,(o=(s=u(n))>=0?s:i+s)<0||o>=i?-1:o);return -1===a?void 0:e[a]}function u(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),s=this.#e.length,o=u(e),a=o>=0?o:s+o,l=a<0||a>=s?-1:a;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let c=this.size+ +!i;o<0&&a++;let h=[...this.#e],d=!1;for(let e=a;e<c;e++)if(a===e){let s=h[e];h[e]===t&&(s=h[e+1]),i&&this.delete(t),n=this.get(s),this.set(t,r)}else{d||h[e-1]!==t||(d=!0);let r=h[d?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=c(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=c(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return c(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
16n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",0,function(e){let o=e+"CollectionProvider",[a,l]=(0,r.createContextScope)(o),[c,u]=a(o,{collectionRef:{current:null},itemMap:new Map}),h=e=>{let{scope:r,children:n}=e,s=t.default.useRef(null),o=t.default.useRef(new Map).current;return(0,i.jsx)(c,{scope:r,itemMap:o,collectionRef:s,children:n})};h.displayName=o;let d=e+"CollectionSlot",f=s(d),p=t.default.forwardRef((e,t)=>{let{scope:r,children:s}=e,o=u(d,r),a=(0,n.useComposedRefs)(t,o.collectionRef);return(0,i.jsx)(f,{ref:a,children:s})});p.displayName=d;let A=e+"CollectionItemSlot",m="data-radix-collection-item",g=s(A),y=t.default.forwardRef((e,r)=>{let{scope:s,children:o,...a}=e,l=t.default.useRef(null),c=(0,n.useComposedRefs)(r,l),h=u(A,s);return t.default.useEffect(()=>(h.itemMap.set(l,{ref:l,...a}),()=>void h.itemMap.delete(l))),(0,i.jsx)(g,{...{[m]:""},ref:c,children:o})});return y.displayName=A,[{Provider:h,Slot:p,ItemSlot:y},function(r){let n=u(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},l]}],75830)},30207,e=>{"use strict";var t=e.i(271645);e.s(["useCallbackRef",0,function(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}])},726330,e=>{"use strict";var t,r=e.i(271645),n=e.i(981140),i=e.i(248425),s=e.i(820783),o=e.i(30207),a=e.i(843476),l="dismissableLayer.update",c=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),u=r.forwardRef((e,u)=>{let{disableOutsidePointerEvents:f=!1,onEscapeKeyDown:p,onPointerDownOutside:A,onFocusOutside:m,onInteractOutside:g,onDismiss:y,...v}=e,b=r.useContext(c),[w,x]=r.useState(null),S=w?.ownerDocument??globalThis?.document,[,C]=r.useState({}),I=(0,s.useComposedRefs)(u,e=>x(e)),E=Array.from(b.layers),[R]=[...b.layersWithOutsidePointerEventsDisabled].slice(-1),F=E.indexOf(R),B=w?E.indexOf(w):-1,D=b.layersWithOutsidePointerEventsDisabled.size>0,P=B>=F,k=function(e,t=globalThis?.document){let n=(0,o.useCallbackRef)(e),i=r.useRef(!1),s=r.useRef(()=>{});return r.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let r=function(){d("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",s.current),s.current=r,t.addEventListener("click",s.current,{once:!0})):r()}else t.removeEventListener("click",s.current);i.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,r=[...b.branches].some(e=>e.contains(t));P&&!r&&(A?.(e),g?.(e),e.defaultPrevented||y?.())},S),T=function(e,t=globalThis?.document){let n=(0,o.useCallbackRef)(e),i=r.useRef(!1);return r.useEffect(()=>{let e=e=>{e.target&&!i.current&&d("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...b.branches].some(e=>e.contains(t))&&(m?.(e),g?.(e),e.defaultPrevented||y?.())},S);return!function(e,t=globalThis?.document){let n=(0,o.useCallbackRef)(e);r.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{B===b.layers.size-1&&(p?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},S),r.useEffect(()=>{if(w)return f&&(0===b.layersWithOutsidePointerEventsDisabled.size&&(t=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),b.layersWithOutsidePointerEventsDisabled.add(w)),b.layers.add(w),h(),()=>{f&&1===b.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=t)}},[w,S,f,b]),r.useEffect(()=>()=>{w&&(b.layers.delete(w),b.layersWithOutsidePointerEventsDisabled.delete(w),h())},[w,b]),r.useEffect(()=>{let e=()=>C({});return document.addEventListener(l,e),()=>document.removeEventListener(l,e)},[]),(0,a.jsx)(i.Primitive.div,{...v,ref:I,style:{pointerEvents:D?P?"auto":"none":void 0,...e.style},onFocusCapture:(0,n.composeEventHandlers)(e.onFocusCapture,T.onFocusCapture),onBlurCapture:(0,n.composeEventHandlers)(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:(0,n.composeEventHandlers)(e.onPointerDownCapture,k.onPointerDownCapture)})});function h(){let e=new CustomEvent(l);document.dispatchEvent(e)}function d(e,t,r,{discrete:n}){let s=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&s.addEventListener(e,t,{once:!0}),n?(0,i.dispatchDiscreteCustomEvent)(s,o):s.dispatchEvent(o)}u.displayName="DismissableLayer",r.forwardRef((e,t)=>
16{let n=r.useContext(c),o=r.useRef(null),l=(0,s.useComposedRefs)(t,o);return r.useEffect(()=>{let e=o.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,a.jsx)(i.Primitive.div,{...e,ref:l})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",0,u],726330)},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},959411,e=>{"use strict";var t=e.i(271645),r=e.i(248425),n=e.i(843476),i=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),s=t.forwardRef((e,t)=>(0,n.jsx)(r.Primitive.span,{...e,ref:t,style:{...i,...e.style}}));s.displayName="VisuallyHidden",e.s(["Root",0,s,"VISUALLY_HIDDEN_STYLES",0,i])},54943,e=>{"use strict";let t=(0,e.i(475254).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["default",0,t])},555436,e=>{"use strict";var t=e.i(54943);e.s(["Search",()=>t.default])},248256,343432,e=>{"use strict";var t=e.i(475254);let r=(0,t.default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",0,r],248256);let n=(0,t.default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["Phone",0,n],343432)},37727,841947,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",0,t],841947),e.s(["X",0,t],37727)},609663,e=>{"use strict";e.s(["_",0,function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}])},748106,e=>{"use strict";e.s(["_",0,function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}])},127613,e=>{"use strict";var t=e.i(609663);e.s(["_",0,function(e,r){if(e){if("string"==typeof e)return(0,t._)(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,t._)(e,r)}}])},540316,e=>{"use strict";var t=e.i(609663),r=e.i(748106),n=e.i(127613);e.s(["_",0,function(e){return function(e){if(Array.isArray(e))return(0,t._)(e)}(e)||(0,r._)(e)||(0,n._)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}],540316)},574907,e=>{"use strict";var t=(0,e.i(271645).createContext)(null);e.s(["InstantSearchContext",0,t])},356450,e=>{"use strict";e.s(["invariant",0,function(e,t){if(!e)throw Error("Invariant failed")}])},794192,e=>{"use strict";var t=e.i(271645),r=e.i(574907),n=e.i(356450);e.s(["useInstantSearchContext",0,function(){var e=(0,t.useContext)(r.InstantSearchContext);return(0,n.invariant)(null!==e),e}])},285847,e=>{"use strict";var t=e.i(271645),r="u">typeof window?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",0,r])},450907,965245,757875,e=>{"use strict";e.s(["_",0,function(e){if(Array.isArray(e))return e}],450907),e.s(["_",0,function(e,t){var r,n,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var s=[],o=!0,a=!1;try{for(i=i.call(e);!(o=(r=i.next()).done)&&(s.push(r.value),!t||s.length!==t);o=!0);}catch(e){a=!0,n=e}finally{try{o||null==i.return||i.return()}finally{if(a)throw n}}return s}}],965245),e.s(["_",0,function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}],757875)},651682,e=>{"use strict";var t=e.i(450907),r=e.i(965245),n=e.i(757875),i=e.i(127613);e.s(["_",0,function(e,s){return(0,t._)(e)||(0,r._)(e,s)||(0,i._)(e,s)||(0,n._)()}])},120786,299749,92808,e=>{"use strict";function t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}e.s(["_",0,t],299749),e.s(["_",0,function(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
16))),i.forEach(function(r){t(e,r,n[r])})}return e}],120786),e.s(["_",0,function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}],92808)},591104,(e,t,r)=>{"use strict";t.exports="3.29.1"},245808,(e,t,r)=>{function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function s(e){return"object"==typeof e&&null!==e}t.exports=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,r,n,o,a,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||s(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var c=Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(void 0===(r=this._events[e]))return!1;if(i(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),r.apply(this,o)}else if(s(r))for(a=0,o=Array.prototype.slice.call(arguments,1),n=(l=r.slice()).length;a<n;a++)l[a].apply(this,o);return!0},n.prototype.addListener=function(e,t){var r;if(!i(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?s(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,s(this._events[e])&&!this._events[e].warned&&(r=void 0===this._maxListeners?n.defaultMaxListeners:this._maxListeners)&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){if(!i(t))throw TypeError("listener must be a function");var r=!1;function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var r,n,o,a;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(r=this._events[e]).length,n=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(s(r)){for(a=o;a-- >0;
16)if(r[a]===t||r[a].listener&&r[a].listener===t){n=a;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(i(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},951288,(e,t,r)=>{"use strict";t.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},990858,(e,t,r)=>{"use strict";var n=e.r(245808);function i(e,t,r){this.main=e,this.fn=t,this.recommendFn=r,this.lastResults=null,this.lastRecommendResults=null}e.r(951288)(i,n),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},i.prototype.getModifiedRecommendState=function(e){return this.recommendFn(e)},t.exports=i},424195,(e,t,r)=>{"use strict";t.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},743801,(e,t,r)=>{"use strict";function n(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}t.exports=function(e){n(e)||(e={});for(var t=1,r=arguments.length;t<r;t++){var i=arguments[t];n(i)&&function e(t,r){if(t===r)return t;for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)&&"__proto__"!==i&&"constructor"!==i){var s=r[i],o=t[i];(void 0===o||void 0!==s)&&(n(o)&&n(s)?t[i]=e(o,s):t[i]="object"==typeof s&&null!==s?e(Array.isArray(s)?[]:{},s):s)}return t}(e,i)}return e}},517267,(e,t,r)=>{"use strict";t.exports=function(e){return e&&Object.keys(e).length>0}},468900,(e,t,r)=>{"use strict";t.exports=function(e,t){if(null===e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}},444064,(e,t,r)=>{"use strict";function n(e){e=e||{},this.params=e.params||[]}n.prototype={constructor:n,addParams:function(e){var t=this.params.slice();return t.push(e),new n({params:t})},removeParams:function(e){return new n({params:this.params.filter(function(t){return t.$$id!==e})})},addFrequentlyBoughtTogether:function(e){return this.addParams(Object.assign({},e,{model:"bought-together"}))},addRelatedProducts:function(e){return this.addParams(Object.assign({},e,{model:"related-products"}))},addTrendingItems:function(e){return this.addParams(Object.assign({},e,{model:"trending-items"}))},addTrendingFacets:function(e){return this.addParams(Object.assign({},e,{model:"trending-facets"}))},addLookingSimilar:function(e){return this.addParams(Object.assign({},e,{model:"looking-similar"}))},_buildQueries:function(e,t){return this.params.filter(function(e){return void 0===t[e.$$id]}).map(function(t){var r=Object.assign({},t,{indexName:e,threshold:t.threshold||0});return delete r.$$id,r})}},t.exports=n},280511,(e,t,r)=>{"use strict";function n(e,t){this._state=e,this._rawResults={};var r=this;e.params.forEach(function(e){var n=e.$$id;r[n]=t[n],r._rawResults[n]=t[n]})}n.prototype={constructor:n},t.exports=n},491755,(e,t,r)=>{"use strict";var n=e.r(743801);function i(e){return Object.keys(e).sort().reduce(function(t,r){return t[r]=e[r],t},{})}var s={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:s._getHitsSearchParams(t)}
vendor: 2,734 bytes, line 16
16),t.getRefinedDisjunctiveFacets().forEach(function(n){r.push({indexName:e,params:s._getDisjunctiveFacetSearchParams(t,n)})}),t.getRefinedHierarchicalFacets().forEach(function(n){var i=t.getHierarchicalFacetByName(n),o=t.getHierarchicalRefinement(n),a=t._getHierarchicalFacetSeparator(i);if(o.length>0&&o[0].split(a).length>1){var l=o[0].split(a).slice(0,-1).reduce(function(e,t,r){return e.concat({attribute:i.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(a)})},[]);l.forEach(function(n,o){var a=s._getDisjunctiveFacetSearchParams(t,n.attribute,0===o);function c(e){return i.attributes.some(function(t){return t===e.split(":")[0]})}var u=(a.facetFilters||[]).reduce(function(e,t){if(Array.isArray(t)){var r=t.filter(function(e){return!c(e)});r.length>0&&e.push(r)}return"string"!=typeof t||c(t)||e.push(t),e},[]),h=l[o-1];o>0?a.facetFilters=u.concat(h.attribute+":"+h.value):u.length>0?a.facetFilters=u:delete a.facetFilters,r.push({indexName:e,params:a})})}}),r},_getCompositionQueries:function(e){return[{compositionID:e.index,requestBody:{params:s._getCompositionHitsSearchParams(e)}}]},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(s._getHitsHierarchicalFacetsAttributes(e)).sort(),r=s._getFacetFilters(e),o=s._getNumericFilters(e),a=s._getTagFilters(e),l={};return t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),a.length>0&&(l.tagFilters=a),r.length>0&&(l.facetFilters=r),o.length>0&&(l.numericFilters=o),i(n({},e.getQueryParams(),l))},_getCompositionHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets.map(function(t){return e.disjunctiveFacetsRefinements&&e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].length>0?"disjunctive("+t+")":t})).concat(s._getHitsHierarchicalFacetsAttributes(e)).sort(),r=s._getFacetFilters(e),o=s._getNumericFilters(e),a=s._getTagFilters(e),l={};t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),a.length>0&&(l.tagFilters=a),r.length>0&&(l.facetFilters=r),o.length>0&&(l.numericFilters=o);var c=e.getQueryParams();return delete c.highlightPreTag,delete c.highlightPostTag,delete c.index,i(n({},c,l))},_getDisjunctiveFacetSearchParams:function(e,t,r){var o=s._getFacetFilters(e,t,r),a=s._getNumericFilters(e,t),l=s._getTagFilters(e),c={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};l.length>0&&(c.tagFilters=l);var u=e.getHierarchicalFacetByName(t);return u?c.facets=s._getDisjunctiveHierarchicalFacetAttribute(e,u,r):c.facets=t,a.length>0&&(c.numericFilters=a),o.length>0&&(c.facetFilters=o),i(n({},e.getQueryParams(),c))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];return Object.keys(e.numericRefinements).forEach(function(n){var i=e.numericRefinements[n]||{};
16Object.keys(i).forEach(function(e){var s=i[e]||[];t!==n&&s.forEach(function(t){if(Array.isArray(t)){var i=t.map(function(t){return n+e+t});r.push(i)}else r.push(n+e+t)})})}),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],i=e.facetsRefinements||{};Object.keys(i).sort().forEach(function(e){(i[e]||[]).slice().sort().forEach(function(t){n.push(e+":"+t)})});var s=e.facetsExcludes||{};Object.keys(s).sort().forEach(function(e){(s[e]||[]).sort().forEach(function(t){n.push(e+":-"+t)})});var o=e.disjunctiveFacetsRefinements||{};Object.keys(o).sort().forEach(function(e){var r=o[e]||[];if(e!==t&&r&&0!==r.length){var i=[];r.slice().sort().forEach(function(t){i.push(e+":"+t)}),n.push(i)}});var a=e.hierarchicalFacetsRefinements||{};return Object.keys(a).sort().forEach(function(i){var s,o,l=(a[i]||[])[0];if(void 0!==l){var c=e.getHierarchicalFacetByName(i),u=e._getHierarchicalFacetSeparator(c),h=e._getHierarchicalRootPath(c);if(t===i){if(-1===l.indexOf(u)||!h&&!0===r||h&&h.split(u).length===l.split(u).length)return;h?(o=h.split(u).length-1,l=h):(o=l.split(u).length-2,l=l.slice(0,l.lastIndexOf(u))),s=c.attributes[o]}else o=l.split(u).length-1,s=c.attributes[o];s&&n.push([s+":"+l])}}),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(r),s=n.split(i).length,o=r.attributes.slice(0,s+1);return t.concat(o)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var i=e._getHierarchicalRootPath(t),s=0;return i&&(s=i.split(n).length),[t.attributes[s]]}var o=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,o+1)},getSearchForFacetQuery:function(e,t,r,o){var a=o.isDisjunctiveFacet(e)?o.clearRefinements(e):o,l={facetQuery:t,facetName:e};return"number"==typeof r&&(l.maxFacetHits=r),i(n({},s._getHitsSearchParams(a),l))}};t.exports=s},490106,(e,t,r)=>{"use strict";t.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])}),e},{})}},925970,(e,t,r)=>{"use strict";t.exports=function(e,t){if(Array.isArray(e)){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]}}},380953,(e,t,r)=>{"use strict";t.exports=function(e,t){return e.filter(function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n})}},547537,(e,t,r)=>{"use strict";t.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw Error("The value should be a number, a parsable string or an array of those.")}},10632,(e,t,r)=>{"use strict";t.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},405857,(e,t,r)=>{"use strict";var n=e.r(490106),i=e.r(517267),s=e.r(468900),o={addRefinement:function(e,t,r){if(o.isRefined(e,t,r))return e;var i=""+r,s=e[t]?e[t].concat(i):[i],a={};return a[t]=s,n(a,e)},removeRefinement:function(e,t,r){if(void 0===r)return o.clearRefinement(e,function(e,r){return t===r});var n=""+r;return o.clearRefinement(e,function(e,r){return t===r&&n===e})},toggleRefinement:function(e,t,r){if(void 0===r)throw Error("toggleRefinement should be used with a value");return o.isRefined(e,t,r)?o.removeRefinement(e,t,r):o.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return i(e)?{}:e;if("string"==typeof t)return s(e,[t]);if("function"==typeof t){var n=!1,o=Object.keys(e).reduce(function(i,s){var o=e[s]||[],a=o.filter(function(e){return!t(e,s,r)});return a.length!==o.length&&(n=!0),i[s]=a,i},{});return n?o:e}},isRefined:function(e,t,r){var n=!!e[t]&&e[t].length>0;return void 0!==r&&n?-1!==e[t].indexOf(""+r):n}};t.exports=o},871352,(e,t,r)=>{"use strict";var n=e.r(490106),i=e.r(925970),s=e.r(380953),o=e.r(743801),a=e.r(517267),l=e.r(468900),c=e.r(547537),u=e.r(10632),h=e.r(405857);function d(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,r){return d(t[r],e)}):e===t}function f(e){var t=e?f._parseNumbers(e):{};void 0===t.userToken||u(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invali
16d. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach(function(e){var n=-1!==f.PARAMETERS.indexOf(e),i=void 0!==t[e];!n&&i&&(r[e]=t[e])})}function p(e){var t=parseFloat(e);return isFinite(t)?t:null}f.PARAMETERS=Object.keys(new f),f._parseNumbers=function(e){if(e instanceof f)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(r){var n=e[r];if("string"==typeof n){var i=parseFloat(n);isNaN(i)?t[r]=n:isFinite(i)?t[r]=i:t[r]=null}else"number"!=typeof n||isFinite(n)||(t[r]=null)}),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?p(e):"number"!=typeof e||isFinite(e)?e:null}):e})),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach(function(e){var i=n[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?p(e):"number"!=typeof e||isFinite(e)?e:null}):"string"==typeof e?p(e):"number"!=typeof e||isFinite(e)?e:null});r[t][e]=i})}),t.numericRefinements=r}return o(e,t)},f.make=function(e){var t=new f(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),t},f.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&a(r.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):a(e.numericRefinements)&&r.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},f.prototype={constructor:f,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:h.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:h.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:h.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:h.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var n=c(r);if(this.isNumericRefined(e,t,n))return this;var i=o({},this.numericRefinements);return i[e]=o({},i[e]),i[e][t]?(i[e][t]=i[e][t].slice(),i[e][t].push(n)):i[e][t]=[n],this.setQueryParameters({numericRefinements:i})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){return void 0!==r?this.isNumericRefined(e,t,r)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(n,i){return i===e&&n.op===t&&d(n.val,c(r))})}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,n){return n===e&&r.op===t})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(t,r){return r===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return a(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return l(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce(function(n,i){var s=r[i],o={};return Object.keys(s=s||{}
vendor: 6,420 bytes, line 16
16).forEach(function(r){var n=s[r]||[],a=[];n.forEach(function(t){e({val:t,op:r},i,"numeric")||a.push(t)}),a.length!==n.length&&(t=!0),o[r]=a}),n[i]=o,n},{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:h.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:h.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return h.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:h.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(t){return t!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(t){return t!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(t){return t.name!==e})}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:h.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return h.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:h.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return h.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:h.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter(function(t){return t!==e})};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:h.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:h.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:h.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),i={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?i[e]=[]:i[e]=[t.slice(0,t.lastIndexOf(r))]:i[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n(i,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n(r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:n(t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&h.isRef
16ined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&h.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&h.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return!!this.numericRefinements[e];var n,s=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!s)return s;var o=c(r),a=void 0!==(n=this.numericRefinements[e][t],i(n,function(e){return d(e,o)}));return s&&a},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=s(Object.keys(this.numericRefinements).filter(function(t){return Object.keys(e.numericRefinements[t]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(t){return e.disjunctiveFacetsRefinements[t].length>0}).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return s(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(t){return e.hierarchicalFacetsRefinements[t].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(t){return -1===e.indexOf(t)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;return Object.keys(this).forEach(function(n){var i=r[n];-1===e.indexOf(n)&&void 0!==i&&(t[n]=i)}),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=f.validate(this,e);if(t)throw t;var r=this,n=f._parseNumbers(e),i=Object.keys(this).reduce(function(e,t){return e[t]=r[t],e},{}),s=Object.keys(n).reduce(function(e,t){var r=void 0!==e[t],i=void 0!==n[t];return r&&!i?l(e,[t]):(i&&(e[t]=n[t]),e)},i);return new this.constructor(s)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return i(this.hierarchicalFacets,function(t){return t.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},t.exports=f},219211,(e,t,r)=>{"use strict";t.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},956111,(e,t,r)=>{"use strict";t.exports=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}},84285,(e,t,r)=>{"use strict";var n=e.r(925970);t.exports=function(e,t){var r=(t||[]).map(function(e){return e.split(":")});return e.reduce(function(e,t){var i=t.split(":"),s=n(r,function(e){return e[0]===i[0]});return i.length>1||!s?(e[0].push(i[0]),e[1].push(i[1])):(e[0].push(s[0]),e[1].push(s[1])),e},[[],[]])}},544706,(e,t,r)=>{"use strict";t.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(r){var n="number"==typeof e[r]?e[r]:0,i=t[r];void 0!==i&&i>=n&&(void 0!==e[r]&&delete e[r],e[r]=i)}),e},{})}},693023,(e,t,r)=>{"use strict";
16t.exports=function(e,t,r){if(!Array.isArray(e))return[];Array.isArray(r)||(r=[]);var n=e.map(function(e,r){return{criteria:t.map(function(t){return e[t]}),index:r,value:e}});return n.sort(function(e,t){for(var n=-1;++n<e.criteria.length;){var i=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=void 0!==t,s=null===t;if(!s&&e>t||n&&i||!r)return 1;if(!n&&e<t||s&&r||!i)return -1}return 0}(e.criteria[n],t.criteria[n]);if(i){if(n>=r.length)return i;if("desc"===r[n])return-i;return i}}return e.index-t.index}),n.map(function(e){return e.value})}},924721,(e,t,r)=>{"use strict";t.exports=function(e){return function(t,r){var n,c,u,h,d,f=e.hierarchicalFacets[r],p=e.hierarchicalFacetsRefinements[f.name]&&e.hierarchicalFacetsRefinements[f.name][0]||"",A=e._getHierarchicalFacetSeparator(f),m=e._getHierarchicalRootPath(f),g=e._getHierarchicalShowParentLevel(f),y=s(e._getHierarchicalFacetSortBy(f)),v=t.every(function(e){return e.exhaustive}),b=(n=y,c=A,u=m,h=g,d=p,function(e,t,r){var s=e;if(r>0){var f=0;for(s=e;f<r;)s=i(s&&Array.isArray(s.data)?s.data:[],function(e){return e.isRefined}),f++}if(s){var p=Object.keys(t.data).map(function(e){return[e,t.data[e]]}).filter(function(e){var t,r,n,i,o,a;return t=e[0],r=s.path||u,n=d,i=c,o=u,a=h,(!o||0===t.indexOf(o)&&o!==t)&&(!o&&-1===t.indexOf(i)||o&&t.split(i).length-o.split(i).length==1||-1===t.indexOf(i)&&-1===n.indexOf(i)||0===n.indexOf(t)||0===t.indexOf(r+i)&&(a||0===t.indexOf(n)))});s.data=o(p.map(function(e){var r,n,i,s,o,u,h=e[0];return r=e[1],n=h,i=c,s=l(d),o=t.exhaustive,{name:(u=n.split(i))[u.length-1].trim(),path:n,escapedValue:a(n),count:r,isRefined:s===n||0===s.indexOf(n+i),exhaustive:o,data:null}}),n[0],n[1])}return e}),w=t;return m&&(w=t.slice(m.split(A).length)),w.reduce(b,{name:e.hierarchicalFacets[r].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:v,data:null})}};var n=e.r(424195),i=e.r(925970),s=e.r(84285),o=e.r(693023),a=n.escapeFacetValue,l=n.unescapeFacetValue},49778,(e,t,r)=>{"use strict";var n=e.r(219211),i=e.r(490106),s=e.r(424195),o=e.r(925970),a=e.r(956111),l=e.r(84285),c=e.r(544706),u=e.r(693023),h=s.escapeFacetValue,d=s.unescapeFacetValue,f=e.r(924721);function p(e){var t={};return e.forEach(function(e,r){t[e]=r}),t}function A(e,t,r){t&&t[r]&&(e.stats=t[r])}function m(e,t,r){var s=t[0]||{};this._rawResults=t;var l=this;Object.keys(s).forEach(function(e){l[e]=s[e]});var u=i(r,{persistHierarchicalRootCount:!1});Object.keys(u).forEach(function(e){l[e]=u[e]}),this.processingTimeMS=t.reduce(function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS},0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map(function(){return[]}),this.facets=[];var h=e.getRefinedDisjunctiveFacets(),m=p(e.facets),g=p(e.disjunctiveFacets),y=1,v=s.facets||{};Object.keys(v).forEach(function(t){var r=v[t],n=(u=e.hierarchicalFacets,o(u,function(e){return(e.attributes||[]).indexOf(t)>-1}));if(n){var i=n.attributes.indexOf(t),c=a(e.hierarchicalFacets,function(e){return e.name===n.name});l.hierarchicalFacets[c][i]={attribute:t,data:r,exhaustive:s.exhaustiveFacetsCount}}else{var u,h,d=-1!==e.disjunctiveFacets.indexOf(t),f=-1!==e.facets.indexOf(t);d&&(h=g[t],l.disjunctiveFacets[h]={name:t,data:r,exhaustive:s.exhaustiveFacetsCount},A(l.disjunctiveFacets[h],s.facets_stats,t)),f&&(h=m[t],l.facets[h]={name:t,data:r,exhaustive:s.exhaustiveFacetsCount},A(l.facets[h],s.facets_stats,t))}}),this.hierarchicalFacets=n(this.hierarchicalFacets),h.forEach(function(r){var n=t[y],o=n&&n.facets?n.facets:{},u=e.getHierarchicalFacetByName(r);Object.keys(o).forEach(function(t){var r,h=o[t];if(u){r=a(e.hierarchicalFacets,function(e){return e.name===u.name});var f=a(l.hierarchicalFacets[r],function(e){return e.attribute===t});if(-1===f)return;l.hierarchicalFacets[r][f].data=l.persistHierarchicalRootCount?c(l.hierarchicalFacets[r][f].data,h):i(h,l.hierarchicalFacets[r][f].data)}else{r=g[t];var p=s.facets&&s.facets[t]||{};l.disjunctiveFacets[r]={name:t,data:c(p,h),exhaustive:n.exhaustiveFacetsCount},A(l.disjunctiveFacets[r],n.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(n){!l.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(d(n))>-1&&(l.disjunctiveFacets[r].data[n]=0)})}}),y++}
16),e.getRefinedHierarchicalFacets().forEach(function(r){var n=e.getHierarchicalFacetByName(r),s=e._getHierarchicalFacetSeparator(n),o=e.getHierarchicalRefinement(r);0===o.length||o[0].split(s).length<2||t.slice(y).forEach(function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach(function(t){var c=r[t],u=a(e.hierarchicalFacets,function(e){return e.name===n.name}),h=a(l.hierarchicalFacets[u],function(e){return e.attribute===t});if(-1!==h){var d={};if(o.length>0&&!l.persistHierarchicalRootCount){var f=o[0].split(s)[0];d[f]=l.hierarchicalFacets[u][h].data[f]}l.hierarchicalFacets[u][h].data=i(d,c,l.hierarchicalFacets[u][h].data)}}),y++})}),Object.keys(e.facetsExcludes).forEach(function(t){var r=e.facetsExcludes[t],n=m[t];l.facets[n]={name:t,data:v[t],exhaustive:s.exhaustiveFacetsCount},r.forEach(function(e){l.facets[n]=l.facets[n]||{name:t},l.facets[n].data=l.facets[n].data||{},l.facets[n].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(f(e)),this.facets=n(this.facets),this.disjunctiveFacets=n(this.disjunctiveFacets),this._state=e}function g(e,t){var r=o(e,function(e){return e.name===t});return r&&r.stats}function y(e,t,r,n,i){var s=o(i,function(e){return e.name===r}),a=s&&s.data&&s.data[n]?s.data[n]:0;return{type:t,attributeName:r,name:n,count:a,exhaustive:s&&s.exhaustive||!1}}m.prototype.getFacetByName=function(e){function t(t){return t.name===e}return o(this.facets,t)||o(this.disjunctiveFacets,t)||o(this.hierarchicalFacets,t)},m.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],m.prototype.getFacetValues=function(e,t){var r,n=function(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=o(e.facets,r);return n?Object.keys(n.data).map(function(r){var i=h(r);return{name:r,escapedValue:i,count:n.data[r],isRefined:e._state.isFacetRefined(t,i),isExcluded:e._state.isExcludeRefined(t,r)}}):[]}if(e._state.isDisjunctiveFacet(t)){var i=o(e.disjunctiveFacets,r);return i?Object.keys(i.data).map(function(r){var n=h(r);return{name:r,escapedValue:n,count:i.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}}):[]}if(e._state.isHierarchicalFacet(t)){var s=o(e.hierarchicalFacets,r);if(!s)return s;var a=e._state.getHierarchicalFacetByName(t),l=e._state._getHierarchicalFacetSeparator(a),c=d(e._state.getHierarchicalRefinement(t)[0]||"");0===c.indexOf(a.rootPath)&&(c=c.replace(a.rootPath+l,""));var u=c.split(l);return u.unshift(t),function e(t,r,n){t.isRefined=t.name===(r[n]&&r[n].trim()),t.data&&t.data.forEach(function(t){e(t,r,n+1)})}(s,u,0),s}}(this,e);if(n){var s=i(t,{sortBy:m.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),a=this;return r=Array.isArray(n)?[e]:a._state.getHierarchicalFacetByName(n.name).attributes,function e(t,r,n,s){if(s=s||0,Array.isArray(r))return t(r,n[s]);if(!r.data||0===r.data.length)return r;var o=r.data.map(function(r){return e(t,r,n,s+1)});return i({data:t(o,n[s])},r)}(function(e,t){var r,n,i,o,c,h,d,f=a.renderingContent&&a.renderingContent.facetOrdering&&a.renderingContent.facetOrdering.values&&a.renderingContent.facetOrdering.values[t];if(s.facetOrdering&&f)return n=[],i=[],o=f.hide||[],c=(f.order||[]).reduce(function(e,t,r){return e[t]=r,e},{}),e.forEach(function(e){var t=e.path||e.name,r=o.indexOf(t)>-1;r||void 0===c[t]?r||i.push(e):n[c[t]]=e}),n=n.filter(function(e){return e}),"hidden"===(h=f.sortRemainingBy)?n:(r="alpha"===h?[["path","name"],["asc","asc"]]:[["count"],["desc"]],n.concat(u(i,r[0],r[1])));if(Array.isArray(s.sortBy)){var p=l(s.sortBy,m.DEFAULT_SORT),A=u(e,p[0],p[1]),g=f&&f.hide?f.hide:[];if(g.length>0){var y=[];return A.forEach(function(e){var t=e.path||e.name;-1===g.indexOf(t)&&y.push(e)}),y}return A}if("function"==typeof s.sortBy)return d=s.sortBy,e.sort(d);throw Error("options.sortBy is optional but if defined it must be either an array of string (predicates) or a sorting function")},n,r)}},m.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?g(this.facets,e):this._state.isDisjunctiveFacet(e)?g(this.disjunctiveFacets,e):void 0},m.prototype.getRefinements=function(){var e=this._state,t=this,r=[];
16return Object.keys(e.facetsRefinements).forEach(function(n){e.facetsRefinements[n].forEach(function(i){r.push(y(e,"facet",n,i,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(n){e.facetsExcludes[n].forEach(function(i){r.push(y(e,"exclude",n,i,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(n){e.disjunctiveFacetsRefinements[n].forEach(function(i){r.push(y(e,"disjunctive",n,i,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(n){e.hierarchicalFacetsRefinements[n].forEach(function(i){var s,a,l,c,u,h,d,f,p,A,m;r.push((s=e,a=n,l=i,c=t.hierarchicalFacets,u=s.getHierarchicalFacetByName(a),h=s._getHierarchicalFacetSeparator(u),d=l.split(h),f=o(c,function(e){return e.name===a}),A=(p=d.reduce(function(e,t){var r=e&&o(e.data,function(e){return e.name===t});return void 0!==r?r:e},f))&&p.count||0,m=p&&p.exhaustive||!1,{type:"hierarchical",attributeName:a,name:p&&p.path||"",count:A,exhaustive:m}))})}),Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t];Object.keys(n).forEach(function(e){n[e].forEach(function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})})})}),e.tagRefinements.forEach(function(e){r.push({type:"tag",attributeName:"_tags",name:e})}),r},t.exports=m},743423,(e,t,r)=>{t.exports=function(e){return e.reduce(function(e,t){return e.concat(t)},[])}},955945,(e,t,r)=>{"use strict";var n=e.r(925970),i=e.r(743423);t.exports=function(e,t){var r,s,o={};return t.forEach(function(t){t.forEach(function(t,r){e.includes(t.objectID)||(o[t.objectID]?o[t.objectID]={indexSum:o[t.objectID].indexSum+r,count:o[t.objectID].count+1}:o[t.objectID]={indexSum:r,count:1})})}),(r=t.length,s=[],Object.keys(o).forEach(function(e){o[e].count<2&&(o[e].indexSum+=100),s.push({objectID:e,avgOfIndices:o[e].indexSum/r})}),s.sort(function(e,t){return e.avgOfIndices>t.avgOfIndices?1:-1})).reduce(function(e,r){var s=n(i(t),function(e){return e.objectID===r.objectID});return s?e.concat(s):e},[])}},806498,(e,t,r)=>{"use strict";var n=e.r(245808),i=e.r(990858),s=e.r(424195).escapeFacetValue,o=e.r(951288),a=e.r(743801),l=e.r(517267),c=e.r(468900),u=e.r(444064),h=e.r(280511),d=e.r(491755),f=e.r(871352),p=e.r(49778),A=e.r(955945),m=e.r(591104);function g(e,t,r,n){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+m+")"),this.setClient(e);var i=r||{};i.index=t,this.state=f.make(i),this.recommendState=new u({params:i.recommendState}),this.lastResults=null,this.lastRecommendResults=null,this._queryId=0,this._recommendQueryId=0,this._lastQueryIdReceived=-1,this._lastRecommendQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._currentNbRecommendQueries=0,this._searchResultsOptions=n,this._recommendCache={}}function y(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function v(){return this.state.page}o(g,n),g.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},g.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},g.prototype.searchWithComposition=function(){return this._runComposition({onlyWithDerivedHelpers:!0}),this},g.prototype.recommend=function(){return this._recommend(),this},g.prototype.getQuery=function(){var e=this.state;return d._getHitsSearchParams(e)},g.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=d._getQueries(r.index,r),i=this;return(this._currentNbQueries++,this.emit("searchOnce",{state:r}),t)?void this.client.search(n).then(function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(null,new p(r,e.results),r)}).catch(function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(e,null,r)}):this.client.search(n).then(function(e){return i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),{content:new p(r,e.results),state:r,_originalResponse:e}},function(e){throw i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),e})},g.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),i=a({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:c(d._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),s="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(s);var o=this.client.initIndex(n.index);if("function"!=typeof o.findAnswers)throw Error(s);return o.findAnswers(n.query,e.queryLanguages,i)},g.prototype.searchForFacetValues=function(e,t,r,n){var i,o="function"==typeof this.client.searchForFacetValues&&"function"!=typeof this.client.searchForFacets,a="function"==typeof this.client.initIndex;if(!o&&!a&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var l=this.state.setQueryParameters(n||{}),c=l.isDisjunctiveFacet(e),u=d.getSearchForFacetQuery(e,t,r,l);this._currentNbQueries++;var h=this;o?i=this.client.searchForFacetValues([{indexName:l.index,params:u}]):a?i=this.client.initIndex(l.index).searchForFacetValues(u):(delete u.facetName,i=this.client.search([{type:"facet",facet:e,indexName:l.index,params:u}]).then(function(e){return e.results[0]}
vendor: 9,412 bytes, line 16
16)),this.emit("searchForFacetValues",{state:l,facet:e,query:t});var f=this.lastResults&&this.lastResults.index===l.index&&this.lastResults.renderingContent&&this.lastResults.renderingContent.facetOrdering&&this.lastResults.renderingContent.facetOrdering.values&&this.lastResults.renderingContent.facetOrdering.values[e]&&this.lastResults.renderingContent.facetOrdering.values[e].hide||[];return i.then(function(t){return h._currentNbQueries--,0===h._currentNbQueries&&h.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits=t.facetHits.reduce(function(t,r){return f.indexOf(r.value)>-1||(r.escapedValue=s(r.value),r.isRefined=c?l.isDisjunctiveFacetRefined(e,r.escapedValue):l.isFacetRefined(e,r.escapedValue),t.push(r)),t},[]),t},function(e){throw h._currentNbQueries--,0===h._currentNbQueries&&h.emit("searchQueueEmpty"),e})},g.prototype.searchForCompositionFacetValues=function(e,t,r,n){if("function"!=typeof this.client.searchForFacetValues)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues");var i,o=this.state.setQueryParameters(n||{}),a=o.isDisjunctiveFacet(e);this._currentNbQueries++;var l=this;return i=this.client.searchForFacetValues({compositionID:o.index,facetName:e,searchForFacetValuesRequest:{params:{query:t,maxFacetHits:r,searchQuery:d._getCompositionHitsSearchParams(o)}}}),this.emit("searchForFacetValues",{state:o,facet:e,query:t}),i.then(function(t){return l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),(t=t.results[0]).facetHits.forEach(function(t){t.escapedValue=s(t.value),t.isRefined=a?o.isDisjunctiveFacetRefined(e,t.escapedValue):o.isFacetRefined(e,t.escapedValue)}),t},function(e){throw l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),e})},g.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},g.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},g.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},g.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},g.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},g.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},g.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},g.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},g.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},g.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},g.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},g.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},g.prototype.addFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.addFrequentlyBoughtTogether(e)}),this},g.prototype.addRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.addRelatedProducts(e)}),this},g.prototype.addTrendingItems=function(e){return this._recommendChange({state:this.recommendState.addTrendingItems(e)}),this},g.prototype.addTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.addTrendingFacets(e)}),this},g.prototype.addLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.addLookingSimilar(e)}),this},g.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},g.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},g.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},g.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},g.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},g.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},g.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},g.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},g.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},g.prototype.removeFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},g.prototype.removeRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},g.prototype.removeTrendingItems=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},g.prototype.removeTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},g.prototype.removeLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},g.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},g.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},g.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},g.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},g.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},g.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},g.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},g.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},g.prototype.setCurrentPage=y,g.prototype.setPage=y,g.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},g.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},g.prototype.setState=function(e){return this._change({state:f.make(e),isPageReset:!1}),this},g.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new f(e),this},g.prototype.hasRefinements=function(e){return!!l(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},g.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},g.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},g.prototype.hasTag=function(e){return this.state.isTagRefined(e)},g.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},g.prototype.getIndex=function(){return this.state.index},g.prototype.getCurrentPage=v,g.prototype.getPage=v,g.prototype.getTags=function(){return this.state.tagRefinements},g.prototype.getRefinements=function(e){var t=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){t.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"disjunctive"})});var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach(function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})}),t},g.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},g.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},g.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=d._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map(function(e){var n=e.getModifiedState(t),i=n.index?d._getQueries(n.index,n):[];return r.push({state:n,queriesCount:i.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),i}),s=Array.prototype.concat.apply(n,i),o=this._queryId++;if(this._currentNbQueries++,!s.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,r,o));
16try{this.client.search(s).then(this._dispatchAlgoliaResponse.bind(this,r,o)).catch(this._dispatchAlgoliaError.bind(this,o))}catch(e){this.emit("error",{error:e})}},g.prototype._runComposition=function(){var e=this.state,t=[],r=this.derivedHelpers.map(function(r){var n=r.getModifiedState(e),i=d._getCompositionQueries(n);return t.push({state:n,helper:r}),r.emit("search",{state:n,results:r.lastResults}),i}),n=Array.prototype.concat.apply([],r),i=this._queryId++;if(this._currentNbQueries++,!n.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,t,i));if(n.length>1)throw Error("Only one query is allowed when using a composition.");var s=n[0];try{this.client.search(s).then(this._dispatchAlgoliaResponse.bind(this,t,i)).catch(this._dispatchAlgoliaError.bind(this,i))}catch(e){this.emit("error",{error:e})}},g.prototype._recommend=function(){var e=this.state,t=this.recommendState,r=this.getIndex(),n=[{state:t,index:r,helper:this}],i=t.params.map(function(e){return e.$$id});this.emit("fetch",{recommend:{state:t,results:this.lastRecommendResults}});var s=this._recommendCache,o=this.derivedHelpers.map(function(t){var r=t.getModifiedState(e).index;if(!r)return[];var o=t.getModifiedRecommendState(new u);return n.push({state:o,index:r,helper:t}),i=Array.prototype.concat.apply(i,o.params.map(function(e){return e.$$id})),t.emit("fetch",{recommend:{state:o,results:t.lastRecommendResults}}),o._buildQueries(r,s)}),a=Array.prototype.concat.apply(this.recommendState._buildQueries(r,s),o);if(0!==a.length){if(a.length>0&&void 0===this.client.getRecommendations)return void console.warn("Please update algoliasearch/lite to the latest version in order to use recommend widgets.");var l=this._recommendQueryId++;this._currentNbRecommendQueries++;try{this.client.getRecommendations(a).then(this._dispatchRecommendResponse.bind(this,l,n,i)).catch(this._dispatchRecommendError.bind(this,l))}catch(e){this.emit("error",{error:e})}}},g.prototype._dispatchAlgoliaResponse=function(e,t,r){var n=this;if(!(t<this._lastQueryIdReceived)){this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var i=r.results.slice(),s=Object.keys(r).reduce(function(e,t){return"results"!==t&&(e[t]=r[t]),e},{});Object.keys(s).length<=0&&(s=void 0),e.forEach(function(e){var t=e.state,r=e.queriesCount,o=e.helper,a=void 0!==r?i.splice(0,r):i;if(!t.index)return void o.emit("result",{results:null,state:t});if(a.length>0&&a[0].feedID){var l=a.map(function(e){var r=new p(t,[e],n._searchResultsOptions);return void 0!==s&&(r._rawContent=s),r});o.lastResults=new p(t,[a[0]],n._searchResultsOptions),o.lastResults.feeds=l,void 0!==s&&(o.lastResults._rawContent=s)}else o.lastResults=new p(t,a,n._searchResultsOptions),void 0!==s&&(o.lastResults._rawContent=s);o.emit("result",{results:o.lastResults,state:t})})}},g.prototype._dispatchRecommendResponse=function(e,t,r,n){if(!(e<this._lastRecommendQueryIdReceived)){this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty");var i=this._recommendCache,s={};r.filter(function(e){return void 0===i[e]}).forEach(function(e,t){s[e]||(s[e]=[]),s[e].push(t)}),Object.keys(s).forEach(function(e){var t=s[e],o=n.results[t[0]];if(1===t.length){i[e]=o;return}i[e]=Object.assign({},o,{hits:A(r,t.map(function(e){return n.results[e].hits}))})});var o={};r.forEach(function(e){o[e]=i[e]}),t.forEach(function(e){var t=e.state,r=e.helper;e.index?(r.lastRecommendResults=new h(t,o),r.emit("recommend:result",{recommend:{results:r.lastRecommendResults,state:t}})):r.emit("recommend:result",{results:null,state:t})})}},g.prototype._dispatchAlgoliaError=function(e,t){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},g.prototype._dispatchRecommendError=function(e,t){e<this._lastRecommendQueryIdReceived||(this._currentNbRecommendQueries-=e-this._lastRecommendQueryId
16Received,this._lastRecommendQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty"))},g.prototype.containsRefinement=function(e,t,r,n){return e||0!==t.length||0!==r.length||0!==n.length},g.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},g.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},g.prototype._recommendChange=function(e){var t=e.state;t!==this.recommendState&&(this.recommendState=t,this.emit("recommend:change",{search:{results:this.lastResults,state:this.state},recommend:{results:this.lastRecommendResults,state:this.recommendState}}))},g.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},g.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+m+")"),this.client=e),this},g.prototype.getClient=function(){return this.client},g.prototype.derive=function(e,t){var r=new i(this,e,t);return this.derivedHelpers.push(r),r},g.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},g.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},t.exports=g},865512,(e,t,r)=>{"use strict";var n=e.r(806498),i=e.r(444064),s=e.r(280511),o=e.r(871352),a=e.r(49778);function l(e,t,r,i){return new n(e,t,r,i)}l.version=e.r(591104),l.AlgoliaSearchHelper=n,l.SearchParameters=o,l.RecommendParameters=i,l.SearchResults=a,l.RecommendResults=s,t.exports=l},840209,972872,e=>{"use strict";var t=e.i(120786),r=e.i(92808),n=e.i(865512);function i(e){var t,r,i;return new n.default.SearchResults(e,[{query:null!=(t=e.query)?t:"",page:null!=(r=e.page)?r:0,hitsPerPage:null!=(i=e.hitsPerPage)?i:20,hits:[],nbHits:0,nbPages:0,params:"",exhaustiveNbHits:!0,exhaustiveFacetsCount:!0,processingTimeMS:0,index:e.index}],{__isArtificial:!0})}e.s(["getIndexSearchResults",0,function(e){var n=e.getHelper(),s=e.getResults()||i(n.state),o=e.getScopedResults().map(function(n){var o=n.indexId===e.getIndexId()?s:i(n.helper.state);return(0,r._)((0,t._)({},n),{results:n.results||o})});return{results:s,scopedResults:o,recommendResults:n.lastRecommendResults}}],840209);var s=(0,e.i(271645).createContext)(null);e.s(["IndexContext",0,s],972872)},41662,e=>{"use strict";var t=e.i(271645),r=e.i(972872),n=e.i(356450);e.s(["useIndexContext",0,function(){var e=(0,t.useContext)(r.IndexContext);return(0,n.invariant)(null!==e),e}])},986838,e=>{"use strict";var t=e.i(216211);function r(e){return e instanceof Error&&"AbortError"===e.name}function n(e,t){return r(e)?t:e instanceof Error?e.message:"Network request failed"}function i(e={serializable:!0}){let t={};return{get(r,n,i={miss:()=>Promise.resolve()}){let s=JSON.stringify(r);if(s in t)return Promise.resolve(e.serializable?JSON.parse(t[s]):t[s]);let o=n();return o.then(e=>i.miss(e)).then(()=>o)},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function s(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}var o=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},a=class extends o{stackTrace;constructor(e,t,r){super(e,r),this.stackTrace=t}},l=class extends a{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please visit our help center https://alg.li/support-unreachable-hosts or reach out to the Algolia Support team: https://alg.li/support",e,"RetryError")}},c=class extends a{status;constructor(e,t,r,n="ApiError"){super(e,r,n),this.status=t}},u=class extends o{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},h=class extends c{error;constructor(e,t,r,n){super(e,t,n,"DetailedApiError"),this.error=r}};function d(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}var f="5.52.1";e.s(["createAlgoliaSearchClient",0,function(e=!0){return function(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");let{compression:n,...o}=r||{};return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...i}){let o=function(e,t,r="WithinHeaders"){let n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?n:{},queryParameters:()=>"WithinQueryParameters"===r?n:{}}}(e,t,r),a=function({hosts:e,hostsCache:t,baseHeaders:r,logger:n,baseQueryParameters:i,algoliaAgent:o,timeouts:a,requester:f,requestsCache:p,responsesCache:A,compress:m,compression:g}){async function y(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(s(e))))),n=r.filter(e=>e.isUp()),i=r.filter(e=>e.isTimedOut()),o=[...n,...i];return{hosts:o.length>0?o:e,getTimeout:(e,t)=>(0===i.length&&0===e?1:i.length+3+e)*t}}async function v(p,A,v){var b,w;let x,S,C=[],I=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}(p,A),E=(b=p.headers,w=A.headers,x={Accept:"application/json",...r,...b,...w},S={}
16,Object.keys(x).forEach(e=>{let t=x[e];S[e.toLowerCase()]=t}),S),R="gzip"===g&&void 0!==I&&I.length>750&&("POST"===p.method||"PUT"===p.method);R&&void 0===m&&n.info("Compression is disabled because no compress method is available.");let F=R&&void 0!==m,B=F?await m(I):I;F&&(E["content-encoding"]="gzip");let D="GET"===p.method?{...p.data,...A.data}:{},P={...i,...p.queryParameters,...D};if(o.value&&(P["x-algolia-agent"]=o.value),A&&A.queryParameters)for(let e of Object.keys(A.queryParameters))A.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(A.queryParameters[e])?P[e]=A.queryParameters[e].toString():P[e]=A.queryParameters[e];let k=0,T=async(e,r)=>{var i,o;let m,g,y=e.pop();if(void 0===y)throw new l(C.map(e=>d(e)));let b={...a,...A.timeouts},w={data:B,headers:E,method:p.method,url:(o=p.path,m=Object.keys(i=P).filter(e=>void 0!==i[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(i[e])?i[e].join(","):i[e]).replace(/\+/g,"%20")}`).join("&"),g=`${y.protocol}://${y.url}${y.port?`:${y.port}`:""}/${"/"===o.charAt(0)?o.substring(1):o}`,m.length&&(g+=`?${m}`),g),connectTimeout:r(k,b.connect),responseTimeout:r(k,v?b.read:b.write)},x=t=>{let r={request:w,response:t,host:y,triesLeft:e.length};return C.push(r),r},S=await f.send(w);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(S)){let i=x(S);return S.isTimedOut&&k++,n.info("Retryable failure",d(i)),await t.set(y,s(y,S.isTimedOut?"timed out":"down")),T(e,r)}if(function({status:e}){return 2==~~(e/100)}(S)){try{return JSON.parse(S.content)}catch(e){throw new u(e.message,S)}}throw x(S),function({content:e,status:t},r){try{let n=JSON.parse(e);if("error"in n)return new h(n.message,t,n.error,r);return new c(n.message,t,r)}catch{}return new c(e,t,r)}(S,C)},O=e.filter(e=>"readWrite"===e.accept||(v?"read"===e.accept:"write"===e.accept)),j=await y(O);return T([...j.hosts].reverse(),j.getTimeout)}return{hostsCache:t,requester:f,timeouts:a,logger:n,algoliaAgent:o,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){let n=e.useReadTransporter||"GET"===e.method;if(!0!==(t.cacheable||e.cacheable))return v(e,t,n);let s={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return A.get(s,()=>p.get(s,()=>p.set(s,v(e,t,n)).then(e=>Promise.all([p.delete(s),e]),e=>Promise.all([p.delete(s),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>A.set(s,e)})},requestsCache:p,responsesCache:A}}({hosts:[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(function(e){for(let t=e.length-1;t>0;t--){let r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}])),...i,algoliaAgent:function({algoliaAgents:e,client:t,version:r}){let n,i=(n={value:`Algolia for JavaScript (${r})`,add(e){let t=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===n.value.indexOf(t)&&(n.value=`${n.value}${t}`),n}}).add({segment:t,version:r});return e.forEach(e=>i.add(e)),i}({algoliaAgents:n,client:"Lite",version:f}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>void 0),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(e,t){a.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?a.baseQueryParameters["x-algolia-api-key"]=e:a.baseHeaders["x-algolia-api-key"]=e},searchForHits(e,t){return this.search(e,t)},searchForFacets(e,t){return this.search(e,t)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return a.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},getRecommendations(e,t){if(e&&Array.isArray(e)&&(e={requests:e}),!e)throw Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!e.requests)throw Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");let r={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return a.request(r,t)},search(e,t){if(e&&Array.isArray(e)&&(e={requests:e.map(({params:e,...t})=>"facet"===t.type?{...t,...e,type:"facet"}:{...t,...e,facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}),!e)throw Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw Error("Parameter `searchMethodParams.requests` is required when calling `search`.");let r={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return a.request(r,t)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>
16Promise.resolve()},requester:{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let n=(e,n)=>setTimeout(()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})},e),i=n(e.connectTimeout,"Connection timeout"),s;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===s&&(clearTimeout(i),s=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(i),clearTimeout(s),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(i),clearTimeout(s),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}},algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:i(),requestsCache:i({serializable:!1}),hostsCache:function e(t){let r=[...t.caches],n=r.shift();return void 0===n?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(t,i,s={miss:()=>Promise.resolve()})=>n.get(t,i,s).catch(()=>e({caches:r}).get(t,i,s)),set:(t,i)=>n.set(t,i).catch(()=>e({caches:r}).set(t,i)),delete:t=>n.delete(t).catch(()=>e({caches:r}).delete(t)),clear:()=>n.clear().catch(()=>e({caches:r}).clear())}}({caches:[function(e){let t,r=`algolia-client-js-${e.key}`;function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function i(){return JSON.parse(n().getItem(r)||"{}")}function s(e){n().setItem(r,JSON.stringify(e))}return{get:(t,r,n={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>{let r,n;return r=e.timeToLive?1e3*e.timeToLive:null,s(n=Object.fromEntries(Object.entries(i()).filter(([,e])=>void 0!==e.timestamp))),r&&s(Object.fromEntries(Object.entries(n).filter(([,e])=>{let t=new Date().getTime();return!(e.timestamp+r<t)}))),i()[JSON.stringify(t)]}).then(e=>Promise.all([e?e.value:r(),void 0!==e])).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve().then(()=>{let s=i();return s[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},n().setItem(r,JSON.stringify(s)),t}),delete:e=>Promise.resolve().then(()=>{let t=i();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{n().removeItem(r)})}}({key:`${f}-${e}`}),i()]}),...o})}(t.NEXT_PUBLIC_ALGOLIA_APPLICATION_ID,t.NEXT_PUBLIC_ALGOLIA_SEARCH_API_KEY,{requester:function({requesterOptions:e={}}={}){return{send:async function(t){let i=new AbortController,s=i.signal,o=e=>setTimeout(()=>{i.abort()},e),a=o(t.connectTimeout),l;try{l=await fetch(t.url,{method:t.method,body:t.data||null,redirect:"manual",signal:s,...e,headers:{...e.headers,...t.headers}})}catch(e){return{status:0,content:n(e,"Connection timeout"),isTimedOut:r(e)}}clearTimeout(a),o(t.responseTimeout);try{return{content:await l.text(),isTimedOut:!1,status:l.status}}catch(e){return{status:0,content:n(e,"Socket timeout"),isTimedOut:r(e)}}}}}()})}],986838)},610770,e=>{"use strict";var t=e.i(500075);e.s(["isPlainObject",0,function(e){if((void 0===e?"undefined":(0,t._)(e))!=="object"||null===e||"[object Object]"!==(null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var r=e;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}])},500075,993270,e=>{"use strict";e.s(["_",0,function(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}],500075),e.s(["createDocumentationMessageGenerator",0,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.map(function(e){var t;return"https://www.algolia.com/doc/api-reference/widgets/"+e.name+"/js/"+(void 0!==(t=e.connector)&&t?"#connector":"")}).join(", ");return function(e){return[e,"See documentation: ".concat(n)].filter(Boolean).join("\n\n")}}],993270)},233027,e=>{"use strict";e.s(["_",0,function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)r=s[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}],233027)},221024,e=>{"use strict";e.s(["noop",0,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}])},112344,498587,e=>{"use strict";var t=e.i(450907),r=e.i(748106),n=e.i(757875),i=e.i(127613);e.s(["_",0,function(e){return(0,t._)(e)||(0,r._)(e)||(0,i._)(e)||(0,n._)()}],112344);var s=e.i(500075),o=Object.prototype.hasOwnProperty;e.s(["dequal",0,function e(t,r,n){var i,a;if((null==n?void 0:n(t,r))||t===r)return!0;
16if(t&&r&&(i=t.constructor)===r.constructor){if(i===Date)return t.getTime()===r.getTime();if(i===RegExp)return t.toString()===r.toString();if(i===Array){if((a=t.length)===r.length)for(;a--&&e(t[a],r[a],n););return -1===a}if(!i||(void 0===t?"undefined":(0,s._)(t))==="object"){for(i in a=0,t)if(o.call(t,i)&&++a&&!o.call(r,i)||!(i in r)||!e(t[i],r[i],n))return!1;return Object.keys(r).length===a}}return t!=t&&r!=r}],498587)},663451,903738,430311,84227,89122,771865,e=>{"use strict";var t=e.i(271645),r=(0,t.createContext)(null);e.s(["useInstantSearchServerContext",0,function(){return(0,t.useContext)(r)}],663451);var n=(0,t.createContext)(null);e.s(["InstantSearchSSRContext",0,n],903738),e.s(["useInstantSearchSSRContext",0,function(){return(0,t.useContext)(n)}],430311);var i=e.i(651682),s=e.i(498587);e.s(["useStableValue",0,function(e){var r=(0,i._)((0,t.useState)(function(){return e}),2),n=r[0],o=r[1];return(0,s.dequal)(n,e)||o(e),n}],84227),e.s(["isTwoPassWidget",0,function(e){return"ais.dynamicWidgets"===e.$$type||"ais.feeds"===e.$$type}],89122);var o=t.use;e.s(["use",0,o],771865)},667291,246633,107052,e=>{"use strict";var t=e.i(120786),r=e.i(233027),n=e.i(651682),i=e.i(112344),s=e.i(271645),o=e.i(498587),a=e.i(840209),l=e.i(41662),c=e.i(794192),u=e.i(663451),h=e.i(430311),d=e.i(84227),f=e.i(89122),p=e.i(771865),A=e.i(285847),m=(0,s.createContext)({countRef:{current:0},waitForResultsRef:null,ignoreMultipleHooksWarning:!1});function g(){return(0,s.useContext)(m)}e.s(["InstantSearchRSCContext",0,m],246633),e.s(["useRSCContext",0,g],107052),e.s(["useConnector",0,function(e){var m,y,v,b,w,x,S,C,I,E,R,F,B,D,P,k,T,O=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,j=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,N=(0,i._)([O,j]),_=N[0],M=N.slice(1),Q=(0,n._)(M,1)[0],W=void 0===Q?{}:Q,L=W.skipSuspense,H=(0,r._)(W,["skipSuspense"]),U=(0,u.useInstantSearchServerContext)(),G=(0,h.useInstantSearchSSRContext)(),K=(0,c.useInstantSearchContext)(),V=(0,l.useIndexContext)(),Y=(0,d.useStableValue)(void 0===_?{}:_),J=(0,d.useStableValue)(H),Z=(0,s.useRef)(!0),q=(0,s.useRef)(null),X=(0,s.useRef)(K.status),z=(0,s.useMemo)(function(){var n=e(function(e,t){if(t){Z.current=!0;return}if(Z.current){var n=e.instantSearchInstance;e.widgetParams;var i=(0,r._)(e,["instantSearchInstance","widgetParams"]);(0,o.dequal)(i,q.current,function(e,t){return(null==e?void 0:e.constructor)===Function&&(null==t?void 0:t.constructor)===Function})&&n.status===X.current||(et(i),q.current=i,X.current=n.status)}},function(){Z.current=!1});return(0,t._)({},n(Y),J)},[e,Y,J]),$=(0,n._)((0,s.useState)(function(){if(z.getWidgetRenderState){var e,t=V.getHelper(),n=V.getWidgetUiState({})[V.getIndexId()];t.state=(null==(e=z.getWidgetSearchParameters)?void 0:e.call(z,t.state,{uiState:n}))||t.state;var i=(0,a.getIndexSearchResults)(V),s=i.results,o=i.scopedResults,l=i.recommendResults,c=z.getWidgetRenderState({helper:t,parent:V,instantSearchInstance:K,results:"recommend"===z.dependsOn&&l&&G?l[G.recommendIdx.current++]:s,scopedResults:o,state:t.state,renderState:K.renderState,templatesConfig:K.templatesConfig,createURL:V.createURL,searchMetadata:{isSearchStalled:"stalled"===K.status},status:K.status,error:K.error});return c.widgetParams,(0,r._)(c,["widgetParams"])}return{}}),2),ee=$[0],et=$[1];return w=(m={widget:z,parentIndex:V,props:Y,shouldSsr:!!U,skipSuspense:void 0!==L&&L}).widget,x=m.parentIndex,S=m.props,C=m.shouldSsr,I=m.skipSuspense,R=(E=g()).waitForResultsRef,F=E.countRef,E.ignoreMultipleHooksWarning,B=(0,s.useRef)(S),(0,s.useEffect)(function(){B.current=S},[S]),D=(0,s.useRef)(w),(0,s.useEffect)(function(){D.current=w},[w]),P=(0,s.useRef)(null),k=C&&!x.getWidgets().includes(w),T=(0,c.useInstantSearchContext)(),(0,A.useIsomorphicLayoutEffect)(function(){var e=D.current;return P.current?(clearTimeout(P.current),(0,o.dequal)(S,B.current)||(x.removeWidgets([e]),x.addWidgets([w]))):C||x.addWidgets([w]),function(){P.current=setTimeout(function(){T._schedule(function(){T._preventWidgetCleanup||x.removeWidgets([e])})})}},[x,w,C,T,S]),(k||(null==R||null==(y=R.current)?void 0:y.status)==="pending")&&x.addWidgets([w]),(null==R?void 0:R.current)&&!I&&((0,p.use)(R.current),!(0,f.isTwoPassWidget)(w)&&(null==(b=T.helper)?void 0:b.lastResults)&&(0,p.use)(R.current)),(null==R||null==(v=R.current)?void 0:v.status)==="fulfilled"&&(F.current+=1),ee}
16],667291)},292955,780646,e=>{"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.s(["_",0,function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}],292955),e.s(["_",0,function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}],780646)},8224,(e,t,r)=>{"use strict";t.exports=TypeError},52493,(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,s=n&&i&&"function"==typeof i.get?i.get:null,o=n&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=a&&l&&"function"==typeof l.get?l.get:null,u=a&&Set.prototype.forEach,h="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,d="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,A=Object.prototype.toString,m=Function.prototype.toString,g=String.prototype.match,y=String.prototype.slice,v=String.prototype.replace,b=String.prototype.toUpperCase,w=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,C=Array.prototype.join,I=Array.prototype.slice,E=Math.floor,R="function"==typeof BigInt?BigInt.prototype.valueOf:null,F=Object.getOwnPropertySymbols,B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,D="function"==typeof Symbol&&"object"==typeof Symbol.iterator,P="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===D?"object":"symbol")?Symbol.toStringTag:null,k=Object.prototype.propertyIsEnumerable,T=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function O(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-E(-e):E(e);if(n!==e){var i=String(n),s=y.call(t,i.length+1);return v.call(i,r,"$&_")+"."+v.call(v.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,r,"$&_")}var j={},N=j.custom,_=G(N)?N:null,M={__proto__:null,double:'"',single:"'"},Q={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function W(e,t,r){var n=M[r.quoteStyle||t];return n+e+n}function L(e){return!P||!("object"==typeof e&&(P in e||void 0!==e[P]))}function H(e){return"[object Array]"===Y(e)&&L(e)}function U(e){return"[object RegExp]"===Y(e)&&L(e)}function G(e){if(D)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!B)return!1;try{return B.call(e),!0}catch(e){}return!1}t.exports=function t(r,n,i,a){var l,A,b,x,E,F=n||{};if(V(F,"quoteStyle")&&!V(M,F.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(V(F,"maxStringLength")&&("number"==typeof F.maxStringLength?F.maxStringLength<0&&F.maxStringLength!==1/0:null!==F.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var N=!V(F,"customInspect")||F.customInspect;if("boolean"!=typeof N&&"symbol"!==N)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(F,"indent")&&null!==F.indent&&" "!==F.indent&&!(parseInt(F.indent,10)===F.indent&&F.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(F,"numericSeparator")&&"boolean"!=typeof F.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var K=F.numericSeparator;if(void 0===r)return"undefined";if(null===r)return"null";if("boolean"==typeof r)return r?"true":"false";if("string"==typeof r)return function e(t,r){if(t.length>r.maxStringLength){var n=t.length-r.maxStringLength;return e(y.call(t,0,r.maxStringLength),r)+("... "+n)+" more character"+(n>1?"s":"")}var i=Q[r.quoteStyle||"single"];return i.lastIndex=0,W(v.call(v.call(t,i,"\\$1"),/[\x00-\x1f]/g,Z),"single",r)}(r,F);if("number"==typeof r){if(0===r)return 1/0/r>0?"0":"-0";var et=String(r);return K?O(r,et):et}if("bigint"==typeof r){var er=String(r)+"n";return K?O(r,er):er}var en=void 0===F.depth?5:F.depth;if(void 0===i&&(i=0),i>=en&&en>0&&"object"==typeof r)return H(r)?"[Array]":"[Object]";var ei=function(e,t){var r;if(" "===e.indent)r=" ";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=C.call(Array(e.indent+1)," ")}return{base:r,prev:C.call(Array(t+1),r)}}(F,i);if(void 0===a)a=[];else if(J(a,r)>=0)return"[Circular]";
16function es(e,r,n){if(r&&(a=I.call(a)).push(r),n){var s={depth:F.depth};return V(F,"quoteStyle")&&(s.quoteStyle=F.quoteStyle),t(e,s,i+1,a)}return t(e,F,i+1,a)}if("function"==typeof r&&!U(r)){var eo=function(e){if(e.name)return e.name;var t=g.call(m.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(r),ea=ee(r,es);return"[Function"+(eo?": "+eo:" (anonymous)")+"]"+(ea.length>0?" { "+C.call(ea,", ")+" }":"")}if(G(r)){var el=D?v.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):B.call(r);return"object"!=typeof r||D?el:q(el)}if((ec=r)&&"object"==typeof ec&&("u">typeof HTMLElement&&ec instanceof HTMLElement||"string"==typeof ec.nodeName&&"function"==typeof ec.getAttribute)){for(var ec,eu,eh="<"+w.call(String(r.nodeName)),ed=r.attributes||[],ef=0;ef<ed.length;ef++){eh+=" "+ed[ef].name+"="+W((eu=ed[ef].value,v.call(String(eu),/"/g,""")),"double",F)}return eh+=">",r.childNodes&&r.childNodes.length&&(eh+="..."),eh+="</"+w.call(String(r.nodeName))+">"}if(H(r)){if(0===r.length)return"[]";var ep=ee(r,es);return ei&&!function(e){for(var t=0;t<e.length;t++)if(J(e[t],"\n")>=0)return!1;return!0}(ep)?"["+$(ep,ei)+"]":"[ "+C.call(ep,", ")+" ]"}if("[object Error]"===Y(l=r)&&L(l)){var eA=ee(r,es);return"cause"in Error.prototype||!("cause"in r)||k.call(r,"cause")?0===eA.length?"["+String(r)+"]":"{ ["+String(r)+"] "+C.call(eA,", ")+" }":"{ ["+String(r)+"] "+C.call(S.call("[cause]: "+es(r.cause),eA),", ")+" }"}if("object"==typeof r&&N){if(_&&"function"==typeof r[_]&&j)return j(r,{depth:en-i});else if("symbol"!==N&&"function"==typeof r.inspect)return r.inspect()}if(function(e){if(!s||!e||"object"!=typeof e)return!1;try{s.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(r)){var em=[];return o&&o.call(r,function(e,t){em.push(es(t,r,!0)+" => "+es(e,r))}),z("Map",s.call(r),em,ei)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{s.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(r)){var eg=[];return u&&u.call(r,function(e){eg.push(es(e,r))}),z("Set",c.call(r),eg,ei)}if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(r))return X("WeakMap");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(r))return X("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(r))return X("WeakRef");if("[object Number]"===Y(A=r)&&L(A))return q(es(Number(r)));if(function(e){if(!e||"object"!=typeof e||!R)return!1;try{return R.call(e),!0}catch(e){}return!1}(r))return q(es(R.call(r)));if("[object Boolean]"===Y(b=r)&&L(b))return q(p.call(r));if("[object String]"===Y(x=r)&&L(x))return q(es(String(r)));if("u">typeof window&&r===window)return"{ [object Window] }";if("u">typeof globalThis&&r===globalThis||r===e.g)return"{ [object globalThis] }";if(!("[object Date]"===Y(E=r)&&L(E))&&!U(r)){var ey=ee(r,es),ev=T?T(r)===Object.prototype:r instanceof Object||r.constructor===Object,eb=r instanceof Object?"":"null prototype",ew=!ev&&P&&Object(r)===r&&P in r?y.call(Y(r),8,-1):eb?"Object":"",ex=(ev||"function"!=typeof r.constructor?"":r.constructor.name?r.constructor.name+" ":"")+(ew||eb?"["+C.call(S.call([],ew||[],eb||[]),": ")+"] ":"");return 0===ey.length?ex+"{}":ei?ex+"{"+$(ey,ei)+"}":ex+"{ "+C.call(ey,", ")+" }"}return String(r)};var K=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return K.call(e,t)}function Y(e){return A.call(e)}function J(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}function Z(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+b.call(t.toString(16))}function q(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function z(e,t,r,n){return e+" ("+t+") {"+(n?$(r,n):C.call(r,", "))+"}"}function $(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+C.call(e,","+r)+"\n"+t.prev}function ee(e,t){var r,n=H(e),i=[];if(n){i.length=e.length;for(var s=0;s<e.length;s++)i[s]=V(e,s)?t(e[s],e):""}var o="function"==typeof F?F(e):[];if(D){r={};for(var a=0;a<o.length;a++)r["$"+o[a]]=o[a]}for(var l in e)if(V(e,l)&&(!n||String(Number(l))!==l||!(l<e.length)))if(D&&r["$"+l]instanceof Symbol)continue;else x.call(/[^\w$]/,l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e));if("function"==typeof F)for(var c=0;c<o.length;c++)k.call(e,o[c])&&i.push("["+t(o[c])+"]: "+t(e[o[c]],e));return i}},491455,(e,t,r)=>{"use strict";var n=e.r(52493),i=e.r(8224),s=function(e,t,r){for(var n,i=e;null!=(n=i.next);i=n)if(n.key===t)return i.next=n.next,r||(n.next=e.next,e.next=n),n},o=function(e,t){if(e){var r=s(e,t);return r&&r.value}},a=function(e,t,r){var n=s(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},l=function(e,t){if(e)return s(e,t,!0)};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+n(e))},delete:function(t){var r=l(e,t);return r&&e&&!e.next&&(e=void 0),!!r},get:function(t){return o(e,t)},has:function(t){var r;return!!(r=e)&&!!s(r,t)},set:function(t,r){e||(e={next:void 0}),a(e,t,r)}};return t}},608435,(e,t,r)=>{"use strict";
16t.exports=Object},639857,(e,t,r)=>{"use strict";t.exports=Error},974660,(e,t,r)=>{"use strict";t.exports=EvalError},930575,(e,t,r)=>{"use strict";t.exports=RangeError},265756,(e,t,r)=>{"use strict";t.exports=ReferenceError},143e3,(e,t,r)=>{"use strict";t.exports=SyntaxError},420570,(e,t,r)=>{"use strict";t.exports=URIError},860410,(e,t,r)=>{"use strict";t.exports=Math.abs},692069,(e,t,r)=>{"use strict";t.exports=Math.floor},400315,(e,t,r)=>{"use strict";t.exports=Math.max},869897,(e,t,r)=>{"use strict";t.exports=Math.min},755752,(e,t,r)=>{"use strict";t.exports=Math.pow},156056,(e,t,r)=>{"use strict";t.exports=Math.round},280407,(e,t,r)=>{"use strict";t.exports=Number.isNaN||function(e){return e!=e}},159532,(e,t,r)=>{"use strict";var n=e.r(280407);t.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},267359,(e,t,r)=>{"use strict";t.exports=Object.getOwnPropertyDescriptor},593892,(e,t,r)=>{"use strict";var n=e.r(267359);if(n)try{n([],"length")}catch(e){n=null}t.exports=n},123775,(e,t,r)=>{"use strict";var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch(e){n=!1}t.exports=n},651739,(e,t,r)=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},130949,(e,t,r)=>{"use strict";var n="u">typeof Symbol&&Symbol,i=e.r(651739);t.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},675672,(e,t,r)=>{"use strict";t.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},343264,(e,t,r)=>{"use strict";t.exports=e.r(608435).getPrototypeOf||null},277018,(e,t,r)=>{"use strict";var n=Object.prototype.toString,i=Math.max,s=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r},o=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r},a=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};t.exports=function(e){var t,r=this;if("function"!=typeof r||"[object Function]"!==n.apply(r))throw TypeError("Function.prototype.bind called on incompatible "+r);for(var l=o(arguments,1),c=i(0,r.length-l.length),u=[],h=0;h<c;h++)u[h]="$"+h;if(t=Function("binder","return function ("+a(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof t){var n=r.apply(this,s(l,arguments));return Object(n)===n?n:this}return r.apply(e,s(l,arguments))}),r.prototype){var d=function(){};d.prototype=r.prototype,t.prototype=new d,d.prototype=null}return t}},932672,(e,t,r)=>{"use strict";var n=e.r(277018);t.exports=Function.prototype.bind||n},600358,(e,t,r)=>{"use strict";t.exports=Function.prototype.call},102215,(e,t,r)=>{"use strict";t.exports=Function.prototype.apply},130637,(e,t,r)=>{"use strict";t.exports="u">typeof Reflect&&Reflect&&Reflect.apply},256450,(e,t,r)=>{"use strict";var n=e.r(932672),i=e.r(102215),s=e.r(600358);t.exports=e.r(130637)||n.call(s,i)},943569,(e,t,r)=>{"use strict";var n=e.r(932672),i=e.r(8224),s=e.r(600358),o=e.r(256450);t.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return o(n,s,e)}},190482,(e,t,r)=>{"use strict";var n,i=e.r(943569),s=e.r(593892);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!n&&s&&s(Object.prototype,"__proto__"),a=Object,l=a.getPrototypeOf;t.exports=o&&"function"==typeof o.get?i([o.get]):"function"==typeof l&&function(e){return l(null==e?e:a(e))}},942527,(e,t,r)=>{"use strict";var n=e.r(675672),i=e.r(343264),s=e.r(190482);t.exports=n?function(e){return n(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return i(e)}:s?function(e){return s(e)}:null},705843,(e,t,r)=>{"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty;t.exports=e.r(932672).call(n,i)},578586,(e,t,r)=>{"use strict";var n=e.r(608435),i=e.r(639857),s=e.r(974660),o=e.r(930575),a=e.r(265756),l=e.r(143e3),c=e.r(8224),u=e.r(420570),h=e.r(860410),d=e.r(692069),f=e.r(400315),p=e.r(869897),A=e.r(755752),m=e.r(156056),g=e.r(159532),y=Function,v=function(e){try{return y('"use strict"; return ('+e+").constructor;")()}catch(e){}},b=e.r(593892),w=e.r(123775),x=function(){throw new c},S=b?function(){try{return arguments.callee,x}catch(e){try{return b(arguments,"callee").get}catch(e){return x}}}():x,C=e.r(130949)(),I=e.r(942527),E=e.r(343264),R=e.r(675672),F=e.r(102215),B=e.r(600358),D={},P="u">typeof Uint8Array&&I?I(Uint8Array):void 0,k={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":C&&I?I([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":D,"%AsyncGenerator%":D,"%AsyncGeneratorFunction%":D,"%AsyncIteratorPrototype%":D,"%Atomics%":"u"<typeof Atomics?void 0:Atomics,"%BigInt%":"u"<typeof BigInt?void 0:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?void 0:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?void 0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"u"<typeof Float16Array?void 0:Float16Array,"%Float32Array%":"u"<typeof Float32Array?void 0:Float32Array,"%Float64Array%":"u"<typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":D,"%Int8Array%":"u"<typeof Int8Array?void 0:Int8Array,"%Int16Array%":"u"<typeof Int16Array?void 0:Int16Array,"%Int32Array%":"u"<typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
16IteratorPrototype%":C&&I?I(I([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"u"<typeof Map?void 0:Map,"%MapIteratorPrototype%":"u">typeof Map&&C&&I?I(new Map()[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?void 0:Promise,"%Proxy%":"u"<typeof Proxy?void 0:Proxy,"%RangeError%":o,"%ReferenceError%":a,"%Reflect%":"u"<typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?void 0:Set,"%SetIteratorPrototype%":"u">typeof Set&&C&&I?I(new Set()[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&I?I(""[Symbol.iterator]()):void 0,"%Symbol%":C?Symbol:void 0,"%SyntaxError%":l,"%ThrowTypeError%":S,"%TypedArray%":P,"%TypeError%":c,"%Uint8Array%":"u"<typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?void 0:Uint32Array,"%URIError%":u,"%WeakMap%":"u"<typeof WeakMap?void 0:WeakMap,"%WeakRef%":"u"<typeof WeakRef?void 0:WeakRef,"%WeakSet%":"u"<typeof WeakSet?void 0:WeakSet,"%Function.prototype.call%":B,"%Function.prototype.apply%":F,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":E,"%Math.abs%":h,"%Math.floor%":d,"%Math.max%":f,"%Math.min%":p,"%Math.pow%":A,"%Math.round%":m,"%Math.sign%":g,"%Reflect.getPrototypeOf%":R};if(I)try{null.error}catch(e){var T=I(I(e));k["%Error.prototype%"]=T}var O=function e(t){var r;if("%AsyncFunction%"===t)r=v("async function () {}");else if("%GeneratorFunction%"===t)r=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=v("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&I&&(r=I(i.prototype))}return k[t]=r,r},j={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},N=e.r(932672),_=e.r(705843),M=N.call(B,Array.prototype.concat),Q=N.call(F,Array.prototype.splice),W=N.call(B,String.prototype.replace),L=N.call(B,String.prototype.slice),H=N.call(B,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,G=/\\(\\)?/g,K=function(e){var t=L(e,0,1),r=L(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return W(e,U,function(e,t,r,i){n[n.length]=r?W(i,G,"$1"):t||e}),n},V=function(e,t){var r,n=e;if(_(j,n)&&(n="%"+(r=j[n])[0]+"%"),_(k,n)){var i=k[n];if(i===D&&(i=O(n)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new l("intrinsic "+e+" does not exist!")};t.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===H(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=K(e),n=r.length>0?r[0]:"",i=V("%"+n+"%",t),s=i.name,o=i.value,a=!1,u=i.alias;u&&(n=u[0],Q(r,M([0,1],u)));for(var h=1,d=!0;h<r.length;h+=1){var f=r[h],p=L(f,0,1),A=L(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===A||"'"===A||"`"===A)&&p!==A)throw new l("property names with quotes must have matching quotes");if("constructor"!==f&&d||(a=!0),n+="."+f,_(k,s="%"+n+"%"))o=k[s];
16else if(null!=o){if(!(f in o)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(b&&h+1>=r.length){var m=b(o,f);o=(d=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:o[f]}else d=_(o,f),o=o[f];d&&!a&&(k[s]=o)}}return o}},325887,(e,t,r)=>{"use strict";var n=e.r(578586),i=e.r(943569),s=i([n("%String.prototype.indexOf%")]);t.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&s(e,".prototype.")>-1?i([r]):r}},274923,(e,t,r)=>{"use strict";var n=e.r(578586),i=e.r(325887),s=e.r(52493),o=e.r(8224),a=n("%Map%",!0),l=i("Map.prototype.get",!0),c=i("Map.prototype.set",!0),u=i("Map.prototype.has",!0),h=i("Map.prototype.delete",!0),d=i("Map.prototype.size",!0);t.exports=!!a&&function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+s(e))},delete:function(t){if(e){var r=h(e,t);return 0===d(e)&&(e=void 0),r}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&u(e,t)},set:function(t,r){e||(e=new a),c(e,t,r)}};return t}},34711,(e,t,r)=>{"use strict";var n=e.r(578586),i=e.r(325887),s=e.r(52493),o=e.r(274923),a=e.r(8224),l=n("%WeakMap%",!0),c=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),h=i("WeakMap.prototype.has",!0),d=i("WeakMap.prototype.delete",!0);t.exports=l?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+s(e))},delete:function(r){if(l&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(o&&t)return t.delete(r);return!1},get:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?c(e,r):t&&t.get(r)},has:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?h(e,r):!!t&&t.has(r)},set:function(r,n){l&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new l),u(e,r,n)):o&&(t||(t=o()),t.set(r,n))}};return r}:o},189196,(e,t,r)=>{"use strict";var n=e.r(8224),i=e.r(52493),s=e.r(491455),o=e.r(274923),a=e.r(34711)||o||s;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+(e&&Object(e)===e?"the given object key":i(e)))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=a()),e.set(t,r)}};return t}},762541,(e,t,r)=>{"use strict";var n=String.prototype.replace,i=/%20/g,s="RFC3986";t.exports={default:s,formatters:{RFC1738:function(e){return n.call(e,i,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:s}},451113,(e,t,r)=>{"use strict";var n=e.r(762541),i=e.r(189196),s=e.r(123775),o=Object.prototype.hasOwnProperty,a=Array.isArray,l=i(),c=function(e,t){return l.set(e,t),e},u=function(e){return l.has(e)},h=function(e){return l.get(e)},d=function(e,t){l.set(e,t)},f=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),p=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var n=[],i=0;i<r.length;++i)void 0!==r[i]&&(n[n.length]=r[i]);t.obj[t.prop]=n}}},A=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},m=function(e,t,r){"__proto__"===t&&s?s(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r};t.exports={arrayToObject:A,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return m(e,r,t[r]),e},e)},combine:function(e,t,r,n,i){if(u(e)){if(i)throw RangeError("Array limit exceeded. Only "+r+" element"+(1===r?"":"s")+" allowed in an array.");var s=h(e)+1;return e[s]=t,d(e,s),e}var o=[].concat(e,t);if(o.length>r){if(i)throw RangeError("Array limit exceeded. Only "+r+" element"+(1===r?"":"s")+" allowed in an array.");return c(A(o,{plainObjects:n}),o.length-1)}return o},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=i(),n=0;n<t.length;++n)for(var s=t[n],o=s.obj[s.prop],a=Object.keys(o),l=0;l<a.length;++l){var c=a[l],u=o[c];"object"!=typeof u||null===u||r.has(u)||(t[t.length]={obj:o,prop:c},r.set(u,!0))}return p(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,i,s){if(0===e.length)return e;var o=e;
16if("symbol"==typeof e?o=Symbol.prototype.toString.call(e):"string"!=typeof e&&(o=String(e)),"iso-8859-1"===r)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var a="",l=0;l<o.length;l+=1024){var c=o.length>=1024?o.slice(l,l+1024):o;if(l+1024<o.length){var u=c.charCodeAt(c.length-1);u>=55296&&u<=56319&&(c=c.slice(0,-1),l-=1)}for(var h=[],d=0;d<c.length;++d){var p=c.charCodeAt(d);if(45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||s===n.RFC1738&&(40===p||41===p)){h[h.length]=c.charAt(d);continue}if(p<128){h[h.length]=f[p];continue}if(p<2048){h[h.length]=f[192|p>>6]+f[128|63&p];continue}if(p<55296||p>=57344){h[h.length]=f[224|p>>12]+f[128|p>>6&63]+f[128|63&p];continue}d+=1,p=65536+((1023&p)<<10|1023&c.charCodeAt(d)),h[h.length]=f[240|p>>18]+f[128|p>>12&63]+f[128|p>>6&63]+f[128|63&p]}a+=h.join("")}return a},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:u,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:c,maybeMap:function(e,t){if(a(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=t(e[n]);return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(a(t)){var i=t.length;if(n&&"number"==typeof n.arrayLimit&&i>=n.arrayLimit){if(n.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");return c(A(t.concat(r),n),i)}t[i]=r}else if(!t||"object"!=typeof t)return[t,r];else if(u(t)){var s=h(t)+1;t[s]=r,d(t,s)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t){if(u(r)){for(var l=Object.keys(r),f=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},p=0;p<l.length;p++)f[parseInt(l[p],10)+1]=r[l[p]];return c(f,h(r)+1)}var g=[t].concat(r);if(n&&"number"==typeof n.arrayLimit&&g.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");return c(A(g,n),g.length-1)}return g}var y=t;if(a(t)&&!a(r)&&(y=A(t,n)),a(t)&&a(r)){if(r.forEach(function(r,i){if(o.call(t,i)){var s=t[i];s&&"object"==typeof s&&r&&"object"==typeof r?t[i]=e(s,r,n):t[t.length]=r}else t[i]=r}),n&&"number"==typeof n.arrayLimit&&t.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");return c(A(t,n),t.length-1)}return t}return Object.keys(r).reduce(function(t,i){var s=r[i];if(o.call(t,i)?m(t,i,e(t[i],s,n)):m(t,i,s),u(r)&&!u(t)&&c(t,h(r)),u(t)){var a=parseInt(i,10);String(a)===i&&a>=0&&a>h(t)&&d(t,a)}return t},y)}}},160573,(e,t,r)=>{"use strict";var n=e.r(189196),i=e.r(451113),s=e.r(762541),o=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},h=Date.prototype.toISOString,d=s.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:s.formatters[d],indices:!1,serializeDate:function(e){return h.call(e)},skipNulls:!1,strictNullHandling:!1},p={},A=function e(t,r,s,o,a,c,h,d,A,m,g,y,v,b,w,x,S,C){for(var I,E,R=t,F=C,B=0,D=!1;void 0!==(F=F.get(p))&&!D;){var P=F.get(t);if(B+=1,void 0!==P)if(P===B)throw RangeError("Cyclic object value");else D=!0;void 0===F.get(p)&&(B=0)}if("function"==typeof m?R=m(r,R):R instanceof Date?R=v(R):"comma"===s&&l(R)&&(R=i.maybeMap(R,function(e){return e instanceof Date?v(e):e})),null===R){if(c)return w(A&&!x?A(r,f.encoder,S,"key",b):r);R=""}if("string"==typeof(I=R)||"number"==typeof I||"boolean"==typeof I||"symbol"==typeof I||"bigint"==typeof I||i.isBuffer(R))return A?[w(x?r:A(r,f.encoder,S,"key",b))+"="+w(A(R,f.encoder,S,"value",b))]:[w(r)+"="+w(String(R))];var k=[];if(void 0===R)return k;if("comma"===s&&l(R))x&&A&&(R=i.maybeMap(R,function(e){return null==e?e:A(e)})),E=[{value:R.length>0?R.join(",")||null:void 0}];else if(l(m))E=m;else{var T=Object.keys(R);E=g?T.sort(g):T}var O=d?String(r).replace(/\./g,"%2E"):String(r),j=o&&l(R)&&1===R.length?O+"[]":O;if(a&&l(R)&&0===R.length)return j+"[]";for(var N=0;N<E.length;++N){var _=E[N],M="object"==typeof _&&_&&void 0!==_.value?_.value:R[_];if(!h||null!==M){var Q=y&&d?String(_).replace(/\./g,"%2E"):String(_),W=l(R)?"function"==typeof s?s(j,Q):j:j+(y?"."+Q:"["+Q+"]");C.set(t,B);var L=n();L.set(p,C),u(k,e(M,W,s,o,a,c,h,d,"comma"===s&&x&&l(R)?null:A,m,g,y,v,b,w,x,S,L)
16)}}return k},m=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,r=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=s.default;if(void 0!==e.format){if(!o.call(s.formatters,e.format))throw TypeError("Unknown format option provided.");n=e.format}var i=s.formatters[n],c=f.filter;if(("function"==typeof e.filter||l(e.filter))&&(c=e.filter),t=e.arrayFormat in a?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:t,charset:r,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:i,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}};t.exports=function(e,t){var r,i=e,s=m(t);"function"==typeof s.filter?i=(0,s.filter)("",i):l(s.filter)&&(r=s.filter);var o=[];if("object"!=typeof i||null===i)return"";var c=a[s.arrayFormat],h="comma"===c&&s.commaRoundTrip;r||(r=Object.keys(i)),s.sort&&r.sort(s.sort);for(var d=n(),f=0;f<r.length;++f){var p=r[f];if(null!=p){var g=i[p];s.skipNulls&&null===g||u(o,A(g,p,c,h,s.allowEmptyArrays,s.strictNullHandling,s.skipNulls,s.encodeDotInKeys,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,d))}}var y=o.join(s.delimiter),v=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?v+="utf8=%26%2310003%3B"+s.delimiter:v+="utf8=%E2%9C%93"+s.delimiter),y.length>0?v+y:""}},205544,(e,t,r)=>{"use strict";var n=e.r(451113),i=Object.prototype.hasOwnProperty,s=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},a=function(e,t,r,n){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1){if(n&&t.throwOnLimitExceeded)for(var i=0,s=e.indexOf(",");s>-1;){if((i+=1)>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");s=e.indexOf(",",s+1)}return e.split(",")}if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},l=function(e,t){var r={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c=t.parameterLimit===1/0?void 0:t.parameterLimit,u=l.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==c?c+1:c);if(t.throwOnLimitExceeded&&void 0!==c&&u.length>c)throw RangeError("Parameter limit exceeded. Only "+c+" parameter"+(1===c?"":"s")+" allowed.");var h=-1,d=t.charset;if(t.charsetSentinel)for(f=0;f<u.length;++f)0===u[f].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[f]?d="utf-8":"utf8=%26%2310003%3B"===u[f]&&(d="iso-8859-1"),h=f,f=u.length);for(f=0;f<u.length;++f)if(f!==h){var f,p,A,m=u[f],g=m.indexOf("]="),y=-1===g?m.indexOf("="):g+1;if(-1===y?(p=t.decoder(m,o.decoder,d,"key"),A=t.strictNullHandling?null:""):null!==(p=t.decoder(m.slice(0,y),o.decoder,d,"key"))&&(A=n.maybeMap(a(m.slice(y+1),t,s(r[p])?r[p].length:0,-1===m.indexOf("[]=")),function(e){return t.decoder(e,o.decoder,d,"value")})),A&&t.interpretNumericEntities&&"iso-8859-1"===d&&(A=String(A).replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),m.indexOf("[]=")>-1&&(A=s(A)?[A]:A),t.comma&&s(A)&&A.length>t.arrayLimit&&(A=n.combine([],A,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded)),null!==p){var v=i.call(r,p);v&&("combine"===t.duplicates||m.indexOf("[]=")>-1)?r[p]=n.combine(r[p],A,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded):v&&"last"!==t.duplicates||(r[p]=A)}}return r},c=function(e,t,r,i){var s=0;if(e.length>0&&"[]"===e[e.length-1]){var o=e.slice(0,-1).join("");s=Array.isArray(t)&&t[o]?t[o].length:0}for(var l=i?t:a(t,r,s),c=e.length-1;c>=0;--c){var u,h=e[c];if("[]"===h&&r.parseArrays)u=n.isOverflow(l)?l:r.allowEmptyArrays&&(""===l||r.strictNullHandling&&null===l)?[]:n.combine([],l,r.arrayLimit,r.plainObjects,r.throwOnLimitExceeded);else{u=r.plainObjects?{__proto__:null}:{};var d="["===h.charAt(0)&&"]"===h.charAt(h.length-1)?h.slice(1,-1):h,f=r.decodeDotInKeys?d.replace(/%2E/g,"."):d,p=parseInt(f,10),A=!isNaN(p)&&h!==f&&String(p)===f&&p>=0&&r.parseArrays;if(r.parseArrays||""!==f)if(A&&p<r.arrayLimit)(u=[])[p]=l;else if(A&&r.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");else A?(u[p]=l,n.markOverflow(u,p)):"__proto__"!==f&&(u[f]=l);else u={0:l}}l=u}return l},u=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&i.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=[],s=r.indexOf("["),o=s>=0?r.slice(0,s):r;if(o){if(!t.plainObjects&&i.call(Object.prototype,o)&&!t.allowPrototypes)return;n[n.length]=o}for(var a=r.length,l=s,c=0;l>=0&&c<t.depth;){for(var u=1,h=l+1,d=-1;h<a&&d<0;){var f=r.charCodeAt(h);91===f?u+=1:93===f&&0==(u-=1)&&(d=h),h+=1}if(d<0)return n[n.length]="["+r.slice(l)+"]",n;var p=r.slice(l,d+1),A=p.slice(1,-1);if(!t.plainObjects&&i.call(Object.prototype,A)&&!t.allowPrototypes)return;
16n[n.length]=p,c+=1,l=r.indexOf("[",d+1)}if(l>=0){if(!0===t.strictDepth)throw RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");n[n.length]="["+r.slice(l)+"]"}return n},h=function(e,t,r,n){if(e){var i=u(e,r);if(i)return c(i,t,r,n)}},d=function(e){if(!e)return o;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?o.charset:e.charset,r=void 0===e.duplicates?o.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||o.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:o.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:o.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:o.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:o.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}};t.exports=function(e,t){var r=d(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var i="string"==typeof e?l(e,r):e,s=r.plainObjects?{__proto__:null}:{},o=Object.keys(i),a=0;a<o.length;++a){var c=o[a],u=h(c,i[c],r,"string"==typeof e);s=n.merge(s,u,r)}return!0===r.allowSparse?s:n.compact(s)}},644169,(e,t,r)=>{"use strict";var n=e.r(160573),i=e.r(205544);t.exports={formats:e.r(762541),parse:i,stringify:n}},12264,179243,991363,e=>{"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}e.s(["_",()=>t],12264),e.s(["_",0,function(e){if(null==e)throw TypeError("Cannot destructure "+e);return e}],179243);var r={"&":"&","<":"<",">":">",'"':""","'":"'"},n=/[&<>"']/g,i=RegExp(n.source),s={"&":"&","<":"<",">":">",""":'"',"'":"'"},o=/&(amp|quot|lt|gt|#39);/g,a=RegExp(o.source);e.s(["escape",0,function(e){return e&&i.test(e)?e.replace(n,function(e){return r[e]}):e},"unescape",0,function(e){return e&&a.test(e)?e.replace(o,function(e){return s[e]}):e}],991363)},231763,e=>{"use strict";var t=e.i(299749),r=e.i(12264),n=e.i(179243),i=e.i(120786),s=e.i(92808),o=e.i(991363),a=e.i(610770),l={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},c={highlightPreTag:"<mark>",highlightPostTag:"</mark>"};function u(e){return(0,o.escape)(e).replace(RegExp(l.highlightPreTag,"g"),c.highlightPreTag).replace(RegExp(l.highlightPostTag,"g"),c.highlightPostTag)}function h(e){return(0,a.isPlainObject)(e)&&"string"!=typeof e.value?Object.keys(e).reduce(function(r,n){return(0,s._)((0,i._)({},r),(0,t._)({},n,h(e[n])))},{}):Array.isArray(e)?e.map(h):(0,s._)((0,i._)({},e),{value:u(e.value)})}e.s(["TAG_PLACEHOLDER",0,l,"TAG_REPLACEMENT",0,c,"escapeFacets",0,function(e){return e.map(function(e){return(0,s._)((0,i._)({},e),{highlighted:u(e.highlighted)})})},"escapeHits",0,function(e){return void 0===e.__escaped&&((e=e.map(function(e){(0,n._)(e);var t=(0,r._)({},e);return t._highlightResult&&(t._highlightResult=h(t._highlightResult)),t._snippetResult&&(t._snippetResult=h(t._snippetResult)),t})).__escaped=!0),e}])},286101,759436,115899,273617,e=>{"use strict";var t=e.i(540316),r=e.i(271645),n=e.i(794192),i=e.i(285847),s=e.i(6
1651682),o=["ais.index","ais.feedContainer"];function a(e){return o.includes(e.$$type)}e.s(["isIndexWidget",0,a],759436);var l=e.i(840209),c=e.i(41662);e.s(["useInstantSearch",0,function(){var e,o,u,h,d,f,p,A,m,g,y,v,b,w,x,S,C,I,E=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).catchError,R=(0,n.useInstantSearchContext)(),F=(e=(0,n.useInstantSearchContext)(),u=(o=(0,c.useIndexContext)()).getIndexId(),d=(h=(0,s._)((0,r.useState)(function(){return e.getUiState()}),2))[0],f=h[1],p=d[u],m=(A=(0,s._)((0,r.useState)(function(){return e.renderState}),2))[0],g=A[1],y=m[u]||{},v=(0,r.useCallback)(function(t){e.setUiState(t)},[e]),b=(0,r.useCallback)(function(e){o.setIndexUiState(e)},[o]),(0,r.useEffect)(function(){function t(){f(e.getUiState()),g(e.renderState)}return e.addListener("render",t),t(),function(){e.removeListener("render",t)}},[e]),{uiState:d,setUiState:v,indexUiState:p,setIndexUiState:b,renderState:m,indexRenderState:y}),B=F.uiState,D=F.setUiState,P=F.indexUiState,k=F.setIndexUiState,T=F.renderState,O=F.indexRenderState,j=(w=(0,n.useInstantSearchContext)(),x=(0,c.useIndexContext)(),C=(S=(0,s._)((0,r.useState)(function(){var e=(0,l.getIndexSearchResults)(x);return{results:e.results,scopedResults:e.scopedResults}}),2))[0],I=S[1],(0,r.useEffect)(function(){function e(){var e=x.getResults();if(null!==e)I({results:e,scopedResults:x.getScopedResults()});else if(0===w.mainIndex.getIndexName().length){var t=w.mainIndex.getWidgets().find(a);t&&I({results:(0,l.getIndexSearchResults)(x).results,scopedResults:t.getScopedResults()})}}return w.addListener("render",e),e(),function(){w.removeListener("render",e)}},[w,x]),C),N=j.results,_=j.scopedResults,M=(0,r.useCallback)(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return R.use.apply(R,(0,t._)(r)),function(){R.unuse.apply(R,(0,t._)(r))}},[R]),Q=(0,r.useCallback)(function(){R.refresh()},[R]);return(0,i.useIsomorphicLayoutEffect)(function(){if(E){var e=function(){};return R.addListener("error",e),function(){return R.removeListener("error",e)}}return function(){}},[R,E]),{results:N,scopedResults:_,uiState:B,setUiState:D,indexUiState:P,setIndexUiState:k,renderState:T,indexRenderState:O,addMiddlewares:M,refresh:Q,status:R.status,error:R.error}}],286101),e.s(["getPropertyByPath",0,function(e,t){return(Array.isArray(t)?t:t.split(".")).reduce(function(e,t){return e&&e[t]},e)}],115899);var u=e.i(231763);e.s(["getHighlightedParts",0,function(e){var t=u.TAG_REPLACEMENT.highlightPostTag,r=u.TAG_REPLACEMENT.highlightPreTag,n=e.split(r),i=n.shift(),s=i?[{value:i,isHighlighted:!1}]:[];return n.forEach(function(e){var r=e.split(t);s.push({value:r[0],isHighlighted:!0}),""!==r[1]&&s.push({value:r[1],isHighlighted:!1})}),s}],273617)},104974,e=>{"use strict";e.s(["deserializePayload",0,function(e){return JSON.parse(decodeURIComponent(atob(e)))},"serializePayload",0,function(e){return btoa(encodeURIComponent(JSON.stringify(e)))}])},755838,(e,t,r)=>{"use strict";var n=e.r(271645),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=n.useState,o=n.useEffect,a=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=s({inst:{value:r,getSnapshot:t}}),i=n[0].inst,u=n[1];return a(function(){i.value=r,i.getSnapshot=t,c(i)&&u({inst:i})},[e,r,t]),o(function(){return c(i)&&u({inst:i}),e(function(){c(i)&&u({inst:i})})},[e]),l(r),r};r.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},802239,(e,t,r)=>{"use strict";t.exports=e.r(755838)},232124,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"cookies",{enumerable:!0,get:function(){return f}});let n=e.r(397270),i=e.r(196883),s=e.r(563599),o=e.r(662141),a=e.r(67673),l=e.r(643248),c=e.r(963138),u=e.r(876361),h=e.r(850999),d=e.r(312718);function f(){let e="cookies",t=s.workAsyncStorage.getStore(),r=o.workUnitAsyncStorage.getStore();if(t){if(r&&"after"===r.phase&&!(0,h.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${t.route} used \`cookies()\` inside \`after()\`. This is not supported. If you need this data inside an \`after()\` callback, use \`cookies()\` outside of the callback. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E843",enumerable:!1,
16configurable:!0});if(t.forceStatic)return A(n.RequestCookiesAdapter.seal(new i.RequestCookies(new Headers({}))));if(t.dynamicShouldError)throw Object.defineProperty(new l.StaticGenBailoutError(`Route ${t.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`cookies()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E849",enumerable:!1,configurable:!0});if(r)switch(r.type){case"cache":let s=Object.defineProperty(Error(`Route ${t.route} used \`cookies()\` inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`cookies()\` outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E831",enumerable:!1,configurable:!0});throw Error.captureStackTrace(s,f),t.invalidDynamicUsageError??=s,s;case"unstable-cache":throw Object.defineProperty(Error(`Route ${t.route} used \`cookies()\` inside a function cached with \`unstable_cache()\`. Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`cookies()\` outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E846",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(Error(`Route ${t.route} used \`cookies()\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1123",enumerable:!1,configurable:!0});case"prerender":var u=t,m=r;let g=p.get(m);if(g)return g;let y=(0,c.makeHangingPromise)(m.renderSignal,u.route,"`cookies()`");return p.set(m,y),y;case"prerender-client":case"validation-client":let v="`cookies`";throw Object.defineProperty(new d.InvariantError(`${v} must not be used within a Client Component. Next.js should be preventing ${v} from being included in Client Components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1037",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,a.postponeWithTracking)(t.route,e,r.dynamicTracking);case"prerender-legacy":return(0,a.throwToInterruptStaticGeneration)(e,t,r);case"prerender-runtime":return(0,c.delayUntilRuntimeStage)(r,A(r.cookies));case"private-cache":return A(r.cookies);case"request":let b;if((0,a.trackDynamicDataInDynamicRender)(r),b=(0,n.areCookiesMutableInCurrentPhase)(r)?r.userspaceMutableCookies:r.cookies,!r.asyncApiPromises)return A(b);{let e=(0,o.isInEarlyRenderStage)(r);if(b===r.mutableCookies)return e?r.asyncApiPromises.earlyMutableCookies:r.asyncApiPromises.mutableCookies;return e?r.asyncApiPromises.earlyCookies:r.asyncApiPromises.cookies}}}(0,o.throwForMissingRequestStore)(e)}e.r(142852);let p=new WeakMap;function A(e){let t=p.get(e);if(t)return t;let r=Promise.resolve(e);return p.set(e,r),r}(0,u.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`cookies()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E830",enumerable:!1,configurable:!0})})},835407,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"headers",{enumerable:!0,get:function(){return d}});let n=e.r(687720),i=e.r(563599),s=e.r(662141),o=e.r(67673),a=e.r(643248),l=e.r(963138),c=e.r(876361),u=e.r(850999),h=e.r(312718);function d(){let e="headers",t=i.workAsyncStorage.getStore(),r=s.workUnitAsyncStorage.getStore();if(t){if(r&&"after"===r.phase&&!(0,u.isRequestAPICallableInsideAfter)())throw Object.defineProperty(Error(`Route ${t.route} used \`headers()\` inside \`after()\`. This is not supported. If you need this data inside an \`after()\` callback, use \`headers()\` outside of the callback. See more info here: https://nextjs.org/docs/canary/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E839",enumerable:!1,
16configurable:!0});if(t.forceStatic)return p(n.HeadersAdapter.seal(new Headers({})));if(r)switch(r.type){case"cache":{let e=Object.defineProperty(Error(`Route ${t.route} used \`headers()\` inside "use cache". Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`headers()\` outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E833",enumerable:!1,configurable:!0});throw Error.captureStackTrace(e,d),t.invalidDynamicUsageError??=e,e}case"unstable-cache":throw Object.defineProperty(Error(`Route ${t.route} used \`headers()\` inside a function cached with \`unstable_cache()\`. Accessing Dynamic data sources inside a cache scope is not supported. If you need this data inside a cached function use \`headers()\` outside of the cached function and pass the required dynamic data in as an argument. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E838",enumerable:!1,configurable:!0});case"generate-static-params":throw Object.defineProperty(Error(`Route ${t.route} used \`headers()\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1134",enumerable:!1,configurable:!0})}if(t.dynamicShouldError)throw Object.defineProperty(new a.StaticGenBailoutError(`Route ${t.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`headers()\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E828",enumerable:!1,configurable:!0});if(r)switch(r.type){case"prerender":var c=t,A=r;let i=f.get(A);if(i)return i;let m=(0,l.makeHangingPromise)(A.renderSignal,c.route,"`headers()`");return f.set(A,m),m;case"prerender-client":case"validation-client":let g="`headers`";throw Object.defineProperty(new h.InvariantError(`${g} must not be used within a client component. Next.js should be preventing ${g} from being included in client components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1017",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,o.postponeWithTracking)(t.route,e,r.dynamicTracking);case"prerender-legacy":return(0,o.throwToInterruptStaticGeneration)(e,t,r);case"prerender-runtime":return(0,l.delayUntilRuntimeStage)(r,p(r.headers));case"private-cache":return p(r.headers);case"request":if((0,o.trackDynamicDataInDynamicRender)(r),r.asyncApiPromises)return(0,s.isInEarlyRenderStage)(r)?r.asyncApiPromises.earlyHeaders:r.asyncApiPromises.headers;return p(r.headers)}}(0,s.throwForMissingRequestStore)(e)}e.r(142852);let f=new WeakMap;function p(e){let t=f.get(e);if(t)return t;let r=Promise.resolve(e);return f.set(e,r),r}(0,c.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`headers()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E836",enumerable:!1,configurable:!0})})},491516,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"draftMode",{enumerable:!0,get:function(){return h}});let n=e.r(662141),i=e.r(563599),s=e.r(67673),o=e.r(876361),a=e.r(643248),l=e.r(476353),c=e.r(312718),u=e.r(963138);function h(){let e="draftMode",t=i.workAsyncStorage.getStore(),r=n.workUnitAsyncStorage.getStore();switch((!t||!r)&&(0,n.throwForMissingRequestStore)(e),r.type){case"prerender-runtime":return(0,u.delayUntilRuntimeStage)(r,d(r.draftMode,t));case"request":return d(r.draftMode,t);case"cache":case"private-cache":case"unstable-cache":let s=(0,n.getDraftModeProviderForCacheScope)(t,r);if(s)return d(s,t);case"prerender":case"prerender-ppr":case"prerender-legacy":return d(null,t);case"prerender-client":case"validation-client":{let e="`draftMode`";throw Object.defineProperty(new c.InvariantError(`${e} must not be used within a Client Component. Next.js should be preventing ${e} from being included in Client Components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1046",enumerable:!1,
16configurable:!0})}case"generate-static-params":throw Object.defineProperty(Error(`Route ${t.route} used \`${e}()\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1132",enumerable:!1,configurable:!0});default:return r}}function d(e,t){let r=p.get(e??f);return r||Promise.resolve(new A(e))}e.r(242715);let f={},p=new WeakMap;class A{constructor(e){this._provider=e}get isEnabled(){return null!==this._provider&&this._provider.isEnabled}enable(){m("draftMode().enable()",this.enable),null!==this._provider&&this._provider.enable()}disable(){m("draftMode().disable()",this.disable),null!==this._provider&&this._provider.disable()}}function m(e,t){let r=i.workAsyncStorage.getStore(),o=n.workUnitAsyncStorage.getStore();if(r){if((null==o?void 0:o.phase)==="after")throw Object.defineProperty(Error(`Route ${r.route} used "${e}" inside \`after()\`. The enabled status of \`draftMode()\` can be read inside \`after()\` but you cannot enable or disable \`draftMode()\`. See more info here: https://nextjs.org/docs/app/api-reference/functions/after`),"__NEXT_ERROR_CODE",{value:"E845",enumerable:!1,configurable:!0});if(r.dynamicShouldError)throw Object.defineProperty(new a.StaticGenBailoutError(`Route ${r.route} with \`dynamic = "error"\` couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/app/building-your-application/rendering/static-and-dynamic#dynamic-rendering`),"__NEXT_ERROR_CODE",{value:"E553",enumerable:!1,configurable:!0});if(o)switch(o.type){case"cache":case"private-cache":{let n=Object.defineProperty(Error(`Route ${r.route} used "${e}" inside "use cache". The enabled status of \`draftMode()\` can be read in caches but you must not enable or disable \`draftMode()\` inside a cache. See more info here: https://nextjs.org/docs/messages/next-request-in-use-cache`),"__NEXT_ERROR_CODE",{value:"E829",enumerable:!1,configurable:!0});throw Error.captureStackTrace(n,t),r.invalidDynamicUsageError??=n,n}case"unstable-cache":throw Object.defineProperty(Error(`Route ${r.route} used "${e}" inside a function cached with \`unstable_cache()\`. The enabled status of \`draftMode()\` can be read in caches but you must not enable or disable \`draftMode()\` inside a cache. See more info here: https://nextjs.org/docs/app/api-reference/functions/unstable_cache`),"__NEXT_ERROR_CODE",{value:"E844",enumerable:!1,configurable:!0});case"prerender":case"prerender-runtime":{let t=Object.defineProperty(Error(`Route ${r.route} used ${e} without first calling \`await connection()\`. See more info here: https://nextjs.org/docs/messages/next-prerender-sync-headers`),"__NEXT_ERROR_CODE",{value:"E126",enumerable:!1,configurable:!0});return(0,s.abortAndThrowOnSynchronousRequestDataAccess)(r.route,e,t,o)}case"prerender-client":case"validation-client":let n="`draftMode`";throw Object.defineProperty(new c.InvariantError(`${n} must not be used within a Client Component. Next.js should be preventing ${n} from being included in Client Components statically, but did not in this case.`),"__NEXT_ERROR_CODE",{value:"E1046",enumerable:!1,configurable:!0});case"prerender-ppr":return(0,s.postponeWithTracking)(r.route,e,o.dynamicTracking);case"prerender-legacy":o.revalidate=0;let i=Object.defineProperty(new l.DynamicServerError(`Route ${r.route} couldn't be rendered statically because it used \`${e}\`. See more info here: https://nextjs.org/docs/messages/dynamic-server-error`),"__NEXT_ERROR_CODE",{value:"E558",enumerable:!1,configurable:!0});throw r.dynamicUsageDescription=e,r.dynamicUsageStack=i.stack,i;case"request":(0,s.trackDynamicDataInDynamicRender)(o);break;case"generate-static-params":throw Object.defineProperty(Error(`Route ${r.route} used \`${e}\` inside \`generateStaticParams\`. This is not supported because \`generateStaticParams\` runs at build time without an HTTP request. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context`),"__NEXT_ERROR_CODE",{value:"E1121",enumerable:!1,
16configurable:!0})}}}(0,o.createDedupedByCallsiteServerErrorLoggerDev)(function(e,t){let r=e?`Route "${e}" `:"This route ";return Object.defineProperty(Error(`${r}used ${t}. \`draftMode()\` returns a Promise and must be unwrapped with \`await\` or \`React.use()\` before accessing its properties. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis`),"__NEXT_ERROR_CODE",{value:"E835",enumerable:!1,configurable:!0})})},630029,(e,t,r)=>{t.exports.cookies=e.r(232124).cookies,t.exports.headers=e.r(835407).headers,t.exports.draftMode=e.r(491516).draftMode},723572,223128,274301,87175,e=>{"use strict";var t=e.i(500932),r=e.i(271645),n=e.i(286101);let i=Symbol.for("InstantSearchInitialResults");e.s(["AlgoliaHydrationFallback",0,function(e){let s,o,a=(0,t.c)(4),{consumeInitialResults:l}=e,c=void 0!==l&&l,{refresh:u}=(0,n.useInstantSearch)(),h=(0,r.useRef)(!1);return a[0]!==c||a[1]!==u?(s=()=>{if(!h.current){if(h.current=!0,Reflect.get(window,i)){c&&Reflect.deleteProperty(window,i);return}u()}},o=[c,u],a[0]=c,a[1]=u,a[2]=s,a[3]=o):(s=a[2],o=a[3]),(0,r.useEffect)(s,o),null}],723572);var s=e.i(120786),o=e.i(299749),a=e.i(92808),l=e.i(865512),c=e.i(610770),u=e.i(993270),h=e.i(233027),d=function(e,t){t.facets,t.disjunctiveFacets,t.facetsRefinements,t.facetsExcludes,t.disjunctiveFacetsRefinements,t.numericRefinements,t.tagRefinements,t.hierarchicalFacets,t.hierarchicalFacetsRefinements,t.ruleContexts;var r=(0,h._)(t,["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"]);return e.setQueryParameters(r)},f=function(e,t){var r=[].concat(e.ruleContexts).concat(t.ruleContexts).filter(Boolean).filter(function(e,t,r){return r.indexOf(e)===t});return r.length>0?e.setQueryParameters({ruleContexts:r}):e},p=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){var r,n,i,o,a,l,c,u;return d((u=f((r=e.setQueryParameters({hierarchicalFacetsRefinements:(0,s._)({},e.hierarchicalFacetsRefinements,t.hierarchicalFacetsRefinements)}),n=r.setQueryParameters({hierarchicalFacets:t.hierarchicalFacets.reduce(function(e,t){var r=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}(e,function(e){return e.name===t.name});if(-1===r)return e.concat(t);var n=e.slice();return n.splice(r,1,t),n},r.hierarchicalFacets)}),i=t.tagRefinements.reduce(function(e,t){return e.addTagRefinement(t)},n),o=i.setQueryParameters({numericRefinements:(0,s._)({},i.numericRefinements,t.numericRefinements)}),a=o.setQueryParameters({disjunctiveFacetsRefinements:(0,s._)({},o.disjunctiveFacetsRefinements,t.disjunctiveFacetsRefinements)}),l=a.setQueryParameters({facetsExcludes:(0,s._)({},a.facetsExcludes,t.facetsExcludes)}),c=l.setQueryParameters({facetsRefinements:(0,s._)({},l.facetsRefinements,t.facetsRefinements)}),t.disjunctiveFacets.reduce(function(e,t){return e.addDisjunctiveFacet(t)},c)),t),t.facets.reduce(function(e,t){return e.addFacet(t)},u)),t)})},A=e.i(221024),m=(0,u.createDocumentationMessageGenerator)({name:"configure",connector:!0});function g(e,t){return e.setQueryParameters(Object.keys(t.searchParameters).reduce(function(e,t){return(0,a._)((0,s._)({},e),(0,o._)({},t,void 0))},{}))}var y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A.noop,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:A.noop;return function(r){if(!r||!(0,c.isPlainObject)(r.searchParameters))throw Error(m("The `searchParameters` option expects an object."));var n={};return{$$type:"ais.configure",init:function(t){var r=t.instantSearchInstance;e((0,a._)((0,s._)({},this.getWidgetRenderState(t)),{instantSearchInstance:r}),!0)},render:function(t){var r=t.instantSearchInstance;e((0,a._)((0,s._)({},this.getWidgetRenderState(t)),{instantSearchInstance:r}),!1)},dispose:function(e){var n=e.state;return t(),g(n,r)},getRenderState:function(e,t){var r,n=this.getWidgetRenderState(t);return(0,a._)((0,s._)({},e),{configure:(0,a._)((0,s._)({},n),{widgetParams:(0,a._)((0,s._)({},n.widgetParams),{searchParameters:p(new l.default.SearchParameters(null==(r=e.configure)?void 0:r.widgetParams.searchParameters),new l.default.SearchParameters(n.widgetParams.searchParameters)).getQueryParams()})})})},getWidgetRenderState:function(e){var t=e.helper;return n.refine||(n.refine=function(e){var n=p(g(t.state,r),new l.default.SearchParameters(e));r.searchParameters=e,t.setState(n).search()}),{refine:n.refine,widgetParams:r}},getWidgetSearchParameters:function(e,t){var n=t.uiState;return p(e,new l.default.SearchParameters((0,s._)({},n.configure,r.searchParameters)))},getWidgetUiState:function(e){return(0,a._)((0,s._)({},e),{configure:(0,s._)({},e.configure,r.searchParameters)})}}}},v=e.i(667291);function b(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fallback:function(){}}).fallback;return"u"<typeof window?t():e({window:window})}e.s(["Configure",0,function(e){var t,r;return t=(0,s._)({},e),r={$$widgetType:"ais.configure"},(0,v.useConnector)(y,{searchParameters:t},r),null}],223128);var w=e.i(972872),x=e.i(574907),S=e.i(247167),C=e.i(540316);
16function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(E=function(){return!!e})()}var R=e.i(500075),F=e.i(292955),B=e.i(780646);function D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var k=e.i(245808),T=e.i(651682);function O(e){if(e.appId&&e.apiKey)return[e.appId,e.apiKey];if(!e.transporter)return[e.applicationID,e.apiKey];var t=e.transporter,r=t.headers||t.baseHeaders,n=t.queryParameters||t.baseQueryParameters,i="x-algolia-application-id",s="x-algolia-api-key";return[r[i]||n[i],r[s]||n[s]]}function j(e,t){for(var r,n=0;n<e.length;n++)if(t(r=e[n],n,e))return r}e.s(["find",0,j],274301);var N="2.17.2",_="https://cdn.jsdelivr.net/npm/search-insights@".concat(N,"/dist/search-insights.min.js");function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.insightsClient,r=e.insightsInitParams,n=e.onEvent,i=e.$$internal,o=void 0!==i&&i,l=e.$$automatic,c=void 0!==l&&l,u=t;t||null===t||b(function(e){var t=e.window,r=t.AlgoliaAnalyticsObject||"aa";"string"==typeof r&&(u=t[r]),u||(t.AlgoliaAnalyticsObject=r,t[r]||(t[r]=function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];t[r].queue||(t[r].queue=[]),t[r].queue.push(n)},t[r].version=N,t[r].shouldAddScript=!0),u=t[r])});var h=u||A.noop;return function(e){var t,i,l,u=e.instantSearchInstance,d=u.middleware.filter(function(e){return"ais.insights"===e.instance.$$type&&e.instance.$$internal}).map(function(e){return e.creator});u.unuse.apply(u,(0,C._)(d));var f=(0,T._)(O(u.client),2),p=f[0],m=f[1],g=void 0,y=void 0,v=void 0,b=h.queue;return Array.isArray(b)&&(y=(t=(0,T._)(["setUserToken","init"].map(function(e){return(0,T._)(j(b.slice().reverse(),function(t){return(0,T._)(t,1)[0]===e})||[],2)[1]}),2))[0],g=t[1]),h("getUserToken",null,function(e,t){v=W(t)}),(r||!Q(h))&&h("init",(0,s._)({appId:p,apiKey:m,partial:!0},r)),{$$type:"ais.insights",$$internal:o,$$automatic:c,onStateChange:function(){},subscribe:function(){if(h.shouldAddScript){var e="[insights middleware]: could not load search-insights.js. Please load it manually following https://alg.li/insights-init";try{var t=document.createElement("script");t.async=!0,t.src=_,t.onerror=function(){u.emit("error",Error(e))},document.body.appendChild(t),h.shouldAddScript=!1}catch(t){h.shouldAddScript=!1,u.emit("error",Error(e))}}},started:function(){h("addAlgoliaAgent","insights-middleware"),l=u.mainHelper;var e,t,d,f,p,A,m,b,w,x,S,C,I=h.queue;Array.isArray(I)&&(y=(x=(0,T._)(["setUserToken","init"].map(function(e){return(0,T._)(j(I.slice().reverse(),function(t){return(0,T._)(t,1)[0]===e})||[],2)[1]}),2))[0],g=x[1]),f=(null==(d=(e=u)._initialResults)||null==(t=d[e.indexName])?void 0:t.state)||{},p=e.mainHelper.state,i={userToken:f.userToken||p.userToken,clickAnalytics:f.clickAnalytics||p.clickAnalytics},c||l.overrideStateWithoutTriggeringChangeEvent((0,a._)((0,s._)({},l.state),{clickAnalytics:!0})),o||u.scheduleSearch();var E=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=W(e);if(r){var n=l.state.userToken;t?i():setTimeout(i,0)}function i(){l.overrideStateWithoutTriggeringChangeEvent((0,a._)((0,s._)({},l.state),{userToken:r})),n&&n!==e&&u.scheduleSearch()}};function F(e){E(e,!0),h("setUserToken",e)}var B=void 0,D=function(){if(("u"<typeof document?"undefined":(0,R._)(document))==="object"&&"string"==typeof document.cookie)for(var e="".concat("_ALGOLIA","="),t=document.cookie.split(";"),r=0;r<t.length;r++){for(var n=t[r];" "===n.charAt(0);)n=n.substring(1);if(0===n.indexOf(e))return n.substring(e.length,n.length)}}();B=D||"anonymous-".concat("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}));var P=i.userToken;(null==r?void 0:r.userToken)&&(S=r.userToken),S?F(S):P?F(P):v?F(v):y?F(y):B&&(F(B),((null==r?void 0:r.useCookie)||(null==g?void 0:g.useCookie))&&(A=B,m=(null==r?void 0:r.cookieDuration)||(null==g?void 0:g.cookieDuration),(b=new Date).setTime(b.getTime()+(m||15552e6)),w="expires=".concat(b.toUTCString()),document.cookie="_ALGOLIA=".concat(A,";").concat(w,";path=/"))),h("onUserTokenChange",function(e){return E(e,!0)},{immediate:!0});var k=h;Q(h)&&(k=function(e,t){var r=(0,T._)(O(u.client),2);return h(e,t,{headers:{"X-Algolia-Application-Id":r[0],"X-Algolia-API-Key":r[1]}})});var N=new Set;u.mainHelper.derivedHelpers[0].on("result",function(e){var t=e.results;t&&(!t.queryID||t.queryID!==C)&&(C=t.queryID,N.clear())}),u.sendEventToInsights=function(e){if(n)n(e,k);else if(e.insightsMethod){if("viewedObjectIDs"===e.insightsMethod){var t=e.payload,r=t.objectIDs.filter(function(e){return!N.has(e)});if(0===r.length)return;r.forEach(function(e){return N.add(e)}),t.objectIDs=r}e.payload.algoliaSource=["instantsearch"],c&&e.payload.algoliaSource.pu
16sh("instantsearch-automatic"),"internal"===e.eventModifier&&e.payload.algoliaSource.push("instantsearch-internal"),k(e.insightsMethod,e.payload)}}},unsubscribe:function(){h("onUserTokenChange",void 0),u.sendEventToInsights=A.noop,l&&i&&(l.overrideStateWithoutTriggeringChangeEvent((0,s._)({},l.state,i)),u.scheduleSearch())}}}}function Q(e){var t=(0,T._)((e.version||"").split(".").map(Number),2),r=t[0],n=t[1];return r>=3||2===r&&n>=6||1===r&&n>=10}function W(e){if(e)return"number"==typeof e?e.toString():e}var L=e.i(759436);function H(e,t,r){var n=t.getHelper();return{uiState:r,helper:n,parent:t,instantSearchInstance:e,state:n.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,scopedResults:[],searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function U(e,t,r){var n=t.getResultsForWidget(r),i=t.getHelper();return{helper:i,parent:t,instantSearchInstance:e,results:n,scopedResults:t.getScopedResults(),state:n&&"_state"in n?n._state:i.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function G(e){var t=e.renderState,r=e.instantSearchInstance,n=e.parent,i=n?n.getIndexId():r.mainIndex.getIndexId();r.renderState=(0,a._)((0,s._)({},r.renderState),(0,o._)({},i,(0,s._)({},r.renderState[i],t)))}var K=e.i(644169),V=function(e){e&&(window.document.title=e)},Y=function(){function e(t){var r=this,n=t.windowTitle,i=t.writeDelay,s=t.createURL,a=t.parseURL,l=t.getLocation,c=t.start,u=t.dispose,h=t.push,d=t.cleanUrlOnDispose;(0,F._)(this,e),(0,o._)(this,"$$type","ais.browser"),(0,o._)(this,"windowTitle",void 0),(0,o._)(this,"writeDelay",void 0),(0,o._)(this,"_createURL",void 0),(0,o._)(this,"parseURL",void 0),(0,o._)(this,"getLocation",void 0),(0,o._)(this,"writeTimer",void 0),(0,o._)(this,"_onPopState",void 0),(0,o._)(this,"inPopState",!1),(0,o._)(this,"isDisposed",!1),(0,o._)(this,"latestAcknowledgedHistory",0),(0,o._)(this,"_start",void 0),(0,o._)(this,"_dispose",void 0),(0,o._)(this,"_push",void 0),(0,o._)(this,"_cleanUrlOnDispose",void 0),this.windowTitle=n,this.writeTimer=void 0,this.writeDelay=void 0===i?400:i,this._createURL=s,this.parseURL=a,this.getLocation=l,this._start=c,this._dispose=u,this._push=h,this._cleanUrlOnDispose=void 0===d||d,b(function(e){var t=e.window;V(r.windowTitle&&r.windowTitle(r.read())),r.latestAcknowledgedHistory=t.history.length})}return(0,B._)(e,[{key:"read",value:function(){return this.parseURL({qsModule:K.default,location:this.getLocation()})}},{key:"write",value:function(e){var t=this;b(function(r){var n=r.window,i=t.createURL(e),s=t.windowTitle&&t.windowTitle(e);t.writeTimer&&clearTimeout(t.writeTimer),t.writeTimer=setTimeout(function(){V(s),t.shouldWrite(i)&&(t._push?t._push(i):n.history.pushState(e,s||"",i),t.latestAcknowledgedHistory=n.history.length),t.inPopState=!1,t.writeTimer=void 0},t.writeDelay)})}},{key:"onUpdate",value:function(e){var t=this;this._start&&this._start(function(){e(t.read())}),this._onPopState=function(){t.writeTimer&&(clearTimeout(t.writeTimer),t.writeTimer=void 0),t.inPopState=!0,e(t.read())},b(function(e){e.window.addEventListener("popstate",t._onPopState)})}},{key:"createURL",value:function(e){return this._createURL({qsModule:K.default,routeState:e,location:this.getLocation()})}},{key:"dispose",value:function(){var e=this;this._dispose&&this._dispose(),this.isDisposed=!0,b(function(t){var r=t.window;e._onPopState&&r.removeEventListener("popstate",e._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(e){var t=this;return b(function(r){var n=r.window;if(t.isDisposed&&!t._cleanUrlOnDispose)return!1;var i=!(t.isDisposed&&t.latestAcknowledgedHistory!==n.history.length);return!t.inPopState&&i&&e!==n.location.href})}}]),e}();function J(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.createURL,r=void 0===t?function(e){var t=e.qsModule,r=e.routeState,n=e.location,i=n.protocol,s=n.hostname,o=n.port,a=void 0===o?"":o,l=n.pathname,c=n.hash,u=t.stringify(r),h=""===a?"":":".concat(a);return u?"".concat(i,"//").concat(s).concat(h).concat(l,"?").concat(u).
16concat(c):"".concat(i,"//").concat(s).concat(h).concat(l).concat(c)}:t,n=e.parseURL,i=void 0===n?function(e){var t=e.qsModule,r=e.location;return t.parse(r.search.slice(1),{arrayLimit:99})}:n,s=e.writeDelay,o=e.windowTitle,a=e.getLocation;return new Y({createURL:r,parseURL:i,writeDelay:void 0===s?400:s,windowTitle:o,getLocation:void 0===a?function(){return b(function(e){return e.window.location},{fallback:function(){throw Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:a,start:e.start,dispose:e.dispose,push:e.push,cleanUrlOnDispose:e.cleanUrlOnDispose})}function Z(e){return e.configure,(0,h._)(e,["configure"])}function q(e){return e!==Object(e)}var X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.router,r=void 0===t?J():t,n=e.stateMapping,i=void 0===n?{$$type:"ais.simple",stateToRoute:function(e){return Object.keys(e).reduce(function(t,r){return(0,a._)((0,s._)({},t),(0,o._)({},r,Z(e[r])))},{})},routeToState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];return(void 0===n?"undefined":(0,R._)(n))!=="object"||null===n?t:(0,a._)((0,s._)({},t),(0,o._)({},r,Z(n)))},{})}}:n,l=e.$$internal,c=void 0!==l&&l;return function(e){var t=e.instantSearchInstance;t._createURL=function(e){var n=0===t.mainIndex.getWidgets().length?t._initialUiState:t.mainIndex.getWidgetUiState({}),l=Object.keys(e).reduce(function(t,r){return(0,a._)((0,s._)({},t),(0,o._)({},r,e[r]))},n),c=i.stateToRoute(l);return r.createURL(c)};var n=void 0,l=t._initialUiState;return{$$type:"ais.router({router:".concat(r.$$type||"__unknown__",", stateMapping:").concat(i.$$type||"__unknown__","})"),$$internal:c,onStateChange:function(e){var t=e.uiState,s=i.stateToRoute(t);(void 0===n||!function e(t,r){if(t===r)return!0;if(q(t)||q(r)||"function"==typeof t||"function"==typeof r)return t===r;if(Object.keys(t).length!==Object.keys(r).length)return!1;var n=!0,i=!1,s=void 0;try{for(var o,a=Object.keys(t)[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var l=o.value;if(!(l in r)||!e(t[l],r[l]))return!1}}catch(e){i=!0,s=e}finally{try{n||null==a.return||a.return()}finally{if(i)throw s}}return!0}(n,s))&&(r.write(s),n=s)},subscribe:function(){t._initialUiState=(0,s._)({},l,i.routeToState(r.read())),r.onUpdate(function(e){t.mainIndex.getWidgets().length>0&&t.setUiState(i.routeToState(e))})},started:function(){var e;null==(e=r.start)||e.call(r)},unsubscribe:function(){r.dispose()}}}},z=0,$=Promise.resolve();function ee(e){var t=null,r=!1,n=function(){for(var n=arguments.length,i=Array(n),s=0;s<n;s++)i[s]=arguments[s];null===t&&(t=$.then(function(){if(t=null,r){r=!1;return}e.apply(void 0,(0,C._)(i))}))};return n.wait=function(){if(null===t)throw Error("The deferred function should be called before calling `wait()`");return t},n.cancel=function(){null!==t&&(r=!0)},n}function et(e){for(var t=e.getParent(),r=[e.getHelper().state];null!==t;)r=[t.getHelper().state].concat(r),t=t.getParent();return r}var er=(0,u.createDocumentationMessageGenerator)({name:"index-widget"});function en(e,t){var r=t.state,n=t.recommendState,i=t.isPageReset,s=t._uiState;r!==e.state&&(e.state=r,e.emit("change",{state:e.state,results:e.lastResults,isPageReset:i,_uiState:s})),n!==e.recommendState&&(e.recommendState=n)}function ei(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,r){return!(0,L.isIndexWidget)(r)&&(r.getWidgetUiState||r.getWidgetState)?r.getWidgetUiState?r.getWidgetUiState(e,t):r.getWidgetState(e,t):e},r)}function es(e,t){var r=t.initialSearchParameters,n=(0,h._)(t,["initialSearchParameters"]);return e.reduce(function(e,t){return!t.getWidgetSearchParameters||(0,L.isIndexWidget)(t)?e:"search"===t.dependsOn&&t.getWidgetParameters?t.getWidgetParameters(e,n):t.getWidgetSearchParameters(e,n)},r)}function eo(e,t){var r=t.initialRecommendParameters,n=(0,h._)(t,["initialRecommendParameters"]);return e.reduce(function(e,t){return!(0,L.isIndexWidget)(t)&&"recommend"===t.dependsOn&&t.getWidgetParameters?t.getWidgetParameters(e,n):e},r)}var ea=function(e){if(void 0===e||void 0===e.indexName&&!e.EXPERIMENTAL_isolated)throw Error(er("The `indexName` option is required."));var t=e.indexName,r=void 0===t?"":t,n=e.indexId,i=void 0===n?r:n,c=e.EXPERIMENTAL_isolated,u=void 0!==c&&c,h=[],d={},f=null,A=null,m=null,g=null,y=null,v=!1,b=!1;return{$$type:"ais.index",$$widgetType:"ais.index",_isolated:u,getIndexName:function(){return r},getIndexId:function(){return i},getHelper:function(){return m},getResults:function(){return(null==g?void 0:g.lastResults)?(g.lastResults._state=m.state,g.lastResults):null},getResultsForWidget:function(e){return"recommend"!==e.dependsOn||(0,L.isIndexWidget)(e)||void 0===e.$$id?this.getResults():(null==m?void 0:m.lastRecommendResults)?m.lastRecommendResults[e.$$id]:null},getPreviousState:function(){return y},getScopedResults:function(){var e=this.getParent();return function e(t){return t.filter(L.isIndexWidget).reduce(function(t,r){return t.concat.apply(t,[{indexId:r.getIndexId(),results:r.getResults(),helper:r.getHelper()}].concat((0,C._)(e(r.getWidgets()))))},[])}(e?e.getWidgets():0===r.length?this.getWidgets():[this])},getParent:function(){return u?null:A},createURL:function(e){return"function"==typeof e?f._createURL((0,o._)({},i,e(d))):f._createURL((0,o._)({},i,ei(h,{searchParameters:e,helper:m})))},scheduleLocalSearch:ee(function(){u&&(null==m||m.search())}),getWidgets:function(){return h},addWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(er("The `addWidgets` method expects an array of widgets."));var r=e.reduce(function(e,t){return e.concat(Array.isArray(t)?t:[t])},[]);if(r.some(function(e){return"function"!=typeof e.init&&"function"!=typeof e.render}))throw Error(er("The widget definition expects a `render` and/or an `init` method."));return r.forEach(function(e){(e.parent=t,!(0,L.isIndexWidget)(e))&&(f&&"recommend"===e.dependsOn?f._hasRecommendWidget=!0:f?f._hasSearchWidget=!0:"recommend"===e.dependsOn?v=!0:b=!0,"recommend"===e.dependsOn&&(e.$$id=z++))}),h=h.concat(r),f&&r.length&&(en(m,{state:es(h,{uiState:d,initialSearchParameters:m.state}),recommendState:eo(h,{uiState:d,initialRecommendParameters:m.recommendState}),_uiState:d}
16),r.forEach(function(e){e.getRenderState&&G({renderState:e.getRenderState(f.renderState[t.getIndexId()]||{},H(f,t,f._initialUiState)),instantSearchInstance:f,parent:t})}),r.forEach(function(e){e.init&&e.init(H(f,t,f._initialUiState))}),u?this.scheduleLocalSearch():f.scheduleSearch()),this},removeWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(er("The `removeWidgets` method expects an array of widgets."));var r=e.reduce(function(e,t){return e.concat(Array.isArray(t)?t:[t])},[]);if(r.some(function(e){return"function"!=typeof e.dispose}))throw Error(er("The widget definition expects a `dispose` method."));if((h=h.filter(function(e){return -1===r.indexOf(e)})).forEach(function(e){e.parent=void 0,(0,L.isIndexWidget)(e)||(f&&"recommend"===e.dependsOn?f._hasRecommendWidget=!0:f?f._hasSearchWidget=!0:"recommend"===e.dependsOn?v=!0:b=!0)}),f&&r.length){var n=r.reduce(function(e,r){var n=r.dispose({helper:m,state:e.cleanedSearchState,recommendState:e.cleanedRecommendState,parent:t});return P(n,l.default.RecommendParameters)?e.cleanedRecommendState=n:n&&(e.cleanedSearchState=n),e},{cleanedSearchState:m.state,cleanedRecommendState:m.recommendState}),i=n.cleanedSearchState,s=n.cleanedRecommendState,o=f.future.preserveSharedStateOnUnmount?es(h,{uiState:d,initialSearchParameters:new l.default.SearchParameters({index:this.getIndexName()})}):es(h,{uiState:ei(h,{searchParameters:i,helper:m}),initialSearchParameters:i});d=ei(h,{searchParameters:o,helper:m}),m.setState(o),m.recommendState=s,h.length&&(u?this.scheduleLocalSearch():f.scheduleSearch())}return this},init:function(e){var t,n=this,s=e.instantSearchInstance,o=e.parent,a=e.uiState;if(null===m){f=s,A=o,d=a[i]||{};var c=s.mainHelper,w=es(h,{uiState:d,initialSearchParameters:new l.default.SearchParameters({index:r})}),x=eo(h,{uiState:d,initialRecommendParameters:new l.default.RecommendParameters});(m=(0,l.default)(c.getClient(),w.index,w)).recommendState=x,m.search=function(){return u?(s.status="loading",n.render({instantSearchInstance:s}),s.compositionID?m.searchWithComposition():m.searchOnlyWithDerivedHelpers()):s.onStateChange?(s.onStateChange({uiState:s.mainIndex.getWidgetUiState({}),setUiState:function(e){return s.setUiState(e,!1)}}),c):c.search()},m.searchWithoutTriggeringOnStateChange=function(){return c.search()},m.searchForFacetValues=function(e,t,r,i){var s=p.apply(void 0,[c.state].concat((0,C._)(et(n)))).setQueryParameters(i);return c.searchForFacetValues(e,t,r,s)};var S=r?m:(0,l.default)({},"__empty_index__",{});g=(u?S:function(e,t){for(;e;){if(e._isolated)return e.getHelper();e=e.getParent()}return t}(o,c)).derive(function(){return p.apply(void 0,[c.state].concat((0,C._)(et(n))))},function(){return n.getHelper().recommendState});var I=null==(t=s._initialResults)?void 0:t[this.getIndexId()];if(null==I?void 0:I.results){var E=new l.default.SearchResults(new l.default.SearchParameters(I.state),I.results);g.lastResults=E,m.lastResults=E}if(null==I?void 0:I.recommendResults){var R=new l.default.RecommendResults(new l.default.RecommendParameters({params:I.recommendResults.params}),I.recommendResults.results);g.lastRecommendResults=R,m.lastRecommendResults=R}m.on("change",function(e){e.isPageReset&&function e(t){var r=t.filter(L.isIndexWidget);0!==r.length&&r.forEach(function(t){var r=t.getHelper();en(r,{state:r.state.resetPage(),recommendState:r.recommendState,isPageReset:!0}),e(t.getWidgets())})}(h)}),g.on("search",function(){s.scheduleStalledRender()}),g.on("result",function(e){var t=e.results;s.scheduleRender(),m.lastResults=t,y=null==t?void 0:t._state}),g.on("recommend:result",function(e){var t=e.recommend;s.scheduleRender(),m.lastRecommendResults=t.results}),h.forEach(function(e){e.getRenderState&&G({renderState:e.getRenderState(s.renderState[n.getIndexId()]||{},H(s,n,a)),instantSearchInstance:s,parent:n})}),h.forEach(function(e){e.init&&e.init(H(s,n,a))}),m.on("change",function(e){var t=e.state,r=e._uiState;d=ei(h,{searchParameters:t,helper:m},r||{}),s.onStateChange||s.onInternalStateChange()}),I&&s.scheduleRender(),v&&(s._hasRecommendWidget=!0),b&&(s._hasSearchWidget=!0)}},render:function(e){var t=this,n=e.instantSearchInstance;"error"===n.status&&!n.mainHelper.hasPendingRequests()&&y&&m.setState(y);var i=this.getResults()||(null==g?void 0:g.lastRecommendResults)||u&&!r?h:h.filter(function(e){return e.shouldRender});(i=i.filter(function(e){return!e.shouldRender||e.shouldRender({instantSearchInstance:n})}
16)).forEach(function(e){e.getRenderState&&G({renderState:e.getRenderState(n.renderState[t.getIndexId()]||{},U(n,t,e)),instantSearchInstance:n,parent:t})}),i.forEach(function(e){e.render&&e.render(U(n,t,e))})},dispose:function(){var e=this;h.forEach(function(t){t.dispose&&m&&t.dispose({helper:m,state:m.state,recommendState:m.recommendState,parent:e})}),f=null,A=null,null==m||m.removeAllListeners(),m=null,null==g||g.detach(),g=null},getWidgetUiState:function(e){return h.filter(L.isIndexWidget).filter(function(e){return!e._isolated}).reduce(function(e,t){return t.getWidgetUiState(e)},(0,a._)((0,s._)({},e),(0,o._)({},i,(0,s._)({},e[i],d))))},getWidgetState:function(e){return this.getWidgetUiState(e)},getWidgetSearchParameters:function(e,t){var r=t.uiState;return es(h,{uiState:r,initialSearchParameters:e})},shouldRender:function(){return!0},refreshUiState:function(){d=ei(h,{searchParameters:this.getHelper().state,helper:this.getHelper()},d)},setIndexUiState:function(e){var t="function"==typeof e?e(d):e;f.setUiState(function(e){return(0,a._)((0,s._)({},e),(0,o._)({},i,t))})}}},el=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.descendantName,n=t.modifierName;return"".concat("ais","-").concat(e).concat(r?"-".concat(r):"").concat(n?"--".concat(n):"")}},ec=e.i(115899),eu=e.i(231763),eh=el("Highlight");function ed(e){var t=eu.TAG_REPLACEMENT.highlightPreTag,r=eu.TAG_REPLACEMENT.highlightPostTag;return e.map(function(e){return e.isHighlighted?t+e.value+r:e.value}).join("")}var ef=e.i(991363),ep=new RegExp(/\w/i);function eA(e){return e.some(function(e){return e.isHighlighted})?e.map(function(t,r){var n,i,o,l,c;return(0,a._)((0,s._)({},t),{isHighlighted:(o=e[r],l=(null==(n=e[r+1])?void 0:n.isHighlighted)||!0,c=(null==(i=e[r-1])?void 0:i.isHighlighted)||!0,ep.test((0,ef.unescape)(o.value))||c!==l?!o.isHighlighted:!c)})}):e.map(function(e){return(0,a._)((0,s._)({},e),{isHighlighted:!1})})}var em=e.i(273617),eg=el("ReverseHighlight"),ey=el("Snippet"),ev=el("ReverseSnippet"),eb=e.i(104974);function ew(e){var t;return(null==(t=e.compositionFeedsResults)?void 0:t.length)?e.compositionFeedsResults:e.results||[]}function ex(e){var t=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=0;return e.replace(/%s/g,function(){return encodeURIComponent(r[i++])})};return Object.keys(e).map(function(r){var n;return t("%s=%s",r,(n=e[r],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n))?JSON.stringify(e[r]):e[r])}).join("&")}function eS(e,t){var r=e[t.getIndexId()]||{};t.getHelper().setState(t.getWidgetSearchParameters(t.getHelper().state,{uiState:r})),t.getWidgets().filter(L.isIndexWidget).forEach(function(t){return eS(e,t)})}var eC=(0,u.createDocumentationMessageGenerator)({name:"instantsearch"});function eI(){return"#"}var eE={preserveSharedStateOnUnmount:!1,persistHierarchicalRootCount:!1},eR=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function t(e){(0,F._)(this,t),r=function(e,t){t=I(t);var r=E()?Reflect.construct(t,[],I(e).constructor):t.apply(e,void 0);if(r&&("object"===(0,R._)(r)||"function"==typeof r))return r;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,t),(0,o._)(r,"client",void 0),(0,o._)(r,"indexName",void 0),(0,o._)(r,"compositionID",void 0),(0,o._)(r,"insightsClient",void 0),(0,o._)(r,"onStateChange",null),(0,o._)(r,"future",void 0),(0,o._)(r,"helper",void 0),(0,o._)(r,"mainHelper",void 0),(0,o._)(r,"mainIndex",void 0),(0,o._)(r,"started",void 0),(0,o._)(r,"templatesConfig",void 0),(0,o._)(r,"renderState",{}),(0,o._)(r,"_stalledSearchDelay",void 0),(0,o._)(r,"_searchStalledTimer",void 0),(0,o._)(r,"_initialUiState",void 0),(0,o._)(r,"_initialResults",void 0),(0,o._)(r,"_manuallyResetScheduleSearch",!1),(0,o._)(r,"_resetScheduleSearch",void 0),(0,o._)(r,"_createURL",void 0),(0,o._)(r,"_searchFunction",void 0),(0,o._)(r,"_mainHelperSearch",void 0),(0,o._)(r,"_hasSearchWidget",!1),(0,o._)(r,"_hasRecommendWidget",!1),(0,o._)(r,"_insights",void 0),(0,o._)(r,"middleware",[]),(0,o._)(r,"sendEventToInsights",void 0),(0,o._)(r,"status","idle"),(0,o._)(r,"error",void 0),(0,o._)(r,"scheduleSearch",ee(function(){r.started&&r.mainHelper.search()})),(0,o._)(r,"scheduleRender",ee(function(){var e,t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(null==(e=r.mainHelper)?void 0:e.hasPendingRequests())||(clearTimeout(r._searchStalledTimer),r._searchStalledTimer=null,t&&(r.status="idle",r.error=void 0)),r.mainIndex.render({instantSearchInstance:r}),r.emit("render")})),(0,o._)(r,"onInternalStateChange",ee(function(){var e=r.mainIndex.getWidgetUiState({});r.middleware.forEach(function(t){t.instance.onStateChange({uiState:e})})})),r.setMaxListeners(100);var r,n=e.indexName,i=e.compositionID,l=e.numberLocale,c=e.initialUiState,u=e.routing,h=void 0===u?null:u,d=e.insights,f=void 0===d?void 0:d,p=e.searchFunction,m=e.stalledSearchDelay,g=e.searchClient,y=void 0===g?null:g,v=e.insightsClient,w=void 0===v?null:v,x=e.onStateChange,S=e.future,C=void 0===S?(0,s._)({},eE,e.future||{}):S;if(null===y)throw Error(eC("The `searchClient` option is required."));if("function"!=typeof y.search)throw Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if("function"==typeof y.addAlgoliaAgent&&y.addAlgoliaAgent("instantsearch.js (".concat("4.97.0",")")),w&&"function"!=typeof w)throw Error(eC("The `insightsClient` option should be a function."));if(r.client=y,r.future=C,r.insightsClient=w,r.indexName=void 0===n?"":n,r.compositionID=i,r.helper=null,r.mainHelper=null,r.mainIndex=ea({indexName:r.compositionID||r.indexName}),r.onStateChange=void 0===x?null:x,r.started=!1,r.templatesConfig={helpers:{formatNumber:function(e,t){var r;
16return r=Number(t(e)),r.toLocaleString(l)},highlight:function(e,t){try{var r,n,i,o,l,c,u,h,d,f=JSON.parse(e);return t((n=(r=(0,a._)((0,s._)({},f),{hit:this})).attribute,i=r.highlightedTagName,o=void 0===i?"mark":i,l=r.hit,c=r.cssClasses,u=void 0===c?{}:c,h=((0,ec.getPropertyByPath)(l._highlightResult,n)||{}).value,d=eh({descendantName:"highlighted"})+(u.highlighted?" ".concat(u.highlighted):""),(void 0===h?"":h).replace(RegExp(eu.TAG_REPLACEMENT.highlightPreTag,"g"),"<".concat(o,' class="').concat(d,'">')).replace(RegExp(eu.TAG_REPLACEMENT.highlightPostTag,"g"),"</".concat(o,">"))))}catch(e){throw Error('\nThe highlight helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseHighlight:function(e,t){try{var r,n,i,o,l,c,u,h,d,f=JSON.parse(e);return t((n=(r=(0,a._)((0,s._)({},f),{hit:this})).attribute,i=r.highlightedTagName,o=void 0===i?"mark":i,l=r.hit,c=r.cssClasses,u=void 0===c?{}:c,h=((0,ec.getPropertyByPath)(l._highlightResult,n)||{}).value,d=eg({descendantName:"highlighted"})+(u.highlighted?" ".concat(u.highlighted):""),ed(eA((0,em.getHighlightedParts)(void 0===h?"":h))).replace(RegExp(eu.TAG_REPLACEMENT.highlightPreTag,"g"),"<".concat(o,' class="').concat(d,'">')).replace(RegExp(eu.TAG_REPLACEMENT.highlightPostTag,"g"),"</".concat(o,">"))))}catch(e){throw Error('\n The reverseHighlight helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},snippet:function(e,t){try{var r,n,i,o,l,c,u,h,d,f=JSON.parse(e);return t((n=(r=(0,a._)((0,s._)({},f),{hit:this})).attribute,i=r.highlightedTagName,o=void 0===i?"mark":i,l=r.hit,c=r.cssClasses,u=void 0===c?{}:c,h=((0,ec.getPropertyByPath)(l._snippetResult,n)||{}).value,d=ey({descendantName:"highlighted"})+(u.highlighted?" ".concat(u.highlighted):""),(void 0===h?"":h).replace(RegExp(eu.TAG_REPLACEMENT.highlightPreTag,"g"),"<".concat(o,' class="').concat(d,'">')).replace(RegExp(eu.TAG_REPLACEMENT.highlightPostTag,"g"),"</".concat(o,">"))))}catch(e){throw Error('\nThe snippet helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseSnippet:function(e,t){try{var r,n,i,o,l,c,u,h,d,f=JSON.parse(e);return t((n=(r=(0,a._)((0,s._)({},f),{hit:this})).attribute,i=r.highlightedTagName,o=void 0===i?"mark":i,l=r.hit,c=r.cssClasses,u=void 0===c?{}:c,h=((0,ec.getPropertyByPath)(l._snippetResult,n)||{}).value,d=ev({descendantName:"highlighted"})+(u.highlighted?" ".concat(u.highlighted):""),ed(eA((0,em.getHighlightedParts)(void 0===h?"":h))).replace(RegExp(eu.TAG_REPLACEMENT.highlightPreTag,"g"),"<".concat(o,' class="').concat(d,'">')).replace(RegExp(eu.TAG_REPLACEMENT.highlightPostTag,"g"),"</".concat(o,">"))))}catch(e){throw Error('\n The reverseSnippet helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},insights:function(e,t){try{var r,n=JSON.parse(e),i=n.method,o=n.payload;return t((r=(0,s._)({objectIDs:[this.objectID]},o),function(e){var t,r=e.method,n=e.payload;if((void 0===n?"undefined":(0,R._)(n))!=="object")throw Error("The insights helper expects the payload to be an object.");try{t=(0,eb.serializePayload)(n)}catch(e){throw Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(r,'" data-insights-payload="').concat(t,'"')}({method:i,payload:r})))}catch(e){throw Error('\nThe insights helper expects a JSON object of the format:\n{ "method": "method-name", "payload": { "eventName": "name of the event" } }')}}},compileOptions:{}},r._stalledSearchDelay=void 0===m?200:m,r._searchStalledTimer=null,r._createURL=eI,r._initialUiState=void 0===c?{}:c,r._initialResults=null,r._insights=f,p&&(r._searchFunction=p),r.sendEventToInsights=A.noop,h){var B="boolean"==typeof h?{}:h;B.$$internal=!0,r.use(X(B))}if(f){var D="boolean"==typeof f?{}:f;D.$$internal=!0,r.use(M(D))}return b(function(e){var t,r;return(null==(r=e.window.navigator)||null==(t=r.userAgent)?void 0:t.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})&&r.use(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.$$internal,r=void 0!==t&&t;return function(e){var t=e.instantSearchInstance,n={widgets:[]},i=document.createElement("meta"),s=document.querySelector("head");return i.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:r,onStateChange:function(){},subscribe:function(){setTimeout(function(){var e;n.ua=(e=t.client).transporter&&e.transporter.userAgent?e.transporter.userAgent.value:e._ua,function e(t,r,n){var i=H(r,r.mainIndex,r._initialUiState);t.forEach(function(t){var s={};
16if(t.getWidgetRenderState){var o=t.getWidgetRenderState(i);o&&o.widgetParams&&(s=o.widgetParams)}var a=Object.keys(s).filter(function(e){return void 0!==s[e]});n.widgets.push({type:t.$$type,widgetType:t.$$widgetType,params:a}),(0,L.isIndexWidget)(t)&&e(t.getWidgets(),r,n)})}(t.mainIndex.getWidgets(),t,n),t.middleware.forEach(function(e){return n.widgets.push({middleware:!0,type:e.instance.$$type,internal:e.instance.$$internal})}),i.content=JSON.stringify(n),s.appendChild(i)},0)},started:function(){},unsubscribe:function(){i.remove()}}}}({$$internal:!0})),r}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e),(0,B._)(t,[{key:"_isSearchStalled",get:function(){return"stalled"===this.status}},{key:"use",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r.map(function(t){var r=(0,s._)({$$type:"__unknown__",$$internal:!1,subscribe:A.noop,started:A.noop,unsubscribe:A.noop,onStateChange:A.noop},t({instantSearchInstance:e}));return e.middleware.push({creator:t,instance:r}),r});return this.started&&i.forEach(function(e){e.subscribe(),e.started()}),this}},{key:"unuse",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.middleware.filter(function(e){return t.includes(e.creator)}).forEach(function(e){return e.instance.unsubscribe()}),this.middleware=this.middleware.filter(function(e){return!t.includes(e.creator)}),this}},{key:"EXPERIMENTAL_use",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.use.apply(this,(0,C._)(t))}},{key:"addWidget",value:function(e){return this.addWidgets([e])}},{key:"addWidgets",value:function(e){if(!Array.isArray(e))throw Error(eC("The `addWidgets` method expects an array of widgets. Please use `addWidget`."));if(this.compositionID&&e.some(function(e){return!Array.isArray(e)&&(0,L.isIndexWidget)(e)&&!e._isolated}))throw Error(eC("The `index` widget cannot be used with a composition-based InstantSearch implementation."));return this.mainIndex.addWidgets(e),this}},{key:"removeWidget",value:function(e){return this.removeWidgets([e])}},{key:"removeWidgets",value:function(e){if(!Array.isArray(e))throw Error(eC("The `removeWidgets` method expects an array of widgets. Please use `removeWidget`."));return this.mainIndex.removeWidgets(e),this}},{key:"start",value:function(){var e=this;if(this.started)throw Error(eC("The `start` method has already been called once."));var t=this.mainHelper||(0,l.default)(this.client,this.indexName,void 0,{persistHierarchicalRootCount:this.future.persistHierarchicalRootCount});if(this.compositionID&&(t.searchForFacetValues=t.searchForCompositionFacetValues.bind(t)),t.search=function(){return e.status="loading",e.scheduleRender(!1),e._hasSearchWidget&&(e.compositionID?t.searchWithComposition():t.searchOnlyWithDerivedHelpers()),e._hasRecommendWidget&&t.recommend(),t},this._searchFunction){var r={search:function(){return new Promise(A.noop)}};this._mainHelperSearch=t.search.bind(t),t.search=function(){var n=e.mainIndex.getHelper(),i=(0,l.default)(r,n.state.index,n.state);return i.once("search",function(t){var r=t.state;n.overrideStateWithoutTriggeringChangeEvent(r),e._mainHelperSearch()}),i.on("change",function(e){var t=e.state;n.setState(t)}),e._searchFunction(i),t}}if(t.on("error",function(t){var r=t.error;if(!P(r,Error)){var n=r;r=Object.keys(n).reduce(function(e,t){return e[t]=n[t],e},Error(n.message))}r.error=r,e.error=r,e.status="error",e.scheduleRender(!1),e.emit("error",r)}),this.mainHelper=t,this.middleware.forEach(function(e){e.instance.subscribe()}),this.mainIndex.init({instantSearchInstance:this,parent:null,uiState:this._initialUiState}),this._initialResults){!function(e,t){if(t&&("transporter"in e&&!e._cacheHydrated||e._useCache&&"function"==typeof e.addAlgoliaAgent)){var r=[Object.keys(t).reduce(function(e,r){var n=t[r],i=n.state,o=n.requestParams,a=ew(n),l=a&&i?a.map(function(e,t){return(0,s._)({indexName:i.index||e.index},(null==o?void 0:o[t])||e.params?{params:ex((null==o?void 0:o[t])||e.params.split("&").reduce(function(e,t){var r=(0,T._)(t.split("="),2),n=r[0],i=r[1];
16return e[n]=i?decodeURIComponent(i):"",e},{}))}:{})}):[];return e.concat(l)},[])],n=Object.keys(t).reduce(function(e,r){var n=ew(t[r]);return n?e.concat(n):e},[]);if("transporter"in e&&!e._cacheHydrated){e._cacheHydrated=!0;var i=e.search.bind(e);e.search=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var l=Array.isArray(t)?t.map(function(e){return(0,a._)((0,s._)({},e),{params:ex(e.params)})}):ex(t.requestBody.params);return e.transporter.responsesCache.get({method:"search",args:[l].concat((0,C._)(n))},function(){return i.apply(void 0,[t].concat((0,C._)(n)))})},e.transporter.responsesCache.set({method:"search",args:r},{results:n})}if(!("transporter"in e)){var l="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:r}));e.cache=(0,a._)((0,s._)({},e.cache),(0,o._)({},l,JSON.stringify({results:Object.keys(t).map(function(e){return ew(t[e])})})))}}}(this.client,this._initialResults),this.mainHelper._recommendCache=Object.keys(n=this._initialResults).reduce(function(e,t){var r=n[t];return r.recommendResults?(0,s._)({},e,r.recommendResults.results):e},{});var n,i=this.scheduleSearch;this.scheduleSearch=ee(A.noop),this._manuallyResetScheduleSearch?this._resetScheduleSearch=function(){e.scheduleSearch=i}:ee(function(){e.scheduleSearch=i})()}else this.mainIndex.getWidgets().length>0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(e){e.instance.started()}),void 0===this._insights&&t.derivedHelpers[0].once("result",function(){e.mainIndex.getScopedResults().some(function(e){var t=e.results;return null==t?void 0:t._automaticInsights})&&e.use(M({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var e;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),null==(e=this.mainHelper)||e.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(e){e.instance.unsubscribe()})}},{key:"scheduleStalledRender",value:function(){var e=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){e.status="stalled",e.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(e){var t=this,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!this.mainHelper)throw Error(eC("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var n="function"==typeof e?e(this.mainIndex.getWidgetUiState({})):e;this.onStateChange&&r?this.onStateChange({uiState:n,setUiState:function(e){eS("function"==typeof e?e(n):e,t.mainIndex),t.scheduleSearch(),t.onInternalStateChange()}}):(eS(n,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.started)throw Error(eC("The `start` method needs to be called before `createURL`."));return this._createURL(e)}},{key:"refresh",value:function(){if(!this.mainHelper)throw Error(eC("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}]),t}(k.default),eF=e.i(802239),eB="7.32.3",eD=e.i(498587),eP=e.i(663451),ek=e.i(430311),eT=e.i(107052),eO=["react (".concat(r.version,")"),"react-instantsearch (".concat(eB,")"),"react-instantsearch-core (".concat(eB,")")],ej="react-instantsearch-server (".concat(eB,")");function eN(e,t){"function"==typeof e.addAlgoliaAgent&&t.filter(Boolean).forEach(function(t){e.addAlgoliaAgent(t)})}function e_(e){var t=e.children,n=function(e){var t=(0,T._)((0,r.useReducer)(function(e){return e+1},0),2)[1],n=(0,eP.useInstantSearchServerContext)(),i=(0,ek.useInstantSearchSSRContext)(),o=(0,eT.useRSCContext)().waitForResultsRef,a=null==i?void 0:i.initialResults,l=(0,r.useRef)(e),c=n||a||o,u=(0,r.useRef)(null);if((null==i?void 0:i.ssrSearchRef)&&(u=i.ssrSearchRef),null===u.current){var h,d,f,p=new eR(e);p._schedule=function(e){p._schedule.queue.push(e),clearTimeout(p._schedule.timer),p._schedule.timer=setTimeout(function(){p._schedule.queue.forEach(function(e){e()}),p._schedule.queue=[]},0)},p._schedule.queue=[],c&&(p._initialResults=a||{},p._manuallyResetScheduleSearch=!0),eN(e.searchClient,(0,C._)(eO).concat([n&&ej,(f="u">typeof window&&(null==(h=window.next)?void 0:h.version)||(void 0!==S.default?null==(d=S.default.env)?void 0:d.NEXT_RUNTIME:void 0))?"next.js (".concat(f,")"):null])),c&&p.start(),n&&n.notifyServer({search:p}
16),e.routing,u.current=p}var A,m=u.current,g=l.current;g.indexName!==e.indexName&&(m.helper.setIndex(e.indexName||"").search(),l.current=e),g.searchClient!==e.searchClient&&(eN(e.searchClient,(0,C._)(eO).concat([n&&ej])),m.mainHelper.setClient(e.searchClient).search(),l.current=e),g.onStateChange!==e.onStateChange&&(m.onStateChange=e.onStateChange,l.current=e),g.searchFunction!==e.searchFunction&&(m._searchFunction=e.searchFunction,l.current=e),g.stalledSearchDelay!==e.stalledSearchDelay&&(m._stalledSearchDelay=null!=(A=e.stalledSearchDelay)?A:200,l.current=e),(0,eD.dequal)(g.future,e.future)||(m.future=(0,s._)({},eE,e.future),l.current=e);var y=(0,r.useRef)(null);return(0,eF.useSyncExternalStore)((0,r.useCallback)(function(){var e=u.current;return null===y.current?e.started||(e.start(),t()):(clearTimeout(y.current),e._preventWidgetCleanup=!1),function(){null!=i&&i.ssrSearchRef||(clearTimeout(e._schedule.timer),y.current=setTimeout(function(){e.dispose()}),e._preventWidgetCleanup=!0)}},[t,i]),function(){return u.current},function(){return u.current})}((0,h._)(e,["children"]));return n.started?r.default.createElement(x.InstantSearchContext.Provider,{value:n},r.default.createElement(w.IndexContext.Provider,{value:n.mainIndex},t,r.default.createElement(eM,{search:n}))):null}function eM(e){var t=e.search;return(0,r.useEffect)(function(){t._resetScheduleSearch&&t._resetScheduleSearch()},[t]),null}var eQ=e.i(246633),eW=e.i(903738);function eL(e,t){t(e),e.getWidgets().forEach(function(e){(0,L.isIndexWidget)(e)&&eL(e,t)})}var eH=e.i(89122),eU=e.i(618566),eG=e.i(794192);function eK(e){return"status"in e||(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e}var eV={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},eY=/[&><\u2028\u2029]/g,eJ=function(e){var t=e.options,n=e.results,i=e.nonce;return function(){return t.inserted?r.default.createElement(r.default.Fragment,null):(t.inserted=!0,r.default.createElement("script",{nonce:i,dangerouslySetInnerHTML:{__html:'window[Symbol.for("InstantSearchInitialResults")] = '.concat(JSON.stringify(n).replace(eY,function(e){return eV[e]}))}}))}};function eZ(e){var t,n=e.nonce,i=(0,eG.useInstantSearchContext)(),o=(0,eT.useRSCContext)().waitForResultsRef,l=(0,r.useContext)(eU.ServerInsertedHTMLContext)||function(){throw Error("Missing ServerInsertedHTMLContext")};i.compositionID?i.mainHelper.setClient((0,a._)((0,s._)({},i.mainHelper.getClient()),{search:function(e){return t=[e.requestBody.params],i.client.search(e)}})):i.mainHelper.setClient((0,a._)((0,s._)({},i.mainHelper.getClient()),{search:function(e){return t=e.map(function(e){return e.params}),i.client.search(e)}})),z=0;var c=function(){return new Promise(function(e){var t=!1,r=!1;i.mainHelper.derivedHelpers[0].once("result",function(){t=!0,(!i._hasRecommendWidget||r)&&e()}),i.mainHelper.derivedHelpers[0].once("recommend:result",function(){r=!0,(!i._hasSearchWidget||t)&&e()})})},u=function(){l(eJ({options:{inserted:!1},results:function(e,t){var r={},n=0;if(eL(e,function(e){var i=e.getResults(),o=null==(l=e.getHelper())?void 0:l.lastRecommendResults;if(i||o){var l,c,u,h,d=(null==i||null==(c=i._rawResults)?void 0:c.length)||0,f=d?null==t?void 0:t.slice(n,n+d):[];n+=d,r[e.getIndexId()]=(0,s._)({},i&&(0,s._)({state:(0,a._)((0,s._)({},i._state),{clickAnalytics:null==f||null==(u=f[0])?void 0:u.clickAnalytics,userToken:null==f||null==(h=f[0])?void 0:h.userToken}),results:i._rawResults},i.feeds&&i.feeds.length>0&&{compositionFeedsResults:i.feeds.map(function(e){return(0,a._)((0,s._)({},e._rawResults[0]),{feedID:e.feedID})})}),o&&{recommendResults:{params:JSON.parse(JSON.stringify(o._state.params)),results:o._rawResults}},f&&{requestParams:f})}}),0===Object.keys(r).length)throw Error("The root index does not have any results. Make sure you have at least one widget that provides results.");return r}(i.mainIndex,t),nonce:n}))};return(null==o?void 0:o.current)===null&&(o.current=eK(c().then(function(){var e,t=!1;return eL(i.mainIndex,function(e){t=t||e.getWidgets().some(eH.isTwoPassWidget)}),t&&(null==(e=i._resetScheduleSearch)||e.call(i),o.current=eK(c().then(u))),t}).then(function(e){e||u()}))),null}function eq(e){var t,n,i,s,o=e.nonce,a=(0,eG.useInstantSearchContext)(),l=(0,eT.useRSCContext)().waitForResultsRef,c=(0,r.useContext)(eU.ServerInsertedHTMLContext)||function(){throw Error("Missing ServerInsertedHTMLContext")};return(null==l||null==(t=l.current)?void 0:t.status)!=="pending"||(a._hasSearchWidget&&(a.compositionID?null==(i=a.mainHelper)||i.searchWithComposition():null==(s=a.mainHelper)||s.searchOnlyWithDerivedHelpers()),a._hasRecommendWidget&&(null==(n=a.mainHelper)||n.recommend()),a._hasSearchWidget||a._hasRecommendWidget)||c(eJ({options:{inserted:!1},results:{},nonce:o})),null}var eX=null,ez=e.i(630029),e$=function(){if("u"<typeof window){var e=(0,ez.headers)();return null!==e&&((void 0===e?"undefined":(0,R._)(e))==="object"||"function"==typeof e)&&"function"==typeof e.then?(0,r.use)(e):e}},e0=Symbol.for("InstantSearchInitialResults");function e1(e){var t=e.isServer,n=e.children,i=e.instance,s=e.ignoreMultipleHooksWarning,o=(0,r.useRef)(null),a=(0,r.useRef)(0),l=b(function(){return window[e0]});return r.default.createElement(eQ.InstantSearchRSCContext.Provider,{value:{waitForResultsRef:o,countRef:a,ignoreMultipleHooksWarning:s}},r.default.createElement(eW.InstantSearchSSRContext.Provider,{value:{initialResults:l,ssrSearchRef:t?void 0:i}},n))}e.s(["InstantSearchNext",0,function(e){var t,n,i,o,l,c=e.children,u=e.routing,d=e.instance,f=e.ignoreMultipleHooksWarning,p=(0,h._)(e,["children","routing","instance","ignoreMultipleHooksWarning"]),A=(0,r.useRef)(!0),m="u"<typeof window;(0,r.useEffect)(function(){A.current=!1},[]);var g=e$(),y=b(function(){},{fallback:function(){return(null==g?void 0:g.get("x-nonce"))||void 0}});n=(t={isServer:m,isMounting:A,instance:d}
16).isServer,i=t.isMounting,o=t.instance,l=(0,eU.useParams)(),n||!i.current||o||(eX&&Object.keys(eX).length===Object.keys(l).length&&Object.entries(eX).some(function(e){var t=(0,T._)(e,2),r=t[0],n=t[1];return l[r]!==n}),eX=l);var v=function(e,t){var n="u"<typeof window,i=(0,eU.usePathname)(),o=(0,eU.useSearchParams)(),a=(0,r.useRef)(null),l=(0,r.useRef)(null),c=(0,r.useRef)(!1),u=(0,r.useRef)(null);(0,r.useEffect)(function(){var e,t="".concat(null!=i?i:"","?").concat(null!=(e=null==o?void 0:o.toString())?e:"");if(u.current!==t){var r=null===u.current;u.current=t,!r&&l.current&&l.current()}},[i,o]),(0,r.useEffect)(function(){return c.current=!1,function(){c.current=!0}});var h=e$();if(e&&!a.current){var d={};d.getLocation=function(){return n?new URL("".concat((null==h?void 0:h.get("x-forwarded-proto"))||"http","://").concat(null==h?void 0:h.get("host")).concat(i,"?").concat(o)):t.current?new URL("".concat(window.location.protocol,"//").concat(window.location.host).concat(i,"?").concat(o)):window.location},d.push=function(e){this.isDisposed&&c.current||history.pushState({},"",e)},d.start=function(e){l.current=e},a.current={},(void 0===e?"undefined":(0,R._)(e))==="object"&&(d=(0,s._)({},d,e.router),a.current.stateMapping=e.stateMapping),a.current.router=J(d)}return a.current}(u,A);return r.default.createElement(e1,{isServer:m,instance:d,ignoreMultipleHooksWarning:void 0!==f&&f},r.default.createElement(e_,(0,a._)((0,s._)({},p),{routing:v}),m&&r.default.createElement(eZ,{nonce:y}),c,m&&r.default.createElement(eq,{nonce:y})))},"createInstantSearchNextInstance",0,function(){return{current:null}}],87175)},45312,e=>{"use strict";var t=e.i(843476),r=e.i(723572),n=e.i(216211),i=e.i(986838);let s=e=>{var t;let r,i=e?.tags?e.tags.split(",").filter(Boolean):[],s={date_desc:n.ALGOLIA_INDEX_GENERAL_CONTENT_DESC,date_asc:n.ALGOLIA_INDEX_GENERAL_CONTENT_ASC},o=e?.sortBy&&(s[e.sortBy]??e.sortBy);return{[n.ALGOLIA_INDEX_GENERAL_CONTENT]:{refinementList:{"data.tags":i},page:Number.isFinite(r="number"==typeof(t=e?.page)?t:t?Number.parseInt(t,10):1)&&r>0?r:1,query:e?.query??"",...o?{sortBy:o}:{}}}};var o=e.i(271645),a=e.i(223128),l=e.i(87175);let c=(0,i.createAlgoliaSearchClient)(),u={...c,search:e=>e.some(({params:e})=>e?.query&&e.query.trim().length>0)?c.search(e):Promise.resolve({results:e.map(()=>({hits:[],nbHits:0,page:0,nbPages:0,hitsPerPage:0,processingTimeMS:0,exhaustiveNbHits:!1,query:"",params:""}))})};e.s(["AlgoliaProviderGeneral",0,function({children:e,serverUrl:i}){let c=(0,o.useRef)((0,l.createInstantSearchNextInstance)()),h=(0,o.useRef)(!1);(0,o.useEffect)(()=>{h.current=!0},[]);let d=i?function(e){if(!e)return;let t=new URL(e);return s({page:t.searchParams.get("page")??void 0,query:t.searchParams.get("query")??void 0,tags:t.searchParams.get("tags")??void 0,sortBy:t.searchParams.get("sortBy")??void 0})}(i):void 0,f=(0,o.useMemo)(()=>!!i&&{router:{cleanUrlOnDispose:!1,...i&&{getLocation:()=>h&&!h.current?new URL(i):window.location}},stateMapping:{stateToRoute:e=>{let t;return((e,t)=>{let{refinementList:r,page:i=1,query:s,sortBy:o}=e?.[n.ALGOLIA_INDEX_GENERAL_CONTENT]??{},a=r?.["data.tags"]??[],l={[n.ALGOLIA_INDEX_GENERAL_CONTENT_DESC]:"date_desc",[n.ALGOLIA_INDEX_GENERAL_CONTENT_ASC]:"date_asc"},c=o&&l[o]?l[o]:void 0,u=s??t;return{...i>1?{page:i}:{},...u?{query:u}:{},...a.length?{tags:a.join(",")}:{},...c?{sortBy:c}:{}}})(e,(t=new URL(window.location.href),t?.searchParams.get("query")??void 0))},routeToState:s}},[i]);return(0,t.jsxs)(l.InstantSearchNext,{instance:c.current,searchClient:u,indexName:n.ALGOLIA_INDEX_GENERAL_CONTENT,initialUiState:d,future:{preserveSharedStateOnUnmount:!0},routing:f,insights:!1,ignoreMultipleHooksWarning:!0,children:[(0,t.jsx)(r.AlgoliaHydrationFallback,{consumeInitialResults:!!i}),(0,t.jsx)(a.Configure,{hitsPerPage:n.ALGOLIA_HITS_PER_PAGE,attributesToHighlight:["name","text"],attributesToSnippet:[`data.content:${n.ALGOLIA_SNIPPET_WORD_COUNT}`]}),e]})}],45312)},324278,e=>{"use strict";var t=e.i(500932),r=e.i(271645);e.s(["useIsMounted",0,function(){let e,n,i=(0,t.c)(2),[s,o]=(0,r.useState)(!1);return i[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{o(!0)},n=[],i[0]=e,i[1]=n):(e=i[0],n=i[1]),(0,r.useEffect)(e,n),s}])},485491,e=>{"use strict";var t=e.i(264829);
16e.s(["trackSearch",0,function(e,r,n=null){(0,t.pushDataLayerEvent)({event:"search",search:{search_term:e,search_method:r,search_suggestion_selected:n},page:(0,t.getPageContext)()})},"trackSearchFilterApply",0,function(e){(0,t.pushDataLayerEvent)({event:"search_filter_apply",filter:{active_filters_display:e},page:(0,t.getPageContext)()})},"trackSearchSortChange",0,function(e){(0,t.pushDataLayerEvent)({event:"search_sort_change",sort:{sort_value_display:e},page:(0,t.getPageContext)()})}])},550710,e=>{"use strict";e.s(["debounce",0,function(e,t=300){let r=null,n=(...n)=>{r&&clearTimeout(r),r=setTimeout(()=>{e(...n)},t)};return n.cancel=()=>{r&&(clearTimeout(r),r=null)},n}])},554687,e=>{"use strict";e.s(["checkRendering",0,function(e,t){if(void 0===e||"function"!=typeof e)throw Error("The render function is not valid (received type ".concat(Object.prototype.toString.call(e).slice(8,-1),").\n\n").concat(t))}],554687)},130027,e=>{"use strict";var t=e.i(120786),r=e.i(92808),n=e.i(993270),i=e.i(554687),s=e.i(221024),o=(0,n.createDocumentationMessageGenerator)({name:"search-box",connector:!0}),a=function(e,t){return t(e)},l=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.noop;return(0,i.checkRendering)(e,o()),function(i){var s,o,l=(i||{}).queryHook,c=void 0===l?a:l;return{$$type:"ais.searchBox",init:function(n){var i=n.instantSearchInstance;e((0,r._)((0,t._)({},this.getWidgetRenderState(n)),{instantSearchInstance:i}),!0)},render:function(n){var i=n.instantSearchInstance;e((0,r._)((0,t._)({},this.getWidgetRenderState(n)),{instantSearchInstance:i}),!1)},dispose:function(e){var t=e.state;return n(),t.setQueryParameter("query",void 0)},getRenderState:function(e,n){return(0,r._)((0,t._)({},e),{searchBox:this.getWidgetRenderState(n)})},getWidgetRenderState:function(e){var t=e.helper,r=e.instantSearchInstance,n=e.state;return s||(s=function(e){c(e,function(e){return t.setQuery(e).search()})},o=function(){t.setQuery("").search()}),{query:n.query||"",refine:s,clear:o,widgetParams:i,isSearchStalled:"stalled"===r.status}},getWidgetUiState:function(e,n){var i=n.searchParameters.query||"";return""===i||e&&e.query===i?e:(0,r._)((0,t._)({},e),{query:i})},getWidgetSearchParameters:function(e,t){var r=t.uiState;return e.setQueryParameter("query",r.query||"")}}}},c=e.i(667291);e.s(["useSearchBox",0,function(e,t){return(0,c.useConnector)(l,e,t)}],130027)},11917,e=>{"use strict";e.s(["cx",0,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){return Array.isArray(t)?e.concat(t):e.concat([t])},[]).filter(Boolean).join(" ")}])},300085,e=>{"use strict";var t=e.i(299749),r=e.i(120786),n=e.i(92808),i=e.i(651682),s=e.i(500075),o=e.i(104974);function a(e){var t=e.helper,n=e.widgetType;e.methodName;var o=e.args,a=e.instantSearchInstance;if(1===o.length&&"object"===(0,s._)(o[0]))return[o[0]];var l=(0,i._)(o[0].split(":"),2),c=l[0],u=l[1],h=o[1],d=o[2],f=o[3]||{};if(!h||("click"===c||"conversion"===c)&&!d)return[];var p=Array.isArray(h)?h:[h];if(0===p.length)return[];var A=p[0].__queryID,m=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r=[],n=0;n<Math.ceil(e.length/t);n++)r.push(e.slice(n*t,(n+1)*t));return r}(p),g=m.map(function(e){return e.map(function(e){return e.objectID})}),y=m.map(function(e){return e.map(function(e){return e.__position})});return"view"===c?"idle"!==a.status?[]:m.map(function(e,i){var s;return{insightsMethod:"viewedObjectIDs",widgetType:n,eventType:c,payload:(0,r._)({eventName:d||"Hits Viewed",index:(null==(s=t.lastResults)?void 0:s.index)||t.state.index,objectIDs:g[i]},f),hits:e,eventModifier:u}}):"click"===c?m.map(function(e,i){var s;return{insightsMethod:"clickedObjectIDsAfterSearch",widgetType:n,eventType:c,payload:(0,r._)({eventName:d||"Hit Clicked",index:(null==(s=t.lastResults)?void 0:s.index)||t.state.index,queryID:A,objectIDs:g[i],positions:y[i]},f),hits:e,eventModifier:u}}):"conversion"===c?m.map(function(e,i){var s;return{insightsMethod:"convertedObjectIDsAfterSearch",widgetType:n,eventType:c,payload:(0,r._)({eventName:d||"Hit Converted",index:(null==(s=t.lastResults)?void 0:s.index)||t.state.index,queryID:A,objectIDs:g[i]},f),hits:e,eventModifier:u}}):[]}var l=e.i(993270),c=e.i(554687),u=e.i(231763),h=e.i(221024),d=(0,l.createDocumentationMessageGenerator)({name:"hits",connector:!0}),f=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.noop;return(0,c.checkRendering)(e,d()),function(s){var l,c,h=s||{},d=h.escapeHTML,f=void 0===d||d,p=h.transformItems,A=void 0===p?function(e){return e}:p;return{$$type:"ais.hits",init:function(t){e((0,n._)((0,r._)({},this.getWidgetRenderState(t)),{instantSearchInstance:t.instantSearchInstance}),!0)},render:function(t){var i=this.getWidgetRenderState(t);e((0,n._)((0,r._)({},i),{instantSearchInstance:t.instantSearchInstance}),!1),i.sendEvent("view:internal",i.items)},getRenderState:function(e,t){return(0,n._)((0,r._)({},e),{hits:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t,i,h,d,p,m,g,y,v,b,w,x,S,C,I,E,R,F,B=e.results,D=e.helper,P=e.instantSearchInstance;if(l||(i=(t={instantSearchInstance:P,helper:D,widgetType:this.$$type}).instantSearchInstance,h=t.helper,d=t.widgetType,p={},m=void 0,l=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];a({widgetType:d,helper:h,methodName:"sendEvent",args:t,instantSearchInstance:i}
16).forEach(function(e){"click"===e.eventType&&"internal"===e.eventModifier&&p[e.eventType]||(p[e.eventType]=!0,i.sendEventToInsights(e))}),clearTimeout(m),m=setTimeout(function(){p={}},0)}),c||(y=(g={helper:D,widgetType:this.$$type,instantSearchInstance:P}).helper,v=g.widgetType,b=g.instantSearchInstance,c=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=a({widgetType:v,helper:y,methodName:"bindEvent",args:t,instantSearchInstance:b});return n.length?"data-insights-event=".concat((0,o.serializePayload)(n)):""}),!B)return{hits:[],items:[],results:void 0,banner:void 0,sendEvent:l,bindEvent:c,widgetParams:s};f&&B.hits.length>0&&(B.hits=(0,u.escapeHits)(B.hits));var k=A((w=B.hits,x=B.page,S=B.hitsPerPage,C=w.map(function(e,t){return(0,n._)((0,r._)({},e),{__position:S*x+t+1})}),(I=B.queryID)?C.map(function(e){return(0,n._)((0,r._)({},e),{__queryID:I})}):C),{results:B}),T=null==(F=B.renderingContent)||null==(R=F.widgets)||null==(E=R.banners)?void 0:E[0];return{hits:k,items:k,results:B,banner:T,sendEvent:l,bindEvent:c,widgetParams:s}},dispose:function(e){var s=e.state;return(i(),f)?s.setQueryParameters(Object.keys(u.TAG_PLACEHOLDER).reduce(function(e,i){return(0,n._)((0,r._)({},e),(0,t._)({},i,void 0))},{})):s},getWidgetSearchParameters:function(e,t){return f?e.setQueryParameters(u.TAG_PLACEHOLDER):e}}}},p=e.i(667291);e.s(["useHits",0,function(e,t){return(0,p.useConnector)(f,e,t)}],300085)},906599,171209,e=>{"use strict";var t=e.i(120786),r=e.i(92808),n=e.i(233027),i=e.i(115899),s=e.i(273617),o=e.i(991363),a=e.i(271645),l=e.i(11917),c=function(e){var i=e.createElement,s=e.Fragment,o=function(e){var t=e.classNames,r=e.children,n=e.highlightedTagName,s=e.isHighlighted,o=e.nonHighlightedTagName;return i(s?n:o,{className:s?t.highlighted:t.nonHighlighted},r)};return function(e){var a=e.parts,c=e.highlightedTagName,u=void 0===c?"mark":c,h=e.nonHighlightedTagName,d=void 0===h?"span":h,f=e.separator,p=void 0===f?", ":f,A=e.className,m=e.classNames,g=void 0===m?{}:m,y=(0,n._)(e,["parts","highlightedTagName","nonHighlightedTagName","separator","className","classNames"]);return i("span",(0,r._)((0,t._)({},y),{className:(0,l.cx)(g.root,A)}),a.map(function(e,t){var r=t===a.length-1;return i(s,{key:t},e.map(function(e,t){return i(o,{key:t,classNames:g,highlightedTagName:u,nonHighlightedTagName:d,isHighlighted:e.isHighlighted},e.value)}),!r&&i("span",{className:g.separator},p))}))}}({createElement:a.createElement,Fragment:a.Fragment});function u(e){var r=e.classNames,i=void 0===r?{}:r,s=(0,n._)(e,["classNames"]);return a.default.createElement(c,(0,t._)({classNames:{root:(0,l.cx)("ais-Highlight",i.root),highlighted:(0,l.cx)("ais-Highlight-highlighted",i.highlighted),nonHighlighted:(0,l.cx)("ais-Highlight-nonHighlighted",i.nonHighlighted),separator:(0,l.cx)("ais-Highlight-separator",i.separator)}},s))}e.s(["InternalHighlight",0,c],171209),e.s(["Highlight",0,function(e){var l=e.hit,c=e.attribute,h=e.highlightedTagName,d=e.nonHighlightedTagName,f=e.separator,p=(0,n._)(e,["hit","attribute","highlightedTagName","nonHighlightedTagName","separator"]),A=(0,i.getPropertyByPath)(l._highlightResult,c)||[],m=(Array.isArray(A)?A:[A]).map(function(e){return(0,s.getHighlightedParts)((0,o.unescape)(e.value||""))});return a.default.createElement(u,(0,r._)((0,t._)({},p),{parts:m,highlightedTagName:h,nonHighlightedTagName:d,separator:f}))}],906599)}]);
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.