PageSourceSearch

https://www.dayoutwiththekids.co.uk/_next/static/chunks/4759-2651571408dedfde.js

js dayoutwiththekids.co.uk collected 2026-09-24 09:24:13 UTC 58,149 bytes, 181 lines download raw bytes

1!function(){try{var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new n.Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="2918362b-e66f-4db2-a889-e49862919637",n._sentryDebugIdIdentifier="sentry-dbid-2918362b-e66f-4db2-a889-e49862919637")}catch(n){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4759],{91373:function(n,e,t){t.d(e,{Z:function(){return createLucideIcon}});var i=t(67294);/**
2 * @license lucide-react v0.462.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 */let toKebabCase=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mergeClasses=(...n)=>n.filter((n,e,t)=>!!n&&""!==n.trim()&&t.indexOf(n)===e).join(" ").trim();/**
7 * @license lucide-react v0.462.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 o={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.462.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 */let a=(0,i.forwardRef)(({color:n="currentColor",size:e=24,strokeWidth:t=2,absoluteStrokeWidth:a,className:l="",children:r,iconNode:s,...c},u)=>(0,i.createElement)("svg",{ref:u,...o,width:e,height:e,stroke:n,strokeWidth:a?24*Number(t)/Number(e):t,className:mergeClasses("lucide",l),...c},[...s.map(([n,e])=>(0,i.createElement)(n,e)),...Array.isArray(r)?r:[r]])),createLucideIcon=(n,e)=>{let t=(0,i.forwardRef)(({className:t,...o},l)=>(0,i.createElement)(a,{ref:l,iconNode:e,className:mergeClasses(`lucide-${toKebabCase(n)}`,t),...o}));return t.displayName=`${n}`,t}},82701:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
17 * @license lucide-react v0.462.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 */let o=(0,i.Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},97013:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
22 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Bike",[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]])},92099:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
27 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Bird",[["path",{d:"M16 7h.01",key:"1kdx03"}],["path",{d:"M3.4 18H12a8 8 0 0 0 8-8V7a4 4 0 0 0-7.28-2.3L2 20",key:"oj1oa8"}],["path",{d:"m20 7 2 .5-2 .5",key:"12nv4d"}],["path",{d:"M10 18v3",key:"1yea0a"}],["path",{d:"M14 17.75V21",key:"1pymcb"}],["path",{d:"M7 18a6 6 0 0 0 3.84-10.61",key:"1npnn0"}]])},46309:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
32 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},81916:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
37 * @license lucide-react v0.462.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 */let o=(0,i.Z)("CalendarDays",[["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"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])},15041:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
42 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]])},58166:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
47 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Castle",[["path",{d:"M22 20v-9H2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2Z",key:"109fe4"}],["path",{d:"M18 11V4H6v7",key:"mon5oj"}],["path",{d:"M15 22v-4a3 3 0 0 0-3-3a3 3 0 0 0-3 3v4",key:"1k4jtn"}],["path",{d:"M22 11V9",key:"3zbp94"}],["path",{d:"M2 11V9",key:"1x5rnq"}],["path",{d:"M6 4V2",key:"1rsq15"}],["path",{d:"M18 4V2",key:"1jsdo1"}
51],["path",{d:"M10 4V2",key:"75d9ly"}],["path",{d:"M14 4V2",key:"8nj3z6"}]])},64998:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
52 * @license lucide-react v0.462.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 */let o=(0,i.Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},62958:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
57 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},63231:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
62 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]])},33905:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
67 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Flower2",[["path",{d:"M12 5a3 3 0 1 1 3 3m-3-3a3 3 0 1 0-3 3m3-3v1M9 8a3 3 0 1 0 3 3M9 8h1m5 0a3 3 0 1 1-3 3m3-3h-1m-2 3v-1",key:"3pnvol"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M12 10v12",key:"6ubwww"}],["path",{d:"M12 22c4.2 0 7-1.667 7-5-4.2 0-7 1.667-7 5Z",key:"9hd38g"}],["path",{d:"M12 22c-4.2 0-7-1.667-7-5 4.2 0 7 1.667 7 5Z",key:"ufn41s"}]])},12664:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
72 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Footprints",[["path",{d:"M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z",key:"1dudjm"}],["path",{d:"M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z",key:"l2t8xc"}],["path",{d:"M16 17h4",key:"1dejxt"}],["path",{d:"M4 13h4",key:"1bwh8b"}]])},50781:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
77 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]])},75324:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
82 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Leaf",[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]])},75976:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
87 * @license lucide-react v0.462.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 */let o=(0,i.Z)("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]])},85077:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
92 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Locate",[["line",{x1:"2",x2:"5",y1:"12",y2:"12",key:"bvdh0s"}
96],["line",{x1:"19",x2:"22",y1:"12",y2:"12",key:"1tbv5k"}],["line",{x1:"12",x2:"12",y1:"2",y2:"5",key:"11lu5j"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}],["circle",{cx:"12",cy:"12",r:"7",key:"fim9np"}]])},54976:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
97 * @license lucide-react v0.462.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 */let o=(0,i.Z)("MapPin",[["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"}]])},19887:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
102 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]])},7314:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
107 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},72090:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
112 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Mountain",[["path",{d:"m8 3 4 8 5-5 5 15H2L8 3z",key:"otkl63"}]])},12652:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
117 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Navigation",[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]])},38583:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
122 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]])},31012:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
127 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},66960:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
132 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Quote",[["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"}]])},87764:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
137 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},80035:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
142 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Sprout",[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]])},44877:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
147 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Tent",[["path",{d:"M3.5 21 14 3",key:"1szst5"}],["path",{d:"M20.5 21 10 3",key:"1310c3"}],["path",{d:"M15.5 21 12 15l-3.5 6",key:"1ddtfw"}],["path",{d:"M2 21h20",key:"1nyx9w"}]])},78477:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
152 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Trees",[["path",{d:"M10 10v.2A3 3 0 0 1 8.9 16H5a3 3 0 0 1-1-5.8V10a3 3 0 0 1 6 0Z",key:"1l6gj6"}],["path",{d:"M7 16v6",key:"1a82de"}],["path",{d:"M13 19v3",key:"13sx9i"}],["path",{d:"M12 19h8.3a1 1 0 0 0 .7-1.7L18 14h.3a1 1 0 0 0 .7-1.7L16 9h.2a1 1 0 0 0 .8-1.7L13 3l-1.4 1.5",key:"1sj9kv"}]])},49525:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
157 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},45539:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
162 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Utensils",[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}
166],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]])},95231:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
167 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Waves",[["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"}]])},25951:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
172 * @license lucide-react v0.462.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 */let o=(0,i.Z)("Wind",[["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"}]])},41352:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(91373);/**
177 * @license lucide-react v0.462.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 */let o=(0,i.Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},26126:function(n,e,t){t.d(e,{Uv:function(){return TransformComponent},d$:function(){return h}});var i,o,a=t(67294),l=t(85893),roundNumber=function(n,e){return Number(n.toFixed(e))},handleCallback=function(n,e,t){t&&"function"==typeof t&&t(n,e)},r={easeOut:function(n){return-Math.cos(n*Math.PI)/2+.5},linear:function(n){return n},easeInQuad:function(n){return n*n},easeOutQuad:function(n){return n*(2-n)},easeInOutQuad:function(n){return n<.5?2*n*n:-1+(4-2*n)*n},easeInCubic:function(n){return n*n*n},easeOutCubic:function(n){return--n*n*n+1},easeInOutCubic:function(n){return n<.5?4*n*n*n:(n-1)*(2*n-2)*(2*n-2)+1},easeInQuart:function(n){return n*n*n*n},easeOutQuart:function(n){return 1- --n*n*n*n},easeInOutQuart:function(n){return n<.5?8*n*n*n*n:1-8*--n*n*n*n},easeInQuint:function(n){return n*n*n*n*n},easeOutQuint:function(n){return 1+--n*n*n*n*n},easeInOutQuint:function(n){return n<.5?16*n*n*n*n*n:1+16*--n*n*n*n*n}},handleCancelAnimationFrame=function(n){"number"==typeof n&&cancelAnimationFrame(n)},handleCancelAnimation=function(n){n.mounted&&(handleCancelAnimationFrame(n.animation),n.isAnimating=!1,n.animation=null,n.velocity=null)};function handleSetupAnimation(n,e,t,i){if(n.mounted){var o=new Date().getTime();handleCancelAnimation(n),n.animation=function(){if(!n.mounted)return handleCancelAnimationFrame(n.animation);var a=new Date().getTime()-o,l=(0,r[e])(a/t);a>=t?(i(1),n.animation=null):n.animation&&(i(l),requestAnimationFrame(n.animation))},requestAnimationFrame(n.animation)}}function animate(n,e,t,i){var o,a,l,r=(o=e.scale,a=e.positionX,l=e.positionY,!(Number.isNaN(o)||Number.isNaN(a)||Number.isNaN(l)));if(n.mounted&&r){var s=n.setState,c=n.state,u=c.scale,d=c.positionX,p=c.positionY,h=e.scale-u,m=e.positionX-d,f=e.positionY-p;0===t?s(e.scale,e.positionX,e.positionY):handleSetupAnimation(n,i,t,function(e){1!==e?n.isAnimating=!0:n.isAnimating=!1,s(u+h*e,d+m*e,p+f*e)})}}var getBounds=function(n,e,t,i,o,a,l){var r=n>e?t*(l?.5:1):0,s=i>o?a*(l?.5:1):0;return{minPositionX:n-e-r,maxPositionX:r,minPositionY:i-o-s,maxPositionY:s,scaleWidthFactor:r,scaleHeightFactor:s}},calculateBounds=function(n,e){var t,i,o,a,l,r,s=n.wrapperComponent,c=n.contentComponent,u=n.setup,d=u.centerZoomedOut,p=u.disablePadding;if(!s||!c)throw Error("Components are not mounted");var h=(t=s.offsetWidth,i=s.offsetHeight,o=c.offsetWidth,a=c.offsetHeight,{wrapperWidth:t,wrapperHeight:i,newContentWidth:l=o*e,newDiffWidth:t-l,newContentHeight:r=a*e,newDiffHeight:i-r}),m=h.wrapperWidth,f=h.wrapperHeight,v=h.newContentWidth,y=h.newContentHeight,g=getBounds(m,v,h.newDiffWidth,f,y,h.newDiffHeight,!!d),C=m>=v&&f>=y;p&&C&&!d&&(g.minPositionX=0,g.maxPositionX=0,g.minPositionY=0,g.maxPositionY=0);var k=n.setup,P=k.minPositionX,b=k.maxPositionX,x=k.minPositionY,w=k.maxPositionY;return null!=P&&(g.minPositionX=m*(1-e)+P*e),null!=b&&(g.maxPositionX=b*e),null!=x&&(g.minPositionY=f*(1-e)+x*e),null!=w&&(g.maxPositionY=w*e),g},boundLimiter=function(n,e,t,i){return i?n<e?roundNumber(e,2):n>t?roundNumber(t,2):roundNumber(n,2):roundNumber(n,2)},handleCalculateBounds=function(n,e){var t=calculateBounds(n,e);return n.bounds=t,t};function getMouseBoundedPosition(n,e,t,i,o,a,l){var r=t.minPositionX,s=t.minPositionY,c=t.maxPositionX,u=t.maxPositionY,d=0,p=0;return l&&(d=o,p=a),{x:boundLimiter(n,r-d,c+d,i),y:boundLimiter(e,s-p,u+p,i)}}function handleCalculateZoomPositions(n,e,t,i,o,a){var l=n.state,r=l.scale,s=l.positionX,c=l.positionY,u=i-r;return"number"!=typeof e||"number"!=typeof t?(console.error("Mouse X and Y position were not provided!"),{x:s,y:c}):getMouseBoundedPosition(s-e*u,c-t*u,o,a,0,0,null)}function checkZoomBounds(n,e,t,i,o){var a=o?i:0,l=Math.max(e-a,1e-7),r=t+a;return!Number.isNaN(t)&&n>=r?r:!Number.isNaN(e)&&n<=l?l:Math.max(n,1e-7)}var isPanningStartAllowed=function(n,e){var t=n.setup.panning.excluded,i=n.isInitialized,o=n.wrapperComponent,a=e.target,l="shadowRoot"in a&&"composedPath"in e?e.composedPath().some(function(n){return n instanceof Element&&(null==o?void 0:o.contains(n))}):null==o?void 0:o.contains(a);return!(!(i&&a&&l)||isExcludedNode(a,t))&&"true"!==a.getAttribute("draggable")&&"true"!==a.getAttribute("contenteditable")&&!a.isContentEditable},isPanningAllowed=function(n){var e=n.isInitialized,t=n.isPanning,i=n.setup.panning.disabled;return!!e&&!!t&&!i},handlePanningSetup=function(n,e){var t=n.state,i=t.positionX,o=t.positionY;n.isPanning=!0;var a=e.clientX,l=e.clientY;n.startCoords={x:a-i,y:l-o}},handleTouchPanningSetup=function(n,e){var t=e.touches,i=n.state,o=i.positionX,a=i.positionY;if(n.isPanning=!0,1===t.length){var l=t[0].clientX,r=t[0].clientY;n.startCoords={x:l-o,y:r-a}}};function handleNewPosition(n,e,t,i,o){var a=n.setup.limitToBounds,l=n.wrapperComponent,r=n.bounds,s=n.state,c=s.scale,u=s.positionX,d=s.positionY;if(null!==l&&null!==r&&(e!==u||t!==d)){var p=getMouseBoundedPosition(e,t,r,a,i,o,l),h=p.x,m=p.y;n.setState(c,h,m)}}var getPanningClientPosition=function(n,e,t){var i=n.startCoords,o=n.state,a=n.setup.panning,l=a.lockAxisX,r=a.lockAxisY,s=o.positionX,c=o.positionY;if(!i)return{x:s,y:c};var u=e-i.x,d=t-i.y;return{x:l?s:u,y:r?c:d}},getPaddingValue=function(n,e,t){var i=n.setup,o=n.state,a=i.minScale,l=i.disablePadding,r=i.centerZoomedOut,s=null!=t?t:o.scale;return e>0&&s>=a&&!l&&!r?e:0};(i=o||(o={})).TRACK_PAD="track_pad",i.MOUSE="mouse",i.TOUCH="touch";var isVelocityCalculationAllowed=function(n){var e=n.mounted,t=n.wrapperComponent,i=n.contentComponent,o=n.setup,a=o.disabled,l=o.velocityAnimation,r=o.limitToBounds,s=n.state.scale;return!l.disabled&&!a&&!!e&&!!t&&!!i&&(!r||t.offsetWidth<i.offsetWidth*s||t.offsetHeight<i.offsetHeight*s)},isVelocityAllowed=function(n){var e=n.mounted,t=n.velocity,i=n.bounds,o=n.setup,a=o.disabled;return!o.velocityAnimation.disabled&&!a&&!!e&&!!t&&!!i};function getVelocityPosition(n,e,t,i,o,a,l,r,s,c){if(o){if(e>l&&t>l){var u=l+(n-l)*c;return u>s?s:u<l?l:u}if(e<a&&t<a){var u=a+(n-a)*c;return u<r?r:u>a?a:u}}return i?e:boundLimiter(n,a,l,o)}var getMinMaxVelocity=function(n,e,t){var i=n*t;return Number.isNaN(i)?0:n<0?Math.max(i,-e):Math.min(i,e)};function handlePanningStart(n,e){var t=n.state,i=t.scale,o=t.positionX,a=t.positionY;n.panStartPosition={x:o,y:a},handleCancelAnimation(n),handleCalculateBounds(n,i),void 0!==window.TouchEvent&&e instanceof TouchEvent?handleTouchPanningSetup(n,e):handlePanningSetup(n,e)}function handleAlignToBounds(n,e){var t=n.state.scale,i=n.setup,o=i.minScale,a=i.autoAlignment,l=a.disabled,r=a.sizeX,s=a.sizeY,c=a.animationTime,u=a.animationType;if(!(l||t<o||!r&&!s)){var d=function(n){var e=n.state,t=e.positionX,i=e.positionY,o=e.scale,a=n.setup,l=a.disabled,r=a.limitToBounds,s=a.centerZoomedOut,c=n.wrapperComponent;if(!l&&c&&n.bounds){var u=n.bounds,d=u.maxPositionX,p=u.minPositionX,h=u.maxPositionY,m=u.minPositionY,f=t>d?c.offsetWidth:n.setup.minPositionX||0,v=i>h?c.offsetHeight:n.setup.minPositionY||0,y=handleCalculateZoomPositions(n,f,v,o,n.bounds,r||s),g=y.x,C=y.y;return{scale:o,positionX:t>d||t<p?g:t,positionY:i>h||i<m?C:i}}}(n);d&&animate(n,d,null!=e?e:c,u)}}function handlePanning(n,e,t,i){var a=n.startCoords,l=n.setup.autoAlignment,r=l.sizeX,s=l.sizeY;if(a){var c=getPanningClientPosition(n,e,t),u=c.x,d=c.y,p=getPaddingValue(n,r),h=getPaddingValue(n,s);!function(n,e,t){if(isVelocityCalculationAllowed(n)){var i=n.lastMousePosition,a=n.velocityTime,l=n.setup,r=n.wrapperComponent,s=l.velocityAnimation,c=s.maxStrengthMouse,u=s.maxStrengthTouch,d=s.sensitivityTouch,p=s.sensitivityMouse,h=Date.now();if(i&&a&&r){var m,f,v,y=Number.isNaN(v=r.offsetWidth/window.innerWidth)?1:Math.min(1,v),g=((m={})[o.TOUCH]=d,m[o.MOUSE]=p,m)[t],C=((f={})[o.TOUCH]=u,f[o.MOUSE]=c,f)[t],k=e.x-i.x,P=e.y-i.y,b=getMinMaxVelocity(k/y,C,g),x=getMinMaxVelocity(P/y,C,g),w=getMinMaxVelocity(Math.sqrt(k*k+P*P)/(h-a),C,g);n.velocity={velocityX:b,velocityY:x,total:w}}n.lastMousePosition=e,n.velocityTime=h}}(n,{x:u,y:d},i),handleNewPosition(n,u,d,p,h)}}function handleZoomToPoint(n,e,t,i){var o=n.setup,a=o.minScale,l=o.maxScale,r=o.limitToBounds,s=checkZoomBounds(roundNumber(e,2),a,l,0,!1),c=handleCalculateBounds(n,s),u=handleCalculateZoomPositions(n,t,i,s,c,r);return{scale:s,positionX:u.x,positionY:u.y}}function handleAlignToScaleBounds(n,e,t){var i=n.state.scale,o=n.wrapperComponent,a=n.setup,l=a.minScale,r=a.maxScale,s=a.limitToBounds,c=a.zoomAnimation,u=c.disabled,d=c.animationTime,p=c.animationType,h=i>=l&&i<=r;if((i>=1||s)&&handleAlignToBounds(n),!(u||h)&&o&&n.mounted){var m=handleZoomToPoint(n,i<l?l:r,e||o.offsetWidth/2,t||o.offsetHeight/2);m&&animate(n,m,d,p)}}var __assign=function(){return(__assign=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}).apply(this,arguments)};function __spreadArray(n,e,t){if(t||2==arguments.length)for(var i,o=0,a=e.length;o<a;o++)!i&&o in e||(i||(i=Array.prototype.slice.call(e,0,o)),i[o]=e[o]);return n.concat(i||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var s={scale:1,positionX:0,positionY:0},c={disabled:!1,minPositionX:null,maxPositionX:null,minPositionY:null,maxPositionY:null,minScale:1,maxScale:8,limitToBounds:!0,centerZoomedOut:!1,centerOnInit:!1,disablePadding:!1,smooth:!0,detached:!1,wheel:{step:.015,disabled:!1,wheelDisabled:!1,touchPadDisabled:!1,activationKeys:[],excluded:[]},trackPadPanning:{disabled:!0,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,activationKeys:[],excluded:[]},panning:{disabled:!1,velocityDisabled:!1,lockAxisX:!1,lockAxisY:!1,allowLeftClickPan:!0,allowMiddleClickPan:!0,allowRightClickPan:!0,activationKeys:[],excluded:[]},pinch:{step:5,disabled:!1,allowPanning:!0,excluded:[]},doubleClick:{disabled:!1,step:.7,mode:"zoomIn",animationType:"easeOut",animationTime:200,excluded:[]},zoomAnimation:{disabled:!1,size:.4,animationTime:200,animationType:"easeOut"},autoAlignment:{disabled:!1,sizeX:100,sizeY:100,animationTime:200,velocityAlignmentTime:400,animationType:"easeOut"},velocityAnimation:{disabled:!1,sensitivityMouse:1,sensitivityTouch:1.2,maxStrengthMouse:20,maxStrengthTouch:40,inertia:1,animationTime:300,maxAnimationTime:800,animationType:"easeOut"}},u={wrapperClass:"react-transform-wrapper",contentClass:"react-transform-component"},createState=function(n){var e,t,i,o,a,l,r,u,d,p=Math.max(null!==(e=n.minScale)&&void 0!==e?e:c.minScale,1e-7),h=null!==(t=n.maxScale)&&void 0!==t?t:c.maxScale,m=Math.min(Math.max(null!==(i=n.initialScale)&&void 0!==i?i:s.scale,p),h);return{previousScale:m,scale:m,positionX:boundLimiter(null!==(o=n.initialPositionX)&&void 0!==o?o:s.positionX,null!==(a=n.minPositionX)&&void 0!==a?a:-1/0,null!==(l=n.maxPositionX)&&void 0!==l?l:1/0,null!=n.minPositionX||null!=n.maxPositionX),positionY:boundLimiter(null!==(r=n.initialPositionY)&&void 0!==r?r:s.positionY,null!==(u=n.minPositionY)&&void 0!==u?u:-1/0,null!==(d=n.maxPositionY)&&void 0!==d?d:1/0,null!=n.minPositionY||null!=n.maxPositionY)}},createSetup=function(n){var e=__assign({},c);
181return Object.keys(n).forEach(function(t){var i=void 0!==n[t];if(void 0!==c[t]&&i){var o=Object.prototype.toString.call(c[t]);"[object Object]"===o?e[t]=__assign(__assign({},c[t]),n[t]):"[object Array]"===o?e[t]=__spreadArray(__spreadArray([],c[t],!0),n[t],!0):e[t]=n[t]}}),e.minScale<=0&&(e.minScale=1e-7),e},handleCalculateButtonZoom=function(n,e,t){var i=n.state.scale,o=n.wrapperComponent,a=n.setup,l=a.maxScale,r=a.minScale,s=a.zoomAnimation,c=a.smooth,u=s.size;if(!o)throw Error("Wrapper is not mounted");return checkZoomBounds(roundNumber(c?i*Math.exp(e*t):i+e*t,3),r,l,u,!1)};function handleZoomToViewCenter(n,e,t,i,o){var a,l,r=n.wrapperComponent,s=n.state,c=s.scale,u=s.positionX,d=s.positionY,p=n.setup.zoomAnimation;if(!r)return console.error("No WrapperComponent found");var h=p.disabled?0:i,m=r.offsetWidth,f=r.offsetHeight,v=handleCalculateButtonZoom(n,e,t),y=handleZoomToPoint(n,v,(m/2-u)/c,(f/2-d)/c);if(!y)return console.error("Error during zoom event. New transformation state was not calculated.");var g=n.props,C=g.onZoomStart,k=g.onZoom,P=g.onZoomStop,b=new MouseEvent("mousemove",{bubbles:!0}),x=getContext(n);handleCallback(x,b,C),handleCallback(x,b,k),animate(n,y,h,o);var w=null!==(l=null===(a=r.ownerDocument)||void 0===a?void 0:a.defaultView)&&void 0!==l?l:"undefined"!=typeof window?window:null;w&&w.setTimeout(function(){n.mounted&&handleCallback(getContext(n),b,P)},h)}function resetTransformations(n,e,t,i){var o,a,l=n.setup,r=n.wrapperComponent,s=n.contentComponent,c=l.limitToBounds,u=l.centerOnInit,d=createState(n.props),p=n.state,h=p.scale,m=p.positionX,f=p.positionY;if(r){var v=d.positionX,y=d.positionY;if(u&&s){var g=getCenterPosition(d.scale,r,s);v=g.positionX,y=g.positionY}var C=getMouseBoundedPosition(v,y,calculateBounds(n,d.scale),c,0,0,r),k={scale:d.scale,positionX:C.x,positionY:C.y};if(h===d.scale&&m===d.positionX&&f===d.positionY)return;null==i||i();var P=n.props,b=P.onZoomStart,x=P.onZoom,w=P.onZoomStop,S=new MouseEvent("mousemove",{bubbles:!0}),M=getContext(n);handleCallback(M,S,b),handleCallback(M,S,x),animate(n,k,e,t);var T=null!==(a=null===(o=r.ownerDocument)||void 0===o?void 0:o.defaultView)&&void 0!==a?a:"undefined"!=typeof window?window:null;T&&T.setTimeout(function(){n.mounted&&handleCallback(getContext(n),S,w)},e)}}var getControls=function(n){return{instance:n,state:n.state,zoomIn:function(e,t,i){void 0===e&&(e=.5),void 0===t&&(t=300),void 0===i&&(i="easeOut"),handleZoomToViewCenter(n,1,e,t,i)},zoomOut:function(e,t,i){void 0===e&&(e=.5),void 0===t&&(t=300),void 0===i&&(i="easeOut"),handleZoomToViewCenter(n,-1,e,t,i)},setTransform:function(e,t,i,o,a){void 0===o&&(o=300),void 0===a&&(a="easeOut");var l=n.state,r=l.positionX,s=l.positionY,c=l.scale,u=n.wrapperComponent,d=n.contentComponent;!n.setup.disabled&&u&&d&&animate(n,{positionX:Number.isNaN(e)?r:e,positionY:Number.isNaN(t)?s:t,scale:Number.isNaN(i)?c:i},o,a)},resetTransform:function(e,t){void 0===e&&(e=200),void 0===t&&(t="easeOut"),resetTransformations(n,e,t)},centerView:function(e,t,i){void 0===t&&(t=200),void 0===i&&(i="easeOut");var o=n.state,a=n.wrapperComponent,l=n.contentComponent;a&&l&&animate(n,getCenterPosition(e||o.scale,a,l),t,i)},zoomToElement:function(e,t,i,o,a,l){void 0===i&&(i=600),void 0===o&&(o="easeOut"),void 0===a&&(a=0),void 0===l&&(l=0),handleCancelAnimation(n);var r=n.wrapperComponent,s="string"==typeof e?document.getElementById(e):e;if(r&&s&&r.contains(s)){var c=function(n,e,t,i,o){void 0===i&&(i=0),void 0===o&&(o=0);var a,l,r,s,c,u=n.wrapperComponent,d=n.contentComponent,p=n.state,h=n.setup,m=h.limitToBounds,f=h.minScale,v=h.maxScale;if(!u||!d)return p;var y=u.getBoundingClientRect(),g=e.getBoundingClientRect(),C=(a=e.getBoundingClientRect(),l=u.getBoundingClientRect(),r=d.getBoundingClientRect(),s=l.x*p.scale,c=l.y*p.scale,{x:(a.x-r.x+s)/p.scale,y:(a.y-r.y+c)/p.scale}),k=C.x,P=C.y,b=g.width/p.scale,x=g.height/p.scale,w=u.offsetWidth/b,S=u.offsetHeight/x,M=checkZoomBounds(t||Math.min(w,S),f,v,0,!1),T=(y.width-b*M)/2,Z=(y.height-x*M)/2,A=getMouseBoundedPosition((y.left-k)*M+T+i,(y.top-P)*M+Z+o,calculateBounds(n,M),m,0,0,u);return{positionX:A.x,positionY:A.y,scale:M}}(n,s,t,a,l);animate(n,c,i,o)}}}},getContext=function(n){var e={};return Object.assign(e,{instance:n,state:n.state}),Object.assign(e,getControls(n)),e};
181function makePassiveEventOption(){try{return{get passive(){return!1}}}catch(n){return!1}}var d=".".concat(u.wrapperClass),isExcludedNode=function(n,e){return e.some(function(e){return n.matches("".concat(d," ").concat(e,", ").concat(d," .").concat(e,", ").concat(d," ").concat(e," *, ").concat(d," .").concat(e," *"))})},cancelTimeout=function(n){n&&clearTimeout(n)},getTransformStyles=function(n,e,t){var i=Number.parseFloat(t.toFixed(8));return"translate(".concat(n,"px, ").concat(e,"px) scale(").concat(i,")")},getCenterPosition=function(n,e,t){var i=t.offsetWidth*n,o=t.offsetHeight*n;return{scale:n,positionX:(e.offsetWidth-i)/2,positionY:(e.offsetHeight-o)/2}},isWheelAllowed=function(n,e){var t=n.setup.wheel,i=t.disabled,o=t.wheelDisabled,a=t.touchPadDisabled,l=t.excluded,r=n.isInitialized,s=n.isPanning,c=e.target;return!(!(r&&!s&&!i&&c)||o&&!e.ctrlKey||a&&e.ctrlKey||isExcludedNode(c,l))&&!!n.isPressingKeys(n.setup.wheel.activationKeys)},isWheelPanningAllowed=function(n,e){var t=n.setup,i=t.disabled,o=t.trackPadPanning,a=o.activationKeys,l=o.excluded;return!(!n.wrapperComponent||!n.contentComponent||i||o.disabled||e.ctrlKey||isWheelAllowed(n,e)||isExcludedNode(e.target,l))&&!!n.isPressingKeys(a)};function getMousePosition(n,e,t){var i=e.getBoundingClientRect(),o=0,a=0;if("clientX"in n)o=(n.clientX-i.left)/t,a=(n.clientY-i.top)/t;else{var l=n.touches[0];o=(l.clientX-i.left)/t,a=(l.clientY-i.top)/t}return(Number.isNaN(o)||Number.isNaN(a))&&console.error("No mouse or touch offset found"),{x:o,y:a}}var handleCalculateWheelZoom=function(n,e,t,i,o){var a=n.state.scale,l=n.wrapperComponent,r=n.setup,s=r.maxScale,c=r.minScale,u=r.zoomAnimation,d=r.disablePadding,p=u.size,h=u.disabled;if(!l)throw Error("Wrapper is not mounted");var m=a+e*t;return o?m:checkZoomBounds(m,c,s,p,!i&&!h&&!d)},handleWheelZoomStop=function(n,e){var t=n.previousWheelEvent,i=n.state.scale,o=n.setup,a=o.maxScale,l=o.minScale;return!!t&&(i<a||i>l||Math.sign(t.deltaY)!==Math.sign(e.deltaY)||t.deltaY>0&&t.deltaY<e.deltaY||t.deltaY<0&&t.deltaY>e.deltaY||Math.sign(t.deltaY)!==Math.sign(e.deltaY))},isPinchStartAllowed=function(n,e){var t=n.setup.pinch,i=t.disabled,o=t.excluded,a=n.isInitialized,l=e.target;return!(!(a&&!i&&l)||isExcludedNode(l,o))},isPinchAllowed=function(n){var e=n.setup.pinch.disabled,t=n.isInitialized,i=n.pinchStartDistance;return!!t&&!e&&null!==i},calculateTouchMidPoint=function(n,e,t){var i=t.getBoundingClientRect(),o=n.touches,a=o[0].clientX-i.left,l=o[0].clientY-i.top;return{x:(a+(o[1].clientX-i.left))/2/e,y:(l+(o[1].clientY-i.top))/2/e}},getTouchDistance=function(n){return Math.sqrt(Math.pow(n.touches[0].pageX-n.touches[1].pageX,2)+Math.pow(n.touches[0].pageY-n.touches[1].pageY,2))},calculatePinchZoom=function(n,e){var t=n.pinchStartScale,i=n.pinchStartDistance,o=n.setup,a=o.maxScale,l=o.minScale,r=o.zoomAnimation,s=o.disablePadding,c=o.pinch,u=r.size,d=r.disabled,p=c.step;if(!t||null===i)throw Error("Pinch touches distance was not provided");if(e<0)return n.state.scale;var h=t+(e/i*t-t)*(p/5);return checkZoomBounds(h===1/0?0:roundNumber(h,10),l,a,u,!d&&!s)},handleWheelStart=function(n,e){var t=n.props,i=t.onWheelStart,o=t.onZoomStart;n.wheelStopEventTimer||(handleCancelAnimation(n),handleCallback(getContext(n),e,i),handleCallback(getContext(n),e,o))},handleWheelZoom=function(n,e){var t,i=n.props,o=i.onWheel,a=i.onZoom,l=n.contentComponent,r=n.setup,s=n.state.scale,c=r.limitToBounds,u=r.centerZoomedOut,d=r.zoomAnimation,p=r.wheel,h=r.disablePadding,m=r.smooth,f=d.size,v=d.disabled,y=p.step;if(!l)throw Error("Component not mounted");e.preventDefault(),e.stopPropagation();var g=handleCalculateWheelZoom(n,t=e?e.deltaY<0?1:-1:0,m?y*Math.abs(e.deltaY):y,!e.ctrlKey);if(s!==g){var C=handleCalculateBounds(n,g),k=getMousePosition(e,l,s),P=handleCalculateZoomPositions(n,k.x,k.y,g,C,c&&(v||0===f||u||h)),b=P.x,x=P.y;n.previousWheelEvent=e,n.setState(g,b,x),handleCallback(getContext(n),e,o),handleCallback(getContext(n),e,a)}},handleWheelStop=function(n,e){var t=n.props,i=t.onWheelStop,o=t.onZoomStop;cancelTimeout(n.wheelAnimationTimer),n.wheelAnimationTimer=setTimeout(function(){n.mounted&&(handleAlignToScaleBounds(n,e.x,e.y),n.wheelAnimationTimer=null)},100),handleWheelZoomStop(n,e)&&(cancelTimeout(n.wheelStopEventTimer),n.wheelStopEventTimer=setTimeout(function(){n.mounted&&(n.wheelStopEventTimer=null,handleCallback(getContext(n),e,i),handleCallback(getContext(n),e,o))},160))},handleWheelPanningStart=function(n,e){var t=n.props,i=t.onWheelStart,o=t.onPanningStart;n.wheelStopEventTimer||(handleCancelAnimation(n),handleCallback(getContext(n),e,i),handleCallback(getContext(n),e,o))},handleWheelPanningStop=function(n,e){var t=n.props,i=t.onWheelStop,o=t.onPanningStop;cancelTimeout(n.wheelAnimationTimer),n.wheelAnimationTimer=setTimeout(function(){n.mounted&&(handleAlignToScaleBounds(n,e.x,e.y),n.wheelAnimationTimer=null)},100),handleWheelZoomStop(n,e)&&(cancelTimeout(n.wheelStopEventTimer),n.wheelStopEventTimer=setTimeout(function(){n.mounted&&(n.wheelStopEventTimer=null,handleCallback(getContext(n),e,i),handleCallback(getContext(n),e,o))},160))},getTouchCenter=function(n){for(var e=0,t=0,i=0;i<2;i+=1)e+=n.touches[i].clientX,t+=n.touches[i].clientY;return{x:e/2,y:t/2}},handlePinchStart=function(n,e){var t=getTouchDistance(e);n.pinchStartDistance=t,n.lastDistance=t,n.pinchStartScale=n.state.scale,n.isPanning=!1,n.isPinching=!0,n.pinchPreviousCenter=getTouchCenter(e),handleCancelAnimation(n)},handlePinchZoom=function(n,e){var t=n.contentComponent,i=n.pinchStartDistance,o=n.wrapperComponent,a=n.pinchPreviousCenter,l=n.state.scale,r=n.setup,s=r.limitToBounds,c=r.centerZoomedOut,u=r.zoomAnimation,d=r.autoAlignment,p=r.pinch,h=r.panning,m=u.disabled,f=u.size,v=p.allowPanning;if(null!==i&&t){var y=calculateTouchMidPoint(e,l,t);if(Number.isFinite(y.x)&&Number.isFinite(y.y)){var g=getTouchDistance(e),C=calculatePinchZoom(n,g),k=getTouchCenter(e),P=l/C,b=(k.x-((null==a?void 0:a.x)||0))*P,x=(k.y-((null==a?void 0:a.y)||0))*P;if(C!==l||0!==b||0!==x){n.pinchPreviousCenter=k;var w=handleCalculateBounds(n,C),S=s&&(m||0===f||c),M=handleCalculateZoomPositions(n,y.x,y.y,C,w,S),T=M.x,Z=M.y;if(n.pinchMidpoint=y,n.lastDistance=g,h.disabled||!v)n.setState(C,T,Z);else{var A=d.sizeX,E=d.sizeY,Y=getMouseBoundedPosition(T+b,Z+x,w,s,getPaddingValue(n,A,C),getPaddingValue(n,E,C),o),X=Y.x,N=Y.y;n.setState(C,X,N)}}}}},handlePinchStop=function(n){var e=n.pinchMidpoint;n.velocity=null,n.lastDistance=null,n.pinchMidpoint=null,n.pinchStartScale=null,n.pinchStartDistance=null,n.isPinching=!1,handleAlignToScaleBounds(n,null==e?void 0:e.x,null==e?void 0:e.y)},handleDoubleClickStop=function(n,e){var t=n.props.onZoomStop,i=n.setup.doubleClick.animationTime;cancelTimeout(n.doubleClickStopEventTimer),n.doubleClickStopEventTimer=setTimeout(function(){n.doubleClickStopEventTimer=null,handleCallback(getContext(n),e,t)},i)},handleDoubleClickResetMode=function(n,e){var t=n.props,i=t.onZoomStart,o=t.onZoom,a=n.setup.doubleClick,l=a.animationTime,r=a.animationType;handleCallback(getContext(n),e,i),resetTransformations(n,l,r,function(){return handleCallback(getContext(n),e,o)}),handleDoubleClickStop(n,e)},isDoubleClickAllowed=function(n,e){var t=n.isInitialized,i=n.setup,o=n.wrapperComponent,a=i.doubleClick,l=a.disabled,r=a.excluded,s=e.target,c=null==o?void 0:o.contains(s);return!(!(t&&s&&c&&!l)||isExcludedNode(s,r))},ZoomPanPinch=function(n){var e=this;this.mounted=!0,this.onChangeCallbacks=new Set,this.onInitCallbacks=new Set,this.onTransformCallbacks=new Set,this.wrapperComponent=null,this.contentComponent=null,this.isInitialized=!1,this.bounds=null,this.previousWheelEvent=null,this.wheelStopEventTimer=null,this.wheelAnimationTimer=null,this.isPanning=!1,this.isWheelPanning=!1,this.startCoords=null,this.panStartPosition=null,this.lastTouch=null,this.isPinching=!1,this.distance=null,this.lastDistance=null,this.pinchStartDistance=null,this.pinchStartScale=null,this.pinchMidpoint=null,this.pinchPreviousCenter=null,this.doubleClickStopEventTimer=null,this.velocity=null,this.velocityTime=null,this.lastMousePosition=null,this.isAnimating=!1,this.animation=null,this.pressedKeys={},this.mount=function(){e.initializeWindowEvents()},this.unmount=function(){e.cleanupWindowEvents()},this.update=function(n){e.props=n,e.wrapperComponent&&e.contentComponent&&handleCalculateBounds(e,e.state.scale),e.setup=createSetup(n)},this.initializeWindowEvents=function(){var n,t,i,o,a=makePassiveEventOption(),l=null===(n=e.wrapperComponent)||void 0===n?void 0:n.ownerDocument,r=null==l?void 0:l.defaultView;null===(t=e.wrapperComponent)||void 0===t||t.addEventListener("wheel",e.onWheelPanning,a),null===(i=e.wrapperComponent)||void 0===i||i.addEventListener("keyup",e.setKeyUnPressed,a),null===(o=e.wrapperComponent)||void 0===o||o.addEventListener("keydown",e.setKeyPressed,a),null==r||r.addEventListener("mousedown",e.onPanningStart,a),null==r||r.addEventListener("mousemove",e.onPanning,a),null==r||r.addEventListener("mouseup",e.onPanningStop,a),null==l||l.addEventListener("mouseleave",e.clearPanning,a),null==r||r.addEventListener("keyup",e.setKeyUnPressed,a),null==r||r.addEventListener("keydown",e.setKeyPressed,a),null==r||r.addEventListener("blur",e.handleWindowBlur)},this.cleanupWindowEvents=function(){var n,t,i,o,a,l=makePassiveEventOption(),r=null===(n=e.wrapperComponent)||void 0===n?void 0:n.ownerDocument,s=null==r?void 0:r.defaultView;null==s||s.removeEventListener("mousedown",e.onPanningStart,l),null==s||s.removeEventListener("mousemove",e.onPanning,l),null==s||s.removeEventListener("mouseup",e.onPanningStop,l),null==r||r.removeEventListener("mouseleave",e.clearPanning,l),null==s||s.removeEventListener("keyup",e.setKeyUnPressed,l),null==s||s.removeEventListener("keydown",e.setKeyPressed,l),null==s||s.removeEventListener("blur",e.handleWindowBlur),document.removeEventListener("mouseleave",e.clearPanning,l),null===(t=e.wrapperComponent)||void 0===t||t.removeEventListener("wheel",e.onWheelPanning,l),null===(i=e.wrapperComponent)||void 0===i||i.removeEventListener("keyup",e.setKeyUnPressed,l),null===(o=e.wrapperComponent)||void 0===o||o.removeEventListener("keydown",e.setKeyPressed,l),handleCancelAnimation(e),null===(a=e.observer)||void 0===a||a.disconnect()},this.handleInitializeWrapperEvents=function(n){var t=makePassiveEventOption();n.addEventListener("wheel",e.onWheelZoom,t),n.addEventListener("dblclick",e.onDoubleClick,t),n.addEventListener("touchstart",e.onTouchPanningStart,t),n.addEventListener("touchmove",e.onTouchPanning,t),n.addEventListener("touchend",e.onTouchPanningStop,t)},this.handleInitialize=function(n){var t=e.setup.centerOnInit;e.applyTransformation(),e.onInitCallbacks.forEach(function(n){return n(getContext(e))}),t&&(e.setCenter(),e.observer=new ResizeObserver(function(){var t,i=n.offsetWidth,o=n.offsetHeight;(i>0||o>0)&&(e.onInitCallbacks.forEach(function(n){return n(getContext(e))}),e.setCenter(),null===(t=e.observer)||void 0===t||t.disconnect())}),setTimeout(function(){var n;null===(n=e.observer)||void 0===n||n.disconnect()},5e3),e.observer.observe(n))},this.onWheelZoom=function(n){!e.setup.disabled&&(e.syncModifierKeys(n),isWheelAllowed(e,n)&&(handleWheelStart(e,n),handleWheelZoom(e,n),handleWheelStop(e,n)))},this.onWheelPanning=function(n){var t=e.props.onPanning,i=e.setup.trackPadPanning,o=i.lockAxisX,a=i.lockAxisY;if(e.syncModifierKeys(n),isWheelPanningAllowed(e,n)){n.preventDefault(),n.stopPropagation();var l=e.state,r=l.positionX,s=l.positionY,c=r-n.deltaX,u=s-n.deltaY,d=o?r:c,p=a?s:u,h=e.setup.autoAlignment,m=h.sizeX,f=h.sizeY,v=getPaddingValue(e,m),y=getPaddingValue(e,f);(d!==r||p!==s)&&(handleWheelPanningStart(e,n),handleNewPosition(e,d,p,v,y),handleCallback(getContext(e),n,t),handleWheelPanningStop(e,n))}},this.onPanningStart=function(n){var t=e.setup.disabled,i=e.props.onPanningStart;!t&&(e.syncModifierKeys(n),isPanningStartAllowed(e,n)&&e.isPressingKeys(e.setup.panning.activationKeys)&&(0!==n.button||e.setup.panning.allowLeftClickPan)&&(1!==n.button||e.setup.panning.allowMiddleClickPan)&&(2!==n.button||e.setup.panning.allowRightClickPan)&&(n.preventDefault(),n.stopPropagation(),handleCancelAnimation(e),handlePanningStart(e,n),handleCallback(getContext(e),n,i)))},this.onPanning=function(n){var t=e.setup.disabled,i=e.props.onPanning;if(!t){if(e.syncModifierKeys(n),e.isPanning&&0===n.buttons){e.clearPanning(n);return}isPanningAllowed(e)&&e.isPressingKeys(e.setup.panning.activationKeys)&&(n.preventDefault(),n.stopPropagation(),handlePanning(e,n.clientX,n.clientY,o.MOUSE),handleCallback(getContext(e),n,i))}},this.onPanningStop=function(n){var t=e.setup.panning.velocityDisabled,i=e.props.onPanningStop;e.isPanning&&(function(n,e){if(n.isPanning){var t=n.velocity,i=n.wrapperComponent,o=n.contentComponent;n.isPanning=!1;var a=n.state,l=a.positionX,s=a.positionY,c=a.scale,u=n.panStartPosition;if(n.panStartPosition=null,u){var d=l-u.x,p=s-u.y;if(d*d+p*p<=25)return}n.isAnimating=!1,n.animation=null;var h=(null==i?void 0:i.offsetWidth)||0,m=(null==i?void 0:i.offsetHeight)||0,f=((null==o?void 0:o.offsetWidth)||0)*c,v=((null==o?void 0:o.offsetHeight)||0)*c,y=!n.setup.limitToBounds||h<f||m<v;!e&&t&&t.total>.1&&y?function(n){var e,t,i,o=n.velocity,a=n.bounds,l=n.setup,s=n.wrapperComponent;if(isVelocityAllowed(n)&&o&&a&&s){var c=o.velocityX,u=o.velocityY,d=o.total,p=a.maxPositionX,h=a.minPositionX,m=a.maxPositionY,f=a.minPositionY,v=l.limitToBounds,y=l.autoAlignment,g=l.zoomAnimation,C=l.panning,k=C.lockAxisY,P=C.lockAxisX,b=g.animationType,x=y.sizeX,w=y.sizeY,S=y.velocityAlignmentTime,M=Math.max((t=(e=n.setup.velocityAnimation).animationTime,i=e.maxAnimationTime,Math.min(t*Math.max(1,Math.abs(d/e.inertia)),i)),S),T=getPaddingValue(n,x),Z=getPaddingValue(n,w),A=T*s.offsetWidth/100,E=Z*s.offsetHeight/100,Y=p+A,X=h-A,N=m+E,W=f-E,z=n.state,B=new Date().getTime();handleSetupAnimation(n,b,M,function(e){var t=n.state,i=t.scale,o=t.positionX,a=t.positionY,l=(new Date().getTime()-B)/S,s=1-(0,r[y.animationType])(Math.min(1,l)),d=1-e,g=o+c*d,C=a+u*d,b=getVelocityPosition(g,z.positionX,o,P,v,h,p,X,Y,s),x=getVelocityPosition(C,z.positionY,a,k,v,f,m,W,N,s);if(o!==g||a!==C){n.setState(i,b,x);var w=n.props.onPanning;w&&w(getContext(n),{})}})}}(n):handleAlignToBounds(n)}}(e,t),handleCallback(getContext(e),n,i))},this.onPinchStart=function(n){var t=e.setup.disabled,i=e.props.onPinchStart;!t&&isPinchStartAllowed(e,n)&&(handlePinchStart(e,n),handleCancelAnimation(e),handleCallback(getContext(e),n,i))},this.onPinch=function(n){var t=e.setup.disabled,i=e.props.onPinch;!t&&isPinchAllowed(e)&&(n.preventDefault(),n.stopPropagation(),handlePinchZoom(e,n),handleCallback(getContext(e),n,i))},this.onPinchStop=function(n){var t=e.props.onPinchStop;e.pinchStartScale&&(handlePinchStop(e),handleCallback(getContext(e),n,t))},this.onTouchPanningStart=function(n){var t=e.setup,i=t.disabled,o=t.doubleClick,a=e.props.onPanningStart;if(!i){var l=!(null==o?void 0:o.disabled),r=e.lastTouch&&+new Date-e.lastTouch<200;if(l&&r&&1===n.touches.length)e.onDoubleClick(n);else{e.lastTouch=+new Date,handleCancelAnimation(e);var s=n.touches,c=1===s.length,u=2===s.length,d=isPanningStartAllowed(e,n);if(c){if(!d)return;handleCancelAnimation(e),handlePanningStart(e,n),handleCallback(getContext(e),n,a)}u&&e.onPinchStart(n)}}},this.onTouchPanning=function(n){var t=e.setup.disabled,i=e.props.onPanning;if(e.isPanning&&1===n.touches.length){if(t||!isPanningAllowed(e))return;n.cancelable&&n.preventDefault(),n.stopPropagation();var a=n.touches[0];handlePanning(e,a.clientX,a.clientY,o.TOUCH),handleCallback(getContext(e),n,i)}else n.touches.length>1&&e.onPinch(n)},this.onTouchPanningStop=function(n){e.onPanningStop(n),e.onPinchStop(n)},this.onDoubleClick=function(n){!e.setup.disabled&&isDoubleClickAllowed(e,n)&&function(n,e){var t,i=n.setup,o=n.doubleClickStopEventTimer,a=n.state,l=n.contentComponent,r=a.scale,s=n.props,c=s.onZoomStart,u=s.onZoom,d=i.doubleClick,p=d.disabled,h=d.mode,m=d.step,f=d.animationTime,v=d.animationType;if(!p&&!o){if("reset"===h)return handleDoubleClickResetMode(n,e);if(!l)return console.error("No ContentComponent found");var y=(t=n.state.scale,"toggle"===h?1===t?1:-1:"zoomOut"===h?-1:1),g=handleCalculateButtonZoom(n,y,m);if(r!==g){handleCallback(getContext(n),e,c);var C=getMousePosition(e,l,r),k=handleZoomToPoint(n,g,C.x,C.y);if(!k)return console.error("Error during zoom event. New transformatio
181n state was not calculated.");handleCallback(getContext(n),e,u),animate(n,k,f,v),handleDoubleClickStop(n,e)}}}(e,n)},this.clearPanning=function(n){e.isPanning&&e.onPanningStop(n)},this.handleWindowBlur=function(){e.pressedKeys={},e.isPanning&&(e.isPanning=!1,e.startCoords=null)},this.syncModifierKeys=function(n){var t=n.ctrlKey,i=n.metaKey,o=n.shiftKey,a=n.altKey;"boolean"==typeof t&&(e.pressedKeys.Control=t),"boolean"==typeof i&&(e.pressedKeys.Meta=i),"boolean"==typeof o&&(e.pressedKeys.Shift=o),"boolean"==typeof a&&(e.pressedKeys.Alt=a)},this.setKeyPressed=function(n){e.pressedKeys[n.key]=!0},this.setKeyUnPressed=function(n){e.pressedKeys[n.key]=!1},this.isPressingKeys=function(n){return"function"==typeof n?n(Object.entries(e.pressedKeys).filter(function(n){return n[1]}).map(function(n){return n[0]})):!n.length||!!n.every(function(n){return e.pressedKeys[n]})},this.setCenter=function(){if(e.wrapperComponent&&e.contentComponent){var n=getCenterPosition(e.state.scale,e.wrapperComponent,e.contentComponent);e.setState(n.scale,n.positionX,n.positionY)}},this.handleTransformStyles=function(n,t,i){return e.props.customTransform?e.props.customTransform(n,t,i):getTransformStyles(n,t,i)},this.getContext=function(){return getContext(e)},this.applyTransformation=function(){if(e.mounted&&e.contentComponent){var n=e.state,t=n.scale,i=n.positionX,o=n.positionY,a=e.handleTransformStyles(i,o,t);e.props.detached||(e.contentComponent.style.transform=a),e.onTransformCallbacks.forEach(function(n){return n({scale:t,positionX:i,positionY:o,previousScale:e.state.previousScale,ref:getContext(e)})})}},this.setState=function(n,t,i){var o=e.props.onTransform;if(Number.isNaN(n)||Number.isNaN(t)||Number.isNaN(i))console.error("Detected NaN set state values");else{var a=Math.max(n,1e-7);a!==e.state.scale&&(e.state.previousScale=e.state.scale,e.state.scale=a),e.state.positionX=t,e.state.positionY=i,e.applyTransformation();var l=getContext(e);e.onChangeCallbacks.forEach(function(n){return n(l)}),handleCallback(l,{scale:e.state.scale,positionX:t,positionY:i},o)}},this.onTransform=function(n){return e.onTransformCallbacks.has(n)||e.onTransformCallbacks.add(n),function(){e.onTransformCallbacks.delete(n)}},this.onChange=function(n){return e.onChangeCallbacks.has(n)||e.onChangeCallbacks.add(n),function(){e.onChangeCallbacks.delete(n)}},this.onInit=function(n){return e.onInitCallbacks.has(n)||e.onInitCallbacks.add(n),function(){e.onInitCallbacks.delete(n)}},this.init=function(n,t){e.cleanupWindowEvents(),e.wrapperComponent=n,e.contentComponent=t,handleCalculateBounds(e,e.state.scale),e.handleInitializeWrapperEvents(n),e.handleInitialize(t),e.initializeWindowEvents(),e.isInitialized=!0;var i,o=getContext(e);handleCallback(o,void 0,e.props.onInit),null!=(i=e.props.ref)&&("function"==typeof i?i(o):i.current=o)},this.props=n,this.setup=createSetup(this.props),this.state=createState(this.props)},p=a.createContext(null),h=a.forwardRef(function(n,e){var t,i,o=(0,a.useRef)(new ZoomPanPinch(n)).current,r=(t=n.children,i=getControls(o),"function"==typeof t?t(i):t);return(0,a.useImperativeHandle)(e,function(){return getControls(o)},[o]),(0,a.useEffect)(function(){o.update(n)},[o,n]),(0,l.jsx)(p.Provider,__assign({value:o},{children:r}))});a.forwardRef(function(n,e){var t,i=(0,a.useRef)(null),o=(0,a.useContext)(p);return(0,a.useEffect)(function(){return o.onChange(function(n){i.current&&(i.current.style.transform=o.handleTransformStyles(0,0,1/n.instance.state.scale))})},[o]),(0,l.jsx)("div",__assign({},n,{ref:(t=[i,e],function(n){t.forEach(function(e){"function"==typeof e?e(n):null!=e&&(e.current=n)})})}))});var m={wrapper:"transform-component-module_wrapper__SPB86",content:"transform-component-module_content__FBWxo",infiniteGrid:"transform-component-module_infiniteGrid__Z-aP3"};!function(n,e){void 0===e&&(e={});var t=e.insertAt;if(n&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===t&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n))}}(".transform-component-module_wrapper__SPB86 {\n  position: relative;\n  width: -moz-fit-content;\n  width: fit-content;\n  height: -moz-fit-content;\n  height: fit-content;\n  overflow: hidden;\n  -webkit-touch-callout: none; /* iOS Safari */\n  -webkit-user-select: none; /* Safari */\n  -khtml-user-select: none; /* Konqueror HTML */\n  -moz-user-select: none; /* Firefox */\n  -ms-user-select: none; /* Internet Explorer/Edge */\n  user-select: none;\n  margin: 0;\n  padding: 0;\n  transform: translate3d(0, 0, 0);\n}\n.transform-component-module_content__FBWxo {\n  display: flex;\n  flex-wrap: wrap;\n  width: -moz-fit-content;\n  width: fit-content;\n  height: -moz-fit-content;\n  height: fit-content;\n  margin: 0;\n  padding: 0;\n  transform-origin: 0% 0%;\n}\n.transform-component-module_content__FBWxo img {\n  pointer-events: none;\n}\n.transform-component-module_infiniteGrid__Z-aP3 {\n  position: absolute;\n  inset: 0;\n  pointer-events: none;\n  background-image: radial-gradient(\n    circle,\n    rgba(0, 0, 0, 0.12) 1px,\
181n    transparent 1px\n  );\n  background-size: 20px 20px;\n  background-position: 0 0;\n}\n");var TransformComponent=function(n){var e=n.children,t=n.wrapperClass,i=void 0===t?"":t,o=n.contentClass,r=void 0===o?"":o,s=n.wrapperStyle,c=n.contentStyle,d=n.wrapperProps,h=void 0===d?{}:d,f=n.contentProps,v=void 0===f?{}:f,y=n.infinite,g=void 0!==y&&y,C=(0,a.useContext)(p),k=C.init,P=C.cleanupWindowEvents,b=(0,a.useRef)(null),x=(0,a.useRef)(null),w=(0,a.useRef)(null);return(0,a.useEffect)(function(){var n=b.current,e=x.current;return null!==n&&null!==e&&k&&(null==k||k(n,e)),function(){null==P||P()}},[]),(0,a.useEffect)(function(){if(g){var n=w.current;if(n){var sync=function(){var e=C.state,t=e.positionX,i=e.positionY;n.style.backgroundPosition="".concat(t,"px ").concat(i,"px")};return sync(),C.onChange(sync)}}},[g,C]),(0,l.jsxs)("div",__assign({},h,{ref:b,className:"".concat(u.wrapperClass," ").concat(m.wrapper," ").concat(i),style:s},{children:[g&&(0,l.jsx)("div",{ref:w,className:m.infiniteGrid,"aria-hidden":!0}),(0,l.jsx)("div",__assign({},v,{ref:x,className:"".concat(u.contentClass," ").concat(m.content," ").concat(r),style:__assign(__assign({},c),{transform:getTransformStyles(C.state.positionX,C.state.positionY,C.state.scale)})},{children:e}))]}))};a.forwardRef(function(n,e){var t=n.x,i=n.y,o=n.width,r=n.height,s=n.margin,c=void 0===s?0:s,u=n.threshold,d=void 0===u?0:u,h=n.placeholder,m=void 0===h?null:h,f=n.onShow,v=n.onHide,y=n.children,g=n.className,C=n.style,k=(0,a.useContext)(p),P=(0,a.useState)(!1),b=P[0],x=P[1],w=(0,a.useRef)(!1),S=(0,a.useRef)(f),M=(0,a.useRef)(v);return(S.current=f,M.current=v,(0,a.useEffect)(function(){var n,check=function(){var n,e,a=k.wrapperComponent;if(a){var l=function(n){var e=n.elementX,t=n.elementY,i=n.elementWidth,o=n.elementHeight,a=n.scale,l=n.positionX,r=n.positionY,s=n.viewportWidth,c=n.viewportHeight,u=n.margin,d=void 0===u?0:u,p=n.threshold,h=void 0===p?0:p,m={x:-d,y:-d,width:s+2*d,height:c+2*d},f={x:e*a+l,y:t*a+r,width:i*a,height:o*a};if(h<=0){var v=f.x<m.x+m.width&&f.x+f.width>m.x,y=f.y<m.y+m.height&&f.y+f.height>m.y;return v&&y}var g=f.width*f.height;return!(g<=0)&&Math.max(0,Math.min(m.x+m.width,f.x+f.width)-Math.max(m.x,f.x))*Math.max(0,Math.min(m.y+m.height,f.y+f.height)-Math.max(m.y,f.y))/g>=h}({elementX:t,elementY:i,elementWidth:o,elementHeight:r,scale:k.state.scale,positionX:k.state.positionX,positionY:k.state.positionY,viewportWidth:a.offsetWidth,viewportHeight:a.offsetHeight,margin:c,threshold:d});l!==w.current&&(w.current=l,x(l),l?null===(n=S.current)||void 0===n||n.call(S):null===(e=M.current)||void 0===e||e.call(M))}};check();var e=k.onChange(check);return k.wrapperComponent||(n=k.onInit(function(){return check()})),function(){e(),null==n||n()}},[k,t,i,o,r,c,d]),b)?(0,l.jsx)("div",__assign({ref:e,className:g,style:C},{children:y})):m?(0,l.jsx)(l.Fragment,{children:m}):null})}}]);

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.