PageSourceSearch

https://playful-page-builder-7502.taskade.app/assets/main-KV3DTGJJ.js

js playful-page-builder-7502.taskade.app collected 2026-10-03 15:03:37 UTC 593,719 bytes, 133 lines download raw bytes

1var __IMPORT_META_ENV={};var __PROCESS_ENV={NODE_ENV:"production"};
2var $2=Object.create;var ph=Object.defineProperty;var X2=Object.getOwnPropertyDescriptor;var K2=Object.getOwnPropertyNames;var Y2=Object.getPrototypeOf,J2=Object.prototype.hasOwnProperty;var ry=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,a)=>(typeof require<"u"?require:t)[a]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Ra=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Q2=(e,t)=>{for(var a in t)ph(e,a,{get:t[a],enumerable:!0})},eP=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of K2(t))!J2.call(e,n)&&n!==a&&ph(e,n,{get:()=>t[n],enumerable:!(r=X2(t,n))||r.enumerable});return e};var G=(e,t,a)=>(a=e!=null?$2(Y2(e)):{},eP(t||!e||!e.__esModule?ph(a,"default",{value:e,enumerable:!0}):a,e));var ny=Ra((pd,oy)=>{"use strict";(function(e,t){typeof pd=="object"&&typeof oy<"u"?t(pd):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.leaflet={}))})(pd,(function(e){"use strict";var t="1.9.4";function a(o){var s,u,f,m;for(u=1,f=arguments.length;u<f;u++){m=arguments[u];for(s in m)o[s]=m[s]}return o}var r=Object.create||(function(){function o(){}return function(s){return o.prototype=s,new o}})();function n(o,s){var u=Array.prototype.slice;if(o.bind)return o.bind.apply(o,u.call(arguments,1));var f=u.call(arguments,2);return function(){return o.apply(s,f.length?f.concat(u.call(arguments)):arguments)}}var i=0;function l(o){return"_leaflet_id"in o||(o._leaflet_id=++i),o._leaflet_id}function d(o,s,u){var f,m,y,I;return I=function(){f=!1,m&&(y.apply(u,m),m=!1)},y=function(){f?m=arguments:(o.apply(u,arguments),setTimeout(I,s),f=!0)},y}function c(o,s,u){var f=s[1],m=s[0],y=f-m;return o===f&&u?o:((o-m)%y+y)%y+m}function p(){return!1}function h(o,s){if(s===!1)return o;var u=Math.pow(10,s===void 0?6:s);return Math.round(o*u)/u}function g(o){return o.trim?o.trim():o.replace(/^\s+|\s+$/g,"")}function x(o){return g(o).split(/\s+/)}function b(o,s){Object.prototype.hasOwnProperty.call(o,"options")||(o.options=o.options?r(o.options):{});for(var u in s)o.options[u]=s[u];return o.options}function _(o,s,u){var f=[];for(var m in o)f.push(encodeURIComponent(u?m.toUpperCase():m)+"="+encodeURIComponent(o[m]));return(!s||s.indexOf("?")===-1?"?":"&")+f.join("&")}var C=/\{ *([\w_ -]+) *\}/g;function R(o,s){return o.replace(C,function(u,f){var m=s[f];if(m===void 0)throw new Error("No value provided for variable "+u);return typeof m=="function"&&(m=m(s)),m})}var v=Array.isArray||function(o){return Object.prototype.toString.call(o)==="[object Array]"};function w(o,s){for(var u=0;u<o.length;u++)if(o[u]===s)return u;return-1}var S="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function k(o){return window["webkit"+o]||window["moz"+o]||window["ms"+o]}var A=0;function O(o){var s=+new Date,u=Math.max(0,16-(s-A));return A=s+u,window.setTimeout(o,u)}var B=window.requestAnimationFrame||k("RequestAnimationFrame")||O,F=window.cancelAnimationFrame||k("CancelAnimationFrame")||k("CancelRequestAnimationFrame")||function(o){window.clearTimeout(o)};function V(o,s,u){if(u&&B===O)o.call(s);else return B.call(window,n(o,s))}function D(o){o&&F.call(window,o)}var K={__proto__:null,extend:a,create:r,bind:n,get lastId(){return i},stamp:l,throttle:d,wrapNum:c,falseFn:p,formatNum:h,trim:g,splitWords:x,setOptions:b,getParamString:_,template:R,isArray:v,indexOf:w,emptyImageUrl:S,requestFn:B,cancelFn:F,requestAnimFrame:V,cancelAnimFrame:D};function X(){}X.extend=function(o){var s=function(){b(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},u=s.__super__=this.prototype,f=r(u);f.constructor=s,s.prototype=f;for(var m in this)Object.prototype.hasOwnProperty.call(this,m)&&m!=="prototype"&&m!=="__super__"&&(s[m]=this[m]);return o.statics&&a(s,o.statics),o.includes&&(oe(o.includes),a.apply(null,[f].concat(o.includes))),a(f,o),delete f.statics,delete f.includes,f.options&&(f.options=u.options?r(u.options):{},a(f.options,o.options)),f._initHooks=[],f.callInitHooks=function(){if(!this._initHooksCalled){u.callInitHooks&&u.callInitHooks.call(this),this._initHooksCalled=!0;for(var y=0,I=f._initHooks.length;y<I;y++)f._initHooks[y].call(this)}},s},X.include=function(o){var s=this.prototype.options;return a(this.prototype,o),o.options&&(this.prototype.options=s,this.mergeOptions(o.options)),this},X.mergeOptions=function(o){return a(this.prototype.options,o),this},X.addInitHook=function(o){var s=Array.prototype.slice.call(arguments,1
2),u=typeof o=="function"?o:function(){this[o].apply(this,s)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(u),this};function oe(o){if(!(typeof L>"u"||!L||!L.Mixin)){o=v(o)?o:[o];for(var s=0;s<o.length;s++)o[s]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var Q={on:function(o,s,u){if(typeof o=="object")for(var f in o)this._on(f,o[f],s);else{o=x(o);for(var m=0,y=o.length;m<y;m++)this._on(o[m],s,u)}return this},off:function(o,s,u){if(!arguments.length)delete this._events;else if(typeof o=="object")for(var f in o)this._off(f,o[f],s);else{o=x(o);for(var m=arguments.length===1,y=0,I=o.length;y<I;y++)m?this._off(o[y]):this._off(o[y],s,u)}return this},_on:function(o,s,u,f){if(typeof s!="function"){console.warn("wrong listener type: "+typeof s);return}if(this._listens(o,s,u)===!1){u===this&&(u=void 0);var m={fn:s,ctx:u};f&&(m.once=!0),this._events=this._events||{},this._events[o]=this._events[o]||[],this._events[o].push(m)}},_off:function(o,s,u){var f,m,y;if(this._events&&(f=this._events[o],!!f)){if(arguments.length===1){if(this._firingCount)for(m=0,y=f.length;m<y;m++)f[m].fn=p;delete this._events[o];return}if(typeof s!="function"){console.warn("wrong listener type: "+typeof s);return}var I=this._listens(o,s,u);if(I!==!1){var T=f[I];this._firingCount&&(T.fn=p,this._events[o]=f=f.slice()),f.splice(I,1)}}},fire:function(o,s,u){if(!this.listens(o,u))return this;var f=a({},s,{type:o,target:this,sourceTarget:s&&s.sourceTarget||this});if(this._events){var m=this._events[o];if(m){this._firingCount=this._firingCount+1||1;for(var y=0,I=m.length;y<I;y++){var T=m[y],M=T.fn;T.once&&this.off(o,M,T.ctx),M.call(T.ctx||this,f)}this._firingCount--}}return u&&this._propagateEvent(f),this},listens:function(o,s,u,f){typeof o!="string"&&console.warn('"string" type argument expected');var m=s;typeof s!="function"&&(f=!!s,m=void 0,u=void 0);var y=this._events&&this._events[o];if(y&&y.length&&this._listens(o,m,u)!==!1)return!0;if(f){for(var I in this._eventParents)if(this._eventParents[I].listens(o,s,u,f))return!0}return!1},_listens:function(o,s,u){if(!this._events)return!1;var f=this._events[o]||[];if(!s)return!!f.length;u===this&&(u=void 0);for(var m=0,y=f.length;m<y;m++)if(f[m].fn===s&&f[m].ctx===u)return m;return!1},once:function(o,s,u){if(typeof o=="object")for(var f in o)this._on(f,o[f],s,!0);else{o=x(o);for(var m=0,y=o.length;m<y;m++)this._on(o[m],s,u,!0)}return this},addEventParent:function(o){return this._eventParents=this._eventParents||{},this._eventParents[l(o)]=o,this},removeEventParent:function(o){return this._eventParents&&delete this._eventParents[l(o)],this},_propagateEvent:function(o){for(var s in this._eventParents)this._eventParents[s].fire(o.type,a({layer:o.target,propagatedFrom:o.target},o),!0)}};Q.addEventListener=Q.on,Q.removeEventListener=Q.clearAllEventListeners=Q.off,Q.addOneTimeEventListener=Q.once,Q.fireEvent=Q.fire,Q.hasEventListeners=Q.listens;var ye=X.extend(Q);function $(o,s,u){this.x=u?Math.round(o):o,this.y=u?Math.round(s):s}var zt=Math.trunc||function(o){return o>0?Math.floor(o):Math.ceil(o)};$.prototype={clone:function(){return new $(this.x,this.y)},add:function(o){return this.clone()._add(H(o))},_add:function(o){return this.x+=o.x,this.y+=o.y,this},subtract:function(o){return this.clone()._subtract(H(o))},_subtract:function(o){return this.x-=o.x,this.y-=o.y,this},divideBy:function(o){return this.clone()._divideBy(o)},_divideBy:function(o){return this.x/=o,this.y/=o,this},multiplyBy:function(o){return this.clone()._multiplyBy(o)},_multiplyBy:function(o){return this.x*=o,this.y*=o,this},scaleBy:function(o){return new $(this.x*o.x,this.y*o.y)},unscaleBy:function(o){return new $(this.x/o.x,this.y/o.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=zt(this.x),this.y=zt(this.y),this},distanceTo:function(o){o=H(o);var s=o.x-this.x,u=o.y-this.y;return Math.sqrt(s*s+u*u)},equals:function(o){return o=H(o),o.x===this.x&&o.y===this.y},contains:function(o){return o=H(o),Math.abs(o.x)<=Math.abs(this.x)&&Math.abs(o.y)<=Math.abs(this.y)},toString:function(){return"Point("+h(this.x)+", "+h(this.y)+")"}};function H(o,s,u){return o instanceof $?o:v(o)?new $(o[0],o[1]):o==null?o:typeof o=="object"&&"x"in o&&"y"in o?new $(o.x,o.y):new $(o,s,u)}function Y(o,s){if(o)for(var u=s?[o,s]:o,f=0,m=u.length;f<m;f++)this.extend(u[f])}Y.prototype={extend:function(o){var s,u;if(!o)return this;if(o instanceof $||typeof o[0]=="number"||"x"in o)s=u=H(o);else if(o=Ie(o),s=o.min,u=o.max,!s||!u)return this;return!this.min&&!this.max?(this.min=s.clone(),this.max=u.clone()):(this.min.x=Math.min(s.x,this.min.x),this.max.x=Math.max(u.x,this.max.x),this.min.y=Math.min(s.y,this.min.y),this.max.y=Math.max(u.y,this.max.y)),this},getCenter:function(o){return H((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,o)},getBottomLeft:function(){return H(this.min.x,this.max.y)},getTopRight:function(){return H(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(o){var s,u;return typeof o[0]=="number"||o instanceof $?o=H(o):o=Ie(o),o instanceof Y?(s=o.min,u=o.max):s=u=o,s.x>=this.min.x&&u.x<=this.max.x&&s.y>=this.min.y&&u.y<=this.max.y},intersects:function(o){o=Ie(o);var s=this.min,u=this.max,f=o.min,m=o.max,y=m.x>=s.x&&f.x<=u.x,I=m.y>=s.y&&f.y<=u.y;return y&&I},overlaps:function(o){o=Ie(o);var s=this.min,u=this.max,f=o.min,m=o.max,y=m.x>s.x&&f.x<u.x,I=m.y>s.y&&f.y<u.y;return y&&I},isValid:function(){return!!(this.min&&this.max)},pad:function(o){var s=this.min,u=this.max,f=Math.abs(s.x-u.x)*o,m=Math.abs(s.y-u.y)*o;return Ie(H(s.x-f,s.y-m),H(u.x+f,u.y+m))},equals:function(o){return o?(o=Ie(o),this.min.equals(o.getTopLeft())&&this.max.equals(o.getBottomRight())):!1}};function Ie(o,s){return!o||o instanceof Y?o:new Y(o,s)}function de(o,s){if(o)for(var u=s?[o,s]:o,f=0,m=u.length;f<m;f++)this.extend(u[f])}de.prototype={extend:function(o){var s=this._southWest,u=this._northEast,f,m;if(o instanceof ve)f=o,m=o;else if(o instanceof de){if(f=o._southWest,m=o._northEast,!f||!m)return this}else return o?this.extend(le(o)||ce(o)):this;return!s&&!u?(this._southWest=new ve(f.lat,f.lng),this._northEast=new ve(m.lat,m.lng)):(s.lat=Math.min(f.lat,s.lat),s.lng=Math.min(f.lng,s.lng),u.lat=Math.max(m.lat,u.lat),u.lng=Math.max(m.lng,u.lng)),this},pad:function(o){var s=this._southWest,u=this._northEast,f=Math.abs(s.lat-u.lat)*o,m=Math.abs(s.lng-u.lng)*o;return new de(new ve(s.lat-f,s.lng-m),new ve(u.lat+f,u.lng+m))},getCenter:function(){return new ve((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new ve(this.getNorth(),this.getWest())},getSouthEast:function(){return new ve(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
2,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(o){typeof o[0]=="number"||o instanceof ve||"lat"in o?o=le(o):o=ce(o);var s=this._southWest,u=this._northEast,f,m;return o instanceof de?(f=o.getSouthWest(),m=o.getNorthEast()):f=m=o,f.lat>=s.lat&&m.lat<=u.lat&&f.lng>=s.lng&&m.lng<=u.lng},intersects:function(o){o=ce(o);var s=this._southWest,u=this._northEast,f=o.getSouthWest(),m=o.getNorthEast(),y=m.lat>=s.lat&&f.lat<=u.lat,I=m.lng>=s.lng&&f.lng<=u.lng;return y&&I},overlaps:function(o){o=ce(o);var s=this._southWest,u=this._northEast,f=o.getSouthWest(),m=o.getNorthEast(),y=m.lat>s.lat&&f.lat<u.lat,I=m.lng>s.lng&&f.lng<u.lng;return y&&I},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(o,s){return o?(o=ce(o),this._southWest.equals(o.getSouthWest(),s)&&this._northEast.equals(o.getNorthEast(),s)):!1},isValid:function(){return!!(this._southWest&&this._northEast)}};function ce(o,s){return o instanceof de?o:new de(o,s)}function ve(o,s,u){if(isNaN(o)||isNaN(s))throw new Error("Invalid LatLng object: ("+o+", "+s+")");this.lat=+o,this.lng=+s,u!==void 0&&(this.alt=+u)}ve.prototype={equals:function(o,s){if(!o)return!1;o=le(o);var u=Math.max(Math.abs(this.lat-o.lat),Math.abs(this.lng-o.lng));return u<=(s===void 0?1e-9:s)},toString:function(o){return"LatLng("+h(this.lat,o)+", "+h(this.lng,o)+")"},distanceTo:function(o){return _a.distance(this,le(o))},wrap:function(){return _a.wrapLatLng(this)},toBounds:function(o){var s=180*o/40075017,u=s/Math.cos(Math.PI/180*this.lat);return ce([this.lat-s,this.lng-u],[this.lat+s,this.lng+u])},clone:function(){return new ve(this.lat,this.lng,this.alt)}};function le(o,s,u){return o instanceof ve?o:v(o)&&typeof o[0]!="object"?o.length===3?new ve(o[0],o[1],o[2]):o.length===2?new ve(o[0],o[1]):null:o==null?o:typeof o=="object"&&"lat"in o?new ve(o.lat,"lng"in o?o.lng:o.lon,o.alt):s===void 0?null:new ve(o,s,u)}var Et={latLngToPoint:function(o,s){var u=this.projection.project(o),f=this.scale(s);return this.transformation._transform(u,f)},pointToLatLng:function(o,s){var u=this.scale(s),f=this.transformation.untransform(o,u);return this.projection.unproject(f)},project:function(o){return this.projection.project(o)},unproject:function(o){return this.projection.unproject(o)},scale:function(o){return 256*Math.pow(2,o)},zoom:function(o){return Math.log(o/256)/Math.LN2},getProjectedBounds:function(o){if(this.infinite)return null;var s=this.projection.bounds,u=this.scale(o),f=this.transformation.transform(s.min,u),m=this.transformation.transform(s.max,u);return new Y(f,m)},infinite:!1,wrapLatLng:function(o){var s=this.wrapLng?c(o.lng,this.wrapLng,!0):o.lng,u=this.wrapLat?c(o.lat,this.wrapLat,!0):o.lat,f=o.alt;return new ve(u,s,f)},wrapLatLngBounds:function(o){var s=o.getCenter(),u=this.wrapLatLng(s),f=s.lat-u.lat,m=s.lng-u.lng;if(f===0&&m===0)return o;
2var y=o.getSouthWest(),I=o.getNorthEast(),T=new ve(y.lat-f,y.lng-m),M=new ve(I.lat-f,I.lng-m);return new de(T,M)}},_a=a({},Et,{wrapLng:[-180,180],R:6371e3,distance:function(o,s){var u=Math.PI/180,f=o.lat*u,m=s.lat*u,y=Math.sin((s.lat-o.lat)*u/2),I=Math.sin((s.lng-o.lng)*u/2),T=y*y+Math.cos(f)*Math.cos(m)*I*I,M=2*Math.atan2(Math.sqrt(T),Math.sqrt(1-T));return this.R*M}}),Se=6378137,Lt={R:Se,MAX_LATITUDE:85.0511287798,project:function(o){var s=Math.PI/180,u=this.MAX_LATITUDE,f=Math.max(Math.min(u,o.lat),-u),m=Math.sin(f*s);return new $(this.R*o.lng*s,this.R*Math.log((1+m)/(1-m))/2)},unproject:function(o){var s=180/Math.PI;return new ve((2*Math.atan(Math.exp(o.y/this.R))-Math.PI/2)*s,o.x*s/this.R)},bounds:(function(){var o=Se*Math.PI;return new Y([-o,-o],[o,o])})()};function Wr(o,s,u,f){if(v(o)){this._a=o[0],this._b=o[1],this._c=o[2],this._d=o[3];return}this._a=o,this._b=s,this._c=u,this._d=f}Wr.prototype={transform:function(o,s){return this._transform(o.clone(),s)},_transform:function(o,s){return s=s||1,o.x=s*(this._a*o.x+this._b),o.y=s*(this._c*o.y+this._d),o},untransform:function(o,s){return s=s||1,new $((o.x/s-this._b)/this._a,(o.y/s-this._d)/this._c)}};function Gr(o,s,u,f){return new Wr(o,s,u,f)}var hs=a({},_a,{code:"EPSG:3857",projection:Lt,transformation:(function(){var o=.5/(Math.PI*Lt.R);return Gr(o,.5,-o,.5)})()}),$t=a({},hs,{code:"EPSG:900913"});function na(o){return document.createElementNS("http://www.w3.org/2000/svg",o)}function ia(o,s){var u="",f,m,y,I,T,M;for(f=0,y=o.length;f<y;f++){for(T=o[f],m=0,I=T.length;m<I;m++)M=T[m],u+=(m?"L":"M")+M.x+" "+M.y;u+=s?J.svg?"z":"x":""}return u||"M0 0"}var Dn=document.documentElement.style,Zr="ActiveXObject"in window,Ca=Zr&&!document.addEventListener,ne="msLaunchUri"in navigator&&!("documentMode"in document),Qe=Za("webkit"),ka=Za("android"),Ga=Za("android 2")||Za("android 3"),$u=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),Np=ka&&Za("Google")&&$u<537&&!("AudioNode"in window),gr=!!window.opera,Qx=!ne&&Za("chrome"),ew=Za("gecko")&&!Qe&&!gr&&!Zr,PI=!Qx&&Za("safari"),tw=Za("phantom"),aw="OTransition"in Dn,RI=navigator.platform.indexOf("Win")===0,rw=Zr&&"transition"in Dn,zp="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!Ga,ow="MozPerspective"in Dn,EI=!window.L_DISABLE_3D&&(rw||zp||ow)&&!aw&&!tw,ms=typeof orientation<"u"||Za("mobile"),TI=ms&&Qe,AI=ms&&zp,nw=!window.PointerEvent&&window.MSPointerEvent,iw=!!(window.PointerEvent||nw),sw="ontouchstart"in window||!!window.TouchEvent,MI=!window.L_NO_TOUCH&&(sw||iw),DI=ms&&gr,FI=ms&&ew,BI=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,OI=(function(){var o=!1;try{var s=Object.defineProperty({},"passive",{get:function(){o=!0}});window.addEventListener("testPassiveEventSupport",p,s),window.removeEventListener("testPassiveEventSupport",p,s)}catch{}return o})(),NI=(function(){return!!document.createElement("canvas").getContext})(),Vp=!!(document.createElementNS&&na("svg").createSVGRect),zI=!!Vp&&(function(){var o=document.createElement("div");return o.innerHTML="<svg/>",(o.firstChild&&o.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"})(),VI=!Vp&&(function(){try{var o=document.createElement("div");o.innerHTML='<v:shape adj="1"/>';var s=o.firstChild;return s.style.behavior="url(#default#VML)",s&&typeof s.adj=="object"}catch{return!1}})(),UI=navigator.platform.indexOf("Mac")===0,HI=navigator.platform.indexOf("Linux")===0;function Za(o){return navigator.userAgent.toLowerCase().indexOf(o)>=0}var J={ie:Zr,ielt9:Ca,edge:ne,webkit:Qe,android:ka,android23:Ga,androidStock:Np,opera:gr,chrome:Qx,gecko:ew,safari:PI,phantom:tw,opera12:aw,win:RI,ie3d:rw,webkit3d:zp,gecko3d:ow,any3d:EI,mobile:ms,mobileWebkit:TI,mobileWebkit3d:AI,msPointer:nw,pointer:iw,touch:MI,touchNative:sw,mobileOpera:DI,mobileGecko:FI,retina:BI,passiveEvents:OI,canvas:NI,svg:Vp,vml:VI,inlineSvg:zI,mac:UI,linux:HI},lw=J.msPointer?"MSPointerDown":"pointerdown",uw=J.msPointer?"MSPointerMove":"pointermove",dw=J.msPointer?"MSPointerUp":"pointerup",cw=J.msPointer?"MSPointerCancel":"pointercancel",Up={touchstart:lw,touchmove:uw,touchend:dw,touchcancel:cw},fw={touchstart:$I,touchmove:Xu,touchend:Xu,touchcancel:Xu},Fn={},pw=!1;function jI(o,s,u){return s==="touchstart"&&ZI(),fw[s]?(u=fw[s].bind(this,u),o.addEventListener(Up[s],u,!1),u):(console.warn("wrong event specified:",s),p)}function qI(o,s,u){if(!Up[s]){console.warn("wrong event specified:",s);return}o.removeEventListener(Up[s],u,!1)}function WI(o){Fn[o.pointerId]=o}function GI(o){Fn[o.pointerId]&&(Fn[o.pointerId]=o)}function hw(o){delete Fn[o.pointerId]}function ZI(){pw||(document.addEventListener(lw,WI,!0),document.addEventListener(uw,GI,!0),document.addEventListener(dw,hw,!0),document.addEventListener(cw,hw,!0),pw=!0)}function Xu(o,s){if(s.pointerType!==(s.MSPOINTER_TYPE_MOUSE||"mouse")){s.touches=[];for(var u in Fn)s.touches.push(Fn[u]);s.changedTouches=[s],o(s)}}function $I(o,s){s.MSPOINTER_TYPE_TOUCH&&s.pointerType===s.MSPOINTER_TYPE_TOUCH&&gt(s),Xu(o,s)}function XI(o){var s={},u,f;for(f in o)u=o[f],s[f]=u&&u.bind?u.bind(o):u;
2return o=s,s.type="dblclick",s.detail=2,s.isTrusted=!1,s._simulated=!0,s}var KI=200;function YI(o,s){o.addEventListener("dblclick",s);var u=0,f;function m(y){if(y.detail!==1){f=y.detail;return}if(!(y.pointerType==="mouse"||y.sourceCapabilities&&!y.sourceCapabilities.firesTouchEvents)){var I=ww(y);if(!(I.some(function(M){return M instanceof HTMLLabelElement&&M.attributes.for})&&!I.some(function(M){return M instanceof HTMLInputElement||M instanceof HTMLSelectElement}))){var T=Date.now();T-u<=KI?(f++,f===2&&s(XI(y))):f=1,u=T}}}return o.addEventListener("click",m),{dblclick:s,simDblclick:m}}function JI(o,s){o.removeEventListener("dblclick",s.dblclick),o.removeEventListener("click",s.simDblclick)}var Hp=Ju(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),gs=Ju(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),mw=gs==="webkitTransition"||gs==="OTransition"?gs+"End":"transitionend";function gw(o){return typeof o=="string"?document.getElementById(o):o}function vs(o,s){var u=o.style[s]||o.currentStyle&&o.currentStyle[s];if((!u||u==="auto")&&document.defaultView){var f=document.defaultView.getComputedStyle(o,null);u=f?f[s]:null}return u==="auto"?null:u}function Le(o,s,u){var f=document.createElement(o);return f.className=s||"",u&&u.appendChild(f),f}function ze(o){var s=o.parentNode;s&&s.removeChild(o)}function Ku(o){for(;o.firstChild;)o.removeChild(o.firstChild)}function Bn(o){var s=o.parentNode;s&&s.lastChild!==o&&s.appendChild(o)}function On(o){var s=o.parentNode;s&&s.firstChild!==o&&s.insertBefore(o,s.firstChild)}function jp(o,s){if(o.classList!==void 0)return o.classList.contains(s);var u=Yu(o);return u.length>0&&new RegExp("(^|\\s)"+s+"(\\s|$)").test(u)}function fe(o,s){if(o.classList!==void 0)for(var u=x(s),f=0,m=u.length;f<m;f++)o.classList.add(u[f]);else if(!jp(o,s)){var y=Yu(o);qp(o,(y?y+" ":"")+s)}}function Ke(o,s){o.classList!==void 0?o.classList.remove(s):qp(o,g((" "+Yu(o)+" ").replace(" "+s+" "," ")))}function qp(o,s){o.className.baseVal===void 0?o.className=s:o.className.baseVal=s}function Yu(o){return o.correspondingElement&&(o=o.correspondingElement),o.className.baseVal===void 0?o.className:o.className.baseVal}function sa(o,s){"opacity"in o.style?o.style.opacity=s:"filter"in o.style&&QI(o,s)}function QI(o,s){var u=!1,f="DXImageTransform.Microsoft.Alpha";try{u=o.filters.item(f)}catch{if(s===1)return}s=Math.round(s*100),u?(u.Enabled=s!==100,u.Opacity=s):o.style.filter+=" progid:"+f+"(opacity="+s+")"}function Ju(o){for(var s=document.documentElement.style,u=0;u<o.length;u++)if(o[u]in s)return o[u];return!1}function Vo(o,s,u){var f=s||new $(0,0);o.style[Hp]=(J.ie3d?"translate("+f.x+"px,"+f.y+"px)":"translate3d("+f.x+"px,"+f.y+"px,0)")+(u?" scale("+u+")":"")}function et(o,s){o._leaflet_pos=s,J.any3d?Vo(o,s):(o.style.left=s.x+"px",o.style.top=s.y+"px")}function Uo(o){return o._leaflet_pos||new $(0,0)}var xs,ws,Wp;if("onselectstart"in document)xs=function(){ie(window,"selectstart",gt)},ws=function(){Pe(window,"selectstart",gt)};else{var ys=Ju(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);xs=function(){if(ys){var o=document.documentElement.style;Wp=o[ys],o[ys]="none"}},ws=function(){ys&&(document.documentElement.style[ys]=Wp,Wp=void 0)}}function Gp(){ie(window,"dragstart",gt)}function Zp(){Pe(window,"dragstart",gt)}var Qu,$p;function Xp(o){for(;o.tabIndex===-1;)o=o.parentNode;o.style&&(ed(),Qu=o,$p=o.style.outlineStyle,o.style.outlineStyle="none",ie(window,"keydown",ed))}function ed(){Qu&&(Qu.style.outlineStyle=$p,Qu=void 0,$p=void 0,Pe(window,"keydown",ed))}function vw(o){do o=o.parentNode;while((!o.offsetWidth||!o.offsetHeight)&&o!==document.body);return o}function Kp(o){var s=o.getBoundingClientRect();return{x:s.width/o.offsetWidth||1,y:s.height/o.offsetHeight||1,boundingClientRect:s}}var e2={__proto__:null,TRANSFORM:Hp,TRANSITION:gs,TRANSITION_END:mw,get:gw,getStyle:vs,create:Le,remove:ze,empty:Ku,toFront:Bn,toBack:On,hasClass:jp,addClass:fe,removeClass:Ke,setClass:qp,getClass:Yu,setOpacity:sa,testProp:Ju,setTransform:Vo,setPosition:et,getPosition:Uo,get disableTextSelection(){return xs},get enableTextSelection(){return ws},disableImageDrag:Gp,enableImageDrag:Zp,preventOutline:Xp,restoreOutline:ed,getSizedParentNode:vw,getScale:Kp};function ie(o,s,u,f){if(s&&typeof s=="object")for(var m in s)Jp(o,m,s[m],u);else{s=x(s);for(var y=0,I=s.length;y<I;y++)Jp(o,s[y],u,f)}return this}var $a="_leaflet_events";function Pe(o,s,u,f){if(arguments.length===1)xw(o),delete o[$a];else if(s&&typeof s=="object")for(var m in s)Qp(o,m,s[m],u);else if(s=x(s),arguments.length===2)xw(o,function(T){return w(s,T)!==-1});else for(var y=0,I=s.length;y<I;y++)Qp(o,s[y],u,f);return this}function xw(o,s){for(var u in o[$a]){var f=u.split(/\d/)[0];(!s||s(f))&&Qp(o,f,null,null,u)}}
2var Yp={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function Jp(o,s,u,f){var m=s+l(u)+(f?"_"+l(f):"");if(o[$a]&&o[$a][m])return this;var y=function(T){return u.call(f||o,T||window.event)},I=y;!J.touchNative&&J.pointer&&s.indexOf("touch")===0?y=jI(o,s,y):J.touch&&s==="dblclick"?y=YI(o,y):"addEventListener"in o?s==="touchstart"||s==="touchmove"||s==="wheel"||s==="mousewheel"?o.addEventListener(Yp[s]||s,y,J.passiveEvents?{passive:!1}:!1):s==="mouseenter"||s==="mouseleave"?(y=function(T){T=T||window.event,th(o,T)&&I(T)},o.addEventListener(Yp[s],y,!1)):o.addEventListener(s,I,!1):o.attachEvent("on"+s,y),o[$a]=o[$a]||{},o[$a][m]=y}function Qp(o,s,u,f,m){m=m||s+l(u)+(f?"_"+l(f):"");var y=o[$a]&&o[$a][m];if(!y)return this;!J.touchNative&&J.pointer&&s.indexOf("touch")===0?qI(o,s,y):J.touch&&s==="dblclick"?JI(o,y):"removeEventListener"in o?o.removeEventListener(Yp[s]||s,y,!1):o.detachEvent("on"+s,y),o[$a][m]=null}function Ho(o){return o.stopPropagation?o.stopPropagation():o.originalEvent?o.originalEvent._stopped=!0:o.cancelBubble=!0,this}function eh(o){return Jp(o,"wheel",Ho),this}function bs(o){return ie(o,"mousedown touchstart dblclick contextmenu",Ho),o._leaflet_disable_click=!0,this}function gt(o){return o.preventDefault?o.preventDefault():o.returnValue=!1,this}function jo(o){return gt(o),Ho(o),this}function ww(o){if(o.composedPath)return o.composedPath();for(var s=[],u=o.target;u;)s.push(u),u=u.parentNode;return s}function yw(o,s){if(!s)return new $(o.clientX,o.clientY);var u=Kp(s),f=u.boundingClientRect;return new $((o.clientX-f.left)/u.x-s.clientLeft,(o.clientY-f.top)/u.y-s.clientTop)}var t2=J.linux&&J.chrome?window.devicePixelRatio:J.mac?window.devicePixelRatio*3:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function bw(o){return J.edge?o.wheelDeltaY/2:o.deltaY&&o.deltaMode===0?-o.deltaY/t2:o.deltaY&&o.deltaMode===1?-o.deltaY*20:o.deltaY&&o.deltaMode===2?-o.deltaY*60:o.deltaX||o.deltaZ?0:o.wheelDelta?(o.wheelDeltaY||o.wheelDelta)/2:o.detail&&Math.abs(o.detail)<32765?-o.detail*20:o.detail?o.detail/-32765*60:0}function th(o,s){var u=s.relatedTarget;if(!u)return!0;try{for(;u&&u!==o;)u=u.parentNode}catch{return!1}return u!==o}var a2={__proto__:null,on:ie,off:Pe,stopPropagation:Ho,disableScrollPropagation:eh,disableClickPropagation:bs,preventDefault:gt,stop:jo,getPropagationPath:ww,getMousePosition:yw,getWheelDelta:bw,isExternalTarget:th,addListener:ie,removeListener:Pe},Lw=ye.extend({run:function(o,s,u,f){this.stop(),this._el=o,this._inProgress=!0,this._duration=u||.25,this._easeOutPower=1/Math.max(f||.5,.2),this._startPos=Uo(o),this._offset=s.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=V(this._animate,this),this._step()},_step:function(o){var s=+new Date-this._startTime,u=this._duration*1e3;s<u?this._runFrame(this._easeOut(s/u),o):(this._runFrame(1),this._complete())},_runFrame:function(o,s){var u=this._startPos.add(this._offset.multiplyBy(o));s&&u._round(),et(this._el,u),this.fire("step")},_complete:function(){D(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(o){return 1-Math.pow(1-o,this._easeOutPower)}}),we=ye.extend({options:{crs:hs,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(o,s){s=b(this,s),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(o),this._initLayout(),this._onResize=n(this._onResize,this),this._initEvents(),s.maxBounds&&this.setMaxBounds(s.maxBounds),s.zoom!==void 0&&(this._zoom=this._limitZoom(s.zoom)),s.center&&s.zoom!==void 0&&this.setView(le(s.center),s.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=gs&&J.any3d&&!J.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),ie(this._proxy,mw,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
2,setView:function(o,s,u){if(s=s===void 0?this._zoom:this._limitZoom(s),o=this._limitCenter(le(o),s,this.options.maxBounds),u=u||{},this._stop(),this._loaded&&!u.reset&&u!==!0){u.animate!==void 0&&(u.zoom=a({animate:u.animate},u.zoom),u.pan=a({animate:u.animate,duration:u.duration},u.pan));var f=this._zoom!==s?this._tryAnimatedZoom&&this._tryAnimatedZoom(o,s,u.zoom):this._tryAnimatedPan(o,u.pan);if(f)return clearTimeout(this._sizeTimer),this}return this._resetView(o,s,u.pan&&u.pan.noMoveStart),this},setZoom:function(o,s){return this._loaded?this.setView(this.getCenter(),o,{zoom:s}):(this._zoom=o,this)},zoomIn:function(o,s){return o=o||(J.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+o,s)},zoomOut:function(o,s){return o=o||(J.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-o,s)},setZoomAround:function(o,s,u){var f=this.getZoomScale(s),m=this.getSize().divideBy(2),y=o instanceof $?o:this.latLngToContainerPoint(o),I=y.subtract(m).multiplyBy(1-1/f),T=this.containerPointToLatLng(m.add(I));return this.setView(T,s,{zoom:u})},_getBoundsCenterZoom:function(o,s){s=s||{},o=o.getBounds?o.getBounds():ce(o);var u=H(s.paddingTopLeft||s.padding||[0,0]),f=H(s.paddingBottomRight||s.padding||[0,0]),m=this.getBoundsZoom(o,!1,u.add(f));if(m=typeof s.maxZoom=="number"?Math.min(s.maxZoom,m):m,m===1/0)return{center:o.getCenter(),zoom:m};
2var y=f.subtract(u).divideBy(2),I=this.project(o.getSouthWest(),m),T=this.project(o.getNorthEast(),m),M=this.unproject(I.add(T).divideBy(2).add(y),m);return{center:M,zoom:m}},fitBounds:function(o,s){if(o=ce(o),!o.isValid())throw new Error("Bounds are not valid.");var u=this._getBoundsCenterZoom(o,s);return this.setView(u.center,u.zoom,s)},fitWorld:function(o){return this.fitBounds([[-90,-180],[90,180]],o)},panTo:function(o,s){return this.setView(o,this._zoom,{pan:s})},panBy:function(o,s){if(o=H(o).round(),s=s||{},!o.x&&!o.y)return this.fire("moveend");if(s.animate!==!0&&!this.getSize().contains(o))return this._resetView(this.unproject(this.project(this.getCenter()).add(o)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Lw,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),s.noMoveStart||this.fire("movestart"),s.animate!==!1){fe(this._mapPane,"leaflet-pan-anim");var u=this._getMapPanePos().subtract(o).round();this._panAnim.run(this._mapPane,u,s.duration||.25,s.easeLinearity)}else this._rawPanBy(o),this.fire("move").fire("moveend");return this},flyTo:function(o,s,u){if(u=u||{},u.animate===!1||!J.any3d)return this.setView(o,s,u);this._stop();var f=this.project(this.getCenter()),m=this.project(o),y=this.getSize(),I=this._zoom;o=le(o),s=s===void 0?I:s;var T=Math.max(y.x,y.y),M=T*this.getZoomScale(I,s),N=m.distanceTo(f)||1,W=1.42,re=W*W;function he(tt){var fd=tt?-1:1,q2=tt?M:T,W2=M*M-T*T+fd*re*re*N*N,G2=2*q2*re*N,fh=W2/G2,ay=Math.sqrt(fh*fh+1)-fh,Z2=ay<1e-9?-18:Math.log(ay);return Z2}function Tt(tt){return(Math.exp(tt)-Math.exp(-tt))/2}function ct(tt){return(Math.exp(tt)+Math.exp(-tt))/2}function ua(tt){return Tt(tt)/ct(tt)}var Vt=he(0);function jn(tt){return T*(ct(Vt)/ct(Vt+W*tt))}function V2(tt){return T*(ct(Vt)*ua(Vt+W*tt)-Tt(Vt))/re}function U2(tt){return 1-Math.pow(1-tt,1.5)}var H2=Date.now(),ey=(he(1)-Vt)/W,j2=u.duration?1e3*u.duration:1e3*ey*.8;function ty(){var tt=(Date.now()-H2)/j2,fd=U2(tt)*ey;tt<=1?(this._flyToFrame=V(ty,this),this._move(this.unproject(f.add(m.subtract(f).multiplyBy(V2(fd)/N)),I),this.get
2ScaleZoom(T/jn(fd),I),{flyTo:!0})):this._move(o,s)._moveEnd(!0)}return this._moveStart(!0,u.noMoveStart),ty.call(this),this},flyToBounds:function(o,s){var u=this._getBoundsCenterZoom(o,s);return this.flyTo(u.center,u.zoom,s)},setMaxBounds:function(o){return o=ce(o),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),o.isValid()?(this.options.maxBounds=o,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(o){var s=this.options.minZoom;return this.options.minZoom=o,this._loaded&&s!==o&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(o):this},setMaxZoom:function(o){var s=this.options.maxZoom;return this.options.maxZoom=o,this._loaded&&s!==o&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(o):this},panInsideBounds:function(o,s){this._enforcingBounds=!0;var u=this.getCenter(),f=this._limitCenter(u,this._zoom,ce(o));return u.equals(f)||this.panTo(f,s),this._enforcingBounds=!1,this},panInside:function(o,s){s=s||{};var u=H(s.paddingTopLeft||s.padding||[0,0]),f=H(s.paddingBottomRight||s.padding||[0,0]),m=this.project(this.getCenter()),y=this.project(o),I=this.getPixelBounds(),T=Ie([I.min.add(u),I.max.subtract(f)]),M=T.getSize();if(!T.contains(y)){this._enforcingBounds=!0;var N=y.subtract(T.getCenter()),W=T.extend(y).getSize().subtract(M);m.x+=N.x<0?-W.x:W.x,m.y+=N.y<0?-W.y:W.y,this.panTo(this.unproject(m),s),this._enforcingBounds=!1}return this},invalidateSize:function(o){if(!this._loaded)return this;o=a({animate:!1,pan:!0},o===!0?{animate:!0}:o);var s=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var u=this.getSize(),f=s.divideBy(2).round(),m=u.divideBy(2).round(),y=f.subtract(m);return!y.x&&!y.y?this:(o.animate&&o.pan?this.panBy(y):(o.pan&&this._rawPanBy(y),this.fire("move"),o.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(n(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:s,newSize:u}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(o){if(o=this._locateOptions=a({timeout:1e4,watch:!1},o),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var s=n(this._handleGeolocationResponse,this),u=n(this._handleGeolocationError,this);return o.watch?this._locationWatchId=navigator.geolocation.watchPosition(s,u,o):navigator.geolocation.getCurrentPosition(s,u,o),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(o){if(this._container._leaflet_id){var s=o.code,u=o.message||(s===1?"permission denied":s===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:s,message:"Geolocation error: "+u+"."})}},_handleGeolocationResponse:function(o){if(this._container._leaflet_id){var s=o.coords.latitude,u=o.coords.longitude,f=new ve(s,u),m=f.toBounds(o.coords.accuracy*2),y=this._locateOptions;if(y.setView){var I=this.getBoundsZoom(m);this.setView(f,y.maxZoom?Math.min(I,y.maxZoom):I)}var T={latlng:f,bounds:m,timestamp:o.timestamp};for(var M in o.coords)typeof o.coords[M]=="number"&&(T[M]=o.coords[M]);this.fire("locationfound",T)}},addHandler:function(o,s){if(!s)return this;var u=this[o]=new s(this);return this._handlers.push(u),this.options[o]&&u.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),ze(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(D(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var o;for(o in this._layers)this._layers[o].remove();for(o in this._panes)ze(this._panes[o]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(o,s){var u="leaflet-pane"+(o?" leaflet-"+o.replace("Pane","")+"-pane":""),f=Le("div",u,s||this._mapPane);return o&&(this._panes[o]=f),f},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var o=this.getPixelBounds(),s=this.unproject(o.getBottomLeft()),u=this.unproject(o.getTopRight());return new de(s,u)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZo
2om===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(o,s,u){o=ce(o),u=H(u||[0,0]);var f=this.getZoom()||0,m=this.getMinZoom(),y=this.getMaxZoom(),I=o.getNorthWest(),T=o.getSouthEast(),M=this.getSize().subtract(u),N=Ie(this.project(T,f),this.project(I,f)).getSize(),W=J.any3d?this.options.zoomSnap:1,re=M.x/N.x,he=M.y/N.y,Tt=s?Math.max(re,he):Math.min(re,he);return f=this.getScaleZoom(Tt,f),W&&(f=Math.round(f/(W/100))*(W/100),f=s?Math.ceil(f/W)*W:Math.floor(f/W)*W),Math.max(m,Math.min(y,f))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new $(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(o,s){var u=this._getTopLeftPoint(o,s);return new Y(u,u.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(o){return this.options.crs.getProjectedBounds(o===void 0?this.getZoom():o)},getPane:function(o){return typeof o=="string"?this._panes[o]:o},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(o,s){var u=this.options.crs;return s=s===void 0?this._zoom:s,u.scale(o)/u.scale(s)},getScaleZoom:function(o,s){var u=this.options.crs;s=s===void 0?this._zoom:s;var f=u.zoom(o*u.scale(s));return isNaN(f)?1/0:f},project:function(o,s){return s=s===void 0?this._zoom:s,this.options.crs.latLngToPoint(le(o),s)},unproject:function(o,s){return s=s===void 0?this._zoom:s,this.options.crs.pointToLatLng(H(o),s)},layerPointToLatLng:function(o){var s=H(o).add(this.getPixelOrigin());return this.unproject(s)},latLngToLayerPoint:function(o){var s=this.project(le(o))._round();return s._subtract(this.getPixelOrigin())},wrapLatLng:function(o){return this.options.crs.wrapLatLng(le(o))},wrapLatLngBounds:function(o){return this.options.crs.wrapLatLngBounds(ce(o))},distance:function(o,s){return this.options.crs.distance(le(o),le(s))},containerPointToLayerPoint:function(o){return H(o).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(o){return H(o).add(this._getMapPanePos())},containerPointToLatLng:function(o){var s=this.containerPointToLayerPoint(H(o));return this.layerPointToLatLng(s)},latLngToContainerPoint:function(o){return this.layerPointToContainerPoint(this.latLngToLayerPoint(le(o)))},mouseEventToContainerPoint:function(o){return yw(o,this._container)},mouseEventToLayerPoint:function(o){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(o))},mouseEventToLatLng:function(o){return this.layerPointToLatLng(this.mouseEventToLayerPoint(o))},_initContainer:function(o){var s=this._container=gw(o);if(s){if(s._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");ie(s,"scroll",this._onScroll,this),this._containerId=l(s)},_initLayout:function(){var o=this._container;this._fadeAnimated=this.options.fadeAnimation&&J.any3d,fe(o,"leaflet-container"+(J.touch?" leaflet-touch":"")+(J.retina?" leaflet-retina":"")+(J.ielt9?" leaflet-oldie":"")+(J.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var s=vs(o,"position");s!=="absolute"&&s!=="relative"&&s!=="fixed"&&s!=="sticky"&&(o.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var o=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),et(this._mapPane,new $(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(fe(o.markerPane,"leaflet-zoom-hide"),fe(o.shadowPane,"leaflet-zoom-hide"))},_resetView:function(o,s,u){et(this._mapPane,new $(0,0));var f=!this._loaded;this._loaded=!0,s=this._limitZoom(s),this.fire("viewprereset");var m=this._zoom!==s;this._moveStart(m,u)._move(o,s)._moveEnd(m),this.fire("viewreset"),f&&this.fire("load")},_moveStart:function(o,s){return o&&this.fire("zoomstart"),s||this.fire("movestart"),this},_move:function(o,s,u,f){s===void 0&&(s=this._zoom);var m=this._zoom!==s;return this._zoom=s,this._lastCenter=o,this._pixelOrigin=this._getNewPixelOrigin(o),f?u&&u.pinch&&this.fire("zoom",u):((m||u&&u.pinch)&&this.fire("zoom",u),this.fire("move",u)),this},_moveEnd:function(o){return o&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return D(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(o){et(this._mapPane,this._getMapPanePos().subtract(o))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(o){this._targets={},this._targets[l(this._container)]=this;var s=o?Pe:ie;s(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&s(window,"resize",this._onResize,this),J.any3d&&this.options.transform3DLimit&&(o?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){D(this._resizeRequest),this._resizeRequest=V(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var o=this._getMapPanePos();Math.max(Math.abs(o.x),Math.abs(o.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(o,s){for(var u=[],f,m=s==="mouseout"||s==="mouseover",y=o.target||o.srcElement,I=!1;y;){if(f=this._targets[l(y)],f&&(s==="click"||s==="preclick")&&this._draggableMoved(f)){I=!0;break}if(f&&f.listens(s,!0)&&(m&&!th(y,o)||(u.push(f),m))||y===this._container)break;y=y.parentNode}return!u.length&&!I&&!m&&this.listens(s,!0)&&(u=[this]),u},_isClickDisabled:function(o){for(;o&&o!==this._container;){if(o._leaflet_disable_click)return!0;o=o.parentNode}},_handleDOMEvent:function(o){var s=o.target||o.srcElement;if(!(!this._loaded||s._leaflet_disable_events||o.type==="click"&&this._isCl
2ickDisabled(s))){var u=o.type;u==="mousedown"&&Xp(s),this._fireDOMEvent(o,u)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(o,s,u){if(o.type==="click"){var f=a({},o);f.type="preclick",this._fireDOMEvent(f,f.type,u)}var m=this._findEventTargets(o,s);if(u){for(var y=[],I=0;I<u.length;I++)u[I].listens(s,!0)&&y.push(u[I]);m=y.concat(m)}if(m.length){s==="contextmenu"&&gt(o);var T=m[0],M={originalEvent:o};if(o.type!=="keypress"&&o.type!=="keydown"&&o.type!=="keyup"){var N=T.getLatLng&&(!T._radius||T._radius<=10);M.containerPoint=N?this.latLngToContainerPoint(T.getLatLng()):this.mouseEventToContainerPoint(o),M.layerPoint=this.containerPointToLayerPoint(M.containerPoint),M.latlng=N?T.getLatLng():this.layerPointToLatLng(M.layerPoint)}for(I=0;I<m.length;I++)if(m[I].fire(s,M,!0),M.originalEvent._stopped||m[I].options.bubblingMouseEvents===!1&&w(this._mouseEvents,s)!==-1)return}},_draggableMoved:function(o){return o=o.dragging&&o.dragging.enabled()?o:this,o.dragging&&o.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var o=0,s=this._handlers.length;o<s;o++)this._handlers[o].disable()},whenReady:function(o,s){return this._loaded?o.call(s||this,{target:this}):this.on("load",o,s),this},_getMapPanePos:function(){return Uo(this._mapPane)||new $(0,0)},_moved:function(){var o=this._getMapPanePos();return o&&!o.equals([0,0])},_getTopLeftPoint:function(o,s){var u=o&&s!==void 0?this._getNewPixelOrigin(o,s):this.getPixelOrigin();return u.subtract(this._getMapPanePos())},_getNewPixelOrigin:function(o,s){var u=this.getSize()._divideBy(2);return this.project(o,s)._subtract(u)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(o,s,u){var f=this._getNewPixelOrigin(u,s);return this.project(o,s)._subtract(f)},_latLngBoundsToNewLayerBounds:function(o,s,u){var f=this._getNewPixelOrigin(u,s);
2return Ie([this.project(o.getSouthWest(),s)._subtract(f),this.project(o.getNorthWest(),s)._subtract(f),this.project(o.getSouthEast(),s)._subtract(f),this.project(o.getNorthEast(),s)._subtract(f)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(o){return this.latLngToLayerPoint(o).subtract(this._getCenterLayerPoint())},_limitCenter:function(o,s,u){if(!u)return o;var f=this.project(o,s),m=this.getSize().divideBy(2),y=new Y(f.subtract(m),f.add(m)),I=this._getBoundsOffset(y,u,s);return Math.abs(I.x)<=1&&Math.abs(I.y)<=1?o:this.unproject(f.add(I),s)},_limitOffset:function(o,s){if(!s)return o;var u=this.getPixelBounds(),f=new Y(u.min.add(o),u.max.add(o));return o.add(this._getBoundsOffset(f,s))},_getBoundsOffset:function(o,s,u){var f=Ie(this.project(s.getNorthEast(),u),this.project(s.getSouthWest(),u)),m=f.min.subtract(o.min),y=f.max.subtract(o.max),I=this._rebound(m.x,-y.x),T=this._rebound(m.y,-y.y);return new $(I,T)},_rebound:function(o,s){return o+s>0?Math.round(o-s)/2:Math.max(0,Math.ceil(o))-Math.max(0,Math.floor(s))},_limitZoom:function(o){var s=this.getMinZoom(),u=this.getMaxZoom(),f=J.any3d?this.options.zoomSnap:1;return f&&(o=Math.round(o/f)*f),Math.max(s,Math.min(u,o))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Ke(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(o,s){var u=this._getCenterOffset(o)._trunc();return(s&&s.animate)!==!0&&!this.getSize().contains(u)?!1:(this.panBy(u,s),!0)},_createAnimProxy:function(){var o=this._proxy=Le("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(o),this.on("zoomanim",function(s){var u=Hp,f=this._proxy.style[u];Vo(this._proxy,this.project(s.center,s.zoom),this.getZoomScale(s.zoom,1)),f===this._proxy.style[u]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){ze(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var o=this.getCenter(),s=this.getZoom();Vo(this._proxy,this.project(o,s),this.getZoomScale(s,1))},_catchTransitionEnd:function(o){this._animatingZoom&&o.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(o,s,u){if(this._animatingZoom)return!0;if(u=u||{},!this._zoomAnimated||u.animate===!1||this._nothingToAnimate()||Math.abs(s-this._zoom)>this.options.zoomAnimationThreshold)return!1;var f=this.getZoomScale(s),m=this._getCenterOffset(o)._divideBy(1-1/f);return u.animate!==!0&&!this.getSize().contains(m)?!1:(V(function(){this._moveStart(!0,u.noMoveStart||!1)._animateZoom(o,s,!0)},this),!0)},_animateZoom:function(o,s,u,f){this._mapPane&&(u&&(this._animatingZoom=!0,this._animateToCenter=o,this._animateToZoom=s,fe(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:o,zoom:s,noUpdate:f}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(n(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Ke(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function r2(o,s){return new we(o,s)}var Ia=X.extend({options:{position:"topright"},initialize:function(o){b(this,o)},getPosition:function(){return this.options.position},setPosition:function(o){var s=this._map;return s&&s.removeControl(this),this.options.position=o,s&&s.addControl(this),this},getContainer:function(){return this._container},addTo:function(o){this.remove(),this._map=o;var s=this._container=this.onAdd(o),u=this.getPosition(),f=o._controlCorners[u];return fe(s,"leaflet-control"),u.indexOf("bottom")!==-1?f.insertBefore(s,f.firstChild):f.appendChild(s),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(ze(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(o){this._map&&o&&o.screenX>0&&o.screenY>0&&this._map.getContainer().focus()}}),Ls=function(o){return new Ia(o)};we.include({addControl:function(o){return o.addTo(this),this},removeControl:function(o){return o.remove(),this}
vendor: 8,859 bytes, line 2
2,_initControlPos:function(){var o=this._controlCorners={},s="leaflet-",u=this._controlContainer=Le("div",s+"control-container",this._container);function f(m,y){var I=s+m+" "+s+y;o[m+y]=Le("div",I,u)}f("top","left"),f("top","right"),f("bottom","left"),f("bottom","right")},_clearControlPos:function(){for(var o in this._controlCorners)ze(this._controlCorners[o]);ze(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Sw=Ia.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(o,s,u,f){return u<f?-1:f<u?1:0}},initialize:function(o,s,u){b(this,u),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1;for(var f in o)this._addLayer(o[f],f);for(f in s)this._addLayer(s[f],f,!0)},onAdd:function(o){this._initLayout(),this._update(),this._map=o,o.on("zoomend",this._checkDisabledLayers,this);for(var s=0;s<this._layers.length;s++)this._layers[s].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(o){return Ia.prototype.addTo.call(this,o),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var o=0;o<this._layers.length;o++)this._layers[o].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(o,s){return this._addLayer(o,s),this._map?this._update():this},addOverlay:function(o,s){return this._addLayer(o,s,!0),this._map?this._update():this},removeLayer:function(o){o.off("add remove",this._onLayerChange,this);var s=this._getLayer(l(o));return s&&this._layers.splice(this._layers.indexOf(s),1),this._map?this._update():this},expand:function(){fe(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var o=this._map.getSize().y-(this._container.offsetTop+50);return o<this._section.clientHeight?(fe(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=o+"px"):Ke(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return Ke(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var o="leaflet-control-layers",s=this._container=Le("div",o),u=this.options.collapsed;s.setAttribute("aria-haspopup",!0),bs(s),eh(s);var f=this._section=Le("section",o+"-list");u&&(this._map.on("click",this.collapse,this),ie(s,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var m=this._layersLink=Le("a",o+"-toggle",s);m.href="#",m.title="Layers",m.setAttribute("role","button"),ie(m,{keydown:function(y){y.keyCode===13&&this._expandSafely()},click:function(y){gt(y),this._expandSafely()}},this),u||this.expand(),this._baseLayersList=Le("div",o+"-base",f),this._separator=Le("div",o+"-separator",f),this._overlaysList=Le("div",o+"-overlays",f),s.appendChild(f)},_getLayer:function(o){for(var s=0;s<this._layers.length;s++)if(this._layers[s]&&l(this._layers[s].layer)===o)return this._layers[s]},_addLayer:function(o,s,u){this._map&&o.on("add remove",this._onLayerChange,this),this._layers.push({layer:o,name:s,overlay:u}),this.options.sortLayers&&this._layers.sort(n(function(f,m){return this.options.sortFunction(f.layer,m.layer,f.name,m.name)},this)),this.options.autoZIndex&&o.setZIndex&&(this._lastZIndex++,o.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;Ku(this._baseLayersList),Ku(this._overlaysList),this._layerControlInputs=[];var o,s,u,f,m=0;for(u=0;u<this._layers.length;u++)f=this._layers[u],this._addItem(f),s=s||f.overlay,o=o||!f.overlay,m+=f.overlay?0:1;return this.options.hideSingleBase&&(o=o&&m>1,this._baseLayersList.style.display=o?"":"none"),this._separator.style.display=s&&o?"":"none",this},_onLayerChange:function(o){this._handlingClick||this._update();var s=this._getLayer(l(o.target)),u=s.overlay?o.type==="add"?"overlayadd":"overlayremove":o.type==="add"?"baselayerchange":null;u&&this._map.fire(u,s)},_createRadioElement:function(o,s){var u='<input type="radio" class="leaflet-control-layers-selector" name="'+o+'"'+(s?' checked="checked"':"")+"/>",f=document.createElement("div");return f.innerHTML=u,f.firstChild},_addItem:function(o){var s=document.createElement("label"),u=this._map.hasLayer(o.layer),f;o.overlay?(f=document.createElement("input"),f.type="checkbox",f.className="leaflet-control-layers-selector",f.defaultChecked=u):f=this._createRadioElement("leaflet-base-layers_"+l(this),u),this._layerControlInputs.push(f),f.layerId=l(o.layer),ie(f,"click",this._onInputClick,this);var m=document.createElement("span");m.innerHTML=" "+o.name;var y=document.createElement("span");s.appendChild(y),y.appendChild(f),y.appendChild(m);var I=o.overlay?this._overlaysList:this._baseLayersList;return I.appendChild(s),this._checkDisabledLayers(),s},_onInputClick:function(){if(!this._preventClick){var o=this._layerControlInputs,s,u,f=[],m=[];this._handlingClick=!0;for(var y=o.length-1;y>=0;y--)s=o[y],u=this._getLayer(s.layerId).layer,s.checked?f.push(u):s.checked||m.push(u);for(y=0;y<m.length;y++)this._map.hasLayer(m[y])&&this._map.removeLayer(m[y]);for(y=0;y<f.length;y++)this._map.hasLayer(f[y])||this._map.addLayer(f[y]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var o=this._layerControlInputs,s,u,f=this._map.getZoom(),m=o.length-1;m>=0;m--)s=o[m],u=this._getLayer(s.layerId).layer,s.disabled=u.options.minZoom!==void 0&&f<u.options.minZoom||u.options.maxZoom!==void 0&&f>u.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var o=this._section;this._preventClick=!0,ie(o,"click",gt),this.expand();var s=this;setTimeout(function(){Pe(o,"click",gt),s._preventClick=!1})}}),o2=function(o,s,u){return new Sw(o,s,u)},ah=Ia.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(o){var s="leaflet-control-zoom",u=Le("div",s+" leaflet-bar"),f=this.options;return this._zoomInButton=this._createButton(f.zoomInText,f.zoomInTitle,s+"-in",u,this._zoomIn),this._zoomOutButton=this._createButton(f.zoomOutText,f.zoomOutTitle,s+"-out",u,this._zoomOut),this._updateDisabled(),o.on("zoomend zoomlevelschange",this._updateDisabled,this),u},onRemove:function(o){o.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(o){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(o.shiftKey?3:1))},_zoomOut:function(o){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(o.shiftKey?3:1))},_createButton:function(o,s,u,f,m){var y=Le("a",u,f);return y.innerHTML=o,y.href="#",y.title=s,y.setAttribute("role","button"),y.setAttribute("aria-label",s),bs(y),ie(y,"click",jo),ie(y,"click",m,this),ie(y,"click",this._refocusOnMap,this),y},_updateDisabled:function(){var o=this._map,s="leaflet-disabled";Ke(this._zoomInButton,s),Ke(this._zoomOutButton,s),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||o._zoom===o.getMinZoom())&&(fe(this._zoomOutButton,s),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||o._zoom===o.getMaxZoom())&&(fe(this._zoomInButton,s),this._zoomInButton.setAttribute("aria-disabled","true"))}});we.mergeOptions({zoomControl:!0}),we.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ah,this.addControl(this.zoomControl))});var n2=function(o){return new ah(o)},_w=Ia.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(o){var s="leaflet-control-scale",u=Le("div",s),f=this.options;return this._addScales(f,s+"-line",u),o.on(f.updateWhenIdle?"moveend":"move",this._update,this),o.whenReady(this._update,this),u},onRemove:function(o){o.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(o,s,u){o.metric&&(this._mScale=Le("div",s,u)),o.imperial&&(this._iScale=Le("div",s,u))},_update:function(){var o=this._map,s=o.getSize().y/2,u=o.distance(o.containerPointToLatLng([0,s]),o.containerPointToLatLng([this.options.maxWidth,s]));this._updateScales(u)},_updateScales:function(o){this.options.metric&&o&&this._updateMetric(o),this.options.imperial&&o&&this._updateImperial(o)},_updateMetric:function(o){var s=this._getRoundNum(o),u=s<1e3?s+" m":s/1e3+" km";this._updateScale(this._mScale,u,s/o)},_updateImperial:function(o){var s=o*3.2808399,u,f,m;s>5280?(u=s/5280,f=this._getRoundNum(u),this._updateScale(this._iScale,f+" mi",f/u)):(m
2=this._getRoundNum(s),this._updateScale(this._iScale,m+" ft",m/s))},_updateScale:function(o,s,u){o.style.width=Math.round(this.options.maxWidth*u)+"px",o.innerHTML=s},_getRoundNum:function(o){var s=Math.pow(10,(Math.floor(o)+"").length-1),u=o/s;return u=u>=10?10:u>=5?5:u>=3?3:u>=2?2:1,s*u}}),i2=function(o){return new _w(o)},s2='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',rh=Ia.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(J.inlineSvg?s2+" ":"")+"Leaflet</a>"},initialize:function(o){b(this,o),this._attributions={}},onAdd:function(o){o.attributionControl=this,this._container=Le("div","leaflet-control-attribution"),bs(this._container);for(var s in o._layers)o._layers[s].getAttribution&&this.addAttribution(o._layers[s].getAttribution());return this._update(),o.on("layeradd",this._addAttribution,this),this._container},onRemove:function(o){o.off("layeradd",this._addAttribution,this)},_addAttribution:function(o){o.layer.getAttribution&&(this.addAttribution(o.layer.getAttribution()),o.layer.once("remove",function(){this.removeAttribution(o.layer.getAttribution())},this))},setPrefix:function(o){return this.options.prefix=o,this._update(),this},addAttribution:function(o){return o?(this._attributions[o]||(this._attributions[o]=0),this._attributions[o]++,this._update(),this):this},removeAttribution:function(o){return o?(this._attributions[o]&&(this._attributions[o]--,this._update()),this):this},_update:function(){if(this._map){var o=[];for(var s in this._attributions)this._attributions[s]&&o.push(s);var u=[];this.options.prefix&&u.push(this.options.prefix),o.length&&u.push(o.join(", ")),this._container.innerHTML=u.join(' <span aria-hidden="true">|</span> ')}}});we.mergeOptions({attributionControl:!0}),we.addInitHook(function(){this.options.attributionControl&&new rh().addTo(this)});var l2=function(o){return new rh(o)};Ia.Layers=Sw,Ia.Zoom=ah,Ia.Scale=_w,Ia.Attribution=rh,Ls.layers=o2,Ls.zoom=n2,Ls.scale=i2,Ls.attribution=l2;var Xa=X.extend({initialize:function(o){this._map=o},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Xa.addTo=function(o,s){return o.addHandler(s,this),this};var u2={Events:Q},Cw=J.touch?"touchstart mousedown":"mousedown",$r=ye.extend({options:{clickTolerance:3},initialize:function(o,s,u,f){b(this,f),this._element=o,this._dragStartTarget=s||o,this._preventOutline=u},enable:function(){this._enabled||(ie(this._dragStartTarget,Cw,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&($r._dragging===this&&this.finishDrag(!0),Pe(this._dragStartTarget,Cw,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(o){if(this._enabled&&(this._moved=!1,!jp(this._element,"leaflet-zoom-anim"))){if(o.touches&&o.touches.length!==1){$r._dragging===this&&this.finishDrag();return}if(!($r._dragging||o.shiftKey||o.which!==1&&o.button!==1&&!o.touches)&&($r._dragging=this,this._preventOutline&&Xp(this._element),Gp(),xs(),!this._moving)){this.fire("down");var s=o.touches?o.touches[0]:o,u=vw(this._element);this._startPoint=new $(s.clientX,s.clientY),this._startPos=Uo(this._element),this._parentScale=Kp(u);var f=o.type==="mousedown";ie(document,f?"mousemove":"touchmove",this._onMove,this),ie(document,f?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(o){if(this._enabled){if(o.touches&&o.touches.length>1){this._moved=!0;return}var s=o.touches&&o.touches.length===1?o.touches[0]:o,u=new $(s.clientX,s.clientY)._subtract(this._startPoint);!u.x&&!u.y||Math.abs(u.x)+Math.abs(u.y)<this.options.clickTolerance||(u.x/=this._parentScale.x,u.y/=this._parentScale.y,gt(o),this._moved||(this.fire("dragstart"),this._moved=!0,fe(document.body,"leaflet-dragging"),this._lastTarget=o.target||o.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),fe(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(u),this._moving=!0,this._lastEvent=o,this._updatePosition())}},_updatePosition:function(){var o={originalEvent:this._lastEvent};this.fire("predrag",o),et(this._element,this._newPos),this.fire("drag",o)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(o){Ke(document.body,"leaflet-dragging"),this._lastTarget&&(Ke(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),Pe(document,"mousemove touchmove",this._onMove,this),Pe(document,"mouseup touchend touchcancel",this._onUp,this),Zp(),ws();var s=this._moved&&this._moving;this._moving=!1,$r._dragging=!1,s&&this.fire("dragend",{noInertia:o,distance:this._newPos.distanceTo(this._startPos)})}});function kw(o,s,u){var f,m=[1,4,2,8],y,I,T,M,N,W,re,he;for(y=0,W=o.length;y<W;y++)o[y]._code=qo(o[y],s);for(T=0;T<4;T++){for(re=m[T],f=[],y=0,W=o.length,I=W-1;y<W;I=y++)M=o[y],N=o[I],M._code&re?N._code&re||(he=td(N,M,re,s,u),he._code=qo(he,s),f.pu
2sh(he)):(N._code&re&&(he=td(N,M,re,s,u),he._code=qo(he,s),f.push(he)),f.push(M));o=f}return o}function Iw(o,s){var u,f,m,y,I,T,M,N,W;if(!o||o.length===0)throw new Error("latlngs not passed");la(o)||(console.warn("latlngs are not flat! Only the first ring will be used"),o=o[0]);var re=le([0,0]),he=ce(o),Tt=he.getNorthWest().distanceTo(he.getSouthWest())*he.getNorthEast().distanceTo(he.getNorthWest());Tt<1700&&(re=oh(o));var ct=o.length,ua=[];for(u=0;u<ct;u++){var Vt=le(o[u]);ua.push(s.project(le([Vt.lat-re.lat,Vt.lng-re.lng])))}for(T=M=N=0,u=0,f=ct-1;u<ct;f=u++)m=ua[u],y=ua[f],I=m.y*y.x-y.y*m.x,M+=(m.x+y.x)*I,N+=(m.y+y.y)*I,T+=I*3;T===0?W=ua[0]:W=[M/T,N/T];var jn=s.unproject(H(W));return le([jn.lat+re.lat,jn.lng+re.lng])}function oh(o){for(var s=0,u=0,f=0,m=0;m<o.length;m++){var y=le(o[m]);s+=y.lat,u+=y.lng,f++}return le([s/f,u/f])}var d2={__proto__:null,clipPolygon:kw,polygonCenter:Iw,centroid:oh};function Pw(o,s){if(!s||!o.length)return o.slice();var u=s*s;return o=p2(o,u),o=f2(o,u),o}function Rw(o,s,u){return Math.sqrt(Ss(o,s,u,!0))}function c2(o,s,u){return Ss(o,s,u)}function f2(o,s){var u=o.length,f=typeof Uint8Array<"u"?Uint8Array:Array,m=new f(u);m[0]=m[u-1]=1,nh(o,m,s,0,u-1);var y,I=[];for(y=0;y<u;y++)m[y]&&I.push(o[y]);return I}function nh(o,s,u,f,m){var y=0,I,T,M;for(T=f+1;T<=m-1;T++)M=Ss(o[T],o[f],o[m],!0),M>y&&(I=T,y=M);y>u&&(s[I]=1,nh(o,s,u,f,I),nh(o,s,u,I,m))}function p2(o,s){for(var u=[o[0]],f=1,m=0,y=o.length;f<y;f++)h2(o[f],o[m])>s&&(u.push(o[f]),m=f);return m<y-1&&u.push(o[y-1]),u}var Ew;function Tw(o,s,u,f,m){var y=f?Ew:qo(o,u),I=qo(s,u),T,M,N;for(Ew=I;;){if(!(y|I))return[o,s];if(y&I)return!1;T=y||I,M=td(o,s,T,u,m),N=qo(M,u),T===y?(o=M,y=N):(s=M,I=N)}}function td(o,s,u,f,m){var y=s.x-o.x,I=s.y-o.y,T=f.min,M=f.max,N,W;return u&8?(N=o.x+y*(M.y-o.y)/I,W=M.y):u&4?(N=o.x+y*(T.y-o.y)/I,W=T.y):u&2?(N=M.x,W=o.y+I*(M.x-o.x)/y):u&1&&(N=T.x,W=o.y+I*(T.x-o.x)/y),new $(N,W,m)}function qo(o,s){var u=0;return o.x<s.min.x?u|=1:o.x>s.max.x&&(u|=2),o.y<s.min.y?u|=4:o.y>s.max.y&&(u|=8),u}function h2(o,s){var u=s.x-o.x,f=s.y-o.y;return u*u+f*f}function Ss(o,s,u,f){var m=s.x,y=s.y,I=u.x-m,T=u.y-y,M=I*I+T*T,N;return M>0&&(N=((o.x-m)*I+(o.y-y)*T)/M,N>1?(m=u.x,y=u.y):N>0&&(m+=I*N,y+=T*N)),I=o.x-m,T=o.y-y,f?I*I+T*T:new $(m,y)}function la(o){return!v(o[0])||typeof o[0][0]!="object"&&typeof o[0][0]<"u"}function Aw(o){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),la(o)}function Mw(o,s){var u,f,m,y,I,T,M,N;if(!o||o.length===0)throw new Error("latlngs not passed");la(o)||(console.warn("latlngs are not flat! Only the first ring will be used"),o=o[0]);var W=le([0,0]),re=ce(o),he=re.getNorthWest().distanceTo(re.getSouthWest
2())*re.getNorthEast().distanceTo(re.getNorthWest());he<1700&&(W=oh(o));var Tt=o.length,ct=[];for(u=0;u<Tt;u++){var ua=le(o[u]);ct.push(s.project(le([ua.lat-W.lat,ua.lng-W.lng])))}for(u=0,f=0;u<Tt-1;u++)f+=ct[u].distanceTo(ct[u+1])/2;if(f===0)N=ct[0];else for(u=0,y=0;u<Tt-1;u++)if(I=ct[u],T=ct[u+1],m=I.distanceTo(T),y+=m,y>f){M=(y-f)/m,N=[T.x-M*(T.x-I.x),T.y-M*(T.y-I.y)];break}var Vt=s.unproject(H(N));return le([Vt.lat+W.lat,Vt.lng+W.lng])}var m2={__proto__:null,simplify:Pw,pointToSegmentDistance:Rw,closestPointOnSegment:c2,clipSegment:Tw,_getEdgeIntersection:td,_getBitCode:qo,_sqClosestPointOnSegment:Ss,isFlat:la,_flat:Aw,polylineCenter:Mw},ih={project:function(o){return new $(o.lng,o.lat)},unproject:function(o){return new ve(o.y,o.x)},bounds:new Y([-180,-90],[180,90])},sh={R:6378137,R_MINOR:6356752314245179e-9,bounds:new Y([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(o){var s=Math.PI/180,u=this.R,f=o.lat*s,m=this.R_MINOR/u,y=Math.sqrt(1-m*m),I=y*Math.sin(f),T=Math.tan(Math.PI/4-f/2)/Math.pow((1-I)/(1+I),y/2);return f=-u*Math.log(Math.max(T,1e-10)),new $(o.lng*s*u,f)},unproject:function(o){for(var s=180/Math.PI,u=this.R,f=this.R_MINOR/u,m=Math.sqrt(1-f*f),y=Math.exp(-o.y/u),I=Math.PI/2-2*Math.atan(y),T=0,M=.1,N;T<15&&Math.abs(M)>1e-7;T++)N=m*Math.sin(I),N=Math.pow((1-N)/(1+N),m/2),M=Math.PI/2-2*Math.atan(y*N)-I,I+=M;return new ve(I*s,o.x*s/u)}},g2={__proto__:null,LonLat:ih,Mercator:sh,SphericalMercator:Lt},v2=a({},_a,{code:"EPSG:3395",projection:sh,transformation:(function(){var o=.5/(Math.PI*sh.R);return Gr(o,.5,-o,.5)})()}),Dw=a({},_a,{code:"EPSG:4326",projection:ih,transformation:Gr(1/180,1,-1/180,.5)}),x2=a({},Et,{projection:ih,transformation:Gr(1,0,-1,0),scale:function(o){return Math.pow(2,o)},zoom:function(o){return Math.log(o)/Math.LN2},distance:function(o,s){var u=s.lng-o.lng,f=s.lat-o.lat;return Math.sqrt(u*u+f*f)},infinite:!0});Et.Earth=_a,Et.EPSG3395=v2,Et.EPSG3857=hs,Et.EPSG900913=$t,Et.EPSG4326=Dw,Et.Simple=x2;var Pa=ye.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(o){return o.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(o){return o&&o.removeLayer(this),this},getPane:function(o){return this._map.getPane(o?this.options[o]||o:this.options.pane)},addInteractiveTarget:function(o){return this._map._targets[l(o)]=this,this},removeInteractiveTarget:function(o){return delete this._map._targets[l(o)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(o){var s=o.target;if(s.hasLayer(this)){if(this._map=s,this._zoomAnimated=s._zoomAnimated,this.getEvents){var u=this.getEvents();s.on(u,this),this.once("remove",function(){s.off(u,this)},this)}this.onAdd(s),this.fire("add"),s.fire("layeradd",{layer:this})}}});we.include({addLayer:function(o){if(!o._layerAdd)throw new Error("The provided object is not a Layer.");var s=l(o);return this._layers[s]?this:(this._layers[s]=o,o._mapToAdd=this,o.beforeAdd&&o.beforeAdd(this),this.whenReady(o._layerAdd,o),this)},removeLayer:function(o){var s=l(o);return this._layers[s]?(this._loaded&&o.onRemove(this),delete this._layers[s],this._loaded&&(this.fire("layerremove",{layer:o}),o.fire("remove")),o._map=o._mapToAdd=null,this):this},hasLayer:function(o){return l(o)in this._layers},eachLayer:function(o,s){for(var u in this._layers)o.call(s,this._layers[u]);return this},_addLayers:function(o){o=o?v(o)?o:[o]:[];for(var s=0,u=o.length;s<u;s++)this.addLayer(o[s])},_addZoomLimit:function(o){(!isNaN(o.options.maxZoom)||!isNaN(o.options.minZoom))&&(this._zoomBoundLayers[l(o)]=o,this._updateZoomLevels())},_removeZoomLimit:function(o){var s=l(o);this._zoomBoundLayers[s]&&(delete this._zoomBoundLayers[s],this._updateZoomLevels())},_updateZoomLevels:function(){var o=1/0,s=-1/0,u=this._getZoomSpan();for(var f in this._zoomBoundLayers){var m=this._zoomBoundLayers[f].options;o=m.minZoom===void 0?o:Math.min(o,m.minZoom),s=m.maxZoom===void 0?s:Math.max(s,m.maxZoom)}this._layersMaxZoom=s===-1/0?void 0:s,this._layersMinZoom=o===1/0?void 0:o,u!==this._getZoomSpan()&&this.fire("zoomlevelschange"),this.options.maxZoom===void 0&&this._layersMaxZo
2om&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var Nn=Pa.extend({initialize:function(o,s){b(this,s),this._layers={};var u,f;if(o)for(u=0,f=o.length;u<f;u++)this.addLayer(o[u])},addLayer:function(o){var s=this.getLayerId(o);return this._layers[s]=o,this._map&&this._map.addLayer(o),this},removeLayer:function(o){var s=o in this._layers?o:this.getLayerId(o);return this._map&&this._layers[s]&&this._map.removeLayer(this._layers[s]),delete this._layers[s],this},hasLayer:function(o){var s=typeof o=="number"?o:this.getLayerId(o);return s in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(o){var s=Array.prototype.slice.call(arguments,1),u,f;for(u in this._layers)f=this._layers[u],f[o]&&f[o].apply(f,s);return this},onAdd:function(o){this.eachLayer(o.addLayer,o)},onRemove:function(o){this.eachLayer(o.removeLayer,o)},eachLayer:function(o,s){for(var u in this._layers)o.call(s,this._layers[u]);return this},getLayer:function(o){return this._layers[o]},getLayers:function(){var o=[];return this.eachLayer(o.push,o),o},setZIndex:function(o){return this.invoke("setZIndex",o)},getLayerId:function(o){return l(o)}}),w2=function(o,s){return new Nn(o,s)},vr=Nn.extend({addLayer:function(o){return this.hasLayer(o)?this:(o.addEventParent(this),Nn.prototype.addLayer.call(this,o),this.fire("layeradd",{layer:o}))},removeLayer:function(o){return this.hasLayer(o)?(o in this._layers&&(o=this._layers[o]),o.removeEventParent(this),Nn.prototype.removeLayer.call(this,o),this.fire("layerremove",{layer:o})):this},setStyle:function(o){return this.invoke("setStyle",o)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var o=new de;for(var s in this._layers){var u=this._layers[s];o.extend(u.getBounds?u.getBounds():u.getLatLng())}return o}}),y2=function(o,s){return new vr(o,s)},zn=X.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(o){b(this,o)},createIcon:function(o){return this._createIcon("icon",o)},createShadow:function(o){return this._createIcon("shadow",o)},_createIcon:function(o,s){var u=this._getIconUrl(o);if(!u){if(o==="icon")throw new Error("iconUrl not set in Icon options (see the docs).");return null}var f=this._createImg(u,s&&s.tagName==="IMG"?s:null);return this._setIconStyles(f,o),(this.options.crossOrigin||this.options.crossOrigin==="")&&(f.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),f},_setIconStyles:function(o,s){var u=this.options,f=u[s+"Size"];typeof f=="number"&&(f=[f,f]);var m=H(f),y=H(s==="shadow"&&u.shadowAnchor||u.iconAnchor||m&&m.divideBy(2,!0));o.className="leaflet-marker-"+s+" "+(u.className||""),y&&(o.style.marginLeft=-y.x+"px",o.style.marginTop=-y.y+"px"),m&&(o.style.width=m.x+"px",o.style.height=m.y+"px")},_createImg:function(o,s){return s=s||document.createElement("img"),s.src=o,s},_getIconUrl:function(o){return J.retina&&this.options[o+"RetinaUrl"]||this.options[o+"Url"]}});function b2(o){return new zn(o)}var _s=zn.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(o){return typeof _s.imagePath!="string"&&(_s.imagePath=this._detectIconPath()),(this.options.imagePath||_s.imagePath)+zn.prototype._getIconUrl.call(this,o)},_stripUrl:function(o){var s=function(u,f,m){var y=f.exec(u);return y&&y[m]};return o=s(o,/^url\((['"])?(.+)\1\)$/,2),o&&s(o,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var o=Le("div","leaflet-default-icon-path",document.body),s=vs(o,"background-image")||vs(o,"backgroundImage");if(document.body.removeChild(o),s=this._stripUrl(s),s)return s;var u=document.querySelector('link[href$="leaflet.css"]');return u?u.href.substring(0,u.href.length-11-1):""}}
vendor: 4,224 bytes, line 2
2),Fw=Xa.extend({initialize:function(o){this._marker=o},addHooks:function(){var o=this._marker._icon;this._draggable||(this._draggable=new $r(o,o,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),fe(o,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&Ke(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(o){var s=this._marker,u=s._map,f=this._marker.options.autoPanSpeed,m=this._marker.options.autoPanPadding,y=Uo(s._icon),I=u.getPixelBounds(),T=u.getPixelOrigin(),M=Ie(I.min._subtract(T).add(m),I.max._subtract(T).subtract(m));if(!M.contains(y)){var N=H((Math.max(M.max.x,y.x)-M.max.x)/(I.max.x-M.max.x)-(Math.min(M.min.x,y.x)-M.min.x)/(I.min.x-M.min.x),(Math.max(M.max.y,y.y)-M.max.y)/(I.max.y-M.max.y)-(Math.min(M.min.y,y.y)-M.min.y)/(I.min.y-M.min.y)).multiplyBy(f);u.panBy(N,{animate:!1}),this._draggable._newPos._add(N),this._draggable._startPos._add(N),et(s._icon,this._draggable._newPos),this._onDrag(o),this._panRequest=V(this._adjustPan.bind(this,o))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(o){this._marker.options.autoPan&&(D(this._panRequest),this._panRequest=V(this._adjustPan.bind(this,o)))},_onDrag:function(o){var s=this._marker,u=s._shadow,f=Uo(s._icon),m=s._map.layerPointToLatLng(f);u&&et(u,f),s._latlng=m,o.latlng=m,o.oldLatLng=this._oldLatLng,s.fire("move",o).fire("drag",o)},_onDragEnd:function(o){D(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",o)}}),ad=Pa.extend({options:{icon:new _s,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(o,s){b(this,s),this._latlng=le(o)},onAdd:function(o){this._zoomAnimated=this._zoomAnimated&&o.options.markerZoomAnimation,this._zoomAnimated&&o.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(o){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&o.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(o){var s=this._latlng;return this._latlng=le(o),this.update(),this.fire("move",{oldLatLng:s,latlng:this._latlng})},setZIndexOffset:function(o){return this.options.zIndexOffset=o,this.update()},getIcon:function(){return this.options.icon},setIcon:function(o){return this.options.icon=o,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var o=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(o)}return this},_initIcon:function(){var o=this.options,s="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),u=o.icon.createIcon(this._icon),f=!1;u!==this._icon&&(this._icon&&this._removeIcon(),f=!0,o.title&&(u.title=o.title),u.tagName==="IMG"&&(u.alt=o.alt||"")),fe(u,s),o.keyboard&&(u.tabIndex="0",u.setAttribute("role","button")),this._icon=u,o.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&ie(u,"focus",this._panOnFocus,this);var m=o.icon.createShadow(this._shadow),y=!1;m!==this._shadow&&(this._removeShadow(),y=!0),m&&(fe(m,s),m.alt=""),this._shadow=m,o.opacity<1&&this._updateOpacity(),f&&this.getPane().appendChild(this._icon),this._initInteraction(),m&&y&&this.getPane(o.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}
vendor: 4,632 bytes, line 2
2),this.options.autoPanOnFocus&&Pe(this._icon,"focus",this._panOnFocus,this),ze(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&ze(this._shadow),this._shadow=null},_setPos:function(o){this._icon&&et(this._icon,o),this._shadow&&et(this._shadow,o),this._zIndex=o.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(o){this._icon&&(this._icon.style.zIndex=this._zIndex+o)},_animateZoom:function(o){var s=this._map._latLngToNewLayerPoint(this._latlng,o.zoom,o.center).round();this._setPos(s)},_initInteraction:function(){if(this.options.interactive&&(fe(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Fw)){var o=this.options.draggable;this.dragging&&(o=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Fw(this),o&&this.dragging.enable()}},setOpacity:function(o){return this.options.opacity=o,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var o=this.options.opacity;this._icon&&sa(this._icon,o),this._shadow&&sa(this._shadow,o)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var o=this._map;if(o){var s=this.options.icon.options,u=s.iconSize?H(s.iconSize):H(0,0),f=s.iconAnchor?H(s.iconAnchor):H(0,0);o.panInside(this._latlng,{paddingTopLeft:f,paddingBottomRight:u.subtract(f)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}});function L2(o,s){return new ad(o,s)}var Xr=Pa.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(o){this._renderer=o.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(o){return b(this,o),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&o&&Object.prototype.hasOwnProperty.call(o,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),rd=Xr.extend({options:{fill:!0,radius:10},initialize:function(o,s){b(this,s),this._latlng=le(o),this._radius=this.options.radius},setLatLng:function(o){var s=this._latlng;return this._latlng=le(o),this.redraw(),this.fire("move",{oldLatLng:s,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(o){return this.options.radius=this._radius=o,this.redraw()},getRadius:function(){return this._radius},setStyle:function(o){var s=o&&o.radius||this._radius;return Xr.prototype.setStyle.call(this,o),this.setRadius(s),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var o=this._radius,s=this._radiusY||o,u=this._clickTolerance(),f=[o+u,s+u];this._pxBounds=new Y(this._point.subtract(f),this._point.add(f))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(o){return o.distanceTo(this._point)<=this._radius+this._clickTolerance()}});function S2(o,s){return new rd(o,s)}var lh=rd.extend({initialize:function(o,s,u){if(typeof s=="number"&&(s=a({},u,{radius:s})),b(this,s),this._latlng=le(o),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(o){return this._mRadius=o,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var o=[this._radius,this._radiusY||this._radius];return new de(this._map.layerPointToLatLng(this._point.subtract(o)),this._map.layerPointToLatLng(this._point.add(o)))},setStyle:Xr.prototype.setStyle,_project:function(){var o=this._latlng.lng,s=this._latlng.lat,u=this._map,f=u.options.crs;if(f.distance===_a.distance){var m=Math.PI/180,y=this._mRadius/_a.R/m,I=u.project([s+y,o]),T=u.project([s-y,o]),M=I.add(T).divideBy(2),N=u.unproject(M).lat,W
2=Math.acos((Math.cos(y*m)-Math.sin(s*m)*Math.sin(N*m))/(Math.cos(s*m)*Math.cos(N*m)))/m;(isNaN(W)||W===0)&&(W=y/Math.cos(Math.PI/180*s)),this._point=M.subtract(u.getPixelOrigin()),this._radius=isNaN(W)?0:M.x-u.project([N,o-W]).x,this._radiusY=M.y-I.y}else{var re=f.unproject(f.project(this._latlng).subtract([this._mRadius,0]));this._point=u.latLngToLayerPoint(this._latlng),this._radius=this._point.x-u.latLngToLayerPoint(re).x}this._updateBounds()}});function _2(o,s,u){return new lh(o,s,u)}var xr=Xr.extend({options:{smoothFactor:1,noClip:!1},initialize:function(o,s){b(this,s),this._setLatLngs(o)},getLatLngs:function(){return this._latlngs},setLatLngs:function(o){return this._setLatLngs(o),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(o){for(var s=1/0,u=null,f=Ss,m,y,I=0,T=this._parts.length;I<T;I++)for(var M=this._parts[I],N=1,W=M.length;N<W;N++){m=M[N-1],y=M[N];var re=f(o,m,y,!0);re<s&&(s=re,u=f(o,m,y))}return u&&(u.distance=Math.sqrt(s)),u},getCenter:function(){if(!this._map)throw new Error("Mu
2st add layer to map before using getCenter()");return Mw(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(o,s){return s=s||this._defaultShape(),o=le(o),s.push(o),this._bounds.extend(o),this.redraw()},_setLatLngs:function(o){this._bounds=new de,this._latlngs=this._convertLatLngs(o)},_defaultShape:function(){return la(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(o){for(var s=[],u=la(o),f=0,m=o.length;f<m;f++)u?(s[f]=le(o[f]),this._bounds.extend(s[f])):s[f]=this._convertLatLngs(o[f]);return s},_project:function(){var o=new Y;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,o),this._bounds.isValid()&&o.isValid()&&(this._rawPxBounds=o,this._updateBounds())},_updateBounds:function(){var o=this._clickTolerance(),s=new $(o,o);this._rawPxBounds&&(this._pxBounds=new Y([this._rawPxBounds.min.subtract(s),this._rawPxBounds.max.add(s)]))},_projectLatlngs:function(o,s,u){var f=o[0]instanceof ve,m=o.length,y,I;if(f){for(I=[],y=0;y<m;y++)I[y]=this._map.latLngToLayerPoint(o[y]),u.extend(I[y]);s.push(I)}else for(y=0;y<m;y++)this._projectLatlngs(o[y],s,u)},_clipPoints:function(){var o=this._renderer._bounds;if(this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(o))){if(this.options.noClip){this._parts=this._rings;return}var s=this._parts,u,f,m,y,I,T,M;for(u=0,m=0,y=this._rings.length;u<y;u++)for(M=this._rings[u],f=0,I=M.length;f<I-1;f++)T=Tw(M[f],M[f+1],o,f,!0),T&&(s[m]=s[m]||[],s[m].push(T[0]),(T[1]!==M[f+1]||f===I-2)&&(s[m].push(T[1]),m++))}},_simplifyPoints:function(){for(var o=this._parts,s=this.options.smoothFactor,u=0,f=o.length;u<f;u++)o[u]=Pw(o[u],s)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(o,s){var u,f,m,y,I,T,M=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(o))return!1;for(u=0,y=this._parts.length;u<y;u++)for(T=this._parts[u],f=0,I=T.length,m=I-1;f<I;m=f++)if(!(!s&&f===0)&&Rw(o,T[m],T[f])<=M)return!0;return!1}});function C2(o,s){return new xr(o,s)}xr._flat=Aw;var Vn=xr.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length}
2,getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return Iw(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(o){var s=xr.prototype._convertLatLngs.call(this,o),u=s.length;return u>=2&&s[0]instanceof ve&&s[0].equals(s[u-1])&&s.pop(),s},_setLatLngs:function(o){xr.prototype._setLatLngs.call(this,o),la(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return la(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var o=this._renderer._bounds,s=this.options.weight,u=new $(s,s);if(o=new Y(o.min.subtract(u),o.max.add(u)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(o))){if(this.options.noClip){this._parts=this._rings;return}for(var f=0,m=this._rings.length,y;f<m;f++)y=kw(this._rings[f],o,!0),y.length&&this._parts.push(y)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(o){var s=!1,u,f,m,y,I,T,M,N;if(!this._pxBounds||!this._pxBounds.contains(o))return!1;for(y=0,M=this._parts.length;y<M;y++)for(u=this._parts[y],I=0,N=u.length,T=N-1;I<N;T=I++)f=u[I],m=u[T],f.y>o.y!=m.y>o.y&&o.x<(m.x-f.x)*(o.y-f.y)/(m.y-f.y)+f.x&&(s=!s);return s||xr.prototype._containsPoint.call(this,o,!0)}});function k2(o,s){return new Vn(o,s)}var wr=vr.extend({initialize:function(o,s){b(this,s),this._layers={},o&&this.addData(o)},addData:function(o){var s=v(o)?o:o.features,u,f,m;if(s){for(u=0,f=s.length;u<f;u++)m=s[u],(m.geometries||m.geometry||m.features||m.coordinates)&&this.addData(m);return this}var y=this.options;if(y.filter&&!y.filter(o))return this;var I=od(o,y);return I?(I.feature=sd(o),I.defaultOptions=I.options,this.resetStyle(I),y.onEachFeature&&y.onEachFeature(o,I),this.addLayer(I)):this},resetStyle:function(o){return o===void 0?this.eachLayer(this.resetStyle,this):(o.options=a({},o.defaultOptions),this._setLayerStyle(o,this.options.style),this)},setStyle:function(o){return this.eachLayer(function(s){this._setLayerStyle(s,o)},this)},_setLayerStyle:function(o,s){o.setStyle&&(typeof s=="function"&&(s=s(o.feature)),o.setStyle(s))}});function od(o,s){var u=o.type==="Feature"?o.geometry:o,f=u?u.coordinates:null,m=[],y=s&&s.pointToLayer,I=s&&s.coordsToLatLng||uh,T,M,N,W;if(!f&&!u)return null;switch(u.type){case"Point":return T=I(f),Bw(y,o,T,s);case"MultiPoint":for(N=0,W=f.length;N<W;N++)T=I(f[N]),m.push(Bw(y,o,T,s));return new vr(m);case"LineString":case"MultiLineString":return M=nd(f,u.type==="LineString"?0:1,I),new xr(M,s);case"Polygon":case"MultiPolygon":return M=nd(f,u.type==="Polygon"?1:2,I),new Vn(M,s);case"GeometryCollection":for(N=0,W=u.geometries.length;N<W;N++){var re=od({geometry:u.geometries[N],type:"Feature",properties:o.properties},s);re&&m.push(re)}return new vr(m);case"FeatureCollection":for(N=0,W=u.features.length;N<W;N++){var he=od(u.features[N],s);he&&m.push(he)}return new vr(m);default:throw new Error("Invalid GeoJSON object.")}}function Bw(o,s,u,f){return o?o(s,u):new ad(u,f&&f.markersInheritOptions&&f)}function uh(o){return new ve(o[1],o[0],o[2])}function nd(o,s,u){for(var f=[],m=0,y=o.length,I;m<y;m++)I=s?nd(o[m],s-1,u):(u||uh)(o[m]),f.push(I);return f}function dh(o,s){return o=le(o),o.alt!==void 0?[h(o.lng,s),h(o.lat,s),h(o.alt,s)]:[h(o.lng,s),h(o.lat,s)]}function id(o,s,u,f){for(var m=[],y=0,I=o.length;y<I;y++)m.push(s?id(o[y],la(o[y])?0:s-1,u,f):dh(o[y],f));return!s&&u&&m.length>0&&m.push(m[0].slice()),m}function Un(o,s){return o.feature?a({},o.feature,{geometry:s}):sd(s)}function sd(o){return o.type==="Feature"||o.type==="FeatureCollection"?o:{type:"Feature",properties:{},geometry:o}}var ch={toGeoJSON:function(o){return Un(this,{type:"Point",coordinates:dh(this.getLatLng(),o)})}};ad.include(ch),lh.include(ch),rd.include(ch),xr.include({toGeoJSON:function(o){var s=!la(this._latlngs),u=id(this._latlngs,s?1:0,!1,o);return Un(this,{type:(s?"Multi":"")+"LineString",coordinates:u})}}),Vn.include({toGeoJSON:function(o){var s=!la(this._latlngs),u=s&&!la(this._latlngs[0]),f=id(this._latlngs,u?2:s?1:0,!0,o);return s||(f=[f]),Un(this,{type:(u?"Multi":"")+"Polygon",coordinates:f})}}),Nn.include({toMultiPoint:function(o){var s=[];return this.eachLayer(function(u){s.push(u.toGeoJSON(o).geometry.coordinates)}),Un(this,{type:"MultiPoint",coordinates:s})},toGeoJSON:function(o){var s=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(s==="MultiPoint")return this.toMultiPoint(o);var u=s==="GeometryCollection",f=[];return this.eachLayer(function(m){if(m.toGeoJSON){var y=m.toGeoJSON(o);if(u)f.push(y.geometry);else{var I=sd(y);I.type==="FeatureCollection"?f.push.apply(f,I.features):f.push(I)}}}),u?Un(this,{geometries:f,type:"GeometryCollection"}):{type:"FeatureCollection",features:f}}});function Ow(o,s){return new wr(o,s)}var I2=Ow,ld=Pa.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(o,s,u){this._url=o,this._bounds=ce(s),b(this,u)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(fe(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){ze(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(o){return this.options.opacity=o,this._image&&this._updateOpacity(),this},setStyle:function(o){return o.opacity&&this.setOpacity(o.opacity),this},bringToFront:function(){return this._map&&Bn(this._image),this},bringToBack:function(){return this._map&&On(this._image),this},setUrl:function(o){return this._url=o,this._image&&(this._image.src=o),this},setBounds:function(o){return this._bounds=ce(o),this._map&&this._reset(),this},getEvents:function(){var o={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(o.zoomanim=this._animateZoom),o},setZIndex:function(o){return this.options.zIndex=o,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var o=this._url.tagName==="IMG",s=this._image=o?this._url:Le("img");if(fe(s,"leaflet-image-layer"),this._zoomAnimated&&fe(s,"leaflet-zoom-animated"),this.options.className&&fe(s,this.options.className),s.onselectstart=p,s.onmousemove=p,s.onload=n(this.fire,this,"load"),s.onerror=n(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(s.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),o){this._url=s.src;return}s.src=this._url,s.alt=this.options.alt},_animateZoom:function(o){var s=this._map.getZoomScale(o.zoom),u=this._map._latLngBoundsToNewLayerBounds(this._bounds,o.zoom,o.center).min;Vo(this._image,u,s)},_reset:function(){var o=this._image,s=new Y(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),u=s.getSize();et(o,s.min),o.style.width=u.x+"px",o.style.height=u.y+"px"},_updateOpacity:function(){sa(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var o=this.options.errorOverlayUrl;o&&this._url!==o&&(this._url=o,this._image.src=o)},getCenter:function(){return this._bounds.getCenter()}}),P2=function(o,s,u){return new ld(o,s,u)},Nw=ld.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInl
2ine:!0},_initImage:function(){var o=this._url.tagName==="VIDEO",s=this._image=o?this._url:Le("video");if(fe(s,"leaflet-image-layer"),this._zoomAnimated&&fe(s,"leaflet-zoom-animated"),this.options.className&&fe(s,this.options.className),s.onselectstart=p,s.onmousemove=p,s.onloadeddata=n(this.fire,this,"load"),o){for(var u=s.getElementsByTagName("source"),f=[],m=0;m<u.length;m++)f.push(u[m].src);this._url=u.length>0?f:[s.src];return}v(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(s.style,"objectFit")&&(s.style.objectFit="fill"),s.autoplay=!!this.options.autoplay,s.loop=!!this.options.loop,s.muted=!!this.options.muted,s.playsInline=!!this.options.playsInline;for(var y=0;y<this._url.length;y++){var I=Le("source");I.src=this._url[y],s.appendChild(I)}}});function R2(o,s,u){return new Nw(o,s,u)}var zw=ld.extend({_initImage:function(){var o=this._image=this._url;fe(o,"leaflet-image-layer"),this._zoomAnimated&&fe(o,"leaflet-zoom-animated"),this.options.className&&fe(o,this.options.className),o.onselectstart=p,o.onmousemove=p}});function E2(o,s,u){return new zw(o,s,u)}var Ka=Pa.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(o,s){o&&(o instanceof ve||v(o))?(this._latlng=le(o),b(this,s)):(b(this,o),this._source=s),this.options.content&&(this._content=this.options.content)},openOn:function(o){return o=arguments.length?o:this._source._map,o.hasLayer(this)||o.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(o){return this._map?this.close():(arguments.length?this._source=o:o=this._source,this._prepareOpen(),this.openOn(o._map)),this},onAdd:function(o){this._zoomAnimated=o._zoomAnimated,this._container||this._initLayout(),o._fadeAnimated&&sa(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),o._fadeAnimated&&sa(this._container,1),this.bringToFront(),this.options.interactive&&(fe(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(o){o._fadeAnimated?(sa(this._container,0),this._removeTimeout=setTimeout(n(ze,void 0,this._container),200)):ze(this._container),this.options.interactive&&(Ke(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(o){return this._latlng=le(o),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(o){return this._content=o,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var o={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(o.zoomanim=this._animateZoom),o},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&Bn(this._container),this},bringToBack:function(){return this._map&&On(this._container),this},_prepareOpen:function(o){var s=this._source;if(!s._map)return!1;if(s instanceof vr){s=null;var u=this._source._layers;for(var f in u)if(u[f]._map){s=u[f];break}if(!s)return!1;this._source=s}if(!o)if(s.getCenter)o=s.getCenter();else if(s.getLatLng)o=s.getLatLng();else if(s.getBounds)o=s.getBounds().getCenter();else throw new Error("Unable to get source layer LatLng.");return this.setLatLng(o),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var o=this._contentNode,s=typeof this._content=="function"?this._content(this._source||this):this._content;if(typeof s=="string")o.innerHTML=s;else{for(;o.hasChildNodes();)o.removeChild(o.firstChild);o.appendChild(s)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var o=this._map.latLngToLayerPoint(this._latlng),s=H(this.options.offset),u=this._getAnchor();this._zoomAnimated?et(this._container,o.add(u)):s=s.add(o).add(u);var f=this._containerBottom=-s.y,m=this._containerLeft=-Math.round(this._containerWidth/2)+s.x;this._container.style.bottom=f+"px",this._container.style.left=m+"px"}},_getAnchor:function(){return[0,0]}});we.include({_initOverlay:function(o,s,u,f){var m=s;return m instanceof o||(m=new o(f).setContent(s)),u&&m.setLatLng(u),m}}),Pa.include({_initOverlay:function(o,s,u,f){var m=u;
2return m instanceof o?(b(m,f),m._source=this):(m=s&&!f?s:new o(f,this),m.setContent(u)),m}});var ud=Ka.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(o){return o=arguments.length?o:this._source._map,!o.hasLayer(this)&&o._popup&&o._popup.options.autoClose&&o.removeLayer(o._popup),o._popup=this,Ka.prototype.openOn.call(this,o)},onAdd:function(o){Ka.prototype.onAdd.call(this,o),o.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof Xr||this._source.on("preclick",Ho))},onRemove:function(o){Ka.prototype.onRemove.call(this,o),o.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof Xr||this._source.off("preclick",Ho))},getEvents:function(){var o=Ka.prototype.getEvents.call(this);return(this.options.closeOnClick!==void 0?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(o.preclick=this.close),this.options.keepInView&&(o.moveend=this._adjustPan),o},_initLayout:function(){var o="leaflet-popup",s=this._container=Le("div",o+" "+(this.options.className||"")+" leaflet-zoom-animated"),u=this._wrapper=Le("div",o+"-content-wrapper",s);if(this._contentNode=Le("div",o+"-content",u),bs(s),eh(this._contentNode),ie(s,"contextmenu",Ho),this._tipContainer=Le("div",o+"-tip-container",s),this._tip=Le("div",o+"-tip",this._tipContainer),this.options.closeButton){var f=this._closeButton=Le("a",o+"-close-button",s);f.setAttribute("role","button"),f.setAttribute("aria-label","Close popup"),f.href="#close",f.innerHTML='<span aria-hidden="true">&#215;</span>',ie(f,"click",function(m){gt(m),this.close()},this)}},_updateLayout:function(){var o=this._contentNode,s=o.style;s.width="",s.whiteSpace="nowrap";var u=o.offsetWidth;u=Math.min(u,this.options.maxWidth),u=Math.max(u,this.options.minWidth),s.width=u+1+"px",s.whiteSpace="",s.height="";var f=o.offsetHeight,m=this.options.maxHeight,y="leaflet-popup-scrolled";m&&f>m?(s.height=m+"px",fe(o,y)):Ke(o,y),this._containerWidth=this._container.offsetWidth},_animateZoom:function(o){var s=this._map._latLngToNewLayerPoint(this._latlng,o.zoom,o.center),u=this._getAnchor();et(this._container,s.add(u))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var o=this._map,s=parseInt(vs(this._container,"marginBottom"),10)||0,u=this._container.offsetHeight+s,f=this._containerWidth,m=new $(this._containerLeft,-u-this._containerBottom);m._add(Uo(this._container));var y=o.layerPointToContainerPoint(m),I=H(this.options.autoPanPadding),T=H(this.options.autoPanPaddingTopLeft||I),M=H(this.options.autoPanPaddingBottomRight||I),N=o.getSize(),W=0,re=0;y.x+f+M.x>N.x&&(W=y.x+f-N.x+M.x),y.x-W-T.x<0&&(W=y.x-T.x),y.y+u+M.y>N.y&&(re=y.y+u-N.y+M.y),y.y-re-T.y<0&&(re=y.y-T.y),(W||re)&&(this.options.keepInView&&(this._autopanning=!0),o.fire("autopanstart").panBy([W,re]))}},_getAnchor:function(){return H(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),T2=function(o,s){return new ud(o,s)};we.mergeOptions({closePopupOnClick:!0}),we.include({openPopup:function(o,s,u){return this._initOverlay(ud,o,s,u).openOn(this),this},closePopup:function(o){return o=arguments.length?o:this._popup,o&&o.close(),this}}),Pa.include({bindPopup:function(o,s){return this._popup=this._initOverlay(ud,this._popup,o,s),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(o){return this._popup&&(this instanceof vr||(this._popup._source=this),this._popup._prepareOpen(o||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1}
2,setPopupContent:function(o){return this._popup&&this._popup.setContent(o),this},getPopup:function(){return this._popup},_openPopup:function(o){if(!(!this._popup||!this._map)){jo(o);var s=o.layer||o.target;if(this._popup._source===s&&!(s instanceof Xr)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(o.latlng);return}this._popup._source=s,this.openPopup(o.latlng)}},_movePopup:function(o){this._popup.setLatLng(o.latlng)},_onKeyPress:function(o){o.originalEvent.keyCode===13&&this._openPopup(o)}});var dd=Ka.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(o){Ka.prototype.onAdd.call(this,o),this.setOpacity(this.options.opacity),o.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(o){Ka.prototype.onRemove.call(this,o),o.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var o=Ka.prototype.getEvents.call(this);return this.options.permanent||(o.preclick=this.close),o},_initLayout:function(){var o="leaflet-tooltip",s=o+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=Le("div",s),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+l(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(o){var s,u,f=this._map,m=this._container,y=f.latLngToContainerPoint(f.getCenter()),I=f.layerPointToContainerPoint(o),T=this.options.direction,M=m.offsetWidth,N=m.offsetHeight,W=H(this.options.offset),re=this._getAnchor();T==="top"?(s=M/2,u=N):T==="bottom"?(s=M/2,u=0):T==="center"?(s=M/2,u=N/2):T==="right"?(s=0,u=N/2):T==="left"?(s=M,u=N/2):I.x<y.x?(T="right",s=0,u=N/2):(T="left",s=M+(W.x+re.x)*2,u=N/2),o=o.subtract(H(s,u,!0)).add(W).add(re),Ke(m,"leaflet-tooltip-right"),Ke(m,"leaflet-tooltip-left"),Ke(m,"leaflet-tooltip-top"),Ke(m,"leaflet-tooltip-bottom"),fe(m,"leaflet-tooltip-"+T),et(m,o)},_updatePosition:function(){var o=this._map.latLngToLayerPoint(this._latlng);this._setPosition(o)},setOpacity:function(o){this.options.opacity=o,this._container&&sa(this._container,o)},_animateZoom:function(o){var s=this._map._latLngToNewLayerPoint(this._latlng,o.zoom,o.center);this._setPosition(s)},_getAnchor:function(){return H(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}}),A2=function(o,s){return new dd(o,s)};we.include({openTooltip:function(o,s,u){return this._initOverlay(dd,o,s,u).openOn(this),this},closeTooltip:function(o){return o.close(),this}}),Pa.include({bindTooltip:function(o,s){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(dd,this._tooltip,o,s),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(o){if(!(!o&&this._tooltipHandlersAdded)){var s=o?"off":"on",u={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?u.add=this._openTooltip:(u.mouseover=this._openTooltip,u.mouseout=this.closeTooltip,u.click=this._openTooltip,this._map?this._addFocusListeners():u.add=this._addFocusListeners),this._tooltip.options.sticky&&(u.mousemove=this._moveTooltip),this[s](u),this._tooltipHandlersAdded=!o}},openTooltip:function(o){return this._tooltip&&(this instanceof vr||(this._tooltip._source=this),this._tooltip._prepareOpen(o)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(o){return this._tooltip&&this._tooltip.setContent(o),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(o){var s=typeof o.getElement=="function"&&o.getElement();
2s&&(ie(s,"focus",function(){this._tooltip._source=o,this.openTooltip()},this),ie(s,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(o){var s=typeof o.getElement=="function"&&o.getElement();s&&s.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(o){if(!(!this._tooltip||!this._map)){if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var s=this;this._map.once("moveend",function(){s._openOnceFlag=!1,s._openTooltip(o)});return}this._tooltip._source=o.layer||o.target,this.openTooltip(this._tooltip.options.sticky?o.latlng:void 0)}},_moveTooltip:function(o){var s=o.latlng,u,f;this._tooltip.options.sticky&&o.originalEvent&&(u=this._map.mouseEventToContainerPoint(o.originalEvent),f=this._map.containerPointToLayerPoint(u),s=this._map.layerPointToLatLng(f)),this._tooltip.setLatLng(s)}});var Vw=zn.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(o){var s=o&&o.tagName==="DIV"?o:document.createElement("div"),u=this.options;if(u.html instanceof Element?(Ku(s),s.appendChild(u.html)):s.innerHTML=u.html!==!1?u.html:"",u.bgPos){var f=H(u.bgPos);s.style.backgroundPosition=-f.x+"px "+-f.y+"px"}return this._setIconStyles(s,"icon"),s},createShadow:function(){return null}});function M2(o){return new Vw(o)}zn.Default=_s;var Cs=Pa.extend({options:{tileSize:256,opacity:1,updateWhenIdle:J.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(o){b(this,o)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(o){o._addZoomLimit(this)},onRemove:function(o){this._removeAllTiles(),ze(this._container),o._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(Bn(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(On(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(o){return this.options.opacity=o,this._updateOpacity(),this},setZIndex:function(o){return this.options.zIndex=o,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var o=this._clampZoom(this._map.getZoom());o!==this._tileZoom&&(this._tileZoom=o,this._updateLevels()),this._update()}return this},getEvents:function(){var o={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=d(this._onMoveEnd,this.options.updateInterval,this)),o.move=this._onMove),this._zoomAnimated&&(o.zoomanim=this._animateZoom),o},createTile:function(){return document.createElement("div")},getTileSize:function(){var o=this.options.tileSize;return o instanceof $?o:new $(o,o)},_updateZIndex:function(){this._container&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(o){for(var s=this.getPane().children,u=-o(-1/0,1/0),f=0,m=s.length,y;f<m;f++)y=s[f].style.zIndex,s[f]!==this._container&&y&&(u=o(u,+y));isFinite(u)&&(this.options.zIndex=u+o(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!J.ielt9){sa(this._container,this.options.opacity);var o=+new Date,s=!1,u=!1;for(var f in this._tiles){var m=this._tiles[f];if(!(!m.current||!m.loaded)){var y=Math.min(1,(o-m.loaded)/200);sa(m.el,y),y<1?s=!0:(m.active?u=!0:this._onOpaqueTile(m),m.active=!0)}}u&&!this._noPrune&&this._pruneTiles(),s&&(D(this._fadeFrame),this._fadeFrame=V(this._updateOpacity,this))}},_onOpaqueTile:p,_initContainer:function(){this._container||(this._container=Le("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var o=this._tileZoom,s=this.options.maxZoom;if(o!==void 0){for(var u in this._levels)u=Number(u),this._levels[u].el.children.length||u===o?(this._levels[u].el.style.zIndex=s-Math.abs(o-u),this._onUpdateLevel(u)):(ze(this._levels[u].el),this._removeTilesAtZoom(u),this._onRemoveLevel(u),delete this._levels[u]);var f=this._levels[o],m=this._map;return f||(f=this._levels[o]={},f.el=Le("div","leaflet-tile-container leaflet-zoom-animated",this._container),f.el.style.zIndex=s,f.origin=m.project(m.unproject(m.getPixelOrigin()),o).roun
2d(),f.zoom=o,this._setZoomTransform(f,m.getCenter(),m.getZoom()),p(f.el.offsetWidth),this._onCreateLevel(f)),this._level=f,f}},_onUpdateLevel:p,_onRemoveLevel:p,_onCreateLevel:p,_pruneTiles:function(){if(this._map){var o,s,u=this._map.getZoom();if(u>this.options.maxZoom||u<this.options.minZoom){this._removeAllTiles();return}for(o in this._tiles)s=this._tiles[o],s.retain=s.current;for(o in this._tiles)if(s=this._tiles[o],s.current&&!s.active){var f=s.coords;this._retainParent(f.x,f.y,f.z,f.z-5)||this._retainChildren(f.x,f.y,f.z,f.z+2)}for(o in this._tiles)this._tiles[o].retain||this._removeTile(o)}},_removeTilesAtZoom:function(o){for(var s in this._tiles)this._tiles[s].coords.z===o&&this._removeTile(s)},_removeAllTiles:function(){for(var o in this._tiles)this._removeTile(o)},_invalidateAll:function(){for(var o in this._levels)ze(this._levels[o].el),this._onRemoveLevel(Number(o)),delete this._levels[o];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(o,s,u,f){var m=Math.floor(o/2),y=Math.floor(s/2),I=u-1,T=new $(+m,+y);T.z=+I;var M=this._tileCoordsToKey(T),N=this._tiles[M];return N&&N.active?(N.retain=!0,!0):(N&&N.loaded&&(N.retain=!0),I>f?this._retainParent(m,y,I,f):!1)},_retainChildren:function(o,s,u,f){for(var m=2*o;m<2*o+2;m++)for(var y=2*s;y<2*s+2;y++){var I=new $(m,y);I.z=u+1;var T=this._tileCoordsToKey(I),M=this._tiles[T];if(M&&M.active){M.retain=!0;continue}else M&&M.loaded&&(M.retain=!0);u+1<f&&this._retainChildren(m,y,u+1,f)}},_resetView:function(o){var s=o&&(o.pinch||o.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),s,s)},_animateZoom:function(o){this._setView(o.center,o.zoom,!0,o.noUpdate)},_clampZoom:function(o){var s=this.options;return s.minNativeZoom!==void 0&&o<s.minNativeZoom?s.minNativeZoom:s.maxNativeZoom!==void 0&&s.maxNativeZoom<o?s.maxNativeZoom:o},_setView:function(o,s,u,f){var m=Math.round(s);this.options.maxZoom!==void 0&&m>this.options.maxZoom||this.options.minZoom!==void 0&&m<this.options.minZoom?m=void 0:m=this._clampZoom(m);var y=this.options.updateWhenZooming&&m!==this._tileZoom;(!f||y)&&(this._tileZoom=m,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),m!==void 0&&this._update(o),u||this._pruneTiles(),this._noPrune=!!u),this._setZoomTransforms(o,s)},_setZoomTransforms:function(o,s){for(var u in this._levels)this._setZoomTransform(this._levels[u],o,s)},_setZoomTransform:function(o,s,u){var f=this._map.getZoomScale(u,o.zoom),m=o.origin.multiplyBy(f).subtract(this._map._getNewPixelOrigin(s,u)).round();J.any3d?Vo(o.el,m,f):et(o.el,m)},_resetGrid:function(){var o=this._map,s=o.options.crs,u=this._tileSize=this.getTileSize(),f=this._tileZoom,m=this._map.getPixelWorldBounds(this._tileZoom);m&&(this._globalTileRange=this._pxBoundsToTileRange(m)),this._wrapX=s.wrapLng&&!this.options.noWrap&&[Math.floor(o.project([0,s.wrapLng[0]],f).x/u.x),Math.ceil(o.project([0,s.wrapLng[1]],f).x/u.y)],this._wrapY=s.wrapLat&&!this.options.noWrap&&[Math.floor(o.project([s.wrapLat[0],0],f).y/u.x),Math.ceil(o.project([s.wrapLat[1],0],f).y/u.y)]},_onMoveEnd:function(){!this._map||this._map._animatingZoom||this._update()},_getTiledPixelBounds:function(o){var s=this._map,u=s._animatingZoom?Math.max(s._animateToZoom,s.getZoom()):s.getZoom(),f=s.getZoomScale(u,this._tileZoom),m=s.project(o,this._tileZoom).floor(),y=s.getSize().divideBy(f*2);return new Y(m.subtract(y),m.add(y))},_update:function(o){var s=this._map;if(s){var u=this._clampZoom(s.getZoom());if(o===void 0&&(o=s.getCenter()),this._tileZoom!==void 0){var f=this._getTiledPixelBounds(o),m=this._pxBoundsToTileRange(f),y=m.getCenter(),I=[],T=this.options.keepBuffer,M=new Y(m.getBottomLeft().subtract([T,-T]),m.getTopRight().add([T,-T]));if(!(isFinite(m.min.x)&&isFinite(m.min.y)&&isFinite(m.max.x)&&isFinite(m.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var N in this._tiles){var W=this._tiles[N].coords;(W.z!==this._tileZoom||!M.contains(new $(W.x,W.y)))&&(this._tiles[N].current=!1)}if(Math.abs(u-this._tileZoom)>1){this._setView(o,u);return}for(var re=m.min.y;re<=m.max.y;re++)for(var he=m.min.x;he<=m.max.x;he++){var Tt=new $(he,re);if(Tt.z=this._tileZoom,!!this._isValidTile(Tt)){var ct=this._tiles[this._tileCoordsToKey(Tt)];ct?ct.current=!0:I.push(Tt)}}if(I.sort(function(Vt,jn){return Vt.distanceTo(y)-jn.distanceTo(y)}),I.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var ua=document.createDocumentFragment();for(he=0;he<I.length;he++)this._addTile(I[he],ua);this._level.el.appendChild(ua)}}}},_isValidTile:function(o){var s=this._map.options.crs;if(!s.infinite){var u=this._globalTileRange;if(!s.wrapLng&&(o.x<u.min.x||o.x>u.max.x)||!s.wrapLat&&(o.y<u.min.y||o.y>u.max.y))return!1}if(!this.options.bounds)return!0;var f=this._tileCoordsToBounds(o);return ce(this.options.bounds).overlaps(f)},_keyToBounds:function(o){return this._tileCoordsToBounds(this._keyToTileCoords(o))},_tileCoordsToNwSe:function(o){var s=this._map,u=this.getTileSize(),f=o.scaleBy(u),m=f.add(u),y=s.unproject(f,o.z),I=s.unproject(m,o.z);return[y,I]},_tileCoordsToBounds:function(o){var s=this._tileCoordsToNwSe(o),u=new de(s[0],s[1]);return this.options.noWrap||(u=this._map.wrapLatLngBounds(u)),u}
vendor: 6,874 bytes, line 2
2,_tileCoordsToKey:function(o){return o.x+":"+o.y+":"+o.z},_keyToTileCoords:function(o){var s=o.split(":"),u=new $(+s[0],+s[1]);return u.z=+s[2],u},_removeTile:function(o){var s=this._tiles[o];s&&(ze(s.el),delete this._tiles[o],this.fire("tileunload",{tile:s.el,coords:this._keyToTileCoords(o)}))},_initTile:function(o){fe(o,"leaflet-tile");var s=this.getTileSize();o.style.width=s.x+"px",o.style.height=s.y+"px",o.onselectstart=p,o.onmousemove=p,J.ielt9&&this.options.opacity<1&&sa(o,this.options.opacity)},_addTile:function(o,s){var u=this._getTilePos(o),f=this._tileCoordsToKey(o),m=this.createTile(this._wrapCoords(o),n(this._tileReady,this,o));this._initTile(m),this.createTile.length<2&&V(n(this._tileReady,this,o,null,m)),et(m,u),this._tiles[f]={el:m,coords:o,current:!0},s.appendChild(m),this.fire("tileloadstart",{tile:m,coords:o})},_tileReady:function(o,s,u){s&&this.fire("tileerror",{error:s,tile:u,coords:o});var f=this._tileCoordsToKey(o);u=this._tiles[f],u&&(u.loaded=+new Date,this._map._fadeAnimated?(sa(u.el,0),D(this._fadeFrame),this._fadeFrame=V(this._updateOpacity,this)):(u.active=!0,this._pruneTiles()),s||(fe(u.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:u.el,coords:o})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),J.ielt9||!this._map._fadeAnimated?V(this._pruneTiles,this):setTimeout(n(this._pruneTiles,this),250)))},_getTilePos:function(o){return o.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(o){var s=new $(this._wrapX?c(o.x,this._wrapX):o.x,this._wrapY?c(o.y,this._wrapY):o.y);return s.z=o.z,s},_pxBoundsToTileRange:function(o){var s=this.getTileSize();return new Y(o.min.unscaleBy(s).floor(),o.max.unscaleBy(s).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var o in this._tiles)if(!this._tiles[o].loaded)return!1;return!0}});function D2(o){return new Cs(o)}var Hn=Cs.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(o,s){this._url=o,s=b(this,s),s.detectRetina&&J.retina&&s.maxZoom>0?(s.tileSize=Math.floor(s.tileSize/2),s.zoomReverse?(s.zoomOffset--,s.minZoom=Math.min(s.maxZoom,s.minZoom+1)):(s.zoomOffset++,s.maxZoom=Math.max(s.minZoom,s.maxZoom-1)),s.minZoom=Math.max(0,s.minZoom)):s.zoomReverse?s.minZoom=Math.min(s.maxZoom,s.minZoom):s.maxZoom=Math.max(s.minZoom,s.maxZoom),typeof s.subdomains=="string"&&(s.subdomains=s.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(o,s){return this._url===o&&s===void 0&&(s=!0),this._url=o,s||this.redraw(),this},createTile:function(o,s){var u=document.createElement("img");return ie(u,"load",n(this._tileOnLoad,this,s,u)),ie(u,"error",n(this._tileOnError,this,s,u)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(u.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(u.referrerPolicy=this.options.referrerPolicy),u.alt="",u.src=this.getTileUrl(o),u},getTileUrl:function(o){var s={r:J.retina?"@2x":"",s:this._getSubdomain(o),x:o.x,y:o.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var u=this._globalTileRange.max.y-o.y;this.options.tms&&(s.y=u),s["-y"]=u}return R(this._url,a(s,this.options))},_tileOnLoad:function(o,s){J.ielt9?setTimeout(n(o,this,null,s),0):o(null,s)},_tileOnError:function(o,s,u){var f=this.options.errorTileUrl;f&&s.getAttribute("src")!==f&&(s.src=f),o(u,s)},_onTileRemove:function(o){o.tile.onload=null},_getZoomForUrl:function(){var o=this._tileZoom,s=this.options.maxZoom,u=this.options.zoomReverse,f=this.options.zoomOffset;return u&&(o=s-o),o+f},_getSubdomain:function(o){var s=Math.abs(o.x+o.y)%this.options.subdomains.length;return this.options.subdomains[s]},_abortLoading:function(){var o,s;for(o in this._tiles)if(this._tiles[o].coords.z!==this._tileZoom&&(s=this._tiles[o].el,s.onload=p,s.onerror=p,!s.complete)){s.src=S;var u=this._tiles[o].coords;ze(s),delete this._tiles[o],this.fire("tileabort",{tile:s,coords:u})}},_removeTile:function(o){var s=this._tiles[o];if(s)return s.el.setAttribute("src",S),Cs.prototype._removeTile.call(this,o)},_tileReady:function(o,s,u){if(!(!this._map||u&&u.getAttribute("src")===S))return Cs.prototype._tileReady.call(this,o,s,u)}});function Uw(o,s){return new Hn(o,s)}var Hw=Hn.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(o,s){this._url=o;var u=a({},this.defaultWmsParams);for(var f in s)f in this.options||(u[f]=s[f]);s=b(this,s);var m=s.detectRetina&&J.retina?2:1,y=this.getTileSize();u.width=y.x*m,u.height=y.y*m,this.wmsParams=u},onAdd:function(o){this._crs=this.options.crs||o.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var s=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[s]=this._crs.code,Hn.prototype.onAdd.call(this,o)},getTileUrl:function(o){var s=this._tileCoordsToNwSe(o),u=this._crs,f=Ie(u.project(s[0]),u.project(s[1])),m=f.min,y=f.max,I=(this._wmsVersion>=1.3&&this._crs===Dw?[m.y,m.x,y.y,y.x]:[m.x,m.y,y.x,y.y]).join(","),T=Hn.prototype.getTileUrl.call(this,o);return T+_(this.wmsParams,T,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+I},setParams:function(o,s){return a(this.wmsParams,o),s||this.redraw(),this}});function F2(o,s){return new Hw(o,s)}Hn.WMS=Hw,Uw.wms=F2;var yr=Pa.extend({options:{padding:.1},initialize:function(o){b(this,o),l(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),fe(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var o={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(o.zoomanim=this._onAnimZoom),o},_onAnimZoom:function(o){this._updateTransform(o.center,o.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(o,s){var u=this._map.getZoomScale(s,this._zoom),f=this._map.getSize().multiplyBy(.5+this.options.padding),m=this._map.project(this._center,s),y=f.multiplyBy(-u).add(m).subtract(this._map._getNewPixelOrigin(o,s));J.any3d?Vo(this._container,y,u):et(this._container,y)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var o in this._layers)this._layers[o]._reset()},_onZoomEnd:function(){for(var o in this._layers)this._layers[o]._project()},_updatePaths:function(){for(var o in this._layers)this._layers[o]._update()},_update:function(){var o=this.options.padding,s=this._map.getSize(),u=this._map.containerPointToLayerPoint(s.multiplyBy(-o)).round();
2this._bounds=new Y(u,u.add(s.multiplyBy(1+o*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),jw=yr.extend({options:{tolerance:0},getEvents:function(){var o=yr.prototype.getEvents.call(this);return o.viewprereset=this._onViewPreReset,o},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){yr.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var o=this._container=document.createElement("canvas");ie(o,"mousemove",this._onMouseMove,this),ie(o,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ie(o,"mouseout",this._handleMouseOut,this),o._leaflet_disable_events=!0,this._ctx=o.getContext("2d")},_destroyContainer:function(){D(this._redrawRequest),delete this._ctx,ze(this._container),Pe(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var o;this._redrawBounds=null;for(var s in this._layers)o=this._layers[s],o._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){yr.prototype._update.call(this);var o=this._bounds,s=this._container,u=o.getSize(),f=J.retina?2:1;et(s,o.min),s.width=f*u.x,s.height=f*u.y,s.style.width=u.x+"px",s.style.height=u.y+"px",J.retina&&this._ctx.scale(2,2),this._ctx.translate(-o.min.x,-o.min.y),this.fire("update")}},_reset:function(){yr.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(o){this._updateDashArray(o),this._layers[l(o)]=o;var s=o._order={layer:o,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=s),this._drawLast=s,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(o){this._requestRedraw(o)},_removePath:function(o){var s=o._order,u=s.next,f=s.prev;u?u.prev=f:this._drawLast=f,f?f.next=u:this._drawFirst=u,delete o._order,delete this._layers[l(o)],this._requestRedraw(o)},_updatePath:function(o){this._extendRedrawBounds(o),o._project(),o._update(),this._requestRedraw(o)},_updateStyle:function(o){this._updateDashArray(o),this._requestRedraw(o)},_updateDashArray:function(o){if(typeof o.options.dashArray=="string"){var s=o.options.dashArray.split(/[, ]+/),u=[],f,m;for(m=0;m<s.length;m++){if(f=Number(s[m]),isNaN(f))return;u.push(f)}o.options._dashArray=u}else o.options._dashArray=o.options.dashArray},_requestRedraw:function(o){this._map&&(this._extendRedrawBounds(o),this._redrawRequest=this._redrawRequest||V(this._redraw,this))},_extendRedrawBounds:function(o){if(o._pxBounds){var s=(o.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new Y,this._redrawBounds.extend(o._pxBounds.min.subtract([s,s])),this._redrawBounds.extend(o._pxBounds.max.add([s,s]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var o=this._redrawBounds;if(o){var s=o.getSize();this._ctx.clearRect(o.min.x,o.min.y,s.x,s.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var o,s=this._redrawBounds;if(this._ctx.save(),s){var u=s.getSize();this._ctx.beginPath(),this._ctx.rect(s.min.x,s.min.y,u.x,u.y),this._ctx.clip()}this._drawing=!0;for(var f=this._drawFirst;f;f=f.next)o=f.layer,(!s||o._pxBounds&&o._pxBounds.intersects(s))&&o._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(o,s){if(this._drawing){var u,f,m,y,I=o._parts,T=I.length,M=this._ctx;if(T){for(M.beginPath(),u=0;u<T;u++){for(f=0,m=I[u].length;f<m;f++)y=I[u][f],M[f?"lineTo":"moveTo"](y.x,y.y);s&&M.closePath()}this._fillStroke(M,o)}}},_updateCircle:function(o){if(!(!this._drawing||o._empty())){var s=o._point,u=this._ctx,f=Math.max(Math.round(o._radius),1),m=(Math.max(Math.round(o._radiusY),1)||f)/f;m!==1&&(u.save(),u.scale(1,m)),u.beginPath(),u.arc(s.x,s.y/m,f,0,Math.PI*2,!1),m!==1&&u.restore(),this._fillStroke(u,o)}},_fillStroke:function(o,s){var u=s.options;u.fill&&(o.globalAlpha=u.fillOpacity,o.fillStyle=u.fillColor||u.color,o.fill(u.fillRule||"evenodd")),u.stroke&&u.weight!==0&&(o.setLineDash&&o.setLineDash(s.options&&s.options._dashArray||[]),o.globalAlpha=u.opacity,o.lineWidth=u.weight,o.strokeStyle=u.color,o.lineCap=u.lineCap,o.lineJoin=u.lineJoin,o.stroke())},_onClick:function(o){for(var s=this._map.mouseEventToLayerPoint(o),u,f,m=this._drawFirst;m;m=m.next)u=m.layer,u.options.interactive&&u._containsPoint(s)&&(!(o.type==="click"||o.type==="preclick")||!this._map._draggableMoved(u))&&(f=u);this._fireEvent(f?[f]:!1,o)}
2,_onMouseMove:function(o){if(!(!this._map||this._map.dragging.moving()||this._map._animatingZoom)){var s=this._map.mouseEventToLayerPoint(o);this._handleMouseHover(o,s)}},_handleMouseOut:function(o){var s=this._hoveredLayer;s&&(Ke(this._container,"leaflet-interactive"),this._fireEvent([s],o,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(o,s){if(!this._mouseHoverThrottled){for(var u,f,m=this._drawFirst;m;m=m.next)u=m.layer,u.options.interactive&&u._containsPoint(s)&&(f=u);f!==this._hoveredLayer&&(this._handleMouseOut(o),f&&(fe(this._container,"leaflet-interactive"),this._fireEvent([f],o,"mouseover"),this._hoveredLayer=f)),this._fireEvent(this._hoveredLayer?[this._hoveredLayer]:!1,o),this._mouseHoverThrottled=!0,setTimeout(n(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(o,s,u){this._map._fireDOMEvent(s,u||s.type,o)},_bringToFront:function(o){var s=o._order;if(s){var u=s.next,f=s.prev;if(u)u.prev=f;else return;f?f.next=u:u&&(this._drawFirst=u),s.prev=this._drawLast,this._drawLast.next=s,s.next=null,this._drawLast=s,this._requestRedraw(o)}},_bringToBack:function(o){var s=o._order;if(s){var u=s.next,f=s.prev;if(f)f.next=u;else return;u?u.prev=f:f&&(this._drawLast=f),s.prev=null,s.next=this._drawFirst,this._drawFirst.prev=s,this._drawFirst=s,this._requestRedraw(o)}}});function qw(o){return J.canvas?new jw(o):null}var ks=(function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(o){return document.createElement("<lvml:"+o+' class="lvml">')}}catch{}return function(o){return document.createElement("<"+o+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}})(),B2={_initContainer:function(){this._container=Le("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(yr.prototype._update.call(this),this.fire("update"))},_initPath:function(o){var s=o._container=ks("shape");fe(s,"leaflet-vml-shape "+(this.options.className||"")),s.coordsize="1 1",o._path=ks("path"),s.appendChild(o._path),this._updateStyle(o),this._layers[l(o)]=o},_addPath:function(o){var s=o._container;this._container.appendChild(s),o.options.interactive&&o.addInteractiveTarget(s)},_removePath:function(o){var s=o._container;ze(s),o.removeInteractiveTarget(s),delete this._layers[l(o)]},_updateStyle:function(o){var s=o._stroke,u=o._fill,f=o.options,m=o._container;m.stroked=!!f.stroke,m.filled=!!f.fill,f.stroke?(s||(s=o._stroke=ks("stroke")),m.appendChild(s),s.weight=f.weight+"px",s.color=f.color,s.opacity=f.opacity,f.dashArray?s.dashStyle=v(f.dashArray)?f.dashArray.join(" "):f.dashArray.replace(/( *, *)/g," "):s.dashStyle="",s.endcap=f.lineCap.replace("butt","flat"),s.joinstyle=f.lineJoin):s&&(m.removeChild(s),o._stroke=null),f.fill?(u||(u=o._fill=ks("fill")),m.appendChild(u),u.color=f.fillColor||f.color,u.opacity=f.fillOpacity):u&&(m.removeChild(u),o._fill=null)},_updateCircle:function(o){var s=o._point.round(),u=Math.round(o._radius),f=Math.round(o._radiusY||u);this._setPath(o,o._empty()?"M0 0":"AL "+s.x+","+s.y+" "+u+","+f+" 0,"+65535*360)},_setPath:function(o,s){o._path.v=s},_bringToFront:function(o){Bn(o._container)},_bringToBack:function(o){On(o._container)}},cd=J.vml?ks:na,Is=yr.extend({_initContainer:function(){this._container=cd("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=cd("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){ze(this._container),Pe(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){yr.prototype._update.call(this);var o=this._bounds,s=o.getSize(),u=this._container;(!this._svgSize||!this._svgSize.equals(s))&&(this._svgSize=s,u.setAttribute("width",s.x),u.setAttribute("height",s.y)),et(u,o.min),u.setAttribute("viewBox",[o.min.x,o.min.y,s.x,s.y].join(" ")),this.fire("update")}},_initPath:function(o){var s=o._path=cd("path");o.options.className&&fe(s,o.options.className),o.options.interactive&&fe(s,"leaflet-interactive"),this._updateStyle(o),this._layers[l(o)]=o},_addPath:function(o){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(o._path),o.addInteractiveTarget(o._path)},_removePath:function(o){ze(o._path),o.removeInteractiveTarget(o._path),delete this._layers[l(o)]},_updatePath:function(o){o._project(),o._update()},_updateStyle:function(o){var s=o._path,u=o.options;s&&(u.stroke?(s.setAttribute("stroke",u.color),s.setAttribute("stroke-opacity",u.opacity),s.setAttribute("stroke-width",u.weight),s.setAttribute("stroke-linecap",u.lineCap),s.setAttribute("stroke-linejoin",u.lineJoin),u.dashArray?s.setAttribute("stroke-dasharray",u.dashArray):s.removeAttribute("stroke-dasharray"),u.dashOffset?s.setAttribute("stroke-dashoffset",u.dashOffset):s.removeAttribute("stroke-dashoffset")):s.setAttribute("stroke","none"),u.fill?(s.setAttribute("fill",u.fillColor||u.color),s.setAttribute("fill-opacity",u.fillOpacity),s.setAttribute("fill-rule",u.fillRule||"evenodd")):s.setAttribute("fill","none"))},_updatePoly:function(o,s){this._setPath(o,ia(o._parts,s))},_updateCircle:function(o){var s=o._point,u=Math.max(Math.round(o._radius),1),f=Math.max(Math.round(o._radiusY),1)||u,m="a"+u+","+f+" 0 1,0 ",y=o._empty()?"M0 0":"M"+(s.x-u)+","+s.y+m+u*2+",0 "+m+-u*2+",0 ";this._setPath(o,y)}
2,_setPath:function(o,s){o._path.setAttribute("d",s)},_bringToFront:function(o){Bn(o._path)},_bringToBack:function(o){On(o._path)}});J.vml&&Is.include(B2);function Ww(o){return J.svg||J.vml?new Is(o):null}we.include({getRenderer:function(o){var s=o.options.renderer||this._getPaneRenderer(o.options.pane)||this.options.renderer||this._renderer;return s||(s=this._renderer=this._createRenderer()),this.hasLayer(s)||this.addLayer(s),s},_getPaneRenderer:function(o){if(o==="overlayPane"||o===void 0)return!1;var s=this._paneRenderers[o];return s===void 0&&(s=this._createRenderer({pane:o}),this._paneRenderers[o]=s),s},_createRenderer:function(o){return this.options.preferCanvas&&qw(o)||Ww(o)}});var Gw=Vn.extend({initialize:function(o,s){Vn.prototype.initialize.call(this,this._boundsToLatLngs(o),s)},setBounds:function(o){return this.setLatLngs(this._boundsToLatLngs(o))},_boundsToLatLngs:function(o){return o=ce(o),[o.getSouthWest(),o.getNorthWest(),o.getNorthEast(),o.getSouthEast()]}});function O2(o,s){return new Gw(o,s)}Is.create=cd,Is.pointsToPath=ia,wr.geometryToLayer=od,wr.coordsToLatLng=uh,wr.coordsToLatLngs=nd,wr.latLngToCoords=dh,wr.latLngsToCoords=id,wr.getFeature=Un,wr.asFeature=sd,we.mergeOptions({boxZoom:!0});var Zw=Xa.extend({initialize:function(o){this._map=o,this._container=o._container,this._pane=o._panes.overlayPane,this._resetStateTimeout=0,o.on("unload",this._destroy,this)},addHooks:function(){ie(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Pe(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){ze(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(o){if(!o.shiftKey||o.which!==1&&o.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),xs(),Gp(),this._startPoint=this._map.mouseEventToContainerPoint(o),ie(document,{contextmenu:jo,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(o){this._moved||(this._moved=!0,this._box=Le("div","leaflet-zoom-box",this._container),fe(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(o);var s=new Y(this._point,this._startPoint),u=s.getSize();et(this._box,s.min),this._box.style.width=u.x+"px",this._box.style.height=u.y+"px"},_finish:function(){this._moved&&(ze(this._box),Ke(this._container,"leaflet-crosshair")),ws(),Zp(),Pe(document,{contextmenu:jo,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(o){if(!(o.which!==1&&o.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(n(this._resetState,this),0);var s=new de(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(s).fire("boxzoomend",{boxZoomBounds:s})}},_onKeyDown:function(o){o.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});we.addInitHook("addHandler","boxZoom",Zw),we.mergeOptions({doubleClickZoom:!0});var $w=Xa.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(o){var s=this._map,u=s.getZoom(),f=s.options.zoomDelta,m=o.originalEvent.shiftKey?u-f:u+f;s.options.doubleClickZoom==="center"?s.setZoom(m):s.setZoomAround(o.containerPoint,m)}});we.addInitHook("addHandler","doubleClickZoom",$w),we.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Xw=Xa.extend({addHooks:function(){if(!this._draggable){var o=this._map;this._draggable=new $r(o._mapPane,o._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),o.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),o.on("zoomend",this._onZoomEnd,this),o.whenReady(this._onZoomEnd,this))}fe(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Ke(this._map._container,"leaflet-grab"),Ke(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved}
vendor: 4,212 bytes, line 2
2,moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var o=this._map;if(o._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var s=ce(this._map.options.maxBounds);this._offsetLimit=Ie(this._map.latLngToContainerPoint(s.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(s.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;o.fire("movestart").fire("dragstart"),o.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(o){if(this._map.options.inertia){var s=this._lastTime=+new Date,u=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(u),this._times.push(s),this._prunePositions(s)}this._map.fire("move",o).fire("drag",o)},_prunePositions:function(o){for(;this._positions.length>1&&o-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var o=this._map.getSize().divideBy(2),s=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=s.subtract(o).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(o,s){return o-(o-s)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var o=this._draggable._newPos.subtract(this._draggable._startPos),s=this._offsetLimit;o.x<s.min.x&&(o.x=this._viscousLimit(o.x,s.min.x)),o.y<s.min.y&&(o.y=this._viscousLimit(o.y,s.min.y)),o.x>s.max.x&&(o.x=this._viscousLimit(o.x,s.max.x)),o.y>s.max.y&&(o.y=this._viscousLimit(o.y,s.max.y)),this._draggable._newPos=this._draggable._startPos.add(o)}},_onPreDragWrap:function(){var o=this._worldWidth,s=Math.round(o/2),u=this._initialWorldOffset,f=this._draggable._newPos.x,m=(f-s+u)%o+s-u,y=(f+s+u)%o-s-u,I=Math.abs(m+u)<Math.abs(y+u)?m:y;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=I},_onDragEnd:function(o){var s=this._map,u=s.options,f=!u.inertia||o.noInertia||this._times.length<2;if(s.fire("dragend",o),f)s.fire("moveend");else{this._prunePositions(+new Date);var m=this._lastPos.subtract(this._positions[0]),y=(this._lastTime-this._times[0])/1e3,I=u.easeLinearity,T=m.multiplyBy(I/y),M=T.distanceTo([0,0]),N=Math.min(u.inertiaMaxSpeed,M),W=T.multiplyBy(N/M),re=N/(u.inertiaDeceleration*I),he=W.multiplyBy(-re/2).round();!he.x&&!he.y?s.fire("moveend"):(he=s._limitOffset(he,s.options.maxBounds),V(function(){s.panBy(he,{duration:re,easeLinearity:I,noMoveStart:!0,animate:!0})}))}}});we.addInitHook("addHandler","dragging",Xw),we.mergeOptions({keyboard:!0,keyboardPanDelta:80});var Kw=Xa.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(o){this._map=o,this._setPanDelta(o.options.keyboardPanDelta),this._setZoomDelta(o.options.zoomDelta)},addHooks:function(){var o=this._map._container;o.tabIndex<=0&&(o.tabIndex="0"),ie(o,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),Pe(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var o=document.body,s=document.documentElement,u=o.scrollTop||s.scrollTop,f=o.scrollLeft||s.scrollLeft;this._map._container.focus(),window.scrollTo(f,u)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(o){var s=this._panKeys={},u=this.keyCodes,f,m;for(f=0,m=u.left.length;f<m;f++)s[u.left[f]]=[-1*o,0];for(f=0,m=u.right.length;f<m;f++)s[u.right[f]]=[o,0];for(f=0,m=u.down.length;f<m;f++)s[u.down[f]]=[0,o];for(f=0,m=u.up.length;f<m;f++)s[u.up[f]]=[0,-1*o]},_setZoomDelta:function(o){var s=this._zoomKeys={},u=this.keyCodes,f,m;for(f=0,m=u.zoomIn.length;f<m;f++)s[u.zoomIn[f]]=o;for(f=0,m=u.zoomOut.length;f<m;f++)s[u.zoomOut[f]]=-o},_addHooks:function(){ie(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){Pe(document,"keydown",this._onKeyDown,this)}
2,_onKeyDown:function(o){if(!(o.altKey||o.ctrlKey||o.metaKey)){var s=o.keyCode,u=this._map,f;if(s in this._panKeys){if(!u._panAnim||!u._panAnim._inProgress)if(f=this._panKeys[s],o.shiftKey&&(f=H(f).multiplyBy(3)),u.options.maxBounds&&(f=u._limitOffset(H(f),u.options.maxBounds)),u.options.worldCopyJump){var m=u.wrapLatLng(u.unproject(u.project(u.getCenter()).add(f)));u.panTo(m)}else u.panBy(f)}else if(s in this._zoomKeys)u.setZoom(u.getZoom()+(o.shiftKey?3:1)*this._zoomKeys[s]);else if(s===27&&u._popup&&u._popup.options.closeOnEscapeKey)u.closePopup();else return;jo(o)}}});we.addInitHook("addHandler","keyboard",Kw),we.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var Yw=Xa.extend({addHooks:function(){ie(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){Pe(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(o){var s=bw(o),u=this._map.options.wheelDebounceTime;this._delta+=s,this._lastMousePos=this._map.mouseEventToContainerPoint(o),this._startTime||(this._startTime=+new Date);var f=Math.max(u-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(n(this._performZoom,this),f),jo(o)},_performZoom:function(){var o=this._map,s=o.getZoom(),u=this._map.options.zoomSnap||0;o._stop();var f=this._delta/(this._map.options.wheelPxPerZoomLevel*4),m=4*Math.log(2/(1+Math.exp(-Math.abs(f))))/Math.LN2,y=u?Math.ceil(m/u)*u:m,I=o._limitZoom(s+(this._delta>0?y:-y))-s;this._delta=0,this._startTime=null,I&&(o.options.scrollWheelZoom==="center"?o.setZoom(s+I):o.setZoomAround(this._lastMousePos,s+I))}});we.addInitHook("addHandler","scrollWheelZoom",Yw);var N2=600;we.mergeOptions({tapHold:J.touchNative&&J.safari&&J.mobile,tapTolerance:15});var Jw=Xa.extend({addHooks:function(){ie(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Pe(this._map._container,"touchstart",this._onDown,this)},_onDown:function(o){if(clearTimeout(this._holdTimeout),o.touches.length===1){var s=o.touches[0];this._startPos=this._newPos=new $(s.clientX,s.clientY),this._holdTimeout=setTimeout(n(function(){this._cancel(),this._isTapValid()&&(ie(document,"touchend",gt),ie(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",s))},this),N2),ie(document,"touchend touchcancel contextmenu",this._cancel,this),ie(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function o(){Pe(document,"touchend",gt),Pe(document,"touchend touchcancel",o)},_cancel:function(){clearTimeout(this._holdTimeout),Pe(document,"touchend touchcancel contextmenu",this._cancel,this),Pe(document,"touchmove",this._onMove,this)},_onMove:function(o){var s=o.touches[0];this._newPos=new $(s.clientX,s.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(o,s){var u=new MouseEvent(o,{bubbles:!0,cancelable:!0,view:window,screenX:s.screenX,screenY:s.screenY,clientX:s.clientX,clientY:s.clientY});u._simulated=!0,s.target.dispatchEvent(u)}});we.addInitHook("addHandler","tapHold",Jw),we.mergeOptions({touchZoom:J.touch,bounceAtZoomLimits:!0});var Qw=Xa.extend({addHooks:function(){fe(this._map._container,"leaflet-touch-zoom"),ie(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Ke(this._map._container,"leaflet-touch-zoom"),Pe(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(o){var s=this._map;if(!(!o.touches||o.touches.length!==2||s._animatingZoom||this._zooming)){var u=s.mouseEventToContainerPoint(o.touches[0]),f=s.mouseEventToContainerPoint(o.touches[1]);this._centerPoint=s.getSize()._divideBy(2),this._startLatLng=s.containerPointToLatLng(this._centerPoint),s.options.touchZoom!=="center"&&(this._pinchStartLatLng=s.containerPointToLatLng(u.add(f)._divideBy(2))),this._startDist=u.distanceTo(f),this._startZoom=s.getZoom(),this._moved=!1,this._zooming=!0,s._stop(),ie(document,"touchmove",this._onTouchMove,this),ie(document,"touchend touchcancel",this._onTouchEnd,this),gt(o)}}
2,_onTouchMove:function(o){if(!(!o.touches||o.touches.length!==2||!this._zooming)){var s=this._map,u=s.mouseEventToContainerPoint(o.touches[0]),f=s.mouseEventToContainerPoint(o.touches[1]),m=u.distanceTo(f)/this._startDist;if(this._zoom=s.getScaleZoom(m,this._startZoom),!s.options.bounceAtZoomLimits&&(this._zoom<s.getMinZoom()&&m<1||this._zoom>s.getMaxZoom()&&m>1)&&(this._zoom=s._limitZoom(this._zoom)),s.options.touchZoom==="center"){if(this._center=this._startLatLng,m===1)return}else{var y=u._add(f)._divideBy(2)._subtract(this._centerPoint);if(m===1&&y.x===0&&y.y===0)return;this._center=s.unproject(s.project(this._pinchStartLatLng,this._zoom).subtract(y),this._zoom)}this._moved||(s._moveStart(!0,!1),this._moved=!0),D(this._animRequest);var I=n(s._move,s,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=V(I,this,!0),gt(o)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,D(this._animRequest),Pe(document,"touchmove",this._onTouchMove,this),Pe(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});we.addInitHook("addHandler","touchZoom",Qw),we.BoxZoom=Zw,we.DoubleClickZoom=$w,we.Drag=Xw,we.Keyboard=Kw,we.ScrollWheelZoom=Yw,we.TapHold=Jw,we.TouchZoom=Qw,e.Bounds=Y,e.Browser=J,e.CRS=Et,e.Canvas=jw,e.Circle=lh,e.CircleMarker=rd,e.Class=X,e.Control=Ia,e.DivIcon=Vw,e.DivOverlay=Ka,e.DomEvent=a2,e.DomUtil=e2,e.Draggable=$r,e.Evented=ye,e.FeatureGroup=vr,e.GeoJSON=wr,e.GridLayer=Cs,e.Handler=Xa,e.Icon=zn,e.ImageOverlay=ld,e.LatLng=ve,e.LatLngBounds=de,e.Layer=Pa,e.LayerGroup=Nn,e.LineUtil=m2,e.Map=we,e.Marker=ad,e.Mixin=u2,e.Path=Xr,e.Point=$,e.PolyUtil=d2,e.Polygon=Vn,e.Polyline=xr,e.Popup=ud,e.PosAnimation=Lw,e.Projection=g2,e.Rectangle=Gw,e.Renderer=yr,e.SVG=Is,e.SVGOverlay=zw,e.TileLayer=Hn,e.Tooltip=dd,e.Transformation=Wr,e.Util=K,e.VideoOverlay=Nw,e.bind=n,e.bounds=Ie,e.canvas=qw,e.circle=_2,e.circleMarker=S2,e.control=Ls,e.divIcon=M2,e.extend=a,e.featureGroup=y2,e.geoJSON=Ow,e.geoJson=I2,e.gridLayer=D2,e.icon=b2,e.imageOverlay=P2,e.latLng=le,e.latLngBounds=ce,e.layerGroup=w2,e.map=r2,e.marker=L2,e.point=H,e.polygon=k2,e.polyline=C2,e.popup=T2,e.rectangle=O2,e.setOptions=b,e.stamp=l,e.svg=Ww,e.svgOverlay=E2,e.tileLayer=Uw,e.tooltip=A2,e.transformation=Gr,e.version=t,e.videoOverlay=R2;var z2=window.L;e.noConflict=function(){return window.L=z2,this},window.L=e}))});var yy=Ra(ge=>{"use strict";var Ps=Symbol.for("react.element"),oP=Symbol.for("react.portal"),nP=Symbol.for("react.fragment"),iP=Symbol.for("react.strict_mode"),sP=Symbol.for("react.profiler"),lP=Symbol.for("react.provider"),uP=Symbol.for("react.context"),dP=Symbol.for("react.forward_ref"),cP=Symbol.for("react.suspense"),fP=Symbol.for("react.memo"),pP=Symbol.for("react.lazy"),uy=Symbol.iterator;function hP(e){return e===null||typeof e!="object"?null:(e=uy&&e[uy]||e["@@iterator"],typeof e=="function"?e:null)}var fy={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},py=Object.assign,hy={};function qn(e,t,a){this.props=e,this.context=t,this.refs=hy,this.updater=a||fy}qn.prototype.isReactComponent={};qn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};qn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function my(){}my.prototype=qn.prototype;function gh(e,t,a){this.props=e,this.context=t,this.refs=hy,this.updater=a||fy}var vh=gh.prototype=new my;vh.constructor=gh;py(vh,qn.prototype);vh.isPureReactComponent=!0;var dy=Array.isArray,gy=Object.prototype.hasOwnProperty,xh={current:null},vy={key:!0,ref:!0,__self:!0,__source:!0};function xy(e,t,a){var r,n={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)gy.call(t,r)&&!vy.hasOwnProperty(r)&&(n[r]=t[r]);var d=arguments.length-2;if(d===1)n.children=a;else if(1<d){for(var c=Array(d),p=0;p<d;p++)c[p]=arguments[p+2];n.children=c}if(e&&e.defaultProps)for(r in d=e.defaultProps,d)n[r]===void 0&&(n[r]=d[r]);return{$$typeof:Ps,type:e,key:i,ref:l,props:n,_owner:xh.current}}function mP(e,t){return{$$typeof:Ps,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function wh(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ps}function gP(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return t[a]})}var cy=/\/+/g;function mh(e,t){return typeof e=="object"&&e!==null&&e.key!=null?gP(""+e.key):t.toString(36)}function md(e,t,a,r,n){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Ps:case oP:l=!0}}if(l)return l=e,n=n(l),e=r===""?"."+mh(l,0):r,dy(n)?(a="",e!=null&&(a=e.replace(cy,"$&/")+"/"),md(n,t,a,"",function(p){return p})):n!=null&&(wh(n)&&(n=mP(n,a+(!n.key||l&&l.key===n.key?"":(""+n.key).replace(cy,"$&/")+"/")+e)),t.push(n)),1;if(l=0,r=r===""?".":r+":",dy(e))for(var d=0;d<e.length;d++){i=e[d];var c=r+mh(i,d);l+=md(i,t,a,c,n)}else if(c=hP(e),typeof c=="function")for(e=c.call(e),d=0;!(i=e.next()).done;)i=i.value,c=r+mh(i,d++),l+=md(i,t,a,c,n);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function hd(e,t,a){if(e==null)return e;var r=[],n=0;return md(e,r,"","",function(i){return t.call(a,i,n++)}),r}function vP(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a)},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var At={current:null},gd={transition:null},xP={ReactCurrentDispatcher:At,ReactCurrentBatchConfig:gd,ReactCurrentOwner:xh};function wy(){throw Error("act(...) is not supported in production builds of React.")}
vendor: 7,258 bytes, line 2
2ge.Children={map:hd,forEach:function(e,t,a){hd(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return hd(e,function(){t++}),t},toArray:function(e){return hd(e,function(t){return t})||[]},only:function(e){if(!wh(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ge.Component=qn;ge.Fragment=nP;ge.Profiler=sP;ge.PureComponent=gh;ge.StrictMode=iP;ge.Suspense=cP;ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xP;ge.act=wy;ge.cloneElement=function(e,t,a){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=py({},e.props),n=e.key,i=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,l=xh.current),t.key!==void 0&&(n=""+t.key),e.type&&e.type.defaultProps)var d=e.type.defaultProps;for(c in t)gy.call(t,c)&&!vy.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&d!==void 0?d[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=a;else if(1<c){d=Array(c);for(var p=0;p<c;p++)d[p]=arguments[p+2];r.children=d}return{$$typeof:Ps,type:e.type,key:n,ref:i,props:r,_owner:l}};ge.createContext=function(e){return e={$$typeof:uP,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:lP,_context:e},e.Consumer=e};ge.createElement=xy;ge.createFactory=function(e){var t=xy.bind(null,e);return t.type=e,t};ge.createRef=function(){return{current:null}};ge.forwardRef=function(e){return{$$typeof:dP,render:e}};ge.isValidElement=wh;ge.lazy=function(e){return{$$typeof:pP,_payload:{_status:-1,_result:e},_init:vP}};ge.memo=function(e,t){return{$$typeof:fP,type:e,compare:t===void 0?null:t}};ge.startTransition=function(e){var t=gd.transition;gd.transition={};try{e()}finally{gd.transition=t}};ge.unstable_act=wy;ge.useCallback=function(e,t){return At.current.useCallback(e,t)};ge.useContext=function(e){return At.current.useContext(e)};ge.useDebugValue=function(){};ge.useDeferredValue=function(e){return At.current.useDeferredValue(e)};ge.useEffect=function(e,t){return At.current.useEffect(e,t)};ge.useId=function(){return At.current.useId()};ge.useImperativeHandle=function(e,t,a){return At.current.useImperativeHandle(e,t,a)};ge.useInsertionEffect=function(e,t){return At.current.useInsertionEffect(e,t)};ge.useLayoutEffect=function(e,t){return At.current.useLayoutEffect(e,t)};ge.useMemo=function(e,t){return At.current.useMemo(e,t)};ge.useReducer=function(e,t,a){return At.current.useReducer(e,t,a)};ge.useRef=function(e){return At.current.useRef(e)};ge.useState=function(e){return At.current.useState(e)};ge.useSyncExternalStore=function(e,t,a){return At.current.useSyncExternalStore(e,t,a)};ge.useTransition=function(){return At.current.useTransition()};ge.version="18.3.1"});var ae=Ra((fO,by)=>{"use strict";by.exports=yy()});var Ty=Ra(Re=>{"use strict";function Sh(e,t){var a=e.length;e.push(t);e:for(;0<a;){var r=a-1>>>1,n=e[r];if(0<vd(n,t))e[r]=t,e[a]=n,a=r;else break e}}function Ea(e){return e.length===0?null:e[0]}function wd(e){if(e.length===0)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;e:for(var r=0,n=e.length,i=n>>>1;r<i;){var l=2*(r+1)-1,d=e[l],c=l+1,p=e[c];if(0>vd(d,a))c<n&&0>vd(p,d)?(e[r]=p,e[c]=a,r=c):(e[r]=d,e[l]=a,r=l);else if(c<n&&0>vd(p,a))e[r]=p,e[c]=a,r=c;else break e}}return t}function vd(e,t){var a=e.sortIndex-t.sortIndex;return a!==0?a:e.id-t.id}typeof performance=="object"&&typeof performance.now=="function"?(Ly=performance,Re.unstable_now=function(){return Ly.now()}):(yh=Date,Sy=yh.now(),Re.unstable_now=function(){return yh.now()-Sy});var Ly,yh,Sy,Ya=[],Kr=[],wP=1,da=null,St=3,yd=!1,Wo=!1,Es=!1,ky=typeof setTimeout=="function"?setTimeout:null,Iy=typeof clearTimeout=="function"?clearTimeout:null,_y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function _h(e){for(var t=Ea(Kr);t!==null;){if(t.callback===null)wd(Kr);else if(t.startTime<=e)wd(Kr),t.sortIndex=t.expirationTime,Sh(Ya,t);else break;t=Ea(Kr)}}function Ch(e){if(Es=!1,_h(e),!Wo)if(Ea(Ya)!==null)Wo=!0,Ih(kh);else{var t=Ea(Kr);t!==null&&Ph(Ch,t.startTime-e)}}function kh(e,t){Wo=!1,Es&&(Es=!1,Iy(Ts),Ts=-1),yd=!0;var a=St;try{for(_h(t),da=Ea(Ya);da!==null&&(!(da.expirationTime>t)||e&&!Ey());){var r=da.callback;if(typeof r=="function"){da.callback=null,St=da.priorityLevel;var n=r(da.expirationTime<=t);t=Re.unstable_now(),typeof n=="function"?da.callback=n:da===Ea(Ya)&&wd(Ya),_h(t)}else wd(Ya);da=Ea(Ya)}if(da!==null)var i=!0;else{var l=Ea(Kr);l!==null&&Ph(Ch,l.startTime-t),i=!1}return i}finally{da=null,St=a,yd=!1}}var bd=!1,xd=null,Ts=-1,Py=5,Ry=-1;function Ey(){return!(Re.unstable_now()-Ry<Py)}function bh(){if(xd!==null){var e=Re.unstable_now();Ry=e;var t=!0;try{t=xd(!0,e)}finally{t?Rs():(bd=!1,xd=null)}}else bd=!1}var Rs;typeof _y=="function"?Rs=function(){_y(bh)}:typeof MessageChannel<"u"?(Lh=new MessageChannel,Cy=Lh.port2,Lh.port1.onmessage=bh,Rs=function(){Cy.postMessage(null)}):Rs=function(){ky(bh,0)};var Lh,Cy;function Ih(e){xd=e,bd||(bd=!0,Rs())}function Ph(e,t){Ts=ky(function(){e(Re.unstable_now())},t)}Re.unstable_IdlePriority=5;Re.unstable_ImmediatePriority=1;Re.unstable_LowPriority=4;Re.unstable_NormalPriority=3;Re.unstable_Profiling=null;Re.unstable_UserBlockingPriority=2;Re.unstable_cancelCallback=function(e){e.callback=null};Re.unstable_continueExecution=function(){Wo||yd||(Wo=!0,Ih(kh))};Re.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Py=0<e?Math.floor(1e3/e):5};Re.unstable_getCurrentPriorityLevel=function(){return St};Re.unstable_getFirstCallbackNode=function(){return Ea(Ya)};Re.unstable_next=function(e){switch(St){case 1:case 2:case 3:var t=3;break;default:t=St}var a=St;St=t;try{return e()}finally{St=a}};Re.unstable_pauseExecution=function(){};Re.unstable_requestPaint=function(){};Re.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=St;St=e;try{return t()}finally{St=a}};Re.unstable_scheduleCallback=function(e,t,a){var r=Re.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?r+a:r):a=r,e){case 1:var n=-1;break;case 2:n=250;break;case 5:n=1073741823;break;case 4:n=1e4;break;default:n=5e3}return n=a+n,e={id:wP++,callback:t,priorityLevel:e,startTime:a,expirationTime:n,sortIndex:-1},a>r?(e.sortIndex=a,Sh(Kr,e),Ea(Ya)===null&&e===Ea(Kr)&&(Es?(Iy(Ts),Ts=-1):Es=!0,Ph(Ch,a-r))):(e.sortIndex=n,Sh(Ya,e),Wo||yd||(Wo=!0,Ih(kh))),e};Re.unstable_shouldYield=Ey;Re.unstable_wrapCallback=function(e){var t=St;return function(){var a=St;St=t;try{return e.apply(this,arguments)}finally{St=a}}}});var My=Ra((hO,Ay)=>{"use strict";Ay.exports=Ty()});var OL=Ra(ea=>{"use strict";var yP=ae(),Jt=My();function U(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=1;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var V0=new Set,Qs={};
vendor: 10,023 bytes, lines 2-6
2function on(e,t){ci(e,t),ci(e+"Capture",t)}function ci(e,t){for(Qs[e]=t,e=0;e<t.length;e++)V0.add(t[e])}var kr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yh=Object.prototype.hasOwnProperty,bP=/^[: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][: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]*$/,Dy={},Fy={};function LP(e){return Yh.call(Fy,e)?!0:Yh.call(Dy,e)?!1:bP.test(e)?Fy[e]=!0:(Dy[e]=!0,!1)}function SP(e,t,a,r){if(a!==null&&a.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:a!==null?!a.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function _P(e,t,a,r){if(t===null||typeof t>"u"||SP(e,t,a,r))return!0;if(r)return!1;if(a!==null)switch(a.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ft(e,t,a,r,n,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=n,this.mustUseProperty=a,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var wt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){wt[e]=new Ft(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];wt[t]=new Ft(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){wt[e]=new Ft(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){wt[e]=new Ft(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".split(" ").forEach(function(e){wt[e]=new Ft(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){wt[e]=new Ft(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){wt[e]=new Ft(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){wt[e]=new Ft(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){wt[e]=new Ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var jm=/[\-:]([a-z])/g;function qm(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".split(" ").forEach(function(e){var t=e.replace(jm,qm);wt[t]=new Ft(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(jm,qm);wt[t]=new Ft(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(jm,qm);wt[t]=new Ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){wt[e]=new Ft(e,1,!1,e.toLowerCase(),null,!1,!1)});wt.xlinkHref=new Ft("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){wt[e]=new Ft(e,1,!1,e.toLowerCase(),null,!0,!0)});function Wm(e,t,a,r){var n=wt.hasOwnProperty(t)?wt[t]:null;(n!==null?n.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(_P(t,a,n,r)&&(a=null),r||n===null?LP(t)&&(a===null?e.removeAttribute(t):e.setAttribute(t,""+a)):n.mustUseProperty?e[n.propertyName]=a===null?n.type===3?!1:"":a:(t=n.attributeName,r=n.attributeNamespace,a===null?e.removeAttribute(t):(n=n.type,a=n===3||n===4&&a===!0?"":""+a,r?e.setAttributeNS(r,t,a):e.setAttribute(t,a))))}var Er=yP.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ld=Symbol.for("react.element"),Zn=Symbol.for("react.portal"),$n=Symbol.for("react.fragment"),Gm=Symbol.for("react.strict_mode"),Jh=Symbol.for("react.profiler"),U0=Symbol.for("react.provider"),H0=Symbol.for("react.context"),Zm=Symbol.for("react.forward_ref"),Qh=Symbol.for("react.suspense"),em=Symbol.for("react.suspense_list"),$m=Symbol.for("react.memo"),Jr=Symbol.for("react.lazy"),j0=Symbol.for("react.offscreen"),By=Symbol.iterator;function As(e){return e===null||typeof e!="object"?null:(e=By&&e[By]||e["@@iterator"],typeof e=="function"?e:null)}var He=Object.assign,Rh;function Vs(e){if(Rh===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Rh=t&&t[1]||""}return`
3`+Rh+e}var Eh=!1;function Th(e,t){if(!e||Eh)return"";Eh=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(p){var r=p}Reflect.construct(e,[],t)}else{try{t.call()}catch(p){r=p}e.call(t.prototype)}else{try{throw Error()}catch(p){r=p}e()}}catch(p){if(p&&r&&typeof p.stack=="string"){for(var n=p.stack.split(`
4`),i=r.stack.split(`
5`),l=n.length-1,d=i.length-1;1<=l&&0<=d&&n[l]!==i[d];)d--;for(;1<=l&&0<=d;l--,d--)if(n[l]!==i[d]){if(l!==1||d!==1)do if(l--,d--,0>d||n[l]!==i[d]){var c=`
6`+n[l].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=l&&0<=d);break}}}finally{Eh=!1,Error.prepareStackTrace=a}return(e=e?e.displayName||e.name:"")?Vs(e):""}function CP(e){switch(e.tag){case 5:return Vs(e.type);case 16:return Vs("Lazy");case 13:return Vs("Suspense");case 19:return Vs("SuspenseList");case 0:case 2:case 15:return e=Th(e.type,!1),e;case 11:return e=Th(e.type.render,!1),e;case 1:return e=Th(e.type,!0),e;default:return""}}function tm(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case $n:return"Fragment";case Zn:return"Portal";case Jh:return"Profiler";case Gm:return"StrictMode";case Qh:return"Suspense";case em:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case H0:return(e.displayName||"Context")+".Consumer";case U0:return(e._context.displayName||"Context")+".Provider";case Zm:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case $m:return t=e.displayName||null,t!==null?t:tm(e.type)||"Memo";case Jr:t=e._payload,e=e._init;try{return tm(e(t))}catch{}}return null}function kP(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return tm(t);case 8:return t===Gm?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function po(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function q0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function IP(e){var t=q0(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Sd(e){e._valueTracker||(e._valueTracker=IP(e))}function W0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),r="";return e&&(r=q0(e)?e.checked?"true":"false":e.value),e=r,e!==a?(t.setValue(e),!0):!1}function Yd(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function am(e,t){var a=t.checked;return He({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:a??e._wrapperState.initialChecked})}function Oy(e,t){var a=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;a=po(t.value!=null?t.value:a),e._wrapperState={initialChecked:r,initialValue:a,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}
vendor: 4,653 bytes, line 6
6function G0(e,t){t=t.checked,t!=null&&Wm(e,"checked",t,!1)}function rm(e,t){G0(e,t);var a=po(t.value),r=t.type;if(a!=null)r==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+a):e.value!==""+a&&(e.value=""+a);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?om(e,t.type,a):t.hasOwnProperty("defaultValue")&&om(e,t.type,po(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ny(e,t,a){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,a||t===e.value||(e.value=t),e.defaultValue=t}a=e.name,a!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,a!==""&&(e.name=a)}function om(e,t,a){(t!=="number"||Yd(e.ownerDocument)!==e)&&(a==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+a&&(e.defaultValue=""+a))}var Us=Array.isArray;function ni(e,t,a,r){if(e=e.options,t){t={};for(var n=0;n<a.length;n++)t["$"+a[n]]=!0;for(a=0;a<e.length;a++)n=t.hasOwnProperty("$"+e[a].value),e[a].selected!==n&&(e[a].selected=n),n&&r&&(e[a].defaultSelected=!0)}else{for(a=""+po(a),t=null,n=0;n<e.length;n++){if(e[n].value===a){e[n].selected=!0,r&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function nm(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(U(91));return He({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function zy(e,t){var a=t.value;if(a==null){if(a=t.children,t=t.defaultValue,a!=null){if(t!=null)throw Error(U(92));if(Us(a)){if(1<a.length)throw Error(U(93));a=a[0]}t=a}t==null&&(t=""),a=t}e._wrapperState={initialValue:po(a)}}function Z0(e,t){var a=po(t.value),r=po(t.defaultValue);a!=null&&(a=""+a,a!==e.value&&(e.value=a),t.defaultValue==null&&e.defaultValue!==a&&(e.defaultValue=a)),r!=null&&(e.defaultValue=""+r)}function Vy(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function $0(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function im(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?$0(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var _d,X0=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,a,r,n){MSApp.execUnsafeLocalFunction(function(){return e(t,a,r,n)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(_d=_d||document.createElement("div"),_d.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=_d.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function el(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var qs={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},PP=["Webkit","ms","Moz","O"];Object.keys(qs).forEach(function(e){PP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),qs[t]=qs[e]})});function K0(e,t,a){return t==null||typeof t=="boolean"||t===""?"":a||typeof t!="number"||t===0||qs.hasOwnProperty(e)&&qs[e]?(""+t).trim():t+"px"}function Y0(e,t){e=e.style;for(var a in t)if(t.hasOwnProperty(a)){var r=a.indexOf("--")===0,n=K0(a,t[a],r);a==="float"&&(a="cssFloat"),r?e.setProperty(a,n):e[a]=n}}var RP=He({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function sm(e,t){if(t){if(RP[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(U(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(U(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(U(61))}if(t.style!=null&&typeof t.style!="object")throw Error(U(62))}}function lm(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
6ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var um=null;function Xm(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var dm=null,ii=null,si=null;function Uy(e){if(e=xl(e)){if(typeof dm!="function")throw Error(U(280));var t=e.stateNode;t&&(t=Cc(t),dm(e.stateNode,e.type,t))}}function J0(e){ii?si?si.push(e):si=[e]:ii=e}function Q0(){if(ii){var e=ii,t=si;if(si=ii=null,Uy(e),t)for(e=0;e<t.length;e++)Uy(t[e])}}function eb(e,t){return e(t)}function tb(){}var Ah=!1;function ab(e,t,a){if(Ah)return e(t,a);Ah=!0;try{return eb(e,t,a)}finally{Ah=!1,(ii!==null||si!==null)&&(tb(),Q0())}}function tl(e,t){var a=e.stateNode;if(a===null)return null;var r=Cc(a);if(r===null)return null;a=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(U(231,t,typeof a));return a}var cm=!1;if(kr)try{Wn={},Object.defineProperty(Wn,"passive",{get:function(){cm=!0}}),window.addEventListener("test",Wn,Wn),window.removeEventListener("test",Wn,Wn)}catch{cm=!1}var Wn;function EP(e,t,a,r,n,i,l,d,c){var p=Array.prototype.slice.call(arguments,3);try{t.apply(a,p)}catch(h){this.onError(h)}}var Ws=!1,Jd=null,Qd=!1,fm=null,TP={onError:function(e){Ws=!0,Jd=e}};function AP(e,t,a,r,n,i,l,d,c){Ws=!1,Jd=null,EP.apply(TP,arguments)}function MP(e,t,a,r,n,i,l,d,c){if(AP.apply(this,arguments),Ws){if(Ws){var p=Jd;Ws=!1,Jd=null}else throw Error(U(198));Qd||(Qd=!0,fm=p)}}function nn(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function rb(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Hy(e){if(nn(e)!==e)throw Error(U(188))}function DP(e){var t=e.alternate;if(!t){if(t=nn(e),t===null)throw Error(U(188));return t!==e?null:e}for(var a=e,r=t;;){var n=a.return;if(n===null)break;var i=n.alternate;if(i===null){if(r=n.return,r!==null){a=r;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===a)return Hy(n),e;if(i===r)return Hy(n),t;i=i.sibling}throw Error(U(188))}if(a.return!==r.return)a=n,r=i;else{for(var l=!1,d=n.child;d;){if(d===a){l=!0,a=n,r=i;break}if(d===r){l=!0,r=n,a=i;break}d=d.sibling}if(!l){for(d=i.child;d;){if(d===a){l=!0,a=i,r=n;break}if(d===r){l=!0,r=i,a=n;break}d=d.sibling}if(!l)throw Error(U(189))}}if(a.alternate!==r)throw Error(U(190))}if(a.tag!==3)throw Error(U(188));return a.stateNode.current===a?e:t}function ob(e){return e=DP(e),e!==null?nb(e):null}function nb(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=nb(e);if(t!==null)return t;e=e.sibling}return null}var ib=Jt.unstable_scheduleCallback,jy=Jt.unstable_cancelCallback,FP=Jt.unstable_shouldYield,BP=Jt.unstable_requestPaint,Ye=Jt.unstable_now,OP=Jt.unstable_getCurrentPriorityLevel,Km=Jt.unstable_ImmediatePriority,sb=Jt.unstable_UserBlockingPriority,ec=Jt.unstable_NormalPriority,NP=Jt.unstable_LowPriority,lb=Jt.unstable_IdlePriority,bc=null,tr=null;function zP(e){if(tr&&typeof tr.onCommitFiberRoot=="function")try{tr.onCommitFiberRoot(bc,e,void 0,(e.current.flags&128)===128)}catch{}}var Fa=Math.clz32?Math.clz32:HP,VP=Math.log,UP=Math.LN2;function HP(e){return e>>>=0,e===0?32:31-(VP(e)/UP|0)|0}var Cd=64,kd=4194304;function Hs(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function tc(e,t){var a=e.pendingLanes;if(a===0)return 0;var r=0,n=e.suspendedLanes,i=e.pingedLanes,l=a&268435455;if(l!==0){var d=l&~n;d!==0?r=Hs(d):(i&=l,i!==0&&(r=Hs(i)))}else l=a&~n,l!==0?r=Hs(l):i!==0&&(r=Hs(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&n)===0&&(n=r&-r,i=t&-t,n>=i||n===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=a&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)a=31-Fa(t),n=1<<a,r|=e[a],t&=~n;return r}function jP(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function qP(e,t){for(var a=e.suspendedLanes,r=e.pingedLanes,n=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Fa(i),d=1<<l,c=n[l];c===-1?((d&a)===0||(d&r)!==0)&&(n[l]=jP(d,t)):c<=t&&(e.expiredLanes|=d),i&=~d}}function pm(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ub(){var e=Cd;return Cd<<=1,(Cd&4194240)===0&&(Cd=64),e}function Mh(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function gl(e,t,a){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Fa(t),e[t]=a}function WP(e,t){var a=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<a;){var n=31-Fa(a),i=1<<n;t[n]=0,r[n]=-1,e[n]=-1,a&=~i}}function Ym(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var r=31-Fa(a),n=1<<r;n&t|e[r]&t&&(e[r]|=t),a&=~n}}var Ce=0;function db(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var cb,Jm,fb,pb,hb,hm=!1,Id=[],oo=null,no=null,io=null,al=new Map,rl=new Map,eo=[],GP="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function qy(e,t){switch(e){case"focusin":case"focusout":oo=null;break;case"dragenter":case"dragleave":no=null;break;case"mouseover":case"mouseout":io=null;break;case"pointerover":case"pointerout":al.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":rl.delete(t.pointerId)}}function Ms(e,t,a,r,n,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:r,nativeEvent:i,targetContainers:[n]},t!==null&&(t=xl(t),t!==null&&Jm(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function ZP(e,t,a,r,n){switch(t){case"focusin":return oo=Ms(oo,e,t,a,r,n),!0;case"dragenter":return no=Ms(no,e,t,a,r,n),!0;case"mouseover":return io=Ms(io,e,t,a,r,n),!0;case"pointerover":var i=n.pointerId;return al.set(i,Ms(al.get(i)||null,e,t,a,r,n)),!0;case"gotpointercapture":return i=n.pointerId,rl.set(i,Ms(rl.get(i)||null,e,t,a,r,n)),!0}return!1}function mb(e){var t=$o(e.target);if(t!==null){var a=nn(t);if(a!==null){if(t=a.tag,t===13){if(t=rb(a),t!==null){e.blockedOn=t,hb(e.priority,function(){fb(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ud(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=mm(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(a===null){a=e.nativeEvent;var r=new a.constructor(a.type,a);um=r,a.target.dispatchEvent(r),um=null}else return t=xl(a),t!==null&&Jm(t),e.blockedOn=a,!1;t.shift()}return!0}function Wy(e,t,a){Ud(e)&&a.delete(t)}
vendor: 5,929 bytes, line 6
6function $P(){hm=!1,oo!==null&&Ud(oo)&&(oo=null),no!==null&&Ud(no)&&(no=null),io!==null&&Ud(io)&&(io=null),al.forEach(Wy),rl.forEach(Wy)}function Ds(e,t){e.blockedOn===t&&(e.blockedOn=null,hm||(hm=!0,Jt.unstable_scheduleCallback(Jt.unstable_NormalPriority,$P)))}function ol(e){function t(n){return Ds(n,e)}if(0<Id.length){Ds(Id[0],e);for(var a=1;a<Id.length;a++){var r=Id[a];r.blockedOn===e&&(r.blockedOn=null)}}for(oo!==null&&Ds(oo,e),no!==null&&Ds(no,e),io!==null&&Ds(io,e),al.forEach(t),rl.forEach(t),a=0;a<eo.length;a++)r=eo[a],r.blockedOn===e&&(r.blockedOn=null);for(;0<eo.length&&(a=eo[0],a.blockedOn===null);)mb(a),a.blockedOn===null&&eo.shift()}var li=Er.ReactCurrentBatchConfig,ac=!0;function XP(e,t,a,r){var n=Ce,i=li.transition;li.transition=null;try{Ce=1,Qm(e,t,a,r)}finally{Ce=n,li.transition=i}}function KP(e,t,a,r){var n=Ce,i=li.transition;li.transition=null;try{Ce=4,Qm(e,t,a,r)}finally{Ce=n,li.transition=i}}function Qm(e,t,a,r){if(ac){var n=mm(e,t,a,r);if(n===null)Vh(e,t,r,rc,a),qy(e,r);else if(ZP(n,e,t,a,r))r.stopPropagation();else if(qy(e,r),t&4&&-1<GP.indexOf(e)){for(;n!==null;){var i=xl(n);if(i!==null&&cb(i),i=mm(e,t,a,r),i===null&&Vh(e,t,r,rc,a),i===n)break;n=i}n!==null&&r.stopPropagation()}else Vh(e,t,r,null,a)}}var rc=null;function mm(e,t,a,r){if(rc=null,e=Xm(r),e=$o(e),e!==null)if(t=nn(e),t===null)e=null;else if(a=t.tag,a===13){if(e=rb(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return rc=e,null}function gb(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(OP()){case Km:return 1;case sb:return 4;case ec:case NP:return 16;case lb:return 536870912;default:return 16}default:return 16}}var ao=null,eg=null,Hd=null;function vb(){if(Hd)return Hd;var e,t=eg,a=t.length,r,n="value"in ao?ao.value:ao.textContent,i=n.length;for(e=0;e<a&&t[e]===n[e];e++);var l=a-e;for(r=1;r<=l&&t[a-r]===n[i-r];r++);return Hd=n.slice(e,1<r?1-r:void 0)}function jd(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Pd(){return!0}function Gy(){return!1}function Qt(e){function t(a,r,n,i,l){this._reactName=a,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(a=e[d],this[d]=a?a(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Pd:Gy,this.isPropagationStopped=Gy,this}return He(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Pd)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Pd)},persist:function(){},isPersistent:Pd}),t}var xi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tg=Qt(xi),vl=He({},xi,{view:0,detail:0}),YP=Qt(vl),Dh,Fh,Fs,Lc=He({},vl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ag,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Fs&&(Fs&&e.type==="mousemove"?(Dh=e.screenX-Fs.screenX,Fh=e.screenY-Fs.screenY):Fh=Dh=0,Fs=e),Dh)},movementY:function(e){return"movementY"in e?e.movementY:Fh}}),Zy=Qt(Lc),JP=He({},Lc,{dataTransfer:0}),QP=Qt(JP),eR=He({},vl,{relatedTarget:0}),Bh=Qt(eR),tR=He({},xi,{animationName:0,elapsedTime:0,pseudoElement:0}),aR=Qt(tR),rR=He({},xi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),oR=Qt(rR),nR=He({},xi,{data:0}),$y=Qt(nR),iR={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sR={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},lR={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function uR(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=lR[e])?!!t[e]:!1}function ag(){return uR}var dR=He({},vl,{key:function(e){if(e.key){var t=iR[e.key]||e.key;if(t!=="Unidentified")return t}
vendor: 6,016 bytes, line 6
6return e.type==="keypress"?(e=jd(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?sR[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ag,charCode:function(e){return e.type==="keypress"?jd(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?jd(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),cR=Qt(dR),fR=He({},Lc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xy=Qt(fR),pR=He({},vl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ag}),hR=Qt(pR),mR=He({},xi,{propertyName:0,elapsedTime:0,pseudoElement:0}),gR=Qt(mR),vR=He({},Lc,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),xR=Qt(vR),wR=[9,13,27,32],rg=kr&&"CompositionEvent"in window,Gs=null;kr&&"documentMode"in document&&(Gs=document.documentMode);var yR=kr&&"TextEvent"in window&&!Gs,xb=kr&&(!rg||Gs&&8<Gs&&11>=Gs),Ky=" ",Yy=!1;function wb(e,t){switch(e){case"keyup":return wR.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yb(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xn=!1;function bR(e,t){switch(e){case"compositionend":return yb(t);case"keypress":return t.which!==32?null:(Yy=!0,Ky);case"textInput":return e=t.data,e===Ky&&Yy?null:e;default:return null}}function LR(e,t){if(Xn)return e==="compositionend"||!rg&&wb(e,t)?(e=vb(),Hd=eg=ao=null,Xn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return xb&&t.locale!=="ko"?null:t.data;default:return null}}var SR={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Jy(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!SR[e.type]:t==="textarea"}function bb(e,t,a,r){J0(r),t=oc(t,"onChange"),0<t.length&&(a=new tg("onChange","change",null,a,r),e.push({event:a,listeners:t}))}var Zs=null,nl=null;function _R(e){Ab(e,0)}function Sc(e){var t=Jn(e);if(W0(t))return e}function CR(e,t){if(e==="change")return t}var Lb=!1;kr&&(kr?(Ed="oninput"in document,Ed||(Oh=document.createElement("div"),Oh.setAttribute("oninput","return;"),Ed=typeof Oh.oninput=="function"),Rd=Ed):Rd=!1,Lb=Rd&&(!document.documentMode||9<document.documentMode));var Rd,Ed,Oh;function Qy(){Zs&&(Zs.detachEvent("onpropertychange",Sb),nl=Zs=null)}function Sb(e){if(e.propertyName==="value"&&Sc(nl)){var t=[];bb(t,nl,e,Xm(e)),ab(_R,t)}}function kR(e,t,a){e==="focusin"?(Qy(),Zs=t,nl=a,Zs.attachEvent("onpropertychange",Sb)):e==="focusout"&&Qy()}function IR(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Sc(nl)}function PR(e,t){if(e==="click")return Sc(t)}function RR(e,t){if(e==="input"||e==="change")return Sc(t)}function ER(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Oa=typeof Object.is=="function"?Object.is:ER;function il(e,t){if(Oa(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),r=Object.keys(t);if(a.length!==r.length)return!1;for(r=0;r<a.length;r++){var n=a[r];if(!Yh.call(t,n)||!Oa(e[n],t[n]))return!1}return!0}function e0(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function t0(e,t){var a=e0(e);e=0;for(var r;a;){if(a.nodeType===3){if(r=e+a.textContent.length,e<=t&&r>=t)return{node:a,offset:t-e};e=r}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=e0(a)}}function _b(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_b(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Cb(){for(var e=window,t=Yd();t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Yd(e.document)}return t}function og(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function TR(e){var t=Cb(),a=e.focusedElem,r=e.selectionRange;if(t!==a&&a&&a.ownerDocument&&_b(a.ownerDocument.documentElement,a)){if(r!==null&&og(a)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in a)a.selectionStart=t,a.selectionEnd=Math.min(e,a.value.length);else if(e=(t=a.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var n=a.textContent.length,i=Math.min(r.start,n);r=r.end===void 0?i:Math.min(r.end,n),!e.extend&&i>r&&(n=r,r=i,i=n),n=t0(a,i);var l=t0(a,r);n&&l&&(e.rangeCount!==1||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(n.node,n.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=a;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a<t.length;a++)e=t[a],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var AR=kr&&"documentMode"in document&&11>=document.documentMode,Kn=null,gm=null,$s=null,vm=!1;function a0(e,t,a){var r=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;vm||Kn==null||Kn!==Yd(r)||(r=Kn,"selectionStart"in r&&og(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,514 bytes, line 6
6sNode:r.focusNode,focusOffset:r.focusOffset}),$s&&il($s,r)||($s=r,r=oc(gm,"onSelect"),0<r.length&&(t=new tg("onSelect","select",null,t,a),e.push({event:t,listeners:r}),t.target=Kn)))}function Td(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Yn={animationend:Td("Animation","AnimationEnd"),animationiteration:Td("Animation","AnimationIteration"),animationstart:Td("Animation","AnimationStart"),transitionend:Td("Transition","TransitionEnd")},Nh={},kb={};kr&&(kb=document.createElement("div").style,"AnimationEvent"in window||(delete Yn.animationend.animation,delete Yn.animationiteration.animation,delete Yn.animationstart.animation),"TransitionEvent"in window||delete Yn.transitionend.transition);function _c(e){if(Nh[e])return Nh[e];if(!Yn[e])return e;var t=Yn[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in kb)return Nh[e]=t[a];return e}var Ib=_c("animationend"),Pb=_c("animationiteration"),Rb=_c("animationstart"),Eb=_c("transitionend"),Tb=new Map,r0="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function mo(e,t){Tb.set(e,t),on(t,[e])}for(Ad=0;Ad<r0.length;Ad++)Md=r0[Ad],o0=Md.toLowerCase(),n0=Md[0].toUpperCase()+Md.slice(1),mo(o0,"on"+n0);var Md,o0,n0,Ad;mo(Ib,"onAnimationEnd");mo(Pb,"onAnimationIteration");mo(Rb,"onAnimationStart");mo("dblclick","onDoubleClick");mo("focusin","onFocus");mo("focusout","onBlur");mo(Eb,"onTransitionEnd");ci("onMouseEnter",["mouseout","mouseover"]);ci("onMouseLeave",["mouseout","mouseover"]);ci("onPointerEnter",["pointerout","pointerover"]);ci("onPointerLeave",["pointerout","pointerover"]);on("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));on("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));on("onBeforeInput",["compositionend","keypress","textInput","paste"]);on("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));on("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));on("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var js="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),MR=new Set("cancel close invalid load scroll toggle".split(" ").concat(js));function i0(e,t,a){var r=e.type||"unknown-event";e.currentTarget=a,MP(r,t,void 0,e),e.currentTarget=null}function Ab(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var r=e[a],n=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var l=r.length-1;0<=l;l--){var d=r[l],c=d.instance,p=d.currentTarget;if(d=d.listener,c!==i&&n.isPropagationStopped())break e;i0(n,d,p),i=c}else for(l=0;l<r.length;l++){if(d=r[l],c=d.instance,p=d.currentTarget,d=d.listener,c!==i&&n.isPropagationStopped())break e;i0(n,d,p),i=c}}}if(Qd)throw e=fm,Qd=!1,fm=null,e}function Te(e,t){var a=t[Lm];a===void 0&&(a=t[Lm]=new Set);var r=e+"__bubble";a.has(r)||(Mb(t,e,2,!1),a.add(r))}function zh(e,t,a){var r=0;t&&(r|=4),Mb(a,e,r,t)}var Dd="_reactListening"+Math.random().toString(36).slice(2);function sl(e){if(!e[Dd]){e[Dd]=!0,V0.forEach(function(a){a!=="selectionchange"&&(MR.has(a)||zh(a,!1,e),zh(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Dd]||(t[Dd]=!0,zh("selectionchange",!1,t))}}function Mb(e,t,a,r){switch(gb(t)){case 1:var n=XP;break;case 4:n=KP;break;default:n=Qm}a=n.bind(null,t,a,e),n=void 0,!cm||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),r?n!==void 0?e.addEventListener(t,a,{capture:!0,passive:n}):e.addEventListener(t,a,!0):n!==void 0?e.addEventListener(t,a,{passive:n}):e.addEventListener(t,a,!1)}function Vh(e,t,a,r,n){var i=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var d=r.stateNode.containerInfo;
vendor: 8,335 bytes, lines 6-7
6if(d===n||d.nodeType===8&&d.parentNode===n)break;if(l===4)for(l=r.return;l!==null;){var c=l.tag;if((c===3||c===4)&&(c=l.stateNode.containerInfo,c===n||c.nodeType===8&&c.parentNode===n))return;l=l.return}for(;d!==null;){if(l=$o(d),l===null)return;if(c=l.tag,c===5||c===6){r=i=l;continue e}d=d.parentNode}}r=r.return}ab(function(){var p=i,h=Xm(a),g=[];e:{var x=Tb.get(e);if(x!==void 0){var b=tg,_=e;switch(e){case"keypress":if(jd(a)===0)break e;case"keydown":case"keyup":b=cR;break;case"focusin":_="focus",b=Bh;break;case"focusout":_="blur",b=Bh;break;case"beforeblur":case"afterblur":b=Bh;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=Zy;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=QP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=hR;break;case Ib:case Pb:case Rb:b=aR;break;case Eb:b=gR;break;case"scroll":b=YP;break;case"wheel":b=xR;break;case"copy":case"cut":case"paste":b=oR;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=Xy}var C=(t&4)!==0,R=!C&&e==="scroll",v=C?x!==null?x+"Capture":null:x;C=[];for(var w=p,S;w!==null;){S=w;var k=S.stateNode;if(S.tag===5&&k!==null&&(S=k,v!==null&&(k=tl(w,v),k!=null&&C.push(ll(w,k,S)))),R)break;w=w.return}0<C.length&&(x=new b(x,_,null,a,h),g.push({event:x,listeners:C}))}}if((t&7)===0){e:{if(x=e==="mouseover"||e==="pointerover",b=e==="mouseout"||e==="pointerout",x&&a!==um&&(_=a.relatedTarget||a.fromElement)&&($o(_)||_[Ir]))break e;if((b||x)&&(x=h.window===h?h:(x=h.ownerDocument)?x.defaultView||x.parentWindow:window,b?(_=a.relatedTarget||a.toElement,b=p,_=_?$o(_):null,_!==null&&(R=nn(_),_!==R||_.tag!==5&&_.tag!==6)&&(_=null)):(b=null,_=p),b!==_)){if(C=Zy,k="onMouseLeave",v="onMouseEnter",w="mouse",(e==="pointerout"||e==="pointerover")&&(C=Xy,k="onPointerLeave",v="onPointerEnter",w="pointer"),R=b==null?x:Jn(b),S=_==null?x:Jn(_),x=new C(k,w+"leave",b,a,h),x.target=R,x.relatedTarget=S,k=null,$o(h)===p&&(C=new C(v,w+"enter",_,a,h),C.target=S,C.relatedTarget=R,k=C),R=k,b&&_)t:{for(C=b,v=_,w=0,S=C;S;S=Gn(S))w++;for(S=0,k=v;k;k=Gn(k))S++;for(;0<w-S;)C=Gn(C),w--;for(;0<S-w;)v=Gn(v),S--;for(;w--;){if(C===v||v!==null&&C===v.alternate)break t;C=Gn(C),v=Gn(v)}C=null}else C=null;b!==null&&s0(g,x,b,C,!1),_!==null&&R!==null&&s0(g,R,_,C,!0)}}e:{if(x=p?Jn(p):window,b=x.nodeName&&x.nodeName.toLowerCase(),b==="select"||b==="input"&&x.type==="file")var A=CR;else if(Jy(x))if(Lb)A=RR;else{A=IR;var O=kR}else(b=x.nodeName)&&b.toLowerCase()==="input"&&(x.type==="checkbox"||x.type==="radio")&&(A=PR);if(A&&(A=A(e,p))){bb(g,A,a,h);break e}O&&O(e,x,p),e==="focusout"&&(O=x._wrapperState)&&O.controlled&&x.type==="number"&&om(x,"number",x.value)}switch(O=p?Jn(p):window,e){case"focusin":(Jy(O)||O.contentEditable==="true")&&(Kn=O,gm=p,$s=null);break;case"focusout":$s=gm=Kn=null;break;case"mousedown":vm=!0;break;case"contextmenu":case"mouseup":case"dragend":vm=!1,a0(g,a,h);break;case"selectionchange":if(AR)break;case"keydown":case"keyup":a0(g,a,h)}var B;if(rg)e:{switch(e){case"compositionstart":var F="onCompositionStart";break e;case"compositionend":F="onCompositionEnd";break e;case"compositionupdate":F="onCompositionUpdate";break e}F=void 0}else Xn?wb(e,a)&&(F="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(F="onCompositionStart");F&&(xb&&a.locale!=="ko"&&(Xn||F!=="onCompositionStart"?F==="onCompositionEnd"&&Xn&&(B=vb()):(ao=h,eg="value"in ao?ao.value:ao.textContent,Xn=!0)),O=oc(p,F),0<O.length&&(F=new $y(F,e,null,a,h),g.push({event:F,listeners:O}),B?F.data=B:(B=yb(a),B!==null&&(F.data=B)))),(B=yR?bR(e,a):LR(e,a))&&(p=oc(p,"onBeforeInput"),0<p.length&&(h=new $y("onBeforeInput","beforeinput",null,a,h),g.push({event:h,listeners:p}),h.data=B))}Ab(g,t)})}function ll(e,t,a){return{instance:e,listener:t,currentTarget:a}}function oc(e,t){for(var a=t+"Capture",r=[];e!==null;){var n=e,i=n.stateNode;n.tag===5&&i!==null&&(n=i,i=tl(e,a),i!=null&&r.unshift(ll(e,i,n)),i=tl(e,t),i!=null&&r.push(ll(e,i,n))),e=e.return}return r}function Gn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function s0(e,t,a,r,n){for(var i=t._reactName,l=[];a!==null&&a!==r;){var d=a,c=d.alternate,p=d.stateNode;if(c!==null&&c===r)break;d.tag===5&&p!==null&&(d=p,n?(c=tl(a,i),c!=null&&l.unshift(ll(a,c,d))):n||(c=tl(a,i),c!=null&&l.push(ll(a,c,d)))),a=a.return}l.length!==0&&e.push({event:t,listeners:l})}var DR=/\r\n?/g,FR=/\u0000|\uFFFD/g;function l0(e){return(typeof e=="string"?e:""+e).replace(DR,`
7`).replace(FR,"")}function Fd(e,t,a){if(t=l0(t),l0(e)!==t&&a)throw Error(U(425))}function nc(){}var xm=null,wm=null;function ym(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var bm=typeof setTimeout=="function"?setTimeout:void 0,BR=typeof clearTimeout=="function"?clearTimeout:void 0,u0=typeof Promise=="function"?Promise:void 0,OR=typeof queueMicrotask=="function"?queueMicrotask:typeof u0<"u"?function(e){return u0.resolve(null).then(e).catch(NR)}:bm;function NR(e){setTimeout(function(){throw e})}function Uh(e,t){var a=t,r=0;do{var n=a.nextSibling;if(e.removeChild(a),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(r===0){e.removeChild(n),ol(t);return}r--}else a!=="$"&&a!=="$?"&&a!=="$!"||r++;a=n}while(a);ol(t)}function so(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function d0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"){if(t===0)return e;t--}else a==="/$"&&t++}e=e.previousSibling}return null}var wi=Math.random().toString(36).slice(2),er="__reactFiber$"+wi,ul="__reactProps$"+wi,Ir="__reactContainer$"+wi,Lm="__reactEvents$"+wi,zR="__reactListeners$"+wi,VR="__reactHandles$"+wi;function $o(e){var t=e[er];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Ir]||a[er]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=d0(e);e!==null;){if(a=e[er])return a;e=d0(e)}return t}e=a,a=e.parentNode}return null}function xl(e){return e=e[er]||e[Ir],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Jn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(U(33))}function Cc(e){return e[ul]||null}var Sm=[],Qn=-1;function go(e){return{current:e}}function Ae(e){0>Qn||(e.current=Sm[Qn],Sm[Qn]=null,Qn--)}function Ee(e,t){Qn++,Sm[Qn]=e.current,e.current=t}var ho={},It=go(ho),jt=go(!1),Qo=ho;function fi(e,t){var a=e.type.contextTypes;if(!a)return ho;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var n={},i;for(i in a)n[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=n),n}function qt(e){return e=e.childContextTypes,e!=null}function ic(){Ae(jt),Ae(It)}function c0(e,t,a){if(It.current!==ho)throw Error(U(168));Ee(It,t),Ee(jt,a)}function Db(e,t,a){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return a;r=r.getChildContext();for(var n in r)if(!(n in t))throw Error(U(108,kP(e)||"Unknown",n));return He({},a,r)}function sc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ho,Qo=It.current,Ee(It,e),Ee(jt,jt.current),!0}function f0(e,t,a){var r=e.stateNode;if(!r)throw Error(U(169));a?(e=Db(e,t,Qo),r.__reactInternalMemoizedMergedChildContext=e,Ae(jt),Ae(It),Ee(It,e)):Ae(jt),Ee(jt,a)}var Lr=null,kc=!1,Hh=!1;function Fb(e){Lr===null?Lr=[e]:Lr.push(e)}function UR(e){kc=!0,Fb(e)}function vo(){if(!Hh&&Lr!==null){Hh=!0;var e=0,t=Ce;try{var a=Lr;for(Ce=1;e<a.length;e++){var r=a[e];do r=r(!0);while(r!==null)}Lr=null,kc=!1}catch(n){throw Lr!==null&&(Lr=Lr.slice(e+1)),ib(Km,vo),n}finally{Ce=t,Hh=!1}}return null}var ei=[],ti=0,lc=null,uc=0,ca=[],fa=0,en=null,Sr=1,_r="";function Go(e,t){ei[ti++]=uc,ei[ti++]=lc,lc=e,uc=t}function Bb(e,t,a){ca[fa++]=Sr,ca[fa++]=_r,ca[fa++]=en,en=e;var r=Sr;e=_r;var n=32-Fa(r)-1;r&=~(1<<n),a+=1;var i=32-Fa(t)+n;
vendor: 4,986 bytes, line 7
7if(30<i){var l=n-n%5;i=(r&(1<<l)-1).toString(32),r>>=l,n-=l,Sr=1<<32-Fa(t)+n|a<<n|r,_r=i+e}else Sr=1<<i|a<<n|r,_r=e}function ng(e){e.return!==null&&(Go(e,1),Bb(e,1,0))}function ig(e){for(;e===lc;)lc=ei[--ti],ei[ti]=null,uc=ei[--ti],ei[ti]=null;for(;e===en;)en=ca[--fa],ca[fa]=null,_r=ca[--fa],ca[fa]=null,Sr=ca[--fa],ca[fa]=null}var Yt=null,Kt=null,Be=!1,Da=null;function Ob(e,t){var a=pa(5,null,null,0);a.elementType="DELETED",a.stateNode=t,a.return=e,t=e.deletions,t===null?(e.deletions=[a],e.flags|=16):t.push(a)}function p0(e,t){switch(e.tag){case 5:var a=e.type;return t=t.nodeType!==1||a.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Yt=e,Kt=so(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Yt=e,Kt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(a=en!==null?{id:Sr,overflow:_r}:null,e.memoizedState={dehydrated:t,treeContext:a,retryLane:1073741824},a=pa(18,null,null,0),a.stateNode=t,a.return=e,e.child=a,Yt=e,Kt=null,!0):!1;default:return!1}}function _m(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Cm(e){if(Be){var t=Kt;if(t){var a=t;if(!p0(e,t)){if(_m(e))throw Error(U(418));t=so(a.nextSibling);var r=Yt;t&&p0(e,t)?Ob(r,a):(e.flags=e.flags&-4097|2,Be=!1,Yt=e)}}else{if(_m(e))throw Error(U(418));e.flags=e.flags&-4097|2,Be=!1,Yt=e}}}function h0(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Yt=e}function Bd(e){if(e!==Yt)return!1;if(!Be)return h0(e),Be=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ym(e.type,e.memoizedProps)),t&&(t=Kt)){if(_m(e))throw Nb(),Error(U(418));for(;t;)Ob(e,t),t=so(t.nextSibling)}if(h0(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"){if(t===0){Kt=so(e.nextSibling);break e}t--}else a!=="$"&&a!=="$!"&&a!=="$?"||t++}e=e.nextSibling}Kt=null}}else Kt=Yt?so(e.stateNode.nextSibling):null;return!0}function Nb(){for(var e=Kt;e;)e=so(e.nextSibling)}function pi(){Kt=Yt=null,Be=!1}function sg(e){Da===null?Da=[e]:Da.push(e)}var HR=Er.ReactCurrentBatchConfig;function Bs(e,t,a){if(e=a.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(a._owner){if(a=a._owner,a){if(a.tag!==1)throw Error(U(309));var r=a.stateNode}if(!r)throw Error(U(147,e));var n=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(l){var d=n.refs;l===null?delete d[i]:d[i]=l},t._stringRef=i,t)}if(typeof e!="string")throw Error(U(284));if(!a._owner)throw Error(U(290,e))}return e}function Od(e,t){throw e=Object.prototype.toString.call(t),Error(U(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function m0(e){var t=e._init;return t(e._payload)}function zb(e){function t(v,w){if(e){var S=v.deletions;S===null?(v.deletions=[w],v.flags|=16):S.push(w)}}function a(v,w){if(!e)return null;for(;w!==null;)t(v,w),w=w.sibling;return null}function r(v,w){for(v=new Map;w!==null;)w.key!==null?v.set(w.key,w):v.set(w.index,w),w=w.sibling;return v}function n(v,w){return v=fo(v,w),v.index=0,v.sibling=null,v}function i(v,w,S){return v.index=S,e?(S=v.alternate,S!==null?(S=S.index,S<w?(v.flags|=2,w):S):(v.flags|=2,w)):(v.flags|=1048576,w)}function l(v){return e&&v.alternate===null&&(v.flags|=2),v}function d(v,w,S,k){return w===null||w.tag!==6?(w=Xh(S,v.mode,k),w.return=v,w):(w=n(w,S),w.return=v,w)}function c(v,w,S,k){var A=S.type;return A===$n?h(v,w,S.props.children,k,S.key):w!==null&&(w.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===Jr&&m0(A)===w.type)?(k=n(w,S.props),k.ref=Bs(v,w,S),k.return=v,k):(k=Kd(S.type,S.key,S.props,null,v.mode,k),k.ref=Bs(v,w,S),k.return=v,k)}function p(v,w,S,k){return w===null||w.tag!==4||w.stateNode.containerInfo!==S.containerInfo||w.stateNode.implementation!==S.implementation?(w=Kh(S,v.mode,k),w.return=v,w):(w=n(w,S.children||[]),w.return=v,w)}function h(v,w,S,k,A){return w===null||w.tag!==7?(w=Jo(S,v.mode,k,A),w.return=v,w):(w=n(w,S),w.return=v,w)}function g(v,w,S){if(typeof w=="string"&&w!==""||typeof w=="number")return w=Xh(""+w,v.mode,S),w.return=v,w;if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Ld:return S=Kd(w.type,w.key,w.props,null,v.mode,S),S.ref=Bs(v,null,w),S.return=v,S;case Zn:return w=Kh(w,v.mode,S),w.return=v,w;case Jr:var k=w._init;return g(v,k(w._payload),S)}if(Us(w)||As(w))return w=Jo(w,v.mode,S,null),w.return=v,w;Od(v,w)}return null}function x(v,w,S,k){var A=w!==null?w.key:null;if(typeof S=="string"&&S!==""||typeof S=="number")return A!==null?null:d(v,w,""+S,k);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Ld:return S.key===A?c(v,w,S,k):null;case Zn:return S.key===A?p(v,w,S,k):null;case Jr:return A=S._init,x(v,w,A(S._payload),k)}if(Us(S)||As(S))return A!==null?null:h(v,w,S,k,null);Od(v,S)}return null}function b(v,w,S,k,A){if(typeof k=="string"&&k!==""||typeof k=="number")return v=v.get(S)||null,d(w,v,""+k,A);
vendor: 22,470 bytes, lines 7-9
7if(typeof k=="object"&&k!==null){switch(k.$$typeof){case Ld:return v=v.get(k.key===null?S:k.key)||null,c(w,v,k,A);case Zn:return v=v.get(k.key===null?S:k.key)||null,p(w,v,k,A);case Jr:var O=k._init;return b(v,w,S,O(k._payload),A)}if(Us(k)||As(k))return v=v.get(S)||null,h(w,v,k,A,null);Od(w,k)}return null}function _(v,w,S,k){for(var A=null,O=null,B=w,F=w=0,V=null;B!==null&&F<S.length;F++){B.index>F?(V=B,B=null):V=B.sibling;var D=x(v,B,S[F],k);if(D===null){B===null&&(B=V);break}e&&B&&D.alternate===null&&t(v,B),w=i(D,w,F),O===null?A=D:O.sibling=D,O=D,B=V}if(F===S.length)return a(v,B),Be&&Go(v,F),A;if(B===null){for(;F<S.length;F++)B=g(v,S[F],k),B!==null&&(w=i(B,w,F),O===null?A=B:O.sibling=B,O=B);return Be&&Go(v,F),A}for(B=r(v,B);F<S.length;F++)V=b(B,v,F,S[F],k),V!==null&&(e&&V.alternate!==null&&B.delete(V.key===null?F:V.key),w=i(V,w,F),O===null?A=V:O.sibling=V,O=V);return e&&B.forEach(function(K){return t(v,K)}),Be&&Go(v,F),A}function C(v,w,S,k){var A=As(S);if(typeof A!="function")throw Error(U(150));if(S=A.call(S),S==null)throw Error(U(151));for(var O=A=null,B=w,F=w=0,V=null,D=S.next();B!==null&&!D.done;F++,D=S.next()){B.index>F?(V=B,B=null):V=B.sibling;var K=x(v,B,D.value,k);if(K===null){B===null&&(B=V);break}e&&B&&K.alternate===null&&t(v,B),w=i(K,w,F),O===null?A=K:O.sibling=K,O=K,B=V}if(D.done)return a(v,B),Be&&Go(v,F),A;if(B===null){for(;!D.done;F++,D=S.next())D=g(v,D.value,k),D!==null&&(w=i(D,w,F),O===null?A=D:O.sibling=D,O=D);return Be&&Go(v,F),A}for(B=r(v,B);!D.done;F++,D=S.next())D=b(B,v,F,D.value,k),D!==null&&(e&&D.alternate!==null&&B.delete(D.key===null?F:D.key),w=i(D,w,F),O===null?A=D:O.sibling=D,O=D);return e&&B.forEach(function(X){return t(v,X)}),Be&&Go(v,F),A}function R(v,w,S,k){if(typeof S=="object"&&S!==null&&S.type===$n&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case Ld:e:{for(var A=S.key,O=w;O!==null;){if(O.key===A){if(A=S.type,A===$n){if(O.tag===7){a(v,O.sibling),w=n(O,S.props.children),w.return=v,v=w;break e}}else if(O.elementType===A||typeof A=="object"&&A!==null&&A.$$typeof===Jr&&m0(A)===O.type){a(v,O.sibling),w=n(O,S.props),w.ref=Bs(v,O,S),w.return=v,v=w;break e}a(v,O);break}else t(v,O);O=O.sibling}S.type===$n?(w=Jo(S.props.children,v.mode,k,S.key),w.return=v,v=w):(k=Kd(S.type,S.key,S.props,null,v.mode,k),k.ref=Bs(v,w,S),k.return=v,v=k)}return l(v);case Zn:e:{for(O=S.key;w!==null;){if(w.key===O)if(w.tag===4&&w.stateNode.containerInfo===S.containerInfo&&w.stateNode.implementation===S.implementation){a(v,w.sibling),w=n(w,S.children||[]),w.return=v,v=w;break e}else{a(v,w);break}else t(v,w);w=w.sibling}w=Kh(S,v.mode,k),w.return=v,v=w}return l(v);case Jr:return O=S._init,R(v,w,O(S._payload),k)}if(Us(S))return _(v,w,S,k);if(As(S))return C(v,w,S,k);Od(v,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,w!==null&&w.tag===6?(a(v,w.sibling),w=n(w,S),w.return=v,v=w):(a(v,w),w=Xh(S,v.mode,k),w.return=v,v=w),l(v)):a(v,w)}return R}var hi=zb(!0),Vb=zb(!1),dc=go(null),cc=null,ai=null,lg=null;function ug(){lg=ai=cc=null}function dg(e){var t=dc.current;Ae(dc),e._currentValue=t}function km(e,t,a){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===a)break;e=e.return}}function ui(e,t){cc=e,lg=ai=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ht=!0),e.firstContext=null)}function ma(e){var t=e._currentValue;if(lg!==e)if(e={context:e,memoizedValue:t,next:null},ai===null){if(cc===null)throw Error(U(308));ai=e,cc.dependencies={lanes:0,firstContext:e}}else ai=ai.next=e;return t}var Xo=null;function cg(e){Xo===null?Xo=[e]:Xo.push(e)}function Ub(e,t,a,r){var n=t.interleaved;return n===null?(a.next=a,cg(t)):(a.next=n.next,n.next=a),t.interleaved=a,Pr(e,r)}function Pr(e,t){e.lanes|=t;var a=e.alternate;for(a!==null&&(a.lanes|=t),a=e,e=e.return;e!==null;)e.childLanes|=t,a=e.alternate,a!==null&&(a.childLanes|=t),a=e,e=e.return;return a.tag===3?a.stateNode:null}var Qr=!1;function fg(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Hb(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Cr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function lo(e,t,a){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(be&2)!==0){var n=r.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),r.pending=t,Pr(e,a)}return n=r.interleaved,n===null?(t.next=t,cg(r)):(t.next=n.next,n.next=t),r.interleaved=t,Pr(e,a)}function qd(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,Ym(e,a)}}function g0(e,t){var a=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,a===r)){var n=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var l={eventTime:a.eventTime,lane:a.lane,tag:a.tag,payload:a.payload,callback:a.callback,next:null};i===null?n=i=l:i=i.next=l,a=a.next}while(a!==null);i===null?n=i=t:i=i.next=t}else n=i=t;a={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}function fc(e,t,a,r){var n=e.updateQueue;Qr=!1;var i=n.firstBaseUpdate,l=n.lastBaseUpdate,d=n.shared.pending;if(d!==null){n.shared.pending=null;var c=d,p=c.next;c.next=null,l===null?i=p:l.next=p,l=c;var h=e.alternate;h!==null&&(h=h.updateQueue,d=h.lastBaseUpdate,d!==l&&(d===null?h.firstBaseUpdate=p:d.next=p,h.lastBaseUpdate=c))}if(i!==null){var g=n.baseState;l=0,h=p=c=null,d=i;do{var x=d.lane,b=d.eventTime;if((r&x)===x){h!==null&&(h=h.next={eventTime:b,lane:0,tag:d.tag,payload:d.payload,callback:d.callback,next:null});e:{var _=e,C=d;switch(x=t,b=a,C.tag){case 1:if(_=C.payload,typeof _=="function"){g=_.call(b,g,x);break e}g=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=C.payload,x=typeof _=="function"?_.call(b,g,x):_,x==null)break e;g=He({},g,x);break e;case 2:Qr=!0}}d.callback!==null&&d.lane!==0&&(e.flags|=64,x=n.effects,x===null?n.effects=[d]:x.push(d))}else b={eventTime:b,lane:x,tag:d.tag,payload:d.payload,callback:d.callback,next:null},h===null?(p=h=b,c=g):h=h.next=b,l|=x;if(d=d.next,d===null){if(d=n.shared.pending,d===null)break;x=d,d=x.next,x.next=null,n.lastBaseUpdate=x,n.shared.pending=null}}while(!0);if(h===null&&(c=g),n.baseState=c,n.firstBaseUpdate=p,n.lastBaseUpdate=h,t=n.shared.interleaved,t!==null){n=t;do l|=n.lane,n=n.next;while(n!==t)}else i===null&&(n.shared.lanes=0);an|=l,e.lanes=l,e.memoizedState=g}}function v0(e,t,a){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],n=r.callback;if(n!==null){if(r.callback=null,r=a,typeof n!="function")throw Error(U(191,n));n.call(r)}}}var wl={},ar=go(wl),dl=go(wl),cl=go(wl);function Ko(e){if(e===wl)throw Error(U(174));return e}function pg(e,t){switch(Ee(cl,t),Ee(dl,e),Ee(ar,wl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:im(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=im(t,e)}Ae(ar),Ee(ar,t)}function mi(){Ae(ar),Ae(dl),Ae(cl)}function jb(e){Ko(cl.current);var t=Ko(ar.current),a=im(t,e.type);t!==a&&(Ee(dl,e),Ee(ar,a))}function hg(e){dl.current===e&&(Ae(ar),Ae(dl))}var Ve=go(0);function pc(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var jh=[];function mg(){for(var e=0;e<jh.length;e++)jh[e]._workInProgressVersionPrimary=null;jh.length=0}var Wd=Er.ReactCurrentDispatcher,qh=Er.ReactCurrentBatchConfig,tn=0,Ue=null,it=null,ft=null,hc=!1,Xs=!1,fl=0,jR=0;function _t(){throw Error(U(321))}function gg(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!Oa(e[a],t[a]))return!1;return!0}function vg(e,t,a,r,n,i){if(tn=i,Ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Wd.current=e===null||e.memoizedState===null?ZR:$R,e=a(r,n),Xs){i=0;do{if(Xs=!1,fl=0,25<=i)throw Error(U(301));i+=1,ft=it=null,t.updateQueue=null,Wd.current=XR,e=a(r,n)}while(Xs)}if(Wd.current=mc,t=it!==null&&it.next!==null,tn=0,ft=it=Ue=null,hc=!1,t)throw Error(U(300));return e}function xg(){var e=fl!==0;return fl=0,e}function Qa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ft===null?Ue.memoizedState=ft=e:ft=ft.next=e,ft}function ga(){if(it===null){var e=Ue.alternate;e=e!==null?e.memoizedState:null}else e=it.next;var t=ft===null?Ue.memoizedState:ft.next;if(t!==null)ft=t,it=e;else{if(e===null)throw Error(U(310));it=e,e={memoizedState:it.memoizedState,baseState:it.baseState,baseQueue:it.baseQueue,queue:it.queue,next:null},ft===null?Ue.memoizedState=ft=e:ft=ft.next=e}return ft}function pl(e,t){return typeof t=="function"?t(e):t}function Wh(e){var t=ga(),a=t.queue;if(a===null)throw Error(U(311));a.lastRenderedReducer=e;var r=it,n=r.baseQueue,i=a.pending;if(i!==null){if(n!==null){var l=n.next;n.next=i.next,i.next=l}r.baseQueue=n=i,a.pending=null}if(n!==null){i=n.next,r=r.baseState;var d=l=null,c=null,p=i;do{var h=p.lane;if((tn&h)===h)c!==null&&(c=c.next={lane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),r=p.hasEagerState?p.eagerState:e(r,p.action);else{var g={lane:h,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};c===null?(d=c=g,l=r):c=c.next=g,Ue.lanes|=h,an|=h}p=p.next}while(p!==null&&p!==i);c===null?l=r:c.next=d,Oa(r,t.memoizedState)||(Ht=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=c,a.lastRenderedState=r}if(e=a.interleaved,e!==null){n=e;do i=n.lane,Ue.lanes|=i,an|=i,n=n.next;while(n!==e)}else n===null&&(a.lanes=0);return[t.memoizedState,a.dispatch]}function Gh(e){var t=ga(),a=t.queue;if(a===null)throw Error(U(311));a.lastRenderedReducer=e;var r=a.dispatch,n=a.pending,i=t.memoizedState;if(n!==null){a.pending=null;var l=n=n.next;do i=e(i,l.action),l=l.next;while(l!==n);Oa(i,t.memoizedState)||(Ht=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),a.lastRenderedState=i}return[i,r]}function qb(){}function Wb(e,t){var a=Ue,r=ga(),n=t(),i=!Oa(r.memoizedState,n);if(i&&(r.memoizedState=n,Ht=!0),r=r.queue,wg($b.bind(null,a,r,e),[e]),r.getSnapshot!==t||i||ft!==null&&ft.memoizedState.tag&1){if(a.flags|=2048,hl(9,Zb.bind(null,a,r,n,t),void 0,null),pt===null)throw Error(U(349));(tn&30)!==0||Gb(a,t,n)}return n}function Gb(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Ue.updateQueue,t===null?(t={lastEffect:null,stores:null},Ue.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Zb(e,t,a,r){t.value=a,t.getSnapshot=r,Xb(t)&&Kb(e)}function $b(e,t,a){return a(function(){Xb(t)&&Kb(e)})}function Xb(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Oa(e,a)}catch{return!0}}function Kb(e){var t=Pr(e,1);t!==null&&Ba(t,e,1,-1)}function x0(e){var t=Qa();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:pl,lastRenderedState:e},t.queue=e,e=e.dispatch=GR.bind(null,Ue,e),[t.memoizedState,e]}function hl(e,t,a,r){return e={tag:e,create:t,destroy:a,deps:r,next:null},t=Ue.updateQueue,t===null?(t={lastEffect:null,stores:null},Ue.updateQueue=t,t.lastEffect=e.next=e):(a=t.lastEffect,a===null?t.lastEffect=e.next=e:(r=a.next,a.next=e,e.next=r,t.lastEffect=e)),e}function Yb(){return ga().memoizedState}function Gd(e,t,a,r){var n=Qa();Ue.flags|=e,n.memoizedState=hl(1|t,a,void 0,r===void 0?null:r)}function Ic(e,t,a,r){var n=ga();r=r===void 0?null:r;var i=void 0;if(it!==null){var l=it.memoizedState;if(i=l.destroy,r!==null&&gg(r,l.deps)){n.memoizedState=hl(t,a,i,r);return}}Ue.flags|=e,n.memoizedState=hl(1|t,a,i,r)}function w0(e,t){return Gd(8390656,8,e,t)}function wg(e,t){return Ic(2048,8,e,t)}function Jb(e,t){return Ic(4,2,e,t)}function Qb(e,t){return Ic(4,4,e,t)}function eL(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function tL(e,t,a){return a=a!=null?a.concat([e]):null,Ic(4,4,eL.bind(null,t,e),a)}function yg(){}function aL(e,t){var a=ga();t=t===void 0?null:t;var r=a.memoizedState;return r!==null&&t!==null&&gg(t,r[1])?r[0]:(a.memoizedState=[e,t],e)}function rL(e,t){var a=ga();t=t===void 0?null:t;var r=a.memoizedState;return r!==null&&t!==null&&gg(t,r[1])?r[0]:(e=e(),a.memoizedState=[e,t],e)}function oL(e,t,a){return(tn&21)===0?(e.baseState&&(e.baseState=!1,Ht=!0),e.memoizedState=a):(Oa(a,t)||(a=ub(),Ue.lanes|=a,an|=a,e.baseState=!0),t)}function qR(e,t){var a=Ce;Ce=a!==0&&4>a?a:4,e(!0);var r=qh.transition;qh.transition={};try{e(!1),t()}finally{Ce=a,qh.transition=r}}function nL(){return ga().memoizedState}function WR(e,t,a){var r=co(e);if(a={lane:r,action:a,hasEagerState:!1,eagerState:null,next:null},iL(e))sL(t,a);else if(a=Ub(e,t,a,r),a!==null){var n=Dt();Ba(a,e,r,n),lL(a,t,r)}}function GR(e,t,a){var r=co(e),n={lane:r,action:a,hasEagerState:!1,eagerState:null,next:null};if(iL(e))sL(t,n);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,d=i(l,a);if(n.hasEagerState=!0,n.eagerState=d,Oa(d,l)){var c=t.interleaved;c===null?(n.next=n,cg(t)):(n.next=c.next,c.next=n),t.interleaved=n;return}}catch{}a=Ub(e,t,n,r),a!==null&&(n=Dt(),Ba(a,e,r,n),lL(a,t,r))}}function iL(e){var t=e.alternate;return e===Ue||t!==null&&t===Ue}function sL(e,t){Xs=hc=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function lL(e,t,a){if((a&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,a|=r,t.lanes=a,Ym(e,a)}}var mc={readContext:ma,useCallback:_t,useContext:_t,useEffect:_t,useImperativeHandle:_t,useInsertionEffect:_t,useLayoutEffect:_t,useMemo:_t,useReducer:_t,useRef:_t,useState:_t,useDebugValue:_t,useDeferredValue:_t,useTransition:_t,useMutableSource:_t,useSyncExternalStore:_t,useId:_t,unstable_isNewReconciler:!1},ZR={readContext:ma,useCallback:function(e,t){return Qa().memoizedState=[e,t===void 0?null:t],e},useContext:ma,useEffect:w0,useImperativeHandle:function(e,t,a){return a=a!=null?a.concat([e]):null,Gd(4194308,4,eL.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Gd(4194308,4,e,t)},useInsertionEffect:function(e,t){return Gd(4,2,e,t)},useMemo:function(e,t){var a=Qa();return t=t===void 0?null:t,e=e(),a.memoizedState=[e,t],e},useReducer:function(e,t,a){var r=Qa();return t=a!==void 0?a(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=WR.bind(null,Ue,e),[r.memoizedState,e]},useRef:function(e){var t=Qa();return e={current:e},t.memoizedState=e},useState:x0,useDebugValue:yg,useDeferredValue:function(e){return Qa().memoizedState=e},useTransition:function(){var e=x0(!1),t=e[0];return e=qR.bind(null,e[1]),Qa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,a){var r=Ue,n=Qa();if(Be){if(a===void 0)throw Error(U(407));a=a()}else{if(a=t(),pt===null)throw Error(U(349));(tn&30)!==0||Gb(r,t,a)}n.memoizedState=a;var i={value:a,getSnapshot:t};return n.queue=i,w0($b.bind(null,r,i,e),[e]),r.flags|=2048,hl(9,Zb.bind(null,r,i,a,t),void 0,null),a},useId:function(){var e=Qa(),t=pt.identifierPrefix;if(Be){var a=_r,r=Sr;a=(r&~(1<<32-Fa(r)-1)).toString(32)+a,t=":"+t+"R"+a,a=fl++,0<a&&(t+="H"+a.toString(32)),t+=":"}else a=jR++,t=":"+t+"r"+a.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},$R={readContext:ma,useCallback:aL,useContext:ma,useEffect:wg,useImperativeHandle:tL,useInsertionEffect:Jb,useLayoutEffect:Qb,useMemo:rL,useReducer:Wh,useRef:Yb,useState:function(){return Wh(pl)},useDebugValue:yg,useDeferredValue:function(e){var t=ga();return oL(t,it.memoizedState,e)},useTransition:function(){var e=Wh(pl)[0],t=ga().memoizedState;return[e,t]},useMutableSource:qb,useSyncExternalStore:Wb,useId:nL,unstable_isNewReconciler:!1},XR={readContext:ma,useCallback:aL,useContext:ma,useEffect:wg,useImperativeHandle:tL,useInsertionEffect:Jb,useLayoutEffect:Qb,useMemo:rL,useReducer:Gh,useRef:Yb,useState:function(){return Gh(pl)},useDebugValue:yg,useDeferredValue:function(e){var t=ga();return it===null?t.memoizedState=e:oL(t,it.memoizedState,e)},useTransition:function(){var e=Gh(pl)[0],t=ga().memoizedState;return[e,t]},useMutableSource:qb,useSyncExternalStore:Wb,useId:nL,unstable_isNewReconciler:!1};function Aa(e,t){if(e&&e.defaultProps){t=He({},t),e=e.defaultProps;for(var a in e)t[a]===void 0&&(t[a]=e[a]);return t}return t}function Im(e,t,a,r){t=e.memoizedState,a=a(r,t),a=a==null?t:He({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Pc={isMounted:function(e){return(e=e._reactInternals)?nn(e)===e:!1},enqueueSetState:function(e,t,a){e=e._reactInternals;var r=Dt(),n=co(e),i=Cr(r,n);i.payload=t,a!=null&&(i.callback=a),t=lo(e,i,n),t!==null&&(Ba(t,e,n,r),qd(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var r=Dt(),n=co(e),i=Cr(r,n);i.tag=1,i.payload=t,a!=null&&(i.callback=a),t=lo(e,i,n),t!==null&&(Ba(t,e,n,r),qd(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Dt(),r=co(e),n=Cr(a,r);n.tag=2,t!=null&&(n.callback=t),t=lo(e,n,r),t!==null&&(Ba(t,e,r,a),qd(t,e,r))}};function y0(e,t,a,r,n,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,l):t.prototype&&t.prototype.isPureReactComponent?!il(a,r)||!il(n,i):!0}function uL(e,t,a){var r=!1,n=ho,i=t.contextType;return typeof i=="object"&&i!==null?i=ma(i):(n=qt(t)?Qo:It.current,r=t.contextTypes,i=(r=r!=null)?fi(e,n):ho),t=new t(a,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Pc,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=i),t}function b0(e,t,a,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,r),t.state!==e&&Pc.enqueueReplaceState(t,t.state,null)}function Pm(e,t,a,r){var n=e.stateNode;n.props=a,n.state=e.memoizedState,n.refs={},fg(e);var i=t.contextType;typeof i=="object"&&i!==null?n.context=ma(i):(i=qt(t)?Qo:It.current,n.context=fi(e,i)),n.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Im(e,t,i,a),n.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(t=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),t!==n.state&&Pc.enqueueReplaceState(n,n.state,null),fc(e,a,n,r),n.state=e.memoizedState),typeof n.componentDidMount=="function"&&(e.flags|=4194308)}function gi(e,t){try{var a="",r=t;do a+=CP(r),r=r.return;while(r);var n=a}catch(i){n=`
8Error generating stack: `+i.message+`
9`+i.stack}return{value:e,source:t,stack:n,digest:null}}function Zh(e,t,a){return{value:e,source:null,stack:a??null,digest:t??null}}function Rm(e,t){try{console.error(t.value)}catch(a){setTimeout(function(){throw a})}}var KR=typeof WeakMap=="function"?WeakMap:Map;function dL(e,t,a){a=Cr(-1,a),a.tag=3,a.payload={element:null};var r=t.value;return a.callback=function(){vc||(vc=!0,zm=r),Rm(e,t)},a}function cL(e,t,a){a=Cr(-1,a),a.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var n=t.value;a.payload=function(){return r(n)},a.callback=function(){Rm(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(a.callback=function(){Rm(e,t),typeof r!="function"&&(uo===null?uo=new Set([this]):uo.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),a}function L0(e,t,a){var r=e.pingCache;if(r===null){r=e.pingCache=new KR;var n=new Set;r.set(t,n)}else n=r.get(t),n===void 0&&(n=new Set,r.set(t,n));n.has(a)||(n.add(a),e=dE.bind(null,e,t,a),t.then(e,e))}function S0(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function _0(e,t,a,r,n){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,a.flags|=131072,a.flags&=-52805,a.tag===1&&(a.alternate===null?a.tag=17:(t=Cr(-1,1),t.tag=2,lo(a,t,1))),a.lanes|=1),e):(e.flags|=65536,e.lanes=n,e)}var YR=Er.ReactCurrentOwner,Ht=!1;function Mt(e,t,a,r){t.child=e===null?Vb(t,null,a,r):hi(t,e.child,a,r)}function C0(e,t,a,r,n){a=a.render;var i=t.ref;return ui(t,n),r=vg(e,t,a,r,i,n),a=xg(),e!==null&&!Ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Rr(e,t,n)):(Be&&a&&ng(t),t.flags|=1,Mt(e,t,r,n),t.child)}function k0(e,t,a,r,n){if(e===null){var i=a.type;return typeof i=="function"&&!Pg(i)&&i.defaultProps===void 0&&a.compare===null&&a.defaultProps===void 0?(t.tag=15,t.type=i,fL(e,t,i,r,n)):(e=Kd(a.type,null,r,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&n)===0){var l=i.memoizedProps;if(a=a.compare,a=a!==null?a:il,a(l,r)&&e.ref===t.ref)return Rr(e,t,n)}return t.flags|=1,e=fo(i,r),e.ref=t.ref,e.return=t,t.child=e}function fL(e,t,a,r,n){if(e!==null){var i=e.memoizedProps;if(il(i,r)&&e.ref===t.ref)if(Ht=!1,t.pendingProps=r=i,(e.lanes&n)!==0)(e.flags&131072)!==0&&(Ht=!0);else return t.lanes=e.lanes,Rr(e,t,n)}return Em(e,t,a,r,n)}function pL(e,t,a){var r=t.pendingProps,n=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ee(oi,Xt),Xt|=a;else{if((a&1073741824)===0)return e=i!==null?i.baseLanes|a:a,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ee(oi,Xt),Xt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:a,Ee(oi,Xt),Xt|=r}else i!==null?(r=i.baseLanes|a,t.memoizedState=null):r=a,Ee(oi,Xt),Xt|=r;return Mt(e,t,n,a),t.child}function hL(e,t){var a=t.ref;(e===null&&a!==null||e!==null&&e.ref!==a)&&(t.flags|=512,t.flags|=2097152)}
vendor: 4,735 bytes, line 9
9function Em(e,t,a,r,n){var i=qt(a)?Qo:It.current;return i=fi(t,i),ui(t,n),a=vg(e,t,a,r,i,n),r=xg(),e!==null&&!Ht?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n,Rr(e,t,n)):(Be&&r&&ng(t),t.flags|=1,Mt(e,t,a,n),t.child)}function I0(e,t,a,r,n){if(qt(a)){var i=!0;sc(t)}else i=!1;if(ui(t,n),t.stateNode===null)Zd(e,t),uL(t,a,r),Pm(t,a,r,n),r=!0;else if(e===null){var l=t.stateNode,d=t.memoizedProps;l.props=d;var c=l.context,p=a.contextType;typeof p=="object"&&p!==null?p=ma(p):(p=qt(a)?Qo:It.current,p=fi(t,p));var h=a.getDerivedStateFromProps,g=typeof h=="function"||typeof l.getSnapshotBeforeUpdate=="function";g||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(d!==r||c!==p)&&b0(t,l,r,p),Qr=!1;var x=t.memoizedState;l.state=x,fc(t,r,l,n),c=t.memoizedState,d!==r||x!==c||jt.current||Qr?(typeof h=="function"&&(Im(t,a,h,r),c=t.memoizedState),(d=Qr||y0(t,a,d,r,x,c,p))?(g||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),l.props=r,l.state=c,l.context=p,r=d):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Hb(e,t),d=t.memoizedProps,p=t.type===t.elementType?d:Aa(t.type,d),l.props=p,g=t.pendingProps,x=l.context,c=a.contextType,typeof c=="object"&&c!==null?c=ma(c):(c=qt(a)?Qo:It.current,c=fi(t,c));var b=a.getDerivedStateFromProps;(h=typeof b=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(d!==g||x!==c)&&b0(t,l,r,c),Qr=!1,x=t.memoizedState,l.state=x,fc(t,r,l,n);var _=t.memoizedState;d!==g||x!==_||jt.current||Qr?(typeof b=="function"&&(Im(t,a,b,r),_=t.memoizedState),(p=Qr||y0(t,a,p,r,x,_,c)||!1)?(h||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,_,c),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,_,c)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||d===e.memoizedProps&&x===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&x===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=_),l.props=r,l.state=_,l.context=c,r=p):(typeof l.componentDidUpdate!="function"||d===e.memoizedProps&&x===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&x===e.memoizedState||(t.flags|=1024),r=!1)}return Tm(e,t,a,r,i,n)}function Tm(e,t,a,r,n,i){hL(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return n&&f0(t,a,!1),Rr(e,t,i);r=t.stateNode,YR.current=t;var d=l&&typeof a.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=hi(t,e.child,null,i),t.child=hi(t,null,d,i)):Mt(e,t,d,i),t.memoizedState=r.state,n&&f0(t,a,!0),t.child}function mL(e){var t=e.stateNode;t.pendingContext?c0(e,t.pendingContext,t.pendingContext!==t.context):t.context&&c0(e,t.context,!1),pg(e,t.containerInfo)}function P0(e,t,a,r,n){return pi(),sg(n),t.flags|=256,Mt(e,t,a,r),t.child}var Am={dehydrated:null,treeContext:null,retryLane:0};function Mm(e){return{baseLanes:e,cachePool:null,transitions:null}}function gL(e,t,a){var r=t.pendingProps,n=Ve.current,i=!1,l=(t.flags&128)!==0,d;if((d=l)||(d=e!==null&&e.memoizedState===null?!1:(n&2)!==0),d?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(n|=1),Ee(Ve,n&1),e===null)return Cm(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(l=r.children,e=r.fallback,i?(r=t.mode,i=t.child,l={mode:"hidden",children:l},(r&1)===0&&i!==null?(i.childLanes=0,i.pendingProps=l):i=Tc(l,r,0,null),e=Jo(e,r,a,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Mm(a),t.memoizedState=Am,e):bg(t,l));if(n=e.memoizedState,n!==null&&(d=n.dehydrated,d!==null))return JR(e,t,l,r,d,n,a);if(i){i=r.fallback,l=t.mode,n=e.child,d=n.sibling;var c={mode:"hidden",children:r.children};return(l&1)===0&&t.child!==n?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=fo(n,c),r.subtreeFlags=n.subtreeFlags&14680064),d!==null?i=fo(d,i):(i=Jo(i,l,a,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,l=e.child.memoizedState,l=l===null?Mm(a):{baseLanes:l.base
vendor: 8,242 bytes, line 9
9Lanes|a,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~a,t.memoizedState=Am,r}return i=e.child,e=i.sibling,r=fo(i,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=a),r.return=t,r.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=r,t.memoizedState=null,r}function bg(e,t){return t=Tc({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Nd(e,t,a,r){return r!==null&&sg(r),hi(t,e.child,null,a),e=bg(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function JR(e,t,a,r,n,i,l){if(a)return t.flags&256?(t.flags&=-257,r=Zh(Error(U(422))),Nd(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,n=t.mode,r=Tc({mode:"visible",children:r.children},n,0,null),i=Jo(i,n,l,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,(t.mode&1)!==0&&hi(t,e.child,null,l),t.child.memoizedState=Mm(l),t.memoizedState=Am,i);if((t.mode&1)===0)return Nd(e,t,l,null);if(n.data==="$!"){if(r=n.nextSibling&&n.nextSibling.dataset,r)var d=r.dgst;return r=d,i=Error(U(419)),r=Zh(i,r,void 0),Nd(e,t,l,r)}if(d=(l&e.childLanes)!==0,Ht||d){if(r=pt,r!==null){switch(l&-l){case 4:n=2;break;case 16:n=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:n=32;break;case 536870912:n=268435456;break;default:n=0}n=(n&(r.suspendedLanes|l))!==0?0:n,n!==0&&n!==i.retryLane&&(i.retryLane=n,Pr(e,n),Ba(r,e,n,-1))}return Ig(),r=Zh(Error(U(421))),Nd(e,t,l,r)}return n.data==="$?"?(t.flags|=128,t.child=e.child,t=cE.bind(null,e),n._reactRetry=t,null):(e=i.treeContext,Kt=so(n.nextSibling),Yt=t,Be=!0,Da=null,e!==null&&(ca[fa++]=Sr,ca[fa++]=_r,ca[fa++]=en,Sr=e.id,_r=e.overflow,en=t),t=bg(t,r.children),t.flags|=4096,t)}function R0(e,t,a){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),km(e.return,t,a)}function $h(e,t,a,r,n){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:a,tailMode:n}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=a,i.tailMode=n)}function vL(e,t,a){var r=t.pendingProps,n=r.revealOrder,i=r.tail;if(Mt(e,t,r.children,a),r=Ve.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&R0(e,a,t);else if(e.tag===19)R0(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ee(Ve,r),(t.mode&1)===0)t.memoizedState=null;else switch(n){case"forwards":for(a=t.child,n=null;a!==null;)e=a.alternate,e!==null&&pc(e)===null&&(n=a),a=a.sibling;a=n,a===null?(n=t.child,t.child=null):(n=a.sibling,a.sibling=null),$h(t,!1,n,a,i);break;case"backwards":for(a=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&pc(e)===null){t.child=n;break}e=n.sibling,n.sibling=a,a=n,n=e}$h(t,!0,a,null,i);break;case"together":$h(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zd(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Rr(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),an|=t.lanes,(a&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(U(153));if(t.child!==null){for(e=t.child,a=fo(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=fo(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function QR(e,t,a){switch(t.tag){case 3:mL(t),pi();break;case 5:jb(t);break;case 1:qt(t.type)&&sc(t);break;case 4:pg(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,n=t.memoizedProps.value;Ee(dc,r._currentValue),r._currentValue=n;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ee(Ve,Ve.current&1),t.flags|=128,null):(a&t.child.childLanes)!==0?gL(e,t,a):(Ee(Ve,Ve.current&1),e=Rr(e,t,a),e!==null?e.sibling:null);Ee(Ve,Ve.current&1);break;case 19:if(r=(a&t.childLanes)!==0,(e.flags&128)!==0){if(r)return vL(e,t,a);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Ee(Ve,Ve.current),r)break;return null;case 22:case 23:return t.lanes=0,pL(e,t,a)}return Rr(e,t,a)}var xL,Dm,wL,yL;xL=function(e,t){for(var a=t.child;a!==null;){if(a.tag===5||a.tag===6)e.appendChild(a.stateNode);else if(a.tag!==4&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break;for(;a.sibling===null;){if(a.return===null||a.return===t)return;a=a.return}a.sibling.return=a.return,a=a.sibling}};Dm=function(){};wL=function(e,t,a,r){var n=e.memoizedProps;if(n!==r){e=t.stateNode,Ko(ar.current);var i=null;switch(a){case"input":n=am(e,n),r=am(e,r),i=[];break;case"select":n=He({},n,{value:void 0}),r=He({},r,{value:void 0}),i=[];break;case"textarea":n=nm(e,n),r=nm(e,r),i=[];break;default:typeof n.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=nc)}sm(a,r);var l;a=null;for(p in n)if(!r.hasOwnProperty(p)&&n.hasOwnProperty(p)&&n[p]!=null)if(p==="style"){var d=n[p];for(l in d)d.hasOwnProperty(l)&&(a||(a={}),a[l]="")}else p!=="dangerouslySetInnerHTML"&&p!=="children"&&p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(Qs.hasOwnProperty(p)?i||(i=[]):(i=i||[]).push(p,null));for(p in r){var c=r[p];if(d=n?.[p],r.hasOwnProperty(p)&&c!==d&&(c!=null||d!=null))if(p==="style")if(d){for(l in d)!d.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(a||(a={}),a[l]="");for(l in c)c.hasOwnProperty(l)&&d[l]!==c[l]&&(a||(a={}),a[l]=c[l])}else a||(i||(i=[]),i.push(p,a)),a=c;else p==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,d=d?d.__html:void 0,c!=null&&d!==c&&(i=i||[]).push(p,c)):p==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(p,""+c):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&(Qs.hasOwnProperty(p)?(c!=null&&p==="onScroll"&&Te("scroll",e),i||d===c||(i=[])):(i=i||[]).push(p,c))}a&&(i=i||[]).push("style",a);var p=i;(t.updateQueue=p)&&(t.flags|=4)}};yL=function(e,t,a,r){a!==r&&(t.flags|=4)};function Os(e,t){if(!Be)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var r=null;a!==null;)a.alternate!==null&&(r=a),a=a.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ct(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,r=0;if(t)for(var n=e.child;n!==null;)a|=n.lanes|n.childLanes,r|=n.subtreeFlags&14680064,r|=n.flags&14680064,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)a|=n.lanes|n.childLanes,r|=n.subtreeFlags,r|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=r,e.childLanes=a,t}function eE(e,t,a){var r=t.pendingProps;switch(ig(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ct(t),null;case 1:return qt(t.type)&&ic(),Ct(t),null;case 3:return r=t.stateNode,mi(),Ae(jt),Ae(It),mg(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Bd(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Da!==null&&(Hm(Da),Da=null))),Dm(e,t),Ct(t),null;case 5:hg(t);var n=Ko(cl.current);if(a=t.type,e!==null&&t.stateNode!=null)wL(e,t,a,r,n),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(U(166));return Ct(t),null}if(e=Ko(ar.current),Bd(t)){r=t.stateNode,a=t.type;var i=t.memoizedProps;switch(r[er]=t,r[ul]=i,e=(t.mode&1)!==0,a){case"dialog":Te("cancel",r),Te("close",r);break;case"iframe":case"object":case"embed":Te("load",r);break;case"video":case"audio":for(n=0;n<js.length;n++)Te(js[n],r);break;case"source":Te("error",r);break;case"img":case"image":case"link":Te("error",r),Te("load",r);break;case"details":Te("toggle",r);break;case"input":Oy(r,i),Te("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Te("invalid",r);break;case"textarea":zy(r,i),Te("invalid",r)}sm(a,i),n=null;for(var l in i)if(i.hasOwnProperty(l)){var d=i[l];
vendor: 4,547 bytes, line 9
9l==="children"?typeof d=="string"?r.textContent!==d&&(i.suppressHydrationWarning!==!0&&Fd(r.textContent,d,e),n=["children",d]):typeof d=="number"&&r.textContent!==""+d&&(i.suppressHydrationWarning!==!0&&Fd(r.textContent,d,e),n=["children",""+d]):Qs.hasOwnProperty(l)&&d!=null&&l==="onScroll"&&Te("scroll",r)}switch(a){case"input":Sd(r),Ny(r,i,!0);break;case"textarea":Sd(r),Vy(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=nc)}r=n,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=n.nodeType===9?n:n.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=$0(a)),e==="http://www.w3.org/1999/xhtml"?a==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(a,{is:r.is}):(e=l.createElement(a),a==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,a),e[er]=t,e[ul]=r,xL(e,t,!1,!1),t.stateNode=e;e:{switch(l=lm(a,r),a){case"dialog":Te("cancel",e),Te("close",e),n=r;break;case"iframe":case"object":case"embed":Te("load",e),n=r;break;case"video":case"audio":for(n=0;n<js.length;n++)Te(js[n],e);n=r;break;case"source":Te("error",e),n=r;break;case"img":case"image":case"link":Te("error",e),Te("load",e),n=r;break;case"details":Te("toggle",e),n=r;break;case"input":Oy(e,r),n=am(e,r),Te("invalid",e);break;case"option":n=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},n=He({},r,{value:void 0}),Te("invalid",e);break;case"textarea":zy(e,r),n=nm(e,r),Te("invalid",e);break;default:n=r}sm(a,n),d=n;for(i in d)if(d.hasOwnProperty(i)){var c=d[i];i==="style"?Y0(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&X0(e,c)):i==="children"?typeof c=="string"?(a!=="textarea"||c!=="")&&el(e,c):typeof c=="number"&&el(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Qs.hasOwnProperty(i)?c!=null&&i==="onScroll"&&Te("scroll",e):c!=null&&Wm(e,i,c,l))}switch(a){case"input":Sd(e),Ny(e,r,!1);break;case"textarea":Sd(e),Vy(e);break;case"option":r.value!=null&&e.setAttribute("value",""+po(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?ni(e,!!r.multiple,i,!1):r.defaultValue!=null&&ni(e,!!r.multiple,r.defaultValue,!0);break;default:typeof n.onClick=="function"&&(e.onclick=nc)}switch(a){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Ct(t),null;case 6:if(e&&t.stateNode!=null)yL(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(U(166));if(a=Ko(cl.current),Ko(ar.current),Bd(t)){if(r=t.stateNode,a=t.memoizedProps,r[er]=t,(i=r.nodeValue!==a)&&(e=Yt,e!==null))switch(e.tag){case 3:Fd(r.nodeValue,a,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Fd(r.nodeValue,a,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(a.nodeType===9?a:a.ownerDocument).createTextNode(r),r[er]=t,t.stateNode=r}return Ct(t),null;case 13:if(Ae(Ve),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Be&&Kt!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Nb(),pi(),t.flags|=98560,i=!1;else if(i=Bd(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(U(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(U(317));i[er]=t}else pi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ct(t),i=!1}else Da!==null&&(Hm(Da),Da=null),i=!0;if(!i)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=a,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Ve.current&1)!==0?st===0&&(st=3):Ig())),t.updateQueue!==null&&(t.flags|=4),Ct(t),null);case 4:return mi(),Dm(e,t),e===null&&sl(t.stateNode.containerInfo),Ct(t),null;case 10:return dg(t.type._context),Ct(t),null;case 17:return qt(t.type)&&ic(),Ct(t),null;case 19:if(Ae(Ve),i=t.memoizedState,i===null)return Ct(t),null;if(r=(t.flags&128)!==0,l=i.rendering,l===null)if(r)Os(i,!1);else{if(st!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(l=pc(e),l!==null){for(t.flags|=128,Os(i,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=a,a=t.child;a!==null;)i=a,e=r,i.flags&=14680066,l=i.alternate,l===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deleti
vendor: 32,962 bytes, line 9
9ons=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),a=a.sibling;return Ee(Ve,Ve.current&1|2),t.child}e=e.sibling}i.tail!==null&&Ye()>vi&&(t.flags|=128,r=!0,Os(i,!1),t.lanes=4194304)}else{if(!r)if(e=pc(l),e!==null){if(t.flags|=128,r=!0,a=e.updateQueue,a!==null&&(t.updateQueue=a,t.flags|=4),Os(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!Be)return Ct(t),null}else 2*Ye()-i.renderingStartTime>vi&&a!==1073741824&&(t.flags|=128,r=!0,Os(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(a=i.last,a!==null?a.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ye(),t.sibling=null,a=Ve.current,Ee(Ve,r?a&1|2:a&1),t):(Ct(t),null);case 22:case 23:return kg(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Xt&1073741824)!==0&&(Ct(t),t.subtreeFlags&6&&(t.flags|=8192)):Ct(t),null;case 24:return null;case 25:return null}throw Error(U(156,t.tag))}function tE(e,t){switch(ig(t),t.tag){case 1:return qt(t.type)&&ic(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return mi(),Ae(jt),Ae(It),mg(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return hg(t),null;case 13:if(Ae(Ve),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(U(340));pi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ae(Ve),null;case 4:return mi(),null;case 10:return dg(t.type._context),null;case 22:case 23:return kg(),null;case 24:return null;default:return null}}var zd=!1,kt=!1,aE=typeof WeakSet=="function"?WeakSet:Set,Z=null;function ri(e,t){var a=e.ref;if(a!==null)if(typeof a=="function")try{a(null)}catch(r){Ge(e,t,r)}else a.current=null}function Fm(e,t,a){try{a()}catch(r){Ge(e,t,r)}}var E0=!1;function rE(e,t){if(xm=ac,e=Cb(),og(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var r=a.getSelection&&a.getSelection();if(r&&r.rangeCount!==0){a=r.anchorNode;var n=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break e}var l=0,d=-1,c=-1,p=0,h=0,g=e,x=null;t:for(;;){for(var b;g!==a||n!==0&&g.nodeType!==3||(d=l+n),g!==i||r!==0&&g.nodeType!==3||(c=l+r),g.nodeType===3&&(l+=g.nodeValue.length),(b=g.firstChild)!==null;)x=g,g=b;for(;;){if(g===e)break t;if(x===a&&++p===n&&(d=l),x===i&&++h===r&&(c=l),(b=g.nextSibling)!==null)break;g=x,x=g.parentNode}g=b}a=d===-1||c===-1?null:{start:d,end:c}}else a=null}a=a||{start:0,end:0}}else a=null;for(wm={focusedElem:e,selectionRange:a},ac=!1,Z=t;Z!==null;)if(t=Z,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Z=e;else for(;Z!==null;){t=Z;try{var _=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(_!==null){var C=_.memoizedProps,R=_.memoizedState,v=t.stateNode,w=v.getSnapshotBeforeUpdate(t.elementType===t.type?C:Aa(t.type,C),R);v.__reactInternalSnapshotBeforeUpdate=w}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(U(163))}}catch(k){Ge(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,Z=e;break}Z=t.return}return _=E0,E0=!1,_}function Ks(e,t,a){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do{if((n.tag&e)===e){var i=n.destroy;n.destroy=void 0,i!==void 0&&Fm(t,a,i)}n=n.next}while(n!==r)}}function Rc(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var a=t=t.next;do{if((a.tag&e)===e){var r=a.create;a.destroy=r()}a=a.next}while(a!==t)}}function Bm(e){var t=e.ref;if(t!==null){var a=e.stateNode;e.tag,e=a,typeof t=="function"?t(e):t.current=e}}function bL(e){var t=e.alternate;t!==null&&(e.alternate=null,bL(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[er],delete t[ul],delete t[Lm],delete t[zR],delete t[VR])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function LL(e){return e.tag===5||e.tag===3||e.tag===4}function T0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||LL(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Om(e,t,a){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?a.nodeType===8?a.parentNode.insertBefore(e,t):a.insertBefore(e,t):(a.nodeType===8?(t=a.parentNode,t.insertBefore(e,a)):(t=a,t.appendChild(e)),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=nc));else if(r!==4&&(e=e.child,e!==null))for(Om(e,t,a),e=e.sibling;e!==null;)Om(e,t,a),e=e.sibling}function Nm(e,t,a){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Nm(e,t,a),e=e.sibling;e!==null;)Nm(e,t,a),e=e.sibling}var vt=null,Ma=!1;function Yr(e,t,a){for(a=a.child;a!==null;)SL(e,t,a),a=a.sibling}function SL(e,t,a){if(tr&&typeof tr.onCommitFiberUnmount=="function")try{tr.onCommitFiberUnmount(bc,a)}catch{}switch(a.tag){case 5:kt||ri(a,t);case 6:var r=vt,n=Ma;vt=null,Yr(e,t,a),vt=r,Ma=n,vt!==null&&(Ma?(e=vt,a=a.stateNode,e.nodeType===8?e.parentNode.removeChild(a):e.removeChild(a)):vt.removeChild(a.stateNode));break;case 18:vt!==null&&(Ma?(e=vt,a=a.stateNode,e.nodeType===8?Uh(e.parentNode,a):e.nodeType===1&&Uh(e,a),ol(e)):Uh(vt,a.stateNode));break;case 4:r=vt,n=Ma,vt=a.stateNode.containerInfo,Ma=!0,Yr(e,t,a),vt=r,Ma=n;break;case 0:case 11:case 14:case 15:if(!kt&&(r=a.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){n=r=r.next;do{var i=n,l=i.destroy;i=i.tag,l!==void 0&&((i&2)!==0||(i&4)!==0)&&Fm(a,t,l),n=n.next}while(n!==r)}Yr(e,t,a);break;case 1:if(!kt&&(ri(a,t),r=a.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=a.memoizedProps,r.state=a.memoizedState,r.componentWillUnmount()}catch(d){Ge(a,t,d)}Yr(e,t,a);break;case 21:Yr(e,t,a);break;case 22:a.mode&1?(kt=(r=kt)||a.memoizedState!==null,Yr(e,t,a),kt=r):Yr(e,t,a);break;default:Yr(e,t,a)}}function A0(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var a=e.stateNode;a===null&&(a=e.stateNode=new aE),t.forEach(function(r){var n=fE.bind(null,e,r);a.has(r)||(a.add(r),r.then(n,n))})}}function Ta(e,t){var a=t.deletions;if(a!==null)for(var r=0;r<a.length;r++){var n=a[r];try{var i=e,l=t,d=l;e:for(;d!==null;){switch(d.tag){case 5:vt=d.stateNode,Ma=!1;break e;case 3:vt=d.stateNode.containerInfo,Ma=!0;break e;case 4:vt=d.stateNode.containerInfo,Ma=!0;break e}d=d.return}if(vt===null)throw Error(U(160));SL(i,l,n),vt=null,Ma=!1;var c=n.alternate;c!==null&&(c.return=null),n.return=null}catch(p){Ge(n,t,p)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)_L(t,e),t=t.sibling}function _L(e,t){var a=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ta(t,e),Ja(e),r&4){try{Ks(3,e,e.return),Rc(3,e)}catch(C){Ge(e,e.return,C)}try{Ks(5,e,e.return)}catch(C){Ge(e,e.return,C)}}break;case 1:Ta(t,e),Ja(e),r&512&&a!==null&&ri(a,a.return);break;case 5:if(Ta(t,e),Ja(e),r&512&&a!==null&&ri(a,a.return),e.flags&32){var n=e.stateNode;try{el(n,"")}catch(C){Ge(e,e.return,C)}}if(r&4&&(n=e.stateNode,n!=null)){var i=e.memoizedProps,l=a!==null?a.memoizedProps:i,d=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{d==="input"&&i.type==="radio"&&i.name!=null&&G0(n,i),lm(d,l);var p=lm(d,i);for(l=0;l<c.length;l+=2){var h=c[l],g=c[l+1];h==="style"?Y0(n,g):h==="dangerouslySetInnerHTML"?X0(n,g):h==="children"?el(n,g):Wm(n,h,g,p)}switch(d){case"input":rm(n,i);break;case"textarea":Z0(n,i);break;case"select":var x=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!i.multiple;var b=i.value;b!=null?ni(n,!!i.multiple,b,!1):x!==!!i.multiple&&(i.defaultValue!=null?ni(n,!!i.multiple,i.defaultValue,!0):ni(n,!!i.multiple,i.multiple?[]:"",!1))}n[ul]=i}catch(C){Ge(e,e.return,C)}}break;case 6:if(Ta(t,e),Ja(e),r&4){if(e.stateNode===null)throw Error(U(162));n=e.stateNode,i=e.memoizedProps;try{n.nodeValue=i}catch(C){Ge(e,e.return,C)}}break;case 3:if(Ta(t,e),Ja(e),r&4&&a!==null&&a.memoizedState.isDehydrated)try{ol(t.containerInfo)}catch(C){Ge(e,e.return,C)}break;case 4:Ta(t,e),Ja(e);break;case 13:Ta(t,e),Ja(e),n=e.child,n.flags&8192&&(i=n.memoizedState!==null,n.stateNode.isHidden=i,!i||n.alternate!==null&&n.alternate.memoizedState!==null||(_g=Ye())),r&4&&A0(e);break;case 22:if(h=a!==null&&a.memoizedState!==null,e.mode&1?(kt=(p=kt)||h,Ta(t,e),kt=p):Ta(t,e),Ja(e),r&8192){if(p=e.memoizedState!==null,(e.stateNode.isHidden=p)&&!h&&(e.mode&1)!==0)for(Z=e,h=e.child;h!==null;){for(g=Z=h;Z!==null;){switch(x=Z,b=x.child,x.tag){case 0:case 11:case 14:case 15:Ks(4,x,x.return);break;case 1:ri(x,x.return);var _=x.stateNode;if(typeof _.componentWillUnmount=="function"){r=x,a=x.return;try{t=r,_.props=t.memoizedProps,_.state=t.memoizedState,_.componentWillUnmount()}catch(C){Ge(r,a,C)}}break;case 5:ri(x,x.return);break;case 22:if(x.memoizedState!==null){D0(g);continue}}b!==null?(b.return=x,Z=b):D0(g)}h=h.sibling}e:for(h=null,g=e;;){if(g.tag===5){if(h===null){h=g;try{n=g.stateNode,p?(i=n.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(d=g.stateNode,c=g.memoizedProps.style,l=c!=null&&c.hasOwnProperty("display")?c.display:null,d.style.display=K0("display",l))}catch(C){Ge(e,e.return,C)}}}else if(g.tag===6){if(h===null)try{g.stateNode.nodeValue=p?"":g.memoizedProps}catch(C){Ge(e,e.return,C)}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===e)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===e)break e;for(;g.sibling===null;){if(g.return===null||g.return===e)break e;h===g&&(h=null),g=g.return}h===g&&(h=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:Ta(t,e),Ja(e),r&4&&A0(e);break;case 21:break;default:Ta(t,e),Ja(e)}}function Ja(e){var t=e.flags;if(t&2){try{e:{for(var a=e.return;a!==null;){if(LL(a)){var r=a;break e}a=a.return}throw Error(U(160))}switch(r.tag){case 5:var n=r.stateNode;r.flags&32&&(el(n,""),r.flags&=-33);var i=T0(e);Nm(e,i,n);break;case 3:case 4:var l=r.stateNode.containerInfo,d=T0(e);Om(e,d,l);break;default:throw Error(U(161))}}catch(c){Ge(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function oE(e,t,a){Z=e,CL(e,t,a)}function CL(e,t,a){for(var r=(e.mode&1)!==0;Z!==null;){var n=Z,i=n.child;if(n.tag===22&&r){var l=n.memoizedState!==null||zd;if(!l){var d=n.alternate,c=d!==null&&d.memoizedState!==null||kt;d=zd;var p=kt;if(zd=l,(kt=c)&&!p)for(Z=n;Z!==null;)l=Z,c=l.child,l.tag===22&&l.memoizedState!==null?F0(n):c!==null?(c.return=l,Z=c):F0(n);for(;i!==null;)Z=i,CL(i,t,a),i=i.sibling;Z=n,zd=d,kt=p}M0(e,t,a)}else(n.subtreeFlags&8772)!==0&&i!==null?(i.return=n,Z=i):M0(e,t,a)}}function M0(e){for(;Z!==null;){var t=Z;if((t.flags&8772)!==0){var a=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:kt||Rc(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!kt)if(a===null)r.componentDidMount();else{var n=t.elementType===t.type?a.memoizedProps:Aa(t.type,a.memoizedProps);r.componentDidUpdate(n,a.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&v0(t,i,r);break;case 3:var l=t.updateQueue;if(l!==null){if(a=null,t.child!==null)switch(t.child.tag){case 5:a=t.child.stateNode;break;case 1:a=t.child.stateNode}v0(t,l,a)}break;case 5:var d=t.stateNode;if(a===null&&t.flags&4){a=d;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&a.focus();break;case"img":c.src&&(a.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var p=t.alternate;if(p!==null){var h=p.memoizedState;if(h!==null){var g=h.dehydrated;g!==null&&ol(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(U(163))}kt||t.flags&512&&Bm(t)}catch(x){Ge(t,t.return,x)}}if(t===e){Z=null;break}if(a=t.sibling,a!==null){a.return=t.return,Z=a;break}Z=t.return}}function D0(e){for(;Z!==null;){var t=Z;if(t===e){Z=null;break}var a=t.sibling;if(a!==null){a.return=t.return,Z=a;break}Z=t.return}}function F0(e){for(;Z!==null;){var t=Z;try{switch(t.tag){case 0:case 11:case 15:var a=t.return;try{Rc(4,t)}catch(c){Ge(t,a,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var n=t.return;try{r.componentDidMount()}catch(c){Ge(t,n,c)}}var i=t.return;try{Bm(t)}catch(c){Ge(t,i,c)}break;case 5:var l=t.return;try{Bm(t)}catch(c){Ge(t,l,c)}}}catch(c){Ge(t,t.return,c)}if(t===e){Z=null;break}var d=t.sibling;if(d!==null){d.return=t.return,Z=d;break}Z=t.return}}var nE=Math.ceil,gc=Er.ReactCurrentDispatcher,Lg=Er.ReactCurrentOwner,ha=Er.ReactCurrentBatchConfig,be=0,pt=null,at=null,xt=0,Xt=0,oi=go(0),st=0,ml=null,an=0,Ec=0,Sg=0,Ys=null,Ut=null,_g=0,vi=1/0,br=null,vc=!1,zm=null,uo=null,Vd=!1,ro=null,xc=0,Js=0,Vm=null,$d=-1,Xd=0;function Dt(){return(be&6)!==0?Ye():$d!==-1?$d:$d=Ye()}function co(e){return(e.mode&1)===0?1:(be&2)!==0&&xt!==0?xt&-xt:HR.transition!==null?(Xd===0&&(Xd=ub()),Xd):(e=Ce,e!==0||(e=window.event,e=e===void 0?16:gb(e.type)),e)}function Ba(e,t,a,r){if(50<Js)throw Js=0,Vm=null,Error(U(185));gl(e,a,r),((be&2)===0||e!==pt)&&(e===pt&&((be&2)===0&&(Ec|=a),st===4&&to(e,xt)),Wt(e,r),a===1&&be===0&&(t.mode&1)===0&&(vi=Ye()+500,kc&&vo()))}function Wt(e,t){var a=e.callbackNode;qP(e,t);var r=tc(e,e===pt?xt:0);if(r===0)a!==null&&jy(a),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(a!=null&&jy(a),t===1)e.tag===0?UR(B0.bind(null,e)):Fb(B0.bind(null,e)),OR(function(){(be&6)===0&&vo()}),a=null;else{switch(db(r)){case 1:a=Km;break;case 4:a=sb;break;case 16:a=ec;break;case 536870912:a=lb;break;default:a=ec}a=ML(a,kL.bind(null,e))}e.callbackPriority=t,e.callbackNode=a}}function kL(e,t){if($d=-1,Xd=0,(be&6)!==0)throw Error(U(327));var a=e.callbackNode;if(di()&&e.callbackNode!==a)return null;var r=tc(e,e===pt?xt:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=wc(e,r);else{t=r;var n=be;be|=2;var i=PL();(pt!==e||xt!==t)&&(br=null,vi=Ye()+500,Yo(e,t));do try{lE();break}catch(d){IL(e,d)}while(!0);ug(),gc.current=i,be=n,at!==null?t=0:(pt=null,xt=0,t=st)}if(t!==0){if(t===2&&(n=pm(e),n!==0&&(r=n,t=Um(e,n))),t===1)throw a=ml,Yo(e,0),to(e,r),Wt(e,Ye()),a;if(t===6)to(e,r);else{if(n=e.current.alternate,(r&30)===0&&!iE(n)&&(t=wc(e,r),t===2&&(i=pm(e),i!==0&&(r=i,t=Um(e,i))),t===1))throw a=ml,Yo(e,0),to(e,r),Wt(e,Ye()),a;switch(e.finishedWork=n,e.finishedLanes=r,t){case 0:case 1:throw Error(U(345));case 2:Zo(e,Ut,br);break;case 3:if(to(e,r),(r&130023424)===r&&(t=_g+500-Ye(),10<t)){if(tc(e,0)!==0)break;if(n=e.suspendedLanes,(n&r)!==r){Dt(),e.pingedLanes|=e.suspendedLanes&n;break}e.timeoutHandle=bm(Zo.bind(null,e,Ut,br),t);break}Zo(e,Ut,br);break;case 4:if(to(e,r),(r&4194240)===r)break;for(t=e.eventTimes,n=-1;0<r;){var l=31-Fa(r);i=1<<l,l=t[l],l>n&&(n=l),r&=~i}if(r=n,r=Ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*nE(r/1960))-r,10<r){e.timeoutHandle=bm(Zo.bind(null,e,Ut,br),r);break}Zo(e,Ut,br);break;case 5:Zo(e,Ut,br);break;default:throw Error(U(329))}}}return Wt(e,Ye()),e.callbackNode===a?kL.bind(null,e):null}function Um(e,t){var a=Ys;return e.current.memoizedState.isDehydrated&&(Yo(e,t).flags|=256),e=wc(e,t),e!==2&&(t=Ut,Ut=a,t!==null&&Hm(t)),e}function Hm(e){Ut===null?Ut=e:Ut.push.apply(Ut,e)}function iE(e){for(var t=e;;){if(t.flags&16384){var a=t.updateQueue;if(a!==null&&(a=a.stores,a!==null))for(var r=0;r<a.length;r++){var n=a[r],i=n.getSnapshot;n=n.value;try{if(!Oa(i(),n))return!1}catch{return!1}}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function to(e,t){for(t&=~Sg,t&=~Ec,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var a=31-Fa(t),r=1<<a;e[a]=-1,t&=~r}}function B0(e){if((be&6)!==0)throw Error(U(327));di();var t=tc(e,0);if((t&1)===0)return Wt(e,Ye()),null;var a=wc(e,t);if(e.tag!==0&&a===2){var r=pm(e);r!==0&&(t=r,a=Um(e,r))}if(a===1)throw a=ml,Yo(e,0),to(e,t),Wt(e,Ye()),a;if(a===6)throw Error(U(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Zo(e,Ut,br),Wt(e,Ye()),null}function Cg(e,t){var a=be;be|=1;try{return e(t)}finally{be=a,be===0&&(vi=Ye()+500,kc&&vo())}}function rn(e){ro!==null&&ro.tag===0&&(be&6)===0&&di();var t=be;be|=1;var a=ha.transition,r=Ce;try{if(ha.transition=null,Ce=1,e)return e()}finally{Ce=r,ha.transition=a,be=t,(be&6)===0&&vo()}}function kg(){Xt=oi.current,Ae(oi)}function Yo(e,t){e.finishedWork=null,e.finishedLanes=0;var a=e.timeoutHandle;if(a!==-1&&(e.timeoutHandle=-1,BR(a)),at!==null)for(a=at.return;a!==null;){var r=a;switch(ig(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ic();break;case 3:mi(),Ae(jt),Ae(It),mg();break;case 5:hg(r);break;case 4:mi();break;case 13:Ae(Ve);break;case 19:Ae(Ve);break;case 10:dg(r.type._context);break;case 22:case 23:kg()}a=a.return}if(pt=e,at=e=fo(e.current,null),xt=Xt=t,st=0,ml=null,Sg=Ec=an=0,Ut=Ys=null,Xo!==null){for(t=0;t<Xo.length;t++)if(a=Xo[t],r=a.interleaved,r!==null){a.interleaved=null;var n=r.next,i=a.pending;if(i!==null){var l=i.next;i.next=n,r.next=l}a.pending=r}Xo=null}return e}function IL(e,t){do{var a=at;try{if(ug(),Wd.current=mc,hc){for(var r=Ue.memoizedState;r!==null;){var n=r.queue;n!==null&&(n.pending=null),r=r.next}hc=!1}if(tn=0,ft=it=Ue=null,Xs=!1,fl=0,Lg.current=null,a===null||a.return===null){st=1,ml=t,at=null;break}e:{var i=e,l=a.return,d=a,c=t;if(t=xt,d.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var p=c,h=d,g=h.tag;if((h.mode&1)===0&&(g===0||g===11||g===15)){var x=h.alternate;x?(h.updateQueue=x.updateQueue,h.memoizedState=x.memoizedState,h.lanes=x.lanes):(h.updateQueue=null,h.memoizedState=null)}var b=S0(l);if(b!==null){b.flags&=-257,_0(b,l,d,i,t),b.mode&1&&L0(i,p,t),t=b,c=p;var _=t.updateQueue;if(_===null){var C=new Set;C.add(c),t.updateQueue=C}else _.add(c);break e}else{if((t&1)===0){L0(i,p,t),Ig();break e}c=Error(U(426))}}else if(Be&&d.mode&1){var R=S0(l);if(R!==null){(R.flags&65536)===0&&(R.flags|=256),_0(R,l,d,i,t),sg(gi(c,d));break e}}i=c=gi(c,d),st!==4&&(st=2),Ys===null?Ys=[i]:Ys.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var v=dL(i,c,t);g0(i,v);break e;case 1:d=c;var w=i.type,S=i.stateNode;if((i.flags&128)===0&&(typeof w.getDerivedStateFromError=="function"||S!==null&&typeof S.componentDidCatch=="function"&&(uo===null||!uo.has(S)))){i.flags|=65536,t&=-t,i.lanes|=t;var k=cL(i,d,t);g0(i,k);break e}}i=i.return}while(i!==null)}EL(a)}catch(A){t=A,at===a&&a!==null&&(at=a=a.return);continue}break}while(!0)}function PL(){var e=gc.current;return gc.current=mc,e===null?mc:e}function Ig(){(st===0||st===3||st===2)&&(st=4),pt===null||(an&268435455)===0&&(Ec&268435455)===0||to(pt,xt)}function wc(e,t){var a=be;be|=2;var r=PL();(pt!==e||xt!==t)&&(br=null,Yo(e,t));do try{sE();break}catch(n){IL(e,n)}while(!0);if(ug(),be=a,gc.current=r,at!==null)throw Error(U(261));return pt=null,xt=0,st}function sE(){for(;at!==null;)RL(at)}function lE(){for(;at!==null&&!FP();)RL(at)}function RL(e){var t=AL(e.alternate,e,Xt);e.memoizedProps=e.pendingProps,t===null?EL(e):at=t,Lg.current=null}function EL(e){var t=e;do{var a=t.alternate;if(e=t.return,(t.flags&32768)===0){if(a=eE(a,t,Xt),a!==null){at=a;return}}else{if(a=tE(a,t),a!==null){a.flags&=32767,at=a;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{st=6,at=null;return}}if(t=t.sibling,t!==null){at=t;return}at=t=e}while(t!==null);st===0&&(st=5)}function Zo(e,t,a){var r=Ce,n=ha.transition;try{ha.transition=null,Ce=1,uE(e,t,a,r)}finally{ha.transition=n,Ce=r}return null}function uE(e,t,a,r){do di();while(ro!==null);if((be&6)!==0)throw Error(U(327));a=e.finishedWork;var n=e.finishedLanes;if(a===null)return null;if(e.finishedWork=null,e.finishedLanes=0,a===e.current)throw Error(U(177));e.callbackNode=null,e.callbackPriority=0;var i=a.lanes|a.childLanes;if(WP(e,i),e===pt&&(at=pt=null,xt=0),(a.subtreeFlags&2064)===0&&(a.flags&2064)===0||Vd||(Vd=!0,ML(ec,function(){return di(),null})),i=(a.flags&15990)!==0,(a.subtreeFlags&15990)!==0||i){i=ha.transition,ha.transition=null;var l=Ce;Ce=1;var d=be;be|=4,Lg.current=null,rE(e,a),_L(a,e),TR(wm),ac=!!xm,wm=xm=null,e.current=a,oE(a,e,n),BP(),be=d,Ce=l,ha.transition=i}else e.current=a;if(Vd&&(Vd=!1,ro=e,xc=n),i=e.pendingLanes,i===0&&(uo=null),zP(a.stateNode,r),Wt(e,Ye()),t!==null)for(r=e.onRecoverableError,a=0;a<t.length;a++)n=t[a],r(n.value,{componentStack:n.stack,digest:n.digest});if(vc)throw vc=!1,e=zm,zm=null,e;return(xc&1)!==0&&e.tag!==0&&di(),i=e.pendingLanes,(i&1)!==0?e===Vm?Js++:(Js=0,Vm=e):Js=0,vo(),null}function di(){if(ro!==null){var e=db(xc),t=ha.transition,a=Ce;try{if(ha.transition=null,Ce=16>e?16:e,ro===null)var r=!1;else{if(e=ro,ro=null,xc=0,(be&6)!==0)throw Error(U(331));var n=be;for(be|=4,Z=e.current;Z!==null;){var i=Z,l=i.child;if((Z.flags&16)!==0){var d=i.deletions;if(d!==null){for(var c=0;c<d.length;c++){var p=d[c];for(Z=p;Z!==null;){var h=Z;switch(h.tag){case 0:case 11:case 15:Ks(8,h,i)}var g=h.child;if(g!==null)g.return=h,Z=g;else for(;Z!==null;){h=Z;var x=h.sibling,b=h.return;if(bL(h),h===p){Z=null;break}if(x!==null){x.return=b,Z=x;break}Z=b}}}var _=i.alternate;if(_!==null){var C=_.child;if(C!==null){_.child=null;do{var R=C.sibling;C.sibling=null,C=R}while(C!==null)}}Z=i}}if((i.subtreeFlags&2064)!==0&&l!==null)l.return=i,Z=l;else e:for(;Z!==null;){if(i=Z,(i.flags&2048)!==0)switch(i.tag){case 0:case 11:case 15:Ks(9,i,i.return)}var v=i.sibling;if(v!==null){v.return=i.return,Z=v;break e}Z=i.return}}var w=e.current;for(Z=w;Z!==null;){l=Z;var S=l.child;if((l.subtreeFlags&2064)!==0&&S!==null)S.return=l,Z=S;else e:for(l=w;Z!==null;){if(d=Z,(d.flags&2048)!==0)try{switch(d.tag){case 0:case 11:case 15:Rc(9,d)}}catch(A){Ge(d,d.return,A)}if(d===l){Z=null;break e}var k=d.sibling;if(k!==null){k.return=d.return,Z=k;break e}Z=d.return}}if(be=n,vo(),tr&&typeof tr.onPostCommitFiberRoot=="function")try{tr.onPostCommitFiberRoot(bc,e)}catch{}r=!0}return r}finally{Ce=a,ha.transition=t}}return!1}function O0(e,t,a){t=gi(a,t),t=dL(e,t,1),e=lo(e,t,1),t=Dt(),e!==null&&(gl(e,1,t),Wt(e,t))}function Ge(e,t,a){if(e.tag===3)O0(e,e,a);else for(;t!==null;){if(t.tag===3){O0(t,e,a);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(uo===null||!uo.has(r))){e=gi(a,e),e=cL(t,e,1),t=lo(t,e,1),e=Dt(),t!==null&&(gl(t,1,e),Wt(t,e));break}}t=t.return}}function dE(e,t,a){var r=e.pingCache;r!==null&&r.delete(t),t=Dt(),e.pingedLanes|=e.suspendedLanes&a,pt===e&&(xt&a)===a&&(st===4||st===3&&(xt&130023424)===xt&&500>Ye()-_g?Yo(e,0):Sg|=a),Wt(e,t)}function TL(e,t){t===0&&((e.mode&1)===0?t=1:(t=kd,kd<<=1,(kd&130023424)===0&&(kd=4194304)));var a=Dt();e=Pr(e,t),e!==null&&(gl(e,t,a),Wt(e,a))}function cE(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),TL(e,a)}function fE(e,t){var a=0;switch(e.tag){case 13:var r=e.stateNode,n=e.memoizedState;n!==null&&(a=n.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(U(314))}r!==null&&r.delete(t),TL(e,a)}var AL;AL=function(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps||jt.current)Ht=!0;else{if((e.lanes&a)===0&&(t.flags&128)===0)return Ht=!1,QR(e,t,a);Ht=(e.flags&131072)!==0}else Ht=!1,Be&&(t.flags&1048576)!==0&&Bb(t,uc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Zd(e,t),e=t.pendingProps;var n=fi(t,It.current);ui(t,a),n=vg(null,t,r,e,n,a);var i=xg();return t.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,qt(r)?(i=!0,sc(t)):i=!1,t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,fg(t),n.updater=Pc,t.stateNode=n,n._reactInternals=t,Pm(t,r,e,a),t=Tm(null,t,r,!0,i,a)):(t.tag=0,Be&&i&&ng(t),Mt(null,t,n,a),t=t.child),t;case 16:r=t.elementType;e:{switch(Zd(e,t),e=t.pendingProps,n=r._init,r=n(r._payload),t.type=r,n=t.tag=hE(r),e=Aa(r,e),n){case 0:t=Em(null,t,r,e,a);break e;case 1:t=I0(null,t,r,e,a);break e;case 11:t=C0(null,t,r,e,a);break e;case 14:t=k0(null,t,r,Aa(r.type,e),a);break e}throw Error(U(306,r,""))}return t;case 0:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:Aa(r,n),Em(e,t,r,n,a);case 1:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:Aa(r,n),I0(e,t,r,n,a);case 3:e:{if(mL(t),e===null)throw Error(U(387));r=t.pendingProps,i=t.memoizedState,n=i.element,Hb(e,t),fc(t,r,null,a);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){n=gi(Error(U(423)),t),t=P0(e,t,r,a,n);break e}else if(r!==n){n=gi(Error(U(424)),t),t=P0(e,t,r,a,n);break e}else for(Kt=so(t.stateNode.containerInfo.firstChild),Yt=t,Be=!0,Da=null,a=Vb(t,null,r,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling;else{if(pi(),r===n){t=Rr(e,t,a);break e}Mt(e,t,r,a)}t=t.child}return t;case 5:return jb(t),e===null&&Cm(t),r=t.type,n=t.pendingProps,i=e!==null?e.memoizedProps:null,l=n.children,ym(r,n)?l=null:i!==null&&ym(r,i)&&(t.flags|=32),hL(e,t),Mt(e,t,l,a),t.child;case 6:return e===null&&Cm(t),null;case 13:return gL(e,t,a);case 4:return pg(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=hi(t,null,r,a):Mt(e,t,r,a),t.child;case 11:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:Aa(r,n),C0(e,t,r,n,a);case 7:return Mt(e,t,t.pendingProps,a),t.child;case 8:return Mt(e,t,t.pendingProps.children,a),t.child;case 12:return Mt(e,t,t.pendingProps.children,a),t.child;case 10:e:{if(r=t.type._context,n=t.pendingProps,i=t.memoizedProps,l=n.value,Ee(dc,r._currentValue),r._currentValue=l,i!==null)if(Oa(i.value,l)){if(i.children===n.children&&!jt.current){t=Rr(e,t,a);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var d=i.dependencies;if(d!==null){l=i.child;for(var c=d.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Cr(-1,a&-a),c.tag=2;var p=i.updateQueue;if(p!==null){p=p.shared;var h=p.pending;h===null?c.next=c:(c.next=h.next,h.next=c),p.pending=c}}i.lanes|=a,c=i.alternate,c!==null&&(c.lanes|=a),km(i.return,a,t),d.lanes|=a;break}c=c.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(U(341));l.lanes|=a,d=l.alternate,d!==null&&(d.lanes|=a),km(l,a,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}Mt(e,t,n.children,a),t=t.child}return t;case 9:return n=t.type,r=t.pendingProps.children,ui(t,a),n=ma(n),r=r(n),t.flags|=1,Mt(e,t,r,a),t.child;case 14:return r=t.type,n=Aa(r,t.pendingProps),n=Aa(r.type,n),k0(e,t,r,n,a);case 15:return fL(e,t,t.type,t.pendingProps,a);case 17:return r=t.type,n=t.pendingProps,n=t.elementType===r?n:Aa(r,n),Zd(e,t),t.tag=1,qt(r)?(e=!0,sc(t)):e=!1,ui(t,a),uL(t,r,n),Pm(t,r,n,a),Tm(null,t,r,!0,e,a);case 19:return vL(e,t,a);case 22:return pL(e,t,a)}throw Error(U(156,t.tag))};function ML(e,t){return ib(e,t)}function pE(e,t,a,r){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pa(e,t,a,r){return new pE(e,t,a,r)}function Pg(e){return e=e.prototype,!(!e||!e.isReactComponent)}function hE(e){if(typeof e=="function")return Pg(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zm)return 11;if(e===$m)return 14}return 2}function fo(e,t){var a=e.alternate;return a===null?(a=pa(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&14680064,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a}function Kd(e,t,a,r,n,i){var l=2;if(r=e,typeof e=="function")Pg(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case $n:return Jo(a.children,n,i,t);case Gm:l=8,n|=8;break;case Jh:return e=pa(12,a,t,n|2),e.elementType=Jh,e.lanes=i,e;case Qh:return e=pa(13,a,t,n),e.elementType=Qh,e.lanes=i,e;case em:return e=pa(19,a,t,n),e.elementType=em,e.lanes=i,e;case j0:return Tc(a,n,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case U0:l=10;break e;case H0:l=9;break e;case Zm:l=11;break e;case $m:l=14;break e;case Jr:l=16,r=null;break e}throw Error(U(130,e==null?e:typeof e,""))}return t=pa(l,a,t,n),t.elementType=e,t.type=r,t.lanes=i,t}function Jo(e,t,a,r){return e=pa(7,e,r,t),e.lanes=a,e}function Tc(e,t,a,r){return e=pa(22,e,r,t),e.elementType=j0,e.lanes=a,e.stateNode={isHidden:!1},e}function Xh(e,t,a){return e=pa(6,e,null,t),e.lanes=a,e}function Kh(e,t,a){return t=pa(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function mE(e,t,a,r,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Mh(0),this.expirationTimes=Mh(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mh(0),this.identifierPrefix=r,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function Rg(e,t,a,r,n,i,l,d,c){return e=new mE(e,t,a,d,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=pa(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:a,cache:null,transitions:null,pendingSuspenseBoundaries:null},fg(i),e}function gE(e,t,a){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Zn,key:r==null?null:""+r,children:e,containerInfo:t,implementation:a}}function DL(e){if(!e)return ho;e=e._reactInternals;e:{if(nn(e)!==e||e.tag!==1)throw Error(U(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(qt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(U(171))}if(e.tag===1){var a=e.type;if(qt(a))return Db(e,a,t)}return t}function FL(e,t,a,r,n,i,l,d,c){return e=Rg(a,r,!0,e,n,i,l,d,c),e.context=DL(null),a=e.current,r=Dt(),n=co(a),i=Cr(r,n),i.callback=t??null,lo(a,i,n),e.current.lanes=n,gl(e,n,r),Wt(e,r),e}function Ac(e,t,a,r){var n=t.current,i=Dt(),l=co(n);return a=DL(a),t.context===null?t.context=a:t.pendingContext=a,t=Cr(i,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=lo(n,t,l),e!==null&&(Ba(e,n,l,i),qd(e,n,l)),l}function yc(e){return e=e.current,e.child?(e.child.tag===5,e.child.stateNode):null}function N0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Eg(e,t){N0(e,t),(e=e.alternate)&&N0(e,t)}function vE(){return null}var BL=typeof reportError=="function"?reportError:function(e){console.error(e)};function Tg(e){this._internalRoot=e}Mc.prototype.render=Tg.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(U(409));Ac(e,t,null,null)};Mc.prototype.unmount=Tg.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;rn(function(){Ac(null,e,null,null)}),t[Ir]=null}};function Mc(e){this._internalRoot=e}Mc.prototype.unstable_scheduleHydration=function(e){if(e){var t=pb();e={blockedOn:null,target:e,priority:t};for(var a=0;a<eo.length&&t!==0&&t<eo[a].priority;a++);eo.splice(a,0,e),a===0&&mb(e)}};function Ag(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Dc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function z0(){}function xE(e,t,a,r,n){if(n){if(typeof r=="function"){var i=r;r=function(){var p=yc(l);i.call(p)}}var l=FL(t,r,e,0,null,!1,!1,"",z0);return e._reactRootContainer=l,e[Ir]=l.current,sl(e.nodeType===8?e.parentNode:e),rn(),l}for(;n=e.lastChild;)e.removeChild(n);if(typeof r=="function"){var d=r;r=function(){var p=yc(c);d.call(p)}}var c=Rg(e,0,!1,null,null,!1,!1,"",z0);return e._reactRootContainer=c,e[Ir]=c.current,sl(e.nodeType===8?e.parentNode:e),rn(function(){Ac(t,c,a,r)}),c}function Fc(e,t,a,r,n){var i=a._reactRootContainer;if(i){var l=i;
9if(typeof n=="function"){var d=n;n=function(){var c=yc(l);d.call(c)}}Ac(t,l,e,n)}else l=xE(a,t,e,n,r);return yc(l)}cb=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var a=Hs(t.pendingLanes);a!==0&&(Ym(t,a|1),Wt(t,Ye()),(be&6)===0&&(vi=Ye()+500,vo()))}break;case 13:rn(function(){var r=Pr(e,1);if(r!==null){var n=Dt();Ba(r,e,1,n)}}),Eg(e,1)}};Jm=function(e){if(e.tag===13){var t=Pr(e,134217728);if(t!==null){var a=Dt();Ba(t,e,134217728,a)}Eg(e,134217728)}};fb=function(e){if(e.tag===13){var t=co(e),a=Pr(e,t);if(a!==null){var r=Dt();Ba(a,e,t,r)}Eg(e,t)}};pb=function(){return Ce};hb=function(e,t){var a=Ce;try{return Ce=e,t()}finally{Ce=a}};dm=function(e,t,a){switch(t){case"input":if(rm(e,a),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<a.length;t++){var r=a[t];if(r!==e&&r.form===e.form){var n=Cc(r);if(!n)throw Error(U(90));W0(r),rm(r,n)}}}break;case"textarea":Z0(e,a);break;case"select":t=a.value,t!=null&&ni(e,!!a.multiple,t,!1)}};eb=Cg;tb=rn;var wE={usingClientEntryPoint:!1,Events:[xl,Jn,Cc,J0,Q0,Cg]},Ns={findFiberByHostInstance:$o,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},yE={bundleType:Ns.bundleType,version:Ns.version,rendererPackageName:Ns.rendererPackageName,rendererConfig:Ns.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Er.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ob(e),e===null?null:e.stateNode},findFiberByHostInstance:Ns.findFiberByHostInstance||vE,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(zs=__REACT_DEVTOOLS_GLOBAL_HOOK__,!zs.isDisabled&&zs.supportsFiber))try{bc=zs.inject(yE),tr=zs}catch{}var zs;ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=wE;ea.createPortal=function(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ag(t))throw Error(U(200));return gE(e,t,null,a)};ea.createRoot=function(e,t){if(!Ag(e))throw Error(U(299));var a=!1,r="",n=BL;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(n=t.onRecoverableError)),t=Rg(e,1,!1,null,null,a,!1,r,n),e[Ir]=t.current,sl(e.nodeType===8?e.parentNode:e),new Tg(t)};ea.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(U(188)):(e=Object.keys(e).join(","),Error(U(268,e)));return e=ob(t),e=e===null?null:e.stateNode,e};ea.flushSync=function(e){return rn(e)};ea.hydrate=function(e,t,a){if(!Dc(t))throw Error(U(200));return Fc(null,e,t,!0,a)};ea.hydrateRoot=function(e,t,a){if(!Ag(e))throw Error(U(405));var r=a!=null&&a.hydratedSources||null,n=!1,i="",l=BL;if(a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(i=a.identifierPrefix),a.onRecoverableError!==void 0&&(l=a.onRecoverableError)),t=FL(t,null,e,1,a??null,n,!1,i,l),e[Ir]=t.current,sl(e),r)for(e=0;e<r.length;e++)a=r[e],n=a._getVersion,n=n(a._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[a,n]:t.mutableSourceEagerHydrationData.push(a,n);return new Mc(t)};ea.render=function(e,t,a){if(!Dc(t))throw Error(U(200));return Fc(null,e,t,!1,a)};ea.unmountComponentAtNode=function(e){if(!Dc(e))throw Error(U(40));return e._reactRootContainer?(rn(function(){Fc(null,null,e,!1,function(){e._reactRootContainer=null,e[Ir]=null})}),!0):!1};ea.unstable_batchedUpdates=Cg;ea.unstable_renderSubtreeIntoContainer=function(e,t,a,r){if(!Dc(a))throw Error(U(200));if(e==null||e._reactInternals===void 0)throw Error(U(38));return Fc(e,t,a,!1,r)};ea.version="18.3.1-next-f1338f8080-20240426"});var VL=Ra((gO,zL)=>{"use strict";function NL(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(NL)}catch(e){console.error(e)}}NL(),zL.exports=OL()});var HL=Ra(Mg=>{"use strict";var UL=VL();Mg.createRoot=UL.createRoot,Mg.hydrateRoot=UL.hydrateRoot;var vO});var WL=Ra(Bc=>{"use strict";Object.defineProperty(Bc,"__esModule",{value:!0});Bc.parse=IE;Bc.serialize=PE;var bE=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,LE=/^[\u0021-\u003A\u003C-\u007E]*$/,SE=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,_E=/^[\u0020-\u003A\u003D-\u007E]*$/,CE=Object.prototype.toString,kE=(()=>{let e=function(){};return e.prototype=Object.create(null),e})();function IE(e,t){let a=new kE,r=e.length;if(r<2)return a;let n=t?.decode||RE,i=0;do{let l=e.indexOf("=",i);if(l===-1)break;let d=e.indexOf(";",i),c=d===-1?r:d;if(l>c){i=e.lastIndexOf(";",l-1)+1;continue}let p=jL(e,i,l),h=qL(e,l,p),g=e.slice(p,h);if(a[g]===void 0){let x=jL(e,l+1,c),b=qL(e,c,x),_=n(e.slice(x,b));a[g]=_}i=c+1}
9while(i<r);return a}function jL(e,t,a){do{let r=e.charCodeAt(t);if(r!==32&&r!==9)return t}while(++t<a);return a}function qL(e,t,a){for(;t>a;){let r=e.charCodeAt(--t);if(r!==32&&r!==9)return t+1}return a}function PE(e,t,a){let r=a?.encode||encodeURIComponent;if(!bE.test(e))throw new TypeError(`argument name is invalid: ${e}`);let n=r(t);if(!LE.test(n))throw new TypeError(`argument val is invalid: ${t}`);let i=e+"="+n;if(!a)return i;if(a.maxAge!==void 0){if(!Number.isInteger(a.maxAge))throw new TypeError(`option maxAge is invalid: ${a.maxAge}`);i+="; Max-Age="+a.maxAge}if(a.domain){if(!SE.test(a.domain))throw new TypeError(`option domain is invalid: ${a.domain}`);i+="; Domain="+a.domain}if(a.path){if(!_E.test(a.path))throw new TypeError(`option path is invalid: ${a.path}`);i+="; Path="+a.path}if(a.expires){if(!EE(a.expires)||!Number.isFinite(a.expires.valueOf()))throw new TypeError(`option expires is invalid: ${a.expires}`);i+="; Expires="+a.expires.toUTCString()}if(a.httpOnly&&(i+="; HttpOnly"),a.secure&&(i+="; Secure"),a.partitioned&&(i+="; Partitioned"),a.priority)switch(typeof a.priority=="string"?a.priority.toLowerCase():void 0){case"low":i+="; Priority=Low";break;case"medium":i+="; Priority=Medium";break;case"high":i+="; Priority=High";break;
9default:throw new TypeError(`option priority is invalid: ${a.priority}`)}if(a.sameSite)switch(typeof a.sameSite=="string"?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"none":i+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${a.sameSite}`)}return i}function RE(e){if(e.indexOf("%")===-1)return e;try{return decodeURIComponent(e)}catch{return e}}function EE(e){return CE.call(e)==="[object Date]"}});var zS=Ra(Wc=>{"use strict";var nA=ae(),iA=Symbol.for("react.element"),sA=Symbol.for("react.fragment"),lA=Object.prototype.hasOwnProperty,uA=nA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dA={key:!0,ref:!0,__self:!0,__source:!0};function NS(e,t,a){var r,n={},i=null,l=null;a!==void 0&&(i=""+a),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)lA.call(t,r)&&!dA.hasOwnProperty(r)&&(n[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)n[r]===void 0&&(n[r]=t[r]);return{$$typeof:iA,type:e,key:i,ref:l,props:n,_owner:uA.current}}Wc.Fragment=sA;Wc.jsx=NS;Wc.jsxs=NS});var ht=Ra((l3,VS)=>{"use strict";VS.exports=zS()});var hh=G(ny());var iy="/assets/marker-icon-2V3QKKVC.png";var sy="/assets/marker-icon-2x-SP63CLEO.png";var ly="/assets/marker-shadow-MEXDWUU7.png";delete hh.Icon.Default.prototype._getIconUrl;hh.Icon.Default.mergeOptions({iconRetinaUrl:sy,iconUrl:iy,shadowUrl:ly});var kI=G(ae()),II=G(HL());var Ze=G(ae(),1),rr=G(ae(),1),ee=G(ae(),1),te=G(ae(),1),_e=G(ae(),1),Kg=G(ae(),1);var PT=G(ae(),1),RT=G(ae(),1),mS=G(ae(),1),ET=G(ae(),1),ES=G(ae(),1),Qg=G(ae(),1),TS=G(ae(),1),AS=G(WL(),1);var GL="popstate";function YL(e={}){function t(r,n){let{pathname:i,search:l,hash:d}=r.location;return Bg("",{pathname:i,search:l,hash:d},n.state&&n.state.usr||null,n.state&&n.state.key||"default")}function a(r,n){return typeof n=="string"?n:yi(n)}return AE(t,a,null,e)}function Me(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Na(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function TE(){return Math.random().toString(36).substring(2,10)}function ZL(e,t){return{usr:e.state,key:e.key,idx:t}}function Bg(e,t,a=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?sn(t):t,state:a,key:t&&t.key||r||TE()}}function yi({pathname:e="/",search:t="",hash:a=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),a&&a!=="#"&&(e+=a.charAt(0)==="#"?a:"#"+a),e}function sn(e){let t={};if(e){let a=e.indexOf("#");a>=0&&(t.hash=e.substring(a),e=e.substring(0,a));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function AE(e,t,a,r={}){let{window:n=document.defaultView,v5Compat:i=!1}=r,l=n.history,d="POP",c=null,p=h();p==null&&(p=0,l.replaceState({...l.state,idx:p},""));function h(){return(l.state||{idx:null}).idx}function g(){d="POP";let R=h(),v=R==null?null:R-p;p=R,c&&c({action:d,location:C.location,delta:v})}function x(R,v){d="PUSH";let w=Bg(C.location,R,v);a&&a(w,R),p=h()+1;let S=ZL(w,p),k=C.createHref(w);try{l.pushState(S,"",k)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;n.location.assign(k)}i&&c&&c({action:d,location:C.location,delta:1})}function b(R,v){d="REPLACE";let w=Bg(C.location,R,v);a&&a(w,R),p=h();let S=ZL(w,p),k=C.createHref(w);l.replaceState(S,"",k),i&&c&&c({action:d,location:C.location,delta:0})}function _(R){let v=n.location.origin!=="null"?n.location.origin:n.location.href,w=typeof R=="string"?R:yi(R);return w=w.replace(/ $/,"%20"),Me(v,`No window.location.(origin|href) available to create URL for href: ${w}`),new URL(w,v)}let C={get action(){return d},get location(){return e(n,l)},listen(R){if(c)throw new Error("A history only accepts one active listener");return n.addEventListener(GL,g),c=R,()=>{n.removeEventListener(GL,g),c=null}},createHref(R){return t(n,R)},createURL:_,encodeLocation(R){let v=_(R);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:x,replace:b,go(R){return l.go(R)}};return C}function Vg(e,t,a="/"){return ME(e,t,a,!1)}function ME(e,t,a,r){let n=typeof t=="string"?sn(t):t,i=Ar(n.pathname||"/",a);if(i==null)return null;let l=JL(e);FE(l);let d=null;for(let c=0;d==null&&c<l.length;++c){let p=GE(i);d=qE(l[c],p,r)}return d}function DE(e,t){let{route:a,pathname:r,params:n}=e;return{id:a.id,pathname:r,params:n,data:t[a.id],handle:a.handle}}function JL(e,t=[],a=[],r=""){let n=(i,l,d)=>{let c={relativePath:d===void 0?i.path||"":d,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};c.relativePath.startsWith("/")&&(Me(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}
9" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length));let p=Tr([r,c.relativePath]),h=a.concat(c);i.children&&i.children.length>0&&(Me(i.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),JL(i.children,t,h,p)),!(i.path==null&&!i.index)&&t.push({path:p,score:HE(p,i.index),routesMeta:h})};return e.forEach((i,l)=>{if(i.path===""||!i.path?.includes("?"))n(i,l);else for(let d of QL(i.path))n(i,l,d)}),t}function QL(e){let t=e.split("/");if(t.length===0)return[];let[a,...r]=t,n=a.endsWith("?"),i=a.replace(/\?$/,"");if(r.length===0)return n?[i,""]:[i];let l=QL(r.join("/")),d=[];return d.push(...l.map(c=>c===""?i:[i,c].join("/"))),n&&d.push(...l),d.map(c=>e.startsWith("/")&&c===""?"/":c)}function FE(e){e.sort((t,a)=>t.score!==a.score?a.score-t.score:jE(t.routesMeta.map(r=>r.childrenIndex),a.routesMeta.map(r=>r.childrenIndex)))}var BE=/^:[\w-]+$/,OE=3,NE=2,zE=1,VE=10,UE=-2,$L=e=>e==="*";function HE(e,t){let a=e.split("/"),r=a.length;return a.some($L)&&(r+=UE),t&&(r+=NE),a.filter(n=>!$L(n)).reduce((n,i)=>n+(BE.test(i)?OE:i===""?zE:VE),r)}function jE(e,t){return e.length===t.length&&e.slice(0,-1).every((r,n)=>r===t[n])?e[e.length-1]-t[t.length-1]:0}function qE(e,t,a=!1){let{routesMeta:r}=e,n={},i="/",l=[];for(let d=0;d<r.length;++d){let c=r[d],p=d===r.length-1,h=i==="/"?t:t.slice(i.length)||"/",g=bl({path:c.relativePath,caseSensitive:c.caseSensitive,end:p},h),x=c.route;if(!g&&p&&a&&!r[r.length-1].route.index&&(g=bl({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},h)),!g)return null;
9Object.assign(n,g.params),l.push({params:n,pathname:Tr([i,g.pathname]),pathnameBase:XE(Tr([i,g.pathnameBase])),route:x}),g.pathnameBase!=="/"&&(i=Tr([i,g.pathnameBase]))}return l}function bl(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[a,r]=WE(e.path,e.caseSensitive,e.end),n=t.match(a);if(!n)return null;let i=n[0],l=i.replace(/(.)\/+$/,"$1"),d=n.slice(1);return{params:r.reduce((p,{paramName:h,isOptional:g},x)=>{if(h==="*"){let _=d[x]||"";l=i.slice(0,i.length-_.length).replace(/(.)\/+$/,"$1")}let b=d[x];return g&&!b?p[h]=void 0:p[h]=(b||"").replace(/%2F/g,"/"),p},{}),pathname:i,pathnameBase:l,pattern:e}}function WE(e,t=!1,a=!0){Na(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],n="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,d,c)=>(r.push({paramName:d,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),n+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?n+="\\/*$":e!==""&&e!=="/"&&(n+="(?:(?=\\/|$))"),[new RegExp(n,t?void 0:"i"),r]}function GE(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Na(!1,`The URL path "${e}" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ar(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let a=t.endsWith("/")?t.length-1:t.length,r=e.charAt(a);return r&&r!=="/"?null:e.slice(a)||"/"}function eS(e,t="/"){let{pathname:a,search:r="",hash:n=""}=typeof e=="string"?sn(e):e;return{pathname:a?a.startsWith("/")?a:ZE(a,t):t,search:KE(r),hash:YE(n)}}function ZE(e,t){let a=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(n=>{n===".."?a.length>1&&a.pop():n!=="."&&a.push(n)}),a.length>1?a.join("/"):"/"}function Dg(e,t,a,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function $E(e){return e.filter((t,a)=>a===0||t.route.path&&t.route.path.length>0)}function tS(e){let t=$E(e);return t.map((a,r)=>r===t.length-1?a.pathname:a.pathnameBase)}function aS(e,t,a,r=!1){let n;typeof e=="string"?n=sn(e):(n={...e},Me(!n.pathname||!n.pathname.includes("?"),Dg("?","pathname","search",n)),Me(!n.pathname||!n.pathname.includes("#"),Dg("#","pathname","hash",n)),Me(!n.search||!n.search.includes("#"),Dg("#","search","hash",n)));let i=e===""||n.pathname==="",l=i?"/":n.pathname,d;if(l==null)d=a;else{let g=t.length-1;if(!r&&l.startsWith("..")){let x=l.split("/");for(;x[0]==="..";)x.shift(),g-=1;n.pathname=x.join("/")}d=g>=0?t[g]:"/"}let c=eS(n,d),p=l&&l!=="/"&&l.endsWith("/"),h=(i||l===".")&&a.endsWith("/");return!c.pathname.endsWith("/")&&(p||h)&&(c.pathname+="/"),c}var Tr=e=>e.join("/").replace(/\/\/+/g,"/"),XE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),KE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,YE=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function rS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var oS=["POST","PUT","PATCH","DELETE"],yO=new Set(oS),JE=["GET",...oS],bO=new Set(JE);var ln=rr.createContext(null);ln.displayName="DataRouter";var bi=rr.createContext(null);bi.displayName="DataRouterState";var Ug=rr.createContext({isTransitioning:!1});Ug.displayName="ViewTransition";var nS=rr.createContext(new Map);nS.displayName="Fetchers";var QE=rr.createContext(null);QE.displayName="Await";var ta=rr.createContext(null);ta.displayName="Navigation";var Li=rr.createContext(null);Li.displayName="Location";var or=rr.createContext({outlet:null,matches:[],isDataRoute:!1});or.displayName="Route";var Hg=rr.createContext(null);Hg.displayName="RouteError";var Og=!1;function iS(e,{relative:t}={}){Me(Si(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:r}=ee.useContext(ta),{hash:n,pathname:i,search:l}=_i(e,{relative:t}),d=i;return a!=="/"&&(d=i==="/"?a:Tr([a,i])),r.createHref({pathname:d,search:l,hash:n})}function Si(){return ee.useContext(Li)!=null}function nr(){return Me(Si(),"useLocation() may be used only in the context of a <Router> component."),ee.useContext(Li).location}var sS="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function lS(e){ee.useContext(ta).static||ee.useLayoutEffect(e)}function uS(){let{isDataRoute:e}=ee.useContext(or);return e?uT():eT()}function eT(){Me(Si(),"useNavigate() may be used only in the context of a <Router> component.");let e=ee.useContext(ln),{basename:t,navigator:a}=ee.useContext(ta),{matches:r}=ee.useContext(or),{pathname:n}=nr(),i=JSON.stringify(tS(r)),l=ee.useRef(!1);return lS(()=>{l.current=!0}),ee.useCallback((c,p={})=>
9{if(Na(l.current,sS),!l.current)return;if(typeof c=="number"){a.go(c);return}let h=aS(c,JSON.parse(i),n,p.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Tr([t,h.pathname])),(p.replace?a.replace:a.push)(h,p.state,p)},[t,a,i,n,e])}var LO=ee.createContext(null);function _i(e,{relative:t}={}){let{matches:a}=ee.useContext(or),{pathname:r}=nr(),n=JSON.stringify(tS(a));return ee.useMemo(()=>aS(e,JSON.parse(n),r,t==="path"),[e,n,r,t])}function dS(e,t){return cS(e,t)}function cS(e,t,a,r){Me(Si(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:n}=ee.useContext(ta),{matches:i}=ee.useContext(or),l=i[i.length-1],d=l?l.params:{},c=l?l.pathname:"/",p=l?l.pathnameBase:"/",h=l&&l.route;if(Og){let v=h&&h.path||"";hS(c,!h||v.endsWith("*"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${v}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
10
11Please change the parent <Route path="${v}"> to <Route path="${v==="/"?"*":`${v}/*`}">.`)}let g=nr(),x;if(t){let v=typeof t=="string"?sn(t):t;Me(p==="/"||v.pathname?.startsWith(p),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${v.pathname}" was given in the \`location\` prop.`),x=v}else x=g;let b=x.pathname||"/",_=b;if(p!=="/"){let v=p.replace(/^\//,"").split("/");_="/"+b.replace(/^\//,"").split("/").slice(v.length).join("/")}let C=Vg(e,{pathname:_});Og&&(Na(h||C!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),Na(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${x.pathname}${x.search}${x.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`));let R=nT(C&&C.map(v=>Object.assign({},v,{params:Object.assign({},d,v.params),pathname:Tr([p,n.encodeLocation?n.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?p:Tr([p,n.encodeLocation?n.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,a,r);return t&&R?ee.createElement(Li.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...x},navigationType:"POP"}},R):R}function tT(){let e=pS(),t=rS(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",n={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},l=null;return Og&&(console.error("Error handled by React Router default ErrorBoundary:",e),l=ee.createElement(ee.Fragment,null,ee.createElement("p",null,"\u{1F4BF} Hey developer \u{1F44B}"),ee.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",ee.createElement("code",{style:i},"ErrorBoundary")," or"," ",ee.createElement("code",{style:i},"errorElement")," prop on your route."))),ee.createElement(ee.Fragment,null,ee.createElement("h2",null,"Unexpected Application Error!"),ee.createElement("h3",{style:{fontStyle:"italic"}},t),a?ee.createElement("pre",{style:n},a):null,l)}var aT=ee.createElement(tT,null),rT=class extends ee.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?ee.createElement(or.Provider,{value:this.props.routeContext},ee.createElement(Hg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function oT({routeContext:e,match:t,children:a}){let r=ee.useContext(ln);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),ee.createElement(or.Provider,{value:e},a)}function nT(e,t=[],a=null,r=null){if(e==null){if(!a)return null;if(a.errors)e=a.matches;else if(t.length===0&&!a.initialized&&a.matches.length>0)e=a.matches;else return null}let n=e,i=a?.errors;if(i!=null){let c=n.findIndex(p=>p.route.id&&i?.[p.route.id]!==void 0);Me(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),n=n.slice(0,Math.min(n.length,c+1))}let l=!1,d=-1;if(a)for(let c=0;c<n.length;c++){let p=n[c];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(d=c),p.route.id){let{loaderData:h,errors:g}
11=a,x=p.route.loader&&!h.hasOwnProperty(p.route.id)&&(!g||g[p.route.id]===void 0);if(p.route.lazy||x){l=!0,d>=0?n=n.slice(0,d+1):n=[n[0]];break}}}return n.reduceRight((c,p,h)=>{let g,x=!1,b=null,_=null;a&&(g=i&&p.route.id?i[p.route.id]:void 0,b=p.route.errorElement||aT,l&&(d<0&&h===0?(hS("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,_=null):d===h&&(x=!0,_=p.route.hydrateFallbackElement||null)));let C=t.concat(n.slice(0,h+1)),R=()=>{let v;return g?v=b:x?v=_:p.route.Component?v=ee.createElement(p.route.Component,null):p.route.element?v=p.route.element:v=c,ee.createElement(oT,{match:p,routeContext:{outlet:c,matches:C,isDataRoute:a!=null},children:v})};return a&&(p.route.ErrorBoundary||p.route.errorElement||h===0)?ee.createElement(rT,{location:a.location,revalidation:a.revalidation,component:b,error:g,children:R(),routeContext:{outlet:null,matches:C,isDataRoute:!0}}):R()},null)}function jg(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function iT(e){let t=ee.useContext(ln);return Me(t,jg(e)),t}function qg(e){let t=ee.useContext(bi);return Me(t,jg(e)),t}function sT(e){let t=ee.useContext(or);return Me(t,jg(e)),t}function Wg(e){let t=sT(e),a=t.matches[t.matches.length-1];return Me(a.route.id,`${e} can only be used on routes that contain a unique "id"`),a.route.id}function lT(){return Wg("useRouteId")}function fS(){return qg("useNavigation").navigation}function Gg(){let{matches:e,loaderData:t}=qg("useMatches");return ee.useMemo(()=>e.map(a=>DE(a,t)),[e,t])}function pS(){let e=ee.useContext(Hg),t=qg("useRouteError"),a=Wg("useRouteError");return e!==void 0?e:t.errors?.[a]}function uT(){let{router:e}=iT("useNavigate"),t=Wg("useNavigate"),a=ee.useRef(!1);return lS(()=>{a.current=!0}),ee.useCallback(async(n,i={})=>{Na(a.current,sS),a.current&&(typeof n=="number"?e.navigate(n):await e.navigate(n,{fromRouteId:t,...i}))},[e,t])}var XL={};function hS(e,t,a){!t&&!XL[e]&&(XL[e]=!0,Na(!1,a))}var SO=Ze.memo(dT);function dT({routes:e,future:t,state:a}){return cS(e,void 0,a,t)}function Ll(e){Me(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Zg({basename:e="/",children:t=null,location:a,navigationType:r="POP",navigator:n,static:i=!1}){Me(!Si(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),d=Ze.useMemo(()=>({basename:l,navigator:n,static:i,future:{}}),[l,n,i]);typeof a=="string"&&(a=sn(a));let{pathname:c="/",search:p="",hash:h="",state:g=null,key:x="default"}=a,b=Ze.useMemo(()=>{let _=Ar(c,l);return _==null?null:{location:{pathname:_,search:p,hash:h,state:g,key:x},navigationType:r}},[l,c,p,h,g,x,r]);return Na(b!=null,`<Router basename="${l}"> is not able to match the URL "${c}${p}${h}" because it does not start with the basename, so the <Router> won't render anything.`),b==null?null:Ze.createElement(ta.Provider,{value:d},Ze.createElement(Li.Provider,{children:t,value:b}))}function $g({children:e,location:t}){return dS(Uc(e),t)}function Uc(e,t=[]){let a=[];return Ze.Children.forEach(e,(r,n)=>{if(!Ze.isValidElement(r))return;let i=[...t,n];if(r.type===Ze.Fragment){a.push.apply(a,Uc(r.props.children,i));return}Me(r.type===Ll,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Me(!r.props.index||!r.props.children,"An index route cannot have child routes.");let l={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=Uc(r.props.children,i)),a.push(l)}),a}var zc="get",Vc="application/x-www-form-urlencoded";function Hc(e){return e!=null&&typeof e.tagName=="string"}function cT(e){return Hc(e)&&e.tagName.toLowerCase()==="button"}function fT(e){return Hc(e)&&e.tagName.toLowerCase()==="form"}function pT(e){return Hc(e)&&e.tagName.toLowerCase()==="input"}function hT(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function mT(e,t){return e.button===0&&(!t||t==="_self")&&!hT(e)}var Oc=null;function gT(){if(Oc===null)try{new FormData(document.createElement("form"),0),Oc=!1}catch{Oc=!0}return Oc}var vT=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Fg(e){return e!=null&&!vT.has(e)?(Na(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Vc}"`),null):e}function xT(e,t){let a,r,n,i,l;if(fT(e)){let d=e.getAttribute("action");r=d?Ar(d,t):null,a=e.getAttribute("method")||zc,n=Fg(e.getAttribute("enctype"))||Vc,i=new FormData(e)}else if(cT(e)||pT(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let c=e.getAttribute("formaction")||d.getAttribute("action");if(r=c?Ar(c,t):null,a=e.getAttribute("formmethod")||d.getAttribute("method")||zc,n=Fg(e.getAttribute("formenctype"))||Fg(d.getAttribute("enctype"))||Vc,i=new FormData(d,e),!gT()){let{name:p,type:h,value:g}=e;if(h==="image"){let x=p?`${p}.`:"";i.append(`${x}x`,"0"),i.append(`${x}y`,"0")}else p&&i.append(p,g)}}else{if(Hc(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=zc,r=null,n=Vc,l=e}return i&&n==="text/plain"&&(l=i,i=void 0),{action:r,method:a.toLowerCase(),encType:n,formData:i,body:l}}function Xg(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}async function wT(e,t){if(e.id in t)return t[e.id];try{let a=await import(e.module);return t[e.id]=a,a}catch(a){if(console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.
11isSpaMode&&import.meta.hot)throw a;return window.location.reload(),new Promise(()=>{})}}function yT(e){return e!=null&&typeof e.page=="string"}function bT(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function LT(e,t,a){let r=await Promise.all(e.map(async n=>{let i=t.routes[n.route.id];if(i){let l=await wT(i,a);return l.links?l.links():[]}return[]}));return kT(r.flat(1).filter(bT).filter(n=>n.rel==="stylesheet"||n.rel==="preload").map(n=>n.rel==="stylesheet"?{...n,rel:"prefetch",as:"style"}:{...n,rel:"prefetch"}))}function KL(e,t,a,r,n,i){let l=(c,p)=>a[p]?c.route.id!==a[p].route.id:!0,d=(c,p)=>a[p].pathname!==c.pathname||a[p].route.path?.endsWith("*")&&a[p].params["*"]!==c.params["*"];return i==="assets"?t.filter((c,p)=>l(c,p)||d(c,p)):i==="data"?t.filter((c,p)=>{let h=r.routes[c.route.id];if(!h||!h.hasLoader)return!1;if(l(c,p)||d(c,p))return!0;if(c.route.shouldRevalidate){let g=c.route.shouldRevalidate({currentUrl:new URL(n.pathname+n.search+n.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:c.params,defaultShouldRevalidate:!0});if(typeof g=="boolean")return g}return!0}):[]}function ST(e,t){return _T(e.map(a=>{let r=t.routes[a.route.id];if(!r)return[];let n=[r.module];return r.imports&&(n=n.concat(r.imports)),n}).flat(1))}function _T(e){return[...new Set(e)]}function CT(e){let t={},a=Object.keys(e).sort();for(let r of a)t[r]=e[r];return t}function kT(e,t){let a=new Set,r=new Set(t);return e.reduce((n,i)=>{if(t&&!yT(i)&&i.as==="script"&&i.href&&r.has(i.href))return n;let d=JSON.stringify(CT(i));return a.has(d)||(a.add(d),n.push({key:d,link:i})),n},[])}function IT(e){let t=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return t.pathname==="/"?t.pathname="_root.data":t.pathname=`${t.pathname.replace(/\/$/,"")}.data`,t}function TT(){let e=_e.useContext(ln);return Xg(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function AT(){let e=_e.useContext(bi);return Xg(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Sl=_e.createContext(void 0);Sl.displayName="FrameworkContext";function gS(){let e=_e.useContext(Sl);return Xg(e,"You must render this element inside a <HydratedRouter> element"),e}function MT(e,t){let a=_e.useContext(Sl),[r,n]=_e.useState(!1),[i,l]=_e.useState(!1),{onFocus:d,onBlur:c,onMouseEnter:p,onMouseLeave:h,onTouchStart:g}=t,x=_e.useRef(null);_e.useEffect(()=>{if(e==="render"&&l(!0),e==="viewport"){let C=v=>{v.forEach(w=>{l(w.isIntersecting)})},R=new IntersectionObserver(C,{threshold:.5});return x.current&&R.observe(x.current),()=>{R.disconnect()}}},[e]),_e.useEffect(()=>{if(r){let C=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(C)}}},[r]);let b=()=>{n(!0)},_=()=>{n(!1),l(!1)};return a?e!=="intent"?[i,x,{}]:[i,x,{onFocus:yl(d,b),onBlur:yl(c,_),onMouseEnter:yl(p,b),onMouseLeave:yl(h,_),onTouchStart:yl(g,b)}]:[!1,x,{}]}function yl(e,t){return a=>{e&&e(a),a.defaultPrevented||t(a)}}function vS({page:e,...t}){let{router:a}=TT(),r=_e.useMemo(()=>Vg(a.routes,e,a.basename),[a.routes,e,a.basename]);return r?_e.createElement(FT,{page:e,matches:r,...t}):(console.warn(`Tried to prefetch ${e} but no routes matched.`),null)}function DT(e){let{manifest:t,routeModules:a}=gS(),[r,n]=_e.useState([]);return _e.useEffect(()=>{let i=!1;return LT(e,t,a).then(l=>{i||n(l)}),()=>{i=!0}},[e,t,a]),r}function FT({page:e,matches:t,...a}){let r=nr(),{manifest:n,routeModules:i}=gS(),{loaderData:l,matches:d}=AT(),c=_e.useMemo(()=>KL(e,t,d,n,r,"data"),[e,t,d,n,r]),p=_e.useMemo(()=>KL(e,t,d,n,r,"assets"),[e,t,d,n,r]),h=_e.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let b=new Set,_=!1;if(t.forEach(R=>{let v=n.routes[R.route.id];!v||!v.hasLoader||(!c.some(w=>w.route.id===R.route.id)&&R.route.id in l&&i[R.route.id]?.shouldRevalidate||v.hasClientLoader?_=!0:b.add(R.route.id))}),b.size===0)return[];let C=IT(e);return _&&b.size>0&&C.searchParams.set("_routes",t.filter(R=>b.has(R.route.id)).map(R=>R.route.id).join(",")),[C.pathname+C.search]},[l,r,n,c,t,e,i]),g=_e.useMemo(()=>ST(p,n),[p,n]),x=DT(p);return _e.createElement(_e.Fragment,null,h.map(b=>_e.createElement("link",{key:b,rel:"prefetch",as:"fetch",href:b,...a})),g.map(b=>_e.createElement("link",{key:b,rel:"modulepreload",href:b,...a})),x.map(({key:b,link:_})=>_e.createElement("link",{key:b,..._})))}function BT(...e){return t=>{e.forEach(a=>{typeof a=="function"?a(t):a!=null&&(a.current=t)})}}var xS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{xS&&(window.__reactRouterVersion="7.0.0")}catch{}function Yg({basename:e,children:t,window:a}){let r=te.useRef();
11r.current==null&&(r.current=YL({window:a,v5Compat:!0}));let n=r.current,[i,l]=te.useState({action:n.action,location:n.location}),d=te.useCallback(c=>{te.startTransition(()=>l(c))},[l]);return te.useLayoutEffect(()=>n.listen(d),[n,d]),te.createElement(Zg,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:n})}function wS({basename:e,children:t,history:a}){let[r,n]=te.useState({action:a.action,location:a.location}),i=te.useCallback(l=>{te.startTransition(()=>n(l))},[n]);return te.useLayoutEffect(()=>a.listen(i),[a,i]),te.createElement(Zg,{basename:e,children:t,location:r.location,navigationType:r.action,navigator:a})}wS.displayName="unstable_HistoryRouter";var yS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Mr=te.forwardRef(function({onClick:t,discover:a="render",prefetch:r="none",relative:n,reloadDocument:i,replace:l,state:d,target:c,to:p,preventScrollReset:h,viewTransition:g,...x},b){let{basename:_}=te.useContext(ta),C=typeof p=="string"&&yS.test(p),R,v=!1;if(typeof p=="string"&&C&&(R=p,xS))try{let V=new URL(window.location.href),D=p.startsWith("//")?new URL(V.protocol+p):new URL(p),K=Ar(D.pathname,_);D.origin===V.origin&&K!=null?p=K+D.search+D.hash:v=!0}catch{Na(!1,`<Link to="${p}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let w=iS(p,{relative:n}),[S,k,A]=MT(r,x),O=CS(p,{replace:l,state:d,target:c,preventScrollReset:h,relative:n,viewTransition:g});function B(V){t&&t(V),V.defaultPrevented||O(V)}let F=te.createElement("a",{...x,...A,href:R||w,onClick:v||i?t:B,ref:BT(b,k),target:c,"data-discover":!C&&a==="render"?"true":void 0});return S&&!C?te.createElement(te.Fragment,null,F,te.createElement(vS,{page:w})):F});Mr.displayName="Link";var bS=te.forwardRef(function({"aria-current":t="page",caseSensitive:a=!1,className:r="",end:n=!1,style:i,to:l,viewTransition:d,children:c,...p},h){let g=_i(l,{relative:p.relative}),x=nr(),b=te.useContext(bi),{navigator:_,basename:C}=te.useContext(ta),R=b!=null&&RS(g)&&d===!0,v=_.encodeLocation?_.encodeLocation(g).pathname:g.pathname,w=x.pathname,S=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;a||(w=w.toLowerCase(),S=S?S.toLowerCase():null,v=v.toLowerCase()),S&&C&&(S=Ar(S,C)||S);let k=v!=="/"&&v.endsWith("/")?v.length-1:v.length,A=w===v||!n&&w.startsWith(v)&&w.charAt(k)==="/",O=S!=null&&(S===v||!n&&S.startsWith(v)&&S.charAt(v.length)==="/"),B={isActive:A,isPending:O,isTransitioning:R},F=A?t:void 0,V;typeof r=="function"?V=r(B):V=[r,A?"active":null,O?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let D=typeof i=="function"?i(B):i;return te.createElement(Mr,{...p,"aria-current":F,className:V,ref:h,style:D,to:l,viewTransition:d},typeof c=="function"?c(B):c)});bS.displayName="NavLink";var LS=te.forwardRef(({discover:e="render",fetcherKey:t,navigate:a,reloadDocument:r,replace:n,state:i,method:l=zc,action:d,onSubmit:c,relative:p,preventScrollReset:h,viewTransition:g,...x},b)=>{let _=kS(),C=IS(d,{relative:p}),R=l.toLowerCase()==="get"?"get":"post",v=typeof d=="string"&&yS.test(d);return te.createElement("form",{ref:b,method:R,action:C,onSubmit:r?c:S=>{if(c&&c(S),S.defaultPrevented)return;S.preventDefault();let k=S.nativeEvent.submitter,A=k?.getAttribute("formmethod")||l;_(k||S.currentTarget,{fetcherKey:t,method:A,navigate:a,replace:n,state:i,relative:p,preventScrollReset:h,viewTransition:g})},...x,"data-discover":!v&&e==="render"?"true":void 0})});LS.displayName="Form";function SS({getKey:e,storageKey:t,...a}){let r=te.useContext(Sl),{basename:n}=te.useContext(ta),i=nr(),l=Gg();PS({getKey:e,storageKey:t});let d=te.useMemo(()=>{if(!r||!e)return null;let p=zg(i,l,n,e);return p!==i.key?p:null},[]);if(!r||r.isSpaMode)return null;let c=((p,h)=>{if(!window.history.state||!window.history.state.key){let g=Math.random().toString(32).slice(2);window.history.replaceState({key:g},"")}try{let x=JSON.parse(sessionStorage.getItem(p)||"{}")[h||window.history.state.key];typeof x=="number"&&window.scrollTo(0,x)}catch(g){console.error(g),sessionStorage.removeItem(p)}}).toString();return te.createElement("script",{...a,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${JSON.stringify(t||Ng)}, ${JSON.stringify(d)})`}})}SS.displayName="ScrollRestoration";function _S(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Jg(e){let t=te.useContext(ln);return Me(t,_S(e)),t}function OT(e){let t=te.useContext(bi);return Me(t,_S(e)),t}function CS(e,{target:t,replace:a,state:r,preventScrollReset:n,relative:i,viewTransition:l}={}){let d=uS(),c=nr(),p=_i(e,{relative:i});return te.useCallback(h=>{if(mT(h,t)){h.preventDefault();let g=a!==void 0?a:yi(c)===yi(p);d(e,{replace:g,state:r,preventScrollReset:n,relative:i,viewTransition:l})}},[c,d,p,a,r,t,e,n,i,l])}var NT=0,zT=()=>`__${String(++NT)}__`;function kS(){let{router:e}=Jg("useSubmit"),{basename:t}=te.useContext(ta),a=lT();return te.useCallback(async(r,n={})=>{let{action:i,method:l,encType:d,formData:c,body:p}=xT(r,t);if(n.navigate===!1){let h=n.fetcherKey||zT();await e.fetch(h,a,n.action||i,{preventScrollReset:n.preventScrollReset,formData:c,body:p,formMethod:n.method||l,formEncType:n.encType||d,flushSync:n.flushSync})}else await e.navigate(n.action||i,{preventScrollReset:n.preventScrollReset,formData:c,body:p,formMethod:n.method||l,formEncType:n.encType||d,replace:n.replace,state:n.state,fromRouteId:a,flushSync:n.flushSync,viewTransition:n.viewTransition})},[e,t,a])}function IS(e,{relative:t}={}){let{basename:a}=te.useContext(ta),r=te.useContext(or);Me(r,"useFormAction must be used inside a RouteContext");let[n]=r.matches.slice(-1),i={..._i(e||".",{relative:t})},l=nr();if(e==null){i.search=l.search;let d=new URLSearchParams(i.search),c=d.getAll("index");if(c.some(h=>h==="")){d.delete("index"),c.filter(g=>g).forEach(g=>d.append("index",g));let h=d.toString();i.search=h?`?${h}`:""}}return(!e||e===".")&&n.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(i.pathname=i.pathname==="/"?a:Tr([a,i.pathname])),yi(i)}var Ng="react-router-scroll-positions",Nc={};function zg(e,t,a,r){let n=null;return r&&(a!=="/"?n=r({...e,pathname:Ar(e.pathname,a)||e.pathname},t):n=r(e,t)),n==null&&(n=e.key),n}function PS({getKey:e,storageKey:t}={}){let{router:a}=Jg("useScrollRestoration"),{restoreScrollPosition:r,preventScrollReset:n}
11=OT("useScrollRestoration"),{basename:i}=te.useContext(ta),l=nr(),d=Gg(),c=fS();te.useEffect(()=>(window.history.scrollRestoration="manual",()=>{window.history.scrollRestoration="auto"}),[]),VT(te.useCallback(()=>{if(c.state==="idle"){let p=zg(l,d,i,e);Nc[p]=window.scrollY}try{sessionStorage.setItem(t||Ng,JSON.stringify(Nc))}catch(p){Na(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${p}).`)}window.history.scrollRestoration="auto"},[c.state,e,i,l,d,t])),typeof document<"u"&&(te.useLayoutEffect(()=>{try{let p=sessionStorage.getItem(t||Ng);p&&(Nc=JSON.parse(p))}catch{}},[t]),te.useLayoutEffect(()=>{let p=a?.enableScrollRestoration(Nc,()=>window.scrollY,e?(h,g)=>zg(h,g,i,e):void 0);return()=>p&&p()},[a,i,e]),te.useLayoutEffect(()=>{if(r!==!1){if(typeof r=="number"){window.scrollTo(0,r);return}if(l.hash){let p=document.getElementById(decodeURIComponent(l.hash.slice(1)));if(p){p.scrollIntoView();return}}n!==!0&&window.scrollTo(0,0)}},[l,r,n]))}function VT(e,t){let{capture:a}=t||{};te.useEffect(()=>{let r=a!=null?{capture:a}:void 0;return window.addEventListener("pagehide",e,r),()=>{window.removeEventListener("pagehide",e,r)}},[e,a])}function RS(e,t={}){let a=te.useContext(Ug);Me(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Jg("useViewTransitionState"),n=_i(e,{relative:t.relative});if(!a.isTransitioning)return!1;let i=Ar(a.currentLocation.pathname,r)||a.currentLocation.pathname,l=Ar(a.nextLocation.pathname,r)||a.nextLocation.pathname;return bl(n.pathname,l)!=null||bl(n.pathname,i)!=null}var _O=new TextEncoder;var qc=G(ae());var jc=(...e)=>e.filter((t,a,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===a).join(" ").trim();var MS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var DS=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,r)=>r?r.toUpperCase():a.toLowerCase());var ev=e=>{let t=DS(e);return t.charAt(0).toUpperCase()+t.slice(1)};var _l=G(ae());var FS={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var BS=e=>{for(let t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};var OS=(0,_l.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:r,className:n="",children:i,iconNode:l,...d},c)=>(0,_l.createElement)("svg",{ref:c,...FS,width:t,height:t,stroke:e,strokeWidth:r?Number(a)*24/Number(t):a,className:jc("lucide",n),...!i&&!BS(d)&&{"aria-hidden":"true"},...d},[...l.map(([p,h])=>(0,_l.createElement)(p,h)),...Array.isArray(i)?i:[i]]));var xe=(e,t)=>{let a=(0,qc.forwardRef)(({className:r,...n},i)=>(0,qc.createElement)(OS,{ref:i,iconNode:t,className:jc(`lucide-${MS(ev(e))}`,`lucide-${e}`,r),...n}));return a.displayName=ev(e),a};var UT=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Cl=xe("arrow-down",UT);var HT=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],kl=xe("book-open",HT);var jT=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],xo=xe("gamepad-2",jT);var qT=[["path",{d:"m15 12-9.373 9.373a1 1 0 0 1-3.001-3L12 9",key:"1hayfq"}],["path",{d:"m18 15 4-4",key:"16gjal"}],["path",{d:"m21.5 11.5-1.914-1.914A2 2 0 0 1 19 8.172v-.344a2 2 0 0 0-.586-1.414l-1.657-1.657A6 6 0 0 0 12.516 3H9l1.243 1.243A6 6 0 0 1 12 8.485V10l2 2h1.172a2 2 0 0 1 1.414.586L18.5 14.5",key:"15ts47"}]],Il=xe("hammer",qT);var WT=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],Pl=xe("heart",WT);var GT=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],ir=xe("house",GT);var ZT=[["path",{d:"M5 12h14",key:"1ays0h"}]],Rl=xe("minus",ZT);var $T=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],El=xe("music",$T);var XT=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],Tl=xe("pencil",XT);var KT=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Ci=xe("play",KT);var YT=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Al=xe("plus",YT);var JT=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],ki=xe("rotate-ccw",JT);var QT=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
11y:"oel41y"}]],Ml=xe("shield",QT);var eA=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Dr=xe("sparkles",eA);var tA=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],va=xe("star",tA);var aA=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],Dl=xe("trophy",aA);var rA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Fl=xe("x",rA);var oA=[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]],un=xe("youtube",oA);var Su=G(ht(),1),Ha=G(ae(),1);var US=G(ae(),1),Ii=(0,US.createContext)({});var HS=G(ae(),1);function Pi(e){let t=(0,HS.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Gc=G(ae(),1);var jS=typeof window<"u";var Zc=jS?Gc.useLayoutEffect:Gc.useEffect;var ux=G(ht(),1),QC=G(ae(),1),bu=G(ae(),1);var qS=G(ae(),1),wo=(0,qS.createContext)(null);var YC=G(ht(),1);function dn(e,t){e.indexOf(t)===-1&&e.push(t)}function yo(e,t){let a=e.indexOf(t);a>-1&&e.splice(a,1)}var lt=(e,t,a)=>a>t?t:a<e?e:a;var Fr=()=>{},xa=()=>{};var Bt={};var Bl=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Ol(e){return typeof e=="object"&&e!==null}var Nl=e=>/^0[^.\s]+$/u.test(e);function zl(e){let t;return()=>(t===void 0&&(t=e()),t)}var je=e=>e;var cA=(e,t)=>a=>t(e(a)),za=(...e)=>e.reduce(cA);var sr=(e,t,a)=>{let r=t-e;return r===0?1:(a-e)/r};var Br=class{constructor(){this.subscriptions=[]}add(t){return dn(this.subscriptions,t),()=>yo(this.subscriptions,t)}notify(t,a,r){let n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](t,a,r);else for(let i=0;i<n;i++){let l=this.subscriptions[i];l&&l(t,a,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var Je=e=>e*1e3,mt=e=>e/1e3;function Vl(e,t){return t?e*(1e3/t):0}var WS=(e,t,a)=>(((1-3*a+3*t)*e+(3*a-6*t))*e+3*t)*e,fA=1e-7,pA=12;function hA(e,t,a,r,n){let i,l,d=0;do l=t+(a-t)/2,i=WS(l,r,n)-e,i>0?a=l:t=l;while(Math.abs(i)>fA&&++d<pA);return l}function bo(e,t,a,r){if(e===t&&a===r)return je;let n=i=>hA(i,0,1,e,a);return i=>i===0||i===1?i:WS(n(i),t,r)}var $c=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2;var Xc=e=>t=>1-e(1-t);var Kc=bo(.33,1.53,.69,.99),Ri=Xc(Kc),Ul=$c(Ri);var Hl=e=>e>=1?1:(e*=2)<1?.5*Ri(e):.5*(2-Math.pow(2,-10*(e-1)));var jl=e=>1-Math.sin(Math.acos(e)),ql=Xc(jl),Wl=$c(jl);var tv=bo(.42,0,1,1),av=bo(0,0,.58,1),Gl=bo(.42,0,.58,1);var rv=e=>Array.isArray(e)&&typeof e[0]!="number";var Zl=e=>Array.isArray(e)&&typeof e[0]=="number";var GS={linear:je,easeIn:tv,easeInOut:Gl,easeOut:av,circIn:jl,circInOut:Wl,circOut:ql,backIn:Ri,backInOut:Ul,backOut:Kc,anticipate:Hl},mA=e=>typeof e=="string",Yc=e=>{if(Zl(e)){xa(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,a,r,n]=e;return bo(t,a,r,n)}else if(mA(e))return xa(GS[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),GS[e];return e};var $l=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var aa={value:null,addProjectionMetrics:null};function ZS(e,t){let a=new Set,r=new Set,n=!1,i=!1,l=new WeakSet,d={delta:0,timestamp:0,isProcessing:!1},c=0;
11function p(g){l.has(g)&&(h.schedule(g),e()),c++,g(d)}let h={schedule:(g,x=!1,b=!1)=>{let C=b&&n?a:r;return x&&l.add(g),C.add(g),g},cancel:g=>{r.delete(g),l.delete(g)},process:g=>{if(d=g,n){i=!0;return}n=!0;let x=a;a=r,r=x,a.forEach(p),t&&aa.value&&aa.value.frameloop[t].push(c),c=0,a.clear(),n=!1,i&&(i=!1,h.process(g))}};return h}var gA=40;function Jc(e,t){let a=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},i=()=>a=!0,l=$l.reduce((S,k)=>(S[k]=ZS(i,t?k:void 0),S),{}),{setup:d,read:c,resolveKeyframes:p,preUpdate:h,update:g,preRender:x,render:b,postRender:_}=l,C=()=>{let S=Bt.useManualTiming,k=S?n.timestamp:performance.now();a=!1,S||(n.delta=r?1e3/60:Math.max(Math.min(k-n.timestamp,gA),1)),n.timestamp=k,n.isProcessing=!0,d.process(n),c.process(n),p.process(n),h.process(n),g.process(n),x.process(n),b.process(n),_.process(n),n.isProcessing=!1,a&&t&&(r=!1,e(C))},R=()=>{a=!0,r=!0,n.isProcessing||e(C)};return{schedule:$l.reduce((S,k)=>{let A=l[k];return S[k]=(O,B=!1,F=!1)=>(a||R(),A.schedule(O,B,F)),S},{}),cancel:S=>{for(let k=0;k<$l.length;k++)l[$l[k]].cancel(S)},state:n,steps:l}}var{schedule:se,cancel:Gt,state:$e,steps:Xl}=Jc(typeof requestAnimationFrame<"u"?requestAnimationFrame:je,!0);var Qc;function vA(){Qc=void 0}var qe={now:()=>(Qc===void 0&&qe.set($e.isProcessing||Bt.useManualTiming?$e.timestamp:performance.now()),Qc),set:e=>{Qc=e,queueMicrotask(vA)}};var lr={layout:0,mainThread:0,waapi:0};var $S=e=>t=>typeof t=="string"&&t.startsWith(e),ef=$S("--"),xA=$S("var(--"),Ei=e=>xA(e)?wA.test(e.split("/*")[0].trim()):!1,wA=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ov(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}var ur={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Or={...ur,transform:e=>lt(0,1,e)},Kl={...ur,default:1};var Lo=e=>Math.round(e*1e5)/1e5;var Ti=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function XS(e){return e==null}var KS=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Ai=(e,t)=>a=>!!(typeof a=="string"&&KS.test(a)&&a.startsWith(e)||t&&!XS(a)&&Object.prototype.hasOwnProperty.call(a,t)),tf=(e,t,a)=>r=>{if(typeof r!="string")return r;let[n,i,l,d]=r.match(Ti);return{[e]:parseFloat(n),[t]:parseFloat(i),[a]:parseFloat(l),alpha:d!==void 0?parseFloat(d):1}};var yA=e=>lt(0,255,e),nv={...ur,transform:e=>Math.round(yA(e))},dr={test:Ai("rgb","red"),parse:tf("red","green","blue"),transform:({red:e,green:t,blue:a,alpha:r=1})=>"rgba("+nv.transform(e)+", "+nv.transform(t)+", "+nv.transform(a)+", "+Lo(Or.transform(r))+")"};function bA(e){let t="",a="",r="",n="";return e.length>5?(t=e.substring(1,3),a=e.substring(3,5),r=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),a=e.substring(2,3),r=e.substring(3,4),n=e.substring(4,5),t+=t,a+=a,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(a,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}var Yl={test:Ai("#"),parse:bA,transform:dr.transform};var Jl=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Va=Jl("deg"),Pt=Jl("%"),q=Jl("px"),iv=Jl("vh"),sv=Jl("vw"),af={...Pt,parse:e=>Pt.parse(e)/100,transform:e=>Pt.transform(e*100)};var So={test:Ai("hsl","hue"),parse:tf("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:a,alpha:r=1})=>"hsla("+Math.round(e)+", "+Pt.transform(Lo(t))+", "+Pt.transform(Lo(a))+", "+Lo(Or.transform(r))+")"};var Oe={test:e=>dr.test(e)||Yl.test(e)||So.test(e),parse:e=>dr.test(e)?dr.parse(e):So.test(e)?So.parse(e):Yl.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?dr.transform(e):So.transform(e),getAnimatableNone:e=>{let t=Oe.parse(e);return t.alpha=0,Oe.transform(t)}};var YS=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function LA(e){return isNaN(e)&&typeof e=="string"&&(e.match(Ti)?.length||0)+(e.match(YS)?.length||0)>0}var QS="number",e_="color",SA="var",_A="var(",JS="${}",CA=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function _o(e){let t=e.toString(),a=[],r={color:[],number:[],var:[]},n=[],i=0,d=t.replace(CA,c=>(Oe.test(c)?(r.color.push(i),n.push(e_),a.push(Oe.parse(c))):c.startsWith(_A)?(r.var.push(i),n.push(SA),a.push(c)):(r.number.push(i),n.push(QS),a.push(parseFloat(c))),++i,JS)).split(JS);return{values:a,split:d,indexes:r,types:n}}function kA(e){return _o(e).values}function t_({split:e,types:t}){let a=e.length;return r=>{let n="";for(let i=0;i<a;i++)if(n+=e[i],r[i]!==void 0){let l=t[i];l===QS?n+=Lo(r[i]):l===e_?n+=Oe.transform(r[i]):n+=r[i]}return n}}function IA(e){return t_(_o(e))}var PA=e=>typeof e=="number"?0:Oe.test(e)?Oe.getAnimatableNone(e):e,RA=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:PA(e);function EA(e){let t=_o(e);return t_(t)(t.values.map((r,n)=>RA(r,t.split[n])))}var ut={test:LA,parse:kA,createTransformer:IA,getAnimatableNone:EA};function lv(e,t,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(t-e)*6*a:a<1/2?t:a<2/3?e+(t-e)*(2/3-a)*6:e}
11function a_({hue:e,saturation:t,lightness:a,alpha:r}){e/=360,t/=100,a/=100;let n=0,i=0,l=0;if(!t)n=i=l=a;else{let d=a<.5?a*(1+t):a+t-a*t,c=2*a-d;n=lv(c,d,e+1/3),i=lv(c,d,e),l=lv(c,d,e-1/3)}return{red:Math.round(n*255),green:Math.round(i*255),blue:Math.round(l*255),alpha:r}}function Mi(e,t){return a=>a>0?t:e}var me=(e,t,a)=>e+(t-e)*a;var uv=(e,t,a)=>{let r=e*e,n=a*(t*t-r)+r;return n<0?0:Math.sqrt(n)},TA=[Yl,dr,So],AA=e=>TA.find(t=>t.test(e));function r_(e){let t=AA(e);if(Fr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let a=t.parse(e);return t===So&&(a=a_(a)),a}var dv=(e,t)=>{let a=r_(e),r=r_(t);if(!a||!r)return Mi(e,t);let n={...a};return i=>(n.red=uv(a.red,r.red,i),n.green=uv(a.green,r.green,i),n.blue=uv(a.blue,r.blue,i),n.alpha=me(a.alpha,r.alpha,i),dr.transform(n))};var rf=new Set(["none","hidden"]);function o_(e,t){return rf.has(e)?a=>a<=0?e:t:a=>a>=1?t:e}function MA(e,t){return a=>me(e,t,a)}function of(e){return typeof e=="number"?MA:typeof e=="string"?Ei(e)?Mi:Oe.test(e)?dv:BA:Array.isArray(e)?n_:typeof e=="object"?Oe.test(e)?dv:DA:Mi}function n_(e,t){let a=[...e],r=a.length,n=e.map((i,l)=>of(i)(i,t[l]));return i=>{for(let l=0;l<r;l++)a[l]=n[l](i);return a}}function DA(e,t){let a={...e,...t},r={};for(let n in a)e[n]!==void 0&&t[n]!==void 0&&(r[n]=of(e[n])(e[n],t[n]));return n=>{for(let i in r)a[i]=r[i](n);return a}}function FA(e,t){let a=[],r={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let i=t.types[n],l=e.indexes[i][r[i]],d=e.values[l]??0;a[n]=d,r[i]++}return a}var BA=(e,t)=>{let a=ut.createTransformer(t),r=_o(e),n=_o(t);return r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length?rf.has(e)&&!n.values.length||rf.has(t)&&!r.values.length?o_(e,t):za(n_(FA(r,n),n.values),a):(Fr(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Mi(e,t))};function nf(e,t,a){return typeof e=="number"&&typeof t=="number"&&typeof a=="number"?me(e,t,a):of(e)(e,t)}var i_=e=>{let t=({timestamp:a})=>e(a);return{start:(a=!0)=>se.update(t,a),stop:()=>Gt(t),now:()=>$e.isProcessing?$e.timestamp:qe.now()}};var sf=(e,t,a=10)=>{let r="",n=Math.max(Math.round(t/a),2);for(let i=0;i<n;i++)r+=Math.round(e(i/(n-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function Di(e){let t=0,a=50,r=e.next(t);for(;!r.done&&t<2e4;)t+=a,r=e.next(t);return t>=2e4?1/0:t}function s_(e,t=100,a){let r=a({...e,keyframes:[0,t]}),n=Math.min(Di(r),2e4);return{type:"keyframes",ease:i=>r.next(n*i).value/t,duration:mt(n)}}var We={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function pv(e,t){return e*Math.sqrt(1-t*t)}var OA=12;function NA(e,t,a){let r=a;for(let n=1;n<OA;n++)r=r-e(r)/t(r);return r}var fv=.001;function zA({duration:e=We.duration,bounce:t=We.bounce,velocity:a=We.velocity,mass:r=We.mass}){let n,i;Fr(e<=Je(We.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let l=1-t;l=lt(We.minDamping,We.maxDamping,l),e=lt(We.minDuration,We.maxDuration,mt(e)),l<1?(n=p=>{let h=p*l,g=h*e,x=h-a,b=pv(p,l),_=Math.exp(-g);return fv-x/b*_},i=p=>{let g=p*l*e,x=g*a+a,b=Math.pow(l,2)*Math.pow(p,2)*e,_=Math.exp(-g),C=pv(Math.pow(p,2),l);return(-n(p)+fv>0?-1:1)*((x-b)*_)/C}):(n=p=>{let h=Math.exp(-p*e),g=(p-a)*e+1;return-fv+h*g},i=p=>{let h=Math.exp(-p*e),g=(a-p)*(e*e);return h*g});let d=5/e,c=NA(n,i,d);if(e=Je(e),isNaN(c))return{stiffness:We.stiffness,damping:We.damping,duration:e};{let p=Math.pow(c,2)*r;return{stiffness:p,damping:l*2*Math.sqrt(r*p),duration:e}}}var VA=["duration","bounce"],UA=["stiffness","damping","mass"];function l_(e,t){return t.some(a=>e[a]!==void 0)}function HA(e){let t={velocity:We.velocity,stiffness:We.stiffness,damping:We.damping,mass:We.mass,isResolvedFromDuration:!1,...e};if(!l_(e,UA)&&l_(e,VA))if(t.velocity=0,e.visualDuration){let a=e.visualDuration,r=2*Math.PI/(a*1.2),n=r*r,i=2*lt(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:We.mass,stiffness:n,damping:i}}else{let a=zA({...e,velocity:0});t={...t,...a,mass:We.mass},t.isResolvedFromDuration=!0}return t}function Fi(e=We.visualDuration,t=We.bounce){let a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:r,restDelta:n}=a,i=a.keyframes[0],l=a.keyframes[a.keyframes.length-1],d={done:!1,value:i},{stiffness:c,damping:p,mass:h,duration:g,velocity:x,isResolvedFromDuration:b}=HA({...a,velocity:-mt(a.velocity||0)}
11),_=x||0,C=p/(2*Math.sqrt(c*h)),R=l-i,v=mt(Math.sqrt(c/h)),w=Math.abs(R)<5;r||(r=w?We.restSpeed.granular:We.restSpeed.default),n||(n=w?We.restDelta.granular:We.restDelta.default);let S,k,A,O,B,F;if(C<1)A=pv(v,C),O=(_+C*v*R)/A,S=D=>{let K=Math.exp(-C*v*D);return l-K*(O*Math.sin(A*D)+R*Math.cos(A*D))},B=C*v*O+R*A,F=C*v*R-O*A,k=D=>Math.exp(-C*v*D)*(B*Math.sin(A*D)+F*Math.cos(A*D));else if(C===1){S=K=>l-Math.exp(-v*K)*(R+(_+v*R)*K);let D=_+v*R;k=K=>Math.exp(-v*K)*(v*D*K-_)}else{let D=v*Math.sqrt(C*C-1);S=Q=>{let ye=Math.exp(-C*v*Q),$=Math.min(D*Q,300);return l-ye*((_+C*v*R)*Math.sinh($)+D*R*Math.cosh($))/D};let K=(_+C*v*R)/D,X=C*v*K-R*D,oe=C*v*R-K*D;k=Q=>{let ye=Math.exp(-C*v*Q),$=Math.min(D*Q,300);return ye*(X*Math.sinh($)+oe*Math.cosh($))}}let V={calculatedDuration:b&&g||null,velocity:D=>Je(k(D)),next:D=>{if(!b&&C<1){let X=Math.exp(-C*v*D),oe=Math.sin(A*D),Q=Math.cos(A*D),ye=l-X*(O*oe+R*Q),$=Je(X*(B*oe+F*Q));return d.done=Math.abs($)<=r&&Math.abs(l-ye)<=n,d.value=d.done?l:ye,d}let K=S(D);if(b)d.done=D>=g;else{let X=Je(k(D));d.done=Math.abs(X)<=r&&Math.abs(l-K)<=n}return d.value=d.done?l:K,d},toString:()=>{let D=Math.min(Di(V),2e4),K=sf(X=>V.next(D*X).value,D,30);return D+"ms "+K},toTransition:()=>{}};return V}Fi.applyToOptions=e=>{let t=s_(e,100,Fi);return e.ease=t.ease,e.duration=Je(t.duration),e.type="keyframes",e};var jA=5;function lf(e,t,a){let r=Math.max(t-jA,0);return Vl(a-e(r),t-r)}function Ql({keyframes:e,velocity:t=0,power:a=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:i=500,modifyTarget:l,min:d,max:c,restDelta:p=.5,restSpeed:h}){let g=e[0],x={done:!1,value:g},b=F=>d!==void 0&&F<d||c!==void 0&&F>c,_=F=>d===void 0?c:c===void 0||Math.abs(d-F)<Math.abs(c-F)?d:c,C=a*t,R=g+C,v=l===void 0?R:l(R);v!==R&&(C=v-g);let w=F=>-C*Math.exp(-F/r),S=F=>v+w(F),k=F=>{let V=w(F),D=S(F);x.done=Math.abs(V)<=p,x.value=x.done?v:D},A,O,B=F=>{b(x.value)&&(A=F,O=Fi({keyframes:[x.value,_(x.value)],velocity:lf(S,F,x.value),damping:n,stiffness:i,restDelta:p,restSpeed:h}))};return B(0),{calculatedDuration:null,next:F=>{let V=!1;return!O&&A===void 0&&(V=!0,k(F),B(F)),A!==void 0&&F>=A?O.next(F-A):(!V&&k(F),x)}}}function qA(e,t,a){let r=[],n=a||Bt.mix||nf,i=e.length-1;for(let l=0;l<i;l++){let d=n(e[l],e[l+1]);if(t){let c=Array.isArray(t)?t[l]||je:t;d=za(c,d)}r.push(d)}return r}function u_(e,t,{clamp:a=!0,ease:r,mixer:n}={}){let i=e.length;if(xa(i===t.length,"Both input and output ranges must be the same length","range-length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];let l=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());let d=qA(t,r,n),c=d.length,p=h=>{if(l&&h<e[0])return t[0];let g=0;if(c>1)for(;g<e.length-2&&!(h<e[g+1]);g++);let x=sr(e[g],e[g+1],h);return d[g](x)};return a?h=>p(lt(e[0],e[i-1],h)):p}function d_(e,t){let a=e[e.length-1];for(let r=1;r<=t;r++){let n=sr(0,t,r);e.push(me(a,1,n))}}function c_(e){let t=[0];return d_(t,e.length-1),t}function f_(e,t){return e.map(a=>a*t)}function WA(e,t){return e.map(()=>t||Gl).splice(0,e.length-1)}function cn({duration:e=300,keyframes:t,times:a,ease:r="easeInOut"}){let n=rv(r)?r.map(Yc):Yc(r),i={done:!1,value:t[0]},l=f_(a&&a.length===t.length?a:c_(t),e),d=u_(l,t,{ease:Array.isArray(n)?n:WA(t,n)});return{calculatedDuration:e,next:c=>(i.value=d(c),i.done=c>=e,i)}}var GA=e=>e!==null;function Co(e,{repeat:t,repeatType:a="loop"},r,n=1){let i=e.filter(GA),d=n<0||t&&a!=="loop"&&t%2===1?0:i.length-1;return!d||r===void 0?i[d]:r}var ZA={decay:Ql,inertia:Ql,tween:cn,keyframes:cn,spring:Fi};function uf(e){typeof e.type=="string"&&(e.type=ZA[e.type])}var ko=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,a){return this.finished.then(t,a)}};var $A=e=>e/100,Nr=class extends ko{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:a}=this.options;a&&a.updatedAt!==qe.now()&&this.tick(qe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},lr.mainThread++,this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){let{options:t}=this;uf(t);let{type:a=cn,repeat:r=0,repeatDelay:n=0,repeatType:i,velocity:l=0}=t,{keyframes:d}=t,c=a||cn;c!==cn&&typeof d[0]!="number"&&(this.mixKeyframes=za($A,nf(d[0],d[1])),d=[0,100]);let p=c({...t,keyframes:d});i==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...d].reverse(),velocity:-l})),p.calculatedDuration===null&&(p.calculatedDuration=Di(p));let{calculatedDuration:h}=p;this.calculatedDuration=h,this.resolvedDuration=h+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=p}updateTime(t){let a=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(t,a=!1){let{generator:r,totalDuration:n,mixKeyframes:i,mirroredGenerator:l,resolvedDuration:d,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);let{delay:p=0,keyframes:h,repeat:g,repeatType:x,repeatDelay:b,type:_,onUpdate:C,finalKeyframe:R}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),a?this.currentTime=t:this.updateTime(t);let v=this.currentTime-p*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?v<0:v>n;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=n);let S=this.currentTime,k=r;if(g){let F=Math.min(this.currentTime,n)/d,V=Math.floor(F),D=F%1;!D&&F>=1&&(D=1),D===1&&V--,V=Math.min(V,g+1),V%2&&(x==="reverse"?(D=1-D,b&&(D-=b/d)):x==="mirror"&&(k=l)),S=lt(0,1,D)*d}let A;w?(this.delayState.value=h[0],A=this.delayState):A=k.next(S),i&&!w&&(A.value=i(A.value));let{done:O}=A;!w&&c!==null&&(O=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let B=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&O);return B&&_!==Ql&&(A.value=Co(h,this.options,R,this.speed)),C&&C(A.value),B&&this.finish(),A}
11then(t,a){return this.finished.then(t,a)}get duration(){return mt(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+mt(t)}get time(){return mt(this.currentTime)}set time(t){t=Je(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let a=this.generator.next(t).value;return lf(r=>this.generator.next(r).value,t,a)}get speed(){return this.playbackSpeed}set speed(t){let a=this.playbackSpeed!==t;a&&this.driver&&this.updateTime(qe.now()),this.playbackSpeed=t,a&&this.driver&&(this.time=mt(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=i_,startTime:a}=this.options;this.driver||(this.driver=t(n=>this.tick(n))),this.options.onPlay?.();let r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=a??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(qe.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,lr.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}};function p_(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var fn=e=>e*180/Math.PI,hv=e=>{let t=fn(Math.atan2(e[1],e[0]));return mv(t)},XA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:hv,rotateZ:hv,skewX:e=>fn(Math.atan(e[1])),skewY:e=>fn(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},mv=e=>(e=e%360,e<0&&(e+=360),e),h_=hv,m_=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),g_=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),KA={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:m_,scaleY:g_,scale:e=>(m_(e)+g_(e))/2,rotateX:e=>mv(fn(Math.atan2(e[6],e[5]))),rotateY:e=>mv(fn(Math.atan2(-e[2],e[0]))),rotateZ:h_,rotate:h_,skewX:e=>fn(Math.atan(e[4])),skewY:e=>fn(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function df(e){return e.includes("scale")?1:0}function cf(e,t){if(!e||e==="none")return df(t);let a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,n;if(a)r=KA,n=a;else{let d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=XA,n=d}if(!n)return df(t);let i=r[t],l=n[1].split(",").map(YA);return typeof i=="function"?i(l):l[i]}var v_=(e,t)=>{let{transform:a="none"}=getComputedStyle(e);return cf(a,t)};function YA(e){return parseFloat(e.trim())}var cr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],wa=new Set(cr);var gv=e=>e===ur||e===q,JA=new Set(["x","y","z"]),QA=cr.filter(e=>!JA.has(e));function x_(e){let t=[];return QA.forEach(a=>{let r=e.getValue(a);r!==void 0&&(t.push([a,r.get()]),r.set(a.startsWith("scale")?1:0))}),t}var zr={width:({x:e},{paddingLeft:t="0",paddingRight:a="0",boxSizing:r})=>{let n=e.max-e.min;return r==="border-box"?n:n-parseFloat(t)-parseFloat(a)},height:({y:e},{paddingTop:t="0",paddingBottom:a="0",boxSizing:r})=>{let n=e.max-e.min;return r==="border-box"?n:n-parseFloat(t)-parseFloat(a)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>cf(t,"x"),y:(e,{transform:t})=>cf(t,"y")};zr.translateX=zr.x;zr.translateY=zr.y;var pn=new Set,vv=!1,xv=!1,wv=!1;function w_(){if(xv){let e=Array.from(pn).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),a=new Map;t.forEach(r=>{let n=x_(r);n.length&&(a.set(r,n),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();let n=a.get(r);
11n&&n.forEach(([i,l])=>{r.getValue(i)?.set(l)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}xv=!1,vv=!1,pn.forEach(e=>e.complete(wv)),pn.clear()}function y_(){pn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(xv=!0)})}function b_(){wv=!0,y_(),w_(),wv=!1}var Io=class{constructor(t,a,r,n,i,l=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=a,this.name=r,this.motionValue=n,this.element=i,this.isAsync=l}scheduleResolve(){this.state="scheduled",this.isAsync?(pn.add(this),vv||(vv=!0,se.read(y_),se.resolveKeyframes(w_))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:a,element:r,motionValue:n}=this;if(t[0]===null){let i=n?.get(),l=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&a){let d=r.readValue(a,l);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=l),n&&i===void 0&&n.set(t[0])}p_(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),pn.delete(this)}cancel(){this.state==="scheduled"&&(pn.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}};var L_=e=>e.startsWith("--");function ff(e,t,a){L_(t)?e.style.setProperty(t,a):e.style[t]=a}var S_={};function pf(e,t){let a=zl(e);return()=>S_[t]??a()}var __=pf(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var hf=pf(()=>{try{document.createElement("div").animate({opacity:0}
11,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");var hn=([e,t,a,r])=>`cubic-bezier(${e}, ${t}, ${a}, ${r})`;var yv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:hn([0,.65,.55,1]),circOut:hn([.55,0,1,.45]),backIn:hn([.31,.01,.66,-.59]),backOut:hn([.33,1.53,.69,.99])};function bv(e,t){if(e)return typeof e=="function"?hf()?sf(e,t):"ease-out":Zl(e)?hn(e):Array.isArray(e)?e.map(a=>bv(a,t)||yv.easeOut):yv[e]}function C_(e,t,a,{delay:r=0,duration:n=300,repeat:i=0,repeatType:l="loop",ease:d="easeOut",times:c}={},p=void 0){let h={[t]:a};c&&(h.offset=c);let g=bv(d,n);Array.isArray(g)&&(h.easing=g),aa.value&&lr.waapi++;let x={delay:r,duration:n,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:i+1,direction:l==="reverse"?"alternate":"normal"};p&&(x.pseudoElement=p);let b=e.animate(h,x);return aa.value&&b.finished.finally(()=>{lr.waapi--}),b}function mf(e){return typeof e=="function"&&"applyToOptions"in e}function k_({type:e,...t}){return mf(e)&&hf()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}var Bi=class extends ko{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:a,name:r,keyframes:n,pseudoElement:i,allowFlatten:l=!1,finalKeyframe:d,onComplete:c}=t;this.isPseudoElement=!!i,this.allowFlatten=l,this.options=t,xa(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let p=k_(t);this.animation=C_(a,r,n,p,i),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let h=Co(n,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(h),ff(a,r,h),this.animation.cancel()}c?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return mt(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+mt(t)}get time(){return mt(Number(this.animation.currentTime)||0)}set time(t){let a=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Je(t),a&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:a,rangeEnd:r,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&__()?(this.animation.timeline=t,a&&(this.animation.rangeStart=a),r&&(this.animation.rangeEnd=r),je):n(this)}};var I_={anticipate:Hl,backInOut:Ul,circInOut:Wl};function eM(e){return e in I_}function P_(e){typeof e.ease=="string"&&eM(e.ease)&&(e.ease=I_[e.ease])}var Lv=10,gf=class extends Bi{constructor(t){P_(t),uf(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:a,onUpdate:r,onComplete:n,element:i,...l}=this.options;if(!a)return;if(t!==void 0){a.set(t);return}let d=new Nr({...l,autoplay:!1}),c=Math.max(Lv,qe.now()-this.startTime),p=lt(0,Lv,c-Lv),h=d.sample(c).value,{name:g}=this.options;i&&g&&ff(i,g,h),a.setWithVelocity(d.sample(Math.max(0,c-p)).value,h,p),d.stop()}};var Sv=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ut.test(e)||e==="0")&&!e.startsWith("url("));function tM(e){let t=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==t)return!0}function R_(e,t,a,r){let n=e[0];if(n===null)return!1;if(t==="display"||t==="visibility")return!0;let i=e[e.length-1],l=Sv(n,t),d=Sv(i,t);return Fr(l===d,`You are trying to animate ${t} from "${n}" to "${i}". "${l?i:n}" is not an animatable value.`,"value-not-animatable"),!l||!d?!1:tM(e)||(a==="spring"||mf(a))&&r}function eu(e){e.duration=0,e.type="keyframes"}var vf=new Set(["opacity","clipPath","filter","transform"]);var aM=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function E_(e){for(let t=0;t<e.length;
11t++)if(typeof e[t]=="string"&&aM.test(e[t]))return!0;return!1}var rM=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),oM=zl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function T_(e){let{motionValue:t,name:a,repeatDelay:r,repeatType:n,damping:i,type:l,keyframes:d}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:p,transformTemplate:h}=t.owner.getProps();return oM()&&a&&(vf.has(a)||rM.has(a)&&E_(d))&&(a!=="transform"||!h)&&!p&&!r&&n!=="mirror"&&i!==0&&l!=="inertia"}var nM=40,xf=class extends ko{constructor({autoplay:t=!0,delay:a=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:l="loop",keyframes:d,name:c,motionValue:p,element:h,...g}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=qe.now();let x={autoplay:t,delay:a,type:r,repeat:n,repeatDelay:i,repeatType:l,name:c,motionValue:p,element:h,...g},b=h?.KeyframeResolver||Io;this.keyframeResolver=new b(d,(_,C,R)=>this.onKeyframesResolved(_,C,x,!R),c,p,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,a,r,n){this.keyframeResolver=void 0;let{name:i,type:l,velocity:d,delay:c,isHandoff:p,onUpdate:h}=r;this.resolvedAt=qe.now();let g=!0;R_(t,i,l,d)||(g=!1,(Bt.instantAnimations||!c)&&h?.(Co(t,r,a)),t[0]=t[t.length-1],eu(r),r.repeat=0);let b={startTime:n?this.resolvedAt?this.resolvedAt-this.createdAt>nM?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...r,keyframes:t},_=g&&!p&&T_(b),C=b.motionValue?.owner?.current,R;if(_)try{R=new gf({...b,element:C})}catch{R=new Nr(b)}else R=new Nr(b);R.finished.then(()=>{this.notifyFinished()}).catch(je),this.pendingTimeline&&(this.stopTimeline=R.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=R}get finished(){return this._animation?this.animation.finished:this._finished}then(t,a){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),b_()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function wf(e,t,a,r=0,n=1){let i=Array.from(e).sort((p,h)=>p.sortNodePosition(h)).indexOf(t),l=e.size,d=(l-1)*r;return typeof a=="function"?a(i,l):n===1?i*r:d-i*r}var iM=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function sM(e){let t=iM.exec(e);if(!t)return[,];let[,a,r,n]=t;return[`--${a??r}`,n]}var lM=4;function _v(e,t,a=1){xa(a<=lM,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,n]=sM(e);if(!r)return;let i=window.getComputedStyle(t).getPropertyValue(r);if(i){let l=i.trim();return Bl(l)?parseFloat(l):l}return Ei(n)?_v(n,t,a+1):n}var uM={type:"spring",stiffness:500,damping:25,restSpeed:10},dM=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),cM={type:"keyframes",duration:.8},fM={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},A_=(e,{keyframes:t})=>t.length>2?cM:wa.has(e)?e.startsWith("scale")?dM(t[1]):uM:fM;function yf(e,t){if(e?.inherit&&t){let{inherit:a,...r}=e;return{...t,...r}}return e}function Oi(e,t){let a=e?.[t]??e?.default??e;return a!==e?yf(a,e):a}var pM=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function M_(e){for(let t in e)if(!pM.has(t))return!0;return!1}var mn=(e,t,a,r={},n,i)=>l=>{let d=Oi(r,e)||{},c=d.delay||r.delay||0,{elapsed:p=0}=r;p=p-Je(c);let h={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-p,onUpdate:x=>{t.set(x),d.onUpdate&&d.onUpdate(x)},onComplete:()=>{l(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:i?void 0:n};M_(d)||Object.assign(h,A_(e,h)),h.duration&&(h.duration=Je(h.duration)),h.repeatDelay&&(h.repeatDelay=Je(h.repeatDelay)),h.from!==void 0&&(h.keyframes[0]=h.from);let g=!1;if((h.type===!1||h.duration===0&&!h.repeatDelay)&&(eu(h),h.delay===0&&(g=!0)),(Bt.instantAnimations||Bt.skipAnimations||n?.shouldSkipAnimations)&&(g=!0,eu(h),h.delay=0),h.allowFlatten=!d.type&&!d.ease,g&&!i&&t.get()!==void 0){let x=Co(h.keyframes,d);if(x!==void 0){se.update(()=>{h.onUpdate(x),h.onComplete()});return}}return d.isSync?new Nr(h):new xf(h)};function D_(e){let t=[{},{}];
11return e?.values.forEach((a,r)=>{t[0][r]=a.get(),t[1][r]=a.getVelocity()}),t}function gn(e,t,a,r){if(typeof t=="function"){let[n,i]=D_(r);t=t(a!==void 0?a:e.custom,n,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){let[n,i]=D_(r);t=t(a!==void 0?a:e.custom,n,i)}return t}function ra(e,t,a){let r=e.getProps();return gn(r,t,a!==void 0?a:r.custom,e)}var bf=new Set(["width","height","top","left","right","bottom",...cr]);var F_=30,hM=e=>!isNaN(parseFloat(e)),B_={current:void 0},Cv=class{constructor(t,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{let n=qe.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=a.owner}setCurrent(t){this.current=t,this.updatedAt=qe.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=hM(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,a){this.events[t]||(this.events[t]=new Br);let r=this.events[t].add(a);return t==="change"?()=>{r(),se.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,a){this.passiveEffect=t,this.stopPassiveEffect=a}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,a,r){this.set(a),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,a=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return B_.current&&B_.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=qe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>F_)return 0;let a=Math.min(this.updatedAt-this.prevUpdatedAt,F_);return Vl(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(t){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=t(a),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function Ua(e,t){return new Cv(e,t)}var tu=e=>Array.isArray(e);function mM(e,t,a){e.hasValue(t)?e.getValue(t).set(a):e.addValue(t,Ua(a))}function gM(e){return tu(e)?e[e.length-1]||0:e}function O_(e,t){let a=ra(e,t),{transitionEnd:r={},transition:n={},...i}=a||{};i={...i,...r};for(let l in i){let d=gM(i[l]);mM(e,l,d)}}var ke=e=>!!(e&&e.getVelocity);function N_(e){return!!(ke(e)&&e.add)}function Ni(e,t){let a=e.getValue("willChange");if(N_(a))return a.add(t);if(!a&&Bt.WillChange){let r=new Bt.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function zi(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}var z_="framerAppearId",au="data-"+zi(z_);function Lf(e){return e.props[au]}function vM({protectedKeys:e,needsAnimating:t},a){let r=e.hasOwnProperty(a)&&t[a]!==!0;return t[a]=!1,r}function Sf(e,t,{delay:a=0,transitionOverride:r,type:n}={}){let{transition:i,transitionEnd:l,...d}=t,c=e.getDefaultTransition();i=i?yf(i,c):c;let p=i?.reduceMotion;r&&(i=r);let h=[],g=n&&e.animationState&&e.animationState.getState()[n];for(let x in d){let b=e.getValue(x,e.latestValues[x]??null),_=d[x];if(_===void 0||g&&vM(g,x))continue;let C={delay:a,...Oi(i||{},x)},R=b.get();if(R!==void 0&&!b.isAnimating()&&!Array.isArray(_)&&_===R&&!C.velocity){se.update(()=>b.set(_));continue}let v=!1;if(window.MotionHandoffAnimation){let k=Lf(e);if(k){let A=window.MotionHandoffAnimation(k,x,se);A!==null&&(C.startTime=A,v=!0)}}Ni(e,x);let w=p??e.shouldReduceMotion;b.start(mn(x,b,_,w&&bf.has(x)?{type:!1}:C,e,v));let S=b.animation;S&&h.push(S)}if(l){let x=()=>se.update(()=>{l&&O_(e,l)});h.length?Promise.all(h).then(x):x()}return h}function _f(e,t,a={}){let r=ra(e,t,a.type==="exit"?e.presenceContext?.custom:void 0),{transition:n=e.getDefaultTransition()||{}}=r||{};a.transitionOverride&&(n=a.transitionOverride);let i=r?()=>Promise.all(Sf(e,r,a)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(c=0)=>{let{delayChildren:p=0,staggerChildren:h,staggerDirection:g}=n;return xM(e,t,c,p,h,g,a)}:()=>Promise.resolve(),{when:d}=n;if(d){let[c,p]=d==="beforeChildren"?[i,l]:[l,i];return c().then(()=>p())}else return Promise.all([i(),l(a.delay)])}function xM(e,t,a=0,r=0,n=0,i=1,l){let d=[];for(let c of e.variantChildren)c.notify("AnimationStart",t),d.push(_f(c,t,{...l,delay:a+(typeof r=="function"?0:r)+wf(e.variantChildren,c,r,n,i)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(d)}function V_(e,t,a={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){let n=t.map(i=>_f(e,i,a));r=Promise.all(n)}else if(typeof t=="string")r=_f(e,t,a);else{let n=typeof t=="function"?ra(e,t,a.custom):t;r=Promise.all(Sf(e,n,a))}return r.then(()=>
11{e.notify("AnimationComplete",t)})}var U_={test:e=>e==="auto",parse:e=>e};var Cf=e=>t=>t.test(e);var kv=[ur,q,Pt,Va,sv,iv,U_],Iv=e=>kv.find(Cf(e));function H_(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Nl(e):!0}var wM=new Set(["brightness","contrast","saturate","opacity"]);function yM(e){let[t,a]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;let[r]=a.match(Ti)||[];if(!r)return e;let n=a.replace(r,""),i=wM.has(t)?1:0;return r!==a&&(i*=100),t+"("+i+n+")"}var bM=/\b([a-z-]*)\(.*?\)/gu,ru={...ut,getAnimatableNone:e=>{let t=e.match(bM);return t?t.map(yM).join(" "):e}};var ou={...ut,getAnimatableNone:e=>{let t=ut.parse(e);return ut.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}};var Pv={...ur,transform:Math.round};var j_={rotate:Va,rotateX:Va,rotateY:Va,rotateZ:Va,scale:Kl,scaleX:Kl,scaleY:Kl,scaleZ:Kl,skew:Va,skewX:Va,skewY:Va,distance:q,translateX:q,translateY:q,translateZ:q,x:q,y:q,z:q,perspective:q,transformPerspective:q,opacity:Or,originX:af,originY:af,originZ:q};var Vi={borderWidth:q,borderTopWidth:q,borderRightWidth:q,borderBottomWidth:q,borderLeftWidth:q,borderRadius:q,borderTopLeftRadius:q,borderTopRightRadius:q,borderBottomRightRadius:q,borderBottomLeftRadius:q,width:q,maxWidth:q,height:q,maxHeight:q,top:q,right:q,bottom:q,left:q,inset:q,insetBlock:q,insetBlockStart:q,insetBlockEnd:q,insetInline:q,insetInlineStart:q,insetInlineEnd:q,padding:q,paddingTop:q,paddingRight:q,paddingBottom:q,paddingLeft:q,paddingBlock:q,paddingBlockStart:q,paddingBlockEnd:q,paddingInline:q,paddingInlineStart:q,paddingInlineEnd:q,margin:q,marginTop:q,marginRight:q,marginBottom:q,marginLeft:q,marginBlock:q,marginBlockStart:q,marginBlockEnd:q,marginInline:q,marginInlineStart:q,marginInlineEnd:q,fontSize:q,backgroundPositionX:q,backgroundPositionY:q,...j_,zIndex:Pv,fillOpacity:Or,strokeOpacity:Or,numOctaves:Pv};var LM={...Vi,color:Oe,backgroundColor:Oe,outlineColor:Oe,fill:Oe,stroke:Oe,borderColor:Oe,borderTopColor:Oe,borderRightColor:Oe,borderBottomColor:Oe,borderLeftColor:Oe,filter:ru,WebkitFilter:ru,mask:ou,WebkitMask:ou},kf=e=>LM[e];var SM=new Set([ru,ou]);function If(e,t){let a=kf(e);return SM.has(a)||(a=ut),a.getAnimatableNone?a.getAnimatableNone(t):void 0}var _M=new Set(["auto","none","0"]);function q_(e,t,a){let r=0,n;for(;r<e.length&&!n;){let i=e[r];typeof i=="string"&&!_M.has(i)&&_o(i).values.length&&(n=e[r]),r++}if(n&&a)for(let i of t)e[i]=If(a,n)}var Pf=class extends Io{constructor(t,a,r,n,i){super(t,a,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:a,name:r}=this;if(!a||!a.current)return;super.readKeyframes();for(let h=0;h<t.length;h++){let g=t[h];if(typeof g=="string"&&(g=g.trim(),Ei(g))){let x=_v(g,a.current);x!==void 0&&(t[h]=x),h===t.length-1&&(this.finalKeyframe=g)}}if(this.resolveNoneKeyframes(),!bf.has(r)||t.length!==2)return;let[n,i]=t,l=Iv(n),d=Iv(i),c=ov(n),p=ov(i);if(c!==p&&zr[r]){this.needsMeasurement=!0;return}if(l!==d)if(gv(l)&&gv(d))for(let h=0;h<t.length;h++){let g=t[h];typeof g=="string"&&(t[h]=parseFloat(g))}else zr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:a}=this,r=[];for(let n=0;n<t.length;n++)(t[n]===null||H_(t[n]))&&r.push(n);r.length&&q_(t,r,a)}measureInitialState(){let{element:t,unresolvedKeyframes:a,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=zr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),a[0]=this.measuredOrigin;let n=a[a.length-1];n!==void 0&&t.getValue(r,n).jump(n,!1)}measureEndState(){let{element:t,name:a,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let n=t.getValue(a);n&&n.jump(this.measuredOrigin,!1);let i=r.length-1,l=r[i];r[i]=zr[a](t.measureViewportBox(),window.getComputedStyle(t.current)),l!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=l),this.removedTransforms?.length&&this.removedTransforms.forEac
11h(([d,c])=>{t.getValue(d).set(c)}),this.resolveNoneKeyframes()}};function Rf(e,t,a){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;t&&(r=t.current);let n=a?.[e]??r.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e).filter(r=>r!=null)}var Ef=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function vn(e){return Ol(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}var{schedule:xn,cancel:CM}=Jc(queueMicrotask,!1);var ya={x:!1,y:!1};function Tf(){return ya.x||ya.y}function Rv(e){return e==="x"||e==="y"?ya[e]?null:(ya[e]=!0,()=>{ya[e]=!1}):ya.x||ya.y?null:(ya.x=ya.y=!0,()=>{ya.x=ya.y=!1})}function Af(e,t){let a=Rf(e),r=new AbortController,n={passive:!0,...t,signal:r.signal};return[a,n,()=>r.abort()]}function kM(e){return!(e.pointerType==="touch"||Tf())}function Ev(e,t,a={}){let[r,n,i]=Af(e,a);return r.forEach(l=>{let d=!1,c=!1,p,h=()=>{l.removeEventListener("pointerleave",_)},g=R=>{p&&(p(R),p=void 0),h()},x=R=>{d=!1,window.removeEventListener("pointerup",x),window.removeEventListener("pointercancel",x),c&&(c=!1,g(R))},b=()=>{d=!0,window.addEventListener("pointerup",x,n),window.addEventListener("pointercancel",x,n)},_=R=>{if(R.pointerType!=="touch"){if(d){c=!0;return}g(R)}},C=R=>{if(!kM(R))return;c=!1;let v=t(l,R);typeof v=="function"&&(p=v,l.addEventListener("pointerleave",_,n))};l.addEventListener("pointerenter",C,n),l.addEventListener("pointerdown",b,n)}),i}var Tv=(e,t)=>
11t?e===t?!0:Tv(e,t.parentElement):!1;var wn=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;var IM=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Av(e){return IM.has(e.tagName)||e.isContentEditable===!0}var PM=new Set(["INPUT","SELECT","TEXTAREA"]);function Mv(e){return PM.has(e.tagName)||e.isContentEditable===!0}var Ui=new WeakSet;function W_(e){return t=>{t.key==="Enter"&&e(t)}}function Dv(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}var G_=(e,t)=>{let a=e.currentTarget;if(!a)return;let r=W_(()=>{if(Ui.has(a))return;Dv(a,"down");let n=W_(()=>{Dv(a,"up")}),i=()=>Dv(a,"cancel");a.addEventListener("keyup",n,t),a.addEventListener("blur",i,t)});a.addEventListener("keydown",r,t),a.addEventListener("blur",()=>a.removeEventListener("keydown",r),t)};function Z_(e){return wn(e)&&!Tf()}var $_=new WeakSet;function Fv(e,t,a={}){let[r,n,i]=Af(e,a),l=d=>{let c=d.currentTarget;if(!Z_(d)||$_.has(d))return;Ui.add(c),a.stopPropagation&&$_.add(d);let p=t(c,d),h=(b,_)=>{window.removeEventListener("pointerup",g),window.removeEventListener("pointercancel",x),Ui.has(c)&&Ui.delete(c),Z_(b)&&typeof p=="function"&&p(b,{success:_})},g=b=>{h(b,c===window||c===document||a.useGlobalTarget||Tv(c,b.target))},x=b=>{h(b,!1)};window.addEventListener("pointerup",g,n),window.addEventListener("pointercancel",x,n)};return r.forEach(d=>{(a.useGlobalTarget?window:d).addEventListener("pointerdown",l,n),vn(d)&&(d.addEventListener("focus",p=>G_(p,n)),!Av(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),i}function Hi(e){return Ol(e)&&"ownerSVGElement"in e}var Mf=new WeakMap,Df,X_=(e,t,a)=>(r,n)=>n&&n[0]?n[0][e+"Size"]:Hi(r)&&"getBBox"in r?r.getBBox()[t]:r[a],RM=X_("inline","width","offsetWidth"),EM=X_("block","height","offsetHeight");function TM({target:e,borderBoxSize:t}){Mf.get(e)?.forEach(a=>{a(e,{get width(){return RM(e,t)},get height(){return EM(e,t)}})})}function AM(e){e.forEach(TM)}function MM(){typeof ResizeObserver>"u"||(Df=new ResizeObserver(AM))}function K_(e,t){Df||MM();let a=Rf(e);return a.forEach(r=>{let n=Mf.get(r);n||(n=new Set,Mf.set(r,n)),n.add(t),Df?.observe(r)}),()=>{a.forEach(r=>{let n=Mf.get(r);n?.delete(t),n?.size||Df?.unobserve(r)})}}var Ff=new Set,ji;function DM(){ji=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ff.forEach(t=>t(e))},window.addEventListener("resize",ji)}function Y_(e){return Ff.add(e),ji||DM(),()=>{Ff.delete(e),!Ff.size&&typeof ji=="function"&&(window.removeEventListener("resize",ji),ji=void 0)}}function Bf(e,t){return typeof e=="function"?Y_(e):K_(e,t)}function J_(e){return Hi(e)&&e.tagName==="svg"}var FM=[...kv,Oe,ut],Q_=e=>FM.find(Cf(e));var Bv=()=>({translate:0,scale:1,origin:0,originPoint:0}),Po=()=>({x:Bv(),y:Bv()}),Ov=()=>({min:0,max:0}),Ne=()=>({x:Ov(),y:Ov()});var eC=new WeakMap;function Vr(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function fr(e){return typeof e=="string"||Array.isArray(e)}var Of=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],nu=["initial",...Of];function Ro(e){return Vr(e.animate)||nu.some(t=>fr(e[t]))}function iu(e){return!!(Ro(e)||e.variants)}function tC(e,t,a){for(let r in t){let n=t[r],i=a[r];if(ke(n))e.addValue(r,n);else if(ke(i))e.addValue(r,Ua(n,{owner:e}));else if(i!==n)if(e.hasValue(r)){let l=e.getValue(r);l.liveStyle===!0?l.jump(n):l.hasAnimated||l.set(n)}else{let l=e.getStaticValue(r);e.addValue(r,Ua(l!==void 0?l:n,{owner:e}))}}for(let r in a)t[r]===void 0&&e.removeValue(r);return t}var su={current:null},Nf={current:!1};var BM=typeof window<"u";function aC(){if(Nf.current=!0,!!BM)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>su.current=e.matches;e.addEventListener("change",t),t()}else su.current=!1}var rC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],zf={};function uu(e){zf=e}function Nv(){return zf}var lu=class{scrapeMotionValuesFromProps(t,a,r){return{}}constructor({parent:t,props:a,presenceContext:r,reducedMotionConfig:n,skipAnimations:i,blockInitialAnimation:l,visualState:d},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Io,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let b=qe.now();this.renderScheduledAt<b&&(this.renderScheduledAt=b,se.render(this.render,!1,!0))};let{latestValues:p,renderState:h}=d;this.latestValues=p,this.baseTarget={...p},this.initialValues=a.initial?{...p}:{},this.renderState=h,this.parent=t,this.props=a,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=i,this.options=c,this.blockInitialAnimation=!!l,this.isControllingVariants=Ro(a),this.isVariantNode=iu(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:g,...x}=this.scrapeMotionValuesFromProps(a,{},this);for(let b in x){let _=x[b];p[b]!==void 0&&ke(_)&&_.set(p[b])}}mount(t){if(this.hasBeenMounted)for(let a in this.initialValues)this.values.get(a)?.jump(this.initialValues[a]),this.latestValues[a]=this.initialValues[a];this.current=t,eC.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
11h((a,r)=>this.bindToMotionValue(r,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Nf.current||aC(),this.shouldReduceMotion=su.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Gt(this.notifyUpdate),Gt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let t in this.events)this.events[t].clear();for(let t in this.features){let a=this.features[t];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,a){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),a.accelerate&&vf.has(t)&&this.current instanceof HTMLElement){let{factory:l,keyframes:d,times:c,ease:p,duration:h}=a.accelerate,g=new Bi({element:this.current,name:t,keyframes:d,times:c,ease:p,duration:Je(h)}),x=l(g);this.valueSubscriptions.set(t,()=>{x(),g.cancel()});return}let r=wa.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=a.on("change",l=>{this.latestValues[t]=l,this.props.onUpdate&&se.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,a)),this.valueSubscriptions.set(t,()=>{n(),i&&i(),a.owner&&a.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in zf){let a=zf[t];if(!a)continue;let{isEnabled:r,Feature:n}=a;if(!this.features[t]&&n&&r(this.props)&&(this.features[t]=new n(this)),this.features[t]){let i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ne()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,a){this.latestValues[t]=a}update(t,a){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let r=0;r<rC.length;r++){let n=rC[r];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let i="on"+n,l=t[i];l&&(this.propEventSubscriptions[n]=this.on(n,l))}this.prevMotionValues=tC(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(t),()=>a.variantChildren.delete(t)}addValue(t,a){let r=this.values.get(t);a!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,a),this.values.set(t,a),this.latestValues[t]=a.get())}removeValue(t){this.values.delete(t);let a=this.valueSubscriptions.get(t);a&&(a(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,a){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&a!==void 0&&(r=Ua(a===null?void 0:a,{owner:this}),this.addValue(t,r)),r}readValue(t,a){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Bl(r)||Nl(r))?r=parseFloat(r):!Q_(r)&&ut.test(a)&&(r=If(t,a)),this.setBaseTarget(t,ke(r)?r.get():r)),ke(r)?r.get():r}setBaseTarget(t,a){this.baseTarget[t]=a}getBaseTarget(t){let{initial:a}=this.props,r;
11if(typeof a=="string"||typeof a=="object"){let i=gn(this.props,a,this.presenceContext?.custom);i&&(r=i[t])}if(a&&r!==void 0)return r;let n=this.getBaseTargetFromProps(this.props,t);return n!==void 0&&!ke(n)?n:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,a){return this.events[t]||(this.events[t]=new Br),this.events[t].add(a)}notify(t,...a){this.events[t]&&this.events[t].notify(...a)}scheduleRenderMicrotask(){xn.render(this.render)}};var qi=class extends lu{constructor(){super(...arguments),this.KeyframeResolver=Pf}sortInstanceNodePosition(t,a){return t.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(t,a){let r=t.style;return r?r[a]:void 0}removeValueFromRenderState(t,{vars:a,style:r}){delete a[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;ke(t)&&(this.childSubscription=t.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}};var dt=class{constructor(t){this.isMounted=!1,this.node=t}update(){}};function du({top:e,left:t,right:a,bottom:r}){return{x:{min:t,max:a},y:{min:e,max:r}}}function zv({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Vv(e,t){if(!t)return e;let a=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:r.y,right:r.x}}function Uv(e){return e===void 0||e===1}function Vf({scale:e,scaleX:t,scaleY:a}){return!Uv(e)||!Uv(t)||!Uv(a)}function Ur(e){return Vf(e)||Hv(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Hv(e){return oC(e.x)||oC(e.y)}function oC(e){return e&&e!=="0%"}function cu(e,t,a){let r=e-a,n=t*r;return a+n}function nC(e,t,a,r,n){return n!==void 0&&(e=cu(e,n,r)),cu(e,a,r)+t}function jv(e,t=0,a=1,r,n){e.min=nC(e.min,t,a,r,n),e.max=nC(e.max,t,a,r,n)}function qv(e,{x:t,y:a}){jv(e.x,t.translate,t.scale,t.originPoint),jv(e.y,a.translate,a.scale,a.originPoint)}var iC=.999999999999,sC=1.0000000000001;function dC(e,t,a,r=!1){let n=a.length;if(!n)return;t.x=t.y=1;let i,l;for(let d=0;d<n;d++){i=a[d],l=i.projectionDelta;let{visualElement:c}=i.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(ba(e.x,-i.scroll.offset.x),ba(e.y,-i.scroll.offset.y)),l&&(t.x*=l.x.scale,t.y*=l.y.scale,qv(e,l)),r&&Ur(i.latestValues)&&fu(e,i.latestValues,i.layout?.layoutBox))}t.x<sC&&t.x>iC&&(t.x=1),t.y<sC&&t.y>iC&&(t.y=1)}function ba(e,t){e.min+=t,e.max+=t}function lC(e,t,a,r,n=.5){let i=me(e.min,e.max,n);jv(e,t,a,i,r)}function uC(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function fu(e,t,a){let r=a??e;lC(e.x,uC(t.x,r.x),t.scaleX,t.scale,t.originX),lC(e.y,uC(t.y,r.y),t.scaleY,t.scale,t.originY)}function Uf(e,t){return du(Vv(e.getBoundingClientRect(),t))}function Wv(e,t,a){let r=Uf(e,a),{scroll:n}=t;return n&&(ba(r.x,n.offset.x),ba(r.y,n.offset.y)),r}var OM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},NM=cr.length;function cC(e,t,a){let r="",n=!0;for(let i=0;i<NM;i++){let l=cr[i],d=e[l];if(d===void 0)continue;let c=!0;if(typeof d=="number")c=d===(l.startsWith("scale")?1:0);else{let p=parseFloat(d);c=l.startsWith("scale")?p===1:p===0}if(!c||a){let p=Ef(d,Vi[l]);if(!c){n=!1;let h=OM[l]||l;r+=`${h}(${p}) `}a&&(t[l]=p)}}return r=r.trim(),a?r=a(t,n?"":r):n&&(r="none"),r}function yn(e,t,a){let{style:r,vars:n,transformOrigin:i}=e,l=!1,d=!1;for(let c in t){let p=t[c];if(wa.has(c)){l=!0;continue}else if(ef(c)){n[c]=p;continue}else{let h=Ef(p,Vi[c]);c.startsWith("origin")?(d=!0,i[c]=h):r[c]=h}}if(t.transform||(l||a?r.transform=cC(t,e.transform,a):r.transform&&(r.transform="none")),d){let{originX:c="50%",originY:p="50%",originZ:h=0}=i;r.transformOrigin=`${c} ${p} ${h}`}}function Hf(e,{style:t,vars:a},r,n){let i=e.style,l;for(l in t)i[l]=t[l];n?.applyProjectionStyles(i,r);for(l in a)i.setProperty(l,a[l])}function fC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Wi={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(q.test(e))e=parseFloat(e);else return e;let a=fC(e,t.target.x),r=fC(e,t.target.y);return`${a}% ${r}%`}};var pC={correct:(e,{treeScale:t,projectionDelta:a})=>{let r=e,n=ut.parse(e);if(n.length>5)return r;let i=ut.createTransformer(e),l=typeof n[0]!="number"?1:0,d=a.x.scale*t.x,c=a.y.scale*t.y;n[0+l]/=d,n[1+l]/=c;let p=me(d,c,.5);return typeof n[2+l]=="number"&&(n[2+l]/=p),typeof n[3+l]=="number"&&(n[3+l]/=p),i(n)}};var pu={borderRadius:{...Wi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Wi,borderTopRightRadius:Wi,borderBottomLeftRadius:Wi,borderBottomRightRadius:Wi,boxShadow:pC};function hu(e,{layout:t,layoutId:a}){return wa.has(e)||e.startsWith("origin")||(t||a!==void 0)&&(!!pu[e]||e==="opacity")}function bn(e,t,a){let r=e.style,n=t?.style,i={};if(!r)return i;for(let l in r)(ke(r[l])||n&&ke(n[l])||hu(l,e)||a?.getValue(l)?.liveStyle!==void 0)&&(i[l]=r[l]);return i}function zM(e){return window.getComputedStyle(e)}var mu=class extends qi{constructor(){super(...arguments),this.type="html",this.renderInstance=Hf}readValueFromInstance(t,a){if(wa.has(a))return this.projection?.isProjecting?df(
11a):v_(t,a);{let r=zM(t),n=(ef(a)?r.getPropertyValue(a):r[a])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:a}){return Uf(t,a)}build(t,a,r){yn(t,a,r.transformTemplate)}scrapeMotionValuesFromProps(t,a,r){return bn(t,a,r)}};var VM={offset:"stroke-dashoffset",array:"stroke-dasharray"},UM={offset:"strokeDashoffset",array:"strokeDasharray"};function hC(e,t,a=1,r=0,n=!0){e.pathLength=1;let i=n?VM:UM;e[i.offset]=`${-r}`,e[i.array]=`${t} ${a}`}var HM=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function gu(e,{attrX:t,attrY:a,attrScale:r,pathLength:n,pathSpacing:i=1,pathOffset:l=0,...d},c,p,h){if(yn(e,d,p),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:g,style:x}=e;g.transform&&(x.transform=g.transform,delete g.transform),(x.transform||g.transformOrigin)&&(x.transformOrigin=g.transformOrigin??"50% 50%",delete g.transformOrigin),x.transform&&(x.transformBox=h?.transformBox??"fill-box",delete g.transformBox);for(let b of HM)g[b]!==void 0&&(x[b]=g[b],delete g[b]);t!==void 0&&(g.x=t),a!==void 0&&(g.y=a),r!==void 0&&(g.scale=r),n!==void 0&&hC(g,n,i,l,!1)}var jf=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"]);var vu=e=>typeof e=="string"&&e.toLowerCase()==="svg";function mC(e,t,a,r){Hf(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(jf.has(n)?n:zi(n),t.attrs[n])}function xu(e,t,a){let r=bn(e,t,a);for(let n in e)if(ke(e[n])||ke(t[n])){let i=cr.indexOf(n)!==-1?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n;r[i]=e[n]}return r}var wu=class extends qi{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ne}getBaseTargetFromProps(t,a){return t[a]}readValueFromInstance(t,a){if(wa.has(a)){let r=kf(a);return r&&r.default||0}return a=jf.has(a)?a:zi(a),t.getAttribute(a)}scrapeMotionValuesFromProps(t,a,r){return xu(t,a,r)}build(t,a,r){gu(t,a,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,a,r,n){mC(t,a,r,n)}mount(t){this.isSVGTag=vu(t.tagName),super.mount(t)}};var jM=nu.length;function Gv(e){if(!e)return;if(!e.isControllingVariants){let a=e.parent?Gv(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}let t={};for(let a=0;a<jM;a++){let r=nu[a],n=e.props[r];(fr(n)||n===!1)&&(t[r]=n)}return t}function Zv(e,t){if(!Array.isArray(t))return!1;let a=t.length;if(a!==e.length)return!1;for(let r=0;r<a;r++)if(t[r]!==e[r])return!1;return!0}var qM=[...Of].reverse(),WM=Of.length;function GM(e){return t=>Promise.all(t.map(({animation:a,options:r})=>V_(e,a,r)))}function $v(e){let t=GM(e),a=gC(),r=!0,n=!1,i=p=>(h,g)=>{let x=ra(e,g,p==="exit"?e.presenceContext?.custom:void 0);if(x){let{transition:b,transitionEnd:_,...C}=x;h={...h,...C,..._}}return h};function l(p){t=p(e)}function d(p){let{props:h}=e,g=Gv(e.parent)||{},x=[],b=new Set,_={},C=1/0;for(let v=0;v<WM;v++){let w=qM[v],S=a[w],k=h[w]!==void 0?h[w]:g[w],A=fr(k),O=w===p?S.isActive:null;O===!1&&(C=v);let B=k===g[w]&&k!==h[w]&&A;if(B&&(r||n)&&e.manuallyAnimateOnMount&&(B=!1),S.protectedKeys={..._},!S.isActive&&O===null||!k&&!S.prevProp||Vr(k)||typeof k=="boolean")continue;if(w==="exit"&&S.isActive&&O!==!0){S.prevResolvedValues&&(_={..._,...S.prevResolvedValues});continue}let F=vC(S.prevProp,k),V=F||w===p&&S.isActive&&!B&&A||v>C&&A,D=!1,K=Array.isArray(k)?k:[k],X=K.reduce(i(w),{});O===!1&&(X={});let{prevResolvedValues:oe={}}=S,Q={...oe,...X},ye=H=>{V=!0,b.has(H)&&(D=!0,b.delete(H)),S.needsAnimating[H]=!0;let Y=e.getValue(H);Y&&(Y.liveStyle=!1)};for(let H in Q){let Y=X[H],Ie=oe[H];if(_.hasOwnProperty(H))continue;let de=!1;tu(Y)&&tu(Ie)?de=!Zv(Y,Ie):de=Y!==Ie,de?Y!=null?ye(H):b.add(H):Y!==void 0&&b.has(H)?ye(H):S.protectedKeys[H]=!0}S.prevProp=k,S.prevResolvedValues=X,S.isActive&&(_={..._,...X}),(r||n)&&e.blockInitialAnimation&&(V=!1);let $=B&&F;V&&(!$||D)&&x.push(...K.map(H=>{let Y={type:w};if(typeof H=="string"&&(r||n)&&!$&&e.manuallyAnimateOnMount&&e.parent){let{parent:Ie}=e,de=ra(Ie,H);if(Ie.enteringChildren&&de){let{delayChildren:ce}=de.transition||{};Y.delay=wf(Ie.enteringChildren,e,ce)}}return{animation:H,options:Y}}))}if(b.size){let v={};if(typeof h.initial!="boolean"){let w=ra(e,Array.isArray(h.initial)?h.initial[0]:h.initial);w&&w.transition&&(v.transition=w.transition)}b.forEach(w=>{let S=e.getBaseTarget(w),k=e.getValue(w);k&&(k.liveStyle=!0),v[w]=S??null}),x.push({animation:v})}let R=!!x.length;return r&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(R=!1),r=!1,n=!1,R?t(x):Promise.resolve()}function c(p,h){if(a[p].isActive===h)return Promise.resolve();e.variantChildren?.forEach(x=>x.animationState?.setActive(p,h)),a[p].isActive=h;let g=d(p);for(let x in a)a[x].protectedKeys={};return g}
vendor: 4,144 bytes, line 11
11return{animateChanges:d,setActive:c,setAnimateFunction:l,getState:()=>a,reset:()=>{a=gC(),n=!0}}}function vC(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Zv(t,e):!1}function Ln(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function gC(){return{animate:Ln(!0),whileInView:Ln(),whileHover:Ln(),whileTap:Ln(),whileDrag:Ln(),whileFocus:Ln(),exit:Ln()}}function qf(e,t){e.min=t.min,e.max=t.max}function La(e,t){qf(e.x,t.x),qf(e.y,t.y)}function Xv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var xC=1e-4,ZM=1-xC,$M=1+xC,wC=.01,XM=0-wC,KM=0+wC;function rt(e){return e.max-e.min}function Qv(e,t,a){return Math.abs(e-t)<=a}function Kv(e,t,a,r=.5){e.origin=r,e.originPoint=me(t.min,t.max,e.origin),e.scale=rt(a)/rt(t),e.translate=me(a.min,a.max,e.origin)-e.originPoint,(e.scale>=ZM&&e.scale<=$M||isNaN(e.scale))&&(e.scale=1),(e.translate>=XM&&e.translate<=KM||isNaN(e.translate))&&(e.translate=0)}function Sn(e,t,a,r){Kv(e.x,t.x,a.x,r?r.originX:void 0),Kv(e.y,t.y,a.y,r?r.originY:void 0)}function Yv(e,t,a,r=0){let n=r?me(a.min,a.max,r):a.min;e.min=n+t.min,e.max=e.min+rt(t)}function ex(e,t,a,r){Yv(e.x,t.x,a.x,r?.x),Yv(e.y,t.y,a.y,r?.y)}function Jv(e,t,a,r=0){let n=r?me(a.min,a.max,r):a.min;e.min=t.min-n,e.max=e.min+rt(t)}function Gi(e,t,a,r){Jv(e.x,t.x,a.x,r?.x),Jv(e.y,t.y,a.y,r?.y)}function yC(e,t,a,r,n){return e-=t,e=cu(e,1/a,r),n!==void 0&&(e=cu(e,1/n,r)),e}function YM(e,t=0,a=1,r=.5,n,i=e,l=e){if(Pt.test(t)&&(t=parseFloat(t),t=me(l.min,l.max,t/100)-l.min),typeof t!="number")return;let d=me(i.min,i.max,r);e===i&&(d-=t),e.min=yC(e.min,t,a,d,n),e.max=yC(e.max,t,a,d,n)}function bC(e,t,[a,r,n],i,l){YM(e,t[a],t[r],t[n],t.scale,i,l)}var JM=["x","scaleX","originX"],QM=["y","scaleY","originY"];function tx(e,t,a,r){bC(e.x,t,JM,a?a.x:void 0,r?r.x:void 0),bC(e.y,t,QM,a?a.y:void 0,r?r.y:void 0)}function LC(e){return e.translate===0&&e.scale===1}function ax(e){return LC(e.x)&&LC(e.y)}function SC(e,t){return e.min===t.min&&e.max===t.max}function CC(e,t){return SC(e.x,t.x)&&SC(e.y,t.y)}function _C(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function rx(e,t){return _C(e.x,t.x)&&_C(e.y,t.y)}function ox(e){return rt(e.x)/rt(e.y)}function nx(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function oa(e){return[e("x"),e("y")]}function kC(e,t,a){let r="",n=e.x.translate/t.x,i=e.y.translate/t.y,l=a?.z||0;if((n||i||l)&&(r=`translate3d(${n}px, ${i}px, ${l}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),a){let{transformPerspective:p,rotate:h,rotateX:g,rotateY:x,skewX:b,skewY:_}=a;p&&(r=`perspective(${p}px) ${r}`),h&&(r+=`rotate(${h}deg) `),g&&(r+=`rotateX(${g}deg) `),x&&(r+=`rotateY(${x}deg) `),b&&(r+=`skewX(${b}deg) `),_&&(r+=`skewY(${_}deg) `)}let d=e.x.scale*t.x,c=e.y.scale*t.y;return(d!==1||c!==1)&&(r+=`scale(${d}, ${c})`),r||"none"}var EC=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],eD=EC.length,IC=e=>typeof e=="string"?parseFloat(e):e,PC=e=>typeof e=="number"||q.test(e);function TC(e,t,a,r,n,i){n?(e.opacity=me(0,a.opacity??1,tD(r)),e.opacityExit=me(t.opacity??1,0,aD(r))):i&&(e.opacity=me(t.opacity??1,a.opacity??1,r));for(let l=0;l<eD;l++){let d=EC[l],c=RC(t,d),p=RC(a,d);if(c===void 0&&p===void 0)continue;c||(c=0),p||(p=0),c===0||p===0||PC(c)===PC(p)?(e[d]=Math.max(me(IC(c),IC(p),r),0),(Pt.test(p)||Pt.test(c))&&(e[d]+="%")):e[d]=p}(t.rotate||a.rotate)&&(e.rotate=me(t.rotate||0,a.rotate||0,r))}function RC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}var tD=AC(0,.5,ql),aD=AC(.5,.95,je);function AC(e,t,a){return r=>r<e?0:r>t?1:a(sr(e,t,r))}function MC(e,t,a){let r=ke(e)?e:Ua(e);return r.start(mn("",r,t,a)),r.animation}function pr(e,t,a,r={passive:!0}){return e.addEventListener(t,a,r),()=>e.removeEventListener(t,a)}var DC=(e,t)=>e.depth-t.depth;var Wf=class{constructor(){this.children=[],this.isDirty=!1}add(t){dn(this.children,t),this.isDirty=!0}remove(t){yo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(DC),this.isDirty=!1,this.children.forEac
11h(t)}};function FC(e,t){let a=qe.now(),r=({timestamp:n})=>{let i=n-a;i>=t&&(Gt(r),e(i-t))};return se.setup(r,!0),()=>Gt(r)}function _n(e){return ke(e)?e.get():e}var Gf=class{constructor(){this.members=[]}add(t){dn(this.members,t);for(let a=this.members.length-1;a>=0;a--){let r=this.members[a];if(r===t||r===this.lead||r===this.prevLead)continue;let n=r.instance;(!n||n.isConnected===!1)&&!r.snapshot&&(yo(this.members,r),r.unmount())}t.scheduleRender()}remove(t){if(yo(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(t){for(let a=this.members.indexOf(t)-1;a>=0;a--){let r=this.members[a];if(r.isPresent!==!1&&r.instance?.isConnected!==!1)return this.promote(r),!0}return!1}promote(t,a){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=r.options,{layoutDependency:i}=t.options;(n===void 0||n!==i)&&(t.resumeFrom=r,a&&(r.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}};var Cn={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var kn={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ix=["","X","Y","Z"],rD=1e3,oD=0;function sx(e,t,a,r){let{latestValues:n}=t;n[e]&&(a[e]=n[e],t.setStaticValue(e,0),r&&(r[e]=0))}function qC(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let a=Lf(t);if(window.MotionHasOptimisedAnimation(a,"transform")){let{layout:n,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",se,!(n||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&qC(r)}function Zf({attachResizeListener:e,defaultParent:t,measureScroll:a,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(l={},d=t?.()){this.id=oD++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,aa.value&&(kn.nodes=kn.calculatedTargetDeltas=kn.calculatedProjections=0),this.nodes.forEach(sD),this.nodes.forEach(pD),this.nodes.forEach(hD),this.nodes.forEach(lD),aa.addProjectionMetrics&&aa.addProjectionMetrics(kn)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=l,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new Wf)}addEventListener(l,d){return this.eventHandlers.has(l)||this.eventHandlers.set(l,new Br),this.eventHandlers.get(l).add(d)}notifyListeners(l,...d){let c=this.eventHandlers.get(l);c&&c.notify(...d)}hasListeners(l){return this.eventHandlers.has(l)}mount(l){if(this.instance)return;this.isSVG=Hi(l)&&!J_(l),this.instance=l;let{layoutId:d,layout:c,visualElement:p}=this.options;if(p&&!p.current&&p.mount(l),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||d)&&(this.isLayoutDirty=!0),e){let h,g=0,x=()=>this.root.updateBlockedByResize=!1;se.read(()=>{g=window.innerWidth}),e(l,()=>{let b=window.innerWidth;b!==g&&(g=b,this.root.updateBlockedByResize=!0,h&&h(),h=FC(x,250),Cn.hasAnimatedSinceResize&&(Cn.hasAnimatedSinceResize=!1,this.nodes.forEac
11h(NC)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&p&&(d||c)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:g,hasRelativeLayoutChanged:x,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let _=this.options.transition||p.getDefaultTransition()||wD,{onLayoutAnimationStart:C,onLayoutAnimationComplete:R}=p.getProps(),v=!this.targetLayout||!rx(this.targetLayout,b),w=!g&&x;if(this.options.layoutRoot||this.resumeFrom||w||g&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let S={...Oi(_,"layout"),onPlay:C,onComplete:R};(p.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S),this.setAnimationOrigin(h,w)}else g||NC(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let l=this.getStack();l&&l.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Gt(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(mD),this.animationId++)}getTransformTemplate(){let{visualElement:l}=this.options;return l&&l.getProps().transformTemplate}willUpdate(l=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&qC(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let h=0;h<this.path.length;h++){let g=this.path[h];g.shouldResetTransform=!0,(typeof g.latestValues.x=="string"||typeof g.latestValues.y=="string")&&(g.isLayoutDirty=!0),g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}let{layoutId:d,layout:c}=this.options;if(d===void 0&&!c)return;let p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),l&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let c=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),c&&this.nodes.forEach(dD),this.nodes.forEach(BC);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(OC);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(cD),this.nodes.forEach(fD),this.nodes.forEach(nD),this.nodes.forEach(iD)):this.nodes.forEach(OC),this.clearAllSnapshots();let d=qe.now();$e.delta=lt(0,1e3/60,d-$e.timestamp),$e.timestamp=d,$e.isProcessing=!0,Xl.update.process($e),Xl.preRender.process($e),Xl.render.process($e),$e.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,xn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(uD),this.sharedNodes.forEach(gD)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,se.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){se.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!rt(this.snapshot.measuredBox.x)&&!rt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();let l=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Ne()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,l?l.layoutBox:void 0)}updateScroll(l="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===l&&(d=!1),d&&this.instance){let c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:l,isRoot:c,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!n)return;let l=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!ax(this.projectionDelta),c=this.getTransformTemplate(),p=c?c(this.latestValues,""):void 0,h=p!==this.prevTransformTemplateValue;l&&this.instance&&(d||Ur(this.latestValues)||h)&&(n(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(l=!0){let d=this.measurePageBox(),c=this.removeElementScroll(d);return l&&(c=this.removeTransform(c)),yD(c),{animationId:this.root.animationId,measuredBox:d,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:l}=this.options;if(!l)return Ne();let d=l.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(bD))){let{scroll:p}=this.root;p&&(ba(d.x,p.offset.x),ba(d.y,p.offset.y))}return d}removeElementScroll(l){let d=Ne();if(La(d,l),this.scroll?.wasRoot)return d;for(let c=0;c<this.path.length;c++){let p=this.path[c],{scroll:h,options:g}=p;p!==this.root&&h&&g.layoutScroll&&(h.wasRoot&&La(d,l),ba(d.x,h.offset.x),ba(d.y,h.offset.y))}return d}
11applyTransform(l,d=!1,c){let p=c||Ne();La(p,l);for(let h=0;h<this.path.length;h++){let g=this.path[h];!d&&g.options.layoutScroll&&g.scroll&&g!==g.root&&(ba(p.x,-g.scroll.offset.x),ba(p.y,-g.scroll.offset.y)),Ur(g.latestValues)&&fu(p,g.latestValues,g.layout?.layoutBox)}return Ur(this.latestValues)&&fu(p,this.latestValues,this.layout?.layoutBox),p}removeTransform(l){let d=Ne();La(d,l);for(let c=0;c<this.path.length;c++){let p=this.path[c];if(!Ur(p.latestValues))continue;let h;p.instance&&(Vf(p.latestValues)&&p.updateSnapshot(),h=Ne(),La(h,p.measurePageBox())),tx(d,p.latestValues,p.snapshot?.layoutBox,h)}return Ur(this.latestValues)&&tx(d,this.latestValues),d}setTargetDelta(l){this.targetDelta=l,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(l){this.options={...this.options,...l,crossfade:l.crossfade!==void 0?l.crossfade:!0}}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!==$e.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(l=!1){let d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);let c=!!this.resumingFrom||this!==d;if(!(l||c&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:h,layoutId:g}=this.options;if(!this.layout||!(h||g))return;this.resolvedRelativeTargetAt=$e.timestamp;let x=this.getClosestProjectingParent();x&&this.linkedParentVersion!==x.layoutVersion&&!x.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&x&&x.layout?this.createRelativeTarget(x,this.layout.layoutBox,x.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ne(),this.targetWithTransforms=Ne()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ex(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):La(this.target,this.layout.layoutBox),qv(this.target,this.targetDelta)):La(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&x&&!!x.resumingFrom==!!this.resumingFrom&&!x.options.layoutScroll&&x.target&&this.animationProgress!==1?this.createRelativeTarget(x,this.target,x.target):this.relativeParent=this.relativeTarget=void 0),aa.value&&kn.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Vf(this.parent.latestValues)||Hv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(l,d,c){this.relativeParent=l,this.linkedParentVersion=l.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ne(),this.relativeTargetOrigin=Ne(),Gi(this.relativeTargetOrigin,d,c,this.options.layoutAnchor||void 0),La(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let l=this.getLead(),d=!!this.resumingFrom||this!==l,c=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(c=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===$e.timestamp&&(c=!1),c)return;let{layout:p,layoutId:h}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||h))return;La(this.layoutCorrected,this.layout.layoutBox);let g=this.treeScale.x,x=this.treeScale.y;dC(this.layoutCorrected,this.treeScale,this.path,d),l.layout&&!l.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(l.target=l.layout.layoutBox,l.targetWithTransforms=Ne());let{target:b}=l;if(!b){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Xv(this.prevProjectionDelta.x,this.projectionDelta.x),Xv(this.prevProjectionDelta.y,this.projectionDelta.y)),Sn(this.projectionDelta,this.layoutCorrected,b,this.latestValues),(this.treeScale.x!==g||this.treeScale.y!==x||!nx(this.projectionDelta.x,this.prevProjectionDelta.x)||!nx(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),aa.value&&kn.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(l=!0){if(this.options.visualElement?.scheduleRender(),l){let d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Po(),this.projectionDelta=Po(),this.projectionDeltaWithTransform=Po()}setAnimationOrigin(l,d=!1){let c=this.snapshot,p=c?c.latestValues:{},h={...this.latestValues},g=Po();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;let x=Ne(),b=c?c.source:void 0,_=this.layout?this.layout.source:void 0,C=b!==_,R=this.getStack(),v=!R||R.members.length<=1,w=!!(C&&!v&&this.options.crossfade===!0&&!this.path.some(xD));this.animationProgress=0;let S;this.mixTargetDelta=k=>{let A=k/1e3;zC(g.x,l.x,A),zC(g.y,l.y,A),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Gi(x,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),vD(this.relativeTarget,this.relativeTargetOrigin,x,A),S&&CC(this.relativeTarget,S)&&(this.isProjectionDirty=!1),S||(S=Ne()),La(S,this.relativeTarget)),C&&
11(this.animationValues=h,TC(h,p,this.latestValues,A,w,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=A},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(l){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Gt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=se.update(()=>{Cn.hasAnimatedSinceResize=!0,lr.layout++,this.motionValue||(this.motionValue=Ua(0)),this.motionValue.jump(0,!1),this.currentAnimation=MC(this.motionValue,[0,1e3],{...l,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),l.onUpdate&&l.onUpdate(d)},onStop:()=>{lr.layout--},onComplete:()=>{lr.layout--,l.onComplete&&l.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 l=this.getStack();l&&l.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(rD),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let l=this.getLead(),{targetWithTransforms:d,target:c,layout:p,latestValues:h}=l;if(!(!d||!c||!p)){if(this!==l&&this.layout&&p&&WC(this.options.animationType,this.layout.layoutBox,p.layoutBox)){c=this.target||Ne();let g=rt(this.layout.layoutBox.x);c.x.min=l.target.x.min,c.x.max=c.x.min+g;let x=rt(this.layout.layoutBox.y);c.y.min=l.target.y.min,c.y.max=c.y.min+x}La(d,c),fu(d,h),Sn(this.projectionDeltaWithTransform,this.layoutCorrected,d,h)}}registerSharedNode(l,d){this.sharedNodes.has(l)||this.sharedNodes.set(l,new Gf),this.sharedNodes.get(l).add(d);let p=d.options.initialPromotionConfig;d.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(d):void 0})}isLead(){let l=this.getStack();return l?l.lead===this:!0}getLead(){let{layoutId:l}=this.options;return l?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:l}=this.options;return l?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:l}=this.options;if(l)return this.root.sharedNodes.get(l)}promote({needsReset:l,transition:d,preserveFollowOpacity:c}={}){let p=this.getStack();p&&p.promote(this,c),l&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){let l=this.getStack();return l?l.relegate(this):!1}resetSkewAndRotation(){let{visualElement:l}=this.options;if(!l)return;let d=!1,{latestValues:c}=l;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(d=!0),!d)return;let p={};c.z&&sx("z",l,p,this.animationValues);for(let h=0;h<ix.length;h++)sx(`rotate${ix[h]}`,l,p,this.animationValues),sx(`skew${ix[h]}`,l,p,this.animationValues);l.render();for(let h in p)l.setStaticValue(h,p[h]),this.animationValues&&(this.animationValues[h]=p[h]);l.scheduleRender()}applyProjectionStyles(l,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){l.visibility="hidden";return}let c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,l.visibility="",l.opacity="",l.pointerEvents=_n(d?.pointerEvents)||"",l.transform=c?c(this.latestValues,""):"none";return}let p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(l.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,l.pointerEvents=_n(d?.pointerEvents)||""),this.hasProjected&&!Ur(this.latestValues)&&(l.transform=c?c({},""):"none",this.hasProjected=!1);return}l.visibility="";let h=p.animationValues||p.latestValues;this.applyTransformsToTarget();let g=kC(this.projectionDeltaWithTransform,this.treeScale,h);c&&(g=c(h,g)),l.transform=g;let{x,y:b}=this.projectionDelta;l.transformOrigin=`${x.origin*100}% ${b.origin*100}% 0`,p.animationValues?l.opacity=p===this?h.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:l.opacity=p===this?h.op
11acity!==void 0?h.opacity:"":h.opacityExit!==void 0?h.opacityExit:0;for(let _ in pu){if(h[_]===void 0)continue;let{correct:C,applyTo:R,isCSSVariable:v}=pu[_],w=g==="none"?h[_]:C(h[_],p);if(R){let S=R.length;for(let k=0;k<S;k++)l[R[k]]=w}else v?this.options.visualElement.renderState.vars[_]=w:l[_]=w}this.options.layoutId&&(l.pointerEvents=p===this?_n(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(l=>l.currentAnimation?.stop()),this.root.nodes.forEach(BC),this.root.sharedNodes.clear()}}}function nD(e){e.updateLayout()}function iD(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:a,measuredBox:r}=e.layout,{animationType:n}=e.options,i=t.source!==e.layout.source;if(n==="size")oa(h=>{let g=i?t.measuredBox[h]:t.layoutBox[h],x=rt(g);g.min=a[h].min,g.max=g.min+x});else if(n==="x"||n==="y"){let h=n==="x"?"y":"x";qf(i?t.measuredBox[h]:t.layoutBox[h],a[h])}else WC(n,t.layoutBox,a)&&oa(h=>{let g=i?t.measuredBox[h]:t.layoutBox[h],x=rt(a[h]);g.max=g.min+x,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+x)});let l=Po();Sn(l,a,t.layoutBox);let d=Po();i?Sn(d,e.applyTransform(r,!0),t.measuredBox):Sn(d,a,t.layoutBox);let c=!ax(l),p=!1;if(!e.resumeFrom){let h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){let{snapshot:g,layout:x}=h;if(g&&x){let b=e.options.layoutAnchor||void 0,_=Ne();Gi(_,t.layoutBox,g.layoutBox,b);let C=Ne();Gi(C,a,x.layoutBox,b),rx(_,C)||(p=!0),h.options.layoutRoot&&(e.relativeTarget=C,e.relativeTargetOrigin=_,e.relativeParent=h)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:t,delta:d,layoutDelta:l,hasLayoutChanged:c,hasRelativeLayoutChanged:p})}else if(e.isLead()){let{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function sD(e){aa.value&&kn.nodes++,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 lD(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function uD(e){e.clearSnapshot()}function BC(e){e.clearMeasurements()}function dD(e){e.isLayoutDirty=!0,e.updateLayout()}function OC(e){e.isLayoutDirty=!1}function cD(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function fD(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function NC(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function pD(e){e.resolveTargetDelta()}function hD(e){e.calcProjection()}function mD(e){e.resetSkewAndRotation()}function gD(e){e.removeLeadSnapshot()}function zC(e,t,a){e.translate=me(t.translate,0,a),e.scale=me(t.scale,1,a),e.origin=t.origin,e.originPoint=t.originPoint}function VC(e,t,a,r){e.min=me(t.min,a.min,r),e.max=me(t.max,a.max,r)}function vD(e,t,a,r){VC(e.x,t.x,a.x,r),VC(e.y,t.y,a.y,r)}function xD(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var wD={duration:.45,ease:[.4,0,.1,1]},UC=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),HC=UC("applewebkit/")&&!UC("chrome/")?Math.round:je;function jC(e){e.min=HC(e.min),e.max=HC(e.max)}function yD(e){jC(e.x),jC(e.y)}function WC(e,t,a){return e==="position"||e==="preserve-aspect"&&!Qv(ox(t),ox(a),.2)}function bD(e){return e!==e.root&&e.scroll?.wasRoot}var GC=Zf({attachResizeListener:(e,t)=>pr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0});var $f={current:void 0},yu=Zf({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!$f.current){let e=new GC({});e.mount(window),e.setOptions({layoutScroll:!0}),$f.current=e}return $f.current},resetTransform:(e,t)=>
11{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"});var Xf=G(ae(),1),Hr=G(ae(),1);var ZC=G(ae(),1),Zi=(0,ZC.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});var XC=G(ae(),1);function $C(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function LD(...e){return t=>{let a=!1,r=e.map(n=>{let i=$C(n,t);return!a&&typeof i=="function"&&(a=!0),i});if(a)return()=>{for(let n=0;n<r.length;n++){let i=r[n];typeof i=="function"?i():$C(e[n],null)}}}}function KC(...e){return XC.useCallback(LD(...e),e)}var lx=class extends Xf.Component{getSnapshotBeforeUpdate(t){let a=this.props.childRef.current;if(vn(a)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let r=a.offsetParent,n=vn(r)&&r.offsetWidth||0,i=vn(r)&&r.offsetHeight||0,l=getComputedStyle(a),d=this.props.sizeRef.current;d.height=parseFloat(l.height),d.width=parseFloat(l.width),d.top=a.offsetTop,d.left=a.offsetLeft,d.right=n-d.width-d.left,d.bottom=i-d.height-d.top}return null}componentDidUpdate(){}render(){return this.props.children}};function JC({children:e,isPresent:t,anchorX:a,anchorY:r,root:n,pop:i}){let l=(0,Hr.useId)(),d=(0,Hr.useRef)(null),c=(0,Hr.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:p}=(0,Hr.useContext)(Zi),h=e.props?.ref??e?.ref,g=KC(d,h);return(0,Hr.useInsertionEffect)(()=>{let{width:x,height:b,top:_,left:C,right:R,bottom:v}=c.current;if(t||i===!1||!d.current||!x||!b)return;let w=a==="left"?`left: ${C}`:`right: ${R}`,S=r==="bottom"?`bottom: ${v}`:`top: ${_}`;d.current.dataset.motionPopId=l;let k=document.createElement("style");p&&(k.nonce=p);let A=n??document.head;return A.appendChild(k),k.sheet&&k.sheet.insertRule(`
12          [data-motion-pop-id="${l}"] {
13            position: absolute !important;
14            width: ${x}px !important;
15            height: ${b}px !important;
16            ${w}px !important;
17            ${S}px !important;
18          }
19        `),()=>{d.current?.removeAttribute("data-motion-pop-id"),A.contains(k)&&A.removeChild(k)}},[t]),(0,YC.jsx)(lx,{isPresent:t,childRef:d,sizeRef:c,pop:i,children:i===!1?e:Xf.cloneElement(e,{ref:g})})}var e1=({children:e,initial:t,isPresent:a,onExitComplete:r,custom:n,presenceAffectsLayout:i,mode:l,anchorX:d,anchorY:c,root:p})=>{let h=Pi(SD),g=(0,bu.useId)(),x=!0,b=(0,bu.useMemo)(()=>(x=!1,{id:g,initial:t,isPresent:a,custom:n,onExitComplete:_=>{h.set(_,!0);for(let C of h.values())if(!C)return;r&&r()},register:_=>(h.set(_,!1),()=>h.delete(_))}),[a,h,r]);return i&&x&&(b={...b}),(0,bu.useMemo)(()=>{h.forEach((_,C)=>h.set(C,!1))},[a]),QC.useEffect(()=>{!a&&!h.size&&r&&r()},[a]),e=(0,ux.jsx)(JC,{pop:l==="popLayout",isPresent:a,anchorX:d,anchorY:c,root:p,children:e}),(0,ux.jsx)(wo.Provider,{value:b,children:e})};function SD(){return new Map}var Eo=G(ae(),1);function Kf(e=!0){let t=(0,Eo.useContext)(wo);if(t===null)return[!0,null];let{isPresent:a,onExitComplete:r,register:n}=t,i=(0,Eo.useId)();(0,Eo.useEffect)(()=>{if(e)return n(i)},[e]);let l=(0,Eo.useCallback)(()=>e&&r&&r(i),[i,r,e]);return!a&&r?[!1,l]:[!0]}var Yf=G(ae(),1),Lu=e=>e.key||"";function dx(e){let t=[];return Yf.Children.forEach(e,a=>{(0,Yf.isValidElement)(a)&&t.push(a)}),t}var $i=({children:e,custom:t,initial:a=!0,onExitComplete:r,presenceAffectsLayout:n=!0,mode:i="sync",propagate:l=!1,anchorX:d="left",anchorY:c="top",root:p})=>{let[h,g]=Kf(l),x=(0,Ha.useMemo)(()=>dx(e),[e]),b=l&&!h?[]:x.map(Lu),_=(0,Ha.useRef)(!0),C=(0,Ha.useRef)(x),R=Pi(()=>new Map),v=(0,Ha.useRef)(new Set),[w,S]=(0,Ha.useState)(x),[k,A]=(0,Ha.useState)(x);Zc(()=>{_.current=!1,C.current=x;for(let F=0;F<k.length;F++){let V=Lu(k[F]);b.includes(V)?(R.delete(V),v.current.delete(V)):R.get(V)!==!0&&R.set(V,!1)}},[k,b.length,b.join("-")]);let O=[];if(x!==w){let F=[...x];for(let V=0;V<k.length;V++){let D=k[V],K=Lu(D);b.includes(K)||(F.splice(V,0,D),O.push(D))}return i==="wait"&&O.length&&(F=O),A(dx(F)),S(x),null}let{forceRender:B}=(0,Ha.useContext)(Ii);return(0,Su.jsx)(Su.Fragment,{children:k.map(F=>{let V=Lu(F),D=l&&!h?!1:x===k||b.includes(V),K=()=>{if(v.current.has(V))return;if(R.has(V))v.current.add(V),R.set(V,!0);else return;let X=!0;R.forEach(oe=>{oe||(X=!1)}
19),X&&(B?.(),A(C.current),l&&g?.(),r&&r())};return(0,Su.jsx)(e1,{isPresent:D,initial:!_.current||a?void 0:!1,custom:t,presenceAffectsLayout:n,mode:i,root:p,onExitComplete:D?void 0:K,anchorX:d,anchorY:c,children:F},V)})})};var t1=G(ae(),1),Jf=(0,t1.createContext)({strict:!1});var a1={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"]},r1=!1;function _D(){if(r1)return;let e={};for(let t in a1)e[t]={isEnabled:a=>a1[t].some(r=>!!a[r])};uu(e),r1=!0}function Qf(){return _D(),Nv()}function o1(e){let t=Qf();for(let a in e)t[a]={...t[a],...e[a]};uu(t)}var CD=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function _u(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||CD.has(e)}var n1=e=>!_u(e);function kD(e){typeof e=="function"&&(n1=t=>t.startsWith("on")?!_u(t):e(t))}try{kD(ry("@emotion/is-prop-valid").default)}catch{}function i1(e,t,a){let r={};for(let n in e)n==="values"&&typeof e.values=="object"||ke(e[n])||(n1(n)||a===!0&&_u(n)||!t&&!_u(n)||e.draggable&&n.startsWith("onDrag"))&&(r[n]=e[n]);return r}var op=G(ht(),1);var Ji=G(ae(),1);var s1=G(ae(),1),To=(0,s1.createContext)({});var ep=G(ae(),1);function l1(e,t){if(Ro(e)){let{initial:a,animate:r}=e;return{initial:a===!1||fr(a)?a:void 0,animate:fr(r)?r:void 0}}return e.inherit!==!1?t:{}}function d1(e){let{initial:t,animate:a}=l1(e,(0,ep.useContext)(To));return(0,ep.useMemo)(()=>({initial:t,animate:a}),[u1(t),u1(a)])}function u1(e){return Array.isArray(e)?e.join(" "):e}var Yi=G(ae(),1);var c1=G(ae(),1);var Xi=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function cx(e,t,a){for(let r in t)!ke(t[r])&&!hu(r,a)&&(e[r]=t[r])}function ID({transformTemplate:e},t){return(0,c1.useMemo)(()=>{let a=Xi();return yn(a,t,e),Object.assign({},a.vars,a.style)},[t])}function PD(e,t){let a=e.style||{},r={};return cx(r,a,e),Object.assign(r,ID(e,t)),r}function f1(e,t){let a={},r=PD(e,t);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=r,a}var p1=G(ae(),1);var tp=()=>({...Xi(),attrs:{}});function h1(e,t,a,r){let n=(0,p1.useMemo)(()=>{let i=tp();return gu(i,t,vu(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let i={};cx(i,e.style,e),n.style={...i,...n.style}}return n}var m1=["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 Ki(e){return typeof e!="string"||e.includes("-")?!1:!!(m1.indexOf(e)>-1||/[A-Z]/u.test(e))}function g1(e,t,a,{latestValues:r},n,i=!1,l){let c=(l??Ki(e)?h1:f1)(t,r,n,e),p=i1(t,typeof e=="string",i),h=e!==Yi.Fragment?{...p,...c,ref:a}:{},{children:g}=t,x=(0,Yi.useMemo)(()=>ke(g)?g.get():g,[g]);return(0,Yi.createElement)(e,{...h,children:x})}var fx=G(ae(),1);function RD({scrapeMotionValuesFromProps:e,createRenderState:t},a,r,n){return{latestValues:ED(a,r,n,e),renderState:t()}}function ED(e,t,a,r){let n={},i=r(e,{});for(let x in i)n[x]=_n(i[x]);let{initial:l,animate:d}=e,c=Ro(e),p=iu(e);t&&p&&!c&&e.inherit!==!1&&(l===void 0&&(l=t.initial),d===void 0&&(d=t.animate));let h=a?a.initial===!1:!1;h=h||l===!1;let g=h?d:l;if(g&&typeof g!="boolean"&&!Vr(g)){let x=Array.isArray(g)?g:[g];for(let b=0;b<x.length;b++){let _=gn(e,x[b]);if(_){let{transitionEnd:C,transition:R,...v}=_;for(let w in v){let S=v[w];if(Array.isArray(S)){let k=h?S.length-1:0;S=S[k]}S!==null&&(n[w]=S)}for(let w in C)n[w]=C[w]}}}return n}var ap=e=>(t,a)=>{let r=(0,fx.useContext)(To),n=(0,fx.useContext)(wo),i=()=>RD(e,t,r,n);return a?i():Pi(i)};var v1=ap({scrapeMotionValuesFromProps:bn,createRenderState:Xi});var x1=ap({scrapeMotionValuesFromProps:xu,createRenderState:tp});var w1=Symbol.for("motionComponentSymbol");var In=G(ae(),1);function y1(e,t,a){let r=(0,In.useRef)(a);(0,In.useInsertionEffect)(()=>{r.current=a});let n=(0,In.useRef)(null);return(0,In.useCallback)(i=>{i&&e.onMount?.(i);let l=r.current;if(typeof l=="function")if(i){let d=l(i);typeof d=="function"&&(n.current=d)}else n.current?(n.current(),n.current=null):l(i);else l&&(l.current=i);t&&(i?t.mount(i):t.unmount())},[t])}var Ot=G(ae(),1);var b1=G(ae(),1),rp=(0,b1.createContext)({});function Ao(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function L1(e,t,a,r,n,i){let{visualElement:l}=(0,Ot.useContext)(To),d=(0,Ot.useContext)(Jf),c=(0,Ot.useContext)(wo),p=(0,Ot.useContext)(Zi),h=p.reducedMotion,g=p.skipAnimations,x=(0,Ot.useRef)(null),b=(0,Ot.useRef)(!1);r=r||d.renderer,!x.current&&r&&(x.current=r(e,{visualState:t,parent:l,props:a,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:h,skipAnimations:g,isSVG:i}),b.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));let _=x.current,C=(0,Ot.useContext)(rp);_&&!_.projection&&n&&(_.type==="html"||_.type==="svg")&&TD(x.current,a,n,C);let R=(0,Ot.useRef)(!1);(0,Ot.useInsertionEffect)(()=>{_&&R.current&&_.update(a,c)});let v=a[au],w=(0,Ot.useRef)(!!v&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return Zc(()=>{b.current=!0,_&&(R.current=!0,window.MotionIsMounted=!0,_.updateFeatures(),_.scheduleRenderMicrotask(),w.current&&_.animationState&&_.animationState.animateChanges())}),(0,Ot.useEffect)(()=>{_&&(!w.current&&_.animationState&&_.animationState.animateChanges(),w.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),w.current=!1),_.enteringChildren=void 0)}),_}function TD(e,t,a,r){let{layoutId:n,layout:i,drag:l,dragConstraints:d,layoutScroll:c,layoutRoot:p,layoutAnchor:h,layoutCrossfade:g}=t;e.projection=new a(e.latestValues,t["data-framer-portal-id"]?void 0:S1(e.parent)),e.projection.setOptions({layoutId:n,layout:i,alwaysMeasureLayout:!!l||d&&Ao(d),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:g,layoutScroll:c,layoutRoot:p,layoutAnchor:h})}function S1(e){if(e)return e.options.allowProjection!==!1?e.projection:S1(e.parent)}function np(e,{forwardMotionProps:t=!1,type:a}={},r,n){r&&o1(r);let i=a?a==="svg":Ki(e),l=i?x1:v1;function d(p,h){let g,x={...(0,Ji.useContext)(Zi),...p,layoutId:AD(p)},{isStatic:b}=x,_=d1(p),C=l(p,b);if(!b&&typeof window<"u"){MD(x,r);let R=DD(x);g=R.MeasureLayout,_.visualElement=L1(e,C,x,n,R.ProjectionNode,i)}return(0,op.jsxs)(To.Provider,{value:_,children:[g&&_.visualElement?(0,op.jsx)(g,{visualElement:_.visualElement,...x}):null,g1(e,p,y1(C,_.visualElement,h),C,b,t,i)]})}d.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;let c=(0,Ji.forwardRef)(d);return c[w1]=e,c}function AD({layoutId:e}){let t=(0,Ji.useContext)(Ii).id;return t&&e!==void 0?t+"-"+e:e}function MD(e,t){let a=(0,Ji.useContext)(Jf).strict}function DD(e){let t=Qf(),{drag:a,layout:r}=t;if(!a&&!r)return{};let n={...a,...r};return{MeasureLayout:a?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
19function _1(e,t){if(typeof Proxy>"u")return np;let a=new Map,r=(i,l)=>np(i,l,e,t),n=(i,l)=>r(i,l);return new Proxy(n,{get:(i,l)=>l==="create"?r:(a.has(l)||a.set(l,np(l,void 0,e,t)),a.get(l))})}var C1=G(ae(),1);var k1=(e,t)=>t.isSVG??Ki(e)?new wu(t):new mu(t,{allowProjection:e!==C1.Fragment});var ip=class extends dt{constructor(t){super(t),t.animationState||(t.animationState=$v(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();Vr(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:a}=this.node.prevProps||{};t!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}};var FD=0,sp=class extends dt{constructor(){super(...arguments),this.id=FD++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:a}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;if(t&&r===!1){if(this.isExitComplete){let{initial:i,custom:l}=this.node.getProps();if(typeof i=="string"){let d=ra(this.node,i,l);if(d){let{transition:c,transitionEnd:p,...h}=d;for(let g in h)this.node.getValue(g)?.jump(h[g])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);a&&!t&&n.then(()=>{this.isExitComplete=!0,a(this.id)})}mount(){let{register:t,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),t&&(this.unmount=t(this.id))}unmount(){}};var I1={animation:{Feature:ip},exit:{Feature:sp}};function jr(e){return{point:{x:e.pageX,y:e.pageY}}}var P1=e=>t=>wn(t)&&e(t,jr(t));function Mo(e,t,a,r){return pr(e,t,P1(a),r)}var lp=({current:e})=>e?e.ownerDocument.defaultView:null;var R1=(e,t)=>Math.abs(e-t);function E1(e,t){let a=R1(e.x,t.x),r=R1(e.y,t.y);return Math.sqrt(a**2+r**2)}var T1=new Set(["auto","scroll"]),Qi=class{constructor(t,a,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:i=!1,distanceThreshold:l=3,element:d}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=b=>{this.handleScroll(b.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=up(this.lastRawMoveEventInfo,this.transformPagePoint));let b=px(this.lastMoveEventInfo,this.history),_=this.startEvent!==null,C=E1(b.offset,{x:0,y:0})>=this.distanceThreshold;if(!_&&!C)return;let{point:R}=b,{timestamp:v}=$e;this.history.push({...R,timestamp:v});let{onStart:w,onMove:S}=this.handlers;_||(w&&w(this.lastMoveEvent,b),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,b)},this.handlePointerMove=(b,_)=>{this.lastMoveEvent=b,this.lastRawMoveEventInfo=_,this.lastMoveEventInfo=up(_,this.transformPagePoint),se.update(this.updatePoint,!0)},this.handlePointerUp=(b,_)=>{this.end();let{onEnd:C,onSessionEnd:R,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let w=px(b.type==="pointercancel"?this.lastMoveEventInfo:up(_,this.transformPagePoint),this.history);this.startEvent&&C&&C(b,w),R&&R(b,w)},!wn(t))return;this.dragSnapToOrigin=i,this.handlers=a,this.transformPagePoint=r,this.distanceThreshold=l,this.contextWindow=n||window;let c=jr(t),p=up(c,this.transformPagePoint),{point:h}=p,{timestamp:g}=$e;this.history=[{...h,timestamp:g}];let{onSessionStart:x}=a;x&&x(t,px(p,this.history)),this.removeListeners=za(Mo(this.contextWindow,"pointermove",this.handlePointerMove),Mo(this.contextWindow,"pointerup",this.handlePointerUp),Mo(this.contextWindow,"pointercancel",this.handlePointerUp)),d&&this.startScrollTracking(d)}startScrollTracking(t){let a=t.parentElement;for(;a;){let r=getComputedStyle(a);(T1.has(r.overflowX)||T1.has(r.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let a=this.scrollPositions.get(t);if(!a)return;let r=t===window,n=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:n.x-a.x,y:n.y-a.y};i.x===0&&i.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,n),se.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Gt(this.updatePoint)}};function up(e,t){return t?{point:t(e.point)}:e}function A1(e,t){return{x:e.x-t.x,y:e.y-t.y}}function px({point:e},t){return{point:e,delta:A1(e,M1(t)),offset:A1(e,BD(t)),velocity:OD(t,.1)}}function BD(e){return e[0]}function M1(e){return e[e.length-1]}function OD(e,t){if(e.length<2)return{x:0,y:0};let a=e.length-1,r=null,n=M1(e);for(;a>=0&&(r=e[a],!(n.timestamp-r.timestamp>Je(t)));)a--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&n.timestamp-r.timestamp>Je(t)*2&&(r=e[1]);let i=mt(n.timestamp-r.timestamp);if(i===0)return{x:0,y:0};let l={x:(n.x-r.x)/i,y:(n.y-r.y)/i};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}function N1(e,{min:t,max:a},r){return t!==void 0&&e<t?e=r?me(t,e,r.min):Math.max(e,t):a!==void 0&&e>a&&(e=r?me(a,e,r.max):Math.min(e,a)),e}function D1(e,t,a){return{min:t!==void 0?e.min+t:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function z1(e,{top:t,left:a,bottom:r,right:n}){return{x:D1(e.x,a,n),y:D1(e.y,t,r)}}function F1(e,t){let a=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([a,r]=[r,a]),{min:a,max:r}}function V1(e,t){return{x:F1(e.x,t.x),y:F1(e.y,t.y)}}function U1(e,t){let a=.5,r=rt(e),n=rt(t);return n>r?a=sr(t.min,t.max-r,e.min):r>
19n&&(a=sr(e.min,e.max-n,t.min)),lt(0,1,a)}function H1(e,t){let a={};return t.min!==void 0&&(a.min=t.min-e.min),t.max!==void 0&&(a.max=t.max-e.min),a}var dp=.35;function j1(e=dp){return e===!1?e=0:e===!0&&(e=dp),{x:B1(e,"left","right"),y:B1(e,"top","bottom")}}function B1(e,t,a){return{min:O1(e,t),max:O1(e,a)}}function O1(e,t){return typeof e=="number"?e:e[t]||0}var ND=new WeakMap,fp=class{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ne(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:a=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&n.isPresent===!1)return;let i=g=>{a&&this.snapToCursor(jr(g).point),this.stopAnimation()},l=(g,x)=>{let{drag:b,dragPropagation:_,onDragStart:C}=this.getProps();if(b&&!_&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Rv(b),!this.openDragLock))return;this.latestPointerEvent=g,this.latestPanInfo=x,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),oa(v=>{let w=this.getAxisMotionValue(v).get()||0;if(Pt.test(w)){let{projection:S}=this.visualElement;if(S&&S.layout){let k=S.layout.layoutBox[v];k&&(w=rt(k)*(parseFloat(w)/100))}}this.originPoint[v]=w}),C&&se.update(()=>C(g,x),!1,!0),Ni(this.visualElement,"transform");let{animationState:R}=this.visualElement;R&&R.setActive("whileDrag",!0)},d=(g,x)=>{this.latestPointerEvent=g,this.latestPanInfo=x;let{dragPropagation:b,dragDirectionLock:_,onDirectionLock:C,onDrag:R}=this.getProps();if(!b&&!this.openDragLock)return;let{offset:v}=x;if(_&&this.currentDirection===null){this.currentDirection=VD(v),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",x.point,v),this.updateAxis("y",x.point,v),this.visualElement.render(),R&&se.update(()=>R(g,x),!1,!0)},c=(g,x)=>{this.latestPointerEvent=g,this.latestPanInfo=x,this.stop(g,x),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{let{dragSnapToOrigin:g}=this.getProps();(g||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new Qi(t,{onSessionStart:i,onStart:l,onMove:d,onSessionEnd:c,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:r,contextWindow:lp(this.visualElement),element:this.visualElement.current})}stop(t,a){let r=t||this.latestPointerEvent,n=a||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!n||!r)return;let{velocity:l}=n;this.startAnimation(l);let{onDragEnd:d}=this.getProps();d&&se.postRender(()=>d(r,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:a}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,a,r){let{drag:n}=this.getProps();if(!r||!cp(t,n,this.currentDirection))return;let i=this.getAxisMotionValue(t),l=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(l=N1(l,this.constraints[t],this.elastic[t])),i.set(l)}resolveConstraints(){let{dragConstraints:t,dragElastic:a}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&Ao(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=z1(r.layoutBox,t):this.constraints=!1,this.elastic=j1(a),n!==this.constraints&&!Ao(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&oa(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=H1(r.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){let{dragConstraints:t,onMeasureDragConstraints:a}=this.getProps();if(!t||!Ao(t))return!1;let r=t.current;xa(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let i=Wv(r,n.root,this.visualElement.getTransformPagePoint()),l=V1(n.layout.layoutBox,i);if(a){let d=a(zv(l));this.hasMutatedConstraints=!!d,d&&(l=du(d))}return l}startAnimation(t){let{drag:a,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:l,onDragTransitionEnd:d}=this.getProps(),c=this.constraints||{},p=oa(h=>{if(!cp(h,a,this.currentDirection))return;let g=c&&c[h]||{};(l===!0||l===h)&&(g={min:0,max:0});let x=n?200:1e6,b=n?40:1e7,_={type:"inertia",velocity:r?t[h]:0,bounceStiffness:x,bounceDamping:b,timeConstant:750,restDelta:1,restSpeed:10,...i,...g};return this.startAxisValueAnimation(h,_)});return Promise.all(p).then(d)}startAxisValueAnimation(t,a){let r=this.getAxisMotionValue(t);return Ni(this.visualElement,t),r.start(mn(t,r,0,a,this.visualElement,!1))}stopAnimation(){oa(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let a=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),n=r[a];return n||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){oa(a=>{let{drag:r}=this.getProps();if(!cp(a,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(a);if(n&&n.layout){let{min:l,max:d}=n.layout.layoutBox[a],c=i.get()||0;i.set(t[a]-me(l,d,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:a}=this.getProps(),{projection:r}=this.visualElement;if(!Ao(a)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};oa(l=>{let d=this.getAxisMotionValue(l);if(d&&this.constraints!==!1){let c=d.get();n[l]=U1({min:c,max:c},this.constraints[l])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),oa(l=>{if(!cp(l,t,null))return;let d=this.getAxisMotionValue(l),{min:c,max:p}=this.constraints[l];d.set(me(c,p,n[l]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;ND.set(this.visualElement,this);let t=this.visualElement.current,a=Mo(t,"pointerdown",p=>{let{drag:h,dragListener:g=!0}=this.getProps(),x=p.target,b=x!==t&&Mv(x);h&&g&&!b&&this.start(p)}),r,n=()=>{let{dragConstraints:p}=this.getProps();Ao(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),r||(r=zD(t,p.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,l=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),se.read(n);let d=pr(window,"resize",()=>this.scalePositionWithinConstraints()),c=i.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:h})=>{this.isDragging&&h&&(oa(g=>{let x=this.getAxisMotionValue(g);x&&(this.originPoint[g]+=p[g].translate,x.set(x.get()+p[g].translate))}),this.visualElement.render())}));return()=>{d(),a(),l(),c&&c(),r&&r()}}getProps(){let t=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:l=dp,dragMomentum:d=!0}=t;return{...t,drag:a,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:l,dragMomentum:d}}};function q1(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function zD(e,t,a){let r=Bf(e,q1(a)),n=Bf(t,q1(a));return()=>{r(),n()}}function cp(e,t,a){return(t===!0||t===e)&&(a===null||a===e)}function VD(e,t=10){let a=null;return Math.abs(e.y)>t?a="y":Math.abs(e.x)>t&&(a="x"),a}var pp=class extends dt{constructor(t){super(t),this.removeGroupControls=je,this.removeListeners=je,this.controls=new fp(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||je}update(){let{dragControls:t}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};t!==a&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}};var hx=e=>(t,a)=>{e&&se.update(()=>e(t,a),!1,!0)},hp=class extends dt{constructor(){super(...arguments),this.removePointerDownListener=je}onPointerDown(t){this.session=new Qi(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:lp(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:a,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:hx(t),onStart:hx(a),onMove:hx(r),onEnd:(i,l)=>{delete this.session,n&&se.postRender(()=>n(i,l))}}}mount(){this.removePointerDownListener=Mo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};var W1=G(ht(),1);var Cu=G(ae(),1);var mx=!1,gx=class extends Cu.Component{componentDidMount(){let{visualElement:t,layoutGroup:a,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=t;i&&(a.group&&a.group.add(i),r&&r.register&&n&&r.register(i),mx&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Cn.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:a,visualElement:r,drag:n,isPresent:i}=this.props,{projection:l}=r;return l&&(l.isPresent=i,t.layoutDependency!==a&&l.setOptions({...l.options,layoutDependency:a}),mx=!0,n||t.layoutDependency!==a||a===void 0||t.isPresent!==i?l.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?l.promote():l.relegate()||se.postRender(()=>{let d=l.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:a}=this.props,{projection:r}=t;r&&(r.options.layoutAnchor=a,r.root.didUpdate(),xn.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:a,switchLayoutGroup:r}=this.props,{projection:n}=t;mx=!0,n&&(n.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}};
19function mp(e){let[t,a]=Kf(),r=(0,Cu.useContext)(Ii);return(0,W1.jsx)(gx,{...e,layoutGroup:r,switchLayoutGroup:(0,Cu.useContext)(rp),isPresent:t,safeToRemove:a})}var G1={pan:{Feature:hp},drag:{Feature:pp,ProjectionNode:yu,MeasureLayout:mp}};function Z1(e,t,a){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",a==="Start");let n="onHover"+a,i=r[n];i&&se.postRender(()=>i(t,jr(t)))}var gp=class extends dt{mount(){let{current:t}=this.node;t&&(this.unmount=Ev(t,(a,r)=>(Z1(this.node,r,"Start"),n=>Z1(this.node,n,"End"))))}unmount(){}};var vp=class extends dt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=za(pr(this.node.current,"focus",()=>this.onFocus()),pr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};function $1(e,t,a){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",a==="Start");let n="onTap"+(a==="End"?"":a),i=r[n];i&&se.postRender(()=>i(t,jr(t)))}var xp=class extends dt{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:a,propagate:r}=this.node.props;this.unmount=Fv(t,(n,i)=>($1(this.node,i,"Start"),(l,{success:d})=>$1(this.node,l,d?"End":"Cancel")),{useGlobalTarget:a,stopPropagation:r?.tap===!1})}unmount(){}};var xx=new WeakMap,vx=new WeakMap,UD=e=>{let t=xx.get(e.target);t&&t(e)},HD=e=>{e.forEach(UD)};function jD({root:e,...t}){let a=e||document;vx.has(a)||vx.set(a,{});let r=vx.get(a),n=JSON.stringify(t);return r[n]||(r[n]=new IntersectionObserver(HD,{root:e,...t})),r[n]}function X1(e,t,a){let r=jD(t);return xx.set(e,a),r.observe(e),()=>{xx.delete(e),r.unobserve(e)}}var qD={some:0,all:1},wp=class extends dt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:a,margin:r,amount:n="some",once:i}=t,l={root:a?a.current:void 0,rootMargin:r,threshold:typeof n=="number"?n:qD[n]},d=c=>{let{isIntersecting:p}=c;if(this.isInView===p||(this.isInView=p,i&&!p&&this.hasEnteredView))return;p&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",p);let{onViewportEnter:h,onViewportLeave:g}=this.node.getProps(),x=p?h:g;x&&x(c)};this.stopObserver=X1(this.node.current,l,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:t,prevProps:a}=this.node;["amount","margin","root"].some(WD(t,a))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function WD({viewport:e={}},{viewport:t={}}={}){return a=>e[a]!==t[a]}var K1={inView:{Feature:wp},tap:{Feature:xp},focus:{Feature:vp},hover:{Feature:gp}};var Y1={layout:{ProjectionNode:yu,MeasureLayout:mp}};var J1={...I1,...K1,...G1,...Y1};var yt=_1(J1,k1);var An=G(ae());function ku(e,t){return function(){return e.apply(t,arguments)}}var{toString:GD}=Object.prototype,{getPrototypeOf:Do}=Object,{iterator:Ru,toStringTag:tk}=Symbol,Iu=(({hasOwnProperty:e})=>(t,a)=>e.call(t,a))(Object.prototype),ak=e=>typeof e=="string"&&(e==="__proto__"||e==="constructor"||e==="prototype"),rk=(e,t,a)=>e===Object.prototype||!a&&t===null,ZD=e=>{if(!Object.isExtensible(e))return!1;let t=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&t.push(...Object.getOwnPropertySymbols(e)),t.every(a=>{if(ak(a))return!1;let r=Object.getOwnPropertyDescriptor(e,a);return!!r&&r.configurable&&r.writable===!0})},Pu=(e,t)=>{let a=e,r=[];for(;a!=null;){if(r.indexOf(a)!==-1)return!1;r.push(a);let n=Do(a);if(rk(a,n,a===e))return!1;if(Iu(a,t))return!0;a=n}return!1},$D=(e,t)=>e!=null&&Pu(e,t)?e[t]:void 0,XD=e=>{if(e==null||typeof e!="object"&&typeof e!="function")return e;let t=Do(e);if(t===null&&ZD(e))return e;let a=Object.create(null),r=Object.create(null),n=[],i=e;for(;i!=null&&n.indexOf(i)===-1;){n.push(i);let l=i===e?t:Do(i);if(rk(i,l,i===e))break;let d=Object.getOwnPropertyNames(i);Object.getOwnPropertySymbols&&d.push(...Object.getOwnPropertySymbols(i));for(let c of d)ak(c)||Iu(r,c)||(a[c]=e[c],r[c]=!0);i=l}return a},yx=(e=>t=>{let a=GD.call(t);return e[a]||(e[a]=a.slice(8,-1).toLowerCase())})(Object.create(null)),Sa=e=>(e=e.toLowerCase(),t=>yx(t)===e),bp=e=>t=>typeof t===e,{isArray:Rn}=Array,En=bp("undefined");function es(e){return e!==null&&!En(e)&&e.constructor!==null&&!En(e.constructor)&&Zt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var ok=Sa("ArrayBuffer");function KD(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ok(e.buffer),t}var YD=bp("string"),Zt=bp("function"),nk=bp("number"),ts=e=>e!==null&&typeof e=="object",JD=e=>e===!0||e===!1,yp=e=>{if(!ts(e))return!1;let t=Do(e);return(t===null||t===Object.prototype||Do(t)===null)&&!Pu(e,tk)&&!Pu(e,Ru)},QD=e=>{if(!ts(e)||es(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},eF=Sa("Date"),tF=Sa("File"),aF=e=>!!(e&&typeof e.uri<"u"),rF=e=>e&&typeof e.getParts<"u",oF=Sa("Blob"),nF=Sa("FileList"),iF=Sa("Set"),sF=e=>ts(e)&&Zt(e.pipe);function lF(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}var Q1=lF(),ek=typeof Q1.FormData<"u"?Q1.FormData:void 0,uF=e=>{if(!e)return!1;if(ek&&e instanceof ek)return!0;let t=Do(e);if(!t||t===Object.prototype||!Zt(e.append))return!1;let a=yx(e);return a==="formdata"||a==="object"&&Zt(e.toString)&&e.toString()==="[object FormData]"},dF=Sa("URLSearchParams"),[cF,fF,pF,hF]=["ReadableStream","Request","Response","Headers"].map(Sa),mF=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Eu(e,t,{allOwnKeys:a=!1}={}){if(e===null||typeof e>"u")return;let r,n;if(typeof e!="object"&&(e=[e]),Rn(e))for(r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else{if(es(e))return;let i=a?Object.getOwnPropertyNames(e):Object.keys(e),l=i.length,d;for(r=0;r<l;r++)d=i[r],t.call(null,e[d],d,e)}}function ik(e,t){if(es(e))return null;t=t.toLowerCase();let a=Object.keys(e),r=a.length,n;for(;r-- >0;)if(n=a[r],t===n.toLowerCase())return n;return null}var Pn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,sk=e=>!En(e)&&e!==Pn;function wx(...e){let{caseless:t,skipUndefined:a}=sk(this)&&this||{},r={},n=(i,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;let d=t&&typeof l=="string"&&ik(r,l)||l,c=Iu(r,d)?r[d]:void 0;yp(c)&&yp(i)?r[d]=wx(c,i):yp(i)?r[d]=wx({},i):Rn(i)?r[d]=i.slice():(!a||!En(i))&&(r[d]=i)};for(let i=0,l=e.length;i<l;i++){let d=e[i];if(!d||es(d)||(Eu(d,n),typeof d!="object"||Rn(d)))continue;let c=Object.getOwnPropertySymbols(d);for(let p=0;p<c.length;p++){let h=c[p];IF.call(d,h)&&n(d[h],h)}}return r}var gF=(e,t,a,{allOwnKeys:r}={})=>(Eu(t,(n,i)=>{a&&Zt(n)?Object.defineProperty(e,i,{__proto__:null,value:ku(n,a),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:n,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),vF=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),xF=(e,t,a,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,
19configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),a&&Object.assign(e.prototype,a)},wF=(e,t,a,r)=>{let n,i,l,d={};if(t=t||{},e==null)return t;do{for(n=Object.getOwnPropertyNames(e),i=n.length;i-- >0;)l=n[i],(!r||r(l,e,t))&&!d[l]&&(t[l]=e[l],d[l]=!0);e=a!==!1&&Do(e)}while(e&&(!a||a(e,t))&&e!==Object.prototype);return t},yF=(e,t,a)=>{e=String(e),(a===void 0||a>e.length)&&(a=e.length),a-=t.length;let r=e.indexOf(t,a);return r!==-1&&r===a},bF=e=>{if(!e)return null;if(Rn(e))return e;let t=e.length;if(!nk(t))return null;let a=new Array(t);for(;t-- >0;)a[t]=e[t];return a},LF=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Do(Uint8Array)),SF=(e,t)=>{let r=(e&&e[Ru]).call(e),n;for(;(n=r.next())&&!n.done;){let i=n.value;t.call(e,i[0],i[1])}},_F=(e,t)=>{let a,r=[];for(;(a=e.exec(t))!==null;)r.push(a);return r},CF=Sa("HTMLFormElement"),kF=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,r,n){return r.toUpperCase()+n}),{propertyIsEnumerable:IF}=Object.prototype,PF=Sa("RegExp"),lk=(e,t)=>{let a=Object.getOwnPropertyDescriptors(e),r={};Eu(a,(n,i)=>{let l;(l=t(n,i,e))!==!1&&(r[i]=l||n)}),Object.defineProperties(e,r)},RF=e=>{lk(e,(t,a)=>{if(Zt(e)&&["arguments","caller","callee"].includes(a))return!1;let r=e[a];if(Zt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")})}})},EF=(e,t)=>{let a={},r=n=>{n.forEach(i=>{a[i]=!0})};return Rn(e)?r(e):r(String(e).split(t)),a},TF=()=>{},AF=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function MF(e){return!!(e&&Zt(e.append)&&e[tk]==="FormData"&&e[Ru])}var DF=e=>{let t=new WeakSet,a=r=>{if(ts(r)){if(t.has(r))return;if(es(r))return r;if(!("toJSON"in r)){t.add(r);let n;if(iF(r)){n=[];for(let i of r){let l=a(i);!En(l)&&n.push(l)}}else n=Rn(r)?[]:{},Eu(r,(i,l)=>{let d=a(i);!En(d)&&(n[l]=d)});return t.delete(r),n}}return r};return a(e)},FF=Sa("AsyncFunction"),BF=e=>e&&(ts(e)||Zt(e))&&Zt(e.then)&&Zt(e.catch),uk=((e,t)=>e?setImmediate:t?((a,r)=>(Pn.addEventListener("message",({source:n,data:i})=>{n===Pn&&i===a&&r.length&&r.shift()()},!1),n=>{r.push(n),Pn.postMessage(a,"*")}))(`axios@${Math.random()}`,[]):a=>setTimeout(a))(typeof setImmediate=="function",Zt(Pn.postMessage)),OF=typeof queueMicrotask<"u"?queueMicrotask.bind(Pn):typeof process<"u"&&process.nextTick||uk,dk=e=>e!=null&&Zt(e[Ru]),NF=e=>e!=null&&Pu(e,Ru)&&dk(e),P={isArray:Rn,isArrayBuffer:ok,isBuffer:es,isFormData:uF,isArrayBufferView:KD,isString:YD,isNumber:nk,isBoolean:JD,isObject:ts,isPlainObject:yp,isEmptyObject:QD,isReadableStream:cF,isRequest:fF,isResponse:pF,isHeaders:hF,isUndefined:En,isDate:eF,isFile:tF,isReactNativeBlob:aF,isReactNative:rF,isBlob:oF,isRegExp:PF,isFunction:Zt,isStream:sF,isURLSearchParams:dF,isTypedArray:LF,isFileList:nF,forEac
19h:Eu,merge:wx,extend:gF,trim:mF,stripBOM:vF,inherits:xF,toFlatObject:wF,kindOf:yx,kindOfTest:Sa,endsWith:yF,toArray:bF,forEachEntry:SF,matchAll:_F,isHTMLForm:CF,hasOwnProperty:Iu,hasOwnProp:Iu,hasOwnInPrototypeChain:Pu,getSafeProp:$D,toSafeFlatObject:XD,reduceDescriptors:lk,freezeMethods:RF,toObjectSet:EF,toCamelCase:kF,noop:TF,toFiniteNumber:AF,findKey:ik,global:Pn,isContextDefined:sk,isSpecCompliantForm:MF,toJSONObject:DF,isAsyncFn:FF,isThenable:BF,setImmediate:uk,asap:OF,isIterable:dk,isSafeIterable:NF};var zF=P.toObjectSet(["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"]),ck=e=>{let t={},a,r,n;return e&&e.split(`
20`).forEach(function(l){n=l.indexOf(":"),a=l.substring(0,n).trim().toLowerCase(),r=l.substring(n+1).trim();let d=P.hasOwnProp(t,a);!a||d&&P.hasOwnProp(zF,a)||(a==="set-cookie"?d?t[a].push(r):t[a]=[r]:t[a]=d?t[a]+", "+r:r)}),t};function VF(e){let t=0,a=e.length;for(;t<a;){let r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;a>t;){let r=e.charCodeAt(a-1);if(r!==9&&r!==32)break;a-=1}return t===0&&a===e.length?e:e.slice(t,a)}var UF=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),HF=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function bx(e,t){return P.isArray(e)?e.map(a=>bx(a,t)):VF(String(e).replace(t,""))}var fk=e=>bx(e,UF),jF=e=>bx(e,HF);function Lp(e){let t=Object.create(null);return P.forEach(e.toJSON(),(a,r)=>{t[r]=jF(a)}),t}var pk=Symbol("internals");function Tu(e){return e&&String(e).trim().toLowerCase()}function Sp(e){return e===!1||e==null?e:P.isArray(e)?e.map(Sp):fk(String(e))}function qF(e){let t=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,r;for(;r=a.exec(e);)t[r[1]]=r[2];return t}var WF=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function Lx(e){let t=0,a=e.length;for(;t<a;){let r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;a>t;){let r=e.charCodeAt(a-1);if(r!==9&&r!==32)break;a-=1}return t===0&&a===e.length?e:e.slice(t,a)}function GF(e){let t=e.length-1;if(t<1||e.charCodeAt(0)!==34||e.charCodeAt(t)!==34)return e;let a="";for(let r=1;r<t;r++){let n=e.charCodeAt(r);if(n===34||n===92&&(r+=1,r>=t))return e;a+=e[r]}return a}function ZF(e){let t=Object.create(null),a=String(e),r=0,n=!1,i=!1;function l(d){let c=Lx(a.slice(r,d)),p=c.indexOf("=");if(p<1)return;let h=Lx(c.slice(0,p));if(!WF.test(h))return;let g=h.toLowerCase();if(g==="__proto__"||g==="constructor"||g==="prototype")return;let x=Lx(c.slice(p+1));t[g]=GF(x)}for(let d=0;d<a.length;d++){let c=a.charCodeAt(d);n?i?i=!1:c===92?i=!0:c===34&&(n=!1):c===34?n=!0:(c===44||c===59)&&(l(d),r=d+1)}return l(a.length),t}var $F=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Sx(e,t,a,r,n){if(P.isFunction(r))return r.call(this,t,a);if(n&&(t=a),!!P.isString(t)){if(P.isString(r))return t.indexOf(r)!==-1;if(P.isRegExp(r))return r.test(t)}}function XF(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,a,r)=>a.toUpperCase()+r)}function KF(e,t){let a=P.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+a,{__proto__:null,value:function(n,i,l){return this[r].call(this,t,n,i,l)},configurable:!0})})}var as=class{constructor(t){t&&this.set(t)}set(t,a,r){let n=this;function i(d,c,p){let h=Tu(c);if(!h)return;let g=P.findKey(n,h);(!g||n[g]===void 0||p===!0||p===void 0&&n[g]!==!1)&&(n[g||c]=Sp(d))}let l=(d,c)=>P.forEach(d,(p,h)=>i(p,h,c));if(P.isPlainObject(t)||t instanceof this.constructor)l(t,a);else if(P.isString(t)&&(t=t.trim())&&!$F(t))l(ck(t),a);else if(P.isObject(t)&&P.isSafeIterable(t)){let d=Object.create(null),c,p;for(let h of t){if(!P.isArray(h))throw new TypeError("Object iterator must return a key-value pair");p=h[0],P.hasOwnProp(d,p)?(c=d[p],d[p]=P.isArray(c)?[...c,h[1]]:[c,h[1]]):d[p]=h[1]}l(d,a)}else t!=null&&i(a,t,r);return this}get(t,a){if(t=Tu(t),t){let r=P.findKey(this,t);if(r){let n=this[r];if(!a)return n;if(a===!0)return qF(n);if(P.isFunction(a))return a.call(this,n,r);if(P.isRegExp(a))return a.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,a){if(t=Tu(t),t){let r=P.findKey(this,t);return!!(r&&this[r]!==void 0&&(!a||Sx(this,this[r],r,a)))}return!1}delete(t,a){let r=this,n=!1;function i(l){if(l=Tu(l),l){let d=P.findKey(r,l);d&&(!a||Sx(r,r[d],d,a))&&(delete r[d],n=!0)}}return P.isArray(t)?t.forEach(i):i(t),n}clear(t){let a=Object.keys(this),r=a.length,n=!1;for(;r--;){let i=a[r];(!t||Sx(this,this[i],i,t,!0))&&(delete this[i],n=!0)}return n}normalize(t){let a=this,r={};return P.forEach(this,(n,i)=>{let l=P.findKey(r,i);if(l){a[l]=Sp(n),delete a[i];return}let d=t?XF(i):String(i).trim();d!==i&&delete a[i],a[d]=Sp(n),r[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let a=Object.create(null);return P.forEach(this,(r,n)=>{r!=null&&r!==!1&&(a[n]=t&&P.isArray(r)?r.join(", "):r)}),a}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,a])=>t+": "+a).join(`
21`)}getSetCookie(){let t=this.get("set-cookie");return P.isArray(t)?t:t==null||t===!1?[]:[t]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static parseParameters(t){return ZF(t)}static concat(t,...a){let r=new this(t);return a.forEach(n=>r.set(n)),r}static accessor(t){let r=(this[pk]=this[pk]={accessors:{}}).accessors,n=this.prototype;function i(l){let d=Tu(l);r[d]||(KF(n,l),r[d]=!0)}return P.isArray(t)?t.forEach(i):i(t),this}};as.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);P.reduceDescriptors(as.prototype,({value:e},t)=>{let a=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[a]=r}}});P.freezeMethods(as);var Xe=as;var Au="[REDACTED ****]";function YF(e){if(P.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(P.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function JF(e,t){let a=new Set(t.map(i=>String(i).toLowerCase())),r=[],n=i=>{if(i===null||typeof i!="object"||P.isBuffer(i))return i;if(r.indexOf(i)!==-1)return;i instanceof Xe&&(i=i.toJSON()),r.push(i);let l;
21if(P.isArray(i))l=[],i.forEach((d,c)=>{let p=n(d);P.isUndefined(p)||(l[c]=p)});else{if(!P.isPlainObject(i)&&YF(i))return r.pop(),i;l=Object.create(null);for(let[d,c]of Object.entries(i)){let p=a.has(d.toLowerCase())?Au:n(c);P.isUndefined(p)||(l[d]=p)}}return r.pop(),l};return n(e)}function hk(e){try{return String(e)}catch{return""}}function QF(e){return e.errors.map(a=>{try{return a&&a.message?hk(a.message):hk(a)}catch{return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}var bt=class e extends Error{static from(t,a,r,n,i,l){let d=t.message;!d&&P.isArray(t.errors)&&t.errors.length&&(d=QF(t));let c=new e(d,a||t.code,r,n,i);return Object.defineProperty(c,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),c.name=t.name,t.status!=null&&c.status==null&&(c.status=t.status),l&&Object.assign(c,l),c}constructor(t,a,r,n,i){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,a&&(this.code=a),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status)}toJSON(){let t=this.config,a=t&&P.hasOwnProp(t,"redact")?t.redact:void 0,r=P.isArray(a)&&a.length>0?JF(t,a):P.toJSONObject(t);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:r,code:this.code,status:this.status}}};bt.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";bt.ERR_BAD_OPTION="ERR_BAD_OPTION";bt.ECONNABORTED="ECONNABORTED";bt.ETIMEDOUT="ETIMEDOUT";bt.ECONNREFUSED="ECONNREFUSED";bt.ERR_NETWORK="ERR_NETWORK";bt.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";bt.ERR_DEPRECATED="ERR_DEPRECATED";bt.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";bt.ERR_BAD_REQUEST="ERR_BAD_REQUEST";bt.ERR_CANCELED="ERR_CANCELED";bt.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";bt.ERR_INVALID_URL="ERR_INVALID_URL";bt.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var j=bt;var Fo=null;var kx=100;function Cx(e){return P.isPlainObject(e)||P.isArray(e)}function mk(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function _x(e,t,a){return e?e.concat(t).map(function(n,i){return n=mk(n),!a&&i?"["+n+"]":n}).join(a?".":""):t}function e5(e){return P.isArray(e)&&!e.some(Cx)}var t5=P.toFlatObject(P,{},null,function(t){return/^is[A-Z]/.test(t)});function a5(e,t,a){if(!P.isObject(e))throw new TypeError("target must be an object");t=t||new(Fo||FormData);let r=(w,S)=>{let k=P.getSafeProp(a,w);return P.isUndefined(k)?S:k},n=r("metaTokens",!0),i=r("visitor")||C,l=r("dots",!1),d=r("indexes",!1),c=r("Blob")||typeof Blob<"u"&&Blob,p=r("maxDepth",kx),h=c&&P.isSpecCompliantForm(t),g=[];if(!P.isFunction(i))throw new TypeError("visitor must be a function");function x(w){if(w===null)return"";if(P.isDate(w))return w.toISOString();if(P.isBoolean(w))return w.toString();if(!h&&P.isBlob(w))throw new j("Blob is not supported. Use a Buffer instead.");if(P.isArrayBuffer(w)||P.isTypedArray(w)){if(h&&typeof c=="function")return new c([w]);if(Fo&&Fo.isBufferAvailable())return Fo.from(w);throw new j("Blob is not supported. Use a Buffer instead.",j.ERR_NOT_SUPPORT)}return w}function b(w){if(w>p)throw new j("Object is too deeply nested ("+w+" levels). Max depth: "+p,j.ERR_FORM_DATA_DEPTH_EXCEEDED)}function _(w,S){if(p===1/0)return JSON.stringify(w);let k=[];return JSON.stringify(w,function(O,B){if(!P.isObject(B))return B;for(;k.length&&k[k.length-1]!==this;)k.pop();return k.push(B),b(S+k.length-1),B})}function C(w,S,k){let A=w;if(P.isReactNative(t)&&P.isReactNativeBlob(w))return t.append(_x(k,S,l),x(w)),!1;if(w&&!k&&typeof w=="object"){if(P.endsWith(S,"{}"))S=n?S:S.slice(0,-2),w=_(w,1);else if(P.isArray(w)&&e5(w)||(P.isFileList(w)||P.endsWith(S,"[]"))&&(A=P.toArray(w)))return S=mk(S),A.forEach(function(B,F){!(P.isUndefined(B)||B===null)&&t.append(d===!0?_x([S],F,l):d===null?S:S+"[]",x(B))}),!1}return Cx(w)?!0:(t.append(_x(k,S,l),x(w)),!1)}let R=Object.assign(t5,{defaultVisitor:C,convertValue:x,isVisitable:Cx});function v(w,S,k=0){if(!P.isUndefined(w)){if(b(k),g.indexOf(w)!==-1)throw new Error("Circular reference detected in "+S.join("."));g.push(w),P.forEach(w,function(O,B){(!(P.isUndefined(O)||O===null)&&i.call(t,O,P.isString(B)?B.trim():B,S,R))===!0&&v(O,S?S.concat(B):[B],k+1)}),g.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return v(e),t}var Bo=a5;
21function gk(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(r){return t[r]})}function vk(e,t){this._pairs=[],e&&Bo(e,this,t)}var xk=vk.prototype;xk.append=function(t,a){this._pairs.push([t,a])};xk.toString=function(t){let a=t?r=>t.call(this,r,gk):gk;return this._pairs.map(function(n){return a(n[0])+"="+a(n[1])},"").join("&")};var _p=vk;function r5(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Mu(e,t,a){if(!t)return e;e=e||"";let r=P.isFunction(a)?{serialize:a}:a,n=P.getSafeProp(r,"encode")||r5,i=P.getSafeProp(r,"serialize"),l;if(i?l=i(t,r):l=P.isURLSearchParams(t)?t.toString():new _p(t,r).toString(n),l){let d=e.indexOf("#");d!==-1&&(e=e.slice(0,d)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}var Du=Symbol("internals");function yk(e){return e?e.length:0}function wk(e){if(e)for(;e.length&&e[e.length-1]===null;)e.pop()}function Fu(e,t){let a=e.handlers,r=yk(a);a!==t.handlersRef?(t.handlersRef=a,t.handlerEntries.clear()):r!==t.handlersLength&&(r?t.handlerEntries.forEach(function(i,l){a[i.index]!==i.handler&&t.handlerEntries.delete(l)}):t.handlerEntries.clear()),t.handlersLength=r}var Ix=class{constructor(){this.handlers=[],this[Du]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(t,a,r){let n={fulfilled:t,rejected:a,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null},i=this[Du];this.handlers==null&&(this.handlers=[]),Fu(this,i);let l=i.nextId++;return this.handlers.push(n),i.handlerEntries.set(l,{handler:n,index:this.handlers.length-1}),i.handlersLength=this.handlers.length,l}eject(t){let a=this[Du];Fu(this,a);let r=a.handlerEntries.get(t);if(r){if(a.handlerEntries.delete(t),this.handlers[r.index]!==r.handler)return;this.handlers[r.index]=null,a.iterationDepth||(wk(this.handlers),a.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],Fu(this,this[Du]))}forEach(t){let a=this[Du];Fu(this,a),a.iterationDepth++;try{P.forEach(this.handlers,function(n){n!==null&&t(n)})}finally{--a.iterationDepth||(Fu(this,a),wk(this.handlers),a.handlersLength=yk(this.handlers))}}},Px=Ix;var rs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0};var bk=typeof URLSearchParams<"u"?URLSearchParams:_p;var Lk=typeof FormData<"u"?FormData:null;var Sk=typeof Blob<"u"?Blob:null;var _k={isBrowser:!0,classes:{URLSearchParams:bk,FormData:Lk,Blob:Sk},protocols:["http","https","file","blob","url","data"]};var Tx={};Q2(Tx,{hasBrowserEnv:()=>Ex,hasStandardBrowserEnv:()=>o5,hasStandardBrowserWebWorkerEnv:()=>n5,navigator:()=>Rx,origin:()=>i5});var Ex=typeof window<"u"&&typeof document<"u",Rx=typeof navigator=="object"&&navigator||void 0,o5=Ex&&(!Rx||["ReactNative","NativeScript","NS"].indexOf(Rx.product)<0),n5=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",i5=Ex&&window.location.href||"http://localhost";var De={...Tx,..._k};function Ax(e,t){return Bo(e,new De.classes.URLSearchParams,{visitor:function(a,r,n,i){return De.isNode&&P.isBuffer(a)?(this.append(r,a.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}var Ck=kx;function kk(e){if(e>Ck)throw new j("FormData field is too deeply nested ("+e+" levels). Max depth: "+Ck,j.ERR_FORM_DATA_DEPTH_EXCEEDED)}function s5(e){let t=[],a=/[^.[\]]+|\[([^.[\]]*)]/g,r;for(;(r=a.exec(e))!==null;)kk(t.length),t.push(r[0]==="[]"?"":r[1]||r[0]);return t}function l5(e){let t={},a=Object.keys(e),r,n=a.length,i;for(r=0;r<n;r++)i=a[r],t[i]=e[i];return t}function u5(e){function t(a,r,n,i){kk(i);let l=a[i++];if(l==="__proto__")return!0;let d=Number.isFinite(+l),c=i>=a.length;return l=!l&&P.isArray(n)?n.length:l,c?(P.hasOwnProp(n,l)?n[l]=P.isArray(n[l])?n[l].concat(r):[n[l],r]:n[l]=r,!d):((!P.hasOwnProp(n,l)||!P.isObject(n[l]))&&(n[l]=[]),t(a,r,n[l],i)&&P.isArray(n[l])&&(n[l]=l5(n[l])),!d)}if(P.isFormData(e)&&P.isFunction(e.entries)){let a={};return P.forEachEntry(e,(r,n)=>{t(s5(r),n,a,0)}),a}return null}var Cp=u5;var d5=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]),kp=d5;var os=(e,t)=>e!=null&&P.hasOwnProp(e,t)?e[t]:void 0;function c5(e,t,a){if(P.isString(e))try{return(t||JSON.parse)(e),P.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(a||JSON.stringify)(e)}var Mx={transitional:rs,adapter:["xhr","http","fetch"],transformRequest:[function(t,a){let r=a.getContentType()||"",n=r.indexOf("application/json")>-1,i=P.isObject(t);
21if(i&&P.isHTMLForm(t)&&(t=new FormData(t)),P.isFormData(t))return n?JSON.stringify(Cp(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t)||P.isReadableStream(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let d;if(i){let c=os(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return Ax(t,c).toString();if((d=P.isFileList(t))||r.indexOf("multipart/form-data")>-1){let p=os(this,"env"),h=p&&p.FormData;return Bo(d?{"files[]":t}:t,h&&new h,c)}}return i||n?(a.setContentType("application/json",!1),c5(t)):t}],transformResponse:[function(t){let a=os(this,"transitional")||Mx.transitional,r=a&&a.forcedJSONParsing,n=os(this,"responseType"),i=n==="json";if(P.isResponse(t)||P.isReadableStream(t))return t;if(t&&P.isString(t)&&(r&&!n||i)){let d=!(a&&a.silentJSONParsing)&&i;try{return JSON.parse(t,os(this,"parseReviver"))}catch(c){if(d)throw c.name==="SyntaxError"?j.from(c,j.ERR_BAD_RESPONSE,this,null,os(this,"response")):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:De.classes.FormData,Blob:De.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};P.forEach(kp,e=>{Mx.headers[e]={}});var ns=Mx;function Bu(e,t){let a=this||ns,r=t||a,n=Xe.from(r.headers),i=r.data;return P.forEach(e,function(d){i=d.call(a,i,n.normalize(),t?t.status:void 0)}),n.normalize(),i}function Ou(e){return!!(e&&e.__CANCEL__)}var Dx=class extends j{constructor(t,a,r){super(t??"canceled",j.ERR_CANCELED,a,r),this.name="CanceledError",this.__CANCEL__=!0}},hr=Dx;function Nu(e,t,a){let r=a.config.validateStatus;!a.status||!r||r(a.status)?e(a):t(new j("Request failed with status code "+a.status,a.status>=400&&a.status<500?j.ERR_BAD_REQUEST:j.ERR_BAD_RESPONSE,a.config,a.request,a))}var f5=/[\t\n\r]/g;function zu(e){if(typeof e!="string")return e;let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t).replace(f5,"")}function Vu(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function p5(e,t){e=e||10;let a=new Array(e),r=new Array(e),n=0,i=0,l;return t=t!==void 0?t:1e3,function(c){let p=Date.now(),h=r[i];l||(l=p),a[n]=c,r[n]=p;let g=i,x=0;for(;g!==n;)x+=a[g++],g=g%e;if(n=(n+1)%e,n===i&&(i=(i+1)%e),p-l<t)return;let b=h&&p-h;return b?Math.round(x*1e3/b):void 0}}var Ik=p5;function h5(e,t){let a=0,r=1e3/t,n,i,l=(h,g=Date.now())=>{a=g,n=null,i&&(clearTimeout(i),i=null),e(...h)};return[(...h)=>{let g=Date.now(),x=g-a;x>=r?l(h,g):(n=h,i||(i=setTimeout(()=>{i=null,l(n)},r-x)))},()=>n&&l(n),(...h)=>l(h)]}var Pk=h5;var is=(e,t,a=3)=>{let r=0,n=Ik(50,250);return Pk(i=>{if(!i||!P.isNumber(i.loaded))return;let l=i.loaded,d=i.lengthComputable?i.total:void 0,c=Math.max(0,d!=null?Math.min(l,d):l),p=Math.max(0,c-r),h=n(p);r=Math.max(r,c);let g={loaded:c,total:d,progress:d?c/d:void 0,bytes:p,rate:h||void 0,estimated:h&&d?(d-c)/h:void 0,event:i,lengthComputable:d!=null,[t?"download":"upload"]:!0};e(g)},a)},Fx=(e,t)=>{let a=e!=null;return[r=>t[0]({lengthComputable:a,total:e,loaded:r}),t[1]]},Bx=(e,t=P.asap)=>(...a)=>t(()=>e(...a));var Rk=De.hasStandardBrowserEnv?((e,t)=>a=>(a=new URL(a,De.origin),e.protocol===a.protocol&&e.host===a.host&&(t||e.port===a.port)))(new URL(De.origin),De.navigator&&/(msie|trident)/i.test(De.navigator.userAgent)):()=>!0;var Ek=De.hasStandardBrowserEnv?{write(e,t,a,r,n,i,l){if(typeof document>"u")return;let d=[`${e}=${encodeURIComponent(t)}`];P.isNumber(a)&&d.push(`expires=${new Date(a).toUTCString()}`),P.isString(r)&&d.push(`path=${r}`),P.isString(n)&&d.push(`domain=${n}`),i===!0&&d.push("secure"),P.isString(l)&&d.push(`SameSite=${l}`),document.cookie=d.join("; ")},read(e){if(typeof document>"u")return null;let t=document.cookie.split(";");for(let a=0;a<t.length;a++){let r=t[a].replace(/^\s+/,""),n=r.indexOf("=");if(n!==-1&&r.slice(0,n)===e)try{return decodeURIComponent(r.slice(n+1))}catch{return r.slice(n+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Ox(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Nx(e,t){if(!t)return e;let a=e.length;for(;a>0&&e.charCodeAt(a-1)===47;)a--;return e.slice(0,a)+"/"+t.replace(/^\/+/,"")}var m5=/^https?:(?!\/\/)/i;function g5(e){return e&&e.replace(/(^|&)([^=&]*=)?[^&]+/g,(t,a,r="")=>`${a}${r}${Au}`)}function v5(e){let t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Au}@`),a=t.indexOf("#"),n=(a===-1?t:t.slice(0,a)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Au}`);return a===-1?n:`${n}#${g5(t.slice(a+1))}`}function Tk(e,t){if(typeof e=="string"){let a=zu(e);if(m5.test(a))throw new j(`Invalid URL ${JSON.stringify(v5(a))}: missing "//" after protocol`,j.ERR_INVALID_URL,t)}}function Uu(e,t,a,r){Tk(t,r);let n=!Ox(t);return e&&(n||a===!1)?(Tk(e,r),Nx(e,t)):t}var Ak=e=>e instanceof Xe?{...e}:e,x5=e=>Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(e).concat(Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)):Object.keys(e);function ja(e,t){e=e||{},t=t||{};let a=Object.create(null);Object.defineProperty(a,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(h,g,x,b){return P.isPlainObject(h)&&P.isPlainObject(g)?P.merge.call({caseless:b},h,g):P.isPlainObject(g)?P.merge({},g):P.isArray(g)?g.slice():g}function n(h,g,x,b){if(P.isUndefined(g)){if(!P.isUndefined(h))return r(void 0,h,x,b)}else return r(h,g,x,b)}function i(h,g){if(!P.isUndefined(g))return r(void 0,g)}function l(h,g){if(P.isUndefined(g)){if(!P.isUndefined(h))return r(void 0,h)}else return r(void 0,g)}function d(h){let g=P.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!P.isUndefined(g))if(P.isPlainObject(g)){if(P.hasOwnProp(g,h))return g[h]}else return;let x=P.hasOwnProp(e,"transitional")?e.transitional:void 0;if(P.isPlainObject(x)&&P.hasOwnProp(x,h))return x[h]}function c(h,g,x){if(P.hasOwnProp(t,x))return r(h,g);if(P.hasOwnProp(e,x))return r(void 0,h)}let p={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutErrorMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,allowedSocketPaths:l,responseEncoding:l,validateStatus:c,headers:(h,g,x)=>n(Ak(h),Ak(g),x,!0)};return P.forEach(x5({...e,...t}),function(g){if(g==="__proto__"||g==="constructor"||g==="prototype")return;let x=P.hasOwnProp(p,g)?p[g]:n,b=P.hasOwnProp(e,g)?e[g]:void 0,_=P.hasOwnProp(t,g)?t[g]:void 0,C=x(b,_,g);P.isUndefined(C)&&x!==c||(a[g]=C)}),P.hasOwnProp(t,"validateStatus")&&P.isUndefined(t.validateStatus)&&d("validateStatusUndefinedResolves")===!1&&(P.hasOwnProp(e,"validateStatus")?a.validateStatus=r(void 0,e.validateStatus):delete a.validateStatus),a}var w5=["content-type","content-length"];function zx(e,t,a){if(a!=="content-only"){e.set(t);return}Object.entries(t||{}
21).forEach(([r,n])=>{w5.includes(r.toLowerCase())&&e.set(r,n)})}var y5=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,a)=>String.fromCharCode(parseInt(a,16)));function b5(e){let t=ja({},e),a=x=>P.hasOwnProp(t,x)?t[x]:void 0,r=a("data"),n=a("withXSRFToken"),i=a("xsrfHeaderName"),l=a("xsrfCookieName"),d=a("headers"),c=a("auth"),p=a("baseURL"),h=a("allowAbsoluteUrls"),g=a("url");if(t.headers=d=Xe.from(d),t.url=Mu(Uu(p,g,h,t),a("params"),a("paramsSerializer")),c){let x=P.getSafeProp(c,"username")||"",b=P.getSafeProp(c,"password")||"";try{d.set("Authorization","Basic "+btoa(x+":"+(b?y5(b):"")))}catch(_){throw j.from(_,j.ERR_BAD_OPTION_VALUE,e)}}if(P.isFormData(r)){let x=P.getSafeProp(r,"getHeaders");De.hasStandardBrowserEnv||De.hasStandardBrowserWebWorkerEnv||P.isReactNative(r)?d.setContentType(void 0):P.isFunction(x)&&zx(d,x.call(r),a("formDataHeaderPolicy"))}if(De.hasStandardBrowserEnv&&(P.isFunction(n)&&(n=n(t)),n===!0||n==null&&Rk(t.url))){let b=i&&l&&Ek.read(l);b&&d.set(i,b)}return t}var Ip=b5;var L5=typeof XMLHttpRequest<"u",Mk=L5&&function(e){return new Promise(function(a,r){let n=Ip(e),i=n.data,l=Xe.from(n.headers).normalize(),{responseType:d,onUploadProgress:c,onDownloadProgress:p}=n,h,g,x,b,_,C;function R(){b&&b(),_&&_(),n.cancelToken&&n.cancelToken.unsubscribe(h),n.signal&&n.signal.removeEventListener("abort",h)}let v=new XMLHttpRequest;v.open(n.method.toUpperCase(),n.url,!0),v.timeout=n.timeout;function w(k){if(!v)return;if(v.status===0&&(Vu(zu(n.url))||Vu(De.origin))!=="file"&&!(v.responseURL&&v.responseURL.startsWith("file:"))){r(new j("Request aborted",j.ECONNABORTED,e,v)),R(),v=null;return}try{k?C&&C(k):_&&_()}catch(F){setTimeout(()=>{throw F})}if(!v)return;let A=Xe.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),B={data:!d||d==="text"||d==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:A,config:e,request:v};Nu(function(V){a(V),R()},function(V){r(V),R()},B),v=null}"onloadend"in v?v.onloadend=w:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.startsWith("file:"))||setTimeout(w)},v.onabort=function(){v&&(r(new j("Request aborted",j.ECONNABORTED,e,v)),R(),v=null)},v.onerror=function(A){let O=A&&A.message?A.message:"Network Error",B=new j(O,j.ERR_NETWORK,e,v);B.event=A||null,r(B),R(),v=null},v.ontimeout=function(){let A=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded",O=n.transitional||rs;n.timeoutErrorMessage&&(A=n.timeoutErrorMessage),r(new j(A,O.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,e,v)),R(),v=null},i===void 0&&l.setContentType(null),"setRequestHeader"in v&&P.forEach(Lp(l),function(A,O){v.setRequestHeader(O,A)}),P.isUndefined(n.withCredentials)||(v.withCredentials=!!n.withCredentials),d&&d!=="json"&&(v.responseType=n.responseType),p&&([x,_,C]=is(p,!0),v.addEventListener("progress",x)),c&&v.upload&&([g,b]=is(c),v.upload.addEventListener("progress",g),v.upload.addEventListener("loadend",b)),(n.cancelToken||n.signal)&&(h=k=>{v&&(r(!k||k.type?new hr(null,e,v):k),v.abort(),R(),v=null)},n.cancelToken&&n.cancelToken.subscribe(h),n.signal&&(n.signal.aborted?h():n.signal.addEventListener("abort",h)));let S=Vu(n.url);if(S&&!De.protocols.includes(S)){r(new j("Unsupported protocol "+S+":",j.ERR_BAD_REQUEST,e)),R();return}v.send(i||null)})};var S5=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let a=new AbortController,r=!1,n=function(c){if(!r){r=!0,l();let p=c instanceof Error?c:this.reason;a.abort(p instanceof j?p:new hr(p instanceof Error?p.message:p))}},i=t&&setTimeout(()=>{i=null,n(new j(`timeout of ${t}ms exceeded`,j.ETIMEDOUT))},t),l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(n):c.removeEventListener("abort",n)}),e=null)};e.forEach(c=>{if(!r){if(c.aborted){n.call(c);return}c.addEventListener("abort",n,{once:!0})}});let{signal:d}=a;return d.unsubscribe=()=>P.asap(l),d},Dk=S5;var _5=function*(e,t){let a=e.byteLength;if(!t||a<t){yield e;return}let r=0,n;for(;r<a;)n=r+t,yield e.slice(r,n),r=n},C5=async function*(e,t){for await(let a of k5(e))yield*_5(a,t)},k5=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:a,value:r}=await t.read();if(a)break;yield r}}finally{await t.cancel()}},Vx=(e,t,a,r)=>{let n=C5(e,t),i=0,l,d=c=>{l||(l=!0,r&&r(c))};return new ReadableStream({async pull(c){try{let{done:p,value:h}=await n.next();if(p){d(),c.close();return}let g=h.byteLength;if(a){let x=i+=g;a(x)}c.enqueue(new Uint8Array(h))}catch(p){throw d(p),p}},cancel(c){return d(c),n.return()}},{highWaterMark:2})};var Fk=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Ok=(e,t,a)=>t+2<a&&Fk(e.charCodeAt(t+1))&&Fk(e.charCodeAt(t+2)),Bk=e=>e<=57?e-48:(e&223)-55,I5=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===47||e===45||e===95,P5=e=>e===9||e===10||e===12||e===13||e===32,R5=e=>{let t=Math.floor(e/4),a=e%4;return t*3+(a===2?1:a===3?2:0)},E5=e=>{let t=e.length,a=0;return t>0&&e.charCodeAt(t-1)===61&&(a++,t>1&&e.charCodeAt(t-2)===61&&a++),Math.floor((t-a)*3/4)},T5=e=>{let t=e.length,a=0,r=0,n=!1;for(let i=0;i<t;i++){let l=e.charCodeAt(i);if(l===37&&Ok(e,i,t)&&(l=Bk(e.charCodeAt(i+1))*16+Bk(e.charCodeAt(i+2)),i+=2),!P5(l)){if(l===61){r++;continue}if(!I5(l)||r>0){n=!0;continue}a++}}return n||r>2||r>0&&(a+r)%4!==0||a%4===1?E5(e):R5(a)},A5=(e,t)=>{if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;let a=e.indexOf(",");if(a<0)return 0;let r=e.slice(5,a),n=e.slice(a+1);if(/;base64/i.test(r))return t(n);let l=0;
21for(let d=0,c=n.length;d<c;d++){let p=n.charCodeAt(d);if(p===37&&Ok(n,d,c))l+=1,d+=2;else if(p<128)l+=1;else if(p<2048)l+=2;else if(p>=55296&&p<=56319&&d+1<c){let h=n.charCodeAt(d+1);h>=56320&&h<=57343?(l+=4,d++):l+=3}else l+=3}return l};function Ux(e){let t=typeof e=="string"?e.indexOf("#"):-1;return A5(t===-1?e:e.slice(0,t),T5)}var ss="1.20.0";var Nk=64*1024,M5={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:Pp}=P,D5=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,a)=>String.fromCharCode(parseInt(a,16))),zk=e=>{if(!P.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Vk=(e,...t)=>{try{return!!e(...t)}catch{return!1}},F5=e=>{let t=e.indexOf("://"),a=e;return t!==-1&&(a=a.slice(t+3)),a.includes("@")||a.includes(":")},B5=e=>{let t=P.global!==void 0&&P.global!==null?P.global:globalThis,{ReadableStream:a,TextEncoder:r}=t;e=P.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);let{fetch:n,Request:i,Response:l}=e,d=n?Pp(n):typeof fetch=="function",c=Pp(i),p=Pp(l);if(!d)return!1;let h=d&&Pp(a),g=d&&(typeof r=="function"?(v=>w=>v.encode(w))(new r):async v=>new Uint8Array(await new i(v).arrayBuffer())),x=c&&h&&Vk(()=>{let v=!1,w=new i(De.origin,{body:new a,method:"POST",get duplex(){return v=!0,"half"}}),S=w.headers.has("Content-Type");return w.body!=null&&w.body.cancel(),v&&!S}),b=p&&h&&Vk(()=>P.isReadableStream(new l("").body)),_={stream:b&&(v=>v.body)};d&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!_[v]&&(_[v]=(w,S)=>{let k=w&&w[v];if(k)return k.call(w);throw new j(`Response type '${v}' is not supported`,j.ERR_NOT_SUPPORT,S)})});let C=async v=>{if(v==null)return 0;if(P.isBlob(v))return v.size;if(P.isSpecCompliantForm(v))return(await new i(De.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(P.isArrayBufferView(v)||P.isArrayBuffer(v))return v.byteLength;if(P.isURLSearchParams(v)&&(v=v+""),P.isString(v))return(await g(v)).byteLength},R=async(v,w)=>{let S=P.toFiniteNumber(v.getContentLength());return S??C(w)};return async v=>{let{url:w,method:S,data:k,signal:A,cancelToken:O,timeout:B,onDownloadProgress:F,onUploadProgress:V,responseType:D,headers:K,withCredentials:X="same-origin",fetchOptions:oe,maxContentLength:Q,maxBodyLength:ye,maxRedirects:$}=Ip(v),zt=P.isNumber(Q)&&Q>-1,H=P.isNumber(ye)&&ye>-1,Y=Se=>P.hasOwnProp(v,Se)?v[Se]:void 0,Ie=n||fetch;D=D?(D+"").toLowerCase():"text";let de=Dk([A,O&&O.toAbortSignal()],B),ce=null,ve=de&&de.unsubscribe&&(()=>{de.unsubscribe()}),le,Et=null,_a=()=>new j("Request body larger than maxBodyLength limit",j.ERR_BAD_REQUEST,v,ce);try{let Se,Lt=Y("auth");if(Lt){let ne=P.getSafeProp(Lt,"username")||"",Qe=P.getSafeProp(Lt,"password")||"";Se={username:ne,password:Qe}}if(F5(w)){let ne=new URL(w,De.origin);if(!Se&&(ne.username||ne.password)){let Qe=zk(ne.username),ka=zk(ne.password);Se={username:Qe,password:ka}}(ne.username||ne.password)&&(ne.username="",ne.password="",w=ne.href)}if(Se&&(K.delete("authorization"),K.set("Authorization","Basic "+btoa(D5((Se.username||"")+":"+(Se.password||""))))),zt&&typeof w=="string"&&w.startsWith("data:")&&Ux(w)>Q)throw new j("maxContentLength size of "+Q+" exceeded",j.ERR_BAD_RESPONSE,v,ce);if(H&&S!=="get"&&S!=="head"){let ne=await C(k);if(typeof ne=="number"&&isFinite(ne)&&(le=ne,ne>ye))throw _a()}let Wr=H&&(P.isReadableStream(k)||P.isStream(k)),Gr=(ne,Qe,ka)=>Vx(ne,Nk,Ga=>{if(H&&Ga>ye)throw Et=_a();Qe&&Qe(Ga)},ka);if(x&&S!=="get"&&S!=="head"&&(V||Wr)){if(le=le??await R(K,k),le!==0||Wr){let ne=new i(w,{method:"POST",body:k,duplex:"half"}),Qe;if(P.isFormData(k)&&(Qe=ne.headers.get("content-type"))&&K.setContentType(Qe),ne.body){let[ka,Ga]=V&&Fx(le,is(Bx(V)))||[];k=Gr(ne.body,ka,Ga)}}}else if(Wr&&!c&&h&&S!=="get"&&S!=="head")k=Gr(k);else if(Wr&&c&&!x&&S!=="get"&&S!=="head")throw new j("Stream request bodies are not supported by the current fetch implementation",j.ERR_NOT_SUPPORT,v,ce);P.isString(X)||(X=X?"include":"omit");let hs=c&&"credentials"in i.prototype;if(P.isFormData(k)){let ne=K.getContentType();ne&&/^multipart\/form-data/i.test(ne)&&!/boundary=/i.test(ne)&&K.delete("content-type")}K.set("User-Agent","axios/"+ss,!1);let $t=oe==null?oe:Object.assign(Object.create(null),oe);$t&&(delete $t.body,delete $t.headers,delete $t.method,delete $t.signal,delete $t.duplex,delete $t.credentials);let na=Object.assign(Object.create(null),$t,{signal:de,method:S.toUpperCase(),headers:Lp(K.normalize()),body:k,duplex:"half",credentials:hs?X:void 0});c&&(P.forEach(M5,(ne,Qe)=>
21{na[Qe]===void 0&&(na[Qe]=ne)}),na.signal===void 0&&(na.signal=null),na.body===void 0&&(na.body=null)),$===0&&(na.redirect="manual",$t&&($t.redirect="manual")),ce=c&&new i(w,na);let ia=await(c?Ie(ce,$t):Ie(w,na)),Dn=Xe.from(ia.headers);if(zt){let ne=P.toFiniteNumber(Dn.getContentLength());if(ne!=null&&ne>Q)throw new j("maxContentLength size of "+Q+" exceeded",j.ERR_BAD_RESPONSE,v,ce)}let Zr=b&&(D==="stream"||D==="response");if(b&&ia.body&&(F||zt||Zr&&ve)){let ne={};["status","statusText","headers"].forEach(gr=>{ne[gr]=ia[gr]});let Qe=P.toFiniteNumber(Dn.getContentLength()),[ka,Ga]=F&&Fx(Qe,is(Bx(F),!0))||[],$u=0,Np=gr=>{if(zt&&($u=gr,$u>Q))throw new j("maxContentLength size of "+Q+" exceeded",j.ERR_BAD_RESPONSE,v,ce);ka&&ka(gr)};ia=new l(Vx(ia.body,Nk,Np,()=>{Ga&&Ga(),ve&&ve()}),ne)}D=D||"text";let Ca=await _[P.findKey(_,D)||"text"](ia,v);if(zt&&!b&&!Zr){let ne;if(Ca!=null&&(typeof Ca.byteLength=="number"?ne=Ca.byteLength:typeof Ca.size=="number"?ne=Ca.size:typeof Ca=="string"&&(ne=typeof r=="function"?new r().encode(Ca).byteLength:Ca.length)),typeof ne=="number"&&ne>Q)throw new j("maxContentLength size of "+Q+" exceeded",j.ERR_BAD_RESPONSE,v,ce)}return!Zr&&ve&&ve(),await new Promise((ne,Qe)=>{Nu(ne,Qe,{data:Ca,headers:Xe.from(ia.headers),status:ia.status,statusText:ia.statusText,config:v,request:ce})})}catch(Se){if(ve&&ve(),de&&de.aborted&&de.reason instanceof j){let Lt=de.reason;throw Lt.config=v,ce&&(Lt.request=ce),Se!==Lt&&Object.defineProperty(Lt,"cause",{__proto__:null,value:Se,writable:!0,enumerable:!1,configurable:!0}),Lt}if(Et)throw ce&&!Et.request&&(Et.request=ce),Et;if(Se instanceof j)throw ce&&!Se.request&&(Se.request=ce),Se;if(Se&&Se.name==="TypeError"&&/Load failed|fetch/i.test(Se.message)){let Lt=new j("Network Error",j.ERR_NETWORK,v,ce,Se&&Se.response);throw Object.defineProperty(Lt,"cause",{__proto__:null,value:Se.cause||Se,writable:!0,enumerable:!1,configurable:!0}),Lt}throw j.from(Se,Se&&Se.code,v,ce,Se&&Se.response)}}},O5=new Map,Hx=e=>{let t=e&&e.env||{},{fetch:a,Request:r,Response:n}=t,i=[r,n,a],l=i.length,d=l,c,p,h=O5;for(;d--;)c=i[d],p=h.get(c),p===void 0&&h.set(c,p=d?new Map:B5(t)),h=p;return p},SJ=Hx();var jx={http:Fo,xhr:Mk,fetch:{get:Hx}};P.forEach(jx,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});var Uk=e=>`- ${e}`,z5=e=>P.isFunction(e)||e===null||e===!1;function V5(e,t){e=P.isArray(e)?e:[e];let{length:a}=e,r,n,i={};for(let l=0;l<a;l++){r=e[l];let d;if(n=r,!z5(r)&&(n=jx[(d=String(r)).toLowerCase()],n===void 0))throw new j(`Unknown adapter '${d}'`);if(n&&(P.isFunction(n)||(n=n.get(t))))break;i[d||"#"+l]=n}if(!n){let l=Object.entries(i).map(([c,p])=>`adapter ${c} `+(p===!1?"is not supported by the environment":"is not available in the build")),d=a?l.length>1?`since :
22`+l.map(Uk).join(`
23`):" "+Uk(l[0]):"as no adapter specified";throw new j("There is no suitable adapter to dispatch the request "+d,j.ERR_NOT_SUPPORT)}return n}var Rp={getAdapter:V5,adapters:jx};function qx(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new hr(null,e)}function Hu(e){let t=P.toSafeFlatObject(e);return qx(t),t.headers=Xe.from(P.getSafeProp(t,"headers")),t.data=Bu.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Rp.getAdapter(t.adapter||ns.adapter,t)(t).then(function(n){qx(t),t.response=n;try{n.data=Bu.call(t,t.transformResponse,n)}finally{delete t.response}return n.headers=Xe.from(n.headers),n},function(n){if(!Ou(n)&&(qx(t),n&&n.response)){t.response=n.response;try{n.response.data=Bu.call(t,t.transformResponse,n.response)}finally{delete t.response}n.response.headers=Xe.from(n.response.headers)}return Promise.reject(n)})}var Ep={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ep[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Hk={};Ep.transitional=function(t,a,r){function n(i,l){return"[Axios v"+ss+"] Transitional option '"+i+"'"+l+(r?". "+r:"")}return(i,l,d)=>{if(t===!1)throw new j(n(l," has been removed"+(a?" in "+a:"")),j.ERR_DEPRECATED);return a&&!Hk[l]&&(Hk[l]=!0,console.warn(n(l," has been deprecated since v"+a+" and will be removed in the near future"))),t?t(i,l,d):!0}};Ep.spelling=function(t){return(a,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function U5(e,t,a){if(typeof e!="object"||e===null)throw new j("options must be an object",j.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),n=r.length;for(;n-- >0;){let i=r[n],l=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(l){let d=e[i],c=d===void 0||l(d,i,e);if(c!==!0)throw new j("option "+i+" must be "+c,j.ERR_BAD_OPTION_VALUE);continue}if(a!==!0)throw new j("Unknown option "+i,j.ERR_BAD_OPTION)}}var ju={assertOptions:U5,validators:Ep};var Rt=ju.validators,ls=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Px,response:new Px}}async request(t,a){try{return await this._request(t,a)}catch(r){if(r instanceof Error)try{let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;let i=n.stack,l="";if(typeof i=="string"){let d=i.indexOf(`
24`);l=d===-1?"":i.slice(d+1)}if(!r.stack)r.stack=l;else if(l){let d=l.indexOf(`
25`),c=d===-1?-1:l.indexOf(`
26`,d+1),p=c===-1?"":l.slice(c+1);String(r.stack).endsWith(p)||(r.stack+=`
27`+l)}}catch{}throw r}}_request(t,a){typeof t=="string"?(a=a||{},a.url=t):a=t||{},a=ja(this.defaults,a);let{transitional:r,paramsSerializer:n,headers:i}=a;r!==void 0&&ju.assertOptions(r,{silentJSONParsing:Rt.transitional(Rt.boolean),forcedJSONParsing:Rt.transitional(Rt.boolean),clarifyTimeoutError:Rt.transitional(Rt.boolean),legacyInterceptorReqResOrdering:Rt.transitional(Rt.boolean),advertiseZstdAcceptEncoding:Rt.transitional(Rt.boolean),validateStatusUndefinedResolves:Rt.transitional(Rt.boolean)}
27,!1),n!=null&&(P.isFunction(n)?a.paramsSerializer={serialize:n}:ju.assertOptions(n,{encode:Rt.function,serialize:Rt.function},!0)),a.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?a.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:a.allowAbsoluteUrls=!0),ju.assertOptions(a,{baseUrl:Rt.spelling("baseURL"),withXsrfToken:Rt.spelling("withXSRFToken")},!0),a.method=(P.getSafeProp(a,"method")||P.getSafeProp(this.defaults,"method")||"get").toLowerCase();let l=i&&P.merge(i.common,i[a.method]);i&&P.forEach(kp.concat("common"),_=>{delete i[_]}),a.headers=Xe.concat(l,i);let d=[],c=!0;this.interceptors.request.forEach(function(C){if(typeof C.runWhen=="function"&&C.runWhen(a)===!1)return;c=c&&C.synchronous;let R=a.transitional||rs;R&&R.legacyInterceptorReqResOrdering?d.unshift(C.fulfilled,C.rejected):d.push(C.fulfilled,C.rejected)});let p=[];this.interceptors.response.forEach(function(C){p.push(C.fulfilled,C.rejected)});let h,g=0,x;if(!c){let _=[Hu.bind(this),void 0];for(_.unshift(...d),_.push(...p),x=_.length,h=Promise.resolve(a);g<x;)h=h.then(_[g++],_[g++]);return h}x=d.length;let b=a;for(;g<x;){let _=d[g++],C=d[g++];try{b=_?_(b):b}catch(R){if(!C){h=Promise.reject(R);break}try{let v=C.call(this,R);P.isThenable(v)&&(h=Promise.resolve(v).then(()=>Hu.call(this,b)))}catch(v){h=Promise.reject(v)}break}}if(!h)try{h=Hu.call(this,b)}catch(_){h=Promise.reject(_)}for(g=0,x=p.length;g<x;)h=h.then(p[g++],p[g++]);return h}getUri(t){t=ja(this.defaults,t);let a=Uu(t.baseURL,t.url,t.allowAbsoluteUrls,t);return Mu(a,t.params,t.paramsSerializer)}};P.forEach(["delete","get","head","options"],function(t){ls.prototype[t]=function(a,r){return this.request(ja(r||{},{method:t,url:a,data:r&&P.hasOwnProp(r,"data")?r.data:void 0}))}});P.forEach(["post","put","patch","query"],function(t){function a(r){return function(i,l,d){return this.request(ja(d||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:l}))}}ls.prototype[t]=a(),t!=="query"&&(ls.prototype[t+"Form"]=a(!0))});var qu=ls;var Wx=class e{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let a;this.promise=new Promise(function(i){a=i});let r=this;this.promise.then(n=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](n);r._listeners=null}),this.promise.then=n=>{let i,l=new Promise(d=>{r.subscribe(d),i=d}).then(n);return l.cancel=function(){r.unsubscribe(i)},l},t(function(i,l,d){r.reason||(r.reason=new hr(i,l,d),a(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let a=this._listeners.indexOf(t);a!==-1&&this._listeners.splice(a,1)}toAbortSignal(){let t=new AbortController,a=r=>{t.abort(r)};return this.subscribe(a),t.signal.unsubscribe=()=>this.unsubscribe(a),t.signal}static source(){let t;return{token:new e(function(n){t=n}),cancel:t}}},jk=Wx;function Gx(e){return function(a){return e.apply(null,a)}}function Zx(e){return P.isObject(e)&&e.isAxiosError===!0}var Tp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
27alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Tp).forEach(([e,t])=>{Tp[t]===void 0&&(Tp[t]=e)});var qk=Tp;function Wk(e){let t=new qu(e),a=ku(qu.prototype.request,t);return P.extend(a,qu.prototype,t,{allOwnKeys:!0}),P.extend(a,t,null,{allOwnKeys:!0}),a.create=function(n){return Wk(ja(e,n))},a}var ot=Wk(ns);ot.Axios=qu;ot.CanceledError=hr;ot.CancelToken=jk;ot.isCancel=Ou;ot.VERSION=ss;ot.toFormData=Bo;ot.AxiosError=j;ot.Cancel=ot.CanceledError;ot.all=function(t){return Promise.all(t)};ot.spread=Gx;ot.isAxiosError=Zx;ot.mergeConfig=ja;ot.AxiosHeaders=Xe;ot.formToJSON=e=>
vendor: 6,416 bytes, line 27
27Cp(P.isHTMLForm(e)?new FormData(e):e);ot.getAdapter=Rp.getAdapter;ot.HttpStatusCode=qk;ot.default=ot;var Ap=ot;var{Axios:LQ,AxiosError:SQ,CanceledError:_Q,isCancel:CQ,CancelToken:kQ,VERSION:IQ,all:PQ,Cancel:RQ,isAxiosError:EQ,spread:TQ,toFormData:AQ,AxiosHeaders:MQ,HttpStatusCode:DQ,formToJSON:FQ,getAdapter:BQ,mergeConfig:OQ,create:NQ}=Ap;function Gk(e){var t,a,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(a=Gk(e[t]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function Zk(){for(var e,t,a=0,r="",n=arguments.length;a<n;a++)(e=arguments[a])&&(t=Gk(e))&&(r&&(r+=" "),r+=t);return r}var H5=e=>{let t=q5(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{let d=l.split("-");return d[0]===""&&d.length!==1&&d.shift(),Kk(d,t)||j5(l)},getConflictingClassGroupIds:(l,d)=>{let c=a[l]||[];return d&&r[l]?[...c,...r[l]]:c}}},Kk=(e,t)=>{if(e.length===0)return t.classGroupId;let a=e[0],r=t.nextPart.get(a),n=r?Kk(e.slice(1),r):void 0;if(n)return n;if(t.validators.length===0)return;let i=e.join("-");return t.validators.find(({validator:l})=>l(i))?.classGroupId},$k=/^\[(.+)\]$/,j5=e=>{if($k.test(e)){let t=$k.exec(e)[1],a=t?.substring(0,t.indexOf(":"));if(a)return"arbitrary.."+a}},q5=e=>{let{theme:t,prefix:a}=e,r={nextPart:new Map,validators:[]};return G5(Object.entries(e.classGroups),a).forEach(([i,l])=>{Xx(l,r,i,t)}),r},Xx=(e,t,a,r)=>{e.forEach(n=>{if(typeof n=="string"){let i=n===""?t:Xk(t,n);i.classGroupId=a;return}if(typeof n=="function"){if(W5(n)){Xx(n(r),t,a,r);return}t.validators.push({validator:n,classGroupId:a});return}Object.entries(n).forEach(([i,l])=>{Xx(l,Xk(t,i),a,r)})})},Xk=(e,t)=>{let a=e;return t.split("-").forEach(r=>{a.nextPart.has(r)||a.nextPart.set(r,{nextPart:new Map,validators:[]}),a=a.nextPart.get(r)}),a},W5=e=>e.isThemeGetter,G5=(e,t)=>t?e.map(([a,r])=>{let n=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,d])=>[t+l,d])):i);return[a,n]}):e,Z5=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=new Map,r=new Map,n=(i,l)=>{a.set(i,l),t++,t>e&&(t=0,r=a,a=new Map)};return{get(i){let l=a.get(i);if(l!==void 0)return l;if((l=r.get(i))!==void 0)return n(i,l),l},set(i,l){a.has(i)?a.set(i,l):n(i,l)}}};var $5=e=>{let{separator:t,experimentalParseClassName:a}=e,r=t.length===1,n=t[0],i=t.length,l=d=>{let c=[],p=0,h=0,g;for(let R=0;R<d.length;R++){let v=d[R];if(p===0){if(v===n&&(r||d.slice(R,R+i)===t)){c.push(d.slice(h,R)),h=R+i;continue}if(v==="/"){g=R;continue}}v==="["?p++:v==="]"&&p--}let x=c.length===0?d:d.substring(h),b=x.startsWith("!"),_=b?x.substring(1):x,C=g&&g>h?g-h:void 0;return{modifiers:c,hasImportantModifier:b,baseClassName:_,maybePostfixModifierPosition:C}};return a?d=>a({className:d,parseClassName:l}):l},X5=e=>{if(e.length<=1)return e;let t=[],a=[];return e.forEach(r=>{r[0]==="["?(t.push(...a.sort(),r),a=[]):a.push(r)}),t.push(...a.sort()),t},K5=e=>({cache:Z5(e.cacheSize),parseClassName:$5(e),...H5(e)}),Y5=/\s+/,J5=(e,t)=>{let{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:n}=t,i=[],l=e.trim().split(Y5),d="";for(let c=l.length-1;c>=0;c-=1){let p=l[c],{modifiers:h,hasImportantModifier:g,baseClassName:x,maybePostfixModifierPosition:b}=a(p),_=!!b,C=r(_?x.substring(0,b):x);if(!C){if(!_){d=p+(d.length>0?" "+d:d);continue}if(C=r(x),!C){d=p+(d.length>0?" "+d:d);continue}_=!1}let R=X5(h).join(":"),v=g?R+"!":R,w=v+C;if(i.includes(w))continue;i.push(w);let S=n(C,_);for(let k=0;k<S.length;++k){let A=S[k];i.push(v+A)}d=p+(d.length>0?" "+d:d)}return d};function Q5(){let e=0,t,a,r="";for(;e<arguments.length;)(t=arguments[e++])&&(a=Yk(t))&&(r&&(r+=" "),r+=a);return r}var Yk=e=>{if(typeof e=="string")return e;let t,a="";for(let r=0;r<e.length;r++)e[r]&&(t=Yk(e[r]))&&(a&&(a+=" "),a+=t);return a};function eB(e,...t){let a,r,n,i=l;function l(c){let p=t.reduce((h,g)=>g(h),e());return a=K5(p),r=a.cache.get,n=a.cache.set,i=d,d(c)}function d(c){let p=r(c);if(p)return p;let h=J5(c,a);return n(c,h),h}return function(){return i(Q5.apply(null,arguments))}}var Fe=e=>{let t=a=>a[e]||[];return t.isThemeGetter=!0,t},Jk=/^\[(?:([a-z-]+):)?(.+)\]$/i,tB=/^\d+\/\d+$/,aB=new Set(["px","full","screen"]),rB=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,oB=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,nB=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,iB=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,sB=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qr=e=>us(e)||aB.has(e)||tB.test(e),Oo=e=>ds(e,"length",mB),us=e=>!!e&&!Number.isNaN(Number(e)),$x=e=>ds(e,"number",us),Wu=e=>!!e&&Number.isInteger(Number(e)),lB=e=>e.endsWith("%")&&us(e.slice(0,-1)),ue=e=>Jk.test(e),No=e=>rB.test(e),uB=new Set(["length","size","percentage"]),dB=e=>ds(e,uB,Qk),cB=e=>ds(e,"position",Qk),fB=new Set(["image","url"]),pB=e=>ds(e,fB,vB),hB=e=>ds(e,"",gB),Gu=()=>!0,ds=(e,t,a)=>{let r=Jk.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):a(r[2]):!1},mB=e=>oB.test(e)&&!nB.test(e),Qk=()=>!1,gB=e=>iB.test(e),vB=e=>sB.test(e);var xB=()=>{let e=Fe("colors"),t=Fe("spacing"),a=Fe("blur"),r=Fe("brightness"),n=Fe("borderColor"),i=Fe("borderRadius"),l=Fe("borderSpacing"),d=Fe("borderWidth"),c=Fe("contrast"),p=Fe("grayscale"),h=Fe("hueRotate"),g=Fe("invert"),x=Fe("gap"),b=Fe("gradientColorStops"),_=Fe("gradientColorStopPositions"),C=Fe("inset"),R=Fe("margin"),v=Fe("opacity"),w=Fe("padding"),S=Fe("saturate"),k=Fe("scale"),A=Fe("sepia"),O=Fe("skew"),B=Fe("space"),F=Fe("translate"),V=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",ue,t],X=()=>[ue,t],oe=()=>["",qr,Oo],Q=()=>["auto",us,ue],ye=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],zt=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],H=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",ue],Ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],de=()=>[us,ue];return{cacheSize:500,separator:":",theme:{colors:[Gu],spacing:[qr,Oo],blur:["none","",
vendor: 11,594 bytes, line 27
27No,ue],brightness:de(),borderColor:[e],borderRadius:["none","","full",No,ue],borderSpacing:X(),borderWidth:oe(),contrast:de(),grayscale:Y(),hueRotate:de(),invert:Y(),gap:X(),gradientColorStops:[e],gradientColorStopPositions:[lB,Oo],inset:K(),margin:K(),opacity:de(),padding:X(),saturate:de(),scale:de(),sepia:Y(),skew:de(),space:X(),translate:X()},classGroups:{aspect:[{aspect:["auto","square","video",ue]}],container:["container"],columns:[{columns:[No]}],"break-after":[{"break-after":Ie()}],"break-before":[{"break-before":Ie()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ye(),ue]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[C]}],"inset-x":[{"inset-x":[C]}],"inset-y":[{"inset-y":[C]}],start:[{start:[C]}],end:[{end:[C]}],top:[{top:[C]}],right:[{right:[C]}],bottom:[{bottom:[C]}],left:[{left:[C]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Wu,ue]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ue]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",Wu,ue]}],"grid-cols":[{"grid-cols":[Gu]}],"col-start-end":[{col:["auto",{span:["full",Wu,ue]},ue]}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":[Gu]}],"row-start-end":[{row:["auto",{span:[Wu,ue]},ue]}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ue]}],gap:[{gap:[x]}],"gap-x":[{"gap-x":[x]}],"gap-y":[{"gap-y":[x]}],"justify-content":[{justify:["normal",...H()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...H(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...H(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[R]}],mx:[{mx:[R]}],my:[{my:[R]}],ms:[{ms:[R]}],me:[{me:[R]}],mt:[{mt:[R]}],mr:[{mr:[R]}],mb:[{mb:[R]}],ml:[{ml:[R]}],"space-x":[{"space-x":[B]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[B]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ue,t]}],"min-w":[{"min-w":[ue,t,"min","max","fit"]}],"max-w":[{"max-w":[ue,t,"none","full","min","max","fit","prose",{screen:[No]},No]}],h:[{h:[ue,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ue,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ue,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ue,t,"auto","min","max","fit"]}],"font-size":[{text:["base",No,Oo]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$x]}],"font-family":[{font:[Gu]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ue]}],"line-clamp":[{"line-clamp":["none",us,$x]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",qr,ue]}],"list-image":[{"list-image":["none",ue]}],"list-style-type":[{list:["none","disc","decimal",ue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",qr,Oo]}],"underline-offset":[{"underline-offset":["auto",qr,ue]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:X()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ye(),cB]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",dB]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},pB]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[_]}],"gradient-via-pos":[{via:[_]}],"gradient-to-pos":[{to:[_]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:$()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-s":[{"border-s":[n]}],"border-color-e":[{"border-e":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[qr,ue]}],"outline-w":[{outline:[qr,Oo]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:oe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[qr,Oo]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",No,hB]}],"shadow-color":[{shadow:[Gu]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...zt(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":zt()}],filter:[{filter:["","none"]}],blur:[{blur:[a]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",No,ue]}],grayscale:[{grayscale:[p]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[g]}],saturate:[{saturate:[S]}],sepia:[{sepia:[A]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[a]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[p]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[A]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ue]}],duration:[{duration:de()}],ease:[{ease:["linear","in","out","in-out",ue]}],delay:[{delay:de()}],animate:[{animate:["none","spin","ping","pulse","bounce",ue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[k]}],"scale-x":[{"scale-x":[k]}],"scale-y":[{"scale-y":[k]}],rotate:[{rotate:[Wu,ue]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[O]}],"skew-y":[{"skew-y":[O]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ue]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ue]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":X()}],"scroll-mx":[{"scroll-mx":X()}],"scroll-my":[{"scroll-my":X()}],"scroll-ms":[{"scroll-ms":X()}],"scroll-me":[{"scroll-me":X()}],"scroll-mt":[{"scroll-mt":X()}],"scroll-mr":[{"scroll-mr":X()}],"scroll-mb":[{"scroll-mb":X()}],"scroll-ml":[{"scroll-ml":X()}],"scroll-p":[{"scroll-p":X()}],"scroll-px":[{"scroll-px":X()}],"scroll-py":[{"scroll-py":X()}],"scroll-ps":[{"scroll-ps":X()}],"scroll-pe":[{"scroll-pe":X()}],"scroll-pt":[{"scroll-pt":X()}],"scroll-pr":[{"scroll-pr":X()}],"scroll-pb":[{"scroll-pb":X()}],"scroll-pl":[{"scroll-pl":X()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
27],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ue]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[qr,Oo,$x]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}};var eI=eB(xB);function Nt(...e){return eI(Zk(e))}var Mp=G(ae());function Dp(e=20){let[t,a]=(0,Mp.useState)({x:0,y:0});return(0,Mp.useEffect)(()=>{let r=n=>{let i=(n.clientX/window.innerWidth-.5)*e,l=(n.clientY/window.innerHeight-.5)*e;a({x:i,y:l})};return window.addEventListener("mousemove",r),()=>window.removeEventListener("mousemove",r)},[e]),t}var Fp=G(ae());var cs=G(ht()),tI=["#F2C94C","#2F80ED","#EB3B3B","#27AE60","#ffffff"];function aI(){let[e,t]=(0,Fp.useState)([]);return(0,Fp.useEffect)(()=>{let a=0,r=l=>{let d={id:a++,x:l.clientX,y:l.clientY,color:tI[Math.floor(Math.random()*tI.length)],size:Math.random()*8+4};t(c=>[...c,d]),setTimeout(()=>{t(c=>c.filter(p=>p.id!==d.id))},1e3)},n=0,i=l=>{let d=Date.now();d-n>50&&(r(l),n=d)};return window.addEventListener("mousemove",i),()=>window.removeEventListener("mousemove",i)},[]),(0,cs.jsx)("div",{className:"fixed inset-0 pointer-events-none z-50",children:(0,cs.jsx)($i,{children:e.map(a=>(0,cs.jsx)(yt.div,{initial:{opacity:1,scale:0,x:a.x,y:a.y},animate:{opacity:0,scale:1,x:a.x+(Math.random()-.5)*60,y:a.y+(Math.random()-.5)*60-30},exit:{opacity:0},transition:{duration:.8,ease:"easeOut"},className:"absolute",style:{width:a.size,height:a.size},children:(0,cs.jsx)("svg",{width:a.size,height:a.size,viewBox:"0 0 24 24",fill:a.color,className:"drop-shadow-md",children:(0,cs.jsx)("path",{d:"M12 2L15 8.5L22 9.5L17 14.5L18 21.5L12 18L6 21.5L7 14.5L2 9.5L9 8.5L12 2Z"})})},a.id))})})}var rI=G(ae());var pe=G(ht()),wB="July 8, 2026",fs="[email protected]",zo=({title:e,children:t})=>(0,pe.jsxs)("div",{className:"space-y-2 text-left",children:[(0,pe.jsx)("h3",{className:"font-['Fredoka'] font-bold text-lg text-[#2F80ED]",children:e}),(0,pe.jsx)("div",{className:"text-[#444] text-sm leading-relaxed space-y-2",children:t})]});function oI(){let[e,t]=(0,rI.useState)(!1);return(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)("button",{type:"button",onClick:()=>t(!0),className:"text-gray-400 text-sm underline underline-offset-2 hover:text-[#2F80ED] transition-colors",children:"Privacy Policy"}),e&&(0,pe.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/50",onClick:()=>t(!1),children:(0,pe.jsxs)("div",{role:"dialog","aria-modal":"true","aria-label":"Privacy Policy",className:"relative w-full max-w-2xl max-h-[85vh] overflow-y-auto bg-white rounded-3xl shadow-2xl p-6 md:p-10 space-y-6",onClick:a=>a.stopPropagation(),children:[(0,pe.jsx)("button",{type:"button",onClick:()=>t(!1),"aria-label":"Close privacy policy",className:"absolute top-4 right-4 p-2 rounded-full bg-gray-100 hover:bg-gray-200 text-[#222222] transition-colors",children:(0,pe.jsx)(Fl,{className:"w-5 h-5"})}),(0,pe.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center",children:[(0,pe.jsx)("div",{className:"bg-[#E3F2FD] p-3 rounded-full",children:(0,pe.jsx)(Ml,{className:"w-8 h-8 text-[#2F80ED]"})}),(0,pe.jsx)("h2",{className:"font-['Fredoka'] font-bold text-3xl text-[#222222]",children:"Privacy Policy"}),(0,pe.jsxs)("p",{className:"text-gray-400 text-sm",children:["Effective date: ",wB]})]}),(0,pe.jsx)(zo,{title:"Who we are",children:(0,pe.jsxs)("p",{children:["This website, camsfunchannel.com, is the home of Cam's Fun Channel. It is operated by Cam's parent and guardian, the owner of the Cam's Fun Channel YouTube channel. If you ever have a question about this site, you can email us at"," ",(0,pe.jsx)("a",{href:`mailto:${fs}`,className:"text-[#2F80ED] underline",children:fs}),"."]})}),(0,pe.jsx)(zo,{title:"This site is made for kids, so we keep it simple",children:(0,pe.jsx)("p",{children:"Cam's Fun Channel is directed to children. We do not collect any personal information from children on this site. There are no accounts, no sign ups, no forms, no comments, and no chat. There is nothing here that asks for a name, an email, a photo, or a location, and we like it that way."})}),(0,pe.jsxs)(zo,{title:"Technical data our hosting platform collects",children:[(0,pe.jsx)("p",{children:"This site is hosted on Taskade. Taskade's platform automatically includes a small measurement script on every page it serves. That script records limited technical information when a page loads: the page that was viewed, the page the visitor came from, the browser type, the browser language, and an approximate country that is estimated from the device's time zone setting, not from a precise location."}),(0,pe.jsx)("p",{children:"The script also stores a temporary session ID in a cookie so that a short visit is counted as one visit instead of many. That cookie expires after 30 minutes and does not contain a name, an email, or anything that tells us who a visitor is."}),(0,pe.jsx)("p",{children:"This information is used only to operate the site and count visits, which the law calls support for internal operations. It is not used for advertising, it is not used to build profiles, and it is not shared for marketing."})]}),(0,pe.jsx)(zo,{title:"Videos live on YouTube",children:(0,pe.jsxs)("p",{children:["The videos on this site are embedded from, or link to, YouTube, which is a service provided by Google. When you watch a video, Google's own privacy policy applies. You can read it at"," ",(0,pe.jsx)("a",{href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener noreferrer",className:"text-[#2F80ED] underline",children:"policies.google.com/privacy"}),". The Cam's Fun Channel YouTube channel is designated Made for Kids, which means YouTube limits data collection and turns off personalized ads on our videos."]})}),(0,pe.jsx)(zo,{title:"Book links go to Amazon",children:(0,pe.jsx)("p",{children:"Cam's Reading Corner links to book pages on amazon.com. Clicking a book takes you off our site and over to Amazon, which has its own privacy policy. We recommend a grown-up handles the shopping."})}),(0,pe.jsx)(zo,{title:"Parents, you are in charge",children:(0,pe.jsxs)("p",{children:["Under the Children's Online Privacy Protection Act (COPPA), parents have the right to review any personal information collected from their child, ask for it to be deleted, and refuse to allow any further collection. Because this site does not collect personal information from children, there is normally nothing to review or delete. Even so, you are always welcome to email us at"," ",(0,pe.jsx)("a",{href:`mailto:${fs}`,className:"text-[#2F80ED] underline",children:fs})," ","with any question or request, and we will respond and honor it."]})}),(0,pe.jsx)(zo,{title:"If this policy changes",children:(0,pe.jsx)("p",{children:"If we ever change how this site works, we will update this page and the effective date at the top so you always know what is current."})}),(0,pe.jsx)(zo,{title:"Contact us",children:(0,pe.jsxs)("p",{children:["Cam's Fun Channel, operated by the channel owner's parent and guardian. Email:"," ",(0,pe.jsx)("a",{href:`mailto:${fs}`,className:"text-[#2F80ED] underline",children:fs})]})})]})})]})}var E=G(ht()),Zu="https://www.youtube.com/@CamsFunChannel",nI="https://files.taskade.com/space-files/94bffce5-047e-4e51-b6f3-bcfc64243487/original/unnamed(127).jpg",yB={red:"bg-[#EB3B3B]",green:"bg-[#27AE60]",blue:"bg-[#2F80ED]"},bB=["red","green","blue","red","green","blue"],LB="/api/taskade/projects/Zc4feWwCgnz8uXGu/nodes";async function SB(){let{data:e}=await Ap.get(LB);if(!e?.ok||!Array.isArray(e?.payload?.nodes))throw new Error("Invalid project response");return e.payload.nodes.filter(t=>t.fieldValues?.["/attributes/@vidId"]).map(t=>({id:t.id,title:t.fieldValues["/text"]??"Untitled",videoId:t.fieldValues["/attributes/@vidId"],thumbnail:t.fieldValues["/attributes/@thumb"]??`https://img.youtube.com/vi/${t.fieldValues["/attributes/@vidId"]}/hqdefault.jpg`,views:Number(t.fieldValues["/attributes/@views"]??0),rank:0,color:""})).sort((t,a)=>a.views-t.views).slice(0,6).map((t,a)=>({...t,rank:a+1,color:bB[a]}))}function _B(){let[e,t]=(0,An.useState)([]),[a,r]=(0,An.useState)(!0),[n,i]=(0,An.useState)(!1);return(0,An.useEffect)(()=>{let l=!1;return(async()=>{try{let d=await SB();if(l)return;d.length?(t(d),i(!1)):i(!0)}catch{l||i(!0)}finally{l||r(!1)}})(),()=>{l=!0}},[]),{videos:e,loading:a,error:n}}function CB(){return(0,E.jsxs)("div",{className:"flex flex-col bg-white rounded-3xl overflow-hidden shadow-xl border-4 border-transparent animate-pulse",children:[(0,E.jsx)("div",{className:"aspect-video w-full bg-gray-200"}),(0,E.jsxs)("div",{className:"p-6 flex flex-col items-center gap-3",children:[(0,E.jsx)("div",{className:"h-5 bg-gray-200 rounded-full w-3/4"}),(0,E.jsx)("div",{className:"h-4 bg-gray-100 rounded-full w-1/2"})]})]})}var iI=({text:e,color:t="blue",className:a})=>(0,E.jsxs)("a",{href:Zu,target:"_blank",rel:"noopener noreferrer",onMouseEnter:()=>{try{let i=window.AudioContext||window.webkitAudioContext;if(!i)return;let l=new i,d=l.createOscillator(),c=l.createGain();d.connect(c),c.connect(l.destination),d.type="sine",d.frequency.setValueAtTime(600,l.currentTime),d.frequency.exponentialRampToValueAtTime(300,l.currentTime+.2),c.gain.setValueAtTime(.05,l.currentTime),c.gain.exponentialRampToValueAtTime(.001,l.currentTime+.2),d.start(),d.stop(l.currentTime+.2)}catch(i){console.error("Audio play failed",i)}},className:Nt("inline-flex items-center justify-center gap-3 px-8 py-4","font-['Fredoka'] font-bold text-xl uppercase tracking-wide","rounded-full shadow-[0_6px_0_rgba(0,0,0,0.2)] active:shadow-none active:translate-y-[6px]","transition-all duration-150 ease-out transform hover:scale-105",{blue:"bg-[#2F80ED] hover:bg-[#256ac4] text-white",red:"bg-[#EB3B3B] hover:bg-[#c42b2b] text-white",green:"bg-[#27AE60] hover:bg-[#219150] text-white",yellow:"bg-[#F2C94C] hover:bg-[#d9b443] text-[#222222]"}[t],a),children:[(0,E.jsx)(un,{className:"w-8 h-8"}),e]}),kB={1:"bg-[#F2C94C] text-[#222222]",2:"bg-[#EB3B3B] text-white",3:"bg-[#2F80ED] text-white",4:"bg-[#27AE60] text-white",5:"bg-[#9B51E0] text-white",6:"bg-[#F2994A] text-white"};function IB(e){return e>=1e6?(e/1e6).toFixed(1).replace(/\.0$/,"")+"M":e>
27=1e3?(e/1e3).toFixed(1).replace(/\.0$/,"")+"K":e.toLocaleString()}var Tn=({title:e,videoId:t,color:a,rank:r,views:n})=>{let i=t&&t.length>0,l=r?kB[r]??"bg-[#2F80ED] text-white":null;return(0,E.jsxs)("div",{className:"group relative flex flex-col bg-white rounded-3xl overflow-hidden shadow-xl hover:shadow-2xl hover:-translate-y-2 transition-all duration-300 h-full border-4 border-transparent hover:border-[#2F80ED]",children:[r&&(0,E.jsxs)("div",{className:`absolute top-3 left-3 z-20 w-10 h-10 rounded-full flex items-center justify-center font-['Fredoka'] font-bold text-lg shadow-lg border-2 border-white ${l}`,children:["#",r]}),(0,E.jsx)("div",{className:"aspect-video w-full relative overflow-hidden",children:i?(0,E.jsx)("iframe",{src:`https://www.youtube.com/embed/${t}`,title:e,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"w-full h-full"}):(0,E.jsx)("a",{href:Zu,target:"_blank",rel:"noreferrer",className:"block w-full h-full",children:(0,E.jsxs)("div",{className:Nt("w-full h-full flex items-center justify-center relative",a),children:[(0,E.jsx)("div",{className:"absolute inset-0 bg-black/10 group-hover:bg-transparent transition-colors"}),(0,E.jsx)(Ci,{className:"w-16 h-16 text-white drop-shadow-lg op
27acity-90 group-hover:scale-110 transition-transform duration-300",fill:"currentColor"}),(0,E.jsx)("div",{className:"absolute top-4 right-4 text-white/40",children:(0,E.jsx)(va,{className:"w-8 h-8 rotate-12",fill:"currentColor"})}),(0,E.jsx)("div",{className:"absolute bottom-4 left-4 text-white/40",children:(0,E.jsx)("div",{className:"w-6 h-6 rounded-full bg-current"})})]})})}),(0,E.jsxs)("div",{className:"p-6 flex flex-col items-center text-center grow",children:[(0,E.jsx)("h3",{className:"font-['Fredoka'] font-bold text-xl text-[#222222] leading-tight mb-3 group-hover:text-[#2F80ED] transition-colors",children:e}),n!==void 0&&n>0&&(0,E.jsxs)("div",{className:"flex items-center gap-1.5 bg-gray-50 border border-gray-100 px-3 py-1.5 rounded-full mb-3",children:[(0,E.jsx)(Ci,{className:"w-3.5 h-3.5 text-[#EB3B3B]",fill:"currentColor"}),(0,E.jsxs)("span",{className:"font-['Fredoka'] font-semibold text-sm text-[#444]",children:[IB(n)," views"]})]}),!i&&(0,E.jsxs)("a",{href:Zu,target:"_blank",rel:"noreferrer",className:"mt-auto text-[#2F80ED] font-bold text-sm uppercase tracking-wider flex items-center gap-2 bg-blue-50 px-4 py-2 rounded-full hover:bg-blue-100 transition-colors",children:["Watch on YouTube ",(0,E.jsx)(un,{className:"w-4 h-4"})]})]})]})},PB="https://www.amazon.com/stores/LaToya-Jenkins-Johnson/author/B0CSKSZ349",RB=[{title:"Discovering God's Love: 26 Days of Devotions for Young Children",asin:"B0DJM61XTV",url:"https://www.amazon.com/dp/B0DJM61XTV",img:"https://m.media-amazon.com/images/I/61VSPpOjuML._SY450_.jpg"},{title:"The Alphabet of Self-Love: I Love Who I Am Coloring Book",asin:"B0CVBNHSL9",url:"https://www.amazon.com/dp/B0CVBNHSL9",img:"https://m.media-amazon.com/images/I/71tpkstPUML._SY450_.jpg"},{title:"I Am Who God Says I Am Coloring Book",asin:"B0CV89CRY9",url:"https://www.amazon.com/dp/B0CV89CRY9",img:"https://m.media-amazon.com/images/I/61zJeohUzxL._SY450_.jpg"},{title:"Self-Love Affirmation Handwriting Workbook (Boy Version)",asin:"B0CT9QGN47",url:"https://www.amazon.com/dp/B0CT9QGN47",img:"https://m.media-amazon.com/images/I/61eyA-ZwwZL._SY450_.jpg"},{title:"I AM Who God Says I AM: An ABC Scripture Book",asin:"B0CRKJBX31",url:"https://www.amazon.com/dp/B0CRKJBX31",img:"https://m.media-amazon.com/images/I/61Ly++w9gLL._SY450_.jpg"},{title:"The Alphabet of Self-Love: I Love Who I Am!",asin:"B0CQQLDTKZ",url:"https://www.amazon.com/dp/B0CQQLDTKZ",img:"https://m.media-amazon.com/images/I/61zEG+u3EZL._SY450_.jpg"},{title:"Self-Love Affirmation Handwriting Workbook",asin:"B0CM8Z7GBY",url:"https://www.amazon.com/dp/B0CM8Z7GBY",img:"https://m.media-amazon.com/images/I/61pY3pRzELL._SY450_.jpg"}],EB=({title:e,img:t,url:a})=>(0,E.jsxs)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"group relative flex flex-col bg-white rounded-3xl overflow-hidden shadow-xl hover:shadow-2xl hover:-translate-y-2 transition-all duration-300 h-full border-4 border-transparent hover:border-[#9B51E0]",children:[(0,E.jsx)("div",{className:"aspect-[3/4] w-full bg-[#F3ECFF] flex items-center justify-center p-4 overflow-hidden",children:(0,E.jsx)("img",{src:t,alt:e,loading:"lazy",className:"max-h-full max-w-full object-contain drop-shadow-md group-hover:scale-105 transition-transform duration-300"})}),(0,E.jsxs)("div",{className:"p-5 flex flex-col items-center text-center grow",children:[(0,E.jsx)("h3",{className:"font-['Fredoka'] font-bold text-base md:text-lg text-[#222222] leading-tight mb-4 group-hover:text-[#9B51E0] transition-colors",children:e}),(0,E.jsxs)("span",{className:"mt-auto inline-flex items-center gap-2 text-white font-bold text-sm uppercase tracking-wider bg-[#9B51E0] px-4 py-2 rounded-full group-hover:bg-[#7d3fc0] transition-colors shadow-[0_4px_0_rgba(0,0,0,0.15)]",children:["Get the Book ",(0,E.jsx)(kl,{className:"w-4 h-4"})]})]})]});function TB(){let e=Dp(15),t=Dp(25),a=Dp(35),{videos:r,loading:n,error:i}=_B();return(0,An.useEffect)(()=>{let l=document.createElement("link");return l.href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;600;700&family=Poppins:wght@400;500;600&display=swap",l.rel="stylesheet",document.head.appendChild(l),()=>{document.head.removeChild(l)}},[]),(0,E.jsxs)("div",{className:"min-h-screen bg-white font-['Poppins'] selection:bg-[#F2C94C] selection:text-[#222222]",children:[(0,E.jsx)(aI,{}),(0,E.jsxs)("section",{className:"relative min-h-[90vh] flex flex-col items-center justify-center px-6 py-12 text-center bg-gradient-to-b from-[#0f3b5f] via-[#1e6bb8] to-[#00d4ff] overflow-hidden",children:[(0,E.jsx)("div",{className:"absolute inset-0 opacity-10",style:{backgroundImage:"radial-gradient(#ffffff 2px, transparent 2px)",backgroundSize:"30px 30px"}}),(0,E.jsxs)("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[(0,E.jsx)("div",{className:"absolute top-10 left-10 text-white animate-pulse opacity-30 transition-transform duration-700 ease-out",style:{transform:`translate(${e.x}px, ${e.y}px)`}
27,children:(0,E.jsx)(va,{className:"w-12 h-12",fill:"currentColor"})}),(0,E.jsx)("div",{className:"absolute bottom-20 right-10 text-[#F2C94C] animate-bounce opacity-80 transition-transform duration-500 ease-out",style:{transform:`translate(${a.x}px, ${a.y}px)`},children:(0,E.jsx)(va,{className:"w-16 h-16",fill:"currentColor"})}),(0,E.jsx)("div",{className:"absolute top-1/2 left-[-50px] w-40 h-40 bg-white/10 rounded-full blur-3xl transition-transform duration-1000 ease-out",style:{transform:`translate(${t.x}px, ${t.y}px)`}})]}),(0,E.jsxs)("div",{className:"relative z-10 flex flex-col items-center max-w-4xl mx-auto space-y-8 animate-float",children:[(0,E.jsxs)("div",{className:"relative group",children:[(0,E.jsx)("div",{className:"absolute -inset-2 bg-[#F2C94C] rounded-full animate-spin opacity-50 blur-md transition-opacity duration-700",style:{animationDuration:"8s"}}),(0,E.jsx)("img",{src:nI,alt:"Cam's Fun Channel",className:"relative w-48 h-48 md:w-64 md:h-64 rounded-full border-[8px] border-white shadow-2xl object-cover transform hover:scale-105 transition-transform duration-300"}),(0,E.jsx)("div",{className:"absolute -right-2 -bottom-2 bg-[#EB3B3B] text-white p-3 rounded-full shadow-lg rotate-[-12deg] border-4 border-white",children:(0,E.jsx)(Pl,{fill:"currentColor",className:"w-8 h-8"})})]}),(0,E.jsxs)("div",{className:"space-y-4",children:[(0,E.jsxs)("h1",{className:"font-['Fredoka'] font-bold text-5xl md:text-7xl lg:text-8xl text-white tracking-tight drop-shadow-md",children:["Sing, Build,",(0,E.jsx)("br",{}),(0,E.jsx)("span",{className:"text-[#F2C94C] inline-block transform hover:rotate-2 transition-transform",children:"and Create!"})]}),(0,E.jsx)("p",{className:"text-xl md:text-3xl text-blue-100 font-medium max-w-2xl mx-auto leading-relaxed",children:"ABC songs from around the world, Numberblocks builds, and creative fun with Cam!"})]}),(0,E.jsxs)("div",{className:"flex justify-center items-center gap-6 md:gap-12 py-2",children:[(0,E.jsxs)("div",{className:"flex flex-col items-center gap-2 group transition-transform duration-500 ease-out",style:{transform:`translate(${t.x*.5}px, ${t.y*.5}px)`},children:[(0,E.jsx)("div",{className:"animate-bounce",style:{animationDuration:"3s"},children:(0,E.jsx)("div",{className:"bg-white p-5 rounded-3xl shadow-[0_8px_0_rgba(0,0,0,0.1)] rotate-[-6deg] group-hover:rotate-0 group-hover:scale-110 transition-all duration-300",children:(0,E.jsx)(Tl,{className:"w-14 h-14 text-[#EB3B3B]",strokeWidth:2.5})})}),(0,E.jsx)("span",{className:"font-['Fredoka'] font-bold text-white text-lg md:text-xl tracking-wide drop-shadow-md",children:"Draw"})]}),(0,E.jsxs)("div",{className:"flex flex-col items-center gap-2 group mt-8 md:mt-12 transition-transform duration-500 ease-out",style:{transform:`translate(${t.x*.7}px, ${t.y*.7}px)`},children:[(0,E.jsx)("div",{className:"animate-bounce",style:{animationDuration:"3.5s",animationDelay:"0.5s"},children:(0,E.jsx)("div",{className:"bg-white p-5 rounded-3xl shadow-[0_8px_0_rgba(0,0,0,0.1)] rotate-[3deg] group-hover:rotate-0 group-hover:scale-110 transition-all duration-300",children:(0,E.jsx)(Il,{className:"w-14 h-14 text-[#27AE60]",strokeWidth:2.5})})}),(0,E.jsx)("span",{className:"font-['Fredoka'] font-bold text-white text-lg md:text-xl tracking-wide drop-shadow-md",children:"Build"})]}),(0,E.jsxs)("div",{className:"flex flex-col items-center gap-2 group transition-transform duration-500 ease-out",style:{transform:`translate(${t.x*.6}px, ${t.y*.6}px)`},children:[(0,E.jsx)("div",{className:"animate-bounce",style:{animationDuration:"4s",animationDelay:"1s"},children:(0,E.jsx)("div",{className:"bg-white p-5 rounded-3xl shadow-[0_8px_0_rgba(0,0,0,0.1)] rotate-[-3deg] group-hover:rotate-0 group-hover:scale-110 transition-all duration-300",children:(0,E.jsx)(El,{className:"w-14 h-14 text-[#F2C94C]",strokeWidth:2.5})})}),(0,E.jsx)("span",{className:"font-['Fredoka'] font-bold text-white text-lg md:text-xl tracking-wide drop-shadow-md",children:"Sing"})]})]}),(0,E.jsxs)("div",{className:"pt-2 flex flex-col items-center gap-4",children:[(0,E.jsx)("div",{className:"animate-bounce text-white",children:(0,E.jsx)(Cl,{className:"w-12 h-12 drop-shadow-md",strokeWidth:3})}),(0,E.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 items-center",children:[(0,E.jsx)(iI,{text:"JOIN THE FUN",color:"red",className:"text-2xl px-10 py-6"}),(0,E.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 items-center",children:[(0,E.jsxs)(Mr,{to:"/play",className:Nt("inline-flex items-center justify-center gap-3 px-8 py-6","font-['Fredoka'] font-bold text-2xl uppercase tracking-wide","rounded-full shadow-[0_6px_0_rgba(0,0,0,0.2)] active:shadow-none active:translate-y-[6px]","transition-all duration-150 ease-out transform hover:scale-105","bg-[#F2C94C] hover:bg-[#ffe082] text-[#222222]"),children:[(0,E.jsx)(xo,{className:"w-8 h-8"}),"MEMORY MATCH"]}),(0,E.jsxs)("a",{href:"https://cams-language-bubble-game.ccoheniii.chatgpt.site",target:"_blank",rel:"noopener noreferrer",className:Nt("inline-flex items-center justify-center gap-3 px-8 py-6","font-['Fredoka'] font-bold text-2xl uppercase tracking-wide","rounded-full shadow-[0_6px_0_rgba(0,0,0,0.2)] active:shadow-none active:translate-y-[6px]","transition-all duration-150 ease-out transform hover:scale-105","bg-[#27AE60] hover:bg-[#219150] text-white"),children:[(0,E.jsx)(xo,{className:"w-8 h-8"}),"BUBBLE GAME"]})]})]})]})]}),(0,E.jsx)("div",{className:"absolute bottom-[-2px] left-0 right-0 leading-none text-white",children:(0,E.jsx)("svg",{className:"w-full h-12 md:h-24",viewBox:"0 0 1200 120",preserveAspectRatio:"none",children:(0,E.jsx)("path",{d:"M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z",fill:"currentColor"})})})]}),(0,E.jsx)("section",{className:"py-24 px-6 bg-white relative","aria-labelledby":"top-videos-heading",children:(0,E.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,E.jsxs)("div",{className:"text-center mb-16 space-y-4",children:[(0,E.jsx)("h2",{id:"top-videos-heading",className:"font-['Fredoka'] font-bold text-5xl md:text-6xl text-[#2F80ED]",children:"Top 6 Most Viewed Videos"}),(0,E.jsx)("p",{className:"text-2xl text-[#222222] font-medium",children:"These are the six videos viewers are watching most right now!"})]}),(0,E.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-8 md:gap-10",children:n?Array.from({length:6}).map((l,d)=>(0,E.jsx)(CB,{},d)):i||r.length===0?(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(Tn,{title:"Numberblocks 21 to 30 Keep Getting BIGGER! Minecraft Part 2",videoId:"ET-A4b_NDQc",color:"bg-[#EB3B3B]",rank:1}),(0,E.jsx)(Tn,{title:"Building Numberblocks in Minecraft! Numbers 1 to 20 Part 1",videoId:"rYA64zD2Nf4",color:"bg-[#27AE60]",rank:2}),(0,E.jsx)(Tn,{title:"Moldovan Alphabet Song \u{1F3B5}",videoId:"yCUS7orEY6M",color:"bg-[#2F80ED]",rank:3}),(0,E.jsx)(Tn,{title:"Uyghur Alphabet Song \u{1F3B5}",videoId:"y4jQsxM1TN4",color:"bg-[#EB3B3B]",rank:4}),(0,E.jsx)(Tn,{title:"Avar Alphabet Song \u{1F3B5}",videoId:"CQ2Fbjt0QqY",color:"bg-[#27AE60]",rank:5}),(0,E.jsx)(Tn,{title:"Negidal Alphabet Song",videoId:"5FnMVF2E5qE",color:"bg-[#2F80ED]",rank:6})]}):r.map(l=>(0,E.jsx)(Tn,{title:l.title,videoId:l.videoId,color:yB[l.color]??"bg-[#2F80ED]",rank:l.rank,views:l.views}
27,l.id))}),(0,E.jsx)("div",{className:"mt-16 text-center",children:(0,E.jsx)("a",{href:Zu,target:"_blank",rel:"noreferrer",className:"inline-block font-['Fredoka'] font-bold text-xl text-[#2F80ED] border-b-4 border-[#2F80ED] hover:text-[#EB3B3B] hover:border-[#EB3B3B] transition-colors pb-1",children:"See All Videos \u2192"})})]})}),(0,E.jsxs)("section",{className:"py-24 px-6 bg-[#F3ECFF] relative overflow-hidden",children:[(0,E.jsx)("div",{className:"absolute top-10 right-[-90px] w-72 h-72 bg-[#9B51E0]/10 rounded-full blur-3xl"}),(0,E.jsx)("div",{className:"absolute bottom-10 left-[-90px] w-80 h-80 bg-white/50 rounded-full blur-3xl"}),(0,E.jsxs)("div",{className:"max-w-6xl mx-auto relative z-10",children:[(0,E.jsxs)("div",{className:"text-center mb-16 space-y-4",children:[(0,E.jsx)("div",{className:"inline-block bg-[#9B51E0] text-white font-['Fredoka'] font-bold px-5 py-1.5 rounded-full text-lg shadow-md rotate-[-1deg]",children:"\u{1F4DA} Featured Author"}),(0,E.jsx)("h2",{className:"font-['Fredoka'] font-bold text-5xl md:text-6xl text-[#9B51E0]",children:"Cam's Reading Corner"}),(0,E.jsxs)("p",{className:"text-2xl text-[#222222] font-medium max-w-2xl mx-auto leading-relaxed",children:["Faith-filled, feel-good books that help kids know they are loved. Written by our featured author, ",(0,E.jsx)("span",{className:"font-bold text-[#9B51E0]",children:"LaToya Jenkins-Johnson"}),"."]})]}),(0,E.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-6 md:gap-8",children:RB.map(l=>(0,E.jsx)(EB,{title:l.title,img:l.img,url:l.url},l.asin))}),(0,E.jsx)("div",{className:"mt-16 text-center",children:(0,E.jsx)("a",{href:PB,target:"_blank",rel:"noopener noreferrer",className:"inline-block font-['Fredoka'] font-bold text-xl text-[#9B51E0] border-b-4 border-[#9B51E0] hover:text-[#EB3B3B] hover:border-[#EB3B3B] transition-colors pb-1",children:"See All Books on Amazon \u2192"})}),(0,E.jsx)("p",{className:"mt-6 text-center text-sm text-[#222222]/50 max-w-md mx-auto",children:"A parent favorite. Every book links to Amazon so grown-ups can take a closer look."})]})]}),(0,E.jsxs)("section",{className:"py-20 px-6 bg-[#F2C94C] relative overflow-hidden",children:[(0,E.jsx)("div",{className:"absolute top-4 left-8 text-white/40 text-5xl select-none",children:"\u2B50"}),(0,E.jsx)("div",{className:"absolute bottom-4 right-8 text-white/40 text-4xl select-none",children:"\u{1F31F}"}),(0,E.jsx)("div",{className:"absolute top-6 right-24 text-white/30 text-3xl select-none",children:"\u2728"}),(0,E.jsx)("div",{className:"absolute bottom-6 left-24 text-white/30 text-3xl select-none",children:"\u{1F3AE}"}),(0,E.jsxs)("div",{className:"max-w-4xl mx-auto flex flex-col md:flex-row items-center justify-between gap-8 text-center md:text-left relative z-10",children:[(0,E.jsxs)("div",{className:"space-y-3",children:[(0,E.jsx)("div",{className:"inline-block bg-[#EB3B3B] text-white font-['Fredoka'] font-bold px-5 py-1.5 rounded-full text-lg shadow-md",children:"\u{1F195} New on the site!"}),(0,E.jsxs)("h2",{className:"font-['Fredoka'] font-bold text-4xl md:text-5xl text-[#222222] leading-tight",children:["Pick a Game",(0,E.jsx)("br",{}),"and Have Fun!"]}),(0,E.jsx)("p",{className:"text-[#444] font-medium text-xl max-w-md",children:"Match colorful cards or pop into the Language Bubble Game. No sign-in needed, just tap and play!"})]}),(0,E.jsxs)("div",{className:"shrink-0 flex flex-col sm:flex-row gap-4 items-center",children:[(0,E.jsxs)(Mr,{to:"/play",className:Nt("inline-flex items-center justify-center gap-3 px-10 py-6","font-['Fredoka'] font-bold text-2xl uppercase tracking-wide","rounded-full shadow-[0_8px_0_rgba(0,0,0,0.15)] active:shadow-none active:translate-y-2","transition-all duration-150 ease-out transform hover:scale-105","bg-[#2F80ED] text-white hover:bg-[#256ac4]"),children:[(0,E.jsx)(xo,{className:"w-8 h-8"}),"Memory Match"]}),(0,E.jsxs)("a",{href:"https://cams-language-bubble-game.ccoheniii.chatgpt.site",target:"_blank",rel:"noopener noreferrer",className:Nt("inline-flex items-center justify-center gap-3 px-10 py-6","font-['Fredoka'] font-bold text-2xl uppercase tracking-wide","rounded-full shadow-[0_8px_0_rgba(0,0,0,0.15)] active:shadow-none active:translate-y-2","transition-all duration-150 ease-out transform hover:scale-105","bg-[#27AE60] text-white hover:bg-[#219150]"),children:[(0,E.jsx)(xo,{className:"w-8 h-8"}),"Bubble Game"]})]})]})]}),(0,E.jsxs)("section",{className:"py-24 px-6 bg-[#E3F2FD] relative overflow-hidden",children:[(0,E.jsx)("div",{className:"absolute top-10 left-[-100px] w-64 h-64 bg-white/40 rounded-full blur-3xl"}),(0,E.jsx)("div",{className:"absolute bottom-10 right-[-100px] w-80 h-80 bg-[#2F80ED]/10 rounded-full blur-3xl"}),(0,E.jsxs)("div",{className:"max-w-4xl mx-auto relative z-10 flex flex-col md:flex-row items-center gap-12 text-center md:text-left",children:[(0,E.jsxs)("div",{className:"shrink-0 relative",children:[(0,E.jsx)("div",{className:"absolute -inset-4 bg-[#F2C94C] rounded-full rotate-6 opacity-30"}),(0,E.jsx)("div",{className:"w-56 h-56 md:w-72 md:h-72 rounded-full border-8 border-white shadow-xl overflow-hidden bg-[#2F80ED] relative z-10 transform rotate-[-3deg]",children:(0,E.jsx)("img",{src:nI,alt:"Cam",className:"w-full h-full object-cover"})})]}),(0,E.jsxs)("div",{className:"space-y-6",children:[(0,E.jsx)("div",{className:"inline-block bg-[#27AE60] text-white font-['Fredoka'] font-bold px-6 py-2 rounded-full text-lg mb-2 rotate-[-2deg] shadow-sm",children:"Hello Friends! \u{1F44B}"}),(0,E.jsx)("h2",{className:"font-['Fredoka'] font-bold text-4xl md:text-5xl text-[#2F80ED]",children:"Hi, I\u2019m Cam!"}),(0,E.jsxs)("p",{className:"text-2xl md:text-3xl font-medium leading-relaxed text-[#222222]",children:["I make ",(0,E.jsx)("span",{className:"text-[#EB3B3B] font-bold bg-red-50 px-2 rounded-lg",children:"ABC songs"})," from around the world, build with ",(0,E.jsx)("span",{className:"text-[#27AE60] font-bold bg-green-50 px-2 rounded-lg",children:"Numberblocks"}),", and draw my own characters. Come learn and play with me!"]}),(0,E.jsxs)("div",{className:"flex items-center justify-center md:justify-start gap-3 text-[#2F80ED]/80 font-bold text-lg pt-4 bg-white/50 p-4 rounded-xl inline-flex",children:[(0,E.jsx)("div",{className:"w-4 h-4 bg-[#2F80ED] rounded-full animate-pulse"}),"Safe, fun videos for kids and families."]})]})]})]}),(0,E.jsxs)("section",{className:"py-24 px-6 bg-[#2F80ED] text-center relative overflow-hidden",children:[(0,E.jsx)("div",{className:"absolute inset-0 opacity-10",style:{backgroundImage:"radial-gradient(#ffffff 2px, transparent 2px)",backgroundSize:"20px 20px"}}
27),(0,E.jsxs)("div",{className:"relative z-10 max-w-3xl mx-auto space-y-10",children:[(0,E.jsxs)("h2",{className:"font-['Fredoka'] font-bold text-5xl md:text-7xl text-white leading-tight drop-shadow-sm",children:["Ready to Join",(0,E.jsx)("br",{}),"the Fun?"]}),(0,E.jsx)("div",{className:"transform hover:scale-105 transition-transform duration-200",children:(0,E.jsx)(iI,{text:"JOIN THE FUN",color:"yellow",className:"text-2xl px-12 py-6 text-[#222222] hover:bg-[#ffe082]"})}),(0,E.jsxs)("p",{className:"text-white/80 font-medium text-lg flex justify-center items-center gap-2",children:[(0,E.jsx)(va,{className:"w-5 h-5 fill-current"})," New videos every week! ",(0,E.jsx)(va,{className:"w-5 h-5 fill-current"})]})]})]}),(0,E.jsx)("footer",{className:"py-12 px-6 bg-white border-t border-gray-100",children:(0,E.jsxs)("div",{className:"max-w-4xl mx-auto flex flex-col items-center gap-6 text-center",children:[(0,E.jsxs)("div",{className:"font-['Fredoka'] font-bold text-2xl text-[#222222]",children:["Cam\u2019s ",(0,E.jsx)("span",{className:"text-[#EB3B3B]",children:"Fun"})," Channel"]}),(0,E.jsx)("p",{className:"font-medium text-xl text-[#222222]",children:"Thanks for hanging out!"}),(0,E.jsxs)("a",{href:Zu,className:"flex items-center gap-2 text-[#2F80ED] font-bold hover:underline bg-blue-50 px-6 py-3 rounded-full",children:[(0,E.jsx)(un,{className:"w-5 h-5"})," Visit YouTube Channel"]}),(0,E.jsx)("div",{className:"w-12 h-1 bg-gray-100 rounded-full my-2"}),(0,E.jsxs)("p",{className:"text-gray-400 text-sm max-w-sm mx-auto",children:["\xA9 ",new Date().getFullYear()," Cam\u2019s Fun Channel. Created for kids, trusted by parents. Safe family-friendly content."]}),(0,E.jsx)(oI,{})]})})]})}var sI=TB;var nt=G(ae());var z=G(ht()),lI=[{id:"donut",emoji:"\u{1F369}",label:"Donut",bg:"bg-[#EB3B3B]"},{id:"star",emoji:"\u2B50",label:"Star",bg:"bg-[#F2C94C]"},{id:"pencil",emoji:"\u270F\uFE0F",label:"Pencil",bg:"bg-[#2F80ED]"},{id:"rocket",emoji:"\u{1F680}",label:"Rocket",bg:"bg-[#9B51E0]"},{id:"rainbow",emoji:"\u{1F308}",label:"Rainbow",bg:"bg-[#27AE60]"},{id:"toy",emoji:"\u{1F9F8}",label:"Plushy",bg:"bg-[#F97316]"},{id:"pizza",emoji:"\u{1F355}",label:"Pizza",bg:"bg-[#EB3B3B]"},{id:"dino",emoji:"\u{1F995}",label:"Dino",bg:"bg-[#27AE60]"},{id:"balloon",emoji:"\u{1F388}",label:"Balloon",bg:"bg-[#E91E8C]"},{id:"crown",emoji:"\u{1F451}",label:"Crown",bg:"bg-[#F2C94C]"},{id:"gem",emoji:"\u{1F48E}",label:"Gem",bg:"bg-[#2F80ED]"},{id:"fire",emoji:"\u{1F525}",label:"Fire",bg:"bg-[#F97316]"},{id:"alien",emoji:"\u{1F47E}",label:"Alien",bg:"bg-[#9B51E0]"},{id:"sun",emoji:"\u2600\uFE0F",label:"Sun",bg:"bg-[#F2C94C]"},{id:"heart",emoji:"\u2764\uFE0F",label:"Heart",bg:"bg-[#EB3B3B]"},{id:"lightning",emoji:"\u26A1",label:"Zap",bg:"bg-[#F2C94C]"},{id:"cactus",emoji:"\u{1F335}",label:"Cactus",bg:"bg-[#27AE60]"},{id:"castle",emoji:"\u{1F3F0}",label:"Castle",bg:"bg-[#9B51E0]"}],AB=2,MB=6,DB=2,FB=6;function uI(e,t){let a=e*t,n=(a%2===0?a:a-1)/2,l=Array.from({length:n},(d,c)=>lI[c%lI.length]).flatMap((d,c)=>[{uid:`${d.id}-${c}-0`,typeId:`${d.id}-${c}`,emoji:d.emoji,label:d.label,bg:d.bg,isFlipped:!1,isMatched:!1},{uid:`${d.id}-${c}-1`,typeId:`${d.id}-${c}`,emoji:d.emoji,label:d.label,bg:d.bg,isFlipped:!1,isMatched:!1}]);for(let d=l.length-1;d>0;d--){let c=Math.floor(Math.random()*(d+1));[l[d],l[c]]=[l[c],l[d]]}return l}function ps(e,t="sine",a=.15,r=.12){try{let n=window.AudioContext||window.webkitAudioContext,i=new n,l=i.createOscillator(),d=i.createGain();l.connect(d),d.connect(i.destination),l.type=t,l.frequency.setValueAtTime(e,i.currentTime),d.gain.setValueAtTime(r,i.currentTime),d.gain.exponentialRampToValueAtTime(.001,i.currentTime+a),l.start(),l.stop(i.currentTime+a)}catch{}}var Mn={flip:()=>ps(520,"sine",.12,.08),match:()=>{ps(600,"sine",.15,.12),setTimeout(()=>ps(800,"sine",.15,.12),120)},miss:()=>ps(220,"triangle",.2,.08),win:()=>{[600,750,900,1100].forEach((e,t)=>setTimeout(()=>ps(e,"sine",.2,.15),t*120))},click:()=>ps(440,"sine",.08,.06)},dI=["#EB3B3B","#F2C94C","#2F80ED","#27AE60","#9B51E0","#F97316"];function BB({x:e,color:t}){let a=Math.random()*.6,r=Math.random()*720-360;return(0,z.jsx)(yt.div,{className:"absolute top-0 w-3 h-3 rounded-sm",style:{left:`${e}%`,backgroundColor:t},initial:{y:-20,opacity:1,rotate:0},animate:{y:"110vh",opacity:0,rotate:r},transition:{duration:2.5+Math.random(),delay:a,ease:"easeIn"}})}function OB(){let e=Array.from({length:60},(t,a)=>({id:a,x:Math.random()*100,color:dI[a%dI.length]}));return(0,z.jsx)("div",{className:"fixed inset-0 pointer-events-none overflow-hidden z-50",children:e.map(t=>(0,z.jsx)(BB,{x:t.x,color:t.color},t.id))})}function cI({label:e,value:t,min:a,max:r,onChange:n,color:i}){let l=t>a,d=t<r;return(0,z.jsxs)("div",{className:"flex flex-col items-center gap-2",children:[(0,z.jsx)("span",{className:"font-['Fredoka'] font-bold text-white text-lg tracking-wide drop-shadow-sm",children:e}),(0,z.jsxs)("div",{className:"flex items-center gap-3",children:[(0,z.jsx)("button",{onClick:()=>{l&&(Mn.click(),n(t-1))},className:Nt("w-10 h-10 rounded-full flex items-center justify-center font-bold text-white shadow-[0_4px_0_rgba(0,0,0,0.2)] active:shadow-none active:translate-y-1 transition-all",l?`${i} hover:brightness-110`:"bg-white/20 cursor-not-allowed opacity-50"),children:(0,z.jsx)(Rl,{className:"w-5 h-5"})}),(0,z.jsx)(yt.span,{initial:{scale:1.4,opacity:0}
27,animate:{scale:1,opacity:1},className:"font-['Fredoka'] font-bold text-4xl text-white w-12 text-center drop-shadow-md",children:t},t),(0,z.jsx)("button",{onClick:()=>{d&&(Mn.click(),n(t+1))},className:Nt("w-10 h-10 rounded-full flex items-center justify-center font-bold text-white shadow-[0_4px_0_rgba(0,0,0,0.2)] active:shadow-none active:translate-y-1 transition-all",d?`${i} hover:brightness-110`:"bg-white/20 cursor-not-allowed opacity-50"),children:(0,z.jsx)(Al,{className:"w-5 h-5"})})]})]})}function NB({card:e,onClick:t,disabled:a,cols:r}){let n=e.isFlipped||e.isMatched,i=r<=3?"text-5xl md:text-6xl":r<=4?"text-4xl md:text-5xl":"text-3xl md:text-4xl",l=r<=4?"text-sm md:text-base":"text-xs md:text-sm";return(0,z.jsx)(yt.div,{className:Nt("relative cursor-pointer select-none",a&&!n&&"cursor-default",e.isMatched&&"cursor-default"),style:{perspective:600},onClick:()=>{!a&&!e.isFlipped&&!e.isMatched&&t()},whileHover:!n&&!a?{scale:1.06,y:-4}:{},whileTap:!n&&!a?{scale:.96}:{},initial:{scale:0,opacity:0},animate:{scale:1,opacity:1},transition:{type:"spring",stiffness:300,damping:20},children:(0,z.jsxs)("div",{className:"relative w-full",style:{paddingBottom:"100%",transition:"transform 0.42s cubic-bezier(0.23, 1, 0.32, 1)",transformStyle:"preserve-3d",transform:n?"rotateY(180deg)":"rotateY(0deg)"},children:[(0,z.jsxs)("div",{className:"absolute inset-0 rounded-xl md:rounded-2xl flex items-center justify-center overflow-hidden",style:{backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden"},children:[(0,z.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-[#2F80ED] to-[#1a5cc4] rounded-xl md:rounded-2xl border-[3px] border-white shadow-[0_5px_0_rgba(0,0,0,0.18)]"}),(0,z.jsx)("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:"radial-gradient(#fff 1.5px, transparent 1.5px)",backgroundSize:"12px 12px"}}),(0,z.jsx)("span",{className:"relative text-2xl md:text-3xl select-none",children:"\u{1F3AE}"})]}),(0,z.jsxs)("div",{className:Nt("absolute inset-0 rounded-xl md:rounded-2xl flex flex-col items-center justify-center gap-0.5 md:gap-1",e.bg,e.isMatched&&"ring-4 ring-[#F2C94C] ring-offset-1"),style:{backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",transform:"rotateY(180deg)",border:"3px solid rgba(255,255,255,0.7)",boxShadow:"0 5px 0 rgba(0,0,0,0.18)"},children:[(0,z.jsx)("span",{className:Nt(i,"leading-none drop-shadow-sm select-none"),children:e.emoji}),(0,z.jsx)("span",{className:Nt("font-['Fredoka'] font-bold text-white tracking-wide drop-shadow-sm",l),children:e.label}),e.isMatched&&(0,z.jsx)(yt.div,{className:"absolute top-1 right-1",initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:400},children:(0,z.jsx)(va,{className:"w-4 h-4 text-[#F2C94C]",fill:"currentColor"})})]})]})})}function zB({rows:e,cols:t,onRowsChange:a,onColsChange:r,onStart:n}){let i=e*t,d=(i%2===0?i:i-1)/2,c=i%2!==0;return(0,z.jsxs)(yt.div,{className:"flex flex-col items-center gap-8 w-full max-w-md z-10",initial:{opacity:0,y:30},animate:{opacity:1,y:0},exit:{opacity:0,y:-30},transition:{type:"spring",stiffness:280,damping:24},children:[(0,z.jsxs)("div",{className:"text-center",children:[(0,z.jsx)("h1",{className:"font-['Fredoka'] font-bold text-4xl md:text-5xl text-white drop-shadow-lg",children:"\u{1F0CF} Memory Match"}),(0,z.jsx)("p",{className:"text-white/70 font-semibold text-lg mt-1",children:"Choose your grid size!"})]}),(0,z.jsxs)("div",{className:"bg-white/15 backdrop-blur-sm rounded-3xl p-6 w-full border border-white/20",children:[(0,z.jsx)("div",{className:"grid gap-2 mx-auto",style:{gridTemplateColumns:`repeat(${t}, 1fr)`,maxWidth:Math.min(t*52,320)},children:Array.from({length:e*t}).map((p,h)=>{let g=c&&h===e*t-1;return(0,z.jsx)(yt.div,{layout:!0,className:Nt("rounded-lg border-2 border-white/50",g?"bg-white/10 border-dashed":"bg-white/30"),style:{paddingBottom:"100%"},initial:{scale:0},animate:{scale:1},transition:{delay:h*.015}},h)})}),(0,z.jsxs)("p",{className:"text-center text-white/80 font-['Fredoka'] font-bold text-lg mt-4",children:[e," \xD7 ",t," grid \u2014 ",(0,z.jsxs)("span",{className:"text-[#F2C94C]",children:[d," pairs"]}),c&&(0,z.jsx)("span",{className:"text-white/50 text-sm",children:" (1 cell unused)"})]})]}),(0,z.jsxs)("div",{className:"bg-white/15 backdrop-blur-sm rounded-3xl p-6 w-full border border-white/20 flex justify-around",children:[(0,z.jsx)(cI,{label:"Rows",value:e,min:AB,max:MB,onChange:a,c
27olor:"bg-[#EB3B3B]"}),(0,z.jsx)("div",{className:"w-px bg-white/20"}),(0,z.jsx)(cI,{label:"Cols",value:t,min:DB,max:FB,onChange:r,color:"bg-[#27AE60]"})]}),(0,z.jsx)(yt.button,{onClick:n,className:"w-full bg-[#F2C94C] hover:bg-[#ffe082] text-[#222] font-['Fredoka'] font-bold text-2xl py-5 rounded-2xl shadow-[0_7px_0_rgba(0,0,0,0.15)] active:shadow-none active:translate-y-2 transition-all",whileHover:{scale:1.03},whileTap:{scale:.97},children:"\u{1F680} Let's Play!"}),(0,z.jsxs)(Mr,{to:"/",className:"flex items-center gap-2 text-white/60 hover:text-white font-['Fredoka'] font-bold transition-colors text-lg",children:[(0,z.jsx)(ir,{className:"w-5 h-5"})," Back to Home"]})]})}function Kx(){let[e,t]=(0,nt.useState)(3),[a,r]=(0,nt.useState)(4),[n,i]=(0,nt.useState)("setup"),[l,d]=(0,nt.useState)([]),[c,p]=(0,nt.useState)([]),[h,g]=(0,nt.useState)(0),[x,b]=(0,nt.useState)(!1),[_,C]=(0,nt.useState)(!1),[R,v]=(0,nt.useState)(0),[w,S]=(0,nt.useState)(!1),k=(0,nt.useRef)(null);(0,nt.useEffect)(()=>{let oe=document.createElement("link");return oe.href="https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&display=swap",oe.rel="stylesheet",document.head.appendChild(oe),()=>{document.head.removeChild(oe)}},[]),(0,nt.useEffect)(()=>(w&&!_&&n==="playing"&&(k.current=setInterval(()=>v(oe=>oe+1),1e3)),()=>{k.current&&clearInterval(k.current)}),[w,_,n]);let A=oe=>`${String(Math.floor(oe/60)).padStart(2,"0")}:${String(oe%60).padStart(2,"0")}`,O=()=>{Mn.click(),d(uI(e,a)),p([]),g(0),b(!1),C(!1),v(0),S(!1),i("playing")},B=()=>{d(uI(e,a)),p([]),g(0),b(!1),C(!1),v(0),S(!1),k.current&&clearInterval(k.current)},F=()=>{i("setup"),C(!1),k.current&&clearInterval(k.current)},V=(0,nt.useCallback)(oe=>{w||S(!0),!x&&(c.includes(oe)||(Mn.flip(),d(Q=>Q.map(ye=>ye.uid===oe?{...ye,isFlipped:!0}:ye)),p(Q=>{let ye=[...Q,oe];return ye.length===2&&(b(!0),g($=>$+1)),ye})))},[x,c,w]);(0,nt.useEffect)(()=>{if(c.length!==2)return;let[oe,Q]=c.map(H=>l.find(Y=>Y.uid===H)),ye=oe.typeId===Q.typeId,zt=setTimeout(()=>{ye?(Mn.match(),d(H=>H.map(Y=>Y.uid===oe.uid||Y.uid===Q.uid?{...Y,isMatched:!0,isFlipped:!1}:Y))):(Mn.miss(),d(H=>H.map(Y=>Y.uid===oe.uid||Y.uid===Q.uid?{...Y,isFlipped:!1}:Y))),p([]),b(!1)},ye?400:900);return()=>clearTimeout(zt)},[c]),(0,nt.useEffect)(()=>{l.length>0&&l.every(Q=>Q.isMatched)&&(C(!0),Mn.win(),k.current&&clearInterval(k.current))},[l]);let D=l.filter(oe=>oe.isMatched).length/2,K=l.length/2,X=Math.min(a*115,700);return(0,z.jsxs)("div",{className:"min-h-screen bg-gradient-to-b from-[#1e6bb8] via-[#2F80ED] to-[#63aef7] font-['Poppins'] flex flex-col items-center px-4 py-6 pb-16 selection:bg-[#F2C94C]",children:[(0,z.jsx)("div",{className:"fixed inset-0 pointer-events-none opacity-10",style:{backgroundImage:"radial-gradient(#ffffff 2px, transparent 2px)",backgroundSize:"28px 28px"}}),_&&(0,z.jsx)(OB,{}),(0,z.jsx)($i,{mode:"wait",children:n==="setup"?(0,z.jsx)(zB,{rows:e,cols:a,onRowsChange:t,onColsChange:r,onStart:O},"setup"):(0,z.jsxs)(yt.div,{className:"flex flex-col items-center w-full",initial:{opacity:0,y:30},animate:{opacity:1,y:0},exit:{opacity:0,y:-30},transition:{type:"spring",stiffness:280,damping:24},children:[(0,z.jsxs)("header",{className:"w-full max-w-2xl flex items-center justify-between mb-5 z-10",children:[(0,z.jsxs)("button",{onClick:F,className:"flex items-center gap-2 bg-white/20 hover:bg-white/30 text-white font-['Fredoka'] font-bold px-4 py-2 rounded-full transition-colors text-base backdrop-blur-sm",children:[(0,z.jsx)(ir,{className:"w-4 h-4"})," Setup"]}),(0,z.jsxs)("h1",{className:"font-['Fredoka'] font-bold text-2xl md:text-3xl text-white drop-shadow-md text-center",children:["\u{1F0CF} ",e," \xD7 ",a," Grid"]}),(0,z.jsxs)("button",{onClick:B,className:"flex items-center gap-2 bg-white/20 hover:bg-white/30 text-white font-['Fredoka'] font-bold px-4 py-2 rounded-full transition-colors text-base backdrop-blur-sm",children:[(0,z.jsx)(ki,{className:"w-4 h-4"})," New"]})]}),(0,z.jsx)("div",{className:"flex items-center gap-4 md:gap-6 mb-5 z-10",children:[{label:"Moves",value:String(h)},{label:"Pairs",value:`${D}/${K}`},{label:"Time",value:A(R)}].map(({label:oe,value:Q})=>(0,z.jsxs)("div",{className:"bg-white/20 backdrop-blur-sm rounded-2xl px-4 py-2 text-center min-w-[70px]",children:[(0,z.jsx)("p",{className:"text-white/70 font-semibold text-[10px] uppercase tracking-widest",children:oe}),(0,z.jsx)("p",{className:"font-['Fredoka'] font-bold text-xl text-white",children:Q})]},oe))}),(0,z.jsx)("div",{className:"z-10 w-full flex justify-center",children:(0,z.jsx)("div",{className:"w-full",style:{maxWidth:X},children:(0,z.jsx)("div",{className:"grid gap-2 md:gap-3",style:{gridTemplateColumns:`repeat(${a}, 1fr)`},children:l.map(oe=>(0,z.jsx)(NB,{card:oe,cols:a,onClick:()=>V(oe.uid),disabled:x||_},oe.uid))})})}),(0,z.jsxs)("div",{className:"w-full z-10 mt-5",style:{maxWidth:X},children:[(0,z.jsx)("div",{className:"bg-white/20 rounded-full h-4 overflow-hidden backdrop-blur-sm",children:(0,z.jsx)(yt.div,{className:"h-full bg-[#F2C94C] rounded-full",initial:{width:"0%"},animate:{width:K>0?`${D/K*100}%`:"0%"},transition:{duration:.5}})}),(0,z.jsx)("p",{className:"text-white/60 text-center text-sm mt-1 font-semibold",children:D===K&&K>0?"All matched! \u{1F389}":`${K-D} pairs left`})]}),(0,z.jsx)("p",{className:"mt-6 text-white/40 text-sm font-semibold text-center z-10",children:"Tap two cards \u2014 match all pairs to win! \u{1F31F}"}),(0,z.jsxs)("div",{className:"mt-3 flex items-center gap-2 text-white/25 z-10",children:[(0,z.jsx)(Dr,{className:"w-4 h-4"}),(0,z.jsx)("span",{className:"text-sm font-bold font-['Fredoka']",children:"Cam's Fun Channel"}),(0,z.jsx)(Dr,{className:"w-4 h-4"})]})]},"game")}),(0,z.jsx)($i,{children:_&&(0,z.jsxs)(yt.div,{className:"fixed inset-0 flex items-center justify-center z-50 px-4",initial:{opacity:0}
27,animate:{opacity:1},exit:{opacity:0},children:[(0,z.jsx)("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-sm"}),(0,z.jsxs)(yt.div,{className:"relative bg-white rounded-3xl shadow-2xl p-8 md:p-10 flex flex-col items-center gap-5 max-w-sm w-full text-center",initial:{scale:.5,y:60},animate:{scale:1,y:0},transition:{type:"spring",stiffness:260,damping:20},children:[(0,z.jsx)(yt.div,{animate:{rotate:[0,-10,10,-8,8,0]},transition:{delay:.3,duration:.6},children:(0,z.jsx)("div",{className:"bg-[#F2C94C] rounded-full p-5 shadow-lg",children:(0,z.jsx)(Dl,{className:"w-14 h-14 text-white",fill:"currentColor"})})}),(0,z.jsxs)("div",{children:[(0,z.jsx)("h2",{className:"font-['Fredoka'] font-bold text-4xl text-[#2F80ED] mb-1",children:"You did it! \u{1F389}"}),(0,z.jsx)("p",{className:"text-gray-400 font-semibold",children:"Great job, Cam's star player!"})]}),(0,z.jsxs)("div",{className:"flex gap-4 w-full justify-center",children:[(0,z.jsxs)("div",{className:"bg-blue-50 rounded-2xl px-4 py-3 text-center",children:[(0,z.jsx)("p",{className:"text-blue-300 text-xs font-bold uppercase tracking-widest",children:"Moves"}),(0,z.jsx)("p",{className:"font-['Fredoka'] font-bold text-3xl text-[#2F80ED]",children:h})]}),(0,z.jsxs)("div",{className:"bg-yellow-50 rounded-2xl px-4 py-3 text-center",children:[(0,z.jsx)("p",{className:"text-yellow-400 text-xs font-bold uppercase tracking-widest",children:"Time"}),(0,z.jsx)("p",{className:"font-['Fredoka'] font-bold text-3xl text-[#F2C94C]",children:A(R)})]}),(0,z.jsxs)("div",{className:"bg-green-50 rounded-2xl px-4 py-3 text-center",children:[(0,z.jsx)("p",{className:"text-green-400 text-xs font-bold uppercase tracking-widest",children:"Grid"}),(0,z.jsxs)("p",{className:"font-['Fredoka'] font-bold text-3xl text-[#27AE60]",children:[e,"\xD7",a]})]})]}),(0,z.jsx)("div",{className:"flex gap-1",children:[...Array(5)].map((oe,Q)=>(0,z.jsx)(yt.div,{initial:{scale:0},animate:{scale:1},transition:{delay:.5+Q*.08,type:"spring"},children:(0,z.jsx)(va,{className:"w-7 h-7 text-[#F2C94C]",fill:"currentColor"})},Q))}),(0,z.jsxs)("div",{className:"flex flex-col gap-3 w-full",children:[(0,z.jsxs)("button",{onClick:B,className:"w-full bg-[#EB3B3B] hover:bg-[#c42b2b] text-white font-['Fredoka'] font-bold text-xl py-4 rounded-2xl shadow-[0_5px_0_rgba(0,0,0,0.15)] active:shadow-none active:translate-y-1 transition-all flex items-center justify-center gap-2",children:[(0,z.jsx)(ki,{className:"w-5 h-5"})," Play Again!"]}),(0,z.jsx)("button",{onClick:F,className:"w-full bg-[#2F80ED] hover:bg-[#256ac4] text-white font-['Fredoka'] font-bold text-xl py-4 rounded-2xl transition-colors flex items-center justify-center gap-2",children:"\u{1F39B}\uFE0F Change Grid"}),(0,z.jsxs)(Mr,{to:"/",className:"w-full bg-gray-100 hover:bg-gray-200 text-gray-500 font-['Fredoka'] font-bold text-lg py-3 rounded-2xl transition-colors flex items-center justify-center gap-2",children:[(0,z.jsx)(ir,{className:"w-5 h-5"})," Go Home"]})]})]})]})})]})}var Jx=G(ae());var qa=G(ae()),VB=(0,qa.createContext)(null),Yx={didCatch:!1,error:null},Bp=class extends qa.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=Yx}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){let{error:t}=this.state;if(t!==null){for(var a,r,n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];(a=(r=this.props).onReset)===null||a===void 0||a.call(r,{args:i,reason:"imperative-api"}),this.setState(Yx)}}componentDidCatch(t,a){var r,n;(r=(n=this.props).onError)===null||r===void 0||r.call(n,t,a)}componentDidUpdate(t,a){let{didCatch:r}=this.state,{resetKeys:n}=this.props;if(r&&a.error!==null&&UB(t.resetKeys,n)){var i,l;(i=(l=this.props).onReset)===null||i===void 0||i.call(l,{next:n,prev:t.resetKeys,reason:"keys"}),this.setState(Yx)}}render(){let{children:t,fallbackRender:a,FallbackComponent:r,fallback:n}=this.props,{didCatch:i,error:l}=this.state,d=t;if(i){let c={error:l,resetErrorBoundary:this.resetErrorBoundary};if(typeof a=="function")d=a(c);else if(r)d=(0,qa.createElement)(r,c);else if(n!==void 0)d=n;else throw l}return(0,qa.createElement)(VB.Provider,{value:{didCatch:i,error:l,resetErrorBoundary:this.resetErrorBoundary}},d)}};function UB(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((a,r)=>!Object.is(a,t[r]))}var fI=0,HB=[];function pI(){return fI>0}function hI(){return fI===0?Promise.resolve():new Promise(e=>{HB.push(e)})}var Wa=G(ht());function yI(){return typeof window>"u"?null:window.__TASKADE_APP_LIFECYCLE_LOGGER__??null}var mI=new WeakMap,gI=null,Op=null;function vI(){let e=typeof globalThis.crypto>"u"?void 0:globalThis.crypto;return typeof e?.randomUUID=="function"?e.randomUUID().replace(/-/g,""):`${Date.now().toString(36)}${Math.random().toString(36).slice(2,12)}`}function bI(e){if(typeof e=="object"&&e!=null){let a=mI.get(e);if(a!=null)return a;let r=vI();return mI.set(e,r),r}let t=String(e);return gI===t&&Op!=null||(gI=t,Op=vI()),Op}var jB="/api/taskade/telemetry/errors",qB=5,xI=0,wI=new Set;function WB(e){try{fetch(jB,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e),keepalive:!0}
27).catch(()=>{})}catch{}}function GB(e,t,a,r){if(typeof window>"u"||typeof fetch!="function")return;let n=(a instanceof Error?a.message:String(a))||"Unknown error",i=a instanceof Error?a.stack:void 0,l=`${e}|${n}|${i?.split(`
28`)[1]??""}`;wI.has(l)||xI>=qB||(wI.add(l),xI+=1,WB({errorId:t,code:e,message:n.slice(0,4e3),stack:i?.slice(0,2e4),componentStack:r?.slice(0,2e4)??void 0,path:window.location.pathname.slice(0,1e3),userAgent:window.navigator?.userAgent?.slice(0,512)}))}function ZB(e,t,a){let r=bI(t),n=yI();return n!=null?(n.log({level:"error",message:"Runtime Error",data:{code:e,message:t instanceof Error?t.message:String(t),stack:[t instanceof Error?t.stack:void 0,a].filter(Boolean).join(`
29`)}}),r):(GB(e,r,t,a),r)}function $B({error:e,resetErrorBoundary:t}){let a=yI()!=null,r=bI(e);return(0,Wa.jsxs)("div",{style:{padding:"2rem",fontFamily:"system-ui, sans-serif",maxWidth:600,margin:"0 auto"},children:[(0,Wa.jsx)("h2",{style:{margin:"0 0 0.5rem",fontSize:"1.25rem"},children:"Something went wrong"}),(0,Wa.jsx)("p",{style:{color:"#999",margin:"0 0 1rem",fontSize:"0.95rem"},children:"The app encountered an error. You can try again, or refresh the page."}),a&&(0,Wa.jsx)("pre",{style:{background:"#f5f5f5",padding:"1rem",borderRadius:"8px",overflow:"auto",fontSize:"0.8rem",color:"#dc2626",margin:0,whiteSpace:"pre-wrap",wordBreak:"break-word"},children:String(e)}),!a&&(0,Wa.jsxs)("p",{style:{color:"#999",margin:0,fontSize:"0.8rem"},children:["Error ID: ",(0,Wa.jsx)("code",{children:r})]}),(0,Wa.jsx)("button",{type:"button",onClick:t,style:{marginTop:"1rem",padding:"0.5rem 1rem",background:"#1f2937",color:"white",border:"none",borderRadius:"6px",cursor:"pointer",fontSize:"0.9rem"},children:"Try again"})]})}typeof window<"u"&&(window.__TASKADE_APP_READY__=!1);function XB(){return new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>e())})})}function KB(){return Jx.useEffect(()=>{let e=!1;return(async()=>{do if(await hI(),await XB(),e)return;while(pI());window.__TASKADE_APP_READY__=!0})(),()=>{e=!0,window.__TASKADE_APP_READY__=!1}},[]),null}function LI({children:e}){return(0,Wa.jsxs)(Bp,{FallbackComponent:$B,onError:(t,a)=>{console.error("[Genesis] Uncaught render error:",t,a),ZB("error.boundary",t,a.componentStack)},onReset:()=>{console.info("[Genesis] User reset error boundary")},children:[e,(0,Wa.jsx)(KB,{})]})}var SI="taskade-theme-overrides";function YB(e){let t=e.trim().split(/\s+/);if(t.length<3)return null;let a=parseFloat(t[0]),r=parseFloat(t[1]),n=parseFloat(t[2]);return isNaN(a)||isNaN(r)||isNaN(n)?null:{h:a,s:r,l:n}}function JB(e,t){let a=YB(t);if(a==null)return t;let{h:r,s:n,l:i}=a;if(e==="--radius")return t;let l,d=n;return["--background","--card","--popover"].includes(e)?l=Math.max(3,Math.min(8,100-i)):["--foreground","--card-foreground","--popover-foreground"].includes(e)?l=Math.min(95,Math.max(85,100-i)):e==="--primary"?l=i<=50?Math.min(98,100-i):Math.max(2,100-i):e==="--primary-foreground"?l=i>50?Math.max(2,100-i):Math.min(98,100-i):["--accent","--muted","--border","--input","--ring"].includes(e)?(l=Math.max(10,Math.min(20,100-i)),d=Math.min(n,50)):e==="--accent-foreground"||e==="--muted-foreground"?l=Math.min(98,Math.max(55,100-i)):e==="--secondary"||e==="--secondary-foreground"?l=i>50?Math.max(8,100-i):Math.min(98,100-i):e==="--destructive"?(l=Math.max(25,i*.65),d=Math.min(n,70)):e==="--destructive-foreground"?l=Math.min(98,Math.max(90,100-i)):l=100-i,`${r} ${d}% ${Math.round(l)}%`}function _I(e,t){let a=Object.entries(t).map(([r,n])=>`  ${r}: ${n};`).join(`
30`);return`${e} {
31${a}
32}`}function CI(){let e=new Set;window.addEventListener("message",t=>{if(t.source===window.parent){if(t.data?.type==="TASKADE_THEME_UPDATE"){let a=t.data.data?.vars;if(a==null)return;let r=new Set(e),n={},i={};e.clear();for(let[d,c]of Object.entries(a))c!==""&&(n[d]=c,i[d]=JB(d,c),e.add(d));for(let d of r)document.documentElement.style.removeProperty(d);let l=document.getElementById(SI);Object.keys(n).length===0?l?.remove():(l==null&&(l=document.createElement("style"),l.id=SI,document.head.appendChild(l)),l.textContent=[_I(":root",n),_I(".dar
32k",i)].join(`
33
34`)),window.parent.postMessage({type:"TASKADE_THEME_APPLIED"},"*");return}if(t.data?.type==="TASKADE_THEME_READ"){let a=t.data.data?.keys;if(a==null)return;let r=getComputedStyle(document.documentElement),n={};for(let i of a){let l=r.getPropertyValue(i).trim();l&&(n[i]=l)}window.parent.postMessage({type:"TASKADE_THEME_CURRENT",data:{vars:n}},"*");return}}})}var mr=G(ht());CI();(0,II.createRoot)(document.getElementById("root")).render((0,mr.jsx)(kI.StrictMode,{children:(0,mr.jsx)(LI,{children:(0,mr.jsx)(Yg,{children:(0,mr.jsxs)($g,{children:[(0,mr.jsx)(Ll,{path:"/",element:(0,mr.jsx)(sI,{})}),(0,mr.jsx)(Ll,{path:"/play",element:(0,mr.jsx)(Kx,{})})]})})})}));
35/*! Bundled license information:
36
37leaflet/dist/leaflet-src.js:
38  (* @preserve
39   * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
40   * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
41   *)
42
43react/cjs/react.production.min.js:
44  (**
45   * @license React
46   * react.production.min.js
47   *
48   * Copyright (c) Facebook, Inc. and its affiliates.
49   *
50   * This source code is licensed under the MIT license found in the
51   * LICENSE file in the root directory of this source tree.
52   *)
53
54scheduler/cjs/scheduler.production.min.js:
55  (**
56   * @license React
57   * scheduler.production.min.js
58   *
59   * Copyright (c) Facebook, Inc. and its affiliates.
60   *
61   * This source code is licensed under the MIT license found in the
62   * LICENSE file in the root directory of this source tree.
63   *)
64
65react-dom/cjs/react-dom.production.min.js:
66  (**
67   * @license React
68   * react-dom.production.min.js
69   *
70   * Copyright (c) Facebook, Inc. and its affiliates.
71   *
72   * This source code is licensed under the MIT license found in the
73   * LICENSE file in the root directory of this source tree.
74   *)
75
76react/cjs/react-jsx-runtime.production.min.js:
77  (**
78   * @license React
79   * react-jsx-runtime.production.min.js
80   *
81   * Copyright (c) Facebook, Inc. and its affiliates.
82   *
83   * This source code is licensed under the MIT license found in the
84   * LICENSE file in the root directory of this source tree.
85   *)
86
87react-router/dist/production/chunk-L6MGG5FJ.mjs:
88react-router/dist/production/index.mjs:
89  (**
90   * react-router v7.0.0
91   *
92   * Copyright (c) Remix Software Inc.
93   *
94   * This source code is licensed under the MIT license found in the
95   * LICENSE.md file in the root directory of this source tree.
96   *
97   * @license MIT
98   *)
99
100lucide-react/dist/esm/shared/src/utils/mergeClasses.js:
101lucide-react/dist/esm/shared/src/utils/toKebabCase.js:
102lucide-react/dist/esm/shared/src/utils/toCamelCase.js:
103lucide-react/dist/esm/shared/src/utils/toPascalCase.js:
104lucide-react/dist/esm/defaultAttributes.js:
105lucide-react/dist/esm/shared/src/utils/hasA11yProp.js:
106lucide-react/dist/esm/Icon.js:
107lucide-react/dist/esm/createLucideIcon.js:
108lucide-react/dist/esm/icons/arrow-down.js:
109lucide-react/dist/esm/icons/book-open.js:
110lucide-react/dist/esm/icons/gamepad-2.js:
111lucide-react/dist/esm/icons/hammer.js:
112lucide-react/dist/esm/icons/heart.js:
113lucide-react/dist/esm/icons/house.js:
114lucide-react/dist/esm/icons/minus.js:
115lucide-react/dist/esm/icons/music.js:
116lucide-react/dist/esm/icons/pencil.js:
117lucide-react/dist/esm/icons/play.js:
118lucide-react/dist/esm/icons/plus.js:
119lucide-react/dist/esm/icons/rotate-ccw.js:
120lucide-react/dist/esm/icons/shield.js:
121lucide-react/dist/esm/icons/sparkles.js:
122lucide-react/dist/esm/icons/star.js:
123lucide-react/dist/esm/icons/trophy.js:
124lucide-react/dist/esm/icons/x.js:
125lucide-react/dist/esm/icons/youtube.js:
126lucide-react/dist/esm/lucide-react.js:
127  (**
128   * @license lucide-react v0.577.0 - ISC
129   *
130   * This source code is licensed under the ISC license.
131   * See the LICENSE file in the root directory of this source tree.
132   *)
133*/

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.