(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8922],{63302:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.customAdapter=t.statusToCode=void 0;let n=r(2107),i=r(3206),o=r(12319),a=r(94694);function s(e){switch(e){case a.Status.OK:case a.Status.ZERO_RESULTS:return 200;case a.Status.INVALID_REQUEST:case a.Status.MAX_ROUTE_LENGTH_EXCEEDED:case a.Status.MAX_WAYPOINTS_EXCEEDED:return 400;case a.Status.REQUEST_DENIED:return 403;case a.Status.NOT_FOUND:return 404;case a.Status.OVER_DAILY_LIMIT:case a.Status.OVER_QUERY_LIMIT:return 429;case a.Status.UNKNOWN_ERROR:return 500;default:return 200}}t.statusToCode=s,t.customAdapter=e=>new Promise((t,r)=>{i.adapter(e).then(i=>{i.data=o(i.data,i.headers,e.transformResponse),200===i.status&&i.data.status&&(i.status=s(i.data.status)),n(t,r,i)}).catch(r)})},47023:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Client=t.defaultAxiosInstance=t.X_GOOG_MAPS_EXPERIENCE_ID=t.acceptEncoding=t.userAgent=t.defaultTimeout=t.defaultHttpsAgent=t.version=void 0;let n=r(51208),i=r(36230),o=r(1123),a=r(10153),s=r(20617),l=r(23475),u=r(57978),c=r(78582),p=r(56339),h=r(95609),d=r(35604),f=r(3229),m=r(88094),g=r(87240),y=r(54546),v=r(69980),b=r(71176),x=r(32860),w=r(29856),E=r(63302);t.version=r(18337).version,t.defaultHttpsAgent=new w.HttpsAgent({keepAlive:!0}),t.defaultTimeout=1e4,t.userAgent=`google-maps-services-node-${t.version}`,t.acceptEncoding="gzip",t.X_GOOG_MAPS_EXPERIENCE_ID="X-GOOG-MAPS-EXPERIENCE-ID";let S={timeout:t.defaultTimeout,httpsAgent:t.defaultHttpsAgent,adapter:E.customAdapter,headers:{"User-Agent":t.userAgent,"Accept-Encoding":t.acceptEncoding}};t.defaultAxiosInstance=x.default.create(S),n.attach(t.defaultAxiosInstance);class O{constructor({axiosInstance:e,config:r,experienceId:i}={}){if(e&&r)throw Error("Provide one of axiosInstance or config.");e?(this.axiosInstance=e,this.axiosInstance.defaults.headers=Object.assign(Object.assign({},S.headers),this.axiosInstance.defaults.headers)):r?((r=Object.assign(Object.assign({},S),r)).headers=Object.assign(Object.assign({},S.headers),r.headers||{}),this.axiosInstance=x.default.create(r),n.attach(this.axiosInstance)):this.axiosInstance=t.defaultAxiosInstance,i&&this.setExperienceId(...i)}setExperienceId(...e){this.experienceId=e,this.axiosInstance.defaults.headers[t.X_GOOG_MAPS_EXPERIENCE_ID]=e.join(",")}clearExperienceId(){this.experienceId=null,this.clearExperienceIdHeader()}clearExperienceIdHeader(){delete this.axiosInstance.defaults.headers[t.X_GOOG_MAPS_EXPERIENCE_ID]}getExperienceId(){return this.experienceId}directions(e){return(0,i.directions)(e,this.axiosInstance)}distancematrix(e){return(0,o.distancematrix)(e,this.axiosInstance)}elevation(e){return(0,a.elevation)(e,this.axiosInstance)}timezone(e){return(0,b.timezone)(e,this.axiosInstance)}geolocate(e){return(0,u.geolocate)(e,this.axiosInstance)}geocode(e){return(0,l.geocode)(e,this.axiosInstance)}reverseGeocode(e){return(0,g.reverseGeocode)(e,this.axiosInstance)}placeAutocomplete(e){return(0,p.placeAutocomplete)(e,this.axiosInstance)}placeDetails(e){return(0,h.placeDetails)(e,this.axiosInstance)}findPlaceFromText(e){return(0,s.findPlaceFromText)(e,this.axiosInstance)}placePhoto(e){return(0,d.placePhoto)(e,this.axiosInstance)}placesNearby(e){return(0,m.placesNearby)(e,this.axiosInstance)}placeQueryAutocomplete(e){return(0,f.placeQueryAutocomplete)(e,this.axiosInstance)}textSearch(e){return(0,v.textSearch)(e,this.axiosInstance)}nearestRoads(e){return(0,c.nearestRoads)(e,this.axiosInstance)}snapToRoads(e){return(0,y.snapToRoads)(e,this.axiosInstance)}}t.Client=O},94694:function(e,t){"use strict";var r,n,i,o,a,s,l,u,c,p,h,d,f,m,g,y,v,b,x,w,E,S,O;Object.defineProperty(t,"__esModule",{value:!0}),t.RadioType=t.LocationType=t.GeocodingAddressComponentType=t.VehicleType=t.Maneuver=t.AddressType=t.GeocodedWaypointStatus=t.DirectionsReponseStatus=t.DirectionsResponseStatus=t.TransitRoutingPreference=t.TransitMode=t.TrafficModel=t.UnitSystem=t.TravelRestriction=t.TravelMode=t.Language=t.AspectRatingType=t.PlaceType2=t.PlaceType1=t.PlaceInputType=t.PlaceIdScope=t.Status=void 0,(i=t.Status||(t.Status={})).OK="OK",i.INVALID_REQUEST="INVALID_REQUEST",i.MAX_WAYPOINTS_EXCEEDED="MAX_WAYPOINTS_EXCEEDED",i.MAX_ROUTE_LENGTH_EXCEEDED="MAX_ROUTE_LENGTH_EXCEEDED",i.OVER_DAILY_LIMIT="OVER_DAILY_LIMIT",i.OVER_QUERY_LIMIT="OVER_QUERY_LIMIT",i.REQUEST_DENIED="REQUEST_DENIED",i.UNKNOWN_ERROR="UNKNOWN_ERROR",i.ZERO_RESULTS="ZERO_RESULTS",i.NOT_FOUND="NOT_FOUND",(o=t.PlaceIdScope||(t.PlaceIdScope={})).APP="APP",o.GOOGLE="GOOGLE",(a=t.PlaceInputType||(t.PlaceInputType={})).textQuery="textquery",a.phoneNumber="phonenumber",(s=r=t.PlaceType1||(t.PlaceType1={})).accounting="accounting",s.airport="airport",s.amusement_park="amusement_park",s.aquarium="aquarium",s.art_gallery="art_gallery",s.atm="atm",s.bakery="bakery",s.bank="bank",s.bar="bar",s.beauty_salon="beauty_salon",s.bicycle_store="bicycle_store",s.book_store="book_store",s.bowling_alley="bowling_alley",s.bus_station="bus_station",s.cafe="cafe",s.campground="campground",s.car_dealer="car_dealer",s.car_rental="car_rental",s.car_repair="car_repair",s.car_wash="car_wash",s.casino="casino",s.cemetery="cemetery",s.church="church",s.city_hall="city_hall",s.clothing_store="clothing_store",s.convenience_store="convenience_store",s.courthouse="courthouse",s.dentist="dentist",s.department_store="department_store",s.doctor="doctor",s.drugstore="drugstore",s.electrician="electrician",s.electronics_store="electronics_store",s.embassy="embassy",s.fire_station="fire_station",s.florist="florist",s.funeral_home="funeral_home",s.furniture_store="furniture_store",s.gas_station="gas_station",s.gym="gym",s.hair_care="hair_care",s.hardware_store="hardware_store",s.hindu_temple="hindu_temple",s.home_goods_store="home_goods_store",s.hospital="hospital",s.insurance_agency="insurance_agency",s.jewelry_store="jewelry_store",s.laundry="laundry",s.lawyer="lawyer",s.library="library",s.light_rail_station="light_rail_station",s.liquor_store="liquor_store",s.local_government_office="local_government_office",s.locksmith="locksmith",s.lodging="lodging",s.meal_delivery="meal_delivery",s.meal_takeaway="meal_takeaway",s.mosque="mosque",s.movie_rental="movie_rental",s.movie_theater="movie_theater",s.moving_company="moving_company",s.museum="museum",s.night_club="night_club",s.painter="painter",s.park="park",s.parking="parking",s.pet_store="pet_store",s.pharmacy="pharmacy",s.physiotherapist="physiotherapist",s.plumber="plumber",s.police="police",s.post_office="post_office",s.real_estate_agency="real_estate_agency",s.restaurant="restaurant",s.roofing_contractor="roofing_contractor",s.rv_park="rv_park",s.school="school",s.secondary_school="secondary_school",s.shoe_store="shoe_store",s.shopping_mall="shopping_mall",s.spa="spa",s.stadium="stadium",s.storage="storage",s.store="store",s.subway_station="subway_station",s.supermarket="supermarket",s.synagogue="synagogue",s.taxi_stand="taxi_stand",s.tourist_attraction="tourist_attraction",s.train_station="train_station",s.transit_station="transit_station",s.travel_agency="travel_agency",s.university="university",s.veterinary_care="veterinary_care",s.zoo="zoo",(l=n=t.PlaceType2||(t.PlaceType2={})).administrative_area_level_1="administrative_area_level_1",l.administrative_area_level_2="administrative_area_level_2",l.administrative_area_level_3="administrative_area_level_3",l.administrative_area_level_4="administrative_area_level_4",l.administrative_area_level_5="administrative_area_level_5",l.archipelago="archipelago",l.colloquial_area="colloquial_area",l.continent="continent",l.country="country",l.establishment="establishment",l.finance="finance",l.floor="floor",l.food="food",l.general_contractor="general_contractor",l.geocode="geocode",l.health="health",l.intersection="intersection",l.landmark="landmark",l.locality="locality",l.natural_feature="natural_feature",l.neighborhood="neighborhood",l.place_of_worship="place_of_worship",l.plus_code="plus_code",l.point_of_interest="point_of_interest",l.political="political",l.post_box="post_box",l.postal_code="postal_code",l.postal_code_prefix="postal_code_prefix",l.postal_code_suffix="postal_code_suffix",l.postal_town="postal_town",l.premise="premise",l.room="room",l.route="route",l.street_address="street_address",l.street_number="street_number",l.sublocality="sublocality",l.sublocality_level_1="sublocality_level_1",l.sublocality_level_2="sublocality_level_2",l.sublocality_level_3="sublocality_level_3",l.sublocality_level_4="sublocality_level_4",l.sublocality_level_5="sublocality_level_5",l.subpremise="subpremise",l.town_square="town_square",(u=t.AspectRatingType||(t.AspectRatingType={})).appeal="appeal",u.atmosphere="atmosphere",u.decor="decor",u.facilities="facilities",u.food="food",u.overall="overall",u.quality="quality",u.service="service",(c=t.Language||(t.Language={})).ar="ar",c.be="be",c.bg="bg",c.bn="bn",c.ca="ca",c.cs="cs",c.da="da",c.de="de",c.el="el",c.en="en",c.en_Au="en-Au",c.en_GB="en-GB",c.es="es",c.eu="eu",c.fa="fa",c.fi="fi",c.fil="fil",c.fr="fr",c.gl="gl",c.gu="gu",c.hi="hi",c.hr="hr",c.hu="hu",c.id="id",c.it="it",c.iw="iw",c.ja="ja",c.kk="kk",c.kn="kn",c.ko="ko",c.ky="ky",c.lt="lt",c.lv="lv",c.mk="mk",c.ml="ml",c.mr="mr",c.my="my",c.nl="nl",c.no="no",c.pa="pa",c.pl="pl",c.pt="pt",c.pt_BR="pt-BR",c.pt_PT="pt-PT",c.ro="ro",c.ru="ru",c.sk="sk",c.sl="sl",c.sq="sq",c.sr="sr",c.sv="sv",c.ta="ta",c.te="te",c.th="th",c.tl="tl",c.tr="tr",c.uk="uk",c.uz="uz",c.vi="vi",c.zh_CN="zh-CN",c.zh_TW="zh-TW",(p=t.TravelMode||(t.TravelMode={})).driving="driving",p.walking="walking",p.bicycling="bicycling",p.transit="transit",(h=t.TravelRestriction||(t.TravelRestriction={})).tolls="tolls",h.highways="highways",h.ferries="ferries",h.indoor="indoor",(d=t.UnitSystem||(t.UnitSystem={})).metric="metric",d.imperial="imperial",(f=t.TrafficModel||(t.TrafficModel={})).best_guess="best_guess",f.pessimistic="pessimistic",f.optimistic="optimistic",(m=t.TransitMode||(t.TransitMode={})).bus="bus",m.subway="subway",m.train="train",m.tram="tram",m.rail="rail",(g=t.TransitRoutingPreference||(t.TransitRoutingPreference={})).less_walking="less_walking",g.fewer_transfers="fewer_transfers",(y=t.DirectionsResponseStatus||(t.DirectionsResponseStatus={})).OK="OK",y.NOT_FOUND="NOT_FOUND",y.ZERO_RESULTS="ZERO_RESULTS",y.MAX_WAYPOINTS_EXCEEDED="MAX_WAYPOINTS_EXCEEDED",y.MAX_ROUTE_LENGTH_EXCEEDED="MAX_ROUTE_LENGTH_EXCEEDED",y.INVALID_REQUEST="INVALID_REQUEST",y.OVER_DAILY_LIMIT="OVER_DAILY_LIMIT",y.OVER_QUERY_LIMIT="OVER_QUERY_LIMIT",y.REQUEST_DENIED="REQUEST_DENIED",y.UNKNOWN_ERROR="UNKNOWN_ERROR",(v=t.DirectionsReponseStatus||(t.DirectionsReponseStatus={})).OK="OK",v.NOT_FOUND="NOT_FOUND",v.ZERO_RESULTS="ZERO_RESULTS",v.MAX_WAYPOINTS_EXCEEDED="MAX_WAYPOINTS_EXCEEDED",v.MAX_ROUTE_LENGTH_EXCEEDED="MAX_ROUTE_LENGTH_EXCEEDED",v.INVALID_REQUEST="INVALID_REQUEST",v.OVER_DAILY_LIMIT="OVER_DAILY_LIMIT",v.OVER_QUERY_LIMIT="OVER_QUERY_LIMIT",v.REQUEST_DENIED="REQUEST_DENIED",v.UNKNOWN_ERROR="UNKNOWN_ERROR",(b=t.GeocodedWaypointStatus||(t.GeocodedWaypointStatus={})).OK="OK",b.ZERO_RESULTS="ZERO_RESULTS",t.AddressType=Object.assign({},r,n),(x=t.Maneuver||(t.Maneuver={})).turn_slight_left="turn-slight-left",x.turn_sharp_left="turn-sharp-left",x.uturn_left="uturn-left",x.turn_left="turn-left",x.turn_slight_right="turn-slight-right",x.turn_sharp_right="turn-sharp-right",x.uturn_right="uturn-right",x.turn_right="turn-right",x.straight="straight",x.ramp_left="ramp-left",x.ramp_right="ramp-right",x.merge="merge",x.fork_left="fork-left",x.fork_right="fork-right",x.ferry="ferry",x.ferry_train="ferry-train",x.roundabout_left="roundabout-left",x.roundabout_right="roundabout-right",(w=t.VehicleType||(t.VehicleType={})).RAIL="RAIL",w.METRO_RAIL="METRO_RAIL",w.SUBWAY="SUBWAY",w.TRAM="TRAM",w.MONORAIL="MONORAIL",w.HEAVY_RAIL="HEAVY_RAIL",w.COMMUTER_TRAIN="COMMUTER_TRAIN",w.HIGH_SPEED_TRAIN="HIGH_SPEED_TRAIN",w.BUS="BUS",w.INTERCITY_BUS="INTERCITY_BUS",w.TROLLEYBUS="TROLLEYBUS",w.SHARE_TAXI="SHARE_TAXI",w.FERRY="FERRY",w.CABLE_CAR="CABLE_CAR",w.GONDOLA_LIFT="GONDOLA_LIFT",w.FUNICULAR="FUNICULAR",w.OTHER="OTHER",(E=t.GeocodingAddressComponentType||(t.GeocodingAddressComponentType={})).floor="floor",E.establishment="establishment",E.point_of_interest="point_of_interest",E.parking="parking",E.post_box="post_box",E.postal_town="postal_town",E.room="room",E.street_number="street_number",E.bus_station="bus_station",E.train_station="train_station",E.transit_station="transit_station",(S=t.LocationType||(t.LocationType={})).ROOFTOP="ROOFTOP",S.RANGE_INTERPOLATED="RANGE_INTERPOLATED",S.GEOMETRIC_CENTER="GEOMETRIC_CENTER",S.APPROXIMATE="APPROXIMATE",(O=t.RadioType||(t.RadioType={})).lte="lte",O.gsm="gsm",O.cdma="cdma",O.wcdma="wcdma"},36230:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.directions=t.defaultParamsSerializer=t.defaultUrl=void 0;let i=r(43482),o=r(47023);t.defaultUrl="https://maps.googleapis.com/maps/api/directions/json",t.defaultParamsSerializer=(0,i.serializer)({origin:i.latLngToString,destination:i.latLngToString,waypoints:e=>e.map(i.latLngToString),arrival_time:i.toTimestamp,departure_time:i.toTimestamp},t.defaultUrl),t.directions=function(e,r){var{params:i,method:a="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=n(e,["params","method","url","paramsSerializer"]);void 0===r&&(r=o.defaultAxiosInstance);let{optimize:c}=i;return c&&(i.waypoints=["optimize:true",...i.waypoints]),delete i.optimize,r(Object.assign({params:i,method:a,url:s,paramsSerializer:l},u))}},1123:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.distancematrix=t.defaultParamsSerializer=t.defaultUrl=void 0;let i=r(43482),o=r(47023);t.defaultUrl="https://maps.googleapis.com/maps/api/distancematrix/json",t.defaultParamsSerializer=(0,i.serializer)({origins:e=>e.map(i.latLngToString),destinations:e=>e.map(i.latLngToString),arrival_time:i.toTimestamp,departure_time:i.toTimestamp},t.defaultUrl),t.distancematrix=function(e,r){var{params:i,method:a="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=n(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=o.defaultAxiosInstance),r(Object.assign({params:i,method:a,url:s,paramsSerializer:l},u))}},10153:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.elevation=t.defaultParamsSerializer=t.defaultUrl=void 0;let i=r(47023),o=r(43482);t.defaultUrl="https://maps.googleapis.com/maps/api/elevation/json",t.defaultParamsSerializer=(0,o.serializer)({locations:e=>e.map(o.latLngToString),path:e=>e.map(o.latLngToString)},t.defaultUrl),t.elevation=function(e,r){var{params:o,method:a="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=n(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=i.defaultAxiosInstance),r(Object.assign({params:o,method:a,url:s,paramsSerializer:l},u))}},23475:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.geocode=t.defaultParamsSerializer=t.defaultUrl=void 0;let i=r(47023),o=r(43482);t.defaultUrl="https://maps.googleapis.com/maps/api/geocode/json",t.defaultParamsSerializer=(0,o.serializer)({bounds:o.latLngBoundsToString,components:o.objectToString},t.defaultUrl),t.geocode=function(e,r){var{params:o,method:a="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=n(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=i.defaultAxiosInstance),r(Object.assign({params:o,method:a,url:s,paramsSerializer:l},u))}},87240:function(e,t,r){"use strict";var n,i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.reverseGeocode=t.defaultParamsSerializer=t.defaultUrl=t.ReverseGeocodingLocationType=void 0;let o=r(43482),a=r(47023);(n=t.ReverseGeocodingLocationType||(t.ReverseGeocodingLocationType={})).ROOFTOP="ROOFTOP",n.RANGE_INTERPOLATED="RANGE_INTERPOLATED",n.GEOMETRIC_CENTER="GEOMETRIC_CENTER",n.APPROXIMATE="APPROXIMATE",t.defaultUrl="https://maps.googleapis.com/maps/api/geocode/json",t.defaultParamsSerializer=(0,o.serializer)({latlng:o.latLngToString},t.defaultUrl),t.reverseGeocode=function(e,r){var{params:n,method:o="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=i(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=a.defaultAxiosInstance),r(Object.assign({params:n,method:o,url:s,paramsSerializer:l},u))}},57978:function(e,t,r){"use strict";var n,i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.geolocate=t.defaultUrl=t.GeolocateErrorReason=void 0;let o=r(47023);(n=t.GeolocateErrorReason||(t.GeolocateErrorReason={})).dailyLimitExceeded="dailyLimitExceeded",n.keyInvalid="keyInvalid",n.userRateLimitExceeded="userRateLimitExceeded",n.notFound="notFound",n.parseError="parseError",t.defaultUrl="https://www.googleapis.com/geolocation/v1/geolocate",t.geolocate=function(e,r){var{params:n,method:a="post",url:s=t.defaultUrl}=e,l=i(e,["params","method","url"]);return void 0===r&&(r=o.defaultAxiosInstance),r(Object.assign({params:n,method:a,url:s},l))}},35454:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.ReverseGeocodingLocationType=t.PlacesNearbyRanking=t.PlaceAutocompleteType=t.GeolocateErrorReason=void 0;var o=r(57978);Object.defineProperty(t,"GeolocateErrorReason",{enumerable:!0,get:function(){return o.GeolocateErrorReason}});var a=r(56339);Object.defineProperty(t,"PlaceAutocompleteType",{enumerable:!0,get:function(){return a.PlaceAutocompleteType}});var s=r(88094);Object.defineProperty(t,"PlacesNearbyRanking",{enumerable:!0,get:function(){return s.PlacesNearbyRanking}});var l=r(87240);Object.defineProperty(t,"ReverseGeocodingLocationType",{enumerable:!0,get:function(){return l.ReverseGeocodingLocationType}}),i(r(94694),t),i(r(47023),t)},56339:function(e,t,r){"use strict";var n,i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.placeAutocomplete=t.defaultParamsSerializer=t.defaultUrl=t.PlaceAutocompleteType=void 0;let o=r(43482),a=r(47023);(n=t.PlaceAutocompleteType||(t.PlaceAutocompleteType={})).geocode="geocode",n.address="address",n.establishment="establishment",n.regions="(regions)",n.cities="(cities)",t.defaultUrl="https://maps.googleapis.com/maps/api/place/autocomplete/json",t.defaultParamsSerializer=(0,o.serializer)({location:o.latLngToString,origin:o.latLngToString},t.defaultUrl),t.placeAutocomplete=function(e,r){var{params:n,method:o="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=i(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=a.defaultAxiosInstance),r(Object.assign({params:n,method:o,url:s,paramsSerializer:l},u))}},95609:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.placeDetails=t.defaultParamsSerializer=t.defaultUrl=void 0;let i=r(47023),o=r(43482);t.defaultUrl="https://maps.googleapis.com/maps/api/place/details/json",t.defaultParamsSerializer=(0,o.serializer)({},t.defaultUrl,{arrayFormat:"comma"}),t.placeDetails=function(e,r){var{params:o,method:a="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=n(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=i.defaultAxiosInstance),r(Object.assign({params:o,method:a,url:s,paramsSerializer:l},u))}},20617:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.findPlaceFromText=t.defaultParamsSerializer=t.defaultUrl=void 0;let i=r(47023),o=r(43482);t.defaultUrl="https://maps.googleapis.com/maps/api/place/findplacefromtext/json",t.defaultParamsSerializer=(0,o.serializer)({},t.defaultUrl,{arrayFormat:"comma"}),t.findPlaceFromText=function(e,r){var{params:o,method:a="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=n(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=i.defaultAxiosInstance),r(Object.assign({params:o,method:a,url:s,paramsSerializer:l},u))}},35604:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.placePhoto=t.defaultUrl=void 0;let i=r(47023);t.defaultUrl="https://maps.googleapis.com/maps/api/place/photo",t.placePhoto=function(e,r){var{params:o,method:a="get",url:s=t.defaultUrl,responseType:l}=e,u=n(e,["params","method","url","responseType"]);return void 0===r&&(r=i.defaultAxiosInstance),l||(l="arraybuffer"),r(Object.assign({params:o,method:a,url:s,responseType:l},u))}},88094:function(e,t,r){"use strict";var n,i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.placesNearby=t.defaultParamsSerializer=t.defaultUrl=t.PlacesNearbyRanking=void 0;let o=r(43482),a=r(47023);(n=t.PlacesNearbyRanking||(t.PlacesNearbyRanking={})).prominence="prominence",n.distance="distance",t.defaultUrl="https://maps.googleapis.com/maps/api/place/nearbysearch/json",t.defaultParamsSerializer=(0,o.serializer)({location:o.latLngToString},t.defaultUrl),t.placesNearby=function(e,r){var{params:n,method:o="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=i(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=a.defaultAxiosInstance),r(Object.assign({params:n,method:o,url:s,paramsSerializer:l},u))}},3229:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.placeQueryAutocomplete=t.defaultParamsSerializer=t.defaultUrl=void 0;let i=r(47023),o=r(43482);t.defaultUrl="https://maps.googleapis.com/maps/api/place/queryautocomplete/json",t.defaultParamsSerializer=(0,o.serializer)({location:o.latLngToString},t.defaultUrl),t.placeQueryAutocomplete=function(e,r){var{params:o,method:a="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=n(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=i.defaultAxiosInstance),r(Object.assign({params:o,method:a,url:s,paramsSerializer:l},u))}},69980:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.textSearch=t.defaultParamsSerializer=t.defaultUrl=void 0;let i=r(47023),o=r(43482);t.defaultUrl="https://maps.googleapis.com/maps/api/place/textsearch/json",t.defaultParamsSerializer=(0,o.serializer)({location:o.latLngToString},t.defaultUrl),t.textSearch=function(e,r){var{params:o,method:a="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=n(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=i.defaultAxiosInstance),r(Object.assign({params:o,method:a,url:s,paramsSerializer:l},u))}},78582:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.nearestRoads=t.defaultParamsSerializer=t.defaultUrl=void 0;let i=r(47023),o=r(43482);t.defaultUrl="https://roads.googleapis.com/v1/nearestRoads",t.defaultParamsSerializer=(0,o.serializer)({points:e=>e.map(e=>(0,o.latLngToString)(e))},t.defaultUrl),t.nearestRoads=function(e,r){var{params:o,method:a="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=n(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=i.defaultAxiosInstance),r(Object.assign({params:o,method:a,url:s,paramsSerializer:l},u))}},54546:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.snapToRoads=t.defaultParamsSerializer=t.defaultUrl=void 0;let i=r(47023),o=r(43482);t.defaultUrl="https://roads.googleapis.com/v1/snapToRoads",t.defaultParamsSerializer=(0,o.serializer)({path:e=>e.map(o.latLngToString)},t.defaultUrl),t.snapToRoads=function(e,r){var{params:o,method:a="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=n(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=i.defaultAxiosInstance),r(Object.assign({params:o,method:a,url:s,paramsSerializer:l},u))}},43482:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPremiumPlanQueryString=t.toTimestamp=t.serializer=t.latLngArrayToStringMaybeEncoded=t.toLatLngLiteral=t.latLngBoundsToString=t.objectToString=t.latLngToString=void 0;let n=r(75479),i=r(58874),o=r(34126);function a(e){if("string"==typeof e)return e;if(Array.isArray(e)&&2===e.length);else if("lat"in e&&"lng"in e)e=[e.lat,e.lng];else if("latitude"in e&&"longitude"in e)e=[e.latitude,e.longitude];else throw TypeError();return e.map(e=>e.toString()).join(",")}function s(e){if("string"==typeof e){let t=e.split(",").map(Number);return{lat:t[0],lng:t[1]}}if(Array.isArray(e)&&2===e.length){let t=e.map(Number);return{lat:t[0],lng:t[1]}}if("lat"in e&&"lng"in e)return e;if("latitude"in e&&"longitude"in e)return{lat:e.latitude,lng:e.longitude};throw TypeError()}function l(e,t,r){e.client=e.client_id;let n=e.client_secret;delete e.client_id,delete e.client_secret;let a=(0,o.stringify)(e,t),s=`${r}?${a}`,l=(0,i.createSignature)(s,n);return`${a}&signature=${l}`}t.latLngToString=a,t.objectToString=function(e){if("string"==typeof e)return e;{let t=Object.keys(e);return t.sort(),t.map(t=>t+":"+e[t]).join("|")}},t.latLngBoundsToString=function(e){return"string"==typeof e?e:a(e.southwest)+"|"+a(e.northeast)},t.toLatLngLiteral=s,t.latLngArrayToStringMaybeEncoded=function(e){if("string"==typeof e)return e;let t=e.map(a).join("|"),r=`enc:${(0,n.encodePath)(e.map(s))}`;return r.length<t.length?r:t},t.serializer=function(e,t,r={arrayFormat:"separator",arrayFormatSeparator:"|"}){return n=>{let i=Object.assign({},n);return(Object.keys(e).forEach(t=>{t in i&&(i[t]=e[t](i[t]))}),"client_id"in i&&"client_secret"in i)?l(i,r,t):(0,o.stringify)(i,r)}},t.toTimestamp=function(e){return"now"===e?e:e instanceof Date?Math.round(Number(e)/1e3):e},t.createPremiumPlanQueryString=l},71176:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.timezone=t.defaultParamsSerializer=t.defaultUrl=void 0;let i=r(43482),o=r(47023);t.defaultUrl="https://maps.googleapis.com/maps/api/timezone/json",t.defaultParamsSerializer=(0,i.serializer)({timestamp:i.toTimestamp,location:i.latLngToString},t.defaultUrl),t.timezone=function(e,r){var{params:i,method:a="get",url:s=t.defaultUrl,paramsSerializer:l=t.defaultParamsSerializer}=e,u=n(e,["params","method","url","paramsSerializer"]);return void 0===r&&(r=o.defaultAxiosInstance),r(Object.assign({params:i,method:a,url:s,paramsSerializer:l},u))}},75479:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodePath=t.encodePath=void 0,t.encodePath=function(e){var t,r=[],n=[0,0],i=function(e){for(e=e<0?~(e<<1):e<<1;e>=32;)r.push(String.fromCharCode((32|31&e)+63)),e>>=5;r.push(String.fromCharCode(e+63))};for(let r=0,o=e.length||0;r<o;++r)i((t=[Math.round(1e5*e[r].lat),Math.round(1e5*e[r].lng)])[0]-n[0]),i(t[1]-n[1]),n=t;return r.join("")},t.decodePath=function(e){let t,r=e.length||0,n=Array(Math.floor(e.length/2)),i=0,o=0,a=0;for(t=0;i<r;++t){let r,s=1,l=0;do s+=(r=e.charCodeAt(i++)-63-1)<<l,l+=5;while(r>=31);o+=1&s?~(s>>1):s>>1,s=1,l=0;do s+=(r=e.charCodeAt(i++)-63-1)<<l,l+=5;while(r>=31);a+=1&s?~(s>>1):s>>1,n[t]={lat:1e-5*o,lng:1e-5*a}}return n.length=t,n}},32860:function(e,t,r){e.exports=r(37137)},7827:function(e,t,r){"use strict";var n=r(94606),i=r(2107),o=r(27346),a=r(68177),s=r(25867),l=r(63151),u=r(7822),c=r(87235),p=r(37674),h=r(79055),d=r(46073);e.exports=function(e){return new Promise(function(t,r){var f,m=e.data,g=e.headers,y=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}n.isFormData(m)&&n.isStandardBrowserEnv()&&delete g["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var x=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(x+":"+w)}var E=s(e.baseURL,e.url);function S(){if(b){var n="getAllResponseHeaders"in b?l(b.getAllResponseHeaders()):null;i(function(e){t(e),v()},function(e){r(e),v()},{data:y&&"text"!==y&&"json"!==y?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:n,config:e,request:b}),b=null}}if(b.open(e.method.toUpperCase(),a(E,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=S:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(S)},b.onabort=function(){b&&(r(new p("Request aborted",p.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new p("Network Error",p.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new p(t,n.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,e,b)),b=null},n.isStandardBrowserEnv()){var O=(e.withCredentials||u(E))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;O&&(g[e.xsrfHeaderName]=O)}"setRequestHeader"in b&&n.forEach(g,function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete g[t]:b.setRequestHeader(t,e)}),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),y&&"json"!==y&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){b&&(r(!e||e&&e.type?new h:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),m||(m=null);var T=d(E);if(T&&-1===["http","https","file"].indexOf(T)){r(new p("Unsupported protocol "+T+":",p.ERR_BAD_REQUEST,e));return}b.send(m)})}},37137:function(e,t,r){"use strict";var n=r(94606),i=r(78794),o=r(93942),a=r(84002),s=function e(t){var r=new o(t),s=i(o.prototype.request,r);return n.extend(s,o.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(3206));s.Axios=o,s.CanceledError=r(79055),s.CancelToken=r(50689),s.isCancel=r(58214),s.VERSION=r(57009).version,s.toFormData=r(29220),s.AxiosError=r(37674),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(67886),s.isAxiosError=r(9520),e.exports=s,e.exports.default=s},50689:function(e,t,r){"use strict";var n=r(79055);function i(e){if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});var t,r=this;this.promise.then(function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}}),this.promise.then=function(e){var t,n=new Promise(function(e){r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e){r.reason||(r.reason=new n(e),t(r.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},79055:function(e,t,r){"use strict";var n=r(37674);function i(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}r(94606).inherits(i,n,{__CANCEL__:!0}),e.exports=i},58214:function(e){"use strict";e.exports=function(e){return!!(e&&e.__CANCEL__)}},93942:function(e,t,r){"use strict";var n=r(94606),i=r(68177),o=r(44752),a=r(54186),s=r(84002),l=r(25867),u=r(76713),c=u.validators;function p(e){this.defaults=e,this.interceptors={request:new o,response:new o}}p.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r,n=t.transitional;void 0!==n&&u.assertOptions(n,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var i=[],o=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(o=o&&e.synchronous,i.unshift(e.fulfilled,e.rejected))});var l=[];if(this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)}),!o){var p=[a,void 0];for(Array.prototype.unshift.apply(p,i),p=p.concat(l),r=Promise.resolve(t);p.length;)r=r.then(p.shift(),p.shift());return r}for(var h=t;i.length;){var d=i.shift(),f=i.shift();try{h=d(h)}catch(e){f(e);break}}try{r=a(h)}catch(e){return Promise.reject(e)}for(;l.length;)r=r.then(l.shift(),l.shift());return r},p.prototype.getUri=function(e){return i(l((e=s(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],function(e){p.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}}),n.forEach(["post","put","patch"],function(e){function t(t){return function(r,n,i){return this.request(s(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}p.prototype[e]=t(),p.prototype[e+"Form"]=t(!0)}),e.exports=p},37674:function(e,t,r){"use strict";var n=r(94606);function i(e,t,r,n,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}n.inherits(i,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=i.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){a[e]={value:e}}),Object.defineProperties(i,a),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=function(e,t,r,a,s,l){var u=Object.create(o);return n.toFlatObject(e,u,function(e){return e!==Error.prototype}),i.call(u,e.message,t,r,a,s),u.name=e.name,l&&Object.assign(u,l),u},e.exports=i},44752:function(e,t,r){"use strict";var n=r(94606);function i(){this.handlers=[]}i.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},25867:function(e,t,r){"use strict";var n=r(34228),i=r(71363);e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},54186:function(e,t,r){"use strict";var n=r(94606),i=r(12319),o=r(58214),a=r(3206),s=r(79055);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return l(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t},function(t){return!o(t)&&(l(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},84002:function(e,t,r){"use strict";var n=r(94606);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function l(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var u={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),function(e){var t=u[e]||o,i=t(e);n.isUndefined(i)&&t!==l||(r[e]=i)}),r}},2107:function(e,t,r){"use strict";var n=r(37674);e.exports=function(e,t,r){var i=r.config.validateStatus;!r.status||!i||i(r.status)?e(r):t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}},12319:function(e,t,r){"use strict";var n=r(94606),i=r(3206);e.exports=function(e,t,r){var o=this||i;return n.forEach(r,function(r){e=r.call(o,e,t)}),e}},3206:function(e,t,r){"use strict";var n,i=r(34406),o=r(94606),a=r(4509),s=r(37674),l=r(87235),u=r(29220),c={"Content-Type":"application/x-www-form-urlencoded"};function p(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var h={transitional:l,adapter:("undefined"!=typeof XMLHttpRequest?n=r(7827):void 0!==i&&"[object process]"===Object.prototype.toString.call(i)&&(n=r(7827)),n),transformRequest:[function(e,t){if(a(t,"Accept"),a(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e))return e;if(o.isArrayBufferView(e))return e.buffer;if(o.isURLSearchParams(e))return p(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,n=o.isObject(e),i=t&&t["Content-Type"];if((r=o.isFileList(e))||n&&"multipart/form-data"===i){var s=this.env&&this.env.FormData;return u(r?{"files[]":e}:e,s&&new s)}return n||"application/json"===i?(p(t,"application/json"),function(e,t,r){if(o.isString(e))try{return(0,JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||h.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||n&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw s.from(e,s.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:r(33363)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],function(e){h.headers[e]={}}),o.forEach(["post","put","patch"],function(e){h.headers[e]=o.merge(c)}),e.exports=h},87235:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},57009:function(e){e.exports={version:"0.27.2"}},78794:function(e){"use strict";e.exports=function(e,t){return function(){for(var r=Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},68177:function(e,t,r){"use strict";var n=r(94606);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var o,a=[];n.forEach(t,function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))}))}),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},71363:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},27346:function(e,t,r){"use strict";var n=r(94606);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},34228:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},9520:function(e,t,r){"use strict";var n=r(94606);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},7822:function(e,t,r){"use strict";var n=r(94606);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},4509:function(e,t,r){"use strict";var n=r(94606);e.exports=function(e,t){n.forEach(e,function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])})}},33363:function(e){e.exports=null},63151:function(e,t,r){"use strict";var n=r(94606),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e&&n.forEach(e.split("\n"),function(e){o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t&&!(a[t]&&i.indexOf(t)>=0)&&("set-cookie"===t?a[t]=(a[t]?a[t]:[]).concat([r]):a[t]=a[t]?a[t]+", "+r:r)}),a}},46073:function(e){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},67886:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},29220:function(e,t,r){"use strict";var n=r(48834).lW,i=r(94606);e.exports=function(e,t){t=t||new FormData;var r=[];function o(e){return null===e?"":i.isDate(e)?e.toISOString():i.isArrayBuffer(e)||i.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):n.from(e):e}return!function e(n,a){if(i.isPlainObject(n)||i.isArray(n)){if(-1!==r.indexOf(n))throw Error("Circular reference detected in "+a);r.push(n),i.forEach(n,function(r,n){if(!i.isUndefined(r)){var s,l=a?a+"."+n:n;if(r&&!a&&"object"==typeof r){if(i.endsWith(n,"{}"))r=JSON.stringify(r);else if(i.endsWith(n,"[]")&&(s=i.toArray(r))){s.forEach(function(e){i.isUndefined(e)||t.append(l,o(e))});return}}e(r,l)}}),r.pop()}else t.append(a,o(n))}(e),t}},76713:function(e,t,r){"use strict";var n=r(57009).version,i=r(37674),o={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var a={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new i(o(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var a=n[o],s=t[a];if(s){var l=e[a],u=void 0===l||s(l,a,e);if(!0!==u)throw new i("option "+a+" must be "+u,i.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new i("Unknown option "+a,i.ERR_BAD_OPTION)}},validators:o}},94606:function(e,t,r){"use strict";var n,i,o=r(78794),a=Object.prototype.toString,s=(n=Object.create(null),function(e){var t=a.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function l(e){return e=e.toLowerCase(),function(t){return s(t)===e}}function u(e){return Array.isArray(e)}function c(e){return void 0===e}var p=l("ArrayBuffer");function h(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==s(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var f=l("Date"),m=l("File"),g=l("Blob"),y=l("FileList");function v(e){return"[object Function]"===a.call(e)}var b=l("URLSearchParams");function x(e,t){if(null!=e){if("object"!=typeof e&&(e=[e]),u(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}}var w=(i="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return i&&e instanceof i});e.exports={isArray:u,isArrayBuffer:p,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||a.call(e)===t||v(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&p(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:h,isPlainObject:d,isUndefined:c,isDate:f,isFile:m,isBlob:g,isFunction:v,isStream:function(e){return h(e)&&v(e.pipe)},isURLSearchParams:b,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:x,merge:function e(){var t={};function r(r,n){d(t[n])&&d(r)?t[n]=e(t[n],r):d(r)?t[n]=e({},r):u(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)x(arguments[n],r);return t},extend:function(e,t,r){return x(t,function(t,n){r&&"function"==typeof t?e[n]=o(t,r):e[n]=t}),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r){var n,i,o,a={};t=t||{};do{for(i=(n=Object.getOwnPropertyNames(e)).length;i-- >0;)a[o=n[i]]||(t[o]=e[o],a[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:l,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return -1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var r=Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:w,isFileList:y}},51208:function(e,t,r){"use strict";r.r(t),r.d(t,{attach:function(){return o},detach:function(){return a},getConfig:function(){return p},shouldRetryRequest:function(){return c}});var n=r(32860),i=r.n(n);function o(e){return(e=e||i()).interceptors.response.use(s,u)}function a(e,t){(t=t||i()).interceptors.response.eject(e)}function s(e){return e}function l(e){var t=[];if(e)return Array.isArray(e)?e:("object"==typeof e&&Object.keys(e).forEach(function(r){"number"==typeof r&&(t[r]=e[r])}),t)}function u(e){if(i().isCancel(e))return Promise.reject(e);var t=p(e)||{};if(t.currentRetryAttempt=t.currentRetryAttempt||0,t.retry="number"==typeof t.retry?t.retry:3,t.retryDelay="number"==typeof t.retryDelay?t.retryDelay:100,t.instance=t.instance||i(),t.backoffType=t.backoffType||"exponential",t.httpMethodsToRetry=l(t.httpMethodsToRetry)||["GET","HEAD","PUT","OPTIONS","DELETE"],t.noResponseRetries="number"==typeof t.noResponseRetries?t.noResponseRetries:2,t.checkRetryAfter="boolean"!=typeof t.checkRetryAfter||t.checkRetryAfter,t.maxRetryAfter="number"==typeof t.maxRetryAfter?t.maxRetryAfter:3e5,t.statusCodesToRetry=l(t.statusCodesToRetry)||[[100,199],[429,429],[500,599]],e.config=e.config||{},e.config.raxConfig=Object.assign({},t),!(t.shouldRetry||c)(e))return Promise.reject(e);var r=new Promise(function(r,n){var i=0;if(t.checkRetryAfter&&e.response&&e.response.headers["retry-after"]){var o=function(e){var t=Number(e);if(!Number.isNaN(t))return 1e3*t;var r=Date.parse(e);return Number.isNaN(r)?void 0:r-Date.now()}(e.response.headers["retry-after"]);if(!(o&&o>0&&o<=t.maxRetryAfter))return n(e);i=o}e.config.raxConfig.currentRetryAttempt+=1;var a=e.config.raxConfig.currentRetryAttempt;0===i&&(i="linear"===t.backoffType?1e3*a:"static"===t.backoffType?t.retryDelay:(Math.pow(2,a)-1)/2*1e3,"number"==typeof t.maxRetryDelay&&(i=Math.min(i,t.maxRetryDelay))),setTimeout(r,i)}),n=t.onRetryAttempt?Promise.resolve(t.onRetryAttempt(e)):Promise.resolve();return Promise.resolve().then(function(){return r}).then(function(){return n}).then(function(){return t.instance.request(e.config)})}function c(e){var t=e.config.raxConfig;if(!t||0===t.retry||!e.response&&(t.currentRetryAttempt||0)>=t.noResponseRetries||!e.config.method||0>t.httpMethodsToRetry.indexOf(e.config.method.toUpperCase()))return!1;if(e.response&&e.response.status){for(var r=!1,n=0,i=t.statusCodesToRetry;n<i.length;n+=1){var o=i[n],a=e.response.status;if(a>=o[0]&&a<=o[1]){r=!0;break}}if(!r)return!1}return t.currentRetryAttempt=t.currentRetryAttempt||0,!(t.currentRetryAttempt>=t.retry)}function p(e){if(e&&e.config)return e.config.raxConfig}},58874:function(e,t,r){"use strict";r.r(t),r.d(t,{createSignature:function(){return l},createSignatureForPathAndQuery:function(){return s},signUrl:function(){return u}});var n=r(8139),i=r.n(n),o=r(47710),a=r.n(o);function s(e,t){var r,n=(r=t.replace(/-/g,"+").replace(/_/g,"/"),i().parse(r));return a()(e,n).toString(i()).replace(/\+/g,"-").replace(/\//g,"_")}function l(e,t){return"string"==typeof e&&(e=new URL(e)),s("".concat(e.pathname).concat(e.search),t)}function u(e,t){return"string"==typeof e&&(e=new URL(e)),new URL(e.toString()+"&signature="+l(e,t))}},29856:function(e){function t(){}e.exports=t,e.exports.HttpsAgent=t},57359:function(e,t,r){var n;e.exports=n||function(e,t){if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(50633)}catch(e){}var n,i=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},s=a.lib={},l=s.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=s.WordArray=l.extend({init:function(e,t){e=this.words=e||[],void 0!=t?this.sigBytes=t:this.sigBytes=4*e.length},toString:function(e){return(e||p).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++){var a=r[o>>>2]>>>24-o%4*8&255;t[n+o>>>2]|=a<<24-(n+o)%4*8}else for(var s=0;s<i;s+=4)t[n+s>>>2]=r[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(i());return new u.init(t,e)}}),c=a.enc={},p=c.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n+=2)r[n>>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new u.init(r,t/2)}},h=c.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i<r;i++){var o=t[i>>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(o))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n>>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new u.init(r,t)}},d=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},f=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,i=n.words,o=n.sigBytes,a=this.blockSize,s=o/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,c=e.min(4*l,o);if(l){for(var p=0;p<l;p+=a)this._doProcessBlock(i,p);r=i.splice(0,l),n.sigBytes-=c}return new u.init(r,c)},clone:function(){var e=l.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});s.Hasher=f.extend({cfg:l.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new m.HMAC.init(e,r).finalize(t)}}});var m=a.algo={};return a}(Math)},8139:function(e,t,r){var n,i;e.exports=(i=(n=r(57359)).lib.WordArray,n.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],o=0;o<r;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<r;s++)i.push(n.charAt(a>>>6*(3-s)&63));var l=n.charAt(64);if(l)for(;i.length%4;)i.push(l);return i.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o<r.length;o++)n[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return function(e,t,r){for(var n=[],o=0,a=0;a<t;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2|r[e.charCodeAt(a)]>>>6-a%4*2;n[o>>>2]|=s<<24-o%4*8,o++}return i.create(n,o)}(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)},47710:function(e,t,r){var n;e.exports=(n=r(57359),r(81637),r(66423),n.HmacSHA1)},66423:function(e,t,r){var n,i,o;e.exports=void(i=(n=r(57359)).lib.Base,o=n.enc.Utf8,n.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=o.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),a=this._iKey=t.clone(),s=i.words,l=a.words,u=0;u<r;u++)s[u]^=1549556828,l[u]^=909522486;i.sigBytes=a.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}}))},81637:function(e,t,r){var n,i,o,a,s,l,u;e.exports=(o=(i=(n=r(57359)).lib).WordArray,a=i.Hasher,s=n.algo,l=[],u=s.SHA1=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],s=r[4],u=0;u<80;u++){if(u<16)l[u]=0|e[t+u];else{var c=l[u-3]^l[u-8]^l[u-14]^l[u-16];l[u]=c<<1|c>>>31}var p=(n<<5|n>>>27)+s+l[u];u<20?p+=(i&o|~i&a)+1518500249:u<40?p+=(i^o^a)+1859775393:u<60?p+=(i&o|i&a|o&a)-1894007588:p+=(i^o^a)-899497514,s=a,a=o,o=i<<30|i>>>2,i=n,n=p}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[(n+64>>>9<<4)+14]=Math.floor(r/4294967296),t[(n+64>>>9<<4)+15]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=a._createHelper(u),n.HmacSHA1=a._createHmacHelper(u),n.SHA1)},15554:function(e){"use strict";var t="%[a-f0-9]{2}",r=RegExp("("+t+")|([^%]+?)","gi"),n=RegExp("("+t+")+","gi");e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},i=n.exec(e);i;){try{t[i[0]]=decodeURIComponent(i[0])}catch(e){var o=function(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(r)||[],n=1;n<t.length;n++)t=(e=(function e(t,r){try{return[decodeURIComponent(t.join(""))]}catch(e){}if(1===t.length)return t;r=r||1;var n=t.slice(0,r),i=t.slice(r);return Array.prototype.concat.call([],e(n),e(i))})(t,n).join("")).match(r)||[];return e}}(i[0]);o!==i[0]&&(t[i[0]]=o)}i=n.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];e=e.replace(RegExp(l,"g"),t[l])}return e}(e)}}},34821:function(e,t){"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,(n=r=t.ElementType||(t.ElementType={})).Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype",t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},79959:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=r(34821),a=r(75538);i(r(75538),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?o.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment){this.lastNode.data+=e;return}var t=new a.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},75538:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=r(34821),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),E(this,e)},e}();t.Node=s;var l=function(e){function t(t){var r=e.call(this)||this;return r.data=t,r}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=u;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=c;var p=function(e){function t(t,r){var n=e.call(this,r)||this;return n.name=t,n.type=a.ElementType.Directive,n}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=p;var h=function(e){function t(t){var r=e.call(this)||this;return r.children=t,r}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=h;var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(h);t.CDATA=d;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(h);t.Document=f;var m=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,n)||this;return o.name=t,o.attribs=r,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}})},enumerable:!1,configurable:!0}),t}(h);function g(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function x(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function E(e,t){if(void 0===t&&(t=!1),v(e))r=new u(e.data);else if(b(e))r=new c(e.data);else if(g(e)){var r,n=t?S(e.children):[],i=new m(e.name,o({},e.attribs),n);n.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),r=i}else if(y(e)){var n=t?S(e.children):[],a=new d(n);n.forEach(function(e){return e.parent=a}),r=a}else if(w(e)){var n=t?S(e.children):[],s=new f(n);n.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),r=s}else if(x(e)){var l=new p(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),r=l}else throw Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function S(e){for(var t=e.map(function(e){return E(e,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=m,t.isTag=g,t.isCDATA=y,t.isText=v,t.isComment=b,t.isDirective=x,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=E},40063:function(e){"use strict";e.exports=function(e,t){for(var r={},n=Object.keys(e),i=Array.isArray(t),o=0;o<n.length;o++){var a=n[o],s=e[a];(i?-1!==t.indexOf(a):t(a,s,e))&&(r[a]=s)}return r}},8401:function(e,t){t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]},58166:function(e){var t,r="html",n="head",i="body",o=/<([a-zA-Z]+[0-9]?)/,a=/<head[^]*>/i,s=/<body[^]*>/i,l=function(){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"==typeof window&&window.DOMParser;if("function"==typeof c){var p=new c;l=u=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),p.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var h=document.implementation.createHTMLDocument();l=function(e,t){return t?h.documentElement.querySelector(t).innerHTML=e:h.documentElement.innerHTML=e,h}}var d="object"==typeof document?document.createElement("template"):{};d.content&&(t=function(e){return d.innerHTML=e,d.content.childNodes}),e.exports=function(e){var c,p,h,d,f=e.match(o);switch(f&&f[1]&&(c=f[1].toLowerCase()),c){case r:return p=u(e),!a.test(e)&&(h=p.querySelector(n))&&h.parentNode.removeChild(h),!s.test(e)&&(h=p.querySelector(i))&&h.parentNode.removeChild(h),p.querySelectorAll(r);case n:case i:if(d=(p=l(e)).querySelectorAll(c),s.test(e)&&a.test(e))return d[0].parentNode.childNodes;return d;default:if(t)return t(e);return(h=l(e,i).querySelector(i)).childNodes}}},50307:function(e,t,r){var n=r(58166),i=r(41594).formatDOM,o=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(""===e)return[];var t,r=e.match(o);return r&&r[1]&&(t=r[1]),i(n(e),null,t)}},41594:function(e,t,r){for(var n,i=r(79959),o=r(8401).CASE_SENSITIVE_TAG_NAMES,a=i.Comment,s=i.Element,l=i.ProcessingInstruction,u=i.Text,c={},p=0,h=o.length;p<h;p++)c[(n=o[p]).toLowerCase()]=n;function d(e){for(var t,r={},n=0,i=e.length;n<i;n++)r[(t=e[n]).name]=t.value;return r}t.formatAttributes=d,t.formatDOM=function e(t,r,n){r=r||null;for(var i=[],o=0,p=t.length;o<p;o++){var h,f,m,g=t[o];switch(g.nodeType){case 1:(m=new s(f=c[h=(h=g.nodeName).toLowerCase()]||h,d(g.attributes))).children=e("template"===f?g.content.childNodes:g.childNodes,m);break;case 3:m=new u(g.nodeValue);break;case 8:m=new a(g.nodeValue);break;default:continue}var y=i[o-1]||null;y&&(y.next=m),m.parent=r,m.prev=y,m.next=null,i.push(m)}return n&&((m=new l(n.substring(0,n.indexOf(" ")).toLowerCase(),n)).next=i[0]||null,m.parent=r,i.unshift(m),i[1]&&(i[1].prev=i[0])),i}},72670:function(e,t,r){var n=r(79959),i=r(50307),o=r(13683),a=r(69239);i="function"==typeof i.default?i.default:i;var s={lowerCaseAttributeNames:!1};function l(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return""===e?[]:a(i(e,(t=t||{}).htmlparser2||s),t)}l.domToReact=a,l.htmlToDOM=i,l.attributesToProps=o,l.Comment=n.Comment,l.Element=n.Element,l.ProcessingInstruction=n.ProcessingInstruction,l.Text=n.Text,e.exports=l,l.default=l},13683:function(e,t,r){var n=r(18701),i=r(54848),o=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return n.possibleStandardNames[e]}e.exports=function(e,t){var r,u,c,p,h,d={},f=(e=e||{}).type&&s[e.type];for(r in e){if(c=e[r],n.isCustomAttribute(r)){d[r]=c;continue}if(p=l(u=r.toLowerCase())){switch(h=n.getPropertyInfo(p),-1===o.indexOf(p)||-1===a.indexOf(t)||f||(p=l("default"+u)),d[p]=c,h&&h.type){case n.BOOLEAN:d[p]=!0;break;case n.OVERLOADED_BOOLEAN:""===c&&(d[p]=!0)}continue}i.PRESERVE_CUSTOM_ATTRIBUTES&&(d[r]=c)}return i.setStyleProp(e.style,d),d}},69239:function(e,t,r){var n=r(2784),i=r(13683),o=r(54848),a=o.setStyleProp,s=o.canTextBeChildOfNode;e.exports=function e(t,r){for(var l,u,c,p,h,d=(r=r||{}).library||n,f=d.cloneElement,m=d.createElement,g=d.isValidElement,y=[],v="function"==typeof r.replace,b=r.transform||o.returnFirstArg,x=r.trim,w=0,E=t.length;w<E;w++){if(l=t[w],v&&g(c=r.replace(l))){E>1&&(c=f(c,{key:c.key||w})),y.push(b(c,l,w));continue}if("text"===l.type){if((u=!l.data.trim().length)&&l.parent&&!s(l.parent)||x&&u)continue;y.push(b(l.data,l,w));continue}switch(p=l.attribs,o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===l.type&&o.isCustomComponent(l.name,l.attribs)?a(p.style,p):p&&(p=i(p,l.name)),h=null,l.type){case"script":case"style":l.children[0]&&(p.dangerouslySetInnerHTML={__html:l.children[0].data});break;case"tag":"textarea"===l.name&&l.children[0]?p.defaultValue=l.children[0].data:l.children&&l.children.length&&(h=e(l.children,r));break;default:continue}E>1&&(p.key=w),y.push(b(m(l.name,p,h),l,w))}return 1===y.length?y[0]:y}},54848:function(e,t,r){var n=r(2784),i=r(57405).default,o=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),a={reactCompat:!0},s=n.version.split(".")[0]>=16,l=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:s,ELEMENTS_WITH_NO_TEXT_CHILDREN:l,invertObject:function(e,t){if(!e||"object"!=typeof e)throw TypeError("First argument must be an object");var r="function"==typeof t,n={},i={};for(var o in e){var a=e[o];if(r&&(n=t(o,a))&&2===n.length){i[n[0]]=n[1];continue}"string"==typeof a&&(i[a]=o)}return i},isCustomComponent:function(e,t){return -1===e.indexOf("-")?t&&"string"==typeof t.is:!o.has(e)},setStyleProp:function(e,t){if(null!=e)try{t.style=i(e,a)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!l.has(e.name)},returnFirstArg:function(e){return e}}},57405:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(85653)),o=r(97717);t.default=function(e,t){var r={};return e&&"string"==typeof e&&(0,i.default)(e,function(e,n){e&&n&&(r[(0,o.camelCase)(e,t)]=n)}),r}},97717:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var r=/^--[a-zA-Z0-9-]+$/,n=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||i.test(u)||r.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(o,l)).replace(n,s))}},6299:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var c=1,p=1;function h(e){var t=e.match(r);t&&(c+=t.length);var n=e.lastIndexOf("\n");p=~n?e.length-n:p+e.length}function d(){var e={line:c,column:p};return function(t){return t.position=new f(e),y(n),t}}function f(e){this.start=e,this.end={line:c,column:p},this.source=l.source}f.prototype.content=e;var m=[];function g(t){var r=Error(l.source+":"+c+":"+p+": "+t);if(r.reason=t,r.filename=l.source,r.line=c,r.column=p,r.source=e,l.silent)m.push(r);else throw r}function y(t){var r=t.exec(e);if(r){var n=r[0];return h(n),e=e.slice(n.length),r}}function v(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=d();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return g("End of comment missing");var n=e.slice(2,r-2);return p+=2,h(n),e=e.slice(r),p+=2,t({type:"comment",comment:n})}}return y(n),function(){var e,r=[];for(v(r);e=function(){var e=d(),r=y(i);if(r){if(b(),!y(o))return g("property missing ':'");var n=y(a),l=e({type:"declaration",property:u(r[0].replace(t,"")),value:n?u(n[0].replace(t,"")):""});return y(s),l}}();)!1!==e&&(r.push(e),v(r));return r}()}},38398:function(e,t,r){!function(){var t={452:function(e){"use strict";e.exports=r(50176)}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var o=n[e]={exports:{}},a=!0;try{t[e](o,o.exports,i),a=!1}finally{a&&delete n[e]}return o.exports}i.ab="//";var o={};!function(){var e,t=(e=i(452))&&"object"==typeof e&&"default"in e?e.default:e,r=/https?|ftp|gopher|file/;function n(e){"string"==typeof e&&(e=y(e));var n,i,o,a,s,l,u,c,p,h=(i=(n=e).auth,o=n.hostname,a=n.protocol||"",s=n.pathname||"",l=n.hash||"",u=n.query||"",c=!1,i=i?encodeURIComponent(i).replace(/%3A/i,":")+"@":"",n.host?c=i+n.host:o&&(c=i+(~o.indexOf(":")?"["+o+"]":o),n.port&&(c+=":"+n.port)),u&&"object"==typeof u&&(u=t.encode(u)),p=n.search||u&&"?"+u||"",a&&":"!==a.substr(-1)&&(a+=":"),n.slashes||(!a||r.test(a))&&!1!==c?(c="//"+(c||""),s&&"/"!==s[0]&&(s="/"+s)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),p&&"?"!==p[0]&&(p="?"+p),{protocol:a,host:c,pathname:s=s.replace(/[?#]/g,encodeURIComponent),search:p=p.replace("#","%23"),hash:l});return""+h.protocol+h.host+h.pathname+h.search+h.hash}var a="http://",s=a+"w.w",l=/^([a-z0-9.+-]*:\/\/\/)([a-z0-9.+-]:\/*)?/i,u=/https?|ftp|gopher|file/;function c(e,t){var r="string"==typeof e?y(e):e;e="object"==typeof e?n(e):e;var i=y(t),o="";r.protocol&&!r.slashes&&(o=r.protocol,e=e.replace(r.protocol,""),o+="/"===t[0]||"/"===e[0]?"/":""),o&&i.protocol&&(o="",i.slashes||(o=i.protocol,t=t.replace(i.protocol,"")));var c=e.match(l);c&&!i.protocol&&(e=e.substr((o=c[1]+(c[2]||"")).length),/^\/\/[^/]/.test(t)&&(o=o.slice(0,-1)));var p=new URL(e,s+"/"),h=new URL(t,p).toString().replace(s,""),d=i.protocol||r.protocol;return d+=r.slashes||i.slashes?"//":"",!o&&d?h=h.replace(a,d):o&&(h=h.replace(a,"")),u.test(h)||~t.indexOf(".")||"/"===e.slice(-1)||"/"===t.slice(-1)||"/"!==h.slice(-1)||(h=h.slice(0,-1)),o&&(h=o+("/"===h[0]?h.substr(1):h)),h}function p(){}p.prototype.parse=y,p.prototype.format=n,p.prototype.resolve=c,p.prototype.resolveObject=c;var h=/^https?|ftp|gopher|file/,d=/^(.*?)([#?].*)/,f=/^([a-z0-9.+-]*:)(\/{0,3})(.*)/i,m=/^([a-z0-9.+-]*:)?\/\/\/*/i,g=/^([a-z0-9.+-]*:)(\/{0,2})\[(.*)\]$/i;function y(e,r,i){if(void 0===r&&(r=!1),void 0===i&&(i=!1),e&&"object"==typeof e&&e instanceof p)return e;var o=(e=e.trim()).match(d);e=o?o[1].replace(/\\/g,"/")+o[2]:e.replace(/\\/g,"/"),g.test(e)&&"/"!==e.slice(-1)&&(e+="/");var a=!/(^javascript)/.test(e)&&e.match(f),l=m.test(e),u="";a&&(h.test(a[1])||(u=a[1].toLowerCase(),e=""+a[2]+a[3]),a[2]||(l=!1,h.test(a[1])?(u=a[1],e=""+a[3]):e="//"+a[3]),3!==a[2].length&&1!==a[2].length||(u=a[1],e="/"+a[3]));var c,y=(o?o[1]:e).match(/^https?:\/\/[^/]+(:[0-9]+)(?=\/|$)/),v=y&&y[1],b=new p,x="",w="";try{c=new URL(e)}catch(t){x=t,u||i||!/^\/\//.test(e)||/^\/\/.+[@.]/.test(e)||(w="/",e=e.substr(1));try{c=new URL(e,s)}catch(e){return b.protocol=u,b.href=u,b}}b.slashes=l&&!w,b.host="w.w"===c.host?"":c.host,b.hostname="w.w"===c.hostname?"":c.hostname.replace(/(\[|\])/g,""),b.protocol=x?u||null:c.protocol,b.search=c.search.replace(/\\/g,"%5C"),b.hash=c.hash.replace(/\\/g,"%5C");var E=e.split("#");!b.search&&~E[0].indexOf("?")&&(b.search="?"),b.hash||""!==E[1]||(b.hash="#"),b.query=r?t.decode(c.search.substr(1)):b.search.substr(1),b.pathname=w+(a?c.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}}):c.pathname),"about:"===b.protocol&&"blank"===b.pathname&&(b.protocol="",b.pathname=""),x&&"/"!==e[0]&&(b.pathname=b.pathname.substr(1)),u&&!h.test(u)&&"/"!==e.slice(-1)&&"/"===b.pathname&&(b.pathname=""),b.path=b.pathname+b.search,b.auth=[c.username,c.password].map(decodeURIComponent).filter(Boolean).join(":"),b.port=c.port,v&&!b.host.endsWith(v)&&(b.host+=v,b.port=v.slice(1)),b.href=w?""+b.pathname+b.search+b.hash:n(b);var S=/^(file)/.test(b.href)?["host","hostname"]:[];return Object.keys(b).forEach(function(e){~S.indexOf(e)||(b[e]=b[e]||null)}),b}o.parse=y,o.format=n,o.resolve=c,o.resolveObject=function(e,t){return y(c(e,t))},o.Url=p}(),e.exports=o}()},50176:function(e){!function(){"use strict";var t={815:function(e){e.exports=function(e,r,n,i){r=r||"&",n=n||"=";var o={};if("string"!=typeof e||0===e.length)return o;var a=/\+/g;e=e.split(r);var s=1e3;i&&"number"==typeof i.maxKeys&&(s=i.maxKeys);var l=e.length;s>0&&l>s&&(l=s);for(var u=0;u<l;++u){var c,p,h,d,f=e[u].replace(a,"%20"),m=f.indexOf(n);(m>=0?(c=f.substr(0,m),p=f.substr(m+1)):(c=f,p=""),h=decodeURIComponent(c),d=decodeURIComponent(p),Object.prototype.hasOwnProperty.call(o,h))?t(o[h])?o[h].push(d):o[h]=[o[h],d]:o[h]=d}return o};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,o,a,s){return(o=o||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e)?n(i(e),function(i){var s=encodeURIComponent(t(i))+a;return r(e[i])?n(e[i],function(e){return s+encodeURIComponent(t(e))}).join(o):s+encodeURIComponent(t(e[i]))}).join(o):s?encodeURIComponent(t(s))+a+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(e){var i=r[e];if(void 0!==i)return i.exports;var o=r[e]={exports:{}},a=!0;try{t[e](o,o.exports,n),a=!1}finally{a&&delete r[e]}return o.exports}n.ab="//";var i={};i.decode=i.parse=n(815),i.encode=i.stringify=n(577),e.exports=i}()},34126:function(e,t,r){"use strict";let n=r(57785),i=r(15554),o=r(15452),a=r(40063),s=e=>null==e,l=Symbol("encodeFragmentIdentifier");function u(e){if("string"!=typeof e||1!==e.length)throw TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function p(e,t){return t.decode?i(e):e}function h(e){let t=e.indexOf("#");return -1!==t&&(e=e.slice(0,t)),e}function d(e){let t=(e=h(e)).indexOf("?");return -1===t?"":e.slice(t+1)}function f(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):t.parseBooleans&&null!==e&&("true"===e.toLowerCase()||"false"===e.toLowerCase())&&(e="true"===e.toLowerCase()),e}function m(e,t){u((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);let r=function(e){let t;switch(e.arrayFormat){case"index":return(e,r,n)=>{if(t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),!t){n[e]=r;return}void 0===n[e]&&(n[e]={}),n[e][t[1]]=r};case"bracket":return(e,r,n)=>{if(t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),!t){n[e]=r;return}if(void 0===n[e]){n[e]=[r];return}n[e]=[].concat(n[e],r)};case"colon-list-separator":return(e,r,n)=>{if(t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),!t){n[e]=r;return}if(void 0===n[e]){n[e]=[r];return}n[e]=[].concat(n[e],r)};case"comma":case"separator":return(t,r,n)=>{let i="string"==typeof r&&r.includes(e.arrayFormatSeparator),o="string"==typeof r&&!i&&p(r,e).includes(e.arrayFormatSeparator);r=o?p(r,e):r;let a=i||o?r.split(e.arrayFormatSeparator).map(t=>p(t,e)):null===r?r:p(r,e);n[t]=a};case"bracket-separator":return(t,r,n)=>{let i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i){n[t]=r?p(r,e):r;return}let o=null===r?[]:r.split(e.arrayFormatSeparator).map(t=>p(t,e));if(void 0===n[t]){n[t]=o;return}n[t]=[].concat(n[t],o)};default:return(e,t,r)=>{if(void 0===r[e]){r[e]=t;return}r[e]=[].concat(r[e],t)}}}(t),n=Object.create(null);if("string"!=typeof e||!(e=e.trim().replace(/^[?#&]/,"")))return n;for(let i of e.split("&")){if(""===i)continue;let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:p(a,t),r(p(e,t),a,n)}for(let e of Object.keys(n)){let r=n[e];if("object"==typeof r&&null!==r)for(let e of Object.keys(r))r[e]=f(r[e],t);else n[e]=f(r,t)}return!1===t.sort?n:(!0===t.sort?Object.keys(n).sort():Object.keys(n).sort(t.sort)).reduce((e,t)=>{let r=n[t];return r&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(r):e[t]=r,e},Object.create(null))}t.extract=d,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";u((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);let r=r=>t.skipNull&&s(e[r])||t.skipEmptyString&&""===e[r],n=function(e){switch(e.arrayFormat){case"index":return t=>(r,n)=>{let i=r.length;return void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[",i,"]"].join("")]:[...r,[c(t,e),"[",c(i,e),"]=",c(n,e)].join("")]};case"bracket":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),"[]"].join("")]:[...r,[c(t,e),"[]=",c(n,e)].join("")];case"colon-list-separator":return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,[c(t,e),":list="].join("")]:[...r,[c(t,e),":list=",c(n,e)].join("")];case"comma":case"separator":case"bracket-separator":{let t="bracket-separator"===e.arrayFormat?"[]=":"=";return r=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:(i=null===i?"":i,0===n.length)?[[c(r,e),t,c(i,e)].join("")]:[[n,c(i,e)].join(e.arrayFormatSeparator)]}default:return t=>(r,n)=>void 0===n||e.skipNull&&null===n||e.skipEmptyString&&""===n?r:null===n?[...r,c(t,e)]:[...r,[c(t,e),"=",c(n,e)].join("")]}}(t),i={};for(let t of Object.keys(e))r(t)||(i[t]=e[t]);let o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map(r=>{let i=e[r];return void 0===i?"":null===i?c(r,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?c(r,t)+"[]":i.reduce(n(r),[]).join("&"):c(r,t)+"="+c(i,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);let[r,n]=o(e,"#");return Object.assign({url:r.split("?")[0]||"",query:m(d(e),t)},t&&t.parseFragmentIdentifier&&n?{fragmentIdentifier:p(n,t)}:{})},t.stringifyUrl=(e,r)=>{r=Object.assign({encode:!0,strict:!0,[l]:!0},r);let n=h(e.url).split("?")[0]||"",i=t.extract(e.url),o=Object.assign(t.parse(i,{sort:!1}),e.query),a=t.stringify(o,r);a&&(a=`?${a}`);let s=function(e){let t="",r=e.indexOf("#");return -1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(s=`#${r[l]?c(e.fragmentIdentifier,r):e.fragmentIdentifier}`),`${n}${a}${s}`},t.pick=(e,r,n)=>{n=Object.assign({parseFragmentIdentifier:!0,[l]:!1},n);let{url:i,query:o,fragmentIdentifier:s}=t.parseUrl(e,n);return t.stringifyUrl({url:i,query:a(o,r),fragmentIdentifier:s},n)},t.exclude=(e,r,n)=>{let i=Array.isArray(r)?e=>!r.includes(e):(e,t)=>!r(e,t);return t.pick(e,i,n)}},66582:function(e,t,r){"use strict";var n,i,o,a,s,l,u=r(2784);u&&"object"==typeof u&&"default"in u&&u.default;var c=r(2897),p=new c,h=p.getBrowser(),d=p.getCPU(),f=p.getDevice(),m=p.getEngine(),g=p.getOS(),y=p.getUA(),v={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},b={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},w=function(){return!!("undefined"!=typeof window&&(window.navigator||navigator))&&(window.navigator||navigator)},E=function(e){var t=w();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},S=function(e){return e.type===v.Browser},O=function(e){return e.name===b.Edge},T=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},_=function(){return E("iPad")};f.type,v.SmartTv,f.type,v.Console,f.type,v.Wearable,f.type,v.Embedded,h.name===b.MobileSafari||_(),h.name,b.Chromium,(n=f.type)===v.Mobile||n===v.Tablet||_(),f.type,v.Mobile,f.type===v.Tablet||_(),S(f),S(f),g.name,g.name;var P="iOS"===g.name||_(),A=(h.name,b.Chrome,h.name,b.Firefox,(i=h.name)===b.Safari||b.MobileSafari,h.name,b.Opera,(o=h.name)===b.InternetExplorer||b.Ie,x(g.version),x(g.name),x(h.version),x(h.major),x(h.name),x(f.vendor),x(f.model),x(m.name),x(m.version),x(y),O(h)||T(y),h.name,b.Yandex,x(f.type,"browser"),(a=w())&&(/iPad|iPhone|iPod/.test(a.platform)||"MacIntel"===a.platform&&a.maxTouchPoints>1)&&window.MSStream,_(),E("iPhone"),E("iPod"),"string"==typeof(l=(s=w())&&s.userAgent&&s.userAgent.toLowerCase())&&/electron/.test(l),T(y),O(h)&&T(y),g.name,"Mac OS"===g.name);h.name,b.MIUI,h.name,b.SamsungBrowser,t.gn=P,t.Q5=A},18701:function(e,t,r){"use strict";function n(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}function i(e,t,r,n,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}Object.defineProperty(t,"__esModule",{value:!0});var o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){o[e]=new i(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],a=t[1];o[r]=new i(r,1,!1,a,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){o[e]=new i(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){o[e]=new i(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){o[e]=new i(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){o[e]=new i(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){o[e]=new i(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){o[e]=new i(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){o[e]=new i(e,5,!1,e.toLowerCase(),null,!1,!1)});var a=/[\-\:]([a-z])/g,s=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(a,s);o[t]=new i(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(a,s);o[t]=new i(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(a,s);o[t]=new i(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){o[e]=new i(e,1,!1,e.toLowerCase(),null,!1,!1)}),o.xlinkHref=new i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){o[e]=new i(e,1,!1,e.toLowerCase(),null,!0,!0)});var l=r(52558),u=l.CAMELCASE,c=l.SAME,p=l.possibleStandardNames,h=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(p).reduce(function(e,t){var r=p[t];return r===c?e[t]=t:r===u?e[t.toLowerCase()]=t:e[t]=r,e},{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=h,t.possibleStandardNames=d},52558:function(e,t){t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},28249:function(e,t,r){"use strict";r.d(t,{QS:function(){return u}});var n=r(2784);let i={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},o={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},a="mousemove",s="mouseup";function l(e,t){if(0===t)return e;let r=Math.PI/180*t;return[e[0]*Math.cos(r)+e[1]*Math.sin(r),e[1]*Math.cos(r)-e[0]*Math.sin(r)]}function u(e){var t,r,u;let c;let{trackMouse:p}=e,h=n.useRef(Object.assign({},o)),d=n.useRef(Object.assign({},i)),f=n.useRef(Object.assign({},d.current));for(c in f.current=Object.assign({},d.current),d.current=Object.assign(Object.assign({},i),e),i)void 0===d.current[c]&&(d.current[c]=i[c]);let[m,g]=n.useMemo(()=>(function(e,t){let r=t=>{let r="touches"in t;r&&t.touches.length>1||e((e,i)=>{i.trackMouse&&!r&&(document.addEventListener(a,n),document.addEventListener(s,p));let{clientX:u,clientY:c}=r?t.touches[0]:t,h=l([u,c],i.rotationAngle);return i.onTouchStartOrOnMouseDown&&i.onTouchStartOrOnMouseDown({event:t}),Object.assign(Object.assign(Object.assign({},e),o),{initial:h.slice(),xy:h,start:t.timeStamp||0})})},n=t=>{e((e,r)=>{let n="touches"in t;if(n&&t.touches.length>1)return e;if(t.timeStamp-e.start>r.swipeDuration)return e.swiping?Object.assign(Object.assign({},e),{swiping:!1}):e;let{clientX:o,clientY:a}=n?t.touches[0]:t,[s,u]=l([o,a],r.rotationAngle),c=s-e.xy[0],p=u-e.xy[1],h=Math.abs(c),d=Math.abs(p),f=(t.timeStamp||0)-e.start,m=h>d?c>0?"Right":"Left":p>0?"Down":"Up",g="number"==typeof r.delta?r.delta:r.delta[m.toLowerCase()]||i.delta;if(h<g&&d<g&&!e.swiping)return e;let y={absX:h,absY:d,deltaX:c,deltaY:p,dir:m,event:t,first:e.first,initial:e.initial,velocity:Math.sqrt(h*h+d*d)/(f||1),vxvy:[c/(f||1),p/(f||1)]};y.first&&r.onSwipeStart&&r.onSwipeStart(y),r.onSwiping&&r.onSwiping(y);let v=!1;return(r.onSwiping||r.onSwiped||r[`onSwiped${m}`])&&(v=!0),v&&r.preventScrollOnSwipe&&r.trackTouch&&t.cancelable&&t.preventDefault(),Object.assign(Object.assign({},e),{first:!1,eventData:y,swiping:!0})})},u=t=>{e((e,r)=>{let n;if(e.swiping&&e.eventData){if(t.timeStamp-e.start<r.swipeDuration){n=Object.assign(Object.assign({},e.eventData),{event:t}),r.onSwiped&&r.onSwiped(n);let i=r[`onSwiped${n.dir}`];i&&i(n)}}else r.onTap&&r.onTap({event:t});return r.onTouchEndOrOnMouseUp&&r.onTouchEndOrOnMouseUp({event:t}),Object.assign(Object.assign(Object.assign({},e),o),{eventData:n})})},c=()=>{document.removeEventListener(a,n),document.removeEventListener(s,p)},p=e=>{c(),u(e)},h=(e,t)=>{let o=()=>{};if(e&&e.addEventListener){let a=Object.assign(Object.assign({},i.touchEventOptions),t.touchEventOptions),s=[["touchstart",r,a],["touchmove",n,Object.assign(Object.assign({},a),t.preventScrollOnSwipe?{passive:!1}:{})],["touchend",u,a]];s.forEach(([t,r,n])=>e.addEventListener(t,r,n)),o=()=>s.forEach(([t,r])=>e.removeEventListener(t,r))}return o},d={ref:t=>{null!==t&&e((e,r)=>{if(e.el===t)return e;let n={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),n.cleanUpTouch=void 0),r.trackTouch&&t&&(n.cleanUpTouch=h(t,r)),Object.assign(Object.assign(Object.assign({},e),{el:t}),n)})}};return t.trackMouse&&(d.onMouseDown=r),[d,h]})(e=>h.current=e(h.current,d.current),{trackMouse:p}),[p]);return h.current=(t=h.current,r=d.current,u=f.current,r.trackTouch&&t.el?t.cleanUpTouch?r.preventScrollOnSwipe!==u.preventScrollOnSwipe||r.touchEventOptions.passive!==u.touchEventOptions.passive?(t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:g(t.el,r)})):t:Object.assign(Object.assign({},t),{cleanUpTouch:g(t.el,r)}):(t.cleanUpTouch&&t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:void 0}))),m}},15452:function(e){"use strict";e.exports=(e,t)=>{if(!("string"==typeof e&&"string"==typeof t))throw TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];let r=e.indexOf(t);return -1===r?[e]:[e.slice(0,r),e.slice(r+t.length)]}},57785:function(e){"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},85653:function(e,t,r){var n=r(6299);function i(e,t){var r,i,o,a=null;if(!e||"string"!=typeof e)return a;for(var s=n(e),l="function"==typeof t,u=0,c=s.length;u<c;u++)i=(r=s[u]).property,o=r.value,l?t(i,o,r):o&&(a||(a={}),a[i]=o);return a}e.exports=i,e.exports.default=i},2897:function(e,t,r){var n;!function(i,o){"use strict";var a="function",s="undefined",l="object",u="string",c="model",p="name",h="type",d="vendor",f="version",m="architecture",g="console",y="mobile",v="tablet",b="smarttv",x="wearable",w="embedded",E="Amazon",S="Apple",O="ASUS",T="BlackBerry",_="Browser",P="Chrome",A="Firefox",R="Google",k="Huawei",j="Microsoft",C="Motorola",I="Opera",M="Samsung",D="Sharp",L="Sony",N="Xiaomi",U="Zebra",V="Facebook",F=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},B=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},z=function(e,t){return typeof e===u&&-1!==H(t).indexOf(H(e))},H=function(e){return e.toLowerCase()},W=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===s?e:e.substring(0,350)},G=function(e,t){for(var r,n,i,s,u,c,p=0;p<t.length&&!u;){var h=t[p],d=t[p+1];for(r=n=0;r<h.length&&!u;)if(u=h[r++].exec(e))for(i=0;i<d.length;i++)c=u[++n],typeof(s=d[i])===l&&s.length>0?2===s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3===s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):o:this[s[0]]=c?s[1].call(this,c,s[2]):o:4===s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):o):this[s]=c||o;p+=2}},q=function(e,t){for(var r in t)if(typeof t[r]===l&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(z(t[r][n],e))return"?"===r?o:r}else if(z(t[r],e))return"?"===r?o:r;return e},$={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[p,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[p,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[p,f],[/opios[\/ ]+([\w\.]+)/i],[f,[p,I+" Mini"]],[/\bopr\/([\w\.]+)/i],[f,[p,I]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[p,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[p,"UC"+_]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[f,[p,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[p,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[p,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[p,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[p,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[p,/(.+)/,"$1 Secure "+_],f],[/\bfocus\/([\w\.]+)/i],[f,[p,A+" Focus"]],[/\bopt\/([\w\.]+)/i],[f,[p,I+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[p,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[p,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[p,I+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[p,"MIUI "+_]],[/fxios\/([-\w\.]+)/i],[f,[p,A]],[/\bqihu|(qi?ho?o?|360)browser/i],[[p,"360 "+_]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[p,/(.+)/,"$1 "+_],f],[/(comodo_dragon)\/([\w\.]+)/i],[[p,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[p,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[p],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[p,V],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[p,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[p,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[p,P+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[p,P+" WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[p,"Android "+_]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[p,f],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[f,[p,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[f,p],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[p,[f,q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[p,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[p,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[p,A+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[p,f],[/(cobalt)\/([\w\.]+)/i],[p,[f,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,H]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",H]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,H]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[c,[d,M],[h,v]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[d,M],[h,y]],[/\((ip(?:hone|od)[\w ]*);/i],[c,[d,S],[h,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[d,S],[h,v]],[/(macintosh);/i],[c,[d,S]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[d,k],[h,v]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[c,[d,k],[h,y]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[c,/_/g," "],[d,N],[h,y]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[d,N],[h,v]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[c,[d,"OPPO"],[h,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[d,"Vivo"],[h,y]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[c,[d,"Realme"],[h,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[c,[d,C],[h,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[d,C],[h,v]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[d,"LG"],[h,v]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[d,"LG"],[h,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[d,"Lenovo"],[h,v]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[d,"Nokia"],[h,y]],[/(pixel c)\b/i],[c,[d,R],[h,v]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[d,R],[h,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[d,L],[h,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[d,L],[h,v]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[d,"OnePlus"],[h,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[d,E],[h,v]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[d,E],[h,y]],[/(playbook);[-\w\),; ]+(rim)/i],[c,d,[h,v]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[d,T],[h,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[d,O],[h,v]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[d,O],[h,y]],[/(nexus 9)/i],[c,[d,"HTC"],[h,v]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[d,[c,/_/g," "],[h,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[d,"Acer"],[h,v]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[d,"Meizu"],[h,y]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[d,D],[h,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[d,c,[h,y]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[d,c,[h,v]],[/(surface duo)/i],[c,[d,j],[h,v]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[d,"Fairphone"],[h,y]],[/(u304aa)/i],[c,[d,"AT&T"],[h,y]],[/\bsie-(\w*)/i],[c,[d,"Siemens"],[h,y]],[/\b(rct\w+) b/i],[c,[d,"RCA"],[h,v]],[/\b(venue[\d ]{2,7}) b/i],[c,[d,"Dell"],[h,v]],[/\b(q(?:mv|ta)\w+) b/i],[c,[d,"Verizon"],[h,v]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[d,"Barnes & Noble"],[h,v]],[/\b(tm\d{3}\w+) b/i],[c,[d,"NuVision"],[h,v]],[/\b(k88) b/i],[c,[d,"ZTE"],[h,v]],[/\b(nx\d{3}j) b/i],[c,[d,"ZTE"],[h,y]],[/\b(gen\d{3}) b.+49h/i],[c,[d,"Swiss"],[h,y]],[/\b(zur\d{3}) b/i],[c,[d,"Swiss"],[h,v]],[/\b((zeki)?tb.*\b) b/i],[c,[d,"Zeki"],[h,v]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[d,"Dragon Touch"],c,[h,v]],[/\b(ns-?\w{0,9}) b/i],[c,[d,"Insignia"],[h,v]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[d,"NextBook"],[h,v]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[d,"Voice"],c,[h,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[d,"LvTel"],c,[h,y]],[/\b(ph-1) /i],[c,[d,"Essential"],[h,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[d,"Envizen"],[h,v]],[/\b(trio[-\w\. ]+) b/i],[c,[d,"MachSpeed"],[h,v]],[/\btu_(1491) b/i],[c,[d,"Rotor"],[h,v]],[/(shield[\w ]+) b/i],[c,[d,"Nvidia"],[h,v]],[/(sprint) (\w+)/i],[d,c,[h,y]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[d,j],[h,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[d,U],[h,v]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[d,U],[h,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[d,c,[h,g]],[/droid.+; (shield) bui/i],[c,[d,"Nvidia"],[h,g]],[/(playstation [345portablevi]+)/i],[c,[d,L],[h,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[d,j],[h,g]],[/smart-tv.+(samsung)/i],[d,[h,b]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[d,M],[h,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[d,"LG"],[h,b]],[/(apple) ?tv/i],[d,[c,S+" TV"],[h,b]],[/crkey/i],[[c,P+"cast"],[d,R],[h,b]],[/droid.+aft(\w)( bui|\))/i],[c,[d,E],[h,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[c,[d,D],[h,b]],[/(bravia[\w ]+)( bui|\))/i],[c,[d,L],[h,b]],[/(mitv-\w{5}) bui/i],[c,[d,N],[h,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[d,W],[c,W],[h,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[h,b]],[/((pebble))app/i],[d,c,[h,x]],[/droid.+; (glass) \d/i],[c,[d,R],[h,x]],[/droid.+; (wt63?0{2,3})\)/i],[c,[d,U],[h,x]],[/(quest( 2)?)/i],[c,[d,V],[h,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[d,[h,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[c,[h,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[h,v]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[h,v]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[h,y]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[d,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[p,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[p,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[p,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,p]],os:[[/microsoft (windows) (vista|xp)/i],[p,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[p,[f,q,$]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[p,"Windows"],[f,q,$]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[p,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[p,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[f,p],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[p,f],[/\(bb(10);/i],[f,[p,T]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[p,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[p,A+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[p,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[p,P+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[p,"Chromium OS"],f],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[p,f],[/(sunos) ?([\w\.\d]*)/i],[[p,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[p,f]]},Y=function(e,t){if(typeof e===l&&(t=e,e=o),!(this instanceof Y))return new Y(e,t).getResult();var r=e||(typeof i!==s&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),n=t?F(X,t):X;return this.getBrowser=function(){var e,t={};return t[p]=o,t[f]=o,G.call(t,r,n.browser),t.major=typeof(e=t.version)===u?e.replace(/[^\d\.]/g,"").split(".")[0]:o,t},this.getCPU=function(){var e={};return e[m]=o,G.call(e,r,n.cpu),e},this.getDevice=function(){var e={};return e[d]=o,e[c]=o,e[h]=o,G.call(e,r,n.device),e},this.getEngine=function(){var e={};return e[p]=o,e[f]=o,G.call(e,r,n.engine),e},this.getOS=function(){var e={};return e[p]=o,e[f]=o,G.call(e,r,n.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===u&&e.length>350?W(e,350):e,this},this.setUA(r),this};Y.VERSION="0.7.33",Y.BROWSER=B([p,f,"major"]),Y.CPU=B([m]),Y.DEVICE=B([c,d,h,g,y,b,v,x,w]),Y.ENGINE=Y.OS=B([p,f]),typeof t!==s?(e.exports&&(t=e.exports=Y),t.UAParser=Y):r.amdO?o!==(n=(function(){return Y}).call(t,r,t,e))&&(e.exports=n):typeof i!==s&&(i.UAParser=Y);var Z=typeof i!==s&&(i.jQuery||i.Zepto);if(Z&&!Z.ua){var K=new Y;Z.ua=K.getResult(),Z.ua.get=function(){return K.getUA()},Z.ua.set=function(e){K.setUA(e);var t=K.getResult();for(var r in t)Z.ua[r]=t[r]}}}("object"==typeof window?window:this)},51526:function(e,t,r){"use strict";r.d(t,{M:function(){return g}});var n=r(2784),i=r(58868);function o(){let e=(0,n.useRef)(!1);return(0,i.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var a=r(2074),s=r(240),l=r(96681);class u extends n.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:e,isPresent:t}){let r=(0,n.useId)(),i=(0,n.useRef)(null),o=(0,n.useRef)({width:0,height:0,top:0,left:0});return(0,n.useInsertionEffect)(()=>{let{width:e,height:n,top:a,left:s}=o.current;if(t||!i.current||!e||!n)return;i.current.dataset.motionPopId=r;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
          [data-motion-pop-id="${r}"] {
            position: absolute !important;
            width: ${e}px !important;
            height: ${n}px !important;
            top: ${a}px !important;
            left: ${s}px !important;
          }
        `),()=>{document.head.removeChild(l)}},[t]),n.createElement(u,{isPresent:t,childRef:i,sizeRef:o},n.cloneElement(e,{ref:i}))}let p=({children:e,initial:t,isPresent:r,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:u})=>{let p=(0,l.h)(h),d=(0,n.useId)(),f=(0,n.useMemo)(()=>({id:d,initial:t,isPresent:r,custom:o,onExitComplete:e=>{for(let t of(p.set(e,!0),p.values()))if(!t)return;i&&i()},register:e=>(p.set(e,!1),()=>p.delete(e))}),a?void 0:[r]);return(0,n.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[r]),n.useEffect(()=>{r||p.size||!i||i()},[r]),"popLayout"===u&&(e=n.createElement(c,{isPresent:r},e)),n.createElement(s.O.Provider,{value:f},e)};function h(){return new Map}var d=r(25364),f=r(45487);let m=e=>e.key||"",g=({children:e,custom:t,initial:r=!0,onExitComplete:s,exitBeforeEnter:l,presenceAffectsLayout:u=!0,mode:c="sync"})=>{var h;(0,f.k)(!l,"Replace exitBeforeEnter with mode='wait'");let g=(0,n.useContext)(d.p).forceRender||function(){let e=o(),[t,r]=(0,n.useState)(0),i=(0,n.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,n.useCallback)(()=>a.Wi.postRender(i),[i]),t]}()[0],y=o(),v=function(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}(e),b=v,x=(0,n.useRef)(new Map).current,w=(0,n.useRef)(b),E=(0,n.useRef)(new Map).current,S=(0,n.useRef)(!0);if((0,i.L)(()=>{S.current=!1,function(e,t){e.forEach(e=>{let r=m(e);t.set(r,e)})}(v,E),w.current=b}),h=()=>{S.current=!0,E.clear(),x.clear()},(0,n.useEffect)(()=>()=>h(),[]),S.current)return n.createElement(n.Fragment,null,b.map(e=>n.createElement(p,{key:m(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:u,mode:c},e)));b=[...b];let O=w.current.map(m),T=v.map(m),_=O.length;for(let e=0;e<_;e++){let t=O[e];-1!==T.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===c&&x.size&&(b=[]),x.forEach((e,r)=>{if(-1!==T.indexOf(r))return;let i=E.get(r);if(!i)return;let o=O.indexOf(r),a=e;a||(a=n.createElement(p,{key:m(i),isPresent:!1,onExitComplete:()=>{E.delete(r),x.delete(r);let e=w.current.findIndex(e=>e.key===r);if(w.current.splice(e,1),!x.size){if(w.current=v,!1===y.current)return;g(),s&&s()}},custom:t,presenceAffectsLayout:u,mode:c},i),x.set(r,a)),b.splice(o,0,a)}),b=b.map(e=>{let t=e.key;return x.has(t)?e:n.createElement(p,{key:m(e),isPresent:!0,presenceAffectsLayout:u,mode:c},e)}),n.createElement(n.Fragment,null,x.size?b:b.map(e=>(0,n.cloneElement)(e)))}},93093:function(e,t,r){"use strict";r.d(t,{A:function(){return s}});var n=r(2784),i=r(16014),o=r(91492),a=r(96681);function s({children:e,isValidProp:t,...r}){t&&(0,o.K)(t),(r={...(0,n.useContext)(i._),...r}).isStatic=(0,a.h)(()=>r.isStatic);let s=(0,n.useMemo)(()=>r,[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion]);return n.createElement(i._.Provider,{value:s},e)}},25364:function(e,t,r){"use strict";r.d(t,{p:function(){return n}});let n=(0,r(2784).createContext)({})},16014:function(e,t,r){"use strict";r.d(t,{_:function(){return n}});let n=(0,r(2784).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},240:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});let n=(0,r(2784).createContext)(null)},2074:function(e,t,r){"use strict";r.d(t,{Pn:function(){return s},Wi:function(){return a},frameData:function(){return l},S6:function(){return u}});var n=r(81662);class i{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let o=["prepare","read","update","preRender","render","postRender"],{schedule:a,cancel:s,state:l,steps:u}=function(e,t){let r=!1,n=!0,a={delta:0,timestamp:0,isProcessing:!1},s=o.reduce((e,t)=>(e[t]=function(e){let t=new i,r=new i,n=0,o=!1,a=!1,s=new WeakSet,l={schedule:(e,i=!1,a=!1)=>{let l=a&&o,u=l?t:r;return i&&s.add(e),u.add(e)&&l&&o&&(n=t.order.length),e},cancel:e=>{r.remove(e),s.delete(e)},process:i=>{if(o){a=!0;return}if(o=!0,[t,r]=[r,t],r.clear(),n=t.order.length)for(let r=0;r<n;r++){let n=t.order[r];n(i),s.has(n)&&(l.schedule(n),e())}o=!1,a&&(a=!1,l.process(i))}};return l}(()=>r=!0),e),{}),l=e=>s[e].process(a),u=()=>{let i=performance.now();r=!1,a.delta=n?1e3/60:Math.max(Math.min(i-a.timestamp,40),1),a.timestamp=i,a.isProcessing=!0,o.forEach(l),a.isProcessing=!1,r&&t&&(n=!1,e(u))},c=()=>{r=!0,n=!0,a.isProcessing||e(u)};return{schedule:o.reduce((e,t)=>{let n=s[t];return e[t]=(e,t=!1,i=!1)=>(r||c(),n.schedule(e,t,i)),e},{}),cancel:e=>o.forEach(t=>s[t].cancel(e)),state:a,steps:s}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},29722:function(e,t,r){"use strict";let n;r.d(t,{E:function(){return iV}});var i,o=r(2784),a=r(16014);let s=(0,o.createContext)({});var l=r(240),u=r(58868);let c=(0,o.createContext)({strict:!1});function p(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function h(e){return"string"==typeof e||Array.isArray(e)}function d(e){return"object"==typeof e&&"function"==typeof e.start}let f=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],m=["initial",...f];function g(e){return d(e.animate)||m.some(t=>h(e[t]))}function y(e){return!!(g(e)||e.variants)}function v(e){return Array.isArray(e)?e.join(" "):e}let b={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"]},x={};for(let e in b)x[e]={isEnabled:t=>b[e].some(e=>!!t[e])};var w=r(11741),E=r(25364);let S=(0,o.createContext)({}),O=Symbol.for("motionComponentSymbol"),T=["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 _(e){if("string"!=typeof e||e.includes("-"));else if(T.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let P={},A=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],R=new Set(A);function k(e,{layout:t,layoutId:r}){return R.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!P[e]||"opacity"===e)}let j=e=>!!(e&&e.getVelocity),C={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I=A.length,M=e=>t=>"string"==typeof t&&t.startsWith(e),D=M("--"),L=M("var(--"),N=(e,t)=>t&&"number"==typeof e?t.transform(e):e,U=(e,t,r)=>Math.min(Math.max(r,e),t),V={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},F={...V,transform:e=>U(0,1,e)},B={...V,default:1},z=e=>Math.round(1e5*e)/1e5,H=/(-)?([\d]*\.?[\d])+/g,W=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,G=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function q(e){return"string"==typeof e}let $=e=>({test:t=>q(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),X=$("deg"),Y=$("%"),Z=$("px"),K=$("vh"),Q=$("vw"),J={...Y,parse:e=>Y.parse(e)/100,transform:e=>Y.transform(100*e)},ee={...V,transform:Math.round},et={borderWidth:Z,borderTopWidth:Z,borderRightWidth:Z,borderBottomWidth:Z,borderLeftWidth:Z,borderRadius:Z,radius:Z,borderTopLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z,borderBottomLeftRadius:Z,width:Z,maxWidth:Z,height:Z,maxHeight:Z,size:Z,top:Z,right:Z,bottom:Z,left:Z,padding:Z,paddingTop:Z,paddingRight:Z,paddingBottom:Z,paddingLeft:Z,margin:Z,marginTop:Z,marginRight:Z,marginBottom:Z,marginLeft:Z,rotate:X,rotateX:X,rotateY:X,rotateZ:X,scale:B,scaleX:B,scaleY:B,scaleZ:B,skew:X,skewX:X,skewY:X,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:F,originX:J,originY:J,originZ:Z,zIndex:ee,fillOpacity:F,strokeOpacity:F,numOctaves:ee};function er(e,t,r,n){let{style:i,vars:o,transform:a,transformOrigin:s}=e,l=!1,u=!1,c=!0;for(let e in t){let r=t[e];if(D(e)){o[e]=r;continue}let n=et[e],p=N(r,n);if(R.has(e)){if(l=!0,a[e]=p,!c)continue;r!==(n.default||0)&&(c=!1)}else e.startsWith("origin")?(u=!0,s[e]=p):i[e]=p}if(!t.transform&&(l||n?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,i){let o="";for(let t=0;t<I;t++){let r=A[t];if(void 0!==e[r]){let t=C[r]||r;o+=`${t}(${e[r]}) `}}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,n?"":o):r&&n&&(o="none"),o}(e.transform,r,c,n):i.transform&&(i.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=s;i.transformOrigin=`${e} ${t} ${r}`}}let en=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ei(e,t,r){for(let n in t)j(t[n])||k(n,r)||(e[n]=t[n])}var eo=r(91492);function ea(e,t,r){return"string"==typeof e?e:Z.transform(t+r*e)}let es={offset:"stroke-dashoffset",array:"stroke-dasharray"},el={offset:"strokeDashoffset",array:"strokeDasharray"};function eu(e,{attrX:t,attrY:r,attrScale:n,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,p,h){if(er(e,u,c,h),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f,dimensions:m}=e;d.transform&&(m&&(f.transform=d.transform),delete d.transform),m&&(void 0!==i||void 0!==o||f.transform)&&(f.transformOrigin=function(e,t,r){let n=ea(t,e.x,e.width),i=ea(r,e.y,e.height);return`${n} ${i}`}(m,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(d.x=t),void 0!==r&&(d.y=r),void 0!==n&&(d.scale=n),void 0!==a&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let o=i?es:el;e[o.offset]=Z.transform(-n);let a=Z.transform(t),s=Z.transform(r);e[o.array]=`${a} ${s}`}(d,a,s,l,!1)}let ec=()=>({...en(),attrs:{}}),ep=e=>"string"==typeof e&&"svg"===e.toLowerCase(),eh=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function ed(e,{style:t,vars:r},n,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(n)),r)e.style.setProperty(o,r[o])}let ef=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"]);function em(e,t,r,n){for(let r in ed(e,t,void 0,n),t.attrs)e.setAttribute(ef.has(r)?r:eh(r),t.attrs[r])}function eg(e,t){let{style:r}=e,n={};for(let i in r)(j(r[i])||t.style&&j(t.style[i])||k(i,e))&&(n[i]=r[i]);return n}function ey(e,t){let r=eg(e,t);for(let n in e)(j(e[n])||j(t[n]))&&(r[-1!==A.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}function ev(e,t,r,n={},i={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,i)),t}var eb=r(96681);let ex=e=>Array.isArray(e),ew=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),eE=e=>ex(e)?e[e.length-1]||0:e;function eS(e){let t=j(e)?e.get():e;return ew(t)?t.toValue():t}let eO=e=>(t,r)=>{let n=(0,o.useContext)(s),i=(0,o.useContext)(l.O),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,i,o){let a={latestValues:function(e,t,r,n){let i={},o=n(e,{});for(let e in o)i[e]=eS(o[e]);let{initial:a,animate:s}=e,l=g(e),u=y(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial,p=(c=c||!1===a)?s:a;return p&&"boolean"!=typeof p&&!d(p)&&(Array.isArray(p)?p:[p]).forEach(t=>{let r=ev(e,t);if(!r)return;let{transitionEnd:n,transition:o,...a}=r;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let e in n)i[e]=n[e]}),i}(n,i,o,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a})(e,t,n,i);return r?a():(0,eb.h)(a)};var eT=r(2074);let e_={useVisualState:eO({scrapeMotionValuesFromProps:ey,createRenderState:ec,onMount:(e,t,{renderState:r,latestValues:n})=>{eT.Wi.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),eT.Wi.render(()=>{eu(r,n,{enableHardwareAcceleration:!1},ep(t.tagName),e.transformTemplate),em(t,r)})}})},eP={useVisualState:eO({scrapeMotionValuesFromProps:eg,createRenderState:en})};function eA(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}let eR=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ek(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}let ej=e=>t=>eR(t)&&e(t,ek(t));function eC(e,t,r,n){return eA(e,t,ej(r),n)}let eI=(e,t)=>r=>t(e(r)),eM=(...e)=>e.reduce(eI);function eD(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let eL=eD("dragHorizontal"),eN=eD("dragVertical");function eU(e){let t=!1;if("y"===e)t=eN();else if("x"===e)t=eL();else{let e=eL(),r=eN();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}function eV(){let e=eU(!0);return!e||(e(),!1)}class eF{constructor(e){this.isMounted=!1,this.node=e}update(){}}function eB(e,t){let r="onHover"+(t?"Start":"End");return eC(e.current,"pointer"+(t?"enter":"leave"),(n,i)=>{if("touch"===n.type||eV())return;let o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&eT.Wi.update(()=>o[r](n,i))},{passive:!e.getProps()[r]})}class ez extends eF{mount(){this.unmount=eM(eB(this.node,!0),eB(this.node,!1))}unmount(){}}class eH extends eF{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=eM(eA(this.node.current,"focus",()=>this.onFocus()),eA(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let eW=(e,t)=>!!t&&(e===t||eW(e,t.parentElement));var eG=r(81662);function eq(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,ek(r))}class e$ extends eF{constructor(){super(...arguments),this.removeStartListeners=eG.Z,this.removeEndListeners=eG.Z,this.removeAccessibleListeners=eG.Z,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;let r=this.node.getProps(),n=eC(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:n}=this.node.getProps();eT.Wi.update(()=>{eW(this.node.current,e.target)?r&&r(e,t):n&&n(e,t)})},{passive:!(r.onTap||r.onPointerUp)}),i=eC(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=eM(n,i),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=eA(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=eA(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&eq("up",(e,t)=>{let{onTap:r}=this.node.getProps();r&&eT.Wi.update(()=>r(e,t))})}),eq("down",(e,t)=>{this.startPress(e,t)}))}),t=eA(this.node.current,"blur",()=>{this.isPressing&&eq("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=eM(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&eT.Wi.update(()=>r(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!eV()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&eT.Wi.update(()=>r(e,t))}mount(){let e=this.node.getProps(),t=eC(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=eA(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=eM(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let eX=new WeakMap,eY=new WeakMap,eZ=e=>{let t=eX.get(e.target);t&&t(e)},eK=e=>{e.forEach(eZ)},eQ={some:0,all:1};class eJ extends eF{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:eQ[n]};return function(e,t,r){let n=function({root:e,...t}){let r=e||document;eY.has(r)||eY.set(r,{});let n=eY.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(eK,{root:e,...t})),n[i]}(t);return eX.set(e,r),n.observe(e),()=>{eX.delete(e),n.unobserve(e)}}(this.node.current,o,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!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(),o=t?r:n;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==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(){}}function e0(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}function e1(e,t,r){let n=e.getProps();return ev(n,t,void 0!==r?r:n.custom,function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.getVelocity()),t}(e))}let e2="data-"+eh("framerAppearId");var e3=r(45487);let e4=e=>1e3*e,e5=e=>e/1e3,e6={current:!1},e7=e=>Array.isArray(e)&&"number"==typeof e[0],e9=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,e8={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e9([0,.65,.55,1]),circOut:e9([.55,0,1,.45]),backIn:e9([.31,.01,.66,-.59]),backOut:e9([.33,1.53,.69,.99])},te=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function tt(e,t,r,n){if(e===t&&r===n)return eG.Z;let i=t=>(function(e,t,r,n,i){let o,a;let s=0;do(o=te(a=t+(r-t)/2,n,i)-e)>0?r=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a})(t,0,1,e,r);return e=>0===e||1===e?e:te(i(e),t,n)}let tr=tt(.42,0,1,1),tn=tt(0,0,.58,1),ti=tt(.42,0,.58,1),to=e=>Array.isArray(e)&&"number"!=typeof e[0],ta=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ts=e=>t=>1-e(1-t),tl=e=>1-Math.sin(Math.acos(e)),tu=ts(tl),tc=ta(tu),tp=tt(.33,1.53,.69,.99),th=ts(tp),td=ta(th),tf={linear:eG.Z,easeIn:tr,easeInOut:ti,easeOut:tn,circIn:tl,circInOut:tc,circOut:tu,backIn:th,backInOut:td,backOut:tp,anticipate:e=>(e*=2)<1?.5*th(e):.5*(2-Math.pow(2,-10*(e-1)))},tm=e=>{if(Array.isArray(e)){(0,e3.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,i]=e;return tt(t,r,n,i)}return"string"==typeof e?((0,e3.k)(void 0!==tf[e],`Invalid easing type '${e}'`),tf[e]):e},tg=(e,t)=>r=>!!(q(r)&&G.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),ty=(e,t,r)=>n=>{if(!q(n))return n;let[i,o,a,s]=n.match(H);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},tv=e=>U(0,255,e),tb={...V,transform:e=>Math.round(tv(e))},tx={test:tg("rgb","red"),parse:ty("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+tb.transform(e)+", "+tb.transform(t)+", "+tb.transform(r)+", "+z(F.transform(n))+")"},tw={test:tg("#"),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:tx.transform},tE={test:tg("hsl","hue"),parse:ty("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Y.transform(z(t))+", "+Y.transform(z(r))+", "+z(F.transform(n))+")"},tS={test:e=>tx.test(e)||tw.test(e)||tE.test(e),parse:e=>tx.test(e)?tx.parse(e):tE.test(e)?tE.parse(e):tw.parse(e),transform:e=>q(e)?e:e.hasOwnProperty("red")?tx.transform(e):tE.transform(e)},tO=(e,t,r)=>-r*e+r*t+e;function tT(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}let t_=(e,t,r)=>{let n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},tP=[tw,tx,tE],tA=e=>tP.find(t=>t.test(e));function tR(e){let t=tA(e);(0,e3.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===tE&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,a=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;i=tT(s,n,e+1/3),o=tT(s,n,e),a=tT(s,n,e-1/3)}else i=o=a=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:n}}(r)),r}let tk=(e,t)=>{let r=tR(e),n=tR(t),i={...r};return e=>(i.red=t_(r.red,n.red,e),i.green=t_(r.green,n.green,e),i.blue=t_(r.blue,n.blue,e),i.alpha=tO(r.alpha,n.alpha,e),tx.transform(i))},tj={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:eG.Z},tC={regex:W,countKey:"Colors",token:"${c}",parse:tS.parse},tI={regex:H,countKey:"Numbers",token:"${n}",parse:V.parse};function tM(e,{regex:t,countKey:r,token:n,parse:i}){let o=e.tokenised.match(t);o&&(e["num"+r]=o.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...o.map(i)))}function tD(e){let t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&tM(r,tj),tM(r,tC),tM(r,tI),r}function tL(e){return tD(e).values}function tN(e){let{values:t,numColors:r,numVars:n,tokenised:i}=tD(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<n?t.replace(tj.token,e[i]):i<n+r?t.replace(tC.token,tS.transform(e[i])):t.replace(tI.token,z(e[i]));return t}}let tU=e=>"number"==typeof e?0:e,tV={test:function(e){var t,r;return isNaN(e)&&q(e)&&((null===(t=e.match(H))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(W))||void 0===r?void 0:r.length)||0)>0},parse:tL,createTransformer:tN,getAnimatableNone:function(e){let t=tL(e);return tN(e)(t.map(tU))}},tF=(e,t)=>r=>`${r>0?t:e}`;function tB(e,t){return"number"==typeof e?r=>tO(e,t,r):tS.test(e)?tk(e,t):e.startsWith("var(")?tF(e,t):tW(e,t)}let tz=(e,t)=>{let r=[...e],n=r.length,i=e.map((e,r)=>tB(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}},tH=(e,t)=>{let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=tB(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}},tW=(e,t)=>{let r=tV.createTransformer(t),n=tD(e),i=tD(t);return n.numVars===i.numVars&&n.numColors===i.numColors&&n.numNumbers>=i.numNumbers?eM(tz(n.values,i.values),r):((0,e3.K)(!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.`),tF(e,t))},tG=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n},tq=(e,t)=>r=>tO(e,t,r);function t$(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let o=e.length;if((0,e3.k)(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,r){let n=[],i=r||function(e){if("number"==typeof e);else if("string"==typeof e)return tS.test(e)?tk:tW;else if(Array.isArray(e))return tz;else if("object"==typeof e)return tH;return tq}(e[0]),o=e.length-1;for(let r=0;r<o;r++){let o=i(e[r],e[r+1]);t&&(o=eM(Array.isArray(t)?t[r]||eG.Z:t,o)),n.push(o)}return n}(t,n,i),s=a.length,l=t=>{let r=0;if(s>1)for(;r<e.length-2&&!(t<e[r+1]);r++);let n=tG(e[r],e[r+1],t);return a[r](n)};return r?t=>l(U(e[0],e[o-1],t)):l}function tX({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let i=to(n)?n.map(tm):tm(n),o={done:!1,value:t[0]},a=t$((r&&r.length===t.length?r:function(e){let t=[0];return function(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=tG(0,t,n);e.push(tO(r,1,i))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(i)?i:t.map(()=>i||ti).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}function tY(e,t,r){var n,i;let o=Math.max(t-5,0);return n=r-e(o),(i=t-o)?1e3/i*n:0}function tZ(e,t){return e*Math.sqrt(1-t*t)}let tK=["duration","bounce"],tQ=["stiffness","damping","mass"];function tJ(e,t){return t.some(t=>void 0!==e[t])}function t0({keyframes:e,restDelta:t,restSpeed:r,...n}){let i;let o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:l,damping:u,mass:c,velocity:p,duration:h,isResolvedFromDuration:d}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tJ(e,tQ)&&tJ(e,tK)){let r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;(0,e3.K)(e<=e4(10),"Spring duration must be 10 seconds or less");let a=1-t;a=U(.05,1,a),e=U(.01,10,e5(e)),a<1?(i=t=>{let n=t*a,i=n*e;return .001-(n-r)/tZ(t,a)*Math.exp(-i)},o=t=>{let n=t*a*e,o=Math.pow(a,2)*Math.pow(t,2)*e,s=Math.exp(-n),l=tZ(Math.pow(t,2),a);return(n*r+r-o)*s*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=t=>e*e*(r-t)*Math.exp(-t*e));let s=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(i,o,5/e);if(e=e4(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...r,velocity:0,mass:1}).isResolvedFromDuration=!0}return t}(n),f=p?-e5(p):0,m=u/(2*Math.sqrt(l*c)),g=a-o,y=e5(Math.sqrt(l/c)),v=5>Math.abs(g);if(r||(r=v?.01:2),t||(t=v?.005:.5),m<1){let e=tZ(y,m);i=t=>a-Math.exp(-m*y*t)*((f+m*y*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===m)i=e=>a-Math.exp(-y*e)*(g+(f+y*g)*e);else{let e=y*Math.sqrt(m*m-1);i=t=>{let r=Math.exp(-m*y*t),n=Math.min(e*t,300);return a-r*((f+m*y*g)*Math.sinh(n)+e*g*Math.cosh(n))/e}}return{calculatedDuration:d&&h||null,next:e=>{let n=i(e);if(d)s.done=e>=h;else{let o=f;0!==e&&(o=m<1?tY(i,e,n):0);let l=Math.abs(o)<=r,u=Math.abs(a-n)<=t;s.done=l&&u}return s.value=s.done?a:n,s}}}function t1({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let p,h;let d=e[0],f={done:!1,value:d},m=e=>void 0!==s&&e<s||void 0!==l&&e>l,g=e=>void 0===s?l:void 0===l?s:Math.abs(s-e)<Math.abs(l-e)?s:l,y=r*t,v=d+y,b=void 0===a?v:a(v);b!==v&&(y=b-d);let x=e=>-y*Math.exp(-e/n),w=e=>b+x(e),E=e=>{let t=x(e),r=w(e);f.done=Math.abs(t)<=u,f.value=f.done?b:r},S=e=>{m(f.value)&&(p=e,h=t0({keyframes:[f.value,g(f.value)],velocity:tY(w,e,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==p||(t=!0,E(e),S(e)),void 0!==p&&e>p)?h.next(e-p):(t||E(e),f)}}}let t2=e=>{let t=({timestamp:t})=>e(t);return{start:()=>eT.Wi.update(t,!0),stop:()=>(0,eT.Pn)(t),now:()=>eT.frameData.isProcessing?eT.frameData.timestamp:performance.now()}};function t3(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 t4={decay:t1,inertia:t1,tween:tX,keyframes:tX,spring:t0};function t5({autoplay:e=!0,delay:t=0,driver:r=t2,keyframes:n,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:u,onComplete:c,onUpdate:p,...h}){let d,f,m,g,y,v=1,b=!1,x=()=>{f=new Promise(e=>{d=e})};x();let w=t4[i]||tX;w!==tX&&"number"!=typeof n[0]&&(g=t$([0,100],n,{clamp:!1}),n=[0,100]);let E=w({...h,keyframes:n});"mirror"===s&&(y=w({...h,keyframes:[...n].reverse(),velocity:-(h.velocity||0)}));let S="idle",O=null,T=null,_=null;null===E.calculatedDuration&&o&&(E.calculatedDuration=t3(E));let{calculatedDuration:P}=E,A=1/0,R=1/0;null!==P&&(R=(A=P+a)*(o+1)-a);let k=0,j=e=>{if(null===T)return;v>0&&(T=Math.min(T,e)),v<0&&(T=Math.min(e-R/v,T));let r=(k=null!==O?O:Math.round(e-T)*v)-t*(v>=0?1:-1),i=v>=0?r<0:r>R;k=Math.max(r,0),"finished"===S&&null===O&&(k=R);let l=k,u=E;if(o){let e=k/A,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--;let n=!!((t=Math.min(t,o+1))%2);n&&("reverse"===s?(r=1-r,a&&(r-=a/A)):"mirror"===s&&(u=y));let i=U(0,1,r);k>R&&(i="reverse"===s&&n?1:0),l=i*A}let c=i?{done:!1,value:n[0]}:u.next(l);g&&(c.value=g(c.value));let{done:h}=c;i||null===P||(h=v>=0?k>=R:k<=0);let d=null===O&&("finished"===S||"running"===S&&h);return p&&p(c.value),d&&M(),c},C=()=>{m&&m.stop(),m=void 0},I=()=>{S="idle",C(),d(),x(),T=_=null},M=()=>{S="finished",c&&c(),C(),d()},D=()=>{if(b)return;m||(m=r(j));let e=m.now();l&&l(),null!==O?T=e-O:T&&"finished"!==S||(T=e),"finished"===S&&x(),_=T,O=null,S="running",m.start()};e&&D();let L={then:(e,t)=>f.then(e,t),get time(){return e5(k)},set time(newTime){k=newTime=e4(newTime),null===O&&m&&0!==v?T=m.now()-newTime/v:O=newTime},get duration(){return e5(null===E.calculatedDuration?t3(E):E.calculatedDuration)},get speed(){return v},set speed(newSpeed){if(newSpeed===v||!m)return;v=newSpeed,L.time=e5(k)},get state(){return S},play:D,pause:()=>{S="paused",O=k},stop:()=>{b=!0,"idle"!==S&&(S="idle",u&&u(),I())},cancel:()=>{null!==_&&j(_),I()},complete:()=>{S="finished"},sample:e=>(T=0,j(e))};return L}let t6=(i=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===n&&(n=i()),n)),t7=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),t9=(e,t)=>"spring"===t.type||"backgroundColor"===e||!function e(t){return!!(!t||"string"==typeof t&&e8[t]||e7(t)||Array.isArray(t)&&t.every(e))}(t.ease),t8={type:"spring",stiffness:500,damping:25,restSpeed:10},re=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),rt={type:"keyframes",duration:.8},rr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rn=(e,{keyframes:t})=>t.length>2?rt:R.has(e)?e.startsWith("scale")?re(t[1]):t8:rr,ri=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tV.test(t)||"0"===t)&&!t.startsWith("url(")),ro=new Set(["brightness","contrast","saturate","opacity"]);function ra(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(H)||[];if(!n)return e;let i=r.replace(n,""),o=ro.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}let rs=/([a-z-]*)\(.*?\)/g,rl={...tV,getAnimatableNone:e=>{let t=e.match(rs);return t?t.map(ra).join(" "):e}},ru={...et,color:tS,backgroundColor:tS,outlineColor:tS,fill:tS,stroke:tS,borderColor:tS,borderTopColor:tS,borderRightColor:tS,borderBottomColor:tS,borderLeftColor:tS,filter:rl,WebkitFilter:rl},rc=e=>ru[e];function rp(e,t){let r=rc(e);return r!==rl&&(r=tV),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let rh=e=>/^0[^.\s]+$/.test(e);function rd(e,t){return e[t]||e.default||e}let rf=(e,t,r,n={})=>i=>{let o=rd(n,e)||{},a=o.delay||n.delay||0,{elapsed:s=0}=n;s-=e4(a);let l=function(e,t,r,n){let i,o;let a=ri(t,r);i=Array.isArray(r)?[...r]:[null,r];let s=void 0!==n.from?n.from:e.get(),l=[];for(let e=0;e<i.length;e++){var u;null===i[e]&&(i[e]=0===e?s:i[e-1]),("number"==typeof(u=i[e])?0===u:null!==u?"none"===u||"0"===u||rh(u):void 0)&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(o=i[e])}if(a&&l.length&&o)for(let e=0;e<l.length;e++)i[l[e]]=rp(t,o);return i}(t,e,r,o),u=l[0],c=l[l.length-1],p=ri(e,u),h=ri(e,c);(0,e3.K)(p===h,`You are trying to animate ${e} from "${u}" to "${c}". ${u} is not an animatable value - to enable this animation set ${u} to a value animatable to ${c} via the \`style\` property.`);let d={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(o)&&(d={...d,...rn(e,d)}),d.duration&&(d.duration=e4(d.duration)),d.repeatDelay&&(d.repeatDelay=e4(d.repeatDelay)),!p||!h||e6.current||!1===o.type)return function({keyframes:e,delay:t,onUpdate:r,onComplete:n}){let i=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:eG.Z,pause:eG.Z,stop:eG.Z,then:e=>(e(),Promise.resolve()),cancel:eG.Z,complete:eG.Z});return t?t5({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(e6.current?{...d,delay:0}:d);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let r=function(e,t,{onUpdate:r,onComplete:n,...i}){let o,a;if(!(t6()&&t7.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let s=!1,l=()=>{a=new Promise(e=>{o=e})};l();let{keyframes:u,duration:c=300,ease:p,times:h}=i;if(t9(t,i)){let e=t5({...i,repeat:0,delay:0}),t={done:!1,value:u[0]},r=[],n=0;for(;!t.done&&n<2e4;)t=e.sample(n),r.push(t.value),n+=10;h=void 0,u=r,c=n-10,p="linear"}let d=function(e,t,r,{delay:n=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=function e(t){if(t)return e7(t)?e9(t):Array.isArray(t)?t.map(e):e8[t]}(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:n,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,u,{...i,duration:c,ease:p,times:h});i.syncStart&&(d.startTime=eT.frameData.isProcessing?eT.frameData.timestamp:document.timeline?document.timeline.currentTime:performance.now());let f=()=>d.cancel(),m=()=>{eT.Wi.update(f),o(),l()};return d.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:r="loop"}){let n=t&&"loop"!==r&&t%2==1?0:e.length-1;return e[n]}(u,i)),n&&n(),m()},{then:(e,t)=>a.then(e,t),attachTimeline:e=>(d.timeline=e,d.onfinish=null,eG.Z),get time(){return e5(d.currentTime||0)},set time(newTime){d.currentTime=e4(newTime)},get speed(){return d.playbackRate},set speed(newSpeed){d.playbackRate=newSpeed},get duration(){return e5(c)},play:()=>{s||(d.play(),(0,eT.Pn)(f))},pause:()=>d.pause(),stop:()=>{if(s=!0,"idle"===d.playState)return;let{currentTime:t}=d;if(t){let r=t5({...i,autoplay:!1});e.setWithVelocity(r.sample(t-10).value,r.sample(t).value,10)}m()},complete:()=>d.finish(),cancel:m}}(t,e,d);if(r)return r}return t5(d)};function rm(e){return!!(j(e)&&e.add)}let rg=e=>/^\-?\d*\.?\d+$/.test(e);function ry(e,t){-1===e.indexOf(t)&&e.push(t)}function rv(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class rb{constructor(){this.subscriptions=[]}add(e){return ry(this.subscriptions,e),()=>rv(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}}let rx=e=>!isNaN(parseFloat(e)),rw={current:void 0};class rE{constructor(e,t={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:r,timestamp:n}=eT.frameData;this.lastUpdated!==n&&(this.timeDelta=r,this.lastUpdated=n,eT.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>eT.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=rx(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new rb);let r=this.events[e].add(t);return"change"===e?()=>{r(),eT.Wi.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,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return rw.current&&rw.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e,t;return this.canTrackVelocity?(e=parseFloat(this.current)-parseFloat(this.prev),(t=this.timeDelta)?1e3/t*e:0):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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function rS(e,t){return new rE(e,t)}let rO=e=>t=>t.test(e),rT=[V,Z,Y,X,Q,K,{test:e=>"auto"===e,parse:e=>e}],r_=e=>rT.find(rO(e)),rP=[...rT,tS,tV],rA=e=>rP.find(rO(e));function rR(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t),l=e.getValue("willChange");n&&(o=n);let u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let n=e.getValue(t),i=s[t];if(!n||void 0===i||c&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(c,t))continue;let a={delay:r,elapsed:0,...o};if(window.HandoffAppearAnimations&&!n.hasAnimated){let r=e.getProps()[e2];r&&(a.elapsed=window.HandoffAppearAnimations(r,t,n,eT.Wi),a.syncStart=!0)}n.start(rf(t,n,i,e.shouldReduceMotion&&R.has(t)?{type:!1}:a));let p=n.animation;rm(l)&&(l.add(t),p.then(()=>l.remove(t))),u.push(p)}return a&&Promise.all(u).then(()=>{a&&function(e,t){let r=e1(e,t),{transitionEnd:n={},transition:i={},...o}=r?e.makeTargetAnimatable(r,!1):{};for(let t in o={...o,...n}){let r=eE(o[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,rS(r))}}(e,a)}),u}function rk(e,t,r={}){let n=e1(e,t,r.custom),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let o=n?()=>Promise.all(rR(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,r=0,n=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*n,l=1===i?(e=0)=>e*n:(e=0)=>s-e*n;return Array.from(e.variantChildren).sort(rj).forEach((e,n)=>{e.notify("AnimationStart",t),a.push(rk(e,t,{...o,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+n,a,s,r)}:()=>Promise.resolve(),{when:s}=i;if(!s)return Promise.all([o(),a(r.delay)]);{let[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}}function rj(e,t){return e.sortNodePosition(t)}let rC=[...f].reverse(),rI=f.length;function rM(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class rD extends eF{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=>rk(e,t,r)));else if("string"==typeof t)n=rk(e,t,r);else{let i="function"==typeof t?e1(e,t,r.custom):t;n=Promise.all(rR(e,i,r))}return n.then(()=>e.notify("AnimationComplete",t))})(e,t,r))),r={animate:rM(!0),whileInView:rM(),whileHover:rM(),whileTap:rM(),whileDrag:rM(),whileFocus:rM(),exit:rM()},n=!0,i=(t,r)=>{let n=e1(e,r);if(n){let{transition:e,transitionEnd:r,...i}=n;t={...t,...i,...r}}return t};function o(o,a){let s=e.getProps(),l=e.getVariantContext(!0)||{},u=[],c=new Set,p={},f=1/0;for(let t=0;t<rI;t++){var m;let g=rC[t],y=r[g],v=void 0!==s[g]?s[g]:l[g],b=h(v),x=g===a?y.isActive:null;!1===x&&(f=t);let w=v===l[g]&&v!==s[g]&&b;if(w&&n&&e.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...p},!y.isActive&&null===x||!v&&!y.prevProp||d(v)||"boolean"==typeof v)continue;let E=(m=y.prevProp,"string"==typeof v?v!==m:!!Array.isArray(v)&&!e0(v,m)),S=E||g===a&&y.isActive&&!w&&b||t>f&&b,O=Array.isArray(v)?v:[v],T=O.reduce(i,{});!1===x&&(T={});let{prevResolvedValues:_={}}=y,P={..._,...T},A=e=>{S=!0,c.delete(e),y.needsAnimating[e]=!0};for(let e in P){let t=T[e],r=_[e];p.hasOwnProperty(e)||(t!==r?ex(t)&&ex(r)?!e0(t,r)||E?A(e):y.protectedKeys[e]=!0:void 0!==t?A(e):c.add(e):void 0!==t&&c.has(e)?A(e):y.protectedKeys[e]=!0)}y.prevProp=v,y.prevResolvedValues=T,y.isActive&&(p={...p,...T}),n&&e.blockInitialAnimation&&(S=!1),S&&!w&&u.push(...O.map(e=>({animation:e,options:{type:g,...o}})))}if(c.size){let t={};c.forEach(r=>{let n=e.getBaseTarget(r);void 0!==n&&(t[r]=n)}),u.push({animation:t})}let g=!!u.length;return n&&!1===s.initial&&!e.manuallyAnimateOnMount&&(g=!1),n=!1,g?t(u):Promise.resolve()}return{animateChanges:o,setActive:function(t,n,i){var a;if(r[t].isActive===n)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;let s=o(i,t);for(let e in r)r[e].protectedKeys={};return s},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),d(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let rL=0;class rN extends eF{constructor(){super(...arguments),this.id=rL++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let i=this.node.animationState.setActive("exit",!e,{custom:null!=r?r:this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let rU=(e,t)=>Math.abs(e-t);class rV{constructor(e,t,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=rz(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},Math.sqrt(rU(e.x,t.x)**2+rU(e.y,t.y)**2)>=3);if(!n&&!i)return;let{point:o}=r,{timestamp:a}=eT.frameData;this.history.push({...o,timestamp:a});let{onStart:s,onMove:l}=this.handlers;n||(s&&s(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=rF(t,this.transformPagePoint),eT.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:r,onSessionEnd:n}=this.handlers,i=rz("pointercancel"===e.type?this.lastMoveEventInfo:rF(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,i),n&&n(e,i)},!eR(e))return;this.handlers=t,this.transformPagePoint=r;let n=rF(ek(e),this.transformPagePoint),{point:i}=n,{timestamp:o}=eT.frameData;this.history=[{...i,timestamp:o}];let{onSessionStart:a}=t;a&&a(e,rz(n,this.history)),this.removeListeners=eM(eC(window,"pointermove",this.handlePointerMove),eC(window,"pointerup",this.handlePointerUp),eC(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,eT.Pn)(this.updatePoint)}}function rF(e,t){return t?{point:t(e.point)}:e}function rB(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rz({point:e},t){return{point:e,delta:rB(e,rH(t)),offset:rB(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,i=rH(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>e4(.1)));)r--;if(!n)return{x:0,y:0};let o=e5(i.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function rH(e){return e[e.length-1]}function rW(e){return e.max-e.min}function rG(e,t=0,r=.01){return Math.abs(e-t)<=r}function rq(e,t,r,n=.5){e.origin=n,e.originPoint=tO(t.min,t.max,e.origin),e.scale=rW(r)/rW(t),(rG(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=tO(r.min,r.max,e.origin)-e.originPoint,(rG(e.translate)||isNaN(e.translate))&&(e.translate=0)}function r$(e,t,r,n){rq(e.x,t.x,r.x,n?n.originX:void 0),rq(e.y,t.y,r.y,n?n.originY:void 0)}function rX(e,t,r){e.min=r.min+t.min,e.max=e.min+rW(t)}function rY(e,t,r){e.min=t.min-r.min,e.max=e.min+rW(t)}function rZ(e,t,r){rY(e.x,t.x,r.x),rY(e.y,t.y,r.y)}function rK(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 rQ(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 rJ(e,t,r){return{min:r0(e,t),max:r0(e,r)}}function r0(e,t){return"number"==typeof e?e:e[t]||0}let r1=()=>({translate:0,scale:1,origin:0,originPoint:0}),r2=()=>({x:r1(),y:r1()}),r3=()=>({min:0,max:0}),r4=()=>({x:r3(),y:r3()});function r5(e){return[e("x"),e("y")]}function r6({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function r7(e){return void 0===e||1===e}function r9({scale:e,scaleX:t,scaleY:r}){return!r7(e)||!r7(t)||!r7(r)}function r8(e){return r9(e)||ne(e)||e.z||e.rotate||e.rotateX||e.rotateY}function ne(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function nt(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function nr(e,t=0,r=1,n,i){e.min=nt(e.min,t,r,n,i),e.max=nt(e.max,t,r,n,i)}function nn(e,{x:t,y:r}){nr(e.x,t.translate,t.scale,t.originPoint),nr(e.y,r.translate,r.scale,r.originPoint)}function ni(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function no(e,t){e.min=e.min+t,e.max=e.max+t}function na(e,t,[r,n,i]){let o=void 0!==t[i]?t[i]:.5,a=tO(e.min,e.max,o);nr(e,t[r],t[n],a,t.scale)}let ns=["x","scaleX","originX"],nl=["y","scaleY","originY"];function nu(e,t){na(e.x,t,ns),na(e.y,t,nl)}function nc(e,t){return r6(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))}let np=new WeakMap;class nh{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=r4(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;r&&!1===r.isPresent||(this.panSession=new rV(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(ek(e,"page").point)},onStart:(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eU(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),r5(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Y.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];if(n){let e=rW(n);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),i&&eT.Wi.update(()=>i(e,t),!1,!0);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:o}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:a}=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}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()}))}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&eT.Wi.update(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!nd(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?tO(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?tO(r,e,n.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:r}=this.visualElement.projection||{},n=this.constraints;e&&p(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:rK(e.x,r,i),y:rK(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:rJ(e,"left","right"),y:rJ(e,"top","bottom")}}(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&r5(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!p(t))return!1;let n=t.current;(0,e3.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,r){let n=nc(e,r),{scroll:i}=t;return i&&(no(n.x,i.offset.x),no(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),a={x:rQ((e=i.layout.layoutBox).x,o.x),y:rQ(e.y,o.y)};if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=r6(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(r5(a=>{if(!nd(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return r.start(rf(e,r,0,t))}stopAnimation(){r5(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){r5(t=>{let{drag:r}=this.getProps();if(!nd(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:o}=n.layout.layoutBox[t];i.set(e[t]-tO(r,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!p(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};r5(e=>{let t=this.getAxisMotionValue(e);if(t){let r=t.get();n[e]=function(e,t){let r=.5,n=rW(e),i=rW(t);return i>n?r=tG(t.min,t.max-n,e.min):n>i&&(r=tG(e.min,e.max-i,t.min)),U(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),r5(t=>{if(!nd(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];r.set(tO(i,o,n[t]))})}addListeners(){if(!this.visualElement.current)return;np.set(this.visualElement,this);let e=eC(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();p(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),t();let i=eA(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(r5(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),n(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function nd(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class nf extends eF{constructor(e){super(e),this.removeGroupControls=eG.Z,this.removeListeners=eG.Z,this.controls=new nh(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eG.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let nm=e=>(t,r)=>{e&&eT.Wi.update(()=>e(t,r))};class ng extends eF{constructor(){super(...arguments),this.removePointerDownListener=eG.Z}onPointerDown(e){this.session=new rV(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:nm(e),onStart:nm(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&eT.Wi.update(()=>n(e,t))}}}mount(){this.removePointerDownListener=eC(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ny={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function nv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let nb={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Z.test(e))return e;e=parseFloat(e)}let r=nv(e,t.target.x),n=nv(e,t.target.y);return`${r}% ${n}%`}};class nx extends o.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;Object.assign(P,nE),i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),ny.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,o=r.projection;return o&&(o.isPresent=i,n||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===i||(i?o.promote():o.relegate()||eT.Wi.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;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 nw(e){let[t,r]=function(){let e=(0,o.useContext)(l.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:r,register:n}=e,i=(0,o.useId)();return(0,o.useEffect)(()=>n(i),[]),!t&&r?[!1,()=>r&&r(i)]:[!0]}(),n=(0,o.useContext)(E.p);return o.createElement(nx,{...e,layoutGroup:n,switchLayoutGroup:(0,o.useContext)(S),isPresent:t,safeToRemove:r})}let nE={borderRadius:{...nb,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:nb,borderTopRightRadius:nb,borderBottomLeftRadius:nb,borderBottomRightRadius:nb,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=tV.parse(e);if(n.length>5)return e;let i=tV.createTransformer(e),o="number"!=typeof n[0]?1:0,a=r.x.scale*t.x,s=r.y.scale*t.y;n[0+o]/=a,n[1+o]/=s;let l=tO(a,s,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),i(n)}}},nS=["TopLeft","TopRight","BottomLeft","BottomRight"],nO=nS.length,nT=e=>"string"==typeof e?parseFloat(e):e,n_=e=>"number"==typeof e||Z.test(e);function nP(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let nA=nk(0,.5,tu),nR=nk(.5,.95,eG.Z);function nk(e,t,r){return n=>n<e?0:n>t?1:r(tG(e,t,n))}function nj(e,t){e.min=t.min,e.max=t.max}function nC(e,t){nj(e.x,t.x),nj(e.y,t.y)}function nI(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 nM(e,t,[r,n,i],o,a){!function(e,t=0,r=1,n=.5,i,o=e,a=e){if(Y.test(t)&&(t=parseFloat(t),t=tO(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=tO(o.min,o.max,n);e===o&&(s-=t),e.min=nI(e.min,t,r,s,i),e.max=nI(e.max,t,r,s,i)}(e,t[r],t[n],t[i],t.scale,o,a)}let nD=["x","scaleX","originX"],nL=["y","scaleY","originY"];function nN(e,t,r,n){nM(e.x,t,nD,r?r.x:void 0,n?n.x:void 0),nM(e.y,t,nL,r?r.y:void 0,n?n.y:void 0)}function nU(e){return 0===e.translate&&1===e.scale}function nV(e){return nU(e.x)&&nU(e.y)}function nF(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function nB(e){return rW(e.x)/rW(e.y)}class nz{constructor(){this.members=[]}add(e){ry(this.members,e),e.scheduleRender()}remove(e){if(rv(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){let t;let r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function nH(e,t,r){let n="",i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(n=`translate3d(${i}px, ${o}px, 0) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:e,rotateX:t,rotateY:i}=r;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),i&&(n+=`rotateY(${i}deg) `)}let a=e.x.scale*t.x,s=e.y.scale*t.y;return(1!==a||1!==s)&&(n+=`scale(${a}, ${s})`),n||"none"}let nW=(e,t)=>e.depth-t.depth;class nG{constructor(){this.children=[],this.isDirty=!1}add(e){ry(this.children,e),this.isDirty=!0}remove(e){rv(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(nW),this.isDirty=!1,this.children.forEach(e)}}let nq=["","X","Y","Z"],n$=0,nX={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function nY({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=null==t?void 0:t()){this.id=n$++,this.animationId=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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{nX.totalNodes=nX.resolvedTargetDeltas=nX.recalculatedProjection=0,this.nodes.forEach(nQ),this.nodes.forEach(n5),this.nodes.forEach(n6),this.nodes.forEach(nJ),window.MotionDebug&&window.MotionDebug.record(nX)},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 nG)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new rb),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,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:n,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(i||n)&&(this.isLayoutDirty=!0),e){let r;let n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=performance.now(),n=({timestamp:i})=>{let o=i-r;o>=t&&((0,eT.Pn)(n),e(o-t))};return eT.Wi.read(n,!0),()=>(0,eT.Pn)(n)}(n,250),ny.hasAnimatedSinceResize&&(ny.hasAnimatedSinceResize=!1,this.nodes.forEach(n4))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||ir,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=o.getProps(),l=!this.targetLayout||!nF(this.targetLayout,n)||r,u=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...rd(i,"layout"),onPlay:a,onComplete:s};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||n4(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,(0,eT.Pn)(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(n7),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(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,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()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(n1);return}this.isUpdating||this.nodes.forEach(n2),this.isUpdating=!1,this.nodes.forEach(n3),this.nodes.forEach(nZ),this.nodes.forEach(nK),this.clearAllSnapshots();let e=performance.now();eT.frameData.delta=U(0,1e3/60,e-eT.frameData.timestamp),eT.frameData.timestamp=e,eT.frameData.isProcessing=!0,eT.S6.update.process(eT.frameData),eT.S6.preRender.process(eT.frameData),eT.S6.render.process(eT.frameData),eT.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(n0),this.sharedNodes.forEach(n9)}scheduleUpdateProjection(){eT.Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){eT.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}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.layoutCorrected=r4(),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);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!nV(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;e&&(t||r8(this.latestValues)||o)&&(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)),ia((t=n).x),ia(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return r4();let t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(no(t.x,r.offset.x),no(t.y,r.offset.y)),t}removeElementScroll(e){let t=r4();nC(t,e);for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:o}=n;if(n!==this.root&&i&&o.layoutScroll){if(i.isRoot){nC(t,e);let{scroll:r}=this.root;r&&(no(t.x,-r.offset.x),no(t.y,-r.offset.y))}no(t.x,i.offset.x),no(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){let r=r4();nC(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&nu(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),r8(n.latestValues)&&nu(r,n.latestValues)}return r8(this.latestValues)&&nu(r,this.latestValues),r}removeTransform(e){let t=r4();nC(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!r8(r.latestValues))continue;r9(r.latestValues)&&r.updateSnapshot();let n=r4();nC(n,r.measurePageBox()),nN(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return r8(this.latestValues)&&nN(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!==eT.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,r,n,i;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let a=!!this.resumingFrom||this!==o;if(!(e||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:s,layoutId:l}=this.options;if(this.layout&&(s||l)){if(this.resolvedRelativeTargetAt=eT.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=r4(),this.relativeTargetOrigin=r4(),rZ(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),nC(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=r4(),this.targetWithTransforms=r4()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,n=this.relativeTarget,i=this.relativeParent.target,rX(r.x,n.x,i.x),rX(r.y,n.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nC(this.target,this.layout.layoutBox),nn(this.target,this.targetDelta)):nC(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=r4(),this.relativeTargetOrigin=r4(),rZ(this.relativeTargetOrigin,this.target,e.target),nC(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}nX.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||r9(this.parent.latestValues)||ne(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),r=!!this.resumingFrom||this!==t,n=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===eT.frameData.timestamp&&(n=!1),n)return;let{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||o))return;nC(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,n=!1){let i,o;let a=r.length;if(a){t.x=t.y=1;for(let s=0;s<a;s++){o=(i=r[s]).projectionDelta;let a=i.instance;(!a||!a.style||"contents"!==a.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&nu(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,nn(e,o)),n&&r8(i.latestValues)&&nu(e,i.latestValues))}t.x=ni(t.x),t.y=ni(t.y)}}(this.layoutCorrected,this.treeScale,this.path,r),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox);let{target:l}=t;if(!l){this.projectionTransform&&(this.projectionDelta=r2(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=r2(),this.projectionDeltaWithTransform=r2());let u=this.projectionTransform;r$(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=nH(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==a||this.treeScale.y!==s)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),nX.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){let r;let n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},a=r2();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=r4(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,p=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(it));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(n8(a.x,e.x,n),n8(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,d,f;rZ(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),d=this.relativeTarget,f=this.relativeTargetOrigin,ie(d.x,f.x,s.x,n),ie(d.y,f.y,s.y,n),r&&(u=this.relativeTarget,h=r,u.x.min===h.x.min&&u.x.max===h.x.max&&u.y.min===h.y.min&&u.y.max===h.y.max)&&(this.isProjectionDirty=!1),r||(r=r4()),nC(r,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,r,n,i,o){i?(e.opacity=tO(0,void 0!==r.opacity?r.opacity:1,nA(n)),e.opacityExit=tO(void 0!==t.opacity?t.opacity:1,0,nR(n))):o&&(e.opacity=tO(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let i=0;i<nO;i++){let o=`border${nS[i]}Radius`,a=nP(t,o),s=nP(r,o);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||n_(a)===n_(s)?(e[o]=Math.max(tO(nT(a),nT(s),n),0),(Y.test(s)||Y.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||r.rotate)&&(e.rotate=tO(t.rotate||0,r.rotate||0,n))}(o,i,this.latestValues,n,p,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,eT.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eT.Wi.update(()=>{ny.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){let n=j(e)?e:rS(e);return n.start(rf("",n,1e3,r)),n.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),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&&is(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||r4();let t=rW(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=rW(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}nC(t,r),nu(t,i),r$(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new nz),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(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.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)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(t=!0),!t)return;let n={};for(let t=0;t<nq.length;t++){let i="rotate"+nq[t];r[i]&&(n[i]=r[i],e.setStaticValue(i,0))}for(let t in e.render(),n)e.setStaticValue(t,n[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,r;let n={};if(!this.instance||this.isSVG)return n;if(!this.isVisible)return{visibility:"hidden"};n.visibility="";let i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=eS(e.pointerEvents)||"",n.transform=i?i(this.latestValues,""):"none",n;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=eS(e.pointerEvents)||""),this.hasProjected&&!r8(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}let a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=nH(this.projectionDeltaWithTransform,this.treeScale,a),i&&(n.transform=i(a,n.transform));let{x:s,y:l}=this.projectionDelta;for(let e in n.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?n.opacity=o===this?null!==(r=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:n.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,P){if(void 0===a[e])continue;let{correct:t,applyTo:r}=P[e],i="none"===n.transform?a[e]:t(a[e],o);if(r){let e=r.length;for(let t=0;t<e;t++)n[r[t]]=i}else n[e]=i}return this.options.layoutId&&(n.pointerEvents=o===this?eS(e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(n1),this.root.sharedNodes.clear()}}}function nZ(e){e.updateLayout()}function nK(e){var t;let r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:n}=e.layout,{animationType:i}=e.options,o=r.source!==e.layout.source;"size"===i?r5(e=>{let n=o?r.measuredBox[e]:r.layoutBox[e],i=rW(n);n.min=t[e].min,n.max=n.min+i}):is(i,r.layoutBox,t)&&r5(n=>{let i=o?r.measuredBox[n]:r.layoutBox[n],a=rW(t[n]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});let a=r2();r$(a,t,r.layoutBox);let s=r2();o?r$(s,e.applyTransform(n,!0),r.measuredBox):r$(s,t,r.layoutBox);let l=!nV(a),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:o}=n;if(i&&o){let a=r4();rZ(a,r.layoutBox,i.layoutBox);let s=r4();rZ(s,t,o.layoutBox),nF(a,s)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function nQ(e){nX.totalNodes++,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 nJ(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function n0(e){e.clearSnapshot()}function n1(e){e.clearMeasurements()}function n2(e){e.isLayoutDirty=!1}function n3(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function n4(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function n5(e){e.resolveTargetDelta()}function n6(e){e.calcProjection()}function n7(e){e.resetRotation()}function n9(e){e.removeLeadSnapshot()}function n8(e,t,r){e.translate=tO(t.translate,0,r),e.scale=tO(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function ie(e,t,r,n){e.min=tO(t.min,r.min,n),e.max=tO(t.max,r.max,n)}function it(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let ir={duration:.45,ease:[.4,0,.1,1]},ii=e=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(e),io=ii("applewebkit/")&&!ii("chrome/")?Math.round:eG.Z;function ia(e){e.min=io(e.min),e.max=io(e.max)}function is(e,t,r){return"position"===e||"preserve-aspect"===e&&!rG(nB(t),nB(r),.2)}let il=nY({attachResizeListener:(e,t)=>eA(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),iu={current:void 0},ic=nY({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!iu.current){let e=new il({});e.mount(window),e.setOptions({layoutScroll:!0}),iu.current=e}return iu.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),ip=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ih(e,t,r=1){(0,e3.k)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,i]=function(e){let t=ip.exec(e);if(!t)return[,];let[,r,n]=t;return[r,n]}(e);if(!n)return;let o=window.getComputedStyle(t).getPropertyValue(n);if(o){let e=o.trim();return rg(e)?parseFloat(e):e}return L(i)?ih(i,t,r+1):i}let id=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),im=e=>id.has(e),ig=e=>Object.keys(e).some(im),iy=e=>e===V||e===Z,iv=(e,t)=>parseFloat(e.split(", ")[t]),ib=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/);if(i)return iv(i[1],t);{let t=n.match(/^matrix\((.+)\)$/);return t?iv(t[1],e):0}},ix=new Set(["x","y","z"]),iw=A.filter(e=>!ix.has(e)),iE={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-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:ib(4,13),y:ib(5,14)};iE.translateX=iE.x,iE.translateY=iE.y;let iS=(e,t,r)=>{let n=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),r.forEach(e=>{s[e]=iE[e](n,o)}),t.render();let l=t.measureViewportBox();return r.forEach(r=>{let n=t.getValue(r);n&&n.jump(s[r]),e[r]=iE[r](l,o)}),e},iO=(e,t,r={},n={})=>{t={...t},n={...n};let i=Object.keys(t).filter(im),o=[],a=!1,s=[];if(i.forEach(i=>{let l;let u=e.getValue(i);if(!e.hasValue(i))return;let c=r[i],p=r_(c),h=t[i];if(ex(h)){let e=h.length,t=null===h[0]?1:0;p=r_(c=h[t]);for(let r=t;r<e&&null!==h[r];r++)l?(0,e3.k)(r_(h[r])===l,"All keyframes must be of the same type"):(l=r_(h[r]),(0,e3.k)(l===p||iy(p)&&iy(l),"Keyframes must be of the same dimension as the current value"))}else l=r_(h);if(p!==l){if(iy(p)&&iy(l)){let e=u.get();"string"==typeof e&&u.set(parseFloat(e)),"string"==typeof h?t[i]=parseFloat(h):Array.isArray(h)&&l===Z&&(t[i]=h.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==l?void 0:l.transform)&&(0===c||0===h)?0===c?u.set(l.transform(c)):t[i]=p.transform(h):(a||(o=function(e){let t=[];return iw.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(i),n[i]=void 0!==n[i]?n[i]:t[i],u.jump(h))}}),!s.length)return{target:t,transitionEnd:n};{let r=s.indexOf("height")>=0?window.pageYOffset:null,i=iS(t,e,s);return o.length&&o.forEach(([t,r])=>{e.getValue(t).set(r)}),e.render(),w.j&&null!==r&&window.scrollTo({top:r}),{target:i,transitionEnd:n}}},iT=(e,t,r,n)=>{var i,o;let a=function(e,{...t},r){let n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};for(let i in r&&(r={...r}),e.values.forEach(e=>{let t=e.get();if(!L(t))return;let r=ih(t,n);r&&e.set(r)}),t){let e=t[i];if(!L(e))continue;let o=ih(e,n);o&&(t[i]=o,r||(r={}),void 0===r[i]&&(r[i]=e))}return{target:t,transitionEnd:r}}(e,t,n);return t=a.target,n=a.transitionEnd,i=t,o=n,ig(i)?iO(e,i,r,o):{target:i,transitionEnd:o}},i_={current:null},iP={current:!1},iA=new WeakMap,iR=Object.keys(x),ik=iR.length,ij=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],iC=m.length;class iI{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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.scheduleRender=()=>eT.Wi.render(this.render,!1,!0);let{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=g(t),this.isVariantNode=y(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(t,{});for(let e in u){let t=u[e];void 0!==a[e]&&j(t)&&(t.set(a[e],!1),rm(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,iA.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)),iP.current||function(){if(iP.current=!0,w.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>i_.current=e.matches;e.addListener(t),t()}else i_.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||i_.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in iA.delete(this.current),this.projection&&this.projection.unmount(),(0,eT.Pn)(this.notifyUpdate),(0,eT.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let r=R.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eT.Wi.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,n,i){let o,a;for(let e=0;e<ik;e++){let r=iR[e],{isEnabled:n,Feature:i,ProjectionNode:s,MeasureLayout:l}=x[r];s&&(o=s),n(t)&&(!this.features[r]&&i&&(this.features[r]=new i(this)),l&&(a=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:r,drag:n,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:!!n||a&&p(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):r4()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,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<ij.length;t++){let r=ij[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){let{willChange:n}=t;for(let i in t){let o=t[i],a=r[i];if(j(o))e.addValue(i,o),rm(n)&&n.add(i);else if(j(a))e.addValue(i,rS(o,{owner:e})),rm(n)&&n.remove(i);else if(a!==o){if(e.hasValue(i)){let t=e.getValue(i);t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(i);e.addValue(i,rS(void 0!==t?t:o,{owner:e}))}}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),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}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<iC;e++){let r=m[e],n=this.props[r];(h(n)||!1===n)&&(t[r]=n)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(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=rS(t,{owner:this}),this.addValue(e,r)),r}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!==(t=this.getBaseTargetFromProps(this.props,e))&&void 0!==t?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(t=ev(this.props,r))||void 0===t?void 0:t[e]:void 0;if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||j(i)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new rb),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class iM extends iI{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},i){let o=function(e,t,r){let n={};for(let i in e){let e=function(e,t){if(t)return(t[e]||t.default||t).from}(i,t);if(void 0!==e)n[i]=e;else{let e=r.getValue(i);e&&(n[i]=e.get())}}return n}(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),o&&(o=n(o))),i){!function(e,t,r){var n,i;let o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){let a=o[s],l=t[a],u=null;Array.isArray(l)&&(u=l[0]),null===u&&(u=null!==(i=null!==(n=r[a])&&void 0!==n?n:e.readValue(a))&&void 0!==i?i:t[a]),null!=u&&("string"==typeof u&&(rg(u)||rh(u))?u=parseFloat(u):!rA(u)&&tV.test(l)&&(u=rp(a,l)),e.addValue(a,rS(u,{owner:e})),void 0===r[a]&&(r[a]=u),null!==u&&e.setBaseTarget(a,u))}}(this,r,o);let e=iT(this,r,o,t);t=e.transitionEnd,r=e.target}return{transition:e,transitionEnd:t,...r}}}class iD extends iM{readValueFromInstance(e,t){if(R.has(t)){let e=rc(t);return e&&e.default||0}{let r=window.getComputedStyle(e),n=(D(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return nc(e,t)}build(e,t,r,n){er(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return eg(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;j(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,r,n){ed(e,t,r,n)}}class iL extends iM{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(R.has(t)){let e=rc(t);return e&&e.default||0}return t=ef.has(t)?t:eh(t),e.getAttribute(t)}measureInstanceViewportBox(){return r4()}scrapeMotionValuesFromProps(e,t){return ey(e,t)}build(e,t,r,n){eu(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){em(e,t,r,n)}mount(e){this.isSVGTag=ep(e.tagName),super.mount(e)}}let iN=(e,t)=>_(e)?new iL(t,{enableHardwareAcceleration:!1}):new iD(t,{enableHardwareAcceleration:!0}),iU={animation:{Feature:rD},exit:{Feature:rN},inView:{Feature:eJ},tap:{Feature:e$},focus:{Feature:eH},hover:{Feature:ez},pan:{Feature:ng},drag:{Feature:nf,ProjectionNode:ic,MeasureLayout:nw},layout:{ProjectionNode:ic,MeasureLayout:nw}},iV=function(e){function t(t,r={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){e&&function(e){for(let t in e)x[t]={...x[t],...e[t]}}(e);let d=(0,o.forwardRef)(function(d,f){var m;let y;let b={...(0,o.useContext)(a._),...d,layoutId:function({layoutId:e}){let t=(0,o.useContext)(E.p).id;return t&&void 0!==e?t+"-"+e:e}(d)},{isStatic:x}=b,O=function(e){let{initial:t,animate:r}=function(e,t){if(g(e)){let{initial:t,animate:r}=e;return{initial:!1===t||h(t)?t:void 0,animate:h(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(s));return(0,o.useMemo)(()=>({initial:t,animate:r}),[v(t),v(r)])}(d),T=n(d,x);if(!x&&w.j){O.visualElement=function(e,t,r,n){let{visualElement:i}=(0,o.useContext)(s),p=(0,o.useContext)(c),h=(0,o.useContext)(l.O),d=(0,o.useContext)(a._).reducedMotion,f=(0,o.useRef)();n=n||p.renderer,!f.current&&n&&(f.current=n(e,{visualState:t,parent:i,props:r,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:d}));let m=f.current;(0,o.useInsertionEffect)(()=>{m&&m.update(r,h)});let g=(0,o.useRef)(!!window.HandoffAppearAnimations);return(0,u.L)(()=>{m&&(m.render(),g.current&&m.animationState&&m.animationState.animateChanges())}),(0,o.useEffect)(()=>{m&&(m.updateFeatures(),!g.current&&m.animationState&&m.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,g.current=!1)}),m}(i,T,b,t);let r=(0,o.useContext)(S),n=(0,o.useContext)(c).strict;O.visualElement&&(y=O.visualElement.loadFeatures(b,n,e,r))}return o.createElement(s.Provider,{value:O},y&&O.visualElement?o.createElement(y,{visualElement:O.visualElement,...b}):null,r(i,d,(m=O.visualElement,(0,o.useCallback)(e=>{e&&T.mount&&T.mount(e),m&&(e?m.mount(e):m.unmount()),f&&("function"==typeof f?f(e):p(f)&&(f.current=e))},[m])),T,x,O.visualElement))});return d[O]=i,d}(e(t,r))}if("undefined"==typeof Proxy)return t;let r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},r,n){return{..._(e)?e_:eP,preloadedFeatures:r,useRender:function(e=!1){return(t,r,n,{latestValues:i},a)=>{let s=(_(t)?function(e,t,r,n){let i=(0,o.useMemo)(()=>{let r=ec();return eu(r,t,{enableHardwareAcceleration:!1},ep(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};ei(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t,r){let n={},i=function(e,t,r){let n=e.style||{},i={};return ei(i,n,e),Object.assign(i,function({transformTemplate:e},t,r){return(0,o.useMemo)(()=>{let n=en();return er(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}(e,t,r)),e.transformValues?e.transformValues(i):i}(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n})(r,i,a,t),l={...(0,eo.L)(r,"string"==typeof t,e),...s,ref:n},{children:u}=r,c=(0,o.useMemo)(()=>j(u)?u.get():u,[u]);return(0,o.createElement)(t,{...l,children:c})}}(t),createVisualElement:n,Component:e}})(e,t,iU,iN))},91492:function(e,t,r){"use strict";r.d(t,{L:function(){return s},K:function(){return a}});let n=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function i(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||n.has(e)}let o=e=>!i(e);function a(e){e&&(o=t=>t.startsWith("on")?!i(t):e(t))}try{a(require("@emotion/is-prop-valid").default)}catch(e){}function s(e,t,r){let n={};for(let a in e)("values"!==a||"object"!=typeof e.values)&&(o(a)||!0===r&&i(a)||!t&&!i(a)||e.draggable&&a.startsWith("onDrag"))&&(n[a]=e[a]);return n}},45487:function(e,t,r){"use strict";r.d(t,{K:function(){return i},k:function(){return o}});var n=r(81662);let i=n.Z,o=n.Z},11741:function(e,t,r){"use strict";r.d(t,{j:function(){return n}});let n="undefined"!=typeof document},81662:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=e=>e},96681:function(e,t,r){"use strict";r.d(t,{h:function(){return i}});var n=r(2784);function i(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},58868:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});var n=r(2784);let i=r(11741).j?n.useLayoutEffect:n.useEffect},12374:function(e,t,r){"use strict";r.d(t,{E:function(){return c}});var n=r(14971),i=r(36140),o=r(2784),a=(e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t,s=r(17107),l=r(72037),u=r(52322),c=(0,s.G)(function(e,t){let{fallbackSrc:r,fallback:s,src:c,srcSet:p,align:h,fit:d,loading:f,ignoreFallback:m,crossOrigin:g,fallbackStrategy:y="beforeLoadOrError",referrerPolicy:v,...b}=e,x=void 0!==r||void 0!==s,w=null!=f||m||!x,E=a(function(e){let{loading:t,src:r,srcSet:n,onLoad:a,onError:s,crossOrigin:l,sizes:u,ignoreFallback:c}=e,[p,h]=(0,o.useState)("pending");(0,o.useEffect)(()=>{h(r?"loading":"pending")},[r]);let d=(0,o.useRef)(),f=(0,o.useCallback)(()=>{if(!r)return;m();let e=new Image;e.src=r,l&&(e.crossOrigin=l),n&&(e.srcset=n),u&&(e.sizes=u),t&&(e.loading=t),e.onload=e=>{m(),h("loaded"),null==a||a(e)},e.onerror=e=>{m(),h("failed"),null==s||s(e)},d.current=e},[r,l,n,u,a,s,t]),m=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return(0,i.G)(()=>{if(!c)return"loading"===p&&f(),()=>{m()}},[p,f,c]),c?"loaded":p}({...e,crossOrigin:g,ignoreFallback:w}),y),S={ref:t,objectFit:d,objectPosition:h,...w?b:function(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}(b,["onError","onLoad"])};return E?s||(0,u.jsx)(l.m.img,{as:n.Z,className:"chakra-image__placeholder",src:r,...S}):(0,u.jsx)(l.m.img,{as:n.Z,src:c,srcSet:p,crossOrigin:g,loading:f,referrerPolicy:v,className:"chakra-image",...S})});c.displayName="Image"},86727:function(e,t,r){"use strict";r.d(t,{M:function(){return a}});var n=r(72037),i=r(17107),o=r(52322),a=(0,n.m)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});a.displayName="Center";var s={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};(0,i.G)(function(e,t){let{axis:r="both",...i}=e;return(0,o.jsx)(n.m.div,{ref:t,__css:s[r],...i,position:"absolute"})})},84103:function(e,t,r){"use strict";r.d(t,{r:function(){return u}});var n=r(17107),i=r(93506),o=r(84586),a=r(72037),s=r(31053),l=r(52322),u=(0,n.G)(function(e,t){let r=(0,i.mq)("Link",e),{className:n,isExternal:u,...c}=(0,o.Lr)(e);return(0,l.jsx)(a.m.a,{target:u?"_blank":void 0,rel:u?"noopener":void 0,ref:t,className:(0,s.cx)("chakra-link",n),...c,__css:r})});u.displayName="Link"},35837:function(e,t,r){"use strict";r.d(t,{DE:function(){return y},GS:function(){return f},HC:function(){return g},QI:function(){return m},aV:function(){return d}});var n=r(43638),i=r(9165),o=r(25578),a=r(17107),s=r(93506),l=r(84586),u=r(72037),c=r(52322),[p,h]=(0,i.k)({name:"ListStylesContext",errorMessage:"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<List />\" "}),d=(0,a.G)(function(e,t){let r=(0,s.jC)("List",e),{children:n,styleType:i="none",stylePosition:a,spacing:h,...d}=(0,l.Lr)(e),f=(0,o.W)(n);return(0,c.jsx)(p,{value:r,children:(0,c.jsx)(u.m.ul,{ref:t,listStyleType:i,listStylePosition:a,role:"list",__css:{...r.container,...h?{"& > *:not(style) ~ *:not(style)":{mt:h}}:{}},...d,children:f})})});d.displayName="List";var f=(0,a.G)((e,t)=>{let{as:r,...n}=e;return(0,c.jsx)(d,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...n})});f.displayName="OrderedList";var m=(0,a.G)(function(e,t){let{as:r,...n}=e;return(0,c.jsx)(d,{ref:t,as:"ul",styleType:"initial",marginStart:"1em",...n})});m.displayName="UnorderedList";var g=(0,a.G)(function(e,t){let r=h();return(0,c.jsx)(u.m.li,{ref:t,...e,__css:r.item})});g.displayName="ListItem";var y=(0,a.G)(function(e,t){let r=h();return(0,c.jsx)(n.J,{ref:t,role:"presentation",...e,__css:r.icon})});y.displayName="ListIcon"},76118:function(e,t,r){"use strict";r.d(t,{r:function(){return c}});var n=r(17107),i=r(93506),o=r(84586),a=r(72037),s=r(39097),l=r(52322),u=(...e)=>e.filter(Boolean).join(" "),c=(0,n.G)(function(e,t){let r=(0,i.mq)("Link",e),{className:n,isExternal:c,href:p,children:h,...d}=(0,o.Lr)(e);return(0,l.jsx)(a.m.a,{target:c?"_blank":void 0,ref:t,href:p,...d,className:u("chakra-link",n),__css:r,as:s,children:h})})},13061:function(e,t,r){"use strict";r.d(t,{AD:function(){return f},Sn:function(){return d},Vp:function(){return h}});var n=r(43638),i=r(9165),o=r(17107),a=r(93506),s=r(84586),l=r(72037),u=r(52322),[c,p]=(0,i.k)({name:"TagStylesContext",errorMessage:"useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tag />\" "}),h=(0,o.G)((e,t)=>{let r=(0,a.jC)("Tag",e),n=(0,s.Lr)(e),i={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...r.container};return(0,u.jsx)(c,{value:r,children:(0,u.jsx)(l.m.span,{ref:t,...n,__css:i})})});h.displayName="Tag";var d=(0,o.G)((e,t)=>{let r=p();return(0,u.jsx)(l.m.span,{ref:t,noOfLines:1,...e,__css:r.label})});d.displayName="TagLabel";var f=(0,o.G)((e,t)=>(0,u.jsx)(n.J,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e}));f.displayName="TagLeftIcon",(0,o.G)((e,t)=>(0,u.jsx)(n.J,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e})).displayName="TagRightIcon";var m=e=>(0,u.jsx)(n.J,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});m.displayName="TagCloseIcon",(0,o.G)((e,t)=>{let{isDisabled:r,children:n,...i}=e,o={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...p().closeButton};return(0,u.jsx)(l.m.button,{ref:t,"aria-label":"close",...i,type:"button",disabled:r,__css:o,children:n||(0,u.jsx)(m,{})})}).displayName="TagCloseButton"},86741:function(e,t,r){"use strict";var n=r(72670);n.domToReact,n.htmlToDOM,n.attributesToProps,n.Comment,n.Element,n.ProcessingInstruction,n.Text,t.ZP=n},18337:function(e){"use strict";e.exports={version:"3.3.33"}}}]);