vendor: 7,493 bytes, lines 1-101
1import{b as y}from"./vendor-react-DugVcDEQ.js";import{j as Z}from"./vendor-three-DEXIDrGZ.js";/** 2 * @license lucide-react v0.562.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const Wo=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Uo=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,s)=>s?s.toUpperCase():n.toLowerCase()),Bn=t=>{const e=Uo(t);return e.charAt(0).toUpperCase()+e.slice(1)},ei=(...t)=>t.filter((e,n,s)=>!!e&&e.trim()!==""&&s.indexOf(e)===n).join(" ").trim(),zo=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};/** 7 * @license lucide-react v0.562.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */var Ho={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"};/** 12 * @license lucide-react v0.562.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const Ko=y.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:i="",children:r,iconNode:o,...a},c)=>y.createElement("svg",{ref:c,...Ho,width:e,height:e,stroke:t,strokeWidth:s?Number(n)*24/Number(e):n,className:ei("lucide",i),...!r&&!zo(a)&&{"aria-hidden":"true"},...a},[...o.map(([u,l])=>y.createElement(u,l)),...Array.isArray(r)?r:[r]]));/** 17 * @license lucide-react v0.562.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const w=(t,e)=>{const n=y.forwardRef(({className:s,...i},r)=>y.createElement(Ko,{ref:r,iconNode:e,className:ei(`lucide-${Wo(Bn(t))}`,`lucide-${t}`,s),...i}));return n.displayName=Bn(t),n};/** 22 * @license lucide-react v0.562.0 - ISC 23 * 24 * This source code is licensed under the ISC license. 25 * See the LICENSE file in the root directory of this source tree. 26 */const Go=[["path",{d:"M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3",key:"irtipd"}],["path",{d:"M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z",key:"1qyhux"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]],Jh=w("armchair",Go);/** 27 * @license lucide-react v0.562.0 - ISC 28 * 29 * This source code is licensed under the ISC license. 30 * See the LICENSE file in the root directory of this source tree. 31 */const qo=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],Qh=w("arrow-down",qo);/** 32 * @license lucide-react v0.562.0 - ISC 33 * 34 * This source code is licensed under the ISC license. 35 * See the LICENSE file in the root directory of this source tree. 36 */const Xo=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],tf=w("arrow-left",Xo);/** 37 * @license lucide-react v0.562.0 - ISC 38 * 39 * This source code is licensed under the ISC license. 40 * See the LICENSE file in the root directory of this source tree. 41 */const Yo=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ef=w("arrow-right",Yo);/** 42 * @license lucide-react v0.562.0 - ISC 43 * 44 * This source code is licensed under the ISC license. 45 * See the LICENSE file in the root directory of this source tree. 46 */const Zo=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],nf=w("arrow-up-right",Zo);/** 47 * @license lucide-react v0.562.0 - ISC 48 * 49 * This source code is licensed under the ISC license. 50 * See the LICENSE file in the root directory of this source tree. 51 */const Jo=[["path",{d:"M10 4 8 6",key:"1rru8s"}],["path",{d:"M17 19v2",key:"ts1sot"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M7 19v2",key:"12npes"}],["path",{d:"M9 5 7.621 3.621A2.121 2.121 0 0 0 4 5v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5",key:"14ym8i"}]],sf=w("bath",Jo);/** 52 * @license lucide-react v0.562.0 - ISC 53 * 54 * This source code is licensed under the ISC license. 55 * See the LICENSE file in the root directory of this source tree. 56 */const Qo=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],of=w("bell",Qo);/** 57 * @license lucide-react v0.562.0 - ISC 58 * 59 * This source code is licensed under the ISC license. 60 * See the LICENSE file in the root directory of this source tree. 61 */const tr=[["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"}]],rf=w("book-open",tr);/** 62 * @license lucide-react v0.562.0 - ISC 63 * 64 * This source code is licensed under the ISC license. 65 * See the LICENSE file in the root directory of this source tree. 66 */const er=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],af=w("briefcase",er);/** 67 * @license lucide-react v0.562.0 - ISC 68 * 69 * This source code is licensed under the ISC license. 70 * See the LICENSE file in the root directory of this source tree. 71 */const nr=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],cf=w("calendar",nr);/** 72 * @license lucide-react v0.562.0 - ISC 73 * 74 * This source code is licensed under the ISC license. 75 * See the LICENSE file in the root directory of this source tree. 76 */const sr=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],lf=w("camera",sr);/** 77 * @license lucide-react v0.562.0 - ISC 78 * 79 * This source code is licensed under the ISC license. 80 * See the LICENSE file in the root directory of this source tree. 81 */const ir=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],uf=w("car",ir);/** 82 * @license lucide-react v0.562.0 - ISC 83 * 84 * This source code is licensed under the ISC license. 85 * See the LICENSE file in the root directory of this source tree. 86 */const or=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],hf=w("chevron-down",or);/** 87 * @license lucide-react v0.562.0 - ISC 88 * 89 * This source code is licensed under the ISC license. 90 * See the LICENSE file in the root directory of this source tree. 91 */const rr=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ff=w("chevron-left",rr);/** 92 * @license lucide-react v0.562.0 - ISC 93 * 94 * This source code is licensed under the ISC license. 95 * See the LICENSE file in the root directory of this source tree. 96 */const ar=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],df=w("chevron-right",ar);/** 97 * @license lucide-react v0.562.0 - ISC 98 * 99 * This source code is licensed under the ISC license. 100 * See the LICENSE file in the root directory of this source tree. 101 */const cr=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],pf=w("chevron-up",cr);
101/** 102 * @license lucide-react v0.562.0 - ISC 103 * 104 * This source code is licensed under the ISC license. 105 * See the LICENSE file in the root directory of this source tree. 106 */const lr=[["path",{d:"M12 12H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h13",key:"1gdiyg"}],["path",{d:"M18 8c0-2.5-2-2.5-2-5",key:"1il607"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M21 12a1 1 0 0 1 1 1v2a1 1 0 0 1-.5.866",key:"166zjj"}],["path",{d:"M22 8c0-2.5-2-2.5-2-5",key:"1gah44"}],["path",{d:"M7 12v4",key:"jqww69"}]],mf=w("cigarette-off",lr);/** 107 * @license lucide-react v0.562.0 - ISC 108 * 109 * This source code is licensed under the ISC license. 110 * See the LICENSE file in the root directory of this source tree. 111 */const ur=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],yf=w("clock",ur);/** 112 * @license lucide-react v0.562.0 - ISC 113 * 114 * This source code is licensed under the ISC license. 115 * See the LICENSE file in the root directory of this source tree. 116 */const hr=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],gf=w("coffee",hr);/** 117 * @license lucide-react v0.562.0 - ISC 118 * 119 * This source code is licensed under the ISC license. 120 * See the LICENSE file in the root directory of this source tree. 121 */const fr=[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]],vf=w("cookie",fr);/** 122 * @license lucide-react v0.562.0 - ISC 123 * 124 * This source code is licensed under the ISC license. 125 * See the LICENSE file in the root directory of this source tree. 126 */const dr=[["path",{d:"M10 12h.01",key:"1kxr2c"}],["path",{d:"M18 20V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14",key:"36qu9e"}],["path",{d:"M2 20h20",key:"owomy5"}]],xf=w("door-closed",dr);/** 127 * @license lucide-react v0.562.0 - ISC 128 * 129 * This source code is licensed under the ISC license. 130 * See the LICENSE file in the root directory of this source tree. 131 */const pr=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Tf=w("external-link",pr);/** 132 * @license lucide-react v0.562.0 - ISC 133 * 134 * This source code is licensed under the ISC license. 135 * See the LICENSE file in the root directory of this source tree. 136 */const mr=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M12 16.5A4.5 4.5 0 1 1 7.5 12 4.5 4.5 0 1 1 12 7.5a4.5 4.5 0 1 1 4.5 4.5 4.5 4.5 0 1 1-4.5 4.5",key:"14wa3c"}],["path",{d:"M12 7.5V9",key:"1oy5b0"}],["path",{d:"M7.5 12H9",key:"eltsq1"}],["path",{d:"M16.5 12H15",key:"vk5kw4"}],["path",{d:"M12 16.5V15",key:"k7eayi"}],["path",{d:"m8 8 1.88 1.88",key:"nxy4qf"}],["path",{d:"M14.12 9.88 16 8",key:"1lst6k"}],["path",{d:"m8 16 1.88-1.88",key:"h2eex1"}],["path",{d:"M14.12 14.12 16 16",key:"uqkrx3"}]],wf=w("flower",mr);/** 137 * @license lucide-react v0.562.0 - ISC 138 * 139 * This source code is licensed under the ISC license. 140 * See the LICENSE file in the root directory of this source tree. 141 */const yr=[["path",{d:"M5.116 4.104A1 1 0 0 1 6.11 3h11.78a1 1 0 0 1 .994 1.105L17.19 20.21A2 2 0 0 1 15.2 22H8.8a2 2 0 0 1-2-1.79z",key:"p55z4y"}],["path",{d:"M6 12a5 5 0 0 1 6 0 5 5 0 0 0 6 0",key:"mjntcy"}]],Mf=w("glass-water",yr);/** 142 * @license lucide-react v0.562.0 - ISC 143 * 144 * This source code is licensed under the ISC license. 145 * See the LICENSE file in the root directory of this source tree. 146 */const gr=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Pf=w("info",gr);/** 147 * @license lucide-react v0.562.0 - ISC 148 * 149 * This source code is licensed under the ISC license. 150 * See the LICENSE file in the root directory of this source tree. 151 */const vr=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],bf=w("instagram",vr);/** 152 * @license lucide-react v0.562.0 - ISC 153 * 154 * This source code is licensed under the ISC license. 155 * See the LICENSE file in the root directory of this source tree. 156 */const xr=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],Af=w("layout-grid",xr);/** 157 * @license lucide-react v0.562.0 - ISC 158 * 159 * This source code is licensed under the ISC license. 160 * See the LICENSE file in the root directory of this source tree. 161 */const Tr=[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"9",height:"7",x:"3",y:"14",rx:"1",key:"jqznyg"}],["rect",{width:"5",height:"7",x:"16",y:"14",rx:"1",key:"q5h2i8"}]],Sf=w("layout-template",Tr);/** 162 * @license lucide-react v0.562.0 - ISC 163 * 164 * This source code is licensed under the ISC license. 165 * See the LICENSE file in the root directory of this source tree. 166 */const wr=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],kf=w("map-pin",wr);/** 167 * @license lucide-react v0.562.0 - ISC 168 * 169 * This source code is licensed under the ISC license. 170 * See the LICENSE file in the root directory of this source tree. 171 */const Mr=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]],Vf=w("maximize",Mr);/** 172 * @license lucide-react v0.562.0 - ISC 173 * 174 * This source code is licensed under the ISC license. 175 * See the LICENSE file in the root directory of this source tree. 176 */const Pr=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Cf=w("menu",Pr);/** 177 * @license lucide-react v0.562.0 - ISC 178 * 179 * This source code is licensed under the ISC license. 180 * See the LICENSE file in the root directory of this source tree. 181 */const br=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],Df=w("message-circle",br);/** 182 * @license lucide-react v0.562.0 - ISC 183 * 184 * This source code is licensed under the ISC license. 185 * See the LICENSE file in the root directory of this source tree. 186 */const Ar=[["path",{d:"M5 12h14",key:"1ays0h"}]],Ef=w("minus",Ar);/** 187 * @license lucide-react v0.562.0 - ISC 188 * 189 * This source code is licensed under the ISC license. 190 * See the LICENSE file in the root directory of this source tree. 191 */const Sr=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],Rf=w("moon",Sr);/** 192 * @license lucide-react v0.562.0 - ISC 193 * 194 * This source code is licensed under the ISC license. 195 * See the LICENSE file in the root directory of this source tree. 196 */const kr=[["path",{d:"M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.
1961-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z",key:"1v9wt8"}]],Lf=w("plane",kr);/** 197 * @license lucide-react v0.562.0 - ISC 198 * 199 * This source code is licensed under the ISC license. 200 * See the LICENSE file in the root directory of this source tree. 201 */const Vr=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Bf=w("plus",Vr);/** 202 * @license lucide-react v0.562.0 - ISC 203 * 204 * This source code is licensed under the ISC license. 205 * See the LICENSE file in the root directory of this source tree. 206 */const Cr=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],Ff=w("quote",Cr);/** 207 * @license lucide-react v0.562.0 - ISC 208 * 209 * This source code is licensed under the ISC license. 210 * See the LICENSE file in the root directory of this source tree. 211 */const Dr=[["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",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],If=w("shield-check",Dr);/** 212 * @license lucide-react v0.562.0 - ISC 213 * 214 * This source code is licensed under the ISC license. 215 * See the LICENSE file in the root directory of this source tree. 216 */const Er=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],jf=w("shopping-bag",Er);/** 217 * @license lucide-react v0.562.0 - ISC 218 * 219 * This source code is licensed under the ISC license. 220 * See the LICENSE file in the root directory of this source tree. 221 */const Rr=[["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"}
221],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Of=w("sparkles",Rr);/** 222 * @license lucide-react v0.562.0 - ISC 223 * 224 * This source code is licensed under the ISC license. 225 * See the LICENSE file in the root directory of this source tree. 226 */const Lr=[["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"}]],Nf=w("star",Lr);/** 227 * @license lucide-react v0.562.0 - ISC 228 * 229 * This source code is licensed under the ISC license. 230 * See the LICENSE file in the root directory of this source tree. 231 */const Br=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],_f=w("sun",Br);/** 232 * @license lucide-react v0.562.0 - ISC 233 * 234 * This source code is licensed under the ISC license. 235 * See the LICENSE file in the root directory of this source tree. 236 */const Fr=[["path",{d:"M12 10V2",key:"16sf7g"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m16 6-4 4-4-4",key:"6wukr"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]],$f=w("sunset",Fr);/** 237 * @license lucide-react v0.562.0 - ISC 238 * 239 * This source code is licensed under the ISC license. 240 * See the LICENSE file in the root directory of this source tree. 241 */const Ir=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Wf=w("users",Ir);/** 242 * @license lucide-react v0.562.0 - ISC 243 * 244 * This source code is licensed under the ISC license. 245 * See the LICENSE file in the root directory of this source tree. 246 */const jr=[["path",{d:"m16 2-2.3 2.3a3 3 0 0 0 0 4.2l1.8 1.8a3 3 0 0 0 4.2 0L22 8",key:"n7qcjb"}],["path",{d:"M15 15 3.3 3.3a4.2 4.2 0 0 0 0 6l7.3 7.3c.7.7 2 .7 2.8 0L15 15Zm0 0 7 7",key:"d0u48b"}],["path",{d:"m2.1 21.8 6.4-6.3",key:"yn04lh"}],["path",{d:"m19 5-7 7",key:"194lzd"}]],Uf=w("utensils-crossed",jr);/** 247 * @license lucide-react v0.562.0 - ISC 248 * 249 * This source code is licensed under the ISC license. 250 * See the LICENSE file in the root directory of this source tree. 251 */const Or=[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]],zf=w("utensils",Or);/** 252 * @license lucide-react v0.562.0 - ISC 253 * 254 * This source code is licensed under the ISC license. 255 * See the LICENSE file in the root directory of this source tree. 256 */const Nr=[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]],Hf=w("waves",Nr);/** 257 * @license lucide-react v0.562.0 - ISC 258 * 259 * This source code is licensed under the ISC license. 260 * See the LICENSE file in the root directory of this source tree. 261 */const _r=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],Kf=w("wifi",_r);/** 262 * @license lucide-react v0.562.0 - ISC 263 * 264 * This source code is licensed under the ISC license. 265 * See the LICENSE file in the root directory of this source tree.
vendor: 28,612 bytes, lines 266-276
266 */const $r=[["path",{d:"M12.8 19.6A2 2 0 1 0 14 16H2",key:"148xed"}],["path",{d:"M17.5 8a2.5 2.5 0 1 1 2 4H2",key:"1u4tom"}],["path",{d:"M9.8 4.4A2 2 0 1 1 11 8H2",key:"75valh"}]],Gf=w("wind",$r);/** 267 * @license lucide-react v0.562.0 - ISC 268 * 269 * This source code is licensed under the ISC license. 270 * See the LICENSE file in the root directory of this source tree. 271 */const Wr=[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]],qf=w("wine",Wr);/** 272 * @license lucide-react v0.562.0 - ISC 273 * 274 * This source code is licensed under the ISC license. 275 * See the LICENSE file in the root directory of this source tree. 276 */const Ur=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Xf=w("x",Ur),Ye=y.createContext({});function wt(t){const e=y.useRef(null);return e.current===null&&(e.current=t()),e.current}const Ze=typeof window<"u",oe=Ze?y.useLayoutEffect:y.useEffect,re=y.createContext(null);function Je(t,e){t.indexOf(e)===-1&&t.push(e)}function Qe(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Y=(t,e,n)=>n>e?e:n<t?t:n;let Lt=()=>{};const J={},ni=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function si(t){return typeof t=="object"&&t!==null}const ii=t=>/^0[^.\s]+$/u.test(t);function tn(t){let e;return()=>(e===void 0&&(e=t()),e)}const _=t=>t,zr=(t,e)=>n=>e(t(n)),Ot=(...t)=>t.reduce(zr),xt=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s};class en{constructor(){this.subscriptions=[]}add(e){return Je(this.subscriptions,e),()=>Qe(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let r=0;r<i;r++){const o=this.subscriptions[r];o&&o(e,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const q=t=>t*1e3,U=t=>t/1e3;function nn(t,e){return e?t*(1e3/e):0}const oi=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Hr=1e-7,Kr=12;function Gr(t,e,n,s,i){let r,o,a=0;do o=e+(n-e)/2,r=oi(o,s,i)-t,r>0?n=o:e=o;while(Math.abs(r)>Hr&&++a<Kr);return o}function Nt(t,e,n,s){if(t===e&&n===s)return _;const i=r=>Gr(r,0,1,t,n);return r=>r===0||r===1?r:oi(i(r),e,s)}const ri=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ai=t=>e=>1-t(1-e),ci=Nt(.33,1.53,.69,.99),sn=ai(ci),li=ri(sn),ui=t=>(t*=2)<1?.5*sn(t):.5*(2-Math.pow(2,-10*(t-1))),on=t=>1-Math.sin(Math.acos(t)),hi=ai(on),fi=ri(on),qr=Nt(.42,0,1,1),Xr=Nt(0,0,.58,1),di=Nt(.42,0,.58,1),Yr=t=>Array.isArray(t)&&typeof t[0]!="number",pi=t=>Array.isArray(t)&&typeof t[0]=="number",Zr={linear:_,easeIn:qr,easeInOut:di,easeOut:Xr,circIn:on,circInOut:fi,circOut:hi,backIn:sn,backInOut:li,backOut:ci,anticipate:ui},Jr=t=>typeof t=="string",Fn=t=>{if(pi(t)){Lt(t.length===4);const[e,n,s,i]=t;return Nt(e,n,s,i)}else if(Jr(t))return Zr[t];return t},Wt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Qr(t,e){let n=new Set,s=new Set,i=!1,r=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function c(l){o.has(l)&&(u.schedule(l),t()),l(a)}const u={schedule:(l,h=!1,f=!1)=>{const p=f&&i?n:s;return h&&o.add(l),p.has(l)||p.add(l),l},cancel:l=>{s.delete(l),o.delete(l)},process:l=>{if(a=l,i){r=!0;return}i=!0,[n,s]=[s,n],n.forEach(c),n.clear(),i=!1,r&&(r=!1,u.process(l))}};return u}const ta=40;function mi(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,o=Wt.reduce((x,A)=>(x[A]=Qr(r),x),{}),{setup:a,read:c,resolveKeyframes:u,preUpdate:l,update:h,preRender:f,render:d,postRender:p}=o,m=()=>{const x=J.useManualTiming?i.timestamp:performance.now();n=!1,J.useManualTiming||(i.delta=s?1e3/60:Math.max(Math.min(x-i.timestamp,ta),1)),i.timestamp=x,i.isProcessing=!0,a.process(i),c.process(i),u.process(i),l.process(i),h.process(i),f.process(i),d.process(i),p.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(m))},v=()=>{n=!0,s=!0,i.isProcessing||t(m)};return{schedule:Wt.reduce((x,A)=>{const M=o[A];return x[A]=(S,k=!1,b=!1)=>(n||v(),M.schedule(S,k,b)),x},{}),cancel:x=>{for(let A=0;A<Wt.length;A++)o[Wt[A]].cancel(x)},state:i,steps:o}}const{schedule:V,cancel:G,state:B,steps:he}=mi(typeof requestAnimationFrame<"u"?requestAnimationFrame:_,!0);let Gt;function ea(){Gt=void 0}const N={now:()=>(Gt===void 0&&N.set(B.isProcessing||J.useManualTiming?B.timestamp:performance.now()),Gt),set:t=>{Gt=t,queueMicrotask(ea)}},yi=t=>e=>typeof e=="string"&&e.startsWith(t),gi=yi("--"),na=yi("var(--"),rn=t=>na(t)?sa.test(t.split("/*")[0].trim()):!1,sa=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Mt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Bt={...Mt,transform:t=>Y(0,1,t)},Ut={...Mt,default:1},Vt=t=>Math.round(t*1e5)/1e5,an=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ia(t){return t==null}const oa=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,cn=(t,e)=>n=>!!(typeof n=="string"&&oa.test(n)&&n.startsWith(t)||e&&!ia(n)&&Object.prototype.hasOwnProperty.call(n,e)),vi=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,r,o,a]=s.match(an);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},ra=t=>Y(0,255,t),fe={...Mt,transform:t=>Math.round(ra(t))},at={test:cn("rgb","red"),parse:vi("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+fe.transform(t)+", "+fe.transform(e)+", "+fe.transform(n)+", "+Vt(Bt.transform(s))+")"};function aa(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const ke={test:cn("#"),parse:aa,transform:at.transform},_t=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),tt=_t("deg"),X=_t("%"),P=_t("px"),ca=_t("vh"),la=_t("vw"),In={...X,parse:t=>X.parse(t)/100,transform:t=>X.transform(t*100)},ft={test:cn("hsl","hue"),parse:vi("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+X.transform(Vt(e))+", "+X.transform(Vt(n))+", "+Vt(Bt.transform(s))+")"},E={test:t=>at.test(t)||ke.test(t)||ft.test(t),parse:t=>at.test(t)?at.parse(t):ft.test(t)?ft.parse(t):ke.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?at.transform(t):ft.transform(t),getAnimatableNone:t=>{const e=E.parse(t);return e.alpha=0,E.transform(e)}},ua=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ha(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(an))==null?void 0:e.length)||0)+(((n=t.match(ua))==null?void 0:n.length)||0)>0}const xi="number",Ti="color",fa="var",da="var(",jn="${}",pa=/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 Ft(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let r=0;const a=e.replace(pa,c=>(E.test(c)?(s.color.push(r),i.push(Ti),n.push(E.parse(c))):c.startsWith(da)?(s.var.push(r),i.push(fa),n.push(c)):(s.number.push(r),i.push(xi),n.push(parseFloat(c))),++r,jn)).split(jn);return{values:n,split:a,indexes:s,types:i}}function wi(t){return Ft(t).values}function Mi(t){const{split:e,types:n}=Ft(t),s=e.length;return i=>{let r="";for(let o=0;o<s;o++)if(r+=e[o],i[o]!==void 0){const a=n[o];a===xi?r+=Vt(i[o]):a===Ti?r+=E.transform(i[o]):r+=i[o]}return r}}const ma=t=>typeof t=="number"?0:E.test(t)?E.getAnimatableNone(t):t;function ya(t){const e=wi(t);return Mi(t)(e.map(ma))}const nt={test:ha,parse:wi,createTransformer:Mi,getAnimatableNone:ya};function de(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function ga({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,r=0,o=0;if(!e)i=r=o=n;else{const a=n<.5?n*(1+e):n+e-n*e,c=2*n-a;i=de(c,a,t+1/3),r=de(c,a,t),o=de(c,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}function Qt(t,e){return n=>n>0?e:t}const C=(t,e,n)=>t+(e-t)*n,pe=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},va=[ke,at,ft],xa=t=>va.find(e=>e.test(t));function On(t){const e=xa(t);if(!e)return!1;let n=e.parse(t);return e===ft&&(n=ga(n)),n}const Nn=(t,e)=>{const n=On(t),s=On(e);if(!n||!s)return Qt(t,e);const i={...n};return r=>(i.red=pe(n.red,s.red,r),i.green=pe(n.green,s.green,r),i.blue=pe(n.blue,s.blue,r),i.alpha=C(n.alpha,s.alpha,r),at.transform(i))},Ve=new Set(["none","hidden"]);function Ta(t,e){return Ve.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function wa(t,e){return n=>C(t,e,n)}function ln(t){return typeof t=="number"?wa:typeof t=="string"?rn(t)?Qt:E.test(t)?Nn:ba:Array.isArray(t)?Pi:typeof t=="object"?E.test(t)?Nn:Ma:Qt}function Pi(t,e){const n=[...t],s=n.length,i=t.map((r,o)=>ln(r)(r,e[o]));return r=>{for(let o=0;o<s;o++)n[o]=i[o](r);return n}}function Ma(t,e){const n={...t,...e},s={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(s[i]=ln(t[i])(t[i],e[i]));return i=>{for(const r in s)n[r]=s[r](i);return n}}function Pa(t,e){const n=[],s={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const r=e.types[i],o=t.indexes[r][s[r]],a=t.values[o]??0;n[i]=a,s[r]++}return n}const ba=(t,e)=>{const n=nt.createTransformer(e),s=Ft(t),i=Ft(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?Ve.has(t)&&!i.values.length||Ve.has(e)&&!s.values.length?Ta(t,e):Ot(Pi(Pa(s,i),i.values),n):Qt(t,e)};function bi(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?C(t,e,n):ln(t)(t,e)}const Aa=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>V.update(e,n),stop:()=>G(e),now:()=>B.isProcessing?B.timestamp:N.now()}},Ai=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let r=0;r<i;r++)s+=Math.round(t(r/(i-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},te=2e4;function un(t){let e=0;const n=50;let s=t.next(e);for(;!s.done&&e<te;)e+=n,s=t.next(e);return e>=te?1/0:e}function Sa(t,e=100,n){const s=n({...t,keyframes:[0,e]}),i=Math.min(un(s),te);return{type:"keyframes",ease:r=>s.next(i*r).value/e,duration:U(i)}}const ka=5;function Si(t,e,n){const s=Math.max(e-ka,0);return nn(n-t(s),e-s)}const D={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},me=.001;function Va({duration:t=D.duration,bounce:e=D.bounce,velocity:n=D.velocity,mass:s=D.mass}){let i,r,o=1-e;o=Y(D.minDamping,D.maxDamping,o),t=Y(D.minDuration,D.maxDuration,U(t)),o<1?(i=u=>{const l=u*o,h=l*t,f=l-n,d=Ce(u,o),p=Math.exp(-h);return me-f/d*p},r=u=>{const h=u*o*t,f=h*n+n,d=Math.pow(o,2)*Math.pow(u,2)*t,p=Math.exp(-h),m=Ce(Math.pow(u,2),o);return(-i(u)+me>0?-1:1)*((f-d)*p)/m}):(i=u=>{const l=Math.exp(-u*t),h=(u-n)*t+1;return-me+l*h},r=u=>{const l=Math.exp(-u*t),h=(n-u)*(t*t);return l*h});const a=5/t,c=Da(i,r,a);if(t=q(t),isNaN(c))return{stiffness:D.stiffness,damping:D.damping,duration:t};{const u=Math.pow(c,2)*s;return{stiffness:u,damping:o*2*Math.sqrt(s*u),duration:t}}}const Ca=12;function Da(t,e,n){let s=n;for(let i=1;i<Ca;i++)s=s-t(s)/e(s);return s}function Ce(t,e){return t*Math.sqrt(1-e*e)}const Ea=["duration","bounce"],Ra=["stiffness","damping","mass"];function _n(t,e){return e.some(n=>t[n]!==void 0)}function La(t){let e={velocity:D.velocity,stiffness:D.stiffness,damping:D.damping,mass:D.mass,isResolvedFromDuration:!1,...t};if(!_n(t,Ra)&&_n(t,Ea))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,r=2*Y(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:D.mass,stiffness:i,damping:r}}else{const n=Va(t);e={...e,...n,mass:D.mass},e.isResolvedFromDuration=!0}return e}function ee(t=D.visualDuration,e=D.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const r=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:c,damping:u,mass:l,duration:h,velocity:f,isResolvedFromDuration:d}=La({...n,velocity:-U(n.velocity||0)}),p=f||0,m=u/(2*Math.sqrt(c*l)),v=o-r,g=U(Math.sqrt(c/l)),T=Math.abs(v)<5;s||(s=T?D.restSpeed.granular:D.restSpeed.default),i||(i=T?D.restDelta.granular:D.restDelta.default);let x;if(m<1){const M=Ce(g,m);x=S=>{const k=Math.exp(-m*g*S);return o-k*((p+m*g*v)/M*Math.sin(M*S)+v*Math.cos(M*S))}}else if(m===1)x=M=>o-Math.exp(-g*M)*(v+(p+g*v)*M);else{const M=g*Math.sqrt(m*m-1);x=S=>{const k=Math.exp(-m*g*S),b=Math.min(M*S,300);return o-k*((p+m*g*v)*Math.sinh(b)+M*v*Math.cosh(b))/M}}const A={calculatedDuration:d&&h||null,next:M=>{const S=x(M);if(d)a.done=M>=h;else{let k=M===0?p:0;m<1&&(k=M===0?q(p):Si(x,M,S));const b=Math.abs(k)<=s,L=Math.abs(o-S)<=i;a.done=b&&L}return a.value=a.done?o:S,a},toString:()=>{const M=Math.min(un(A),te),S=Ai(k=>A.next(M*k).value,M,30);return M+"ms "+S},toTransition:()=>{}};return A}ee.applyToOptions=t=>{const e=Sa(t,100,ee);return t.ease=e.ease,t.duration=q(e.duration),t.type="keyframes",t};function De({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:c,restDelta:u=.5,restSpeed:l}){const h=t[0],f={done:!1,value:h},d=b=>a!==void 0&&b<a||c!==void 0&&b>c,p=b=>a===void 0?c:c===void 0||Math.abs(a-b)<Math.abs(c-b)?a:c;let m=n*e;const v=h+m,g=o===void 0?v:o(v);g!==v&&(m=g-h);const T=b=>-m*Math.exp(-b/s),x=b=>g+T(b),A=b=>{const L=T(b),j=x(b);f.done=Math.abs(L)<=u,f.value=f.done?g:j};let M,S;const k=b=>{d(f.value)&&(M=b,S=ee({keyframes:[f.value,p(f.value)],velocity:Si(x,b,f.value),damping:i,stiffness:r,restDelta:u,restSpeed:l}))};return k(0),{calculatedDuration:null,next:b=>{let L=!1;return!S&&M===void 0&&(L=!0,A(b),k(b)),M!==void 0&&b>=M?S.next(b-M):(!L&&A(b),f)}}}function Ba(t,e,n){const s=[],i=n||J.mix||bi,r=t.length-1;for(let o=0;o<r;o++){let a=i(t[o],t[o+1]);if(e){const c=Array.isArray(e)?e[o]||_:e;a=Ot(c,a)}s.push(a)}return s}function hn(t,e,{clamp:n=!0,ease:s,mixer:i}={}){const r=t.length;if(Lt(r===e.length),r===1)return()=>e[0];if(r===2&&e[0]===e[1])return()=>e[1];const o=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=Ba(e,s,i),c=a.length,u=l=>{if(o&&l<t[0])return e[0];let h=0;if(c>1)for(;h<t.length-2&&!(l<t[h+1]);h++);const f=xt(t[h],t[h+1],l);return a[h](f)};return n?l=>u(Y(t[0],t[r-1],l)):u}function Fa(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=xt(0,e,s);t.push(C(n,1,i))}}function ki(t){const e=[0];return Fa(e,t.length-1),e}function Ia(t,e){return t.map(n=>n*e)}function ja(t,e){return t.map(()=>e||di).splice(0,t.length-1)}function Ct({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=Yr(s)?s.map(Fn):Fn(s),r={done:!1,value:e[0]},o=Ia(n&&n.length===e.length?n:ki(e),t),a=hn(o,e,{ease:Array.isArray(i)?i:ja(e,i)});return{calculatedDuration:t,next:c=>(r.value=a(c),r.done=c>=t,r)}}const Oa=t=>t!==null;function fn(t,{repeat:e,repeatType:n="loop"},s,i=1){const r=t.filter(Oa),a=i<0||e&&n!=="loop"&&e%2===1?0:r.length-1;return!a||s===void 0?r[a]:s}const Na={decay:De,inertia:De,tween:Ct,keyframes:Ct,spring:ee};function Vi(t){typeof t.type=="string"&&(t.type=Na[t.type])}class dn{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const _a=t=>t/100;class pn extends dn{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var s,i;const{motionValue:n}=this.options;n&&n.updatedAt!==N.now()&&this.tick(N.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(s=this.options).onStop)==null||i.call(s))},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;Vi(e);const{type:n=Ct,repeat:s=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=e;let{keyframes:a}=e;const c=n||Ct;c!==Ct&&typeof a[0]!="number"&&(this.mixKeyframes=Ot(_a,bi(a[0],a[1])),a=[0,100]);const u=c({...e,keyframes:a});r==="mirror"&&(this.mirroredGenerator=c({...e,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=un(u));const{calculatedDuration:l}=u;this.calculatedDuration=l,this.resolvedDuration=l+i,this.totalDuration=this.resolvedDuration*(s+1)-i,this.generator=u}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:s,totalDuration:i,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:c}=this;if(this.startTime===null)return s.next(0);const{delay:u=0,keyframes:l,repeat:h,repeatType:f,repeatDelay:d,type:p,onUpdate:m,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),T=this.playbackSpeed>=0?g<0:g>i;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let x=this.currentTime,A=s;if(h){const b=Math.min(this.currentTime,i)/a;let L=Math.floor(b),j=b%1;!j&&b>=1&&(j=1),j===1&&L--,L=Math.min(L,h+1),!!(L%2)&&(f==="reverse"?(j=1-j,d&&(j-=d/a)):f==="mirror"&&(A=o)),x=Y(0,1,j)*a}const M=T?{done:!1,value:l[0]}:A.next(x);r&&(M.value=r(M.value));let{done:S}=M;!T&&c!==null&&(S=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);return k&&p!==De&&(M.value=fn(l,this.options,v,this.speed)),m&&m(M.value),k&&this.finish(),M}then(e,n){return this.finished.then(e,n)}get duration(){return U(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+U(e)}get time(){return U(this.currentTime)}set time(e){var n;e=q(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(N.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=U(this.currentTime))}play(){var i,r;if(this.isStopped)return;const{driver:e=Aa,startTime:n}=this.options;this.driver||(this.driver=e(o=>this.tick(o))),(r=(i=this.options).onPlay)==null||r.call(i);const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),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(N.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(e=this.options).onComplete)==null||n.call(e)}cancel(){var e,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(e=this.options).onCancel)==null||n.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),e.observe(this)}}function $a(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const ct=t=>t*180/Math.PI,Ee=t=>{const e=ct(Math.atan2(t[1],t[0]));return Re(e)},Wa={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Ee,rotateZ:Ee,skewX:t=>ct(Math.atan(t[1])),skewY:t=>ct(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Re=t=>(t=t%360,t<0&&(t+=360),t),$n=Ee,Wn=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Un=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Ua={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Wn,scaleY:Un,scale:t=>(Wn(t)+Un(t))/2,rotateX:t=>Re(ct(Math.atan2(t[6],t[5]))),rotateY:t=>Re(ct(Math.atan2(-t[2],t[0]))),rotateZ:$n,rotate:$n,skewX:t=>ct(Math.atan(t[4])),skewY:t=>ct(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Le(t){return t.includes("scale")?1:0}function Be(t,e){if(!t||t==="none")return Le(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,i;if(n)s=Ua,i=n;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=Wa,i=a}if(!i)return Le(e);const r=s[e],o=i[1].split(",").map(Ha);return typeof r=="function"?r(o):o[r]}const za=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return Be(n,e)};function Ha(t){return parseFloat(t.trim())}const Pt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],bt=new Set(Pt),zn=t=>t===Mt||t===P,Ka=new Set(["x","y","z"]),Ga=Pt.filter(t=>!Ka.has(t));function qa(t){const e=[];return Ga.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const lt={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>Be(e,"x"),y:(t,{transform:e})=>Be(e,"y")};lt.translateX=lt.x;lt.translateY=lt.y;const ut=new Set;let Fe=!1,Ie=!1,je=!1;function Ci(){if(Ie){const t=Array.from(ut).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=qa(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([r,o])=>{var a;(a=s.getValue(r))==null||a.set(o)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Ie=!1,Fe=!1,ut.forEach(t=>t.complete(je)),ut.clear()}function Di(){ut.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Ie=!0)})}function Xa(){je=!0,Di(),Ci(),je=!1}class mn{constructor(e,n,s,i,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(ut.add(this),Fe||(Fe=!0,V.read(Di),V.resolveKeyframes(Ci))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;if(e[0]===null){const r=i==null?void 0:i.get(),o=e[e.length-1];if(r!==void 0)e[0]=r;else if(s&&n){const a=s.readValue(n,o);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=o),i&&r===void 0&&i.set(e[0])}$a(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ut.delete(this)}cancel(){this.state==="scheduled"&&(ut.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Ya=t=>t.startsWith("--");function Za(t,e,n){Ya(e)?t.style.setProperty(e,n):t.style[e]=n}const Ei=tn(()=>window.ScrollTimeline!==void 0),Ja={};function Qa(t,e){const n=tn(t);return()=>Ja[e]??n()}const Ri=Qa(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),kt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,Hn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:kt([0,.65,.55,1]),circOut:kt([.55,0,1,.45]),backIn:kt([.31,.01,.66,-.59]),backOut:kt([.33,1.53,.69,.99])};function Li(t,e){if(t)return typeof t=="function"?Ri()?Ai(t,e):"ease-out":pi(t)?kt(t):Array.isArray(t)?t.map(n=>Li(n,e)||Hn.easeOut):Hn[t]}function tc(t,e,n,{delay:s=0,duration:i=300,repeat:r=0,repeatType:o="loop",ease:a="easeOut",times:c}={},u=void 0){const l={[e]:n};c&&(l.offset=c);const h=Li(a,i);Array.isArray(h)&&(l.easing=h);const f={delay:s,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),t.animate(l,f)}function Bi(t){return typeof t=="function"&&"applyToOptions"in t}function ec({type:t,...e}){return Bi(t)&&Ri()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class nc extends dn{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:n,name:s,keyframes:i,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:a,onComplete:c}=e;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=e,Lt(typeof e.type!="string");const u=ec(e);this.animation=tc(n,s,i,u,r),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const l=fn(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(l):Za(n,s,l),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,n;(n=(e=this.animation).finish)==null||n.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,n;this.isPseudoElement||(n=(e=this.animation).commitStyles)==null||n.call(e)}get duration(){var n,s;const e=((s=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:s.call(n).duration)||0;return U(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+U(e)}get time(){return U(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=q(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){var s;return this.allowFlatten&&((s=this.animation.effect)==null||s.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&Ei()?(this.animation.timeline=e,_):n(this)}}const Fi={anticipate:ui,backInOut:li,circInOut:fi};function sc(t){return t in Fi}function ic(t){typeof t.ease=="string"&&sc(t.ease)&&(t.ease=Fi[t.ease])}const Kn=10;class oc extends nc{constructor(e){ic(e),Vi(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:s,onComplete:i,element:r,...o}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const a=new pn({...o,autoplay:!1}),c=q(this.finishedTime??this.time);n.setWithVelocity(a.sample(c-Kn).value,a.sample(c).value,Kn),a.stop()}}const Gn=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(nt.test(t)||t==="0")&&!t.startsWith("url("));function rc(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function ac(t,e,n,s){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const r=t[t.length-1],o=Gn(i,e),a=Gn(r,e);return!o||!a?!1:rc(t)||(n==="spring"||Bi(n))&&s}function Oe(t){t.duration=0,t.type="keyframes"}const cc=new Set(["opacity","clipPath","filter","transform"]),lc=tn(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function uc(t){var l;const{motionValue:e,name:n,repeatDelay:s,repeatType:i,damping:r,type:o}=t;if(!(((l=e==null?void 0:e.owner)==null?void 0:l.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=e.owner.getProps();return lc()&&n&&cc.has(n)&&(n!=="transform"||!u)&&!c&&!s&&i!=="mirror"&&r!==0&&o!=="inertia"}const hc=40;class fc extends dn{constructor({autoplay:e=!0,delay:n=0,type:s="
276keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o="loop",keyframes:a,name:c,motionValue:u,element:l,...h}){var p;super(),this.stop=()=>{var m,v;this._animation&&(this._animation.stop(),(m=this.stopTimeline)==null||m.call(this)),(v=this.keyframeResolver)==null||v.cancel()},this.createdAt=N.now();const f={autoplay:e,delay:n,type:s,repeat:i,repeatDelay:r,repeatType:o,name:c,motionValue:u,element:l,...h},d=(l==null?void 0:l.KeyframeResolver)||mn;this.keyframeResolver=new d(a,(m,v,g)=>this.onKeyframesResolved(m,v,f,!g),c,u,l),(p=this.keyframeResolver)==null||p.scheduleResolve()}onKeyframesResolved(e,n,s,i){this.keyframeResolver=void 0;const{name:r,type:o,velocity:a,delay:c,isHandoff:u,onUpdate:l}=s;this.resolvedAt=N.now(),ac(e,r,o,a)||((J.instantAnimations||!c)&&(l==null||l(fn(e,s,n))),e[0]=e[e.length-1],Oe(s),s.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>hc?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:e},d=!u&&uc(f)?new oc({...f,element:f.motionValue.owner.current}):new pn(f);d.finished.then(()=>this.notifyFinished()).catch(_),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),Xa()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}}const dc=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function pc(t){const e=dc.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Ii(t,e,n=1){const[s,i]=pc(t);if(!s)return;const r=window.getComputedStyle(e).getPropertyValue(s);if(r){const o=r.trim();return ni(o)?parseFloat(o):o}return rn(i)?Ii(i,e,n+1):i}function yn(t,e){return(t==null?void 0:t[e])??(t==null?void 0:t.default)??t}const ji=new Set(["width","height","top","left","right","bottom",...Pt]),mc={test:t=>t==="auto",parse:t=>t},Oi=t=>e=>e.test(t),Ni=[Mt,P,X,tt,la,ca,mc],qn=t=>Ni.find(Oi(t));function yc(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||ii(t):!0}const gc=new Set(["brightness","contrast","saturate","opacity"]);function vc(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(an)||[];if(!s)return t;const i=n.replace(s,"");let r=gc.has(e)?1:0;return s!==n&&(r*=100),e+"("+r+i+")"}const xc=/\b([a-z-]*)\(.*?\)/gu,Ne={...nt,getAnimatableNone:t=>{const e=t.match(xc);return e?e.map(vc).join(" "):t}},Xn={...Mt,transform:Math.round},Tc={rotate:tt,rotateX:tt,rotateY:tt,rotateZ:tt,scale:Ut,scaleX:Ut,scaleY:Ut,scaleZ:Ut,skew:tt,skewX:tt,skewY:tt,distance:P,translateX:P,translateY:P,translateZ:P,x:P,y:P,z:P,perspective:P,transformPerspective:P,opacity:Bt,originX:In,originY:In,originZ:P},gn={borderWidth:P,borderTopWidth:P,borderRightWidth:P,borderBottomWidth:P,borderLeftWidth:P,borderRadius:P,radius:P,borderTopLeftRadius:P,borderTopRightRadius:P,borderBottomRightRadius:P,borderBottomLeftRadius:P,width:P,maxWidth:P,height:P,maxHeight:P,top:P,right:P,bottom:P,left:P,padding:P,paddingTop:P,paddingRight:P,paddingBottom:P,paddingLeft:P,margin:P,marginTop:P,marginRight:P,marginBottom:P,marginLeft:P,backgroundPositionX:P,backgroundPositionY:P,...Tc,zIndex:Xn,fillOpacity:Bt,strokeOpacity:Bt,numOctaves:Xn},wc={...gn,color:E,backgroundColor:E,outlineColor:E,fill:E,stroke:E,borderColor:E,borderTopColor:E,borderRightColor:E,borderBottomColor:E,borderLeftColor:E,filter:Ne,WebkitFilter:Ne},_i=t=>wc[t];function $i(t,e){let n=_i(t);return n!==Ne&&(n=nt),n.getAnimatableNone?n.getAnimatableNone(e):void 0}
vendor: 1,652 bytes, line 276
276const Mc=new Set(["auto","none","0"]);function Pc(t,e,n){let s=0,i;for(;s<t.length&&!i;){const r=t[s];typeof r=="string"&&!Mc.has(r)&&Ft(r).values.length&&(i=t[s]),s++}if(i&&n)for(const r of e)t[r]=$i(n,i)}class bc extends mn{constructor(e,n,s,i,r){super(e,n,s,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<e.length;c++){let u=e[c];if(typeof u=="string"&&(u=u.trim(),rn(u))){const l=Ii(u,n.current);l!==void 0&&(e[c]=l),c===e.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!ji.has(s)||e.length!==2)return;const[i,r]=e,o=qn(i),a=qn(r);if(o!==a)if(zn(o)&&zn(a))for(let c=0;c<e.length;c++){const u=e[c];typeof u=="string"&&(e[c]=parseFloat(u))}else lt[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,s=[];for(let i=0;i<e.length;i++)(e[i]===null||yc(e[i]))&&s.push(i);s.length&&Pc(e,s,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:s}=this;if(!e||!e.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=lt[s](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&e.getValue(s,i).jump(i,!1)}measureEndState(){var a;const{element:e,name:n,unresolvedKeyframes:s}=this;if(!e||!e.current)return;const i=e.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=s.length-1,o=s[r];s[r]=lt[n](e.measureViewportBox(),window.getComputedStyle(e.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEac
vendor: 4,393 bytes, line 276
276h(([c,u])=>{e.getValue(c).set(u)}),this.resolveNoneKeyframes()}}function Wi(t,e,n){if(t instanceof EventTarget)return[t];if(typeof t=="string"){const i=document.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}const Ui=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function vn(t){return si(t)&&"offsetHeight"in t}const Yn=30,Ac=t=>!isNaN(parseFloat(t)),Dt={current:void 0};class Sc{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var r;const i=N.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((r=this.events.change)==null||r.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=N.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Ac(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new en);const s=this.events[e].add(n);return e==="change"?()=>{s(),V.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Dt.current&&Dt.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=N.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Yn)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Yn);return nn(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),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(){var e,n;(e=this.dependents)==null||e.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function K(t,e){return new Sc(t,e)}const{schedule:xn}=mi(queueMicrotask,!1),H={x:!1,y:!1};function zi(){return H.x||H.y}function kc(t){return t==="x"||t==="y"?H[t]?null:(H[t]=!0,()=>{H[t]=!1}):H.x||H.y?null:(H.x=H.y=!0,()=>{H.x=H.y=!1})}function Hi(t,e){const n=Wi(t),s=new AbortController,i={passive:!0,...e,signal:s.signal};return[n,i,()=>s.abort()]}function Zn(t){return!(t.pointerType==="touch"||zi())}function Vc(t,e,n={}){const[s,i,r]=Hi(t,n),o=a=>{if(!Zn(a))return;const{target:c}=a,u=e(c,a);if(typeof u!="function"||!c)return;const l=h=>{Zn(h)&&(u(h),c.removeEventListener("pointerleave",l))};c.addEventListener("pointerleave",l,i)};return s.forEach(a=>{a.addEventListener("pointerenter",o,i)}),r}const Ki=(t,e)=>e?t===e?!0:Ki(t,e.parentElement):!1,Tn=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Cc=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Dc(t){return Cc.has(t.tagName)||t.tabIndex!==-1}const qt=new WeakSet;function Jn(t){return e=>{e.key==="Enter"&&t(e)}}function ye(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Ec=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=Jn(()=>{if(qt.has(n))return;ye(n,"down");const i=Jn(()=>{ye(n,"up")}),r=()=>ye(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",r,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)};function Qn(t){return Tn(t)&&!zi()}function Rc(t,e,n={}
276){const[s,i,r]=Hi(t,n),o=a=>{const c=a.currentTarget;if(!Qn(a))return;qt.add(c);const u=e(c,a),l=(d,p)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),qt.has(c)&&qt.delete(c),Qn(d)&&typeof u=="function"&&u(d,{success:p})},h=d=>{l(d,c===window||c===document||n.useGlobalTarget||Ki(c,d.target))},f=d=>{l(d,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",f,i)};return s.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),vn(a)&&(a.addEventListener("focus",u=>Ec(u,i)),!Dc(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),r}function wn(t){return si(t)&&"ownerSVGElement"in t}const Xt=new WeakMap;let et;const Gi=(t,e,n)=>(s,i)=>i&&i[0]?i[0][t+"Size"]:wn(s)&&"getBBox"in s?s.getBBox()[e]:s[n],Lc=Gi("inline","width","offsetWidth"),Bc=Gi("block","height","offsetHeight");function Fc({target:t,borderBoxSize:e}){var n;(n=Xt.get(t))==null||n.forEach(s=>{s(t,{get width(){return Lc(t,e)},get height(){return Bc(t,e)}})})}function Ic(t){t.forEach(Fc)}function jc(){typeof ResizeObserver>"u"||(et=new ResizeObserver(Ic))}function Oc(t,e){et||jc();const n=Wi(t);return n.forEach(s=>{let i=Xt.get(s);i||(i=new Set,Xt.set(s,i)),i.add(e),et==null||et.observe(s)}),()=>{n.forEach(s=>{const i=Xt.get(s);i==null||i.delete(e),i!=null&&i.size||et==null||et.unobserve(s)})}}const Yt=new Set;let dt;function Nc(){dt=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};Yt.forEach(e=>e(t))},window.addEventListener("resize",dt)}function _c(t){return Yt.add(t),dt||Nc(),()=>{Yt.delete(t),!Yt.size&&typeof dt=="function"&&(window.removeEventListener("resize",dt),dt=void 0)}}function $c(t,e){return typeof t=="function"?_c(t):Oc(t,e)}function qi(t,e){let n;const s=()=>{const{currentTime:i}=e,o=(i===null?0:i.value)/100;n!==o&&t(o),n=o};return V.preUpdate(s,!0),()=>G(s)}function Wc(t){return wn(t)&&t.tagName==="svg"}function Uc(...t){const e=!Array.isArray(t[0]),n=e?0:-1,s=t[0+n],i=t[1+n],r=t[2+n],o=t[3+n],a=hn(i,r,o);return e?a(s):a}const I=t=>!!(t&&t.getVelocity),zc=[...Ni,E,nt],Hc=t=>zc.find(Oi(t)),ae=y.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function ts(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Kc(...t){return e=>{let n=!1;const s=t.map(i=>{const r=ts(i,e);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<s.length;i++){const r=s[i];typeof r=="function"?r():ts(t[i],null)}}}}function Gc(...t){return y.useCallback(Kc(...t),t)}class qc extends y.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const s=n.offsetParent,i=vn(s)&&s.offsetWidth||0,r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Xc({children:t,isPresent:e,anchorX:n,root:s}){const i=y.useId(),r=y.useRef(null),o=y.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=y.useContext(ae),c=Gc(r,t==null?void 0:t.ref);return y.useInsertionEffect(()=>{const{width:u,height:l,top:h,left:f,right:d}=o.current;if(e||!r.current||!u||!l)return;const p=n==="left"?`left: ${f}`:`right: ${d}`;r.current.dataset.motionPopId=i;const m=document.createElement("style");a&&(m.nonce=a);const v=s??document.head;return v.appendChild(m),m.sheet&&m.sheet.insertRule(` 277 [data-motion-pop-id="${i}"] { 278 position: absolute !important; 279 width: ${u}px !important; 280 height: ${l}px !important; 281 ${p}px !important; 282 top: ${h}px !important; 283 } 284 `),()=>{v.contains(m)&&v.removeChild(m)}},[e]),Z.jsx(qc,{isPresent:e,childRef:r,sizeRef:o,children:y.cloneElement(t,{ref:c})})}const Yc=({children:t,initial:e,isPresent:n,onExitComplete:s,custom:i,presenceAffectsLayout:r,mode:o,anchorX:a,root:c})=>{const u=wt(Zc),l=y.useId();let h=!0,f=y.useMemo(()=>(h=!1,{id:l,initial:e,isPresent:n,custom:i,onExitComplete:d=>{u.set(d,!0);for(const p of u.values())if(!p)return;s&&s()},register:d=>(u.set(d,!1),()=>u.delete(d))}),[n,u,s]);return r&&h&&(f={...f}),y.useMemo(()=>{u.forEach((d,p)=>u.set(p,!1))},[n]),y.useEffect(()=>{!n&&!u.size&&s&&s()},[n]),o==="popLayout"&&(t=Z.jsx(Xc,{isPresent:n,anchorX:a,root:c,children:t})),Z.jsx(re.Provider,{value:f,children:t})};function Zc(){return new Map}function Xi(t=!0){const e=y.useContext(re);
vendor: 1,084 bytes, line 284
284if(e===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:i}=e,r=y.useId();y.useEffect(()=>{if(t)return i(r)},[t]);const o=y.useCallback(()=>t&&s&&s(r),[r,s,t]);return!n&&s?[!1,o]:[!0]}const zt=t=>t.key||"";function es(t){const e=[];return y.Children.forEach(t,n=>{y.isValidElement(n)&&e.push(n)}),e}const Yf=({children:t,custom:e,initial:n=!0,onExitComplete:s,presenceAffectsLayout:i=!0,mode:r="sync",propagate:o=!1,anchorX:a="left",root:c})=>{const[u,l]=Xi(o),h=y.useMemo(()=>es(t),[t]),f=o&&!u?[]:h.map(zt),d=y.useRef(!0),p=y.useRef(h),m=wt(()=>new Map),[v,g]=y.useState(h),[T,x]=y.useState(h);oe(()=>{d.current=!1,p.current=h;for(let S=0;S<T.length;S++){const k=zt(T[S]);f.includes(k)?m.delete(k):m.get(k)!==!0&&m.set(k,!1)}},[T,f.length,f.join("-")]);const A=[];if(h!==v){let S=[...h];for(let k=0;k<T.length;k++){const b=T[k],L=zt(b);f.includes(L)||(S.splice(k,0,b),A.push(b))}return r==="wait"&&A.length&&(S=A),x(es(S)),g(h),null}const{forceRender:M}=y.useContext(Ye);return Z.jsx(Z.Fragment,{children:T.map(S=>{const k=zt(S),b=o&&!u?!1:h===T||f.includes(k),L=()=>
vendor: 5,304 bytes, line 284
284{if(m.has(k))m.set(k,!0);else return;let j=!0;m.forEach(Q=>{Q||(j=!1)}),j&&(M==null||M(),x(p.current),o&&(l==null||l()),s&&s())};return Z.jsx(Yc,{isPresent:b,initial:!d.current||n?void 0:!1,custom:e,presenceAffectsLayout:i,mode:r,root:c,onExitComplete:b?void 0:L,anchorX:a,children:S},k)})})},Yi=y.createContext({strict:!1}),ns={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"]},Tt={};for(const t in ns)Tt[t]={isEnabled:e=>ns[t].some(n=>!!e[n])};function Jc(t){for(const e in t)Tt[e]={...Tt[e],...t[e]}}const Qc=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","ignoreStrict","viewport"]);function ne(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Qc.has(t)}let Zi=t=>!ne(t);function tl(t){typeof t=="function"&&(Zi=e=>e.startsWith("on")?!ne(e):t(e))}try{tl(require("@emotion/is-prop-valid").default)}catch{}function el(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(Zi(i)||n===!0&&ne(i)||!e&&!ne(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}const ce=y.createContext({});function le(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function It(t){return typeof t=="string"||Array.isArray(t)}const Mn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Pn=["initial",...Mn];function ue(t){return le(t.animate)||Pn.some(e=>It(t[e]))}function Ji(t){return!!(ue(t)||t.variants)}function nl(t,e){if(ue(t)){const{initial:n,animate:s}=t;return{initial:n===!1||It(n)?n:void 0,animate:It(s)?s:void 0}}return t.inherit!==!1?e:{}}function sl(t){const{initial:e,animate:n}=nl(t,y.useContext(ce));return y.useMemo(()=>({initial:e,animate:n}),[ss(e),ss(n)])}function ss(t){return Array.isArray(t)?t.join(" "):t}function is(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const At={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(P.test(t))t=parseFloat(t);else return t;const n=is(t,e.target.x),s=is(t,e.target.y);return`${n}% ${s}%`}},il={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=nt.parse(t);if(i.length>5)return s;const r=nt.createTransformer(t),o=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,c=n.y.scale*e.y;i[0+o]/=a,i[1+o]/=c;const u=C(a,c,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),r(i)}},_e={borderRadius:{...At,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:At,borderTopRightRadius:At,borderBottomLeftRadius:At,borderBottomRightRadius:At,boxShadow:il};function Qi(t,{layout:e,layoutId:n}){return bt.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!_e[t]||t==="opacity")}const ol={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rl=Pt.length;function al(t,e,n){let s="",i=!0;for(let r=0;r<rl;r++){const o=Pt[r],a=t[o];if(a===void 0)continue;let c=!0;if(typeof a=="number"?c=a===(o.startsWith("scale")?1:0):c=parseFloat(a)===0,!c||n){const u=Ui(a,gn[o]);if(!c){i=!1;const l=ol[o]||o;s+=`${l}(${u}) `}n&&(e[o]=u)}}return s=s.trim(),n?s=n(e,i?"":s):i&&(s="none"),s}function bn(t,e,n){const{style:s,vars:i,transformOrigin:r}=t;let o=!1,a=!1;for(const c in e){const u=e[c];if(bt.has(c)){o=!0;continue}else if(gi(c)){i[c]=u;continue}else{const l=Ui(u,gn[c]);c.startsWith("origin")?(a=!0,r[c]=l):s[c]=l}}if(e.transform||(o||n?s.transform=al(e,t.transform,n):s.transform&&(s.transform="none")),a){const{originX:c="50%",originY:u="50%",originZ:l=0}=r;s.transformOrigin=`${c} ${u} ${l}`}}const An=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function to(t,e,n){for(const s in e)!I(e[s])&&!Qi(s,n)&&(t[s]=e[s])}function cl({transformTemplate:t},e){return y.useMemo(()=>{const n=An();return bn(n,e,t),Object.assign({},n.vars,n.style)},[e])}function ll(t,e){const n=t.style||{},s={};return to(s,n,t),Object.assign(s,cl(t,e)),s}function ul(t,e){const n={},s=ll(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}const hl={offset:"stroke-dashoffset",array:"stroke-dasharray"},fl={offset:"strokeDashoffset",array:"strokeDasharray"};function dl(t,e,n=1,s=0,i=!0){t.pathLength=1;const r=i?hl:fl;t[r.offset]=P.transform(-s);const o=P.transform(e),a=P.transform(n);t[r.array]=`${o} ${a}`}function eo(t,{attrX:e,attrY:n,attrScale:s,pathLength:i,pathSpacing:r=1,pathOffset:o=0,...a}
vendor: 5,875 bytes, line 284
284,c,u,l){if(bn(t,a,u),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:h,style:f}=t;h.transform&&(f.transform=h.transform,delete h.transform),(f.transform||h.transformOrigin)&&(f.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),f.transform&&(f.transformBox=(l==null?void 0:l.transformBox)??"fill-box",delete h.transformBox),e!==void 0&&(h.x=e),n!==void 0&&(h.y=n),s!==void 0&&(h.scale=s),i!==void 0&&dl(h,i,r,o,!1)}const no=()=>({...An(),attrs:{}}),so=t=>typeof t=="string"&&t.toLowerCase()==="svg";function pl(t,e,n,s){const i=y.useMemo(()=>{const r=no();return eo(r,e,so(s),t.transformTemplate,t.style),{...r.attrs,style:{...r.style}}},[e]);if(t.style){const r={};to(r,t.style,t),i.style={...r,...i.style}}return i}const ml=["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 Sn(t){return typeof t!="string"||t.includes("-")?!1:!!(ml.indexOf(t)>-1||/[A-Z]/u.test(t))}function yl(t,e,n,{latestValues:s},i,r=!1){const a=(Sn(t)?pl:ul)(e,s,i,t),c=el(e,typeof t=="string",r),u=t!==y.Fragment?{...c,...a,ref:n}:{},{children:l}=e,h=y.useMemo(()=>I(l)?l.get():l,[l]);return y.createElement(t,{...u,children:h})}function os(t){const e=[{},{}];return t==null||t.values.forEach((n,s)=>{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function kn(t,e,n,s){if(typeof e=="function"){const[i,r]=os(s);e=e(n!==void 0?n:t.custom,i,r)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,r]=os(s);e=e(n!==void 0?n:t.custom,i,r)}return e}function Zt(t){return I(t)?t.get():t}function gl({scrapeMotionValuesFromProps:t,createRenderState:e},n,s,i){return{latestValues:vl(n,s,i,t),renderState:e()}}function vl(t,e,n,s){const i={},r=s(t,{});for(const f in r)i[f]=Zt(r[f]);let{initial:o,animate:a}=t;const c=ue(t),u=Ji(t);e&&u&&!c&&t.inherit!==!1&&(o===void 0&&(o=e.initial),a===void 0&&(a=e.animate));let l=n?n.initial===!1:!1;l=l||o===!1;const h=l?a:o;if(h&&typeof h!="boolean"&&!le(h)){const f=Array.isArray(h)?h:[h];for(let d=0;d<f.length;d++){const p=kn(t,f[d]);if(p){const{transitionEnd:m,transition:v,...g}=p;for(const T in g){let x=g[T];if(Array.isArray(x)){const A=l?x.length-1:0;x=x[A]}x!==null&&(i[T]=x)}for(const T in m)i[T]=m[T]}}}return i}const io=t=>(e,n)=>{const s=y.useContext(ce),i=y.useContext(re),r=()=>gl(t,e,s,i);return n?r():wt(r)};function Vn(t,e,n){var r;const{style:s}=t,i={};for(const o in s)(I(s[o])||e.style&&I(e.style[o])||Qi(o,t)||((r=n==null?void 0:n.getValue(o))==null?void 0:r.liveStyle)!==void 0)&&(i[o]=s[o]);return i}const xl=io({scrapeMotionValuesFromProps:Vn,createRenderState:An});function oo(t,e,n){const s=Vn(t,e,n);for(const i in t)if(I(t[i])||I(e[i])){const r=Pt.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[r]=t[i]}return s}const Tl=io({scrapeMotionValuesFromProps:oo,createRenderState:no}),wl=Symbol.for("motionComponentSymbol");function pt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function Ml(t,e,n){return y.useCallback(s=>{s&&t.onMount&&t.onMount(s),e&&(s?e.mount(s):e.unmount()),n&&(typeof n=="function"?n(s):pt(n)&&(n.current=s))},[e])}const Cn=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Pl="framerAppearId",ro="data-"+Cn(Pl),ao=y.createContext({});function bl(t,e,n,s,i){var m,v;const{visualElement:r}=y.useContext(ce),o=y.useContext(Yi),a=y.useContext(re),c=y.useContext(ae).reducedMotion,u=y.useRef(null);s=s||o.renderer,!u.current&&s&&(u.current=s(t,{visualState:e,parent:r,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:c}));const l=u.current,h=y.useContext(ao);l&&!l.projection&&i&&(l.type==="html"||l.type==="svg")&&Al(u.current,n,i,h);const f=y.useRef(!1);y.useInsertionEffect(()=>{l&&f.current&&l.update(n,a)});const d=n[ro],p=y.useRef(!!d&&!((m=window.MotionHandoffIsComplete)!=null&&m.call(window,d))&&((v=window.MotionHasOptimisedAnimation)==null?void 0:v.call(window,d)));return oe(()=>{l&&(f.current=!0,window.MotionIsMounted=!0,l.updateFeatures(),l.scheduleRenderMicrotask(),p.current&&l.animationState&&l.animationState.animateChanges())}),y.useEffect(()=>{l&&(!p.current&&l.animationState&&l.animationState.animateChanges(),p.current&&(queueMicrotask(()=>{var g;(g=window.MotionHandoffMarkAsComplete)==null||g.call(window,d)}),p.current=!1),l.enteringChildren=void 0)}),l}function Al(t,e,n,s){const{layoutId:i,layout:r,drag:o,dragConstraints:a,layoutScroll:c,layoutRoot:u,layoutCrossfade:l}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:co(t.parent)),t.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!o||a&&pt(a),visualElement:t,animationType:typeof r=="string"?r:"both",initialPromotionConfig:s,crossfade:l,layoutScroll:c,layoutRoot:u})}function co(t){if(t)return t.options.allowProjection!==!1?t.projection:co(t.parent)}function ge(t,{forwardMotionProps:e=!1}={},n,s){n&&Jc(n);const i=Sn(t)?Tl:xl;function r(a,c){let u;const l={...y.useContext(ae),...a,layoutId:Sl(a)},{isStatic:h}=l,f=sl(a),d=i(a,h);if(!h&&Ze){kl();const p=Vl(l);u=p.MeasureLayout,f.visualElement=bl(t,d,l,s,p.ProjectionNode)}return Z.jsxs(ce.Provider,{value:f,children:[u&&f.visualElement?Z.jsx(u,{visualElement:f.visualElement,...l}):null,yl(t,a,Ml(d,f.visualElement,c),d,h,e)]})}r.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const o=y.forwardRef(r);return o[wl]=t,o}function Sl({layoutId:t}){const e=y.useContext(Ye).id;return e&&t!==void 0?e+"-"+t:t}function kl(t,e){y.useContext(Yi).strict}function Vl(t){const{drag:e,layout:n}=Tt;if(!e&&!n)return{};const s={...e,...n};return{MeasureLayout:e!=null&&e.isEnabled(t)||n!=null&&n.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
vendor: 16,599 bytes, line 284
284function Cl(t,e){if(typeof Proxy>"u")return ge;const n=new Map,s=(r,o)=>ge(r,o,t,e),i=(r,o)=>s(r,o);return new Proxy(i,{get:(r,o)=>o==="create"?s:(n.has(o)||n.set(o,ge(o,void 0,t,e)),n.get(o))})}function lo({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function Dl({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function El(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function ve(t){return t===void 0||t===1}function $e({scale:t,scaleX:e,scaleY:n}){return!ve(t)||!ve(e)||!ve(n)}function rt(t){return $e(t)||uo(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function uo(t){return rs(t.x)||rs(t.y)}function rs(t){return t&&t!=="0%"}function se(t,e,n){const s=t-n,i=e*s;return n+i}function as(t,e,n,s,i){return i!==void 0&&(t=se(t,i,s)),se(t,n,s)+e}function We(t,e=0,n=1,s,i){t.min=as(t.min,e,n,s,i),t.max=as(t.max,e,n,s,i)}function ho(t,{x:e,y:n}){We(t.x,e.translate,e.scale,e.originPoint),We(t.y,n.translate,n.scale,n.originPoint)}const cs=.999999999999,ls=1.0000000000001;function Rl(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let r,o;for(let a=0;a<i;a++){r=n[a],o=r.projectionDelta;const{visualElement:c}=r.options;c&&c.props.style&&c.props.style.display==="contents"||(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&yt(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,ho(t,o)),s&&rt(r.latestValues)&&yt(t,r.latestValues))}e.x<ls&&e.x>cs&&(e.x=1),e.y<ls&&e.y>cs&&(e.y=1)}function mt(t,e){t.min=t.min+e,t.max=t.max+e}function us(t,e,n,s,i=.5){const r=C(t.min,t.max,i);We(t,e,n,r,s)}function yt(t,e){us(t.x,e.x,e.scaleX,e.scale,e.originX),us(t.y,e.y,e.scaleY,e.scale,e.originY)}function fo(t,e){return lo(El(t.getBoundingClientRect(),e))}function Ll(t,e,n){const s=fo(t,n),{scroll:i}=e;return i&&(mt(s.x,i.offset.x),mt(s.y,i.offset.y)),s}const hs=()=>({translate:0,scale:1,origin:0,originPoint:0}),gt=()=>({x:hs(),y:hs()}),fs=()=>({min:0,max:0}),R=()=>({x:fs(),y:fs()}),Ue={current:null},po={current:!1};function Bl(){if(po.current=!0,!!Ze)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Ue.current=t.matches;t.addEventListener("change",e),e()}else Ue.current=!1}const Fl=new WeakMap;function Il(t,e,n){for(const s in e){const i=e[s],r=n[s];if(I(i))t.addValue(s,i);else if(I(r))t.addValue(s,K(i,{owner:t}));else if(r!==i)if(t.hasValue(s)){const o=t.getValue(s);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=t.getStaticValue(s);t.addValue(s,K(o!==void 0?o:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const ds=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class jl{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,blockInitialAnimation:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=mn,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const f=N.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,V.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=e,this.props=n,this.presenceContext=s,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=ue(n),this.isVariantNode=Ji(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:l,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in h){const d=h[f];c[f]!==void 0&&I(d)&&d.set(c[f])}}mount(e){var n;this.current=e,Fl.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,i)=>this.bindToMotionValue(i,s)),po.current||Bl(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ue.current,(n=this.parent)==null||n.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var e;this.projection&&this.projection.unmount(),G(this.notifyUpdate),G(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(e=this.parent)==null||e.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const s=this.features[n];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const s=bt.has(e);s&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&V.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),r&&r(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Tt){const n=Tt[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):R()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;s<ds.length;s++){const i=ds[s];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,o=e[r];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=Il(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=K(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){let s=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return s!=null&&(typeof s=="string"&&(ni(s)||ii(s))?s=parseFloat(s):!Hc(s)&&nt.test(n)&&(s=$i(e,n)),this.setBaseTarget(e,I(s)?s.get():s)),I(s)?s.get():s}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var r;const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const o=kn(this.props,n,(r=this.presenceContext)==null?void 0:r.custom);o&&(s=o[e])}if(n&&s!==void 0)return s;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!I(i)?i:this.initialValues[e]!==void 0&&s===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new en),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}scheduleRenderMicrotask(){xn.render(this.render)}}class mo extends jl{constructor(){super(...arguments),this.KeyframeResolver=bc}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;I(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function yo(t,{style:e,vars:n},s,i){const r=t.style;let o;for(o in e)r[o]=e[o];i==null||i.applyProjectionStyles(r,s);for(o in n)r.setProperty(o,n[o])}function Ol(t){return window.getComputedStyle(t)}class Nl extends mo{constructor(){super(...arguments),this.type="html",this.renderInstance=yo}readValueFromInstance(e,n){var s;if(bt.has(n))return(s=this.projection)!=null&&s.isProjecting?Le(n):za(e,n);{const i=Ol(e),r=(gi(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:n}){return fo(e,n)}build(e,n,s){bn(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return Vn(e,n,s)}}const go=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function _l(t,e,n,s){yo(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(go.has(i)?i:Cn(i),e.attrs[i])}class $l extends mo{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=R}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(bt.has(n)){const s=_i(n);return s&&s.default||0}return n=go.has(n)?n:Cn(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return oo(e,n,s)}build(e,n,s){eo(e,n,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(e,n,s,i){_l(e,n,s,i)}mount(e){this.isSVGTag=so(e.tagName),super.mount(e)}}const Wl=(t,e)=>Sn(t)?new $l(e):new Nl(e,{allowProjection:t!==y.Fragment});function vt(t,e,n){const s=t.getProps();return kn(s,e,n!==void 0?n:s.custom,t)}const ze=t=>Array.isArray(t);function Ul(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,K(n))}function zl(t){return ze(t)?t[t.length-1]||0:t}function Hl(t,e){const n=vt(t,e);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const o in r){const a=zl(r[o]);Ul(t,o,a)}}function Kl(t){return!!(I(t)&&t.add)}function He(t,e){const n=t.getValue("willChange");if(Kl(n))return n.add(e);if(!n&&J.WillChange){const s=new J.WillChange("auto");t.addValue("willChange",s),s.add(e)}}function vo(t){return t.props[ro]}const Gl=t=>t!==null;function ql(t,{repeat:e,repeatType:n="loop"},s){const i=t.filter(Gl),r=e&&n!=="loop"&&e%2===1?0:i.length-1;return i[r]}const Xl={type:"spring",stiffness:500,damping:25,restSpeed:10},Yl=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Zl={type:"keyframes",duration:.8},Jl={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ql=(t,{keyframes:e})=>e.length>2?Zl:bt.has(t)?t.startsWith("scale")?Yl(e[1]):Xl:Jl;function tu({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:r,repeatType:o,repeatDelay:a,from:c,elapsed:u,...l}){return!!Object.keys(l).length}const Dn=(t,e,n,s={},i,r)=>o=>{const a=yn(s,t)||{},c=a.delay||s.delay||0;let{elapsed:u=0}=s;u=u-q(c);const l={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:f=>{e.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:i};tu(a)||Object.assign(l,Ql(t,l)),l.duration&&(l.duration=q(l.duration)),l.repeatDelay&&(l.repeatDelay=q(l.repeatDelay)),l.from!==void 0&&(l.keyframes[0]=l.from);let h=!1;if((l.type===!1||l.duration===0&&!l.repeatDelay)&&(Oe(l),l.delay===0&&(h=!0)),(J.instantAnimations||J.skipAnimations)&&(h=!0,Oe(l),l.delay=0),l.allowFlatten=!a.type&&!a.ease,h&&!r&&e.get()!==void 0){const f=ql(l.keyframes,a);if(f!==void 0){V.update(()=>{l.onUpdate(f),l.onComplete()});return}}return a.isSync?new pn(l):new fc(l)};function eu({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function xo(t,e,{delay:n=0,transitionOverride:s,type:i}={}){let{transition:r=t.getDefaultTransition(),transitionEnd:o,...a}=e;s&&(r=s);const c=[],u=i&&t.animationState&&t.animationState.getState()[i];for(const l in a){const h=t.getValue(l,t.latestValues[l]??null),f=a[l];if(f===void 0||u&&eu(u,l))continue;const d={delay:n,...yn(r||{},l)},p=h.get();if(p!==void 0&&!h.isAnimating&&!Array.isArray(f)&&f===p&&!d.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const g=vo(t);if(g){const T=window.MotionHandoffAnimation(g,l,V);T!==null&&(d.startTime=T,m=!0)}}He(t,l),h.start(Dn(l,h,f,t.shouldReduceMotion&&ji.has(l)?{type:!1}:d,t,m));const v=h.animation;v&&c.push(v)}return o&&Promise.all(c).then(()=>{V.update(()=>{o&&Hl(t,o)})}),c}function To(t,e,n,s=0,i=1){const r=Array.from(t).sort((u,l)=>u.sortNodePosition(l)).indexOf(e),o=t.size,a=(o-1)*s;return typeof n=="function"?n(r,o):i===1?r*s:a-r*s}function Ke(t,e,n={}){var c;const s=vt(t,e,n.type==="exit"?(c=t.presenceContext)==null?void 0:c.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(i=n.transitionOverride);const r=s?()=>Promise.all(xo(t,s,n)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(u=0)=>{const{delayChildren:l=0,staggerChildren:h,staggerDirection:f}=i;return nu(t,e,u,l,h,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,l]=a==="beforeChildren"?[r,o]:[o,r];return u().then(()=>l())}else return Promise.all([r(),o(n.delay)])}function nu(t,e,n=0,s=0,i=0,r=1,o){const a=[];for(const c of t.variantChildren)c.notify("AnimationStart",e),a.push(Ke(c,e,{...o,delay:n+(typeof s=="function"?0:s)+To(t.variantChildren,c,s,i,r)}).then(()=>c.notify("AnimationComplete",e)));return Promise.all(a)}function su(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(r=>Ke(t,r,n));s=Promise.all(i)}else if(typeof e=="string")s=Ke(t,e,n);else{const i=typeof e=="function"?vt(t,e,n.custom):e;s=Promise.all(xo(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}function wo(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s<n;s++)if(e[s]!==t[s])return!1;return!0}const iu=Pn.length;function Mo(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?Mo(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<iu;n++){const s=Pn[n],i=t.props[s];(It(i)||i===!1)&&(e[s]=i)}return e}const ou=[...Mn].reverse(),ru=Mn.length;function au(t){return e=>Promise.all(e.map(({animation:n,options:s})=>su(t,n,s)))}function cu(t){let e=au(t),n=ps(),s=!0;const i=c=>(u,l)=>{var f;const h=vt(t,l,c==="exit"?(f=t.presenceContext)==null?void 0:f.custom:void 0);if(h){const{transition:d,transitionEnd:p,...m}=h;u={...u,...m,...p}}return u};function r(c){e=c(t)}function o(c){const{props:u}=t,l=Mo(t.parent)||{},h=[],f=new Set;let d={},p=1/0;for(let v=0;v<ru;v++){const g=ou[v],T=n[g],x=u[g]!==void 0?u[g]:l[g],A=It(x),M=g===c?T.isActive:null;M===!1&&(p=v);let S=x===l[g]&&x!==u[g]&&A;if(S&&s&&t.manuallyAnimateOnMount&&(S=!1),T.protectedKeys={...d},!T.isActive&&M===null||!x&&!T.prevProp||le(x)||typeof x=="boolean")continue;
vendor: 22,565 bytes, line 284
284const k=lu(T.prevProp,x);let b=k||g===c&&T.isActive&&!S&&A||v>p&&A,L=!1;const j=Array.isArray(x)?x:[x];let Q=j.reduce(i(g),{});M===!1&&(Q={});const{prevResolvedValues:En={}}=T,_o={...En,...Q},Rn=F=>{b=!0,f.has(F)&&(L=!0,f.delete(F)),T.needsAnimating[F]=!0;const $=t.getValue(F);$&&($.liveStyle=!1)};for(const F in _o){const $=Q[F],it=En[F];if(d.hasOwnProperty(F))continue;let ht=!1;ze($)&&ze(it)?ht=!wo($,it):ht=$!==it,ht?$!=null?Rn(F):f.add(F):$!==void 0&&f.has(F)?Rn(F):T.protectedKeys[F]=!0}T.prevProp=x,T.prevResolvedValues=Q,T.isActive&&(d={...d,...Q}),s&&t.blockInitialAnimation&&(b=!1);const Ln=S&&k;b&&(!Ln||L)&&h.push(...j.map(F=>{const $={type:g};if(typeof F=="string"&&s&&!Ln&&t.manuallyAnimateOnMount&&t.parent){const{parent:it}=t,ht=vt(it,F);if(it.enteringChildren&&ht){const{delayChildren:$o}=ht.transition||{};$.delay=To(it.enteringChildren,t,$o)}}return{animation:F,options:$}}))}if(f.size){const v={};if(typeof u.initial!="boolean"){const g=vt(t,Array.isArray(u.initial)?u.initial[0]:u.initial);g&&g.transition&&(v.transition=g.transition)}f.forEach(g=>{const T=t.getBaseTarget(g),x=t.getValue(g);x&&(x.liveStyle=!0),v[g]=T??null}),h.push({animation:v})}let m=!!h.length;return s&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(m=!1),s=!1,m?e(h):Promise.resolve()}function a(c,u){var h;if(n[c].isActive===u)return Promise.resolve();(h=t.variantChildren)==null||h.forEach(f=>{var d;return(d=f.animationState)==null?void 0:d.setActive(c,u)}),n[c].isActive=u;const l=o(c);for(const f in n)n[f].protectedKeys={};return l}return{animateChanges:o,setActive:a,setAnimateFunction:r,getState:()=>n,reset:()=>{n=ps()}}}function lu(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!wo(e,t):!1}function ot(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ps(){return{animate:ot(!0),whileInView:ot(),whileHover:ot(),whileTap:ot(),whileDrag:ot(),whileFocus:ot(),exit:ot()}}class st{constructor(e){this.isMounted=!1,this.node=e}update(){}}class uu extends st{constructor(e){super(e),e.animationState||(e.animationState=cu(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();le(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)==null||e.call(this)}}let hu=0;class fu extends st{constructor(){super(...arguments),this.id=hu++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>{n(this.id)})}mount(){const{register:e,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const du={animation:{Feature:uu},exit:{Feature:fu}};function jt(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}function $t(t){return{point:{x:t.pageX,y:t.pageY}}}const pu=t=>e=>Tn(e)&&t(e,$t(e));function Et(t,e,n,s){return jt(t,e,pu(n),s)}const Po=1e-4,mu=1-Po,yu=1+Po,bo=.01,gu=0-bo,vu=0+bo;function O(t){return t.max-t.min}function xu(t,e,n){return Math.abs(t-e)<=n}function ms(t,e,n,s=.5){t.origin=s,t.originPoint=C(e.min,e.max,t.origin),t.scale=O(n)/O(e),t.translate=C(n.min,n.max,t.origin)-t.originPoint,(t.scale>=mu&&t.scale<=yu||isNaN(t.scale))&&(t.scale=1),(t.translate>=gu&&t.translate<=vu||isNaN(t.translate))&&(t.translate=0)}function Rt(t,e,n,s){ms(t.x,e.x,n.x,s?s.originX:void 0),ms(t.y,e.y,n.y,s?s.originY:void 0)}function ys(t,e,n){t.min=n.min+e.min,t.max=t.min+O(e)}function Tu(t,e,n){ys(t.x,e.x,n.x),ys(t.y,e.y,n.y)}function gs(t,e,n){t.min=e.min-n.min,t.max=t.min+O(e)}function ie(t,e,n){gs(t.x,e.x,n.x),gs(t.y,e.y,n.y)}function W(t){return[t("x"),t("y")]}const Ao=({current:t})=>t?t.ownerDocument.defaultView:null,vs=(t,e)=>Math.abs(t-e);function wu(t,e){const n=vs(t.x,e.x),s=vs(t.y,e.y);return Math.sqrt(n**2+s**2)}class So{constructor(e,n,{transformPagePoint:s,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:o=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const f=Te(this.lastMoveEventInfo,this.history),d=this.startEvent!==null,p=wu(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!d&&!p)return;const{point:m}=f,{timestamp:v}=B;this.history.push({...m,timestamp:v});const{onStart:g,onMove:T}=this.handlers;d||(g&&g(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),T&&T(this.lastMoveEvent,f)},this.handlePointerMove=(f,d)=>{this.lastMoveEvent=f,this.lastMoveEventInfo=xe(d,this.transformPagePoint),V.update(this.updatePoint,!0)},this.handlePointerUp=(f,d)=>{this.end();const{onEnd:p,onSessionEnd:m,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Te(f.type==="pointercancel"?this.lastMoveEventInfo:xe(d,this.transformPagePoint),this.history);this.startEvent&&p&&p(f,g),m&&m(f,g)},!Tn(e))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=s,this.distanceThreshold=o,this.contextWindow=i||window;const a=$t(e),c=xe(a,this.transformPagePoint),{point:u}=c,{timestamp:l}=B;this.history=[{...u,timestamp:l}];const{onSessionStart:h}=n;h&&h(e,Te(c,this.history)),this.removeListeners=Ot(Et(this.contextWindow,"pointermove",this.handlePointerMove),Et(this.contextWindow,"pointerup",this.handlePointerUp),Et(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),G(this.updatePoint)}}function xe(t,e){return e?{point:e(t.point)}:t}function xs(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Te({point:t},e){return{point:t,delta:xs(t,ko(e)),offset:xs(t,Mu(e)),velocity:Pu(e,.1)}}function Mu(t){return t[0]}function ko(t){return t[t.length-1]}function Pu(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=ko(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>q(e)));)n--;if(!s)return{x:0,y:0};const r=U(i.timestamp-s.timestamp);if(r===0)return{x:0,y:0};const o={x:(i.x-s.x)/r,y:(i.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function bu(t,{min:e,max:n},s){return e!==void 0&&t<e?t=s?C(e,t,s.min):Math.max(t,e):n!==void 0&&t>n&&(t=s?C(n,t,s.max):Math.min(t,n)),t}function Ts(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function Au(t,{top:e,left:n,bottom:s,right:i}){return{x:Ts(t.x,n,i),y:Ts(t.y,e,s)}}function ws(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,s]=[s,n]),{min:n,max:s}}function Su(t,e){return{x:ws(t.x,e.x),y:ws(t.y,e.y)}}function ku(t,e){let n=.5;const s=O(t),i=O(e);return i>s?n=xt(e.min,e.max-s,t.min):s>i&&(n=xt(t.min,t.max-i,e.min)),Y(0,1,n)}function Vu(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const Ge=.35;function Cu(t=Ge){return t===!1?t=0:t===!0&&(t=Ge),{x:Ms(t,"left","right"),y:Ms(t,"top","bottom")}}function Ms(t,e,n){return{min:Ps(t,e),max:Ps(t,n)}}function Ps(t,e){return typeof t=="number"?t:t[e]||0}const Du=new WeakMap;class Eu{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=R(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:n=!1,distanceThreshold:s}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=h=>{const{dragSnapToOrigin:f}=this.getProps();f?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor($t(h).point)},o=(h,f)=>{const{drag:d,dragPropagation:p,onDragStart:m}=this.getProps();if(d&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=kc(d),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),W(g=>{let T=this.getAxisMotionValue(g).get()||0;if(X.test(T)){const{projection:x}=this.visualElement;if(x&&x.layout){const A=x.layout.layoutBox[g];A&&(T=O(A)*(parseFloat(T)/100))}}this.originPoint[g]=T}),m&&V.postRender(()=>m(h,f)),He(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},a=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f;const{dragPropagation:d,dragDirectionLock:p,onDirectionLock:m,onDrag:v}=this.getProps();if(!d&&!this.openDragLock)return;const{offset:g}=f;if(p&&this.currentDirection===null){this.currentDirection=Ru(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",f.point,g),this.updateAxis("y",f.point,g),this.visualElement.render(),v&&v(h,f)},c=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f,this.stop(h,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>W(h=>{var f;return this.getAnimationState(h)==="paused"&&((f=this.getAxisMotionValue(h).animation)==null?void 0:f.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new So(e,{onSessionStart:r,onStart:o,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:s,contextWindow:Ao(this.visualElement)})}stop(e,n){const s=e||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!s)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&V.postRender(()=>a(s,i))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!Ht(e,i,this.currentDirection))return;const r=this.getAxisMotionValue(e);let o=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(o=bu(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){var r;const{dragConstraints:e,dragElastic:n}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(r=this.visualElement.projection)==null?void 0:r.layout,i=this.constraints;e&&pt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=Au(s.layoutBox,e):this.constraints=!1,this.elastic=Cu(n),i!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&W(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=Vu(s.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!pt(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=Ll(s,i.root,this.visualElement.getTransformPagePoint());let o=Su(i.layout.layoutBox,r);if(n){const a=n(Dl(o));this.hasMutatedConstraints=!!a,a&&(o=lo(a))}return o}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},u=W(l=>{if(!Ht(l,n,this.currentDirection))return;let h=c&&c[l]||{};o&&(h={min:0,max:0});const f=i?200:1e6,d=i?40:1e7,p={type:"inertia",velocity:s?e[l]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...r,...h};return this.startAxisValueAnimation(l,p)});return Promise.all(u).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return He(this.visualElement,e),s.start(Dn(e,s,0,n,this.visualElement,!1))}stopAnimation(){W(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){W(e=>{var n;return(n=this.getAxisMotionValue(e).animation)==null?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)==null?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){W(n=>{const{drag:s}=this.getProps();if(!Ht(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];r.set(e[n]-C(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!pt(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};W(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const c=a.get();i[o]=ku({min:c,max:c},this.constraints[o])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),W(o=>{if(!Ht(o,e,null))return;const a=this.getAxisMotionValue(o),{min:c,max:u}=this.constraints[o];a.set(C(c,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;Du.set(this.visualElement,this);const e=this.visualElement.current,n=Et(e,"pointerdown",c=>{const{drag:u,dragListener:l=!0}=this.getProps();u&&l&&this.start(c)}),s=()=>{const{dragConstraints:c}=this.getProps();pt(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),V.read(s);const o=jt(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",(({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(W(l=>{const h=this.getAxisMotionValue(l);h&&(this.originPoint[l]+=c[l].translate,h.set(h.get()+c[l].translate))}),this.visualElement.render())}));return()=>{o(),n(),r(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=Ge,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:a}}}function Ht(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function Ru(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class Lu extends st{constructor(e){super(e),this.removeGroupControls=_,this.removeListeners=_,this.controls=new Eu(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||_}unmount(){this.removeGroupControls(),this.removeListeners()}}const bs=t=>(e,n)=>{t&&V.postRender(()=>t(e,n))};class Bu extends st{constructor(){super(...arguments),this.removePointerDownListener=_}onPointerDown(e){this.session=new So(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ao(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:bs(e),onStart:bs(n),onMove:s,onEnd:(r,o)=>{delete this.session,i&&V.postRender(()=>i(r,o))}}}mount(){this.removePointerDownListener=Et(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Jt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let we=!1;class Fu extends y.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:r}=e;r&&(n.group&&n.group.add(r),s&&s.register&&i&&s.register(r),we&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Jt.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:r}=this.props,{projection:o}=s;return o&&(o.isPresent=r,we=!0,i||e.layoutDependency!==n||n===void 0||e.isPresent!==r?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||V.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),xn.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;we=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Vo(t){const[e,n]=Xi(),s=y.useContext(Ye);return Z.jsx(Fu,{...t,layoutGroup:s,switchLayoutGroup:y.useContext(ao),isPresent:e,safeToRemove:n})}function Iu(t,e,n){const s=I(t)?t:K(t);return s.start(Dn("",s,e,n)),s.animation}const ju=(t,e)=>t.depth-e.depth;class Ou{constructor(){this.children=[],this.isDirty=!1}add(e){Je(this.children,e),this.isDirty=!0}remove(e){Qe(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ju),this.isDirty=!1,this.children.forEach(e)}}function Nu(t,e){const n=N.now(),s=({timestamp:i})=>{const r=i-n;r>=e&&(G(s),t(r-e))};return V.setup(s,!0),()=>G(s)}const Co=["TopLeft","TopRight","BottomLeft","BottomRight"],_u=Co.length,As=t=>typeof t=="string"?parseFloat(t):t,Ss=t=>typeof t=="number"||P.test(t);function $u(t,e,n,s,i,r){i?(t.opacity=C(0,n.opacity??1,Wu(s)),t.opacityExit=C(e.opacity??1,0,Uu(s))):r&&(t.opacity=C(e.opacity??1,n.opacity??1,s));for(let o=0;o<_u;o++){const a=`border${Co[o]}Radius`;let c=ks(e,a),u=ks(n,a);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||Ss(c)===Ss(u)?(t[a]=Math.max(C(As(c),As(u),s),0),(X.test(u)||X.test(c))&&(t[a]+="%")):t[a]=u}(e.rotate||n.rotate)&&(t.rotate=C(e.rotate||0,n.rotate||0,s))}function ks(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const Wu=Do(0,.5,hi),Uu=Do(.5,.95,_);function Do(t,e,n){return s=>s<t?0:s>e?1:n(xt(t,e,s))}function Vs(t,e){t.min=e.min,t.max=e.max}function z(t,e){Vs(t.x,e.x),Vs(t.y,e.y)}function Cs(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function Ds(t,e,n,s,i){return t-=e,t=se(t,1/n,s),i!==void 0&&(t=se(t,1/i,s)),t}function zu(t,e=0,n=1,s=.5,i,r=t,o=t){if(X.test(e)&&(e=parseFloat(e),e=C(o.min,o.max,e/100)-o.min),typeof e!="number")return;let a=C(r.min,r.max,s);t===r&&(a-=e),t.min=Ds(t.min,e,n,a,i),t.max=Ds(t.max,e,n,a,i)}function Es(t,e,[n,s,i],r,o){zu(t,e[n],e[s],e[i],e.scale,r,o)}const Hu=["x","scaleX","originX"],Ku=["y","scaleY","originY"];function Rs(t,e,n,s){Es(t.x,e,Hu,n?n.x:void 0,s?s.x:void 0),Es(t.y,e,Ku,n?n.y:void 0,s?s.y:void 0)}function Ls(t){return t.translate===0&&t.scale===1}function Eo(t){return Ls(t.x)&&Ls(t.y)}function Bs(t,e){return t.min===e.min&&t.max===e.max}function Gu(t,e){return Bs(t.x,e.x)&&Bs(t.y,e.y)}function Fs(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Ro(t,e){return Fs(t.x,e.x)&&Fs(t.y,e.y)}function Is(t){return O(t.x)/O(t.y)}function js(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class qu{constructor(){this.members=[]}add(e){Je(this.members,e),e.scheduleRender()}remove(e){if(Qe(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){s=r;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender(),e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Xu(t,e,n){let s="";const i=t.x.translate/e.x,r=t.y.translate/e.y,o=(n==null?void 0:n.z)||0;if((i||r||o)&&(s=`translate3d(${i}px, ${r}px, ${o}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:u,rotate:l,rotateX:h,rotateY:f,skewX:d,skewY:p}=n;u&&(s=`perspective(${u}px) ${s}`),l&&(s+=`rotate(${l}deg) `),h&&(s+=`rotateX(${h}deg) `),f&&(s+=`rotateY(${f}deg) `),d&&(s+=`skewX(${d}deg) `),p&&(s+=`skewY(${p}deg) `)}const a=t.x.scale*e.x,c=t.y.scale*e.y;return(a!==1||c!==1)&&(s+=`scale(${a}, ${c})`),s||"none"}const Me=["","X","Y","Z"],Yu=1e3;let Zu=0;function Pe(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function Lo(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=vo(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",V,!(i||r))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&Lo(s)}function Bo({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(o={},a=e==null?void 0:e()){this.id=Zu++,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=()=>
vendor: 14,638 bytes, line 284
284{this.projectionUpdateScheduled=!1,this.nodes.forEach(th),this.nodes.forEach(ih),this.nodes.forEach(oh),this.nodes.forEach(eh)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new Ou)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new en),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const c=this.eventHandlers.get(o);c&&c.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=wn(o)&&!Wc(o),this.instance=o;const{layoutId:a,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||a)&&(this.isLayoutDirty=!0),t){let l,h=0;const f=()=>this.root.updateBlockedByResize=!1;V.read(()=>{h=window.innerWidth}),t(o,()=>{const d=window.innerWidth;d!==h&&(h=d,this.root.updateBlockedByResize=!0,l&&l(),l=Nu(f,250),Jt.hasAnimatedSinceResize&&(Jt.hasAnimatedSinceResize=!1,this.nodes.forEach(_s)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||c)&&this.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h,hasRelativeLayoutChanged:f,layout:d})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||u.getDefaultTransition()||uh,{onLayoutAnimationStart:m,onLayoutAnimationComplete:v}=u.getProps(),g=!this.targetLayout||!Ro(this.targetLayout,d),T=!h&&f;if(this.options.layoutRoot||this.resumeFrom||T||h&&(g||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const x={...yn(p,"layout"),onPlay:m,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(x.delay=0,x.type=!1),this.startAnimation(x),this.setAnimationOrigin(l,T)}else h||_s(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=d})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),G(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(rh),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Lo(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let l=0;l<this.path.length;l++){const h=this.path[l];h.shouldResetTransform=!0,h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:a,layout:c}=this.options;if(a===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Os);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Ns);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(sh),this.nodes.forEach(Ju),this.nodes.forEach(Qu)):this.nodes.forEach(Ns),this.clearAllSnapshots();const a=N.now();B.delta=Y(0,1e3/60,a-B.timestamp),B.timestamp=a,B.isProcessing=!0,he.update.process(B),he.preRender.process(B),he.render.process(B),B.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,xn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nh),this.sharedNodes.forEach(ah)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,V.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){V.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!O(this.snapshot.measuredBox.x)&&!O(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();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=R(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const c=s(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Eo(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,l=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||rt(this.latestValues)||l)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let c=this.removeElementScroll(a);return o&&(c=this.removeTransform(c)),hh(c),{animationId:this.root.animationId,measuredBox:a,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return R();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(fh))){const{scroll:l}=this.root;l&&(mt(a.x,l.offset.x),mt(a.y,l.offset.y))}return a}removeElementScroll(o){var c;const a=R();if(z(a,o),(c=this.scroll)!=null&&c.wasRoot)return a;for(let u=0;u<this.path.length;u++){const l=this.path[u],{scroll:h,options:f}=l;l!==this.root&&h&&f.layoutScroll&&(h.wasRoot&&z(a,o),mt(a.x,h.offset.x),mt(a.y,h.offset.y))}return a}applyTransform(o,a=!1){const c=R();z(c,o);for(let u=0;u<this.path.length;u++){const l=this.path[u];!a&&l.options.layoutScroll&&l.scroll&&l!==l.root&&yt(c,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),rt(l.latestValues)&&yt(c,l.latestValues)}return rt(this.latestValues)&&yt(c,this.latestValues),c}removeTransform(o){const a=R();z(a,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!u.instance||!rt(u.latestValues))continue;$e(u.latestValues)&&u.updateSnapshot();const l=R(),h=u.measurePageBox();z(l,h),Rs(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,l)}return rt(this.latestValues)&&Rs(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.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!==B.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var d;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==a;if(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(d=this.parent)!=null&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:l,layoutId:h}=this.options;if(!this.layout||!(l||h))return;this.resolvedRelativeTargetAt=B.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=R(),this.targetWithTransforms=R()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Tu(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):z(this.target,this.layout.layoutBox),ho(this.target,this.targetDelta)):z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||$e(this.parent.latestValues)||uo(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,c){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=R(),this.relativeTargetOrigin=R(),ie(this.relativeTargetOrigin,a,c),z(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var p;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let c=!0;if((this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty)&&(c=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===B.timestamp&&(c=!1),c)return;const{layout:u,layoutId:l}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||l))return;z(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,f=this.treeScale.y;Rl(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=R());const{target:d}=o;if(!d){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Cs(this.prevProjectionDelta.x,this.projectionDelta.x),Cs(this.prevProjectionDelta.y,this.projectionDelta.y)),Rt(this.projectionDelta,this.layoutCorrected,d,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==f||!js(this.projectionDelta.x,this.prevProjectionDelta.x)||!js(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",d))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=gt(),this.projectionDelta=gt(),this.projectionDeltaWithTransform=gt()}setAnimationOrigin(o,a=!1){const c=this.snapshot,u=c?c.latestValues:{},l={...this.latestValues},h=gt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=R(),d=c?c.source:void 0,p=this.layout?this.layout.source:void 0,m=d!==p,v=this.getStack(),g=!v||v.members.length<=1,T=!!(m&&!g&&this.options.crossfade===!0&&!this.path.some(lh));this.animationProgress=0;let x;this.mixTargetDelta=A=>{const M=A/1e3;$s(h.x,o.x,M),$s(h.y,o.y,M),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ie(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),ch(this.relativeTarget,this.relativeTargetOrigin,f,M),x&&Gu(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=R()),z(x,this.relativeTarget)),m&&(this.animationValues=l,$u(l,u,this.latestValues,M,T,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,c,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||u.stop(),this.pendingAnimation&&(G(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=V.update(()=>{Jt.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=K(0)),this.currentAnimation=Iu(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),o.onUpdate&&o.onUpdate(l)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.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);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Yu),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:c,layout:u,latestValues:l}=o;if(!(!a||!c||!u)){if(this!==o&&this.layout&&u&&Fo(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||R();
vendor: 10,100 bytes, line 284
284const h=O(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+h;const f=O(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+f}z(a,c),yt(a,l),Rt(this.projectionDeltaWithTransform,this.layoutCorrected,a,l)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new qu),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(a=!0),!a)return;const u={};c.z&&Pe("z",o,u,this.animationValues);for(let l=0;l<Me.length;l++)Pe(`rotate${Me[l]}`,o,u,this.animationValues),Pe(`skew${Me[l]}`,o,u,this.animationValues);o.render();for(const l in u)o.setStaticValue(l,u[l]),this.animationValues&&(this.animationValues[l]=u[l]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Zt(a==null?void 0:a.pointerEvents)||"",o.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Zt(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!rt(this.latestValues)&&(o.transform=c?c({},""):"none",this.hasProjected=!1);return}o.visibility="";const l=u.animationValues||u.latestValues;this.applyTransformsToTarget();let h=Xu(this.projectionDeltaWithTransform,this.treeScale,l);c&&(h=c(l,h)),o.transform=h;const{x:f,y:d}=this.projectionDelta;o.transformOrigin=`${f.origin*100}% ${d.origin*100}% 0`,u.animationValues?o.opacity=u===this?l.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:o.opacity=u===this?l.opacity!==void 0?l.opacity:"":l.opacityExit!==void 0?l.opacityExit:0;for(const p in _e){if(l[p]===void 0)continue;const{correct:m,applyTo:v,isCSSVariable:g}=_e[p],T=h==="none"?l[p]:m(l[p],u);if(v){const x=v.length;for(let A=0;A<x;A++)o[v[A]]=T}else g?this.options.visualElement.renderState.vars[p]=T:o[p]=T}this.options.layoutId&&(o.pointerEvents=u===this?Zt(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(Os),this.root.sharedNodes.clear()}}}function Ju(t){t.updateLayout()}function Qu(t){var n;const e=((n=t.resumeFrom)==null?void 0:n.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:i}=t.layout,{animationType:r}=t.options,o=e.source!==t.layout.source;r==="size"?W(h=>{const f=o?e.measuredBox[h]:e.layoutBox[h],d=O(f);f.min=s[h].min,f.max=f.min+d}):Fo(r,e.layoutBox,s)&&W(h=>{const f=o?e.measuredBox[h]:e.layoutBox[h],d=O(s[h]);f.max=f.min+d,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[h].max=t.relativeTarget[h].min+d)});const a=gt();Rt(a,s,e.layoutBox);const c=gt();o?Rt(c,t.applyTransform(i,!0),e.measuredBox):Rt(c,s,e.layoutBox);const u=!Eo(a);let l=!1;if(!t.resumeFrom){const h=t.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:f,layout:d}=h;if(f&&d){const p=R();ie(p,e.layoutBox,f.layoutBox);const m=R();ie(m,s,d.layoutBox),Ro(p,m)||(l=!0),h.options.layoutRoot&&(t.relativeTarget=m,t.relativeTargetOrigin=p,t.relativeParent=h)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:e,delta:c,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:l})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function th(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function eh(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nh(t){t.clearSnapshot()}function Os(t){t.clearMeasurements()}function Ns(t){t.isLayoutDirty=!1}function sh(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function _s(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ih(t){t.resolveTargetDelta()}function oh(t){t.calcProjection()}function rh(t){t.resetSkewAndRotation()}function ah(t){t.removeLeadSnapshot()}function $s(t,e,n){t.translate=C(e.translate,0,n),t.scale=C(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Ws(t,e,n,s){t.min=C(e.min,n.min,s),t.max=C(e.max,n.max,s)}function ch(t,e,n,s){Ws(t.x,e.x,n.x,s),Ws(t.y,e.y,n.y,s)}function lh(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const uh={duration:.45,ease:[.4,0,.1,1]},Us=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),zs=Us("applewebkit/")&&!Us("chrome/")?Math.round:_;function Hs(t){t.min=zs(t.min),t.max=zs(t.max)}function hh(t){Hs(t.x),Hs(t.y)}function Fo(t,e,n){return t==="position"||t==="preserve-aspect"&&!xu(Is(e),Is(n),.2)}function fh(t){var e;return t!==t.root&&((e=t.scroll)==null?void 0:e.wasRoot)}const dh=Bo({attachResizeListener:(t,e)=>jt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),be={current:void 0},Io=Bo({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!be.current){const t=new dh({});t.mount(window),t.setOptions({layoutScroll:!0}),be.current=t}return be.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),ph={pan:{Feature:Bu},drag:{Feature:Lu,ProjectionNode:Io,MeasureLayout:Vo}};function Ks(t,e,n){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=s[i];r&&V.postRender(()=>r(e,$t(e)))}class mh extends st{mount(){const{current:e}=this.node;e&&(this.unmount=Vc(e,(n,s)=>(Ks(this.node,s,"Start"),i=>Ks(this.node,i,"End"))))}unmount(){}}class yh extends st{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ot(jt(this.node.current,"focus",()=>this.onFocus()),jt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Gs(t,e,n){const{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=s[i];r&&V.postRender(()=>r(e,$t(e)))}class gh extends st{mount(){const{current:e}=this.node;e&&(this.unmount=Rc(e,(n,s)=>(Gs(this.node,s,"Start"),(i,{success:r})=>Gs(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const qe=new WeakMap,Ae=new WeakMap,vh=t=>{const e=qe.get(t.target);e&&e(t)},xh=t=>{t.forEach(vh)};function Th({root:t,...e}){const n=t||document;Ae.has(n)||Ae.set(n,{});const s=Ae.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(xh,{root:t,...e})),s[i]}function wh(t,e,n){const s=Th(e);return qe.set(t,n),s.observe(t),()=>{qe.delete(t),s.unobserve(t)}}const Mh={some:0,all:1};class Ph extends st{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:r}=e,o={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:Mh[i]},a=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,r&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:l,onViewportLeave:h}=this.node.getProps(),f=u?l:h;f&&f(c)};return wh(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(bh(e,n))&&this.startObserver()}unmount(){}}function bh({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const Ah={inView:{Feature:Ph},tap:{Feature:gh},focus:{Feature:yh},hover:{Feature:mh}},Sh={layout:{ProjectionNode:Io,MeasureLayout:Vo}},kh={...du,...Ah,...ph,...Sh},Jf=Cl(kh,Wl),Vh=50,qs=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),Ch=()=>({time:0,x:qs(),y:qs()}),Dh={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function Xs(t,e,n,s){const i=n[e],{length:r,position:o}=Dh[e],a=i.current,c=n.time;i.current=t[`scroll${o}`],i.scrollLength=t[`scroll${r}`]-t[`client${r}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=xt(0,i.scrollLength,i.current);const u=s-c;
284i.velocity=u>Vh?0:nn(i.current-a,u)}function Eh(t,e,n){Xs(t,"x",e,n),Xs(t,"y",e,n),e.time=n}function Rh(t,e){const n={x:0,y:0};let s=t;for(;s&&s!==e;)if(vn(s))n.x+=s.offsetLeft,n.y+=s.offsetTop,s=s.offsetParent;else if(s.tagName==="svg"){const i=s.getBoundingClientRect();s=s.parentElement;const r=s.getBoundingClientRect();n.x+=i.left-r.left,n.y+=i.top-r.top}else if(s instanceof SVGGraphicsElement){const{x:i,y:r}=s.getBBox();n.x+=i,n.y+=r;let o=null,a=s.parentNode;for(;!o;)a.tagName==="svg"&&(o=a),a=s.parentNode;s=o}else break;return n}const Xe={start:0,center:.5,end:1};function Ys(t,e,n=0){let s=0;if(t in Xe&&(t=Xe[t]),typeof t=="string"){const i=parseFloat(t);t.endsWith("px")?s=i:t.endsWith("%")?t=i/100:t.endsWith("vw")?s=i/100*document.documentElement.clientWidth:t.endsWith("vh")?s=i/100*document.documentElement.clientHeight:t=i}return typeof t=="number"&&(s=e*t),n+s}const Lh=[0,0];function Bh(t,e,n,s){let i=Array.isArray(t)?t:Lh,r=0,o=0;return typeof t=="number"?i=[t,t]:typeof t=="string"&&(t=t.trim(),t.includes(" ")?i=t.split(" "):i=[t,Xe[t]?t:"0"]),r=Ys(i[0],n,s),o=Ys(i[1],e),r-o}const Fh={All:[[0,0],[1,1]]},Ih={x:0,y:0};function jh(t){return"getBBox"in t&&t.tagName!=="svg"?t.getBBox():{width:t.clientWidth,height:t.clientHeight}}function Oh(t,e,n){const{offset:s=Fh.All}=n,{target:i=t,axis:r="y"}=n,o=r==="y"?"height":"width",a=i!==t?Rh(i,t):Ih,c=i===t?{width:t.scrollWidth,height:t.scrollHeight}:jh(i),u={width:t.clientWidth,height:t.clientHeight};e[r].offset.length=0;let l=!e[r].interpolate;const h=s.length;for(let f=0;f<h;f++){const d=Bh(s[f],u[o],c[o],a[r]);!l&&d!==e[r].interpolatorOffsets[f]&&(l=!0),e[r].offset[f]=d}l&&(e[r].interpolate=hn(e[r].offset,ki(s),{clamp:!1}),e[r].interpolatorOffsets=[...e[r].offset]),e[r].progress=Y(0,1,e[r].interpolate(e[r].current))}function Nh(t,e=t,n){if(n.x.targetOffset=0,n.y.targetOffset=0,e!==t){let s=e;for(;s&&s!==t;)n.x.targetOffset+=s.offsetLeft,n.y.targetOffset+=s.offsetTop,s=s.offsetParent}n.x.targetLength=e===t?e.scrollWidth:e.clientWidth,n.y.targetLength=e===t?e.scrollHeight:e.clientHeight,n.x.containerLength=t.clientWidth,n.y.containerLength=t.clientHeight}function _h(t,e,n,s={}){return{measure:i=>{Nh(t,s.target,n),Eh(t,n,i),(s.offset||s.target)&&Oh(t,n,s)},notify:()=>e(n)}}const St=new WeakMap,Zs=new WeakMap,Se=new WeakMap,Js=t=>t===document.scrollingElement?window:t;function jo(t,{container:e=document.scrollingElement,...n}={}){if(!e)return _;let s=Se.get(e);s||(s=new Set,Se.set(e,s));const i=Ch(),r=_h(e,t,i,n);if(s.add(r),!St.has(e)){const a=()=>{for(const h of s)h.measure(B.timestamp);V.preUpdate(c)},c=()=>{for(const h of s)h.notify()},u=()=>V.read(a);St.set(e,u);const l=Js(e);window.addEventListener("resize",u,{passive:!0}),e!==document.documentElement&&Zs.set(e,$c(e,u)),l.addEventListener("scroll",u,{passive:!0}),u()}const o=St.get(e);return V.read(o,!1,!0),()=>{var u;G(o);const a=Se.get(e);if(!a||(a.delete(r),a.size))return;const c=St.get(e);St.delete(e),c&&(Js(e).removeEventListener("scroll",c),(u=Zs.get(e))==null||u(),window.removeEventListener("resize",c))}}const Qs=new Map;function $h(t){const e={value:0},n=jo(s=>{e.value=s[t.axis].progress*100},t);return{currentTime:e,cancel:n}}function Oo({source:t,container:e,...n}){const{axis:s}=n;t&&(e=t);const i=Qs.get(e)??new Map;Qs.set(e,i);const r=n.target??"self",o=i.get(r)??{},a=s+(n.offset??[]).join(",");return o[a]||(o[a]=!n.target&&Ei()?new ScrollTimeline({source:e,axis:s}):$h({container:e,...n})),o[a]}function Wh(t,e){const n=Oo(e);return t.attachTimeline({timeline:e.target?void 0:n,observe:s=>(s.pause(),qi(i=>{s.time=s.iterationDuration*i},n))})}function Uh(t){return t.length===2}function zh(t,e){return Uh(t)?jo(n=>{t(n[e.axis].progress,n)},e):qi(t,Oo(e))}function Hh(t,{axis:e="y",container:n=document.scrollingElement,...s}={}){if(!n)return _;const i={axis:e,container:n,...s};return typeof t=="function"?zh(t,i):Wh(t,i)}const Kh=()=>({scrollX:K(0),scrollY:K(0),scrollXProgress:K(0),scrollYProgress:K(0)}),Kt=t=>t?!t.current:!1;function Qf({container:t,target:e,...n}={}){const s=wt(Kh),i=y.useRef(null),r=y.useRef(!1),o=y.useCallback(()=>(i.current=Hh((a,{x:c,y:u})=>{s.scrollX.set(c.current),s.scrollXProgress.set(c.progress),s.scrollY.set(u.current),s.scrollYProgress.set(u.progress)}
284,{...n,container:(t==null?void 0:t.current)||void 0,target:(e==null?void 0:e.current)||void 0}),()=>{var a;(a=i.current)==null||a.call(i)}),[t,e,JSON.stringify(n.offset)]);return oe(()=>{if(r.current=!1,Kt(t)||Kt(e)){r.current=!0;return}else return o()},[o]),y.useEffect(()=>{if(r.current)return Lt(!Kt(t)),Lt(!Kt(e)),o()},[o]),s}function Gh(t){const e=wt(()=>K(t)),{isStatic:n}=y.useContext(ae);if(n){const[,s]=y.useState(t);y.useEffect(()=>e.on("change",s),[])}return e}function No(t,e){const n=Gh(e()),s=()=>n.set(e());return s(),oe(()=>{const i=()=>V.preRender(s,!1,!0),r=t.map(o=>o.on("change",i));return()=>{r.forEach(o=>o()),G(s)}}),n}function qh(t){Dt.current=[],t();const e=No(Dt.current,t);return Dt.current=void 0,e}function td(t,e,n,s){if(typeof t=="function")return qh(t);const i=typeof e=="function"?e:Uc(e,n,s);return Array.isArray(t)?ti(t,i):ti([t],([r])=>i(r))}function ti(t,e){const n=wt(()=>[]);return No(t,()=>{n.length=0;const s=t.length;for(let i=0;i<s;i++)n[i]=t[i].get();return e(n)})}export{lf as $,Yf as A,af as B,vf as C,Gf as D,Tf as E,Of as F,Kf as G,zf as H,bf as I,of as J,qf as K,Mf as L,Cf as M,sf as N,xf as O,Bf as P,Ff as Q,Uf as R,$f as S,wf as T,Wf as U,Sf as V,Hf as W,Xf as X,Pf as Y,rf as Z,kf as _,Df as a,Af as a0,Qh as b,ef as c,cf as d,hf as e,td as f,Ef as g,tf as h,Lf as i,jf as j,pf as k,_f as l,Jf as m,Rf as n,ff as o,df as p,Nf as q,nf as r,Vf as s,If as t,Qf as u,yf as v,gf as w,uf as x,mf as y,Jh as z};
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.